chore: consolidate platform split checks
This commit is contained in:
@@ -232,6 +232,193 @@
|
||||
outline-offset: 1px;
|
||||
}
|
||||
|
||||
.color-picker-field,
|
||||
.date-field,
|
||||
.time-field {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.color-picker-field input {
|
||||
width: 100%;
|
||||
padding-left: 36px;
|
||||
padding-right: 38px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
||||
}
|
||||
|
||||
.date-field input,
|
||||
.time-field input {
|
||||
width: 100%;
|
||||
padding-right: 38px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
||||
}
|
||||
|
||||
.color-picker-preview {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
z-index: 1;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
border: 1px solid var(--line-dark);
|
||||
border-radius: 4px;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
|
||||
}
|
||||
|
||||
.color-picker-trigger,
|
||||
.date-field-trigger {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
z-index: 1;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.color-picker-trigger:hover:not(:disabled),
|
||||
.color-picker-trigger:focus-visible,
|
||||
.date-field-trigger:hover:not(:disabled),
|
||||
.date-field-trigger:focus-visible {
|
||||
background: rgba(0,0,0,.08);
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.time-field-icon {
|
||||
position: absolute;
|
||||
right: 12px;
|
||||
color: var(--muted);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.color-picker-popover,
|
||||
.date-field-popover {
|
||||
position: absolute;
|
||||
top: calc(100% + 6px);
|
||||
right: 0;
|
||||
z-index: 80;
|
||||
width: max-content;
|
||||
min-width: 220px;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--line-dark);
|
||||
border-radius: 8px;
|
||||
background: var(--panel);
|
||||
box-shadow: 0 16px 34px rgba(0,0,0,.18);
|
||||
}
|
||||
|
||||
.color-picker-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(6, 28px);
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.color-picker-grid button {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border: 1px solid rgba(0,0,0,.2);
|
||||
border-radius: 6px;
|
||||
cursor: pointer;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
|
||||
}
|
||||
|
||||
.color-picker-grid button.is-selected {
|
||||
outline: 2px solid var(--text-strong);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.date-field-popover {
|
||||
min-width: 268px;
|
||||
}
|
||||
|
||||
.date-field-monthbar {
|
||||
display: grid;
|
||||
grid-template-columns: 32px 1fr 32px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.date-field-monthbar strong {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.date-field-monthbar button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 4px;
|
||||
background: var(--surface);
|
||||
color: var(--text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.date-field-weekdays,
|
||||
.date-field-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, 1fr);
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.date-field-weekdays span {
|
||||
color: var(--muted);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.date-field-grid {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.date-field-grid button {
|
||||
min-width: 30px;
|
||||
height: 30px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 5px;
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.date-field-grid button:hover:not(:disabled),
|
||||
.date-field-grid button:focus-visible {
|
||||
border-color: var(--line-dark);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.date-field-grid button.is-muted {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.date-field-grid button.is-selected {
|
||||
border-color: #5aa99b;
|
||||
background: var(--green);
|
||||
color: #fff;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.date-field-grid button:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: .35;
|
||||
}
|
||||
|
||||
.date-time-field {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) 110px;
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.admin-overview-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
@@ -819,6 +1006,334 @@
|
||||
}
|
||||
}
|
||||
|
||||
.guided-config-dialog.admin-dialog-wide {
|
||||
width: min(1120px, calc(100vw - 40px));
|
||||
height: min(760px, calc(100vh - 40px));
|
||||
}
|
||||
|
||||
.guided-config-dialog-body {
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.guided-config-shell {
|
||||
display: grid;
|
||||
grid-template-columns: 282px minmax(0, 1fr);
|
||||
flex: 1 1 auto;
|
||||
width: 100%;
|
||||
min-height: min(620px, calc(100vh - 190px));
|
||||
}
|
||||
|
||||
.guided-config-sidebar {
|
||||
min-width: 0;
|
||||
border-right: 1px solid var(--line);
|
||||
background: #f6f5f3;
|
||||
}
|
||||
|
||||
.guided-config-sidebar .stepper {
|
||||
height: 100%;
|
||||
border-right: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.guided-config-content {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: 18px;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 24px;
|
||||
background: var(--panel-soft);
|
||||
}
|
||||
|
||||
.guided-config-intro {
|
||||
max-width: 760px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.guided-config-intro p,
|
||||
.guided-config-step-heading p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.guided-config-step-heading {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.guided-config-step-heading h3 {
|
||||
margin: 0;
|
||||
color: var(--text-strong);
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.guided-config-step-heading p {
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.guided-config-step-body {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.adaptive-config-dialog.admin-dialog-wide {
|
||||
width: min(1040px, calc(100vw - 40px));
|
||||
}
|
||||
|
||||
.adaptive-config-dialog-body {
|
||||
background: var(--panel-soft);
|
||||
}
|
||||
|
||||
.adaptive-config-form {
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.adaptive-config-section {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
min-width: 0;
|
||||
padding: 15px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 7px;
|
||||
background: var(--panel);
|
||||
}
|
||||
|
||||
.adaptive-config-section > header {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.adaptive-config-section > header h3 {
|
||||
margin: 0;
|
||||
color: var(--text-strong);
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.adaptive-config-section > header p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.advanced-options-panel {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 7px;
|
||||
background: var(--panel);
|
||||
}
|
||||
|
||||
.advanced-options-panel > summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
min-height: 44px;
|
||||
padding: 10px 12px;
|
||||
color: var(--text-strong);
|
||||
cursor: pointer;
|
||||
font-weight: 800;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.advanced-options-panel > summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.advanced-options-panel > summary svg {
|
||||
flex: 0 0 auto;
|
||||
color: var(--muted);
|
||||
transition: transform .16s ease;
|
||||
}
|
||||
|
||||
.advanced-options-panel[open] > summary svg {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.advanced-options-summary {
|
||||
margin: -2px 12px 10px;
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.advanced-options-body {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
padding: 0 12px 12px;
|
||||
}
|
||||
|
||||
.action-blocker-hint {
|
||||
display: grid;
|
||||
grid-template-columns: 20px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
padding: 12px 13px;
|
||||
border: 1px solid color-mix(in srgb, var(--amber) 45%, var(--line));
|
||||
border-radius: 7px;
|
||||
background: color-mix(in srgb, var(--amber) 12%, var(--panel));
|
||||
}
|
||||
|
||||
.action-blocker-hint.tone-info {
|
||||
border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
|
||||
background: color-mix(in srgb, var(--blue) 10%, var(--panel));
|
||||
}
|
||||
|
||||
.action-blocker-hint.tone-danger {
|
||||
border-color: color-mix(in srgb, var(--red) 45%, var(--line));
|
||||
background: color-mix(in srgb, var(--red) 10%, var(--panel));
|
||||
}
|
||||
|
||||
.action-blocker-icon {
|
||||
margin-top: 1px;
|
||||
color: var(--amber);
|
||||
}
|
||||
|
||||
.action-blocker-hint.tone-info .action-blocker-icon {
|
||||
color: var(--blue);
|
||||
}
|
||||
|
||||
.action-blocker-hint.tone-danger .action-blocker-icon {
|
||||
color: var(--red);
|
||||
}
|
||||
|
||||
.action-blocker-copy {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
color: var(--text);
|
||||
font-size: 13px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.action-blocker-copy strong {
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.action-blocker-copy p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.action-blocker-copy dl {
|
||||
display: grid;
|
||||
grid-template-columns: 126px minmax(0, 1fr);
|
||||
gap: 5px 12px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.action-blocker-copy dt {
|
||||
color: var(--muted);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.action-blocker-copy dd {
|
||||
margin: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.action-blocker-technical {
|
||||
background: rgba(255,255,255,.56);
|
||||
}
|
||||
|
||||
.guided-review-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.guided-review-list.is-empty {
|
||||
padding: 12px;
|
||||
border: 1px dashed var(--line);
|
||||
border-radius: 7px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.guided-review-row {
|
||||
display: grid;
|
||||
grid-template-columns: 190px minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
align-items: start;
|
||||
min-width: 0;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid var(--line);
|
||||
border-left-width: 4px;
|
||||
border-left-color: var(--line-dark);
|
||||
border-radius: 7px;
|
||||
background: var(--panel);
|
||||
}
|
||||
|
||||
.guided-review-row.tone-success {
|
||||
border-left-color: var(--green);
|
||||
}
|
||||
|
||||
.guided-review-row.tone-warning {
|
||||
border-left-color: var(--amber);
|
||||
}
|
||||
|
||||
.guided-review-row.tone-danger {
|
||||
border-left-color: var(--red);
|
||||
}
|
||||
|
||||
.guided-review-row dt {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.guided-review-row dd {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.guided-review-row dd strong,
|
||||
.guided-review-row dd span {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.guided-review-row dd strong {
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.guided-review-row dd span {
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
@media (max-width: 840px) {
|
||||
.guided-config-shell {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.guided-config-sidebar {
|
||||
border-right: 0;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.guided-config-sidebar .stepper {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.guided-review-row,
|
||||
.action-blocker-copy dl {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mail-style address editor: textarea surface + pills + add dialog. */
|
||||
.email-address-editor {
|
||||
position: relative;
|
||||
@@ -1071,6 +1586,9 @@
|
||||
flex: 0 0 auto;
|
||||
outline: none;
|
||||
}
|
||||
.ui-hide-help-hints .inline-help {
|
||||
display: none;
|
||||
}
|
||||
.inline-help-mark {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -1105,6 +1623,15 @@
|
||||
border-radius: var(--radius-sm);
|
||||
overflow: hidden;
|
||||
}
|
||||
.policy-section {
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
padding-top: 4px;
|
||||
}
|
||||
.policy-section h3 {
|
||||
margin: 0;
|
||||
color: var(--text-strong);
|
||||
}
|
||||
.policy-row {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
@@ -1151,6 +1678,10 @@
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
}
|
||||
.policy-effective-value.policy-effective-note {
|
||||
color: var(--muted);
|
||||
font-weight: 600;
|
||||
}
|
||||
.policy-effective-note {
|
||||
margin: 0;
|
||||
}
|
||||
@@ -1226,6 +1757,38 @@
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.field-input-missing {
|
||||
border-color: #b42318 !important;
|
||||
box-shadow: 0 0 0 3px rgba(180, 35, 24, .14) !important;
|
||||
}
|
||||
|
||||
.disabled-action-tooltip {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
}
|
||||
|
||||
.disabled-action-tooltip[data-tooltip]:not([data-tooltip=""]):hover::after,
|
||||
.disabled-action-tooltip[data-tooltip]:not([data-tooltip=""]):focus-within::after {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: calc(100% + 10px);
|
||||
z-index: 80;
|
||||
width: min(280px, 72vw);
|
||||
padding: 9px 11px;
|
||||
border: 1px solid rgba(180, 35, 24, .24);
|
||||
border-radius: var(--radius-sm, 8px);
|
||||
color: #7a241c;
|
||||
background: #fff7f5;
|
||||
box-shadow: var(--shadow-popover, 0 16px 32px rgba(15, 23, 42, .18));
|
||||
content: attr(data-tooltip);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
pointer-events: none;
|
||||
}
|
||||
.loading-frame {
|
||||
position: relative;
|
||||
}
|
||||
@@ -1453,6 +2016,222 @@
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.file-tree-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
border-right: 1px solid var(--line);
|
||||
background: linear-gradient(180deg, var(--panel-soft), var(--panel));
|
||||
}
|
||||
|
||||
.file-tree-heading {
|
||||
flex: 0 0 auto;
|
||||
padding: 13px 14px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
letter-spacing: .05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.file-tree-list {
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 0 0 16px;
|
||||
}
|
||||
|
||||
.file-tree-space + .file-tree-space {
|
||||
margin-top: 10px;
|
||||
padding-top: 10px;
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.file-tree-node-wrap {
|
||||
display: grid;
|
||||
grid-template-columns: 26px minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: 2px;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.file-tree-node,
|
||||
.file-tree-select,
|
||||
.file-tree-toggle {
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--text);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.file-tree-toggle {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
width: 26px;
|
||||
height: 32px;
|
||||
border-radius: 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.file-tree-toggle:disabled {
|
||||
cursor: default;
|
||||
opacity: .55;
|
||||
}
|
||||
|
||||
.file-tree-node {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
padding: 8px 9px;
|
||||
border-radius: 0;
|
||||
font: inherit;
|
||||
text-align: left;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.file-tree-node span {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.file-tree-root {
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.file-tree-select {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 999px;
|
||||
color: var(--text-strong);
|
||||
font-weight: 900;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.file-tree-node-wrap:hover,
|
||||
.file-tree-node-wrap:focus-within,
|
||||
.file-tree-node-wrap.is-active,
|
||||
.file-tree-root:hover:not(:disabled),
|
||||
.file-tree-root:focus-visible,
|
||||
.file-tree-root.is-active {
|
||||
background: var(--line);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.file-tree-node:focus-visible,
|
||||
.file-tree-toggle:focus-visible,
|
||||
.file-tree-select:focus-visible {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.file-tree-node-wrap.is-drop-target,
|
||||
.file-tree-root.is-drop-target {
|
||||
background: var(--line);
|
||||
box-shadow: inset 0 0 0 2px var(--line-dark);
|
||||
}
|
||||
|
||||
.file-tree-node-wrap.is-selected .file-tree-select {
|
||||
background: #0d6efd;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.file-tree-children {
|
||||
display: grid;
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
.segmented-control {
|
||||
display: inline-grid;
|
||||
grid-auto-flow: column;
|
||||
grid-auto-columns: minmax(0, auto);
|
||||
justify-content: start;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
border: 1px solid #c9c3b9;
|
||||
border-radius: 8px;
|
||||
background: #c9c3b9;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 1px 1px rgba(0,0,0,.05);
|
||||
}
|
||||
|
||||
.segmented-control-size-content {
|
||||
grid-auto-columns: auto;
|
||||
}
|
||||
|
||||
.segmented-control-size-equal {
|
||||
grid-auto-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.segmented-control-width-inline {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
.segmented-control-width-fill {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.segmented-control-option {
|
||||
min-width: 0;
|
||||
min-height: 32px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: linear-gradient(#ffffff, #f1efeb);
|
||||
color: #4f4a43;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 1px 1px rgba(0,0,0,.05);
|
||||
transition: background .18s ease, box-shadow .18s ease, color .18s ease;
|
||||
}
|
||||
|
||||
.segmented-control-option + .segmented-control-option {
|
||||
border-left: 1px solid #c9c3b9;
|
||||
}
|
||||
|
||||
.segmented-control-option:first-child {
|
||||
border-radius: 7px 0 0 7px;
|
||||
}
|
||||
|
||||
.segmented-control-option:last-child {
|
||||
border-radius: 0 7px 7px 0;
|
||||
}
|
||||
|
||||
.segmented-control-option:hover,
|
||||
.segmented-control-option:focus-visible {
|
||||
background: linear-gradient(#ffffff, #e8e5df);
|
||||
color: #4f4a43;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 2px 5px rgba(0,0,0,.08);
|
||||
}
|
||||
|
||||
.segmented-control-option:focus-visible {
|
||||
outline: 3px solid rgba(82, 130, 177, .22);
|
||||
outline-offset: -1px;
|
||||
}
|
||||
|
||||
.segmented-control-option.is-active,
|
||||
.segmented-control-option.active {
|
||||
background: var(--line);
|
||||
color: var(--text-strong);
|
||||
box-shadow: inset 0 2px 5px rgba(0,0,0,.12), inset 0 -1px 0 rgba(255,255,255,.45);
|
||||
}
|
||||
|
||||
.segmented-control-option.is-active:hover,
|
||||
.segmented-control-option.is-active:focus-visible,
|
||||
.segmented-control-option.active:hover,
|
||||
.segmented-control-option.active:focus-visible {
|
||||
background: var(--line);
|
||||
box-shadow: inset 0 2px 5px rgba(0,0,0,.14), inset 0 -1px 0 rgba(255,255,255,.45);
|
||||
}
|
||||
|
||||
.segmented-control-option:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: .55;
|
||||
}
|
||||
|
||||
.message-display-panel {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
@@ -1533,35 +2312,6 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.message-display-body-switch {
|
||||
display: inline-flex;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-sm);
|
||||
overflow: hidden;
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.message-display-body-switch button {
|
||||
border: 0;
|
||||
border-right: 1px solid var(--line);
|
||||
background: transparent;
|
||||
color: var(--muted);
|
||||
padding: 5px 10px;
|
||||
font: inherit;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.message-display-body-switch button:last-child {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.message-display-body-switch button.active {
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.message-display-body,
|
||||
.message-display-html-frame {
|
||||
width: 100%;
|
||||
@@ -1710,57 +2460,9 @@
|
||||
gap: 12px;
|
||||
}
|
||||
.mail-server-segmented-control {
|
||||
display: inline-grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
justify-self: center;
|
||||
width: min(420px, 100%);
|
||||
overflow: hidden;
|
||||
border: 1px solid #c9c3b9;
|
||||
border-radius: 8px;
|
||||
background: #c9c3b9;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 1px 1px rgba(0,0,0,.05);
|
||||
}
|
||||
.mail-server-segmented-tab {
|
||||
min-height: 32px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: linear-gradient(#ffffff, #f1efeb);
|
||||
color: #4f4a43;
|
||||
cursor: pointer;
|
||||
font: inherit;
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 1px 1px rgba(0,0,0,.05);
|
||||
transition: background .18s ease, box-shadow .18s ease, color .18s ease;
|
||||
}
|
||||
.mail-server-segmented-tab + .mail-server-segmented-tab {
|
||||
border-left: 1px solid #c9c3b9;
|
||||
}
|
||||
.mail-server-segmented-tab:first-child {
|
||||
border-radius: 7px 0 0 7px;
|
||||
}
|
||||
.mail-server-segmented-tab:last-child {
|
||||
border-radius: 0 7px 7px 0;
|
||||
}
|
||||
.mail-server-segmented-tab:hover,
|
||||
.mail-server-segmented-tab:focus-visible {
|
||||
background: linear-gradient(#ffffff, #e8e5df);
|
||||
color: #4f4a43;
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,.82), 0 2px 5px rgba(0,0,0,.08);
|
||||
}
|
||||
.mail-server-segmented-tab:focus-visible {
|
||||
outline: 3px solid rgba(82, 130, 177, .22);
|
||||
outline-offset: -1px;
|
||||
}
|
||||
.mail-server-segmented-tab.is-active {
|
||||
background: var(--line);
|
||||
color: var(--text-strong);
|
||||
box-shadow: inset 0 2px 5px rgba(0,0,0,.12), inset 0 -1px 0 rgba(255,255,255,.45);
|
||||
}
|
||||
.mail-server-segmented-tab.is-active:hover,
|
||||
.mail-server-segmented-tab.is-active:focus-visible {
|
||||
background: var(--line);
|
||||
box-shadow: inset 0 2px 5px rgba(0,0,0,.14), inset 0 -1px 0 rgba(255,255,255,.45);
|
||||
}
|
||||
.mail-server-settings-view {
|
||||
min-width: 0;
|
||||
|
||||
Reference in New Issue
Block a user