365 lines
6.0 KiB
CSS
365 lines
6.0 KiB
CSS
.settings-page,
|
|
.settings-loading {
|
|
min-height: 100vh;
|
|
color: #111111;
|
|
background: #f6f6f4;
|
|
}
|
|
|
|
.settings-loading {
|
|
display: grid;
|
|
place-content: center;
|
|
gap: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.settings-loading button {
|
|
min-height: 44px;
|
|
border: 1px solid #111111;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.settings-header {
|
|
display: flex;
|
|
min-height: 72px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 5vw;
|
|
border-bottom: 1px solid #c8c8c3;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.settings-brand {
|
|
color: #111111;
|
|
font-family: Arial Black, "Segoe UI", sans-serif;
|
|
font-size: 24px;
|
|
font-weight: 900;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.settings-header nav {
|
|
display: flex;
|
|
gap: 28px;
|
|
}
|
|
|
|
.settings-header nav a,
|
|
.settings-header nav span {
|
|
color: #111111;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.settings-header nav span {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.settings-title {
|
|
padding: 64px max(5vw, calc((100vw - 1120px) / 2)) 38px;
|
|
border-bottom: 1px solid #c8c8c3;
|
|
}
|
|
|
|
.settings-title p,
|
|
.settings-dialog header p {
|
|
margin: 0 0 12px;
|
|
font-family: Consolas, monospace;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.settings-title h1 {
|
|
margin: 0;
|
|
font-size: 40px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.settings-section,
|
|
.settings-danger {
|
|
display: grid;
|
|
grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.4fr);
|
|
gap: 64px;
|
|
max-width: 1120px;
|
|
margin: 0 auto;
|
|
padding: 46px 0;
|
|
border-bottom: 1px solid #c8c8c3;
|
|
}
|
|
|
|
.settings-section-heading h2,
|
|
.settings-danger h2 {
|
|
margin: 0 0 8px;
|
|
font-size: 21px;
|
|
}
|
|
|
|
.settings-section-heading p,
|
|
.settings-danger p,
|
|
.settings-detail {
|
|
margin: 0;
|
|
color: #585852;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.settings-form {
|
|
display: grid;
|
|
gap: 10px;
|
|
max-width: 560px;
|
|
}
|
|
|
|
.settings-form input,
|
|
.settings-dialog input {
|
|
width: 100%;
|
|
min-height: 46px;
|
|
padding: 10px 12px;
|
|
border: 1px solid #989891;
|
|
border-radius: 2px;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.settings-form label,
|
|
.settings-dialog label {
|
|
margin-top: 10px;
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.settings-primary,
|
|
.settings-code-button,
|
|
.settings-delete-confirm,
|
|
.settings-danger-button {
|
|
min-height: 44px;
|
|
border-radius: 2px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.settings-primary {
|
|
width: 160px;
|
|
margin-top: 12px;
|
|
border: 1px solid #111111;
|
|
color: #111111;
|
|
background: #f2f500;
|
|
}
|
|
|
|
.settings-primary:disabled,
|
|
.settings-code-button:disabled,
|
|
.settings-delete-confirm:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.settings-definition {
|
|
margin: 0;
|
|
}
|
|
|
|
.settings-definition div {
|
|
display: grid;
|
|
grid-template-columns: 140px 1fr;
|
|
gap: 18px;
|
|
padding: 15px 0;
|
|
border-bottom: 1px solid #deded9;
|
|
}
|
|
|
|
.settings-definition dt {
|
|
color: #686862;
|
|
}
|
|
|
|
.settings-definition dd {
|
|
margin: 0;
|
|
overflow-wrap: anywhere;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.settings-local {
|
|
align-items: start;
|
|
}
|
|
|
|
.settings-local > :not(.settings-section-heading) {
|
|
grid-column: 2;
|
|
}
|
|
|
|
.settings-capacity {
|
|
display: grid;
|
|
gap: 14px;
|
|
}
|
|
|
|
.settings-capacity > div:first-child {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
}
|
|
|
|
.settings-capacity-track {
|
|
height: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid #111111;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.settings-capacity-track span {
|
|
display: block;
|
|
height: 100%;
|
|
background: #111111;
|
|
}
|
|
|
|
.settings-capacity[data-status="warning"] .settings-capacity-track span,
|
|
.settings-capacity[data-status="critical"] .settings-capacity-track span {
|
|
background: #e2b500;
|
|
}
|
|
|
|
.settings-capacity[data-status="full"] .settings-capacity-track span,
|
|
.settings-capacity[data-status="unavailable"] .settings-capacity-track span {
|
|
background: #c7352b;
|
|
}
|
|
|
|
.settings-fixed-notice {
|
|
margin: 24px 0 0;
|
|
padding: 20px;
|
|
border-left: 5px solid #111111;
|
|
background: #f2f500;
|
|
font-weight: 800;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.settings-detail {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.settings-danger {
|
|
align-items: center;
|
|
border-bottom: 0;
|
|
padding-bottom: 80px;
|
|
}
|
|
|
|
.settings-danger-button {
|
|
width: 160px;
|
|
justify-self: start;
|
|
border: 1px solid #a6251d;
|
|
color: #ffffff;
|
|
background: #b82f26;
|
|
}
|
|
|
|
.settings-error {
|
|
margin: 8px 0 0;
|
|
color: #a6251d;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.settings-saved {
|
|
margin: 8px 0 0;
|
|
color: #256227;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.settings-dialog-backdrop {
|
|
position: fixed;
|
|
z-index: 20;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 20px;
|
|
background: rgb(17 17 17 / 62%);
|
|
}
|
|
|
|
.settings-dialog {
|
|
width: min(640px, 100%);
|
|
max-height: calc(100vh - 40px);
|
|
overflow-y: auto;
|
|
border: 1px solid #111111;
|
|
border-radius: 4px;
|
|
background: #ffffff;
|
|
box-shadow: 10px 10px 0 #111111;
|
|
}
|
|
|
|
.settings-dialog header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
padding: 24px 28px;
|
|
border-bottom: 1px solid #c8c8c3;
|
|
}
|
|
|
|
.settings-dialog h2 {
|
|
margin: 0;
|
|
font-size: 24px;
|
|
}
|
|
|
|
.settings-dialog header button {
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 0;
|
|
background: transparent;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.settings-dialog-body {
|
|
padding: 26px 28px 30px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.settings-dialog-warning {
|
|
padding: 16px;
|
|
border-left: 5px solid #b82f26;
|
|
background: #fff2f0;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.settings-code-button {
|
|
width: 180px;
|
|
margin: 10px 0;
|
|
border: 1px solid #111111;
|
|
background: #ffffff;
|
|
}
|
|
|
|
.settings-dialog form {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.settings-delete-confirm {
|
|
width: 180px;
|
|
margin-top: 16px;
|
|
border: 1px solid #8e2019;
|
|
color: #ffffff;
|
|
background: #b82f26;
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.settings-header {
|
|
padding: 0 18px;
|
|
}
|
|
|
|
.settings-header nav {
|
|
gap: 14px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.settings-title {
|
|
padding: 40px 20px 28px;
|
|
}
|
|
|
|
.settings-title h1 {
|
|
font-size: 30px;
|
|
}
|
|
|
|
.settings-section,
|
|
.settings-danger {
|
|
grid-template-columns: 1fr;
|
|
gap: 24px;
|
|
margin: 0 20px;
|
|
padding: 34px 0;
|
|
}
|
|
|
|
.settings-local > :not(.settings-section-heading) {
|
|
grid-column: 1;
|
|
}
|
|
|
|
.settings-definition div {
|
|
grid-template-columns: 88px 1fr;
|
|
}
|
|
|
|
.settings-capacity > div:first-child {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.settings-dialog {
|
|
box-shadow: 5px 5px 0 #111111;
|
|
}
|
|
}
|