251 lines
4.3 KiB
CSS
251 lines
4.3 KiB
CSS
.miscellaneous-section {
|
|
width: 100%;
|
|
min-height: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.miscellaneous-panel {
|
|
width: 100%;
|
|
max-width: 720px;
|
|
}
|
|
|
|
/* Sections */
|
|
|
|
.miscellaneous-panel__section {
|
|
padding-top: var(--space-2);
|
|
margin-top: var(--space-2);
|
|
|
|
border-top: var(--border-width) solid var(--border-hairline);
|
|
}
|
|
|
|
.miscellaneous-panel__section:first-of-type {
|
|
padding-top: 0;
|
|
margin-top: 0;
|
|
border-top: none;
|
|
}
|
|
|
|
.miscellaneous-panel__section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.miscellaneous-panel__section-header h2 {
|
|
margin: 0;
|
|
|
|
font-size: var(--font-md);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.miscellaneous-panel__section-header p {
|
|
margin: 0;
|
|
|
|
font-size: var(--font-sm);
|
|
line-height: 1.4;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Fields */
|
|
|
|
.miscellaneous-panel__row {
|
|
display: flex;
|
|
gap: var(--space-3);
|
|
}
|
|
|
|
.miscellaneous-panel__field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
|
|
flex: 1;
|
|
min-width: 0;
|
|
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
.miscellaneous-panel__field label {
|
|
font-size: var(--font-sm);
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.miscellaneous-panel__field input {
|
|
height: var(--card-control-height);
|
|
padding: 0 var(--space-3);
|
|
|
|
background: var(--bg-panel);
|
|
color: var(--text-primary);
|
|
|
|
border: var(--border-width) solid var(--border-hairline);
|
|
border-radius: var(--radius-sm);
|
|
|
|
font-family: var(--font-ui);
|
|
font-size: var(--font-sm);
|
|
|
|
outline: none;
|
|
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
|
|
transition: border-color var(--dur-base) var(--ease-standard);
|
|
}
|
|
|
|
.miscellaneous-panel__field input.mono {
|
|
font-family: var(--font-mono);
|
|
font-weight: var(--font-weight-normal);
|
|
}
|
|
|
|
.miscellaneous-panel__field input:focus {
|
|
border-color: var(--accent-brand);
|
|
}
|
|
|
|
.miscellaneous-panel__field input::placeholder {
|
|
color: var(--text-muted);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Stepper */
|
|
|
|
.miscellaneous-panel__choice-select {
|
|
height: var(--card-control-height);
|
|
min-height: var(--card-control-height);
|
|
max-height: var(--card-control-height);
|
|
box-sizing: border-box;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* Actions */
|
|
|
|
.miscellaneous-panel__actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
|
|
margin-top: var(--space-2);
|
|
}
|
|
|
|
/* Danger */
|
|
|
|
.miscellaneous-panel__section--danger {
|
|
padding-top: var(--space-2);
|
|
}
|
|
|
|
.miscellaneous-panel__section--danger .miscellaneous-panel__section-header p {
|
|
max-width: 560px;
|
|
}
|
|
|
|
/* Password Input */
|
|
|
|
.miscellaneous-panel__password-wrap {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.miscellaneous-panel__password-wrap input {
|
|
width: 100%;
|
|
}
|
|
|
|
.miscellaneous-panel__password-toggle {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 3%;
|
|
transform: translateY(-50%);
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
width: auto;
|
|
height: 100%;
|
|
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: var(--accent-brand);
|
|
|
|
cursor: pointer;
|
|
}
|
|
|
|
.miscellaneous-panel__password-toggle:hover {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.miscellaneous-panel__password-toggle svg {
|
|
width: auto;
|
|
height: 65%;
|
|
}
|
|
|
|
|
|
|
|
/* Mobile */
|
|
|
|
@media (max-width: 600px) {
|
|
.miscellaneous-panel__row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.miscellaneous-panel__actions {
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
}
|
|
|
|
.miscellaneous-panel {
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
.miscellaneous-panel input,
|
|
.miscellaneous-panel select {
|
|
user-select: text;
|
|
-webkit-user-select: text;
|
|
}
|
|
|
|
.confirm-modal-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
|
z-index: 1000;
|
|
}
|
|
|
|
.confirm-modal {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
padding: var(--space-5);
|
|
margin: var(--space-4);
|
|
|
|
background: var(--bg-panel);
|
|
border: var(--border-width) solid var(--border-hairline);
|
|
border-radius: var(--radius-md);
|
|
}
|
|
|
|
.confirm-modal h3 {
|
|
margin: 0 0 var(--space-2);
|
|
font-size: var(--font-md);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.confirm-modal p {
|
|
margin: 0;
|
|
font-size: var(--font-sm);
|
|
line-height: 1.4;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.confirm-modal__actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: var(--space-3);
|
|
margin-top: var(--space-5);
|
|
}
|
|
|
|
|