Release v0.1.2
This commit is contained in:
@@ -501,6 +501,83 @@
|
||||
.inline-help:focus-visible .inline-help-mark {
|
||||
box-shadow: var(--focus-ring);
|
||||
}
|
||||
.policy-path-help {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
}
|
||||
.policy-path-help-line {
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
/* Shared policy table structure. Feature styles keep only layout-specific grid tracks. */
|
||||
.policy-table {
|
||||
display: grid;
|
||||
gap: 0;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-sm);
|
||||
overflow: hidden;
|
||||
}
|
||||
.policy-row {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 12px 14px;
|
||||
background: var(--surface);
|
||||
border-top: 1px solid var(--line);
|
||||
}
|
||||
.policy-row:first-child {
|
||||
border-top: 0;
|
||||
}
|
||||
.policy-row-header {
|
||||
background: var(--surface-subtle);
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.policy-field-label {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
}
|
||||
.policy-field-label strong,
|
||||
.policy-field-title {
|
||||
color: var(--text-strong);
|
||||
font-weight: 800;
|
||||
}
|
||||
.policy-field-label small,
|
||||
.policy-effective-note {
|
||||
color: var(--muted);
|
||||
}
|
||||
.policy-control select,
|
||||
.policy-control input,
|
||||
.policy-row textarea {
|
||||
width: 100%;
|
||||
}
|
||||
.policy-effective-cell,
|
||||
.policy-lower-cell {
|
||||
min-width: 0;
|
||||
}
|
||||
.policy-effective-value {
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
}
|
||||
.policy-effective-note {
|
||||
margin: 0;
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.policy-row,
|
||||
.policy-table.with-effective-column .policy-row,
|
||||
.policy-table.with-allow-column .policy-row,
|
||||
.policy-table.with-effective-column.with-allow-column .policy-row {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.policy-row-header {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.inline-help-bubble {
|
||||
position: absolute;
|
||||
z-index: 40;
|
||||
@@ -642,6 +719,9 @@
|
||||
.card-collapsible.is-collapsed .card-collapse-toggle svg {
|
||||
transform: none;
|
||||
}
|
||||
.card-collapsible.is-collapsed {
|
||||
align-self: start;
|
||||
}
|
||||
.card-collapse-region {
|
||||
display: block;
|
||||
width: 100%;
|
||||
@@ -794,7 +874,7 @@
|
||||
|
||||
.message-display-header {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.message-display-header h3 {
|
||||
@@ -803,89 +883,291 @@
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.message-display-header div {
|
||||
display: grid;
|
||||
grid-template-columns: 70px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
.message-display-fields {
|
||||
display: table;
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
background: transparent;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.message-display-header span {
|
||||
.message-display-fields div,
|
||||
.message-display-headers dl div {
|
||||
display: table-row;
|
||||
}
|
||||
|
||||
.message-display-fields dt,
|
||||
.message-display-fields dd,
|
||||
.message-display-headers dt,
|
||||
.message-display-headers dd {
|
||||
display: table-cell;
|
||||
padding: 7px 0px;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
.message-display-fields div:last-child dt,
|
||||
.message-display-fields div:last-child dd,
|
||||
.message-display-headers dl div:last-child dt,
|
||||
.message-display-headers dl div:last-child dd {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.message-display-fields dt,
|
||||
.message-display-headers dt {
|
||||
width: 96px;
|
||||
color: var(--muted);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.message-display-header strong {
|
||||
.message-display-fields dd,
|
||||
.message-display-headers dd {
|
||||
margin: 0;
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.message-display-body {
|
||||
.message-display-body-section {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.message-display-section-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.message-display-section-heading h4,
|
||||
.message-display-attachments h4 {
|
||||
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%;
|
||||
min-height: 220px;
|
||||
max-height: 420px;
|
||||
margin: 0;
|
||||
padding: 12px;
|
||||
overflow: auto;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--surface-subtle);
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.message-display-body {
|
||||
padding: 12px;
|
||||
font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.message-display-html-frame {
|
||||
height: 420px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.message-display-attachments {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
gap: 9px;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.message-display-attachments h4 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.message-display-attachments div {
|
||||
.message-display-attachments-scroll {
|
||||
display: grid;
|
||||
grid-template-columns: 18px minmax(0, 1fr) auto;
|
||||
gap: 9px;
|
||||
max-height: min(360px, 38vh);
|
||||
min-height: 0;
|
||||
overflow: auto;
|
||||
padding: 0 6px;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.message-display-attachment-list {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.message-display-attachment-row {
|
||||
display: grid;
|
||||
grid-template-columns: 18px minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
align-items: start;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.message-display-attachments small {
|
||||
.message-display-attachment-row > span {
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.message-display-attachment-row strong {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.message-display-attachment-row small,
|
||||
.message-display-attachment-archive header span,
|
||||
.message-display-attachment-archive header small {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.message-display-attachment-detail {
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.message-display-attachment-meta {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 4px 10px;
|
||||
}
|
||||
|
||||
.message-display-attachment-meta span + span::before {
|
||||
content: "";
|
||||
}
|
||||
|
||||
.message-display-attachment-archive {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
padding: 10px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--surface-subtle);
|
||||
}
|
||||
|
||||
.message-display-attachment-archive header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.message-display-attachment-archive header div {
|
||||
display: grid;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.message-display-attachment-archive header strong,
|
||||
.message-display-attachment-archive header small {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 5px;
|
||||
}
|
||||
|
||||
.message-display-headers summary {
|
||||
cursor: pointer;
|
||||
font-weight: 700;
|
||||
color: var(--text-strong);
|
||||
}
|
||||
|
||||
.message-display-headers dl {
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
display: table;
|
||||
width: 100%;
|
||||
max-height: 280px;
|
||||
margin: 8px 0 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.message-display-headers dl div {
|
||||
display: grid;
|
||||
grid-template-columns: 120px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.message-display-headers dt {
|
||||
color: var(--muted);
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.message-display-headers dd {
|
||||
margin: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
/* Shared SMTP/IMAP server settings panel. */
|
||||
.mail-server-settings-panel {
|
||||
display: grid;
|
||||
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;
|
||||
}
|
||||
.mail-server-settings-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(280px, 1fr));
|
||||
@@ -908,9 +1190,19 @@
|
||||
font-size: 14px;
|
||||
letter-spacing: .01em;
|
||||
}
|
||||
.form-grid.compact.mail-server-form-grid {
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
}
|
||||
.mail-server-form-grid {
|
||||
align-items: start;
|
||||
}
|
||||
.mail-server-field-heading {
|
||||
grid-column: 1 / -1;
|
||||
margin: 2px 0 -4px;
|
||||
color: var(--text-strong);
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
}
|
||||
.mail-server-field-span {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
@@ -919,10 +1211,22 @@
|
||||
border-radius: 8px;
|
||||
background: var(--panel-soft);
|
||||
}
|
||||
.mail-server-plain-toggle-row {
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
.mail-server-actions {
|
||||
justify-content: flex-end;
|
||||
margin-top: 12px;
|
||||
}
|
||||
.mail-server-folder-field {
|
||||
align-items: stretch;
|
||||
}
|
||||
.mail-server-folder-field .btn,
|
||||
.mail-server-folder-field .button {
|
||||
min-height: 36px;
|
||||
}
|
||||
.mail-server-folder-chip-list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -944,7 +1248,19 @@
|
||||
@media (max-width: 1000px) {
|
||||
.mail-server-settings-grid { grid-template-columns: 1fr; }
|
||||
}
|
||||
@media (max-width: 900px) {
|
||||
.form-grid.compact.mail-server-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
|
||||
}
|
||||
@media (max-width: 720px) {
|
||||
.form-grid.compact.mail-server-form-grid { grid-template-columns: 1fr; }
|
||||
.mail-server-section-heading.split { align-items: flex-start; flex-direction: column; }
|
||||
.mail-server-segmented-control { width: 100%; }
|
||||
}
|
||||
|
||||
.unsaved-changes-dialog {
|
||||
max-width: 520px;
|
||||
}
|
||||
|
||||
.unsaved-changes-actions {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user