@itcase/ui 1.0.47 → 1.0.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,42 +4,6 @@
|
|
|
4
4
|
&__wrapper {
|
|
5
5
|
position: relative;
|
|
6
6
|
display: flex;
|
|
7
|
-
^&__item {
|
|
8
|
-
min-width: 30px;
|
|
9
|
-
border-left: 0;
|
|
10
|
-
border-top: 0;
|
|
11
|
-
border-bottom: 0;
|
|
12
|
-
position: relative;
|
|
13
|
-
display: flex;
|
|
14
|
-
&:hover {
|
|
15
|
-
background: var(--choice-item-background-hover);
|
|
16
|
-
}
|
|
17
|
-
&:last-child {
|
|
18
|
-
border-right: 0;
|
|
19
|
-
}
|
|
20
|
-
&_state_active {
|
|
21
|
-
}
|
|
22
|
-
& input {
|
|
23
|
-
width: 100%;
|
|
24
|
-
height: 100%;
|
|
25
|
-
margin: 0;
|
|
26
|
-
border: 0;
|
|
27
|
-
position: absolute;
|
|
28
|
-
inset: 0 0 0 0;
|
|
29
|
-
z-index: 2;
|
|
30
|
-
opacity: 0%;
|
|
31
|
-
cursor: pointer;
|
|
32
|
-
}
|
|
33
|
-
&-label {
|
|
34
|
-
width: 100%;
|
|
35
|
-
text-align: center;
|
|
36
|
-
position: relative;
|
|
37
|
-
display: block;
|
|
38
|
-
z-index: 3;
|
|
39
|
-
transition: color 0.5s ease;
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
7
|
}
|
|
44
8
|
}
|
|
45
9
|
.choice {
|
|
@@ -73,6 +37,42 @@
|
|
|
73
37
|
}
|
|
74
38
|
}
|
|
75
39
|
}
|
|
40
|
+
.choice__item {
|
|
41
|
+
min-width: 30px;
|
|
42
|
+
border-left: 0;
|
|
43
|
+
border-top: 0;
|
|
44
|
+
border-bottom: 0;
|
|
45
|
+
position: relative;
|
|
46
|
+
display: flex;
|
|
47
|
+
&:hover {
|
|
48
|
+
background: var(--choice-item-background-hover);
|
|
49
|
+
}
|
|
50
|
+
&:last-child {
|
|
51
|
+
border-right: 0;
|
|
52
|
+
}
|
|
53
|
+
&_state_active {
|
|
54
|
+
}
|
|
55
|
+
& input {
|
|
56
|
+
width: 100%;
|
|
57
|
+
height: 100%;
|
|
58
|
+
margin: 0;
|
|
59
|
+
border: 0;
|
|
60
|
+
position: absolute;
|
|
61
|
+
inset: 0 0 0 0;
|
|
62
|
+
z-index: 2;
|
|
63
|
+
opacity: 0%;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
}
|
|
66
|
+
&-label {
|
|
67
|
+
width: 100%;
|
|
68
|
+
text-align: center;
|
|
69
|
+
position: relative;
|
|
70
|
+
display: block;
|
|
71
|
+
z-index: 3;
|
|
72
|
+
transition: color 0.5s ease;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
76
|
:root {
|
|
77
77
|
--choice-item-background-hover: var(--color-surface-secondary);
|
|
78
78
|
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
.choice__item {
|
|
2
|
+
min-width: 30px;
|
|
3
|
+
border-left: 0;
|
|
4
|
+
border-top: 0;
|
|
5
|
+
border-bottom: 0;
|
|
6
|
+
position: relative;
|
|
7
|
+
display: flex;
|
|
8
|
+
&:hover {
|
|
9
|
+
background: var(--choice-item-background-hover);
|
|
10
|
+
}
|
|
11
|
+
&:last-child {
|
|
12
|
+
border-right: 0;
|
|
13
|
+
}
|
|
14
|
+
&_state_active {
|
|
15
|
+
}
|
|
16
|
+
& input {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
margin: 0;
|
|
20
|
+
border: 0;
|
|
21
|
+
position: absolute;
|
|
22
|
+
inset: 0 0 0 0;
|
|
23
|
+
z-index: 2;
|
|
24
|
+
opacity: 0%;
|
|
25
|
+
cursor: pointer;
|
|
26
|
+
}
|
|
27
|
+
&-label {
|
|
28
|
+
width: 100%;
|
|
29
|
+
text-align: center;
|
|
30
|
+
position: relative;
|
|
31
|
+
display: block;
|
|
32
|
+
z-index: 3;
|
|
33
|
+
transition: color 0.5s ease;
|
|
34
|
+
cursor: pointer;
|
|
35
|
+
}
|
|
36
|
+
}
|