@clayui/css 3.40.1 → 3.41.0
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/lib/css/atlas.css +232 -164
- package/lib/css/atlas.css.map +1 -1
- package/lib/css/base.css +196 -98
- package/lib/css/base.css.map +1 -1
- package/lib/css/cadmin.css +215 -152
- package/lib/css/cadmin.css.map +1 -1
- package/lib/images/icons/icons.svg +1 -1
- package/package.json +2 -2
- package/src/scss/atlas/variables/_forms.scss +33 -1
- package/src/scss/atlas/variables/_globals.scss +13 -0
- package/src/scss/cadmin/components/_form-validation.scss +10 -237
- package/src/scss/cadmin/components/_reboot.scss +1 -8
- package/src/scss/cadmin/components/_toggle-switch.scss +20 -358
- package/src/scss/cadmin/variables/_forms.scss +353 -2
- package/src/scss/cadmin/variables/_globals.scss +14 -0
- package/src/scss/cadmin/variables/_toggle-switch.scss +404 -1
- package/src/scss/components/_form-validation.scss +8 -237
- package/src/scss/components/_reboot.scss +1 -8
- package/src/scss/components/_toggle-switch.scss +36 -351
- package/src/scss/functions/_global-functions.scss +18 -0
- package/src/scss/mixins/_forms.scss +419 -4
- package/src/scss/mixins/_globals.scss +7 -0
- package/src/scss/mixins/_links.scss +248 -63
- package/src/scss/mixins/_toggle-switch.scss +1076 -14
- package/src/scss/variables/_forms.scss +295 -1
- package/src/scss/variables/_globals.scss +13 -0
- package/src/scss/variables/_toggle-switch.scss +404 -5
package/lib/css/atlas.css
CHANGED
|
@@ -161,14 +161,12 @@ sup {
|
|
|
161
161
|
|
|
162
162
|
a {
|
|
163
163
|
color: #0b5fff;
|
|
164
|
-
cursor: pointer;
|
|
165
164
|
text-decoration: none;
|
|
166
165
|
}
|
|
167
166
|
a:hover {
|
|
168
167
|
color: #004ad7;
|
|
169
168
|
text-decoration: underline;
|
|
170
169
|
}
|
|
171
|
-
|
|
172
170
|
pre,
|
|
173
171
|
code,
|
|
174
172
|
kbd,
|
|
@@ -7248,8 +7246,25 @@ select.form-control[size] {
|
|
|
7248
7246
|
select.form-control[size]:focus, select.form-control[size].focus {
|
|
7249
7247
|
background-image: none;
|
|
7250
7248
|
}
|
|
7249
|
+
select.form-control[size]:focus > option:checked, select.form-control[size].focus > option:checked {
|
|
7250
|
+
background-image: linear-gradient(#ffa700, #ffa700);
|
|
7251
|
+
color: #fff;
|
|
7252
|
+
filter: invert(100%);
|
|
7253
|
+
}
|
|
7251
7254
|
select.form-control[size] option {
|
|
7252
|
-
padding: 0.
|
|
7255
|
+
padding: 0.4375rem 0.5rem;
|
|
7256
|
+
}
|
|
7257
|
+
select.form-control[size] option:checked {
|
|
7258
|
+
background-image: linear-gradient(#e7e7ed, #e7e7ed);
|
|
7259
|
+
}
|
|
7260
|
+
@-moz-document url-prefix() {
|
|
7261
|
+
select.form-control[size]:focus > option:checked, select.form-control[size].focus > option:checked {
|
|
7262
|
+
background-image: linear-gradient(#004ad7, #004ad7);
|
|
7263
|
+
filter: invert(0);
|
|
7264
|
+
}
|
|
7265
|
+
select.form-control[size] option {
|
|
7266
|
+
padding: 0.40625rem 0.5rem;
|
|
7267
|
+
}
|
|
7253
7268
|
}
|
|
7254
7269
|
|
|
7255
7270
|
select.form-control[multiple] {
|
|
@@ -7263,8 +7278,25 @@ select.form-control[multiple] {
|
|
|
7263
7278
|
select.form-control[multiple]:focus, select.form-control[multiple].focus {
|
|
7264
7279
|
background-image: none;
|
|
7265
7280
|
}
|
|
7281
|
+
select.form-control[multiple]:focus > option:checked, select.form-control[multiple].focus > option:checked {
|
|
7282
|
+
background-image: linear-gradient(#ffa700, #ffa700);
|
|
7283
|
+
color: #fff;
|
|
7284
|
+
filter: invert(100%);
|
|
7285
|
+
}
|
|
7266
7286
|
select.form-control[multiple] option {
|
|
7267
|
-
padding: 0.
|
|
7287
|
+
padding: 0.4375rem 0.5rem;
|
|
7288
|
+
}
|
|
7289
|
+
select.form-control[multiple] option:checked {
|
|
7290
|
+
background-image: linear-gradient(#e7e7ed, #e7e7ed);
|
|
7291
|
+
}
|
|
7292
|
+
@-moz-document url-prefix() {
|
|
7293
|
+
select.form-control[multiple]:focus > option:checked, select.form-control[multiple].focus > option:checked {
|
|
7294
|
+
background-image: linear-gradient(#004ad7, #004ad7);
|
|
7295
|
+
filter: invert(0);
|
|
7296
|
+
}
|
|
7297
|
+
select.form-control[multiple] option {
|
|
7298
|
+
padding: 0.40625rem 0.5rem;
|
|
7299
|
+
}
|
|
7268
7300
|
}
|
|
7269
7301
|
|
|
7270
7302
|
textarea.form-control,
|
|
@@ -7736,6 +7768,9 @@ button.link-outline {
|
|
|
7736
7768
|
.link-outline:hover {
|
|
7737
7769
|
text-decoration: none;
|
|
7738
7770
|
}
|
|
7771
|
+
.link-outline:disabled:active, .link-outline.disabled:active {
|
|
7772
|
+
pointer-events: none;
|
|
7773
|
+
}
|
|
7739
7774
|
.link-outline > .c-inner {
|
|
7740
7775
|
margin-bottom: -0.4375rem;
|
|
7741
7776
|
margin-left: -0.75rem;
|
|
@@ -7939,6 +7974,9 @@ button.link-outline {
|
|
|
7939
7974
|
opacity: 0.4;
|
|
7940
7975
|
box-shadow: none;
|
|
7941
7976
|
}
|
|
7977
|
+
.component-action:disabled:active, .component-action.disabled:active {
|
|
7978
|
+
pointer-events: none;
|
|
7979
|
+
}
|
|
7942
7980
|
.component-action[type]:focus {
|
|
7943
7981
|
outline: 0;
|
|
7944
7982
|
}
|
|
@@ -9606,6 +9644,7 @@ label.custom-control-label {
|
|
|
9606
9644
|
|
|
9607
9645
|
.form-feedback-group {
|
|
9608
9646
|
width: 100%;
|
|
9647
|
+
overflow-wrap: break-word;
|
|
9609
9648
|
word-wrap: break-word;
|
|
9610
9649
|
}
|
|
9611
9650
|
|
|
@@ -9613,6 +9652,7 @@ label.custom-control-label {
|
|
|
9613
9652
|
font-size: 0.875rem;
|
|
9614
9653
|
font-weight: 600;
|
|
9615
9654
|
margin-top: 0.25rem;
|
|
9655
|
+
overflow-wrap: break-word;
|
|
9616
9656
|
word-wrap: break-word;
|
|
9617
9657
|
}
|
|
9618
9658
|
|
|
@@ -9630,6 +9670,7 @@ label.custom-control-label {
|
|
|
9630
9670
|
font-size: 0.875rem;
|
|
9631
9671
|
font-weight: 600;
|
|
9632
9672
|
margin-top: 0.25rem;
|
|
9673
|
+
overflow-wrap: break-word;
|
|
9633
9674
|
word-wrap: break-word;
|
|
9634
9675
|
}
|
|
9635
9676
|
|
|
@@ -9695,23 +9736,26 @@ label.custom-control-label {
|
|
|
9695
9736
|
.has-error .input-group-item.focus {
|
|
9696
9737
|
box-shadow: 0 0 0 0.125rem #fff , 0 0 0 0.25rem #80acff;
|
|
9697
9738
|
}
|
|
9698
|
-
.has-error .input-group-item.focus .
|
|
9699
|
-
.has-error .input-group-item.focus .input-group-inset-item {
|
|
9739
|
+
.has-error .input-group-item.focus .input-group-inset {
|
|
9700
9740
|
background-color: #feefef;
|
|
9701
9741
|
border-color: #f48989;
|
|
9702
9742
|
}
|
|
9703
|
-
.has-error .input-group-item .input-group-inset
|
|
9704
|
-
box-shadow: none;
|
|
9705
|
-
}
|
|
9706
|
-
.has-error .input-group-item .input-group-inset:focus ~ .input-group-inset-item {
|
|
9743
|
+
.has-error .input-group-item.focus .input-group-inset ~ .input-group-inset-item {
|
|
9707
9744
|
background-color: #feefef;
|
|
9708
9745
|
border-color: #f48989;
|
|
9709
9746
|
}
|
|
9710
|
-
.has-error .input-group .input-group-inset-item {
|
|
9747
|
+
.has-error .input-group-item .input-group-inset ~ .input-group-inset-item {
|
|
9711
9748
|
background-color: #feefef;
|
|
9712
9749
|
border-color: #f48989;
|
|
9713
9750
|
box-shadow: 0 0 rgba(0, 0, 0, 0);
|
|
9714
9751
|
}
|
|
9752
|
+
.has-error .input-group-item .input-group-inset:focus {
|
|
9753
|
+
box-shadow: none;
|
|
9754
|
+
}
|
|
9755
|
+
.has-error .input-group-item .input-group-inset:focus ~ .input-group-inset-item {
|
|
9756
|
+
background-color: #feefef;
|
|
9757
|
+
border-color: #f48989;
|
|
9758
|
+
}
|
|
9715
9759
|
|
|
9716
9760
|
.has-warning .custom-control-label,
|
|
9717
9761
|
.has-warning .form-check-label {
|
|
@@ -9751,23 +9795,26 @@ label.custom-control-label {
|
|
|
9751
9795
|
.has-warning .input-group-item.focus {
|
|
9752
9796
|
box-shadow: 0 0 0 0.125rem #fff , 0 0 0 0.25rem #80acff;
|
|
9753
9797
|
}
|
|
9754
|
-
.has-warning .input-group-item.focus .
|
|
9755
|
-
.has-warning .input-group-item.focus .input-group-inset-item {
|
|
9798
|
+
.has-warning .input-group-item.focus .input-group-inset {
|
|
9756
9799
|
background-color: #fff4ec;
|
|
9757
9800
|
border-color: #ff8f39;
|
|
9758
9801
|
}
|
|
9759
|
-
.has-warning .input-group-item .input-group-inset
|
|
9760
|
-
box-shadow: none;
|
|
9761
|
-
}
|
|
9762
|
-
.has-warning .input-group-item .input-group-inset:focus ~ .input-group-inset-item {
|
|
9802
|
+
.has-warning .input-group-item.focus .input-group-inset ~ .input-group-inset-item {
|
|
9763
9803
|
background-color: #fff4ec;
|
|
9764
9804
|
border-color: #ff8f39;
|
|
9765
9805
|
}
|
|
9766
|
-
.has-warning .input-group .input-group-inset-item {
|
|
9806
|
+
.has-warning .input-group-item .input-group-inset ~ .input-group-inset-item {
|
|
9767
9807
|
background-color: #fff4ec;
|
|
9768
9808
|
border-color: #ff8f39;
|
|
9769
9809
|
box-shadow: 0 0 rgba(0, 0, 0, 0);
|
|
9770
9810
|
}
|
|
9811
|
+
.has-warning .input-group-item .input-group-inset:focus {
|
|
9812
|
+
box-shadow: none;
|
|
9813
|
+
}
|
|
9814
|
+
.has-warning .input-group-item .input-group-inset:focus ~ .input-group-inset-item {
|
|
9815
|
+
background-color: #fff4ec;
|
|
9816
|
+
border-color: #ff8f39;
|
|
9817
|
+
}
|
|
9771
9818
|
|
|
9772
9819
|
.has-success .custom-control-label,
|
|
9773
9820
|
.has-success .form-check-label {
|
|
@@ -9807,23 +9854,26 @@ label.custom-control-label {
|
|
|
9807
9854
|
.has-success .input-group-item.focus {
|
|
9808
9855
|
box-shadow: 0 0 0 0.125rem #fff , 0 0 0 0.25rem #80acff;
|
|
9809
9856
|
}
|
|
9810
|
-
.has-success .input-group-item.focus .
|
|
9811
|
-
.has-success .input-group-item.focus .input-group-inset-item {
|
|
9857
|
+
.has-success .input-group-item.focus .input-group-inset {
|
|
9812
9858
|
background-color: #edf9f0;
|
|
9813
9859
|
border-color: #5aca75;
|
|
9814
9860
|
}
|
|
9815
|
-
.has-success .input-group-item .input-group-inset
|
|
9816
|
-
box-shadow: none;
|
|
9817
|
-
}
|
|
9818
|
-
.has-success .input-group-item .input-group-inset:focus ~ .input-group-inset-item {
|
|
9861
|
+
.has-success .input-group-item.focus .input-group-inset ~ .input-group-inset-item {
|
|
9819
9862
|
background-color: #edf9f0;
|
|
9820
9863
|
border-color: #5aca75;
|
|
9821
9864
|
}
|
|
9822
|
-
.has-success .input-group .input-group-inset-item {
|
|
9865
|
+
.has-success .input-group-item .input-group-inset ~ .input-group-inset-item {
|
|
9823
9866
|
background-color: #edf9f0;
|
|
9824
9867
|
border-color: #5aca75;
|
|
9825
9868
|
box-shadow: 0 0 rgba(0, 0, 0, 0);
|
|
9826
9869
|
}
|
|
9870
|
+
.has-success .input-group-item .input-group-inset:focus {
|
|
9871
|
+
box-shadow: none;
|
|
9872
|
+
}
|
|
9873
|
+
.has-success .input-group-item .input-group-inset:focus ~ .input-group-inset-item {
|
|
9874
|
+
background-color: #edf9f0;
|
|
9875
|
+
border-color: #5aca75;
|
|
9876
|
+
}
|
|
9827
9877
|
|
|
9828
9878
|
.input-group > .form-control,
|
|
9829
9879
|
.input-group > .form-control-plaintext,
|
|
@@ -11831,6 +11881,9 @@ label.custom-control-label {
|
|
|
11831
11881
|
cursor: not-allowed;
|
|
11832
11882
|
box-shadow: none;
|
|
11833
11883
|
}
|
|
11884
|
+
.nav-link:disabled:active, .nav-link.disabled:active {
|
|
11885
|
+
pointer-events: none;
|
|
11886
|
+
}
|
|
11834
11887
|
.nav-link > .c-inner {
|
|
11835
11888
|
margin-bottom: -0.625rem;
|
|
11836
11889
|
margin-left: -1rem;
|
|
@@ -20092,57 +20145,16 @@ caption {
|
|
|
20092
20145
|
max-width: 75px;
|
|
20093
20146
|
}
|
|
20094
20147
|
|
|
20095
|
-
.simple-toggle-switch.toggle-switch {
|
|
20096
|
-
align-items: center;
|
|
20097
|
-
display: inline-flex;
|
|
20098
|
-
}
|
|
20099
|
-
.simple-toggle-switch .toggle-switch-check + .toggle-switch-label {
|
|
20100
|
-
margin-right: 0.5rem;
|
|
20101
|
-
}
|
|
20102
|
-
.simple-toggle-switch .toggle-switch-label + .toggle-switch-check-bar {
|
|
20103
|
-
margin-left: 0.5rem;
|
|
20104
|
-
}
|
|
20105
|
-
.simple-toggle-switch .toggle-switch-label {
|
|
20106
|
-
line-height: 1;
|
|
20107
|
-
margin-bottom: 0;
|
|
20108
|
-
max-width: calc(
|
|
20109
|
-
100% - 56px
|
|
20110
|
-
);
|
|
20111
|
-
}
|
|
20112
|
-
@media (max-width: 767.98px) {
|
|
20113
|
-
.simple-toggle-switch .toggle-switch-label {
|
|
20114
|
-
max-width: calc(
|
|
20115
|
-
100% - 48px
|
|
20116
|
-
);
|
|
20117
|
-
}
|
|
20118
|
-
}
|
|
20119
|
-
|
|
20120
|
-
.simple-toggle-switch-reverse .toggle-switch-label {
|
|
20121
|
-
margin-right: 0.5rem;
|
|
20122
|
-
}
|
|
20123
|
-
.simple-toggle-switch-reverse .toggle-switch-check-bar {
|
|
20124
|
-
order: 5;
|
|
20125
|
-
}
|
|
20126
|
-
.simple-toggle-switch-reverse .toggle-switch-check-bar .toggle-switch-bar {
|
|
20127
|
-
order: 0;
|
|
20128
|
-
}
|
|
20129
|
-
.simple-toggle-switch-reverse .toggle-switch-bar {
|
|
20130
|
-
order: 5;
|
|
20131
|
-
}
|
|
20132
|
-
|
|
20133
|
-
label.toggle-switch {
|
|
20134
|
-
cursor: pointer;
|
|
20135
|
-
}
|
|
20136
|
-
label.toggle-switch.disabled {
|
|
20137
|
-
cursor: not-allowed;
|
|
20138
|
-
}
|
|
20139
|
-
|
|
20140
20148
|
.toggle-switch {
|
|
20149
|
+
cursor: pointer;
|
|
20141
20150
|
display: inline-block;
|
|
20142
20151
|
font-weight: 600;
|
|
20143
20152
|
max-width: 100%;
|
|
20144
20153
|
position: relative;
|
|
20145
20154
|
}
|
|
20155
|
+
.toggle-switch.disabled {
|
|
20156
|
+
cursor: not-allowed;
|
|
20157
|
+
}
|
|
20146
20158
|
.toggle-switch.disabled .toggle-switch-label {
|
|
20147
20159
|
color: #a7a9bc;
|
|
20148
20160
|
cursor: not-allowed;
|
|
@@ -20150,7 +20162,6 @@ label.toggle-switch.disabled {
|
|
|
20150
20162
|
.toggle-switch.disabled .toggle-switch-text {
|
|
20151
20163
|
color: #a7a9bc;
|
|
20152
20164
|
}
|
|
20153
|
-
|
|
20154
20165
|
.toggle-switch-check-bar {
|
|
20155
20166
|
display: inline-flex;
|
|
20156
20167
|
position: relative;
|
|
@@ -20170,7 +20181,6 @@ label.toggle-switch.disabled {
|
|
|
20170
20181
|
.toggle-switch-bar .button-icon {
|
|
20171
20182
|
font-size: 0.625rem;
|
|
20172
20183
|
}
|
|
20173
|
-
|
|
20174
20184
|
.toggle-switch-check {
|
|
20175
20185
|
bottom: 0;
|
|
20176
20186
|
font-size: 62.5%;
|
|
@@ -20180,13 +20190,7 @@ label.toggle-switch.disabled {
|
|
|
20180
20190
|
width: 48px;
|
|
20181
20191
|
z-index: 2;
|
|
20182
20192
|
}
|
|
20183
|
-
|
|
20184
|
-
.toggle-switch-check {
|
|
20185
|
-
height: 24px;
|
|
20186
|
-
width: 40px;
|
|
20187
|
-
}
|
|
20188
|
-
}
|
|
20189
|
-
.toggle-switch-check:empty ~ .toggle-switch-bar {
|
|
20193
|
+
.toggle-switch-check ~ .toggle-switch-bar {
|
|
20190
20194
|
display: inline-flex;
|
|
20191
20195
|
font-size: 0.625rem;
|
|
20192
20196
|
height: 24px;
|
|
@@ -20194,9 +20198,31 @@ label.toggle-switch.disabled {
|
|
|
20194
20198
|
position: relative;
|
|
20195
20199
|
text-indent: 0;
|
|
20196
20200
|
-ms-user-select: none;
|
|
20201
|
+
-moz-user-select: none;
|
|
20202
|
+
-webkit-user-select: none;
|
|
20197
20203
|
user-select: none;
|
|
20198
20204
|
}
|
|
20199
|
-
.toggle-switch-check
|
|
20205
|
+
.toggle-switch-check ~ .toggle-switch-bar::before {
|
|
20206
|
+
background-color: #a7a9bc;
|
|
20207
|
+
border-color: #a7a9bc;
|
|
20208
|
+
border-radius: 20px;
|
|
20209
|
+
border-style: solid;
|
|
20210
|
+
border-width: 1px;
|
|
20211
|
+
bottom: 0;
|
|
20212
|
+
content: " ";
|
|
20213
|
+
display: block;
|
|
20214
|
+
left: 0;
|
|
20215
|
+
position: absolute;
|
|
20216
|
+
top: 0;
|
|
20217
|
+
transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
|
|
20218
|
+
width: 48px;
|
|
20219
|
+
}
|
|
20220
|
+
@media (prefers-reduced-motion: reduce) {
|
|
20221
|
+
.toggle-switch-check ~ .toggle-switch-bar::before {
|
|
20222
|
+
transition: none;
|
|
20223
|
+
}
|
|
20224
|
+
}
|
|
20225
|
+
.toggle-switch-check ~ .toggle-switch-bar::after {
|
|
20200
20226
|
background-color: #fff;
|
|
20201
20227
|
border-color: #fff;
|
|
20202
20228
|
border-radius: 50%;
|
|
@@ -20212,31 +20238,31 @@ label.toggle-switch.disabled {
|
|
|
20212
20238
|
transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
|
|
20213
20239
|
width: 16px;
|
|
20214
20240
|
}
|
|
20215
|
-
|
|
20216
|
-
|
|
20217
|
-
|
|
20218
|
-
|
|
20219
|
-
|
|
20220
|
-
|
|
20221
|
-
bottom: 0;
|
|
20222
|
-
content: " ";
|
|
20223
|
-
display: block;
|
|
20224
|
-
left: 0;
|
|
20225
|
-
position: absolute;
|
|
20226
|
-
top: 0;
|
|
20241
|
+
@media (prefers-reduced-motion: reduce) {
|
|
20242
|
+
.toggle-switch-check ~ .toggle-switch-bar::after {
|
|
20243
|
+
transition: none;
|
|
20244
|
+
}
|
|
20245
|
+
}
|
|
20246
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::before {
|
|
20227
20247
|
transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
|
|
20228
|
-
width: 48px;
|
|
20229
20248
|
}
|
|
20230
|
-
|
|
20249
|
+
@media (prefers-reduced-motion: reduce) {
|
|
20250
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::before {
|
|
20251
|
+
transition: none;
|
|
20252
|
+
}
|
|
20253
|
+
}
|
|
20254
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
|
|
20231
20255
|
content: attr(data-label-off);
|
|
20232
20256
|
margin-left: 56px;
|
|
20233
20257
|
transition: background-color 100ms ease-in, border-color 100ms ease-in, box-shadow 150ms ease-in-out, color 100ms ease-in, left 100ms ease-in, right 100ms ease-in;
|
|
20234
20258
|
white-space: nowrap;
|
|
20235
20259
|
}
|
|
20236
|
-
|
|
20237
|
-
|
|
20260
|
+
@media (prefers-reduced-motion: reduce) {
|
|
20261
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
|
|
20262
|
+
transition: none;
|
|
20263
|
+
}
|
|
20238
20264
|
}
|
|
20239
|
-
.toggle-switch-check
|
|
20265
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon {
|
|
20240
20266
|
color: #fff;
|
|
20241
20267
|
left: 4px;
|
|
20242
20268
|
line-height: 16px;
|
|
@@ -20248,138 +20274,180 @@ label.toggle-switch.disabled {
|
|
|
20248
20274
|
width: 16px;
|
|
20249
20275
|
z-index: 1;
|
|
20250
20276
|
}
|
|
20251
|
-
|
|
20277
|
+
@media (prefers-reduced-motion: reduce) {
|
|
20278
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon {
|
|
20279
|
+
transition: none;
|
|
20280
|
+
}
|
|
20281
|
+
}
|
|
20282
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon-on {
|
|
20252
20283
|
left: 4px;
|
|
20253
20284
|
opacity: 0;
|
|
20254
20285
|
}
|
|
20255
|
-
.toggle-switch-check
|
|
20286
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon-off {
|
|
20256
20287
|
left: 28px;
|
|
20257
20288
|
}
|
|
20258
|
-
.toggle-switch-check
|
|
20289
|
+
.toggle-switch-check ~ .toggle-switch-bar .button-icon {
|
|
20259
20290
|
color: #272833;
|
|
20260
20291
|
}
|
|
20261
|
-
.toggle-switch-check
|
|
20292
|
+
.toggle-switch-check ~ .toggle-switch-bar .button-icon-on {
|
|
20262
20293
|
opacity: 0;
|
|
20263
20294
|
}
|
|
20264
|
-
.toggle-switch-check:
|
|
20265
|
-
|
|
20266
|
-
|
|
20267
|
-
|
|
20268
|
-
|
|
20269
|
-
|
|
20270
|
-
left: 28px;
|
|
20295
|
+
.toggle-switch-check:focus ~ .toggle-switch-bar::before {
|
|
20296
|
+
box-shadow: 0 0 0 0.125rem #fff , 0 0 0 0.25rem #80acff;
|
|
20297
|
+
}
|
|
20298
|
+
.toggle-switch-check[disabled] ~ .toggle-switch-bar, .toggle-switch-check:disabled ~ .toggle-switch-bar {
|
|
20299
|
+
cursor: not-allowed;
|
|
20300
|
+
opacity: 0.4;
|
|
20271
20301
|
}
|
|
20272
|
-
.toggle-switch-check:checked ~ .toggle-switch-bar
|
|
20302
|
+
.toggle-switch-check:checked ~ .toggle-switch-bar::before {
|
|
20273
20303
|
background-color: #0b5fff;
|
|
20274
20304
|
border-color: #0b5fff;
|
|
20275
20305
|
border-radius: 20px;
|
|
20276
20306
|
border-style: solid;
|
|
20277
20307
|
border-width: 1px;
|
|
20278
20308
|
}
|
|
20279
|
-
.toggle-switch-check:checked ~ .toggle-switch-bar
|
|
20309
|
+
.toggle-switch-check:checked ~ .toggle-switch-bar::after {
|
|
20310
|
+
background-color: #fff;
|
|
20311
|
+
border-color: #fff;
|
|
20312
|
+
border-radius: 50%;
|
|
20313
|
+
border-style: solid;
|
|
20314
|
+
border-width: 1px;
|
|
20315
|
+
left: 28px;
|
|
20316
|
+
}
|
|
20317
|
+
.toggle-switch-check:checked ~ .toggle-switch-bar .toggle-switch-handle::after {
|
|
20280
20318
|
content: attr(data-label-on);
|
|
20281
20319
|
}
|
|
20282
20320
|
.toggle-switch-check:checked ~ .toggle-switch-bar .toggle-switch-icon {
|
|
20283
20321
|
color: #fff;
|
|
20284
20322
|
}
|
|
20285
|
-
.toggle-switch-check:checked ~ .toggle-switch-bar .button-icon {
|
|
20286
|
-
color: #0b5fff;
|
|
20287
|
-
left: 28px;
|
|
20288
|
-
}
|
|
20289
|
-
.toggle-switch-check:checked ~ .toggle-switch-bar .button-icon-on,
|
|
20290
20323
|
.toggle-switch-check:checked ~ .toggle-switch-bar .toggle-switch-icon-on {
|
|
20291
20324
|
opacity: 1;
|
|
20292
20325
|
}
|
|
20293
|
-
.toggle-switch-check:checked ~ .toggle-switch-bar .button-icon-off,
|
|
20294
20326
|
.toggle-switch-check:checked ~ .toggle-switch-bar .toggle-switch-icon-off {
|
|
20295
20327
|
opacity: 0;
|
|
20296
20328
|
}
|
|
20297
|
-
.toggle-switch-check:
|
|
20298
|
-
|
|
20299
|
-
|
|
20300
|
-
}
|
|
20301
|
-
.toggle-switch-check:focus ~ .toggle-switch-bar:before {
|
|
20302
|
-
box-shadow: 0 0 0 0.125rem #fff , 0 0 0 0.25rem #80acff;
|
|
20303
|
-
}
|
|
20304
|
-
|
|
20305
|
-
.toggle-switch-label {
|
|
20306
|
-
display: block;
|
|
20307
|
-
margin-bottom: 2px;
|
|
20308
|
-
}
|
|
20309
|
-
|
|
20310
|
-
.toggle-switch-text {
|
|
20311
|
-
display: block;
|
|
20312
|
-
font-size: 0.75rem;
|
|
20313
|
-
}
|
|
20314
|
-
|
|
20315
|
-
.toggle-switch-text-left {
|
|
20316
|
-
display: inline-flex;
|
|
20317
|
-
line-height: 24px;
|
|
20318
|
-
margin-right: 8px;
|
|
20329
|
+
.toggle-switch-check:checked ~ .toggle-switch-bar .button-icon {
|
|
20330
|
+
color: #0b5fff;
|
|
20331
|
+
left: 28px;
|
|
20319
20332
|
}
|
|
20320
|
-
|
|
20321
|
-
|
|
20322
|
-
display: inline-flex;
|
|
20323
|
-
line-height: 24px;
|
|
20324
|
-
margin-left: 8px;
|
|
20333
|
+
.toggle-switch-check:checked ~ .toggle-switch-bar .button-icon-on {
|
|
20334
|
+
opacity: 1;
|
|
20325
20335
|
}
|
|
20326
|
-
|
|
20327
20336
|
@media (max-width: 767.98px) {
|
|
20328
|
-
.toggle-switch-
|
|
20329
|
-
|
|
20330
|
-
|
|
20331
|
-
.toggle-switch-bar .toggle-switch-icon {
|
|
20332
|
-
font-size: 0.625rem;
|
|
20333
|
-
}
|
|
20334
|
-
.toggle-switch-bar .button-icon {
|
|
20335
|
-
font-size: 0.625rem;
|
|
20337
|
+
.toggle-switch-check {
|
|
20338
|
+
height: 24px;
|
|
20339
|
+
width: 40px;
|
|
20336
20340
|
}
|
|
20337
|
-
|
|
20338
|
-
.toggle-switch-check:empty ~ .toggle-switch-bar {
|
|
20341
|
+
.toggle-switch-check ~ .toggle-switch-bar {
|
|
20339
20342
|
height: 24px;
|
|
20340
20343
|
line-height: 24px;
|
|
20341
20344
|
text-indent: 0;
|
|
20342
20345
|
}
|
|
20343
|
-
.toggle-switch-check
|
|
20346
|
+
.toggle-switch-check ~ .toggle-switch-bar::before {
|
|
20347
|
+
width: 40px;
|
|
20348
|
+
}
|
|
20349
|
+
.toggle-switch-check ~ .toggle-switch-bar::after {
|
|
20344
20350
|
bottom: 4px;
|
|
20345
20351
|
height: 16px;
|
|
20346
20352
|
left: 4px;
|
|
20347
20353
|
top: 4px;
|
|
20348
20354
|
width: 16px;
|
|
20349
20355
|
}
|
|
20350
|
-
.toggle-switch-check
|
|
20351
|
-
width: 40px;
|
|
20356
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle {
|
|
20357
|
+
min-width: 40px;
|
|
20352
20358
|
}
|
|
20353
|
-
.toggle-switch-check
|
|
20359
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-handle::after {
|
|
20354
20360
|
margin-left: 48px;
|
|
20355
20361
|
}
|
|
20356
|
-
.toggle-switch-check
|
|
20362
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon {
|
|
20363
|
+
font-size: 0.625rem;
|
|
20357
20364
|
left: 4px;
|
|
20358
20365
|
line-height: 16px;
|
|
20359
20366
|
top: 4px;
|
|
20360
20367
|
width: 16px;
|
|
20361
20368
|
}
|
|
20362
|
-
.toggle-switch-check
|
|
20369
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon-on {
|
|
20363
20370
|
left: 4px;
|
|
20364
20371
|
}
|
|
20365
|
-
.toggle-switch-check
|
|
20372
|
+
.toggle-switch-check ~ .toggle-switch-bar .toggle-switch-icon-off {
|
|
20366
20373
|
left: 20px;
|
|
20367
20374
|
}
|
|
20368
|
-
.toggle-switch-check
|
|
20375
|
+
.toggle-switch-check ~ .toggle-switch-bar .button-icon {
|
|
20376
|
+
font-size: 0.625rem;
|
|
20377
|
+
}
|
|
20378
|
+
.toggle-switch-check:checked ~ .toggle-switch-bar::after {
|
|
20369
20379
|
left: 20px;
|
|
20370
20380
|
}
|
|
20371
|
-
.toggle-switch-check:checked ~ .toggle-switch-bar .toggle-switch-handle
|
|
20381
|
+
.toggle-switch-check:checked ~ .toggle-switch-bar .toggle-switch-handle::after {
|
|
20372
20382
|
margin-left: 48px;
|
|
20373
20383
|
}
|
|
20374
20384
|
.toggle-switch-check:checked ~ .toggle-switch-bar .button-icon {
|
|
20375
20385
|
left: 20px;
|
|
20376
20386
|
}
|
|
20387
|
+
}
|
|
20388
|
+
|
|
20389
|
+
.toggle-switch-label {
|
|
20390
|
+
display: block;
|
|
20391
|
+
margin-bottom: 2px;
|
|
20392
|
+
}
|
|
20393
|
+
|
|
20394
|
+
.toggle-switch-text {
|
|
20395
|
+
display: block;
|
|
20396
|
+
font-size: 0.75rem;
|
|
20397
|
+
}
|
|
20398
|
+
|
|
20399
|
+
.toggle-switch-text-left {
|
|
20400
|
+
display: inline-flex;
|
|
20401
|
+
line-height: 24px;
|
|
20402
|
+
margin-right: 8px;
|
|
20403
|
+
}
|
|
20404
|
+
@media (max-width: 767.98px) {
|
|
20405
|
+
.toggle-switch-text-left {
|
|
20406
|
+
line-height: 24px;
|
|
20407
|
+
}
|
|
20408
|
+
}
|
|
20377
20409
|
|
|
20378
|
-
.toggle-switch-text-left,
|
|
20379
20410
|
.toggle-switch-text-right {
|
|
20411
|
+
display: inline-flex;
|
|
20412
|
+
line-height: 24px;
|
|
20413
|
+
margin-left: 8px;
|
|
20414
|
+
}
|
|
20415
|
+
@media (max-width: 767.98px) {
|
|
20416
|
+
.toggle-switch-text-right {
|
|
20380
20417
|
line-height: 24px;
|
|
20381
20418
|
}
|
|
20382
20419
|
}
|
|
20420
|
+
|
|
20421
|
+
.simple-toggle-switch {
|
|
20422
|
+
align-items: center;
|
|
20423
|
+
display: inline-flex;
|
|
20424
|
+
}
|
|
20425
|
+
.simple-toggle-switch .toggle-switch-label {
|
|
20426
|
+
line-height: 1;
|
|
20427
|
+
margin-bottom: 0;
|
|
20428
|
+
max-width: calc( 100% - 56px );
|
|
20429
|
+
}
|
|
20430
|
+
@media (max-width: 767.98px) {
|
|
20431
|
+
.simple-toggle-switch .toggle-switch-label {
|
|
20432
|
+
max-width: calc( 100% - 48px );
|
|
20433
|
+
}
|
|
20434
|
+
}
|
|
20435
|
+
.simple-toggle-switch .toggle-switch-check + .toggle-switch-label {
|
|
20436
|
+
margin-right: 0.5rem;
|
|
20437
|
+
}
|
|
20438
|
+
.simple-toggle-switch .toggle-switch-label + .toggle-switch-check-bar {
|
|
20439
|
+
margin-left: 0.5rem;
|
|
20440
|
+
}
|
|
20441
|
+
|
|
20442
|
+
.simple-toggle-switch-reverse .toggle-switch-check-bar {
|
|
20443
|
+
order: 5;
|
|
20444
|
+
}
|
|
20445
|
+
.simple-toggle-switch-reverse .toggle-switch-check ~ .toggle-switch-bar {
|
|
20446
|
+
order: 5;
|
|
20447
|
+
}
|
|
20448
|
+
.simple-toggle-switch-reverse .toggle-switch-label {
|
|
20449
|
+
margin-right: 0.5rem;
|
|
20450
|
+
}
|
|
20383
20451
|
.tooltip {
|
|
20384
20452
|
display: block;
|
|
20385
20453
|
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|