mirror of
https://github.com/anomalyco/opencode.git
synced 2026-11-20 18:57:17 +03:00
fix(app): keep the selected interface layout ring even around the label (#62309)
This commit is contained in:
committed by
GitHub
Unverified
parent
21eaa626a3
commit
05620f8ff9
@@ -23,9 +23,7 @@
|
||||
border-radius: 8px;
|
||||
background-color: var(--v2-background-bg-layer-02);
|
||||
cursor: pointer;
|
||||
transition:
|
||||
border-color 120ms ease,
|
||||
box-shadow 120ms ease;
|
||||
transition: border-color 120ms ease;
|
||||
|
||||
&:hover {
|
||||
border-color: var(--v2-border-border-strong);
|
||||
@@ -34,7 +32,16 @@
|
||||
&[data-checked] {
|
||||
--preview-ink-strong: color-mix(in srgb, var(--v2-background-bg-accent) 70%, transparent);
|
||||
border-color: var(--v2-border-border-focus);
|
||||
box-shadow: inset 0 0 0 1px var(--v2-border-border-focus);
|
||||
|
||||
/* An inset shadow on the card paints under the opaque name row, so the inner ring sits on top instead. */
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: 7px;
|
||||
box-shadow: inset 0 0 0 1px var(--v2-border-border-focus);
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:has(input:focus-visible) {
|
||||
|
||||
Reference in New Issue
Block a user