347 lines
6.2 KiB
CSS
347 lines
6.2 KiB
CSS
/*
|
|
normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css
|
|
*/
|
|
|
|
.rw-scaffold *,
|
|
.rw-scaffold ::after,
|
|
.rw-scaffold ::before {
|
|
box-sizing: inherit;
|
|
border-width: 0;
|
|
border-style: solid;
|
|
border-color: #e2e8f0;
|
|
}
|
|
.rw-scaffold main {
|
|
color: #4a5568;
|
|
display: block;
|
|
}
|
|
.rw-scaffold h1,
|
|
.rw-scaffold h2 {
|
|
margin: 0;
|
|
}
|
|
.rw-scaffold a {
|
|
background-color: transparent;
|
|
}
|
|
.rw-scaffold ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
.rw-scaffold input {
|
|
font-family: inherit;
|
|
font-size: 100%;
|
|
overflow: visible;
|
|
}
|
|
.rw-scaffold input:-ms-input-placeholder {
|
|
color: #a0aec0;
|
|
}
|
|
.rw-scaffold input::-ms-input-placeholder {
|
|
color: #a0aec0;
|
|
}
|
|
.rw-scaffold input::placeholder {
|
|
color: #a0aec0;
|
|
}
|
|
.rw-scaffold table {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
/*
|
|
Style
|
|
*/
|
|
|
|
.rw-scaffold {
|
|
background-color: #fff;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji',
|
|
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
}
|
|
.rw-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 1rem 2rem 1rem 2rem;
|
|
}
|
|
.rw-main {
|
|
margin-left: 1rem;
|
|
margin-right: 1rem;
|
|
padding-bottom: 1rem;
|
|
}
|
|
.rw-segment {
|
|
background-color: #fff;
|
|
border-width: 1px;
|
|
border-radius: 0.5rem;
|
|
overflow: hidden;
|
|
}
|
|
.rw-segment-header {
|
|
background-color: #e2e8f0;
|
|
color: #4a5568;
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
.rw-segment-main {
|
|
background-color: #f7fafc;
|
|
padding: 1rem;
|
|
}
|
|
.rw-link {
|
|
color: #4299e1;
|
|
text-decoration: underline;
|
|
}
|
|
.rw-link:hover {
|
|
color: #2b6cb0;
|
|
}
|
|
.rw-heading {
|
|
font-weight: 600;
|
|
}
|
|
.rw-heading.rw-heading-primary {
|
|
font-size: 1.25rem;
|
|
}
|
|
.rw-heading.rw-heading-secondary {
|
|
font-size: 0.875rem;
|
|
}
|
|
.rw-heading .rw-link {
|
|
color: #4a5568;
|
|
text-decoration: none;
|
|
}
|
|
.rw-heading .rw-link:hover {
|
|
color: #1a202c;
|
|
text-decoration: underline;
|
|
}
|
|
.rw-flash-message {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
margin: 0 1rem;
|
|
padding: 1rem;
|
|
background: #e2e8f0;
|
|
border-radius: 0.25rem;
|
|
}
|
|
.rw-flash-message .rw-flash-message-dismiss {
|
|
font-size: 1.25rem;
|
|
font-weight: 600;
|
|
line-height: 1;
|
|
margin-right: 0.25rem;
|
|
transform-origin: center;
|
|
transform: rotate(45deg);
|
|
cursor: pointer;
|
|
}
|
|
.rw-flash-message .rw-flash-message-dismiss:hover {
|
|
opacity: 0.7;
|
|
}
|
|
.rw-flash-message.rw-flash-success {
|
|
background: #48bb78;
|
|
color: #fff;
|
|
}
|
|
.rw-flash-message.rw-flash-error {
|
|
background: #e53e3e;
|
|
color: #fff;
|
|
}
|
|
.rw-form-wrapper {
|
|
box-sizing: border-box;
|
|
font-size: 0.875rem;
|
|
margin-top: -1rem;
|
|
}
|
|
.rw-form-error-wrapper {
|
|
padding: 1rem;
|
|
background-color: #fff5f5;
|
|
color: #c53030;
|
|
border-width: 1px;
|
|
border-color: #feb2b2;
|
|
border-radius: 0.25rem;
|
|
margin: 1rem 0;
|
|
}
|
|
.rw-form-error-title {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
font-weight: 600;
|
|
}
|
|
.rw-form-error-list {
|
|
margin-top: 0.5rem;
|
|
list-style-type: disc;
|
|
list-style-position: inside;
|
|
}
|
|
.rw-button {
|
|
color: #718096;
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: center;
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
padding: 0.25rem 1rem;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
letter-spacing: 0.025em;
|
|
border-radius: 0.25rem;
|
|
line-height: 2;
|
|
}
|
|
.rw-button:hover {
|
|
background-color: #718096;
|
|
color: #fff;
|
|
}
|
|
.rw-button.rw-button-small {
|
|
font-size: 0.75rem;
|
|
border-radius: 0.125rem;
|
|
padding: 0.25rem 0.5rem;
|
|
line-height: inherit;
|
|
}
|
|
.rw-button.rw-button-green {
|
|
background-color: #48bb78;
|
|
color: #fff;
|
|
}
|
|
.rw-button.rw-button-green:hover {
|
|
background-color: #38a169;
|
|
color: #fff;
|
|
}
|
|
.rw-button.rw-button-blue {
|
|
background-color: #3182ce;
|
|
color: #fff;
|
|
}
|
|
.rw-button.rw-button-blue:hover {
|
|
background-color: #2b6cb0;
|
|
}
|
|
.rw-button.rw-button-red {
|
|
background-color: #e53e3e;
|
|
color: #fff;
|
|
}
|
|
.rw-button.rw-button-red:hover {
|
|
background-color: #c53030;
|
|
}
|
|
.rw-button-icon {
|
|
font-size: 1.25rem;
|
|
line-height: 1;
|
|
margin-right: 0.25rem;
|
|
}
|
|
.rw-button-group {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin: 0.75rem 0.5rem;
|
|
}
|
|
.rw-button-group .rw-button {
|
|
margin: 0 0.25rem;
|
|
}
|
|
.rw-form-wrapper .rw-button-group {
|
|
margin-top: 2rem;
|
|
margin-bottom: 0;
|
|
}
|
|
.rw-label {
|
|
display: block;
|
|
margin-top: 1.5rem;
|
|
color: #4a5568;
|
|
font-weight: 600;
|
|
}
|
|
.rw-label.rw-label-error {
|
|
color: #c53030;
|
|
}
|
|
.rw-input {
|
|
display: block;
|
|
margin-top: 0.5rem;
|
|
width: 100%;
|
|
padding: 0.5rem;
|
|
border-width: 1px;
|
|
border-color: #e2e8f0;
|
|
color: #4a5568;
|
|
border-radius: 0.25rem;
|
|
outline: none;
|
|
}
|
|
.rw-input[type='checkbox'] {
|
|
width: initial;
|
|
margin-left: 0;
|
|
}
|
|
.rw-input:focus {
|
|
border-color: #a0aec0;
|
|
}
|
|
.rw-input-error {
|
|
border-color: #c53030;
|
|
color: #c53030;
|
|
}
|
|
.rw-field-error {
|
|
display: block;
|
|
margin-top: 0.25rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 0.75rem;
|
|
color: #c53030;
|
|
}
|
|
.rw-table-wrapper-responsive {
|
|
overflow-x: scroll;
|
|
}
|
|
.rw-table-wrapper-responsive .rw-table {
|
|
min-width: 48rem;
|
|
}
|
|
.rw-table {
|
|
table-layout: auto;
|
|
width: 100%;
|
|
font-size: 0.875rem;
|
|
}
|
|
.rw-table th,
|
|
.rw-table td {
|
|
padding: 0.75rem;
|
|
}
|
|
.rw-table thead tr {
|
|
background-color: #e2e8f0;
|
|
color: #4a5568;
|
|
}
|
|
.rw-table th {
|
|
font-weight: 600;
|
|
text-align: left;
|
|
}
|
|
.rw-table thead th {
|
|
text-align: left;
|
|
}
|
|
.rw-table tbody th {
|
|
text-align: right;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.rw-table tbody th {
|
|
width: 20%;
|
|
}
|
|
}
|
|
.rw-table tbody tr {
|
|
background-color: #f7fafc;
|
|
border-top-width: 1px;
|
|
}
|
|
.rw-table tbody tr:nth-child(even) {
|
|
background-color: #fff;
|
|
}
|
|
.rw-table input {
|
|
margin-left: 0;
|
|
}
|
|
.rw-table-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
height: 17px;
|
|
padding-right: 0.25rem;
|
|
}
|
|
.rw-table-actions .rw-button {
|
|
background-color: transparent;
|
|
}
|
|
.rw-table-actions .rw-button:hover {
|
|
background-color: #718096;
|
|
color: #fff;
|
|
}
|
|
.rw-table-actions .rw-button-blue {
|
|
color: #3182ce;
|
|
}
|
|
.rw-table-actions .rw-button-blue:hover {
|
|
background-color: #3182ce;
|
|
color: #fff;
|
|
}
|
|
.rw-table-actions .rw-button-red {
|
|
color: #e53e3e;
|
|
}
|
|
.rw-table-actions .rw-button-red:hover {
|
|
background-color: #e53e3e;
|
|
color: #fff;
|
|
}
|
|
.rw-text-center {
|
|
text-align: center;
|
|
}
|
|
.rw-slide-up {
|
|
animation: slideUp 0.5s 1 ease;
|
|
animation-fill-mode: forwards;
|
|
overflow-y: hidden;
|
|
}
|
|
@keyframes slideUp {
|
|
100% {
|
|
max-height: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
}
|