-
Notifications
You must be signed in to change notification settings - Fork 9
/
Checkbox.module.css
89 lines (71 loc) · 1.09 KB
/
Checkbox.module.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.mainContainer {
display: flex;
flex-direction: row;
gap: 8px;
align-items: center;
position: relative;
}
.inputOverlay {
opacity: 0;
position: absolute;
margin: 0;
top: 0;
left: 0;
}
.checkbox {
position: relative;
display: flex;
justify-content: center;
align-items: center;
box-sizing: border-box;
}
.cambioCheckbox {
border-radius: 4px;
}
.disabled {
opacity: 0.5;
}
.cursorDisabled {
cursor: auto;
}
.cursorEnabled {
cursor: pointer;
}
.uncheckedBox {
border: 2px solid;
}
.uncheckedBorder {
border-color: var(--color-base-primary-700);
}
.uncheckedErrorBorder {
border-color: var(--color-base-destructive-700);
}
.checkedBox {
color: #fff;
}
.checkedNonError {
background: var(--color-base-primary-700);
}
.checkedError {
background: var(--color-base-destructive-700);
}
.sm {
height: 16px;
width: 16px;
}
.md {
height: 24px;
width: 24px;
}
.smBorderRadius {
border-radius: 6px;
}
.mdBorderRadius {
border-radius: 8px;
}
.checkmark {
fill: var(--color-base-black);
}
.checkmarkError {
fill: var(--color-base-destructive-900);
}