toggle-components-library 1.37.0-beta.10 → 1.37.0-beta.11
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/dist/toggle-components-library.common.js +82 -80
- package/dist/toggle-components-library.common.js.map +1 -1
- package/dist/toggle-components-library.css +1 -1
- package/dist/toggle-components-library.umd.js +82 -80
- package/dist/toggle-components-library.umd.js.map +1 -1
- package/dist/toggle-components-library.umd.min.js +1 -1
- package/dist/toggle-components-library.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/forms/ToggleInputRadioButtonMini.vue +1 -1
- package/src/sass/includes/_as_inputs.scss +77 -73
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div>
|
|
2
|
+
<div class="toggle-input-radio-button-mini-switch-wrapper">
|
|
3
3
|
<label :class="['toggle-input-radio-button-mini-switch', {'toggle-input-radio-button-mini-switch-disabled': disabled}]">
|
|
4
4
|
<input type="checkbox" :value="value" v-model="value" :disabled="disabled">
|
|
5
5
|
<span :class="['toggle-input-radio-button-mini-slider', {'toggle-input-radio-button-mini-slider-disabled': disabled}]">
|
|
@@ -1221,80 +1221,84 @@ $iconWidth:20px;
|
|
|
1221
1221
|
}
|
|
1222
1222
|
|
|
1223
1223
|
// Radio button mini
|
|
1224
|
-
|
|
1225
|
-
.toggle-input-radio-button-mini-switch {
|
|
1226
|
-
position: relative;
|
|
1227
|
-
display: inline-block;
|
|
1228
|
-
width: 52px;
|
|
1229
|
-
height: 28px;
|
|
1230
|
-
}
|
|
1231
|
-
|
|
1232
|
-
.toggle-input-radio-button-mini-switch input {
|
|
1233
|
-
opacity: 0;
|
|
1234
|
-
width: 0;
|
|
1235
|
-
height: 0;
|
|
1236
|
-
}
|
|
1237
|
-
|
|
1238
|
-
.toggle-input-radio-button-mini-slider {
|
|
1239
|
-
position: absolute;
|
|
1240
|
-
cursor: pointer;
|
|
1241
|
-
top: 0;
|
|
1242
|
-
left: 0;
|
|
1243
|
-
right: 0;
|
|
1244
|
-
bottom: 0;
|
|
1245
|
-
background-color: #ccc;
|
|
1246
|
-
-webkit-transition: .4s;
|
|
1247
|
-
transition: .4s;
|
|
1224
|
+
.toggle-input-radio-button-mini-switch-wrapper{
|
|
1248
1225
|
display: flex;
|
|
1249
1226
|
align-items: center;
|
|
1250
|
-
border-radius: 34px;
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
.toggle-input-radio-button-mini-slider:before {
|
|
1254
|
-
position: absolute;
|
|
1255
|
-
content: "";
|
|
1256
|
-
height: 22px;
|
|
1257
|
-
width: 22px;
|
|
1258
|
-
left: 4px;
|
|
1259
|
-
bottom: 3px;
|
|
1260
|
-
background-color: white;
|
|
1261
|
-
-webkit-transition: .4s;
|
|
1262
|
-
transition: .4s;
|
|
1263
|
-
border-radius: 50%;
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
input:checked + .toggle-input-radio-button-mini-slider {
|
|
1267
|
-
background-color: #2196F3;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
input:focus + .toggle-input-radio-button-mini-slider {
|
|
1271
|
-
box-shadow: 0 0 1px #2196F3;
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
input:checked + .toggle-input-radio-button-mini-slider:before {
|
|
1275
|
-
-webkit-transform: translateX(22px);
|
|
1276
|
-
-ms-transform: translateX(22px);
|
|
1277
|
-
transform: translateX(22px);
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
.toggle-input-radio-button-mini-text-on {
|
|
1281
|
-
font-family: $toggle-font-family;
|
|
1282
|
-
font-size: 12px;
|
|
1283
|
-
color: #ffffff;
|
|
1284
|
-
margin-left: 7px;
|
|
1285
|
-
}
|
|
1286
|
-
.toggle-input-radio-button-mini-text-off {
|
|
1287
|
-
font-family: $toggle-font-family;
|
|
1288
|
-
font-size: 12px;
|
|
1289
|
-
color: #3A4A62;
|
|
1290
|
-
margin-left: 6px;
|
|
1291
|
-
}
|
|
1292
|
-
.toggle-input-radio-button-mini-switch-disabled {
|
|
1293
|
-
cursor: default !important;
|
|
1294
|
-
opacity: 0.5;
|
|
1295
|
-
}
|
|
1296
1227
|
|
|
1297
|
-
.toggle-input-radio-button-mini-
|
|
1298
|
-
|
|
1299
|
-
|
|
1228
|
+
.toggle-input-radio-button-mini-switch {
|
|
1229
|
+
position: relative;
|
|
1230
|
+
display: inline-block;
|
|
1231
|
+
width: 52px;
|
|
1232
|
+
height: 28px;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.toggle-input-radio-button-mini-switch input {
|
|
1236
|
+
opacity: 0;
|
|
1237
|
+
width: 0;
|
|
1238
|
+
height: 0;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.toggle-input-radio-button-mini-slider {
|
|
1242
|
+
position: absolute;
|
|
1243
|
+
cursor: pointer;
|
|
1244
|
+
top: 0;
|
|
1245
|
+
left: 0;
|
|
1246
|
+
right: 0;
|
|
1247
|
+
bottom: 0;
|
|
1248
|
+
background-color: #ccc;
|
|
1249
|
+
-webkit-transition: .4s;
|
|
1250
|
+
transition: .4s;
|
|
1251
|
+
display: flex;
|
|
1252
|
+
align-items: center;
|
|
1253
|
+
border-radius: 34px;
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
.toggle-input-radio-button-mini-slider:before {
|
|
1257
|
+
position: absolute;
|
|
1258
|
+
content: "";
|
|
1259
|
+
height: 22px;
|
|
1260
|
+
width: 22px;
|
|
1261
|
+
left: 4px;
|
|
1262
|
+
bottom: 3px;
|
|
1263
|
+
background-color: white;
|
|
1264
|
+
-webkit-transition: .4s;
|
|
1265
|
+
transition: .4s;
|
|
1266
|
+
border-radius: 50%;
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
input:checked + .toggle-input-radio-button-mini-slider {
|
|
1270
|
+
background-color: #2196F3;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
input:focus + .toggle-input-radio-button-mini-slider {
|
|
1274
|
+
box-shadow: 0 0 1px #2196F3;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
input:checked + .toggle-input-radio-button-mini-slider:before {
|
|
1278
|
+
-webkit-transform: translateX(22px);
|
|
1279
|
+
-ms-transform: translateX(22px);
|
|
1280
|
+
transform: translateX(22px);
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
.toggle-input-radio-button-mini-text-on {
|
|
1284
|
+
font-family: $toggle-font-family;
|
|
1285
|
+
font-size: 12px;
|
|
1286
|
+
color: #ffffff;
|
|
1287
|
+
margin-left: 7px;
|
|
1288
|
+
}
|
|
1289
|
+
.toggle-input-radio-button-mini-text-off {
|
|
1290
|
+
font-family: $toggle-font-family;
|
|
1291
|
+
font-size: 12px;
|
|
1292
|
+
color: #3A4A62;
|
|
1293
|
+
margin-left: 6px;
|
|
1294
|
+
}
|
|
1295
|
+
.toggle-input-radio-button-mini-switch-disabled {
|
|
1296
|
+
cursor: default !important;
|
|
1297
|
+
opacity: 0.5;
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
.toggle-input-radio-button-mini-slider-disabled {
|
|
1301
|
+
cursor: default !important;
|
|
1302
|
+
opacity: 0.5;
|
|
1303
|
+
}
|
|
1300
1304
|
}
|