mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-19 11:53:25 +01:00
traverse toy
This commit is contained in:
1 parent
de80519f06
commit
cae63a70b0
15 files changed
+346
-36
No files matched your search
@@ -1,23 +1,53 @@
|
||||
.options {
|
||||
width: max-content;
|
||||
|
||||
position: relative;
|
||||
display: grid;
|
||||
|
||||
border-radius: var(--radius-max);
|
||||
|
||||
background-color: var(--gray-3);
|
||||
&[data-size="minor"] {
|
||||
.option {
|
||||
padding: var(--space-2) var(--space-3);
|
||||
font-size: 0.75em;
|
||||
}
|
||||
}
|
||||
|
||||
.indicator {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
|
||||
background-color: var(--accent-3);
|
||||
outline: var(--outline-focus);
|
||||
border-radius: var(--radius-max);
|
||||
|
||||
transition: var(--duration-brief);
|
||||
}
|
||||
|
||||
&[data-variant="solid"] {
|
||||
background-color: var(--gray-3);
|
||||
|
||||
.indicator {
|
||||
background-color: var(--accent-3);
|
||||
}
|
||||
}
|
||||
|
||||
&[data-variant="underline"] {
|
||||
border-radius: 0;
|
||||
|
||||
.indicator {
|
||||
top: auto;
|
||||
bottom: 0;
|
||||
|
||||
background: linear-gradient(transparent, var(--accent-a2));
|
||||
|
||||
outline: none;
|
||||
border-radius: 0;
|
||||
|
||||
border-bottom: var(--space-1) solid var(--accent-9);
|
||||
}
|
||||
}
|
||||
|
||||
.option {
|
||||
position: relative;
|
||||
|
||||
|
||||
Reference in new issue
Block a user