352 lines
5.8 KiB
CSS
352 lines
5.8 KiB
CSS
.boot-screen {
|
|
height: 100%;
|
|
display: grid;
|
|
place-content: center;
|
|
justify-items: center;
|
|
gap: 12px;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.boot-screen strong {
|
|
font-size: 14px;
|
|
letter-spacing: .2px;
|
|
}
|
|
|
|
.boot-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.login-view {
|
|
height: 100%;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
background: var(--bg);
|
|
}
|
|
|
|
.login-panel {
|
|
width: min(100%, 360px);
|
|
border: 1px solid var(--line);
|
|
background: var(--panel);
|
|
border-radius: var(--radius-panel);
|
|
box-shadow: 0 18px 46px var(--shadow);
|
|
}
|
|
|
|
.login-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 18px 20px;
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.brand-icon {
|
|
width: 24px;
|
|
height: 24px;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.login-brand div {
|
|
display: grid;
|
|
gap: 1px;
|
|
}
|
|
|
|
.login-brand strong {
|
|
font-size: 16px;
|
|
}
|
|
|
|
.login-brand span {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.login-form {
|
|
display: grid;
|
|
gap: 13px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.login-panel footer {
|
|
padding: 10px 20px 14px;
|
|
color: var(--subtle);
|
|
font-size: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.app-view {
|
|
height: 100%;
|
|
display: grid;
|
|
grid-template-rows: var(--appbar-height, 44px) minmax(0, 1fr);
|
|
background: var(--bg);
|
|
}
|
|
|
|
.appbar {
|
|
display: grid;
|
|
grid-template-columns: 220px minmax(260px, 620px) 1fr;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 0 10px;
|
|
border-bottom: 1px solid var(--line);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.app-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding-left: 3px;
|
|
}
|
|
|
|
.app-brand strong {
|
|
font-size: 14px;
|
|
letter-spacing: -.2px;
|
|
}
|
|
|
|
.search-field {
|
|
height: 30px;
|
|
display: grid;
|
|
grid-template-columns: 22px 1fr auto auto;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 0 7px;
|
|
border: 1px solid var(--line-strong);
|
|
border-radius: var(--radius-control);
|
|
background: var(--field);
|
|
}
|
|
|
|
.search-field:focus-within {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 0 0 1px var(--accent);
|
|
}
|
|
|
|
.search-field svg {
|
|
width: 15px;
|
|
height: 15px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.search-field input {
|
|
min-height: 0;
|
|
height: 28px;
|
|
border: 0;
|
|
padding: 0 3px;
|
|
background: transparent;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.search-field input:focus {
|
|
box-shadow: none;
|
|
}
|
|
|
|
.appbar-actions {
|
|
justify-self: end;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.indexing-indicator {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.indexing-indicator svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
animation: rustbox-indexing-spin .9s linear infinite;
|
|
}
|
|
|
|
@keyframes rustbox-indexing-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.indexing-indicator svg { animation: none; }
|
|
}
|
|
|
|
.account-summary {
|
|
display: grid;
|
|
min-width: 120px;
|
|
margin-left: 6px;
|
|
padding-left: 10px;
|
|
border-left: 1px solid var(--line);
|
|
line-height: 1.25;
|
|
}
|
|
|
|
.account-summary span:first-child {
|
|
max-width: 190px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 11px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.account-summary span:last-child {
|
|
color: var(--success);
|
|
font-size: 9px;
|
|
}
|
|
|
|
.mail-shell {
|
|
min-height: 0;
|
|
display: grid;
|
|
grid-template-columns: var(--folder-pane-width) minmax(300px, var(--message-pane-width)) minmax(420px, 1fr);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.folder-pane,
|
|
.message-pane,
|
|
.reader-pane {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.message-pane {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.reader-pane {
|
|
container-name: reader-pane;
|
|
container-type: inline-size;
|
|
}
|
|
|
|
.folder-pane {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 10px;
|
|
border-right: 1px solid var(--line);
|
|
background: var(--sidebar);
|
|
}
|
|
|
|
.compose-button {
|
|
justify-content: flex-start;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.section-heading {
|
|
min-height: 27px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: .08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.folder-pane-footer {
|
|
margin-top: auto;
|
|
padding-top: 10px;
|
|
border-top: 1px solid var(--line);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: var(--subtle);
|
|
font: 9px var(--font-mono);
|
|
}
|
|
|
|
.mobile-only {
|
|
display: none;
|
|
}
|
|
|
|
.folder-drawer-scrim {
|
|
display: none;
|
|
}
|
|
|
|
.search-filter-button {
|
|
width: 24px;
|
|
height: 24px;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: var(--radius-control);
|
|
background: transparent;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.search-filter-button:hover,
|
|
.search-filter-button:focus-visible {
|
|
background: var(--hover);
|
|
color: var(--text);
|
|
outline: none;
|
|
}
|
|
|
|
.search-filter-button svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.folder-pane,
|
|
.message-pane {
|
|
position: relative;
|
|
}
|
|
|
|
.pane-resizer {
|
|
position: absolute;
|
|
z-index: 8;
|
|
top: 0;
|
|
right: -3px;
|
|
bottom: 0;
|
|
width: 7px;
|
|
cursor: col-resize;
|
|
touch-action: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.pane-resizer::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 3px;
|
|
width: 1px;
|
|
background: transparent;
|
|
}
|
|
|
|
.pane-resizer:hover::after,
|
|
.resizing-pane .pane-resizer::after {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.resizing-pane {
|
|
cursor: col-resize !important;
|
|
user-select: none !important;
|
|
}
|
|
|
|
.resizing-pane iframe {
|
|
pointer-events: none;
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.pane-resizer {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.offline-banner {
|
|
position: fixed;
|
|
z-index: 80;
|
|
top: calc(var(--appbar-height, 44px) + 6px);
|
|
left: 50%;
|
|
max-width: min(620px, calc(100vw - 24px));
|
|
transform: translateX(-50%);
|
|
padding: 7px 10px;
|
|
border: 1px solid var(--warning);
|
|
border-radius: var(--radius-control);
|
|
background: var(--panel-3);
|
|
color: var(--text);
|
|
box-shadow: 0 8px 24px var(--shadow);
|
|
font-size: 10px;
|
|
text-align: center;
|
|
}
|
|
|
|
.network-offline .account-summary span:last-child {
|
|
color: var(--warning);
|
|
} |