[style](trx-frontend-http): simplify spectrum scale arrows
Co-authored-by: OpenAI Codex <codex@openai.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -2553,8 +2553,7 @@ button:focus-visible, input:focus-visible, select:focus-visible {
|
|||||||
padding-top: 0.45rem;
|
padding-top: 0.45rem;
|
||||||
}
|
}
|
||||||
.spectrum-edge-shift {
|
.spectrum-edge-shift {
|
||||||
width: 1.15rem;
|
width: 0.95rem;
|
||||||
height: 1.15rem;
|
|
||||||
}
|
}
|
||||||
/* Bookmark side panels need too much horizontal space on narrow screens */
|
/* Bookmark side panels need too much horizontal space on narrow screens */
|
||||||
.spectrum-bookmark-side { display: none !important; }
|
.spectrum-bookmark-side { display: none !important; }
|
||||||
@@ -2817,43 +2816,43 @@ button:focus-visible, input:focus-visible, select:focus-visible {
|
|||||||
top: 50%;
|
top: 50%;
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
z-index: 8;
|
z-index: 8;
|
||||||
width: 1.2rem;
|
width: 1rem;
|
||||||
height: 1.2rem;
|
height: 100%;
|
||||||
border: 1px solid color-mix(in srgb, var(--border-light) 85%, transparent);
|
padding: 0;
|
||||||
background: color-mix(in srgb, var(--card-bg) 82%, transparent);
|
border: none;
|
||||||
color: var(--accent-yellow);
|
background: none;
|
||||||
border-radius: 999px;
|
color: color-mix(in srgb, var(--text-muted) 78%, var(--accent-yellow));
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: 0;
|
font-size: 0;
|
||||||
line-height: 1;
|
line-height: 1;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
box-shadow: 0 6px 14px rgba(0,0,0,0.18);
|
appearance: none;
|
||||||
backdrop-filter: blur(10px);
|
-webkit-appearance: none;
|
||||||
-webkit-backdrop-filter: blur(10px);
|
transition: color 120ms ease, opacity 120ms ease;
|
||||||
transition: none;
|
opacity: 0.92;
|
||||||
}
|
}
|
||||||
.spectrum-edge-shift::before {
|
.spectrum-edge-shift::before {
|
||||||
content: "";
|
content: "";
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 0;
|
height: 0;
|
||||||
border-top: 0.22rem solid transparent;
|
border-top: 0.24rem solid transparent;
|
||||||
border-bottom: 0.22rem solid transparent;
|
border-bottom: 0.24rem solid transparent;
|
||||||
}
|
}
|
||||||
.spectrum-edge-shift-left::before {
|
.spectrum-edge-shift-left::before {
|
||||||
border-right: 0.34rem solid currentColor;
|
border-right: 0.38rem solid currentColor;
|
||||||
}
|
}
|
||||||
.spectrum-edge-shift-right::before {
|
.spectrum-edge-shift-right::before {
|
||||||
border-left: 0.34rem solid currentColor;
|
border-left: 0.38rem solid currentColor;
|
||||||
}
|
}
|
||||||
.spectrum-edge-shift:hover {
|
.spectrum-edge-shift:hover {
|
||||||
background: color-mix(in srgb, var(--btn-bg) 84%, transparent);
|
color: var(--accent-yellow);
|
||||||
color: var(--text-heading);
|
opacity: 1;
|
||||||
border-color: var(--accent-yellow);
|
|
||||||
}
|
}
|
||||||
.spectrum-edge-shift:active {
|
.spectrum-edge-shift:active {
|
||||||
transform: translateY(-50%);
|
transform: translateY(-50%);
|
||||||
|
color: var(--text-heading);
|
||||||
}
|
}
|
||||||
.spectrum-edge-shift-left {
|
.spectrum-edge-shift-left {
|
||||||
left: 0.24rem;
|
left: 0.24rem;
|
||||||
|
|||||||
Reference in New Issue
Block a user