[Glitch] Redesign components: Radio buttons
Port 165613d2a6 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
1 parent
0f793729d1
commit
ebdc40b245
11 files changed
+197
-73
No files matched your search
@@ -1,3 +1,39 @@
|
||||
// Radio
|
||||
|
||||
.radioWrapper {
|
||||
[data-input] {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.icon {
|
||||
position: absolute;
|
||||
pointer-events: none;
|
||||
opacity: 0;
|
||||
transition:
|
||||
color 200ms,
|
||||
opacity 200ms;
|
||||
}
|
||||
|
||||
.icon:has(+ :checked) {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
input {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: var(--fs-sm);
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: var(--fs-lg);
|
||||
height: var(--fs-lg);
|
||||
}
|
||||
|
||||
// Text Input
|
||||
|
||||
.inputWrapper {
|
||||
label {
|
||||
font-size: var(--fs-sm);
|
||||
|
||||
Reference in new issue
Block a user