benivo-ui-library 1.7.22 → 1.7.24
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/button.less +12 -0
- package/checkbox.less +11 -2
- package/index.js +1 -1
- package/package.json +1 -1
package/button.less
CHANGED
|
@@ -13,6 +13,18 @@
|
|
|
13
13
|
letter-spacing: @btn-letter-spaceing;
|
|
14
14
|
.border-radius(.25rem) !important;
|
|
15
15
|
}
|
|
16
|
+
|
|
17
|
+
.dropdown .btn {
|
|
18
|
+
&:first-child {
|
|
19
|
+
border-bottom-right-radius: 0 !important;
|
|
20
|
+
border-top-right-radius: 0 !important;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.btn-toggle {
|
|
24
|
+
border-bottom-left-radius: 0 !important;
|
|
25
|
+
border-top-left-radius: 0 !important;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
16
28
|
}
|
|
17
29
|
|
|
18
30
|
.btn {
|
package/checkbox.less
CHANGED
|
@@ -196,6 +196,7 @@
|
|
|
196
196
|
bottom: 0;
|
|
197
197
|
.border-radius(18px);
|
|
198
198
|
background-color: #ccc;
|
|
199
|
+
border: solid 1px #ccc;
|
|
199
200
|
.transition(.4s);
|
|
200
201
|
|
|
201
202
|
&:before {
|
|
@@ -204,8 +205,8 @@
|
|
|
204
205
|
height: 16px;
|
|
205
206
|
width: 16px;
|
|
206
207
|
left: 2px;
|
|
207
|
-
bottom:
|
|
208
|
-
top:
|
|
208
|
+
bottom: 1px;
|
|
209
|
+
top: 1px;
|
|
209
210
|
.border-radius(50%);
|
|
210
211
|
background-color: white;
|
|
211
212
|
.transition(.4s);
|
|
@@ -216,6 +217,14 @@
|
|
|
216
217
|
}
|
|
217
218
|
}
|
|
218
219
|
|
|
220
|
+
input:hover + label.on-off-slide {
|
|
221
|
+
border-color: @primary-color;
|
|
222
|
+
|
|
223
|
+
&:before {
|
|
224
|
+
border-color: #d9d9d9;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
219
228
|
input:checked + .on-off-slide {
|
|
220
229
|
background-color: @primary-color;
|
|
221
230
|
}
|