ros.grant.common 2.0.1032 → 2.0.1033
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.
- package/Shared/Styles/Modules/Input/Checkbox.less +186 -178
- package/Shared/Styles/Modules/Input/Switch.less +233 -233
- package/Shared/Styles/Modules/Input/inputbox.less +1 -1
- package/Shared/Styles/Modules/Modals/Modal.less +0 -4
- package/Shared/Styles/ThemeVariables.less +155 -155
- package/package.json +1 -1
|
@@ -1,207 +1,215 @@
|
|
|
1
1
|
.page-wrapper {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
.custom-checkbox {
|
|
3
|
+
display: flex !important;
|
|
4
|
+
overflow: visible;
|
|
5
|
+
background-color: transparent !important;
|
|
6
|
+
min-height: auto !important;
|
|
7
|
+
cursor: pointer;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
|
|
10
|
+
.checkbox-container {
|
|
11
|
+
width: auto;
|
|
12
|
+
position: relative;
|
|
13
|
+
margin: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
input {
|
|
17
|
+
min-height: auto;
|
|
18
|
+
|
|
19
|
+
&[type="checkbox"] {
|
|
20
|
+
position: absolute;
|
|
21
|
+
left: 0;
|
|
22
|
+
opacity: 0 !important;
|
|
23
|
+
height: 18px;
|
|
24
|
+
width: 18px;
|
|
25
|
+
margin: 0;
|
|
7
26
|
cursor: pointer;
|
|
8
|
-
|
|
27
|
+
z-index: 2;
|
|
28
|
+
padding: 0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
9
31
|
|
|
10
|
-
|
|
11
|
-
width: auto;
|
|
12
|
-
position: relative;
|
|
13
|
-
margin: 0;
|
|
14
|
-
}
|
|
32
|
+
input[type="checkbox"]:checked {
|
|
15
33
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
position: absolute;
|
|
21
|
-
left: 0;
|
|
22
|
-
opacity: 0 !important;
|
|
23
|
-
height: 18px;
|
|
24
|
-
width: 18px;
|
|
25
|
-
margin: 0;
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
z-index: 2;
|
|
28
|
-
padding: 0;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
34
|
+
&+.checkbox__mark,
|
|
35
|
+
&+.custom-checkbox__mark {
|
|
36
|
+
border-color: var(--Main2);
|
|
37
|
+
background: var(--Main2);
|
|
31
38
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' width='14' height='14' viewBox='0 0 14 10'%3E%3Cdefs/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12.3334 1.66663L5.00008 8.99996 1.66675 5.66663'/%3E%3C/svg%3E");
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: 0;
|
|
41
|
-
left: 0;
|
|
42
|
-
line-height: 0;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
39
|
+
&:after {
|
|
40
|
+
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' width='14' height='14' viewBox='0 0 14 10'%3E%3Cdefs/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12.3334 1.66663L5.00008 8.99996 1.66675 5.66663'/%3E%3C/svg%3E");
|
|
41
|
+
position: absolute;
|
|
42
|
+
top: 0;
|
|
43
|
+
left: 0;
|
|
44
|
+
line-height: 0;
|
|
45
45
|
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
46
48
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
input[type="checkbox"]:disabled {
|
|
50
|
+
cursor: default;
|
|
49
51
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
&+.checkbox__mark,
|
|
53
|
+
&+.custom-checkbox__mark {
|
|
54
|
+
border-color: var(--Stroke) !important;
|
|
55
|
+
background: var(--Stroke) !important;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
55
58
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
59
|
+
.checkbox__mark {
|
|
60
|
+
display: block;
|
|
61
|
+
height: 18px;
|
|
62
|
+
width: 18px;
|
|
63
|
+
min-width: 18px;
|
|
64
|
+
border: 2px solid var(--Stroke);
|
|
65
|
+
border-radius: 4px;
|
|
66
|
+
transition: 0.2s;
|
|
67
|
+
position: relative;
|
|
68
|
+
|
|
69
|
+
&:hover {
|
|
70
|
+
border-color: var(--Main2);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
70
73
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
74
|
+
&__mark {
|
|
75
|
+
display: block;
|
|
76
|
+
height: 18px;
|
|
77
|
+
width: 18px;
|
|
78
|
+
min-width: 18px;
|
|
79
|
+
border: 2px solid var(--Stroke);
|
|
80
|
+
border-radius: 4px;
|
|
81
|
+
transition: 0.2s;
|
|
82
|
+
position: relative;
|
|
83
|
+
|
|
84
|
+
&:hover {
|
|
85
|
+
border-color: var(--Main2);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
85
88
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
89
|
+
label,
|
|
90
|
+
span {
|
|
91
|
+
&.checkbox__label {
|
|
92
|
+
margin-bottom: 0px !important;
|
|
93
|
+
margin-left: 8px;
|
|
94
|
+
line-height: 1.4;
|
|
95
|
+
min-height: auto;
|
|
96
|
+
font-weight: normal;
|
|
97
|
+
min-height: initial;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
96
100
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
101
|
+
&__label {
|
|
102
|
+
margin-left: 8px;
|
|
103
|
+
line-height: 1.4;
|
|
104
|
+
font-weight: normal;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:hover {
|
|
108
|
+
|
|
109
|
+
.checkbox__mark,
|
|
110
|
+
.custom-checkbox__mark {
|
|
111
|
+
border-color: var(--Main2);
|
|
112
|
+
}
|
|
102
113
|
|
|
103
|
-
&:hover {
|
|
104
|
-
.checkbox__mark, .custom-checkbox__mark {
|
|
105
|
-
border-color: var(--Main2);
|
|
106
|
-
}
|
|
107
114
|
|
|
115
|
+
input[type="checkbox"]:disabled {
|
|
108
116
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
114
|
-
}
|
|
117
|
+
&+.checkbox__mark,
|
|
118
|
+
&+.custom-checkbox__mark {
|
|
119
|
+
border-color: var(--Stroke);
|
|
120
|
+
background: var(--Stroke);
|
|
115
121
|
}
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.address-manual-checkbox__container {
|
|
127
|
+
display: flex;
|
|
128
|
+
overflow: visible;
|
|
129
|
+
background-color: transparent;
|
|
130
|
+
min-height: auto;
|
|
131
|
+
position: relative;
|
|
132
|
+
box-sizing: border-box;
|
|
133
|
+
|
|
134
|
+
input {
|
|
135
|
+
min-height: auto;
|
|
136
|
+
|
|
137
|
+
&[type="checkbox"] {
|
|
138
|
+
position: absolute;
|
|
139
|
+
opacity: 0;
|
|
140
|
+
height: 18px;
|
|
141
|
+
width: 18px;
|
|
142
|
+
margin-left: 0px;
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
z-index: 1000;
|
|
145
|
+
margin: 0;
|
|
146
|
+
}
|
|
116
147
|
}
|
|
117
148
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
background
|
|
122
|
-
min-height: auto;
|
|
123
|
-
position: relative;
|
|
124
|
-
box-sizing: border-box;
|
|
125
|
-
|
|
126
|
-
input {
|
|
127
|
-
min-height: auto;
|
|
128
|
-
|
|
129
|
-
&[type="checkbox"] {
|
|
130
|
-
position: absolute;
|
|
131
|
-
opacity: 0;
|
|
132
|
-
height: 18px;
|
|
133
|
-
width: 18px;
|
|
134
|
-
margin-left: 0px;
|
|
135
|
-
cursor: pointer;
|
|
136
|
-
z-index: 1000;
|
|
137
|
-
margin: 0;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
149
|
+
input[type="checkbox"]:checked {
|
|
150
|
+
&+.checkbox__mark {
|
|
151
|
+
border-color: var(--Main2);
|
|
152
|
+
background: var(--Main2);
|
|
140
153
|
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' width='14' height='14' viewBox='0 0 14 10'%3E%3Cdefs/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12.3334 1.66663L5.00008 8.99996 1.66675 5.66663'/%3E%3C/svg%3E");
|
|
148
|
-
top: 50%;
|
|
149
|
-
transform: translateY(-50%);
|
|
150
|
-
left: 2px;
|
|
151
|
-
line-height: 0;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
+
&:after {
|
|
155
|
+
content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' width='14' height='14' viewBox='0 0 14 10'%3E%3Cdefs/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12.3334 1.66663L5.00008 8.99996 1.66675 5.66663'/%3E%3C/svg%3E");
|
|
156
|
+
top: 50%;
|
|
157
|
+
transform: translateY(-50%);
|
|
158
|
+
left: 2px;
|
|
159
|
+
line-height: 0;
|
|
154
160
|
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
155
163
|
|
|
156
|
-
|
|
157
|
-
|
|
164
|
+
input[type="checkbox"]:disabled {
|
|
165
|
+
cursor: default;
|
|
158
166
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
167
|
+
&+.checkbox__mark {
|
|
168
|
+
border-color: var(--Stroke) !important;
|
|
169
|
+
background: var(--Stroke) !important;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
164
172
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
173
|
+
.checkbox__mark {
|
|
174
|
+
display: block;
|
|
175
|
+
height: 18px;
|
|
176
|
+
width: 18px;
|
|
177
|
+
min-width: 18px;
|
|
178
|
+
border: 2px solid var(--Stroke);
|
|
179
|
+
border-radius: 4px;
|
|
180
|
+
transition: 0.2s;
|
|
181
|
+
|
|
182
|
+
&:hover {
|
|
183
|
+
border-color: var(--Main2);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
178
186
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
187
|
+
label.checkbox__label {
|
|
188
|
+
margin-bottom: 0px !important;
|
|
189
|
+
margin-left: 8px;
|
|
190
|
+
line-height: unset;
|
|
191
|
+
font-weight: normal;
|
|
192
|
+
min-height: initial;
|
|
193
|
+
}
|
|
186
194
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
195
|
+
.checkbox-container__label {
|
|
196
|
+
margin-bottom: 0px !important;
|
|
197
|
+
line-height: unset;
|
|
198
|
+
font-weight: normal !important;
|
|
199
|
+
min-height: initial !important;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&:hover {
|
|
203
|
+
.checkbox__mark {
|
|
204
|
+
border-color: var(--Main2);
|
|
205
|
+
}
|
|
193
206
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
input[type="checkbox"]:disabled {
|
|
200
|
-
&+.checkbox__mark {
|
|
201
|
-
border-color: var(--Stroke);
|
|
202
|
-
background: var(--Stroke);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
207
|
+
input[type="checkbox"]:disabled {
|
|
208
|
+
&+.checkbox__mark {
|
|
209
|
+
border-color: var(--Stroke);
|
|
210
|
+
background: var(--Stroke);
|
|
205
211
|
}
|
|
212
|
+
}
|
|
206
213
|
}
|
|
214
|
+
}
|
|
207
215
|
}
|