Keep Dock exclusive and polish controls chart and overlays
This commit is contained in:
1 parent
84c4b3030a
commit
17011ebd4d
38 files changed
+240
-68
No files matched your search
+75
-10
@@ -361,6 +361,42 @@ small {
|
||||
height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
.chart-plot {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
cursor: crosshair;
|
||||
touch-action: pan-y;
|
||||
}
|
||||
.chart-guide {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
border-left: 1px dashed var(--color-muted);
|
||||
pointer-events: none;
|
||||
}
|
||||
.chart-dot {
|
||||
position: absolute;
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
border: 2px solid var(--color-surface);
|
||||
border-radius: 50%;
|
||||
background: var(--color-accent);
|
||||
transform: translate(-50%, -50%);
|
||||
pointer-events: none;
|
||||
}
|
||||
.chart-tooltip {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
padding: 6px 9px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-control);
|
||||
background: var(--color-surface);
|
||||
color: var(--color-text);
|
||||
box-shadow: 0 3px 12px #0002;
|
||||
font-size: 12px;
|
||||
white-space: nowrap;
|
||||
pointer-events: none;
|
||||
}
|
||||
.chart-grid {
|
||||
stroke: var(--color-border);
|
||||
stroke-dasharray: 3 4;
|
||||
@@ -554,29 +590,35 @@ td .person {
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
}
|
||||
.switch {
|
||||
input[type="checkbox"].switch {
|
||||
appearance: none;
|
||||
width: 36px !important;
|
||||
height: 21px !important;
|
||||
width: 44px;
|
||||
height: 24px;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
background: var(--color-border);
|
||||
border-radius: 12px !important;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 999px;
|
||||
position: relative;
|
||||
transition: background-color 160ms ease;
|
||||
}
|
||||
.switch:after {
|
||||
content: "";
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: 3px;
|
||||
top: 50%;
|
||||
left: 2px;
|
||||
transform: translateY(-50%);
|
||||
border-radius: 50%;
|
||||
background: var(--color-surface);
|
||||
transition: transform 160ms ease;
|
||||
}
|
||||
.switch:checked {
|
||||
input[type="checkbox"].switch:checked {
|
||||
background: var(--color-accent);
|
||||
}
|
||||
.switch:checked:after {
|
||||
left: 18px;
|
||||
transform: translate(20px, -50%);
|
||||
}
|
||||
.auth-layout {
|
||||
display: grid;
|
||||
@@ -731,8 +773,23 @@ summary {
|
||||
min-width: 180px;
|
||||
padding: 6px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-control);
|
||||
z-index: 5;
|
||||
box-shadow: 0 6px 20px #0002;
|
||||
transform-origin: top left;
|
||||
}
|
||||
details[open] > .dropdown {
|
||||
animation: menu-open 180ms ease-out both;
|
||||
}
|
||||
@keyframes menu-open {
|
||||
from {
|
||||
opacity: 0;
|
||||
transform: translateY(-6px) scale(0.98);
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
transform: translateY(0) scale(1);
|
||||
}
|
||||
}
|
||||
.dropdown button {
|
||||
display: block;
|
||||
@@ -751,9 +808,11 @@ summary {
|
||||
position: fixed;
|
||||
background: var(--color-surface);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-control);
|
||||
padding: 6px;
|
||||
z-index: 30;
|
||||
box-shadow: 0 5px 20px #0003;
|
||||
animation: menu-open 180ms ease-out both;
|
||||
}
|
||||
.context-menu button {
|
||||
display: block;
|
||||
@@ -867,6 +926,9 @@ dialog > p {
|
||||
}
|
||||
#toast {
|
||||
position: fixed;
|
||||
inset: auto;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
bottom: 25px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
@@ -879,6 +941,9 @@ dialog > p {
|
||||
display: none;
|
||||
max-width: calc(100% - 32px);
|
||||
}
|
||||
#toast:popover-open {
|
||||
display: block;
|
||||
}
|
||||
.skip {
|
||||
position: fixed;
|
||||
top: -100px;
|
||||
|
||||
Reference in new issue
Block a user