Redesign components: Radio buttons (#39943)
This commit is contained in:
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