266 lines
4.8 KiB
CSS
266 lines
4.8 KiB
CSS
.quick-access-rail,
|
|
.quick-access-drawer,
|
|
.quick-access-rail *,
|
|
.quick-access-drawer * {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.quick-access-rail {
|
|
position: relative;
|
|
z-index: 36;
|
|
width: 48px;
|
|
min-width: 48px;
|
|
height: 100vh;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
border-left: var(--border-line);
|
|
background: var(--panel-header);
|
|
}
|
|
|
|
.quick-access-rail-tools {
|
|
min-height: 0;
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 3px;
|
|
overflow-y: auto;
|
|
padding: 6px 4px;
|
|
}
|
|
|
|
.quick-access-rail-button {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 4px;
|
|
color: var(--muted);
|
|
background: transparent;
|
|
cursor: pointer;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.quick-access-rail-button:hover {
|
|
color: var(--text-strong);
|
|
background: var(--sidebar-hover-bg);
|
|
}
|
|
|
|
.quick-access-rail-button.active {
|
|
color: var(--accent);
|
|
background: var(--accent-soft);
|
|
}
|
|
|
|
.quick-access-settings-link {
|
|
margin: auto 4px 6px;
|
|
}
|
|
|
|
.quick-access-rail-loading {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin: 11px auto;
|
|
border: 2px solid var(--border);
|
|
border-top-color: var(--accent);
|
|
border-radius: 50%;
|
|
animation: quick-access-spin 0.8s linear infinite;
|
|
}
|
|
|
|
.quick-access-drawer {
|
|
position: fixed;
|
|
z-index: 35;
|
|
top: 0;
|
|
right: 48px;
|
|
width: min(420px, calc(100vw - 104px));
|
|
height: 100vh;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
border-left: var(--border-line);
|
|
box-shadow: -12px 0 30px rgb(0 0 0 / 18%);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.quick-access-drawer-header {
|
|
min-height: 64px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
border-bottom: var(--border-line);
|
|
padding: 10px 12px 10px 16px;
|
|
background: var(--panel-header);
|
|
}
|
|
|
|
.quick-access-drawer-header > div:first-child,
|
|
.quick-access-tool-heading > div:first-child,
|
|
.quick-access-preference-copy {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 3px;
|
|
}
|
|
|
|
.quick-access-drawer-header small,
|
|
.quick-access-tool-heading small,
|
|
.quick-access-preference-copy small,
|
|
.quick-access-settings-heading p,
|
|
.quick-access-tool-unavailable,
|
|
.quick-access-empty {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.quick-access-drawer-content {
|
|
min-height: 0;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.quick-access-tool {
|
|
display: grid;
|
|
gap: 12px;
|
|
border-bottom: var(--border-line);
|
|
padding: 14px 16px 16px;
|
|
}
|
|
|
|
.quick-access-tool-heading,
|
|
.quick-access-settings-heading,
|
|
.quick-access-preference-row,
|
|
.quick-access-preference-controls,
|
|
.quick-access-settings-actions,
|
|
.quick-access-order-buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.quick-access-tool-heading,
|
|
.quick-access-settings-heading,
|
|
.quick-access-preference-row {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.quick-access-tool-heading > a {
|
|
flex: 0 0 auto;
|
|
color: var(--accent);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.quick-access-settings {
|
|
min-width: 0;
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.quick-access-settings-heading {
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.quick-access-settings-heading h2,
|
|
.quick-access-settings-section h3 {
|
|
margin: 0;
|
|
color: var(--text-strong);
|
|
}
|
|
|
|
.quick-access-settings-section {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.quick-access-settings-section h3 {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.quick-access-preference-list {
|
|
border: var(--border-line);
|
|
background: var(--panel);
|
|
}
|
|
|
|
.quick-access-preference-row {
|
|
min-height: 62px;
|
|
padding: 8px 10px 8px 12px;
|
|
}
|
|
|
|
.quick-access-preference-row + .quick-access-preference-row {
|
|
border-top: var(--border-line);
|
|
}
|
|
|
|
.quick-access-preference-row:hover {
|
|
background: var(--sidebar-hover-bg);
|
|
}
|
|
|
|
.quick-access-preference-row.is-locked {
|
|
background: var(--panel-soft);
|
|
}
|
|
|
|
.quick-access-preference-controls {
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.quick-access-preference-controls .segmented-control-option {
|
|
min-height: 30px;
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.quick-access-order-buttons {
|
|
gap: 2px;
|
|
}
|
|
|
|
.quick-access-empty {
|
|
padding: 16px;
|
|
}
|
|
|
|
@keyframes quick-access-spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.quick-access-rail {
|
|
position: fixed;
|
|
z-index: 36;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
min-width: 0;
|
|
height: 50px;
|
|
flex-direction: row;
|
|
border-top: var(--border-line);
|
|
border-left: 0;
|
|
}
|
|
|
|
.quick-access-rail-tools {
|
|
display: flex;
|
|
flex: 1;
|
|
overflow-x: auto;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.quick-access-settings-link {
|
|
margin: 4px 6px 4px auto;
|
|
}
|
|
|
|
.quick-access-drawer {
|
|
right: 0;
|
|
bottom: 50px;
|
|
top: auto;
|
|
width: 100%;
|
|
height: min(70vh, 680px);
|
|
border-top: var(--border-line);
|
|
border-left: 0;
|
|
box-shadow: 0 -12px 30px rgb(0 0 0 / 18%);
|
|
}
|
|
|
|
.quick-access-preference-row {
|
|
align-items: stretch;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.quick-access-preference-controls {
|
|
justify-content: space-between;
|
|
overflow-x: auto;
|
|
}
|
|
}
|