-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCheckbox.module.css
95 lines (77 loc) · 1.54 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
90
91
92
93
94
95
.checkbox {
position: absolute;
opacity: 0;
display: none;
}
.checkbox:checked + label svg path {
stroke-dashoffset: 0;
}
.checkbox:focus + label {
transform: scale(1.03);
}
.checkbox + label {
display: block;
border: 2px solid var(--disable-color);
width: var(--d);
min-width: var(--d);
height: var(--d);
border-radius: 3px;
cursor: pointer;
}
.checkbox + label:active {
transform: scale(1.05);
border-radius: 4px;
}
.checkbox + label svg {
pointer-events: none;
}
.checkbox + label svg path {
fill: none;
stroke: var(--secondary-color);
stroke-width: 6px;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 100;
stroke-dashoffset: 101;
}
.checkbox:disabled + label {
background-color: #e7e5e4;
cursor: default;
}
.filtersCheckbox + label {
border: 1px solid var(--primary-color);
border-radius: 0;
}
.filtersCheckbox:disabled + label {
border: 1px solid var(--disable-color);
cursor: not-allowed;
}
.filtersCheckbox + label:active {
border-radius: 0;
}
.lqsCheckbox + label {
border: none;
border-radius: 0;
}
.lqsCheckbox + label svg {
background-color: var(--ground_color);
}
.lqsCheckbox + label svg path {
stroke: var(--success-color);
}
.checkboxUser + label {
border: 2px solid #2f3440;
}
.checkboxUser + label svg path {
stroke: #fff;
stroke-width: 7px;
}
.checkboxUser:checked + label svg {
background-color: #2f3440;
}
.checkboxMainGreen + label svg {
margin-bottom: 3px;
}
.checkboxMainGreen + label svg path {
stroke: var(--success-color) !important;
}