@tabler/core 1.0.0-beta4 → 1.0.0-beta5
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/README.md +6 -0
- package/dist/css/demo.css +57 -25
- package/dist/css/demo.min.css +3 -3
- package/dist/css/demo.rtl.css +57 -25
- package/dist/css/demo.rtl.min.css +3 -3
- package/dist/css/tabler-flags.css +3 -3
- package/dist/css/tabler-flags.min.css +3 -3
- package/dist/css/tabler-flags.rtl.css +3 -3
- package/dist/css/tabler-flags.rtl.min.css +3 -3
- package/dist/css/tabler-payments.css +2 -2
- package/dist/css/tabler-payments.min.css +2 -2
- package/dist/css/tabler-payments.rtl.css +2 -2
- package/dist/css/tabler-payments.rtl.min.css +2 -2
- package/dist/css/tabler-vendors.css +459 -320
- package/dist/css/tabler-vendors.min.css +3 -3
- package/dist/css/tabler-vendors.rtl.css +459 -320
- package/dist/css/tabler-vendors.rtl.min.css +3 -3
- package/dist/css/tabler.css +1283 -1091
- package/dist/css/tabler.min.css +8 -3
- package/dist/css/tabler.rtl.css +1283 -1091
- package/dist/css/tabler.rtl.min.css +8 -3
- package/dist/js/demo.js +151 -0
- package/dist/js/demo.min.js +9 -0
- package/dist/js/tabler.esm.js +7791 -0
- package/dist/js/tabler.esm.min.js +9 -0
- package/dist/js/tabler.js +19 -21
- package/dist/js/tabler.min.js +3 -3
- package/dist/libs/litepicker/dist/litepicker.js +3 -3
- package/dist/libs/tom-select/dist/js/tom-select.base.min.js +300 -0
- package/package.json +60 -5
- package/src/js/demo.js +98 -0
- package/src/js/src/dropdown.js +0 -31
- package/src/js/tabler.esm.js +10 -0
- package/src/js/tabler.js +3 -0
- package/src/scss/_core.scss +1 -1
- package/src/scss/_utilities.scss +12 -2
- package/src/scss/_variables.scss +76 -53
- package/src/scss/demo/_examples.scss +10 -1
- package/src/scss/demo.scss +31 -2
- package/src/scss/layout/_core.scss +23 -5
- package/src/scss/layout/_dark.scss +168 -0
- package/src/scss/layout/_navbar.scss +5 -5
- package/src/scss/mixins/_functions.scss +0 -4
- package/src/scss/mixins/_mixins.scss +18 -29
- package/src/scss/tabler-vendors.scss +2 -1
- package/src/scss/ui/_accordion.scss +1 -0
- package/src/scss/ui/_alerts.scss +1 -1
- package/src/scss/ui/_avatars.scss +6 -5
- package/src/scss/ui/_buttons.scss +27 -33
- package/src/scss/ui/_calendars.scss +1 -1
- package/src/scss/ui/_cards.scss +7 -8
- package/src/scss/ui/_flags.scss +1 -1
- package/src/scss/ui/_forms.scss +9 -10
- package/src/scss/ui/_legend.scss +1 -1
- package/src/scss/ui/_lists.scss +2 -2
- package/src/scss/ui/_modals.scss +1 -1
- package/src/scss/ui/_nav.scss +3 -3
- package/src/scss/ui/_offcanvas.scss +20 -2
- package/src/scss/ui/_progress.scss +2 -1
- package/src/scss/ui/_ribbons.scss +1 -1
- package/src/scss/ui/_steps.scss +1 -1
- package/src/scss/ui/_switch-icon.scss +5 -5
- package/src/scss/ui/_tables.scss +4 -2
- package/src/scss/ui/forms/_form-check.scss +1 -1
- package/src/scss/ui/forms/_form-colorinput.scss +1 -1
- package/src/scss/ui/forms/_form-imagecheck.scss +5 -5
- package/src/scss/ui/forms/_form-selectgroup.scss +9 -3
- package/src/scss/ui/forms/_validation.scss +1 -1
- package/src/scss/utils/_background.scss +2 -2
- package/src/scss/utils/_colors.scss +24 -12
- package/src/scss/vendor/_apexcharts.scss +2 -0
- package/src/scss/vendor/_litepicker.scss +5 -2
- package/src/scss/vendor/_tom-select.scss +12 -0
- package/dist/libs/choices.js/public/assets/scripts/choices.js +0 -5603
- package/src/scss/_dark.scss +0 -105
- package/src/scss/vendor/_choices.scss +0 -61
package/src/scss/ui/_alerts.scss
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
.avatar {
|
|
2
2
|
--#{$variable-prefix}avatar-size: #{$avatar-size};
|
|
3
|
+
--#{$variable-prefix}avatar-bg: var(--#{$variable-prefix}border-color-light);
|
|
3
4
|
position: relative;
|
|
4
5
|
width: var(--#{$variable-prefix}avatar-size);
|
|
5
6
|
height: var(--#{$variable-prefix}avatar-size);
|
|
@@ -13,12 +14,12 @@
|
|
|
13
14
|
text-transform: uppercase;
|
|
14
15
|
vertical-align: bottom;
|
|
15
16
|
user-select: none;
|
|
16
|
-
background: $
|
|
17
|
+
background: var(--#{$variable-prefix}avatar-bg) no-repeat center/cover;
|
|
17
18
|
border-radius: $avatar-border-radius;
|
|
18
19
|
|
|
19
20
|
svg {
|
|
20
|
-
width: calc(var(
|
|
21
|
-
height: calc(var(
|
|
21
|
+
width: calc(var(--#{$variable-prefix}avatar-size) / #{divide(40, 24)});
|
|
22
|
+
height: calc(var(--#{$variable-prefix}avatar-size) / #{divide(40, 24)});
|
|
22
23
|
}
|
|
23
24
|
|
|
24
25
|
.badge {
|
|
@@ -88,7 +89,7 @@
|
|
|
88
89
|
border: 1px dashed $border-color;
|
|
89
90
|
background: $form-check-input-bg;
|
|
90
91
|
flex-direction: column;
|
|
91
|
-
transition
|
|
92
|
+
@include transition(color $transition-time, background-color $transition-time);
|
|
92
93
|
|
|
93
94
|
svg {
|
|
94
95
|
width: 1.5rem;
|
|
@@ -111,7 +112,7 @@
|
|
|
111
112
|
|
|
112
113
|
.page-avatar {
|
|
113
114
|
.page-cover ~ * & {
|
|
114
|
-
margin-top: calc(calc(-1 * calc(var(
|
|
115
|
+
margin-top: calc(calc(-1 * calc(var(--#{$variable-prefix}avatar-size) * .5)) - #{$content-padding-y});
|
|
115
116
|
box-shadow: 0 0 0 .25rem $body-bg;
|
|
116
117
|
}
|
|
117
118
|
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
.btn {
|
|
2
|
+
--#{$variable-prefix}btn-color-text-rgb: var(--#{$variable-prefix}body-color-rgb);
|
|
3
|
+
|
|
2
4
|
display: inline-flex;
|
|
3
5
|
align-items: center;
|
|
4
6
|
justify-content: center;
|
|
5
|
-
color: $
|
|
6
|
-
background-color: $white;
|
|
7
|
-
border-color: $border-color-dark-transparent;
|
|
7
|
+
border-color: var(--#{$variable-prefix}border-color);
|
|
8
8
|
white-space: nowrap;
|
|
9
9
|
|
|
10
|
+
background-color: var(--#{$variable-prefix}btn-color, var(--#{$variable-prefix}card-bg));
|
|
11
|
+
color: var(--#{$variable-prefix}btn-color-text);
|
|
12
|
+
|
|
10
13
|
&:hover {
|
|
11
|
-
color: $
|
|
12
|
-
border-color: $text-
|
|
13
|
-
background-color: $light;
|
|
14
|
+
color: var(--#{$variable-prefix}btn-color-text);
|
|
15
|
+
border-color: rgba(var(--#{$variable-prefix}btn-color-text-rgb), #{$border-active-opacity});
|
|
14
16
|
}
|
|
15
17
|
|
|
16
|
-
&:focus {
|
|
17
|
-
border-color:
|
|
18
|
-
box-shadow: 0 0 0 $input-btn-focus-width rgba(var(--#{$variable-prefix}btn-color, hex-to-rgb($primary)), $input-btn-focus-color-opacity)
|
|
18
|
+
&:focus:not([disabled]):not(.disabled) {
|
|
19
|
+
border-color: var(--#{$variable-prefix}btn-color, #{$primary});
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
&:disabled,
|
|
@@ -29,7 +30,7 @@
|
|
|
29
30
|
min-width: $icon-size;
|
|
30
31
|
margin: 0 .5rem 0 -.25rem;
|
|
31
32
|
vertical-align: bottom;
|
|
32
|
-
color:
|
|
33
|
+
color: inherit;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
.avatar {
|
|
@@ -49,45 +50,36 @@
|
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
%btn-color {
|
|
52
|
-
|
|
53
|
-
color: var(--#{$variable-prefix}btn-color-text);
|
|
54
|
-
|
|
55
|
-
.icon {
|
|
56
|
-
color: inherit;
|
|
57
|
-
}
|
|
53
|
+
border-color: $border-color-dark-transparent;
|
|
58
54
|
|
|
59
55
|
&:hover {
|
|
60
56
|
color: var(--#{$variable-prefix}btn-color-text);
|
|
61
|
-
background:
|
|
62
|
-
border-color:
|
|
57
|
+
background: var(--#{$variable-prefix}btn-color-interactive);
|
|
58
|
+
border-color: var(--#{$variable-prefix}btn-color);
|
|
63
59
|
}
|
|
64
60
|
}
|
|
65
61
|
|
|
66
62
|
%btn-outline {
|
|
67
63
|
background-color: transparent;
|
|
68
|
-
color:
|
|
69
|
-
border-color: $
|
|
70
|
-
|
|
71
|
-
.icon {
|
|
72
|
-
color: inherit;
|
|
73
|
-
}
|
|
64
|
+
color: var(--#{$variable-prefix}btn-color);
|
|
65
|
+
border-color: var(--#{$variable-prefix}btn-color);
|
|
74
66
|
|
|
75
67
|
&:hover {
|
|
76
|
-
background-color:
|
|
68
|
+
background-color: var(--#{$variable-prefix}btn-color);
|
|
77
69
|
color: var(--#{$variable-prefix}btn-color-text);
|
|
78
|
-
border-color:
|
|
70
|
+
border-color: var(--#{$variable-prefix}btn-color);
|
|
79
71
|
}
|
|
80
72
|
}
|
|
81
73
|
|
|
82
74
|
%btn-ghost {
|
|
83
75
|
background: transparent;
|
|
84
|
-
color:
|
|
76
|
+
color: var(--#{$variable-prefix}btn-color);
|
|
85
77
|
border-color: transparent;
|
|
86
78
|
|
|
87
79
|
&:hover {
|
|
88
|
-
background-color:
|
|
80
|
+
background-color: var(--#{$variable-prefix}btn-color);
|
|
89
81
|
color: var(--#{$variable-prefix}btn-color-text);
|
|
90
|
-
border-color:
|
|
82
|
+
border-color: var(--#{$variable-prefix}btn-color);
|
|
91
83
|
}
|
|
92
84
|
}
|
|
93
85
|
|
|
@@ -180,11 +172,13 @@
|
|
|
180
172
|
}
|
|
181
173
|
}
|
|
182
174
|
|
|
183
|
-
|
|
175
|
+
//
|
|
176
|
+
// Button color variations
|
|
177
|
+
//
|
|
184
178
|
$btn-colors: $theme-colors;
|
|
185
179
|
|
|
186
180
|
@if $enable-extra-colors {
|
|
187
|
-
$btn-colors: map-merge($btn-colors, $colors);
|
|
181
|
+
$btn-colors: map-merge($btn-colors, $extra-colors);
|
|
188
182
|
}
|
|
189
183
|
|
|
190
184
|
@if $enable-social-colors {
|
|
@@ -195,8 +189,8 @@ $btn-colors: $theme-colors;
|
|
|
195
189
|
.btn-#{$name},
|
|
196
190
|
.btn-outline-#{$name},
|
|
197
191
|
.btn-ghost-#{$name} {
|
|
198
|
-
--#{$variable-prefix}btn-color: #{
|
|
199
|
-
--#{$variable-prefix}btn-color-
|
|
192
|
+
--#{$variable-prefix}btn-color: #{$color};
|
|
193
|
+
--#{$variable-prefix}btn-color-interactive: #{theme-color-darker($color)};
|
|
200
194
|
--#{$variable-prefix}btn-color-text: #{color-contrast($color)};
|
|
201
195
|
}
|
|
202
196
|
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
border: 1px solid transparent;
|
|
56
56
|
border-radius: $border-radius-pill;
|
|
57
57
|
outline: 0;
|
|
58
|
-
transition
|
|
58
|
+
@include transition(background $transition-time, border $transition-time, box-shadow .32s, color $transition-time);
|
|
59
59
|
|
|
60
60
|
&:hover {
|
|
61
61
|
color: $primary;
|
package/src/scss/ui/_cards.scss
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
.border-0 {
|
|
2
|
-
|
|
3
2
|
.card, .nav-link {
|
|
4
3
|
border: 0 !important;
|
|
5
4
|
}
|
|
@@ -7,12 +6,12 @@
|
|
|
7
6
|
.card-stacked::after {
|
|
8
7
|
border: 1px solid rgba($text-muted, 0.07) !important;
|
|
9
8
|
}
|
|
10
|
-
|
|
11
9
|
}
|
|
12
10
|
|
|
13
11
|
.card {
|
|
14
12
|
box-shadow: $card-shadow;
|
|
15
13
|
border: $card-border-width solid $card-border-color;
|
|
14
|
+
background: var(--#{$variable-prefix}card-bg, #{$card-bg});
|
|
16
15
|
|
|
17
16
|
@media print {
|
|
18
17
|
border: none;
|
|
@@ -21,7 +20,7 @@
|
|
|
21
20
|
|
|
22
21
|
@at-root a#{&} {
|
|
23
22
|
color: inherit;
|
|
24
|
-
transition
|
|
23
|
+
@include transition(box-shadow $transition-time);
|
|
25
24
|
|
|
26
25
|
&:hover {
|
|
27
26
|
text-decoration: none;
|
|
@@ -94,8 +93,8 @@
|
|
|
94
93
|
justify-content: center;
|
|
95
94
|
padding: $card-spacer-y $card-spacer-x;
|
|
96
95
|
text-align: center;
|
|
97
|
-
transition
|
|
98
|
-
border-top: 1px solid $border-color;
|
|
96
|
+
@include transition(background $transition-time);
|
|
97
|
+
border-top: 1px solid var(--#{$variable-prefix}border-color);
|
|
99
98
|
flex: 1;
|
|
100
99
|
color: inherit;
|
|
101
100
|
font-weight: $font-weight-medium;
|
|
@@ -105,8 +104,8 @@
|
|
|
105
104
|
background: $active-bg;
|
|
106
105
|
}
|
|
107
106
|
|
|
108
|
-
|
|
109
|
-
border-left: 1px solid $border-color;
|
|
107
|
+
& + & {
|
|
108
|
+
border-left: 1px solid var(--#{$variable-prefix}border-color);
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
|
|
@@ -187,7 +186,7 @@ Card footer
|
|
|
187
186
|
|
|
188
187
|
.card-footer-gray {
|
|
189
188
|
border-top: 0;
|
|
190
|
-
background: $
|
|
189
|
+
background: $gray-50;
|
|
191
190
|
}
|
|
192
191
|
|
|
193
192
|
.card-progress {
|
package/src/scss/ui/_flags.scss
CHANGED
package/src/scss/ui/_forms.scss
CHANGED
|
@@ -9,6 +9,7 @@ Form label
|
|
|
9
9
|
*/
|
|
10
10
|
.form-label {
|
|
11
11
|
display: block;
|
|
12
|
+
font-weight: $font-weight-medium;
|
|
12
13
|
|
|
13
14
|
&.required {
|
|
14
15
|
&:after {
|
|
@@ -30,11 +31,8 @@ Form hint
|
|
|
30
31
|
*/
|
|
31
32
|
.form-hint {
|
|
32
33
|
display: block;
|
|
33
|
-
font-size: $h5-font-size;
|
|
34
|
-
line-height: $h5-line-height;
|
|
35
34
|
color: $text-muted;
|
|
36
35
|
|
|
37
|
-
|
|
38
36
|
&:last-child {
|
|
39
37
|
margin-bottom: 0;
|
|
40
38
|
}
|
|
@@ -44,7 +42,7 @@ Form hint
|
|
|
44
42
|
}
|
|
45
43
|
|
|
46
44
|
.form-label + & {
|
|
47
|
-
margin-top: -.
|
|
45
|
+
margin-top: -.25rem;
|
|
48
46
|
}
|
|
49
47
|
|
|
50
48
|
.input-group + &,
|
|
@@ -59,7 +57,8 @@ Form control
|
|
|
59
57
|
*/
|
|
60
58
|
.form-control {
|
|
61
59
|
&:-webkit-autofill {
|
|
62
|
-
box-shadow: 0 0 0 1000px $
|
|
60
|
+
box-shadow: 0 0 0 1000px var(--#{$variable-prefix}body-bg) inset;
|
|
61
|
+
color: var(--#{$variable-prefix}body-color);
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
&:disabled,
|
|
@@ -130,8 +129,8 @@ Form control
|
|
|
130
129
|
.form-fieldset {
|
|
131
130
|
padding: 1rem;
|
|
132
131
|
margin-bottom: 1rem;
|
|
133
|
-
background: $
|
|
134
|
-
border: 1px solid $border-color;
|
|
132
|
+
background: var(--#{$variable-prefix}border-color-light);
|
|
133
|
+
border: 1px solid var(--#{$variable-prefix}border-color);
|
|
135
134
|
border-radius: $border-radius;
|
|
136
135
|
}
|
|
137
136
|
|
|
@@ -151,9 +150,9 @@ Form help
|
|
|
151
150
|
text-decoration: none;
|
|
152
151
|
cursor: pointer;
|
|
153
152
|
user-select: none;
|
|
154
|
-
background: $
|
|
153
|
+
background: $gray-100;
|
|
155
154
|
border-radius: $border-radius-pill;
|
|
156
|
-
transition
|
|
155
|
+
@include transition(background-color $transition-time, color $transition-time);
|
|
157
156
|
|
|
158
157
|
&:hover,
|
|
159
158
|
&[aria-describedby] {
|
|
@@ -199,7 +198,7 @@ Input group
|
|
|
199
198
|
|
|
200
199
|
.input-group-text {
|
|
201
200
|
background: transparent;
|
|
202
|
-
transition
|
|
201
|
+
@include transition($input-transition);
|
|
203
202
|
|
|
204
203
|
&:first-child {
|
|
205
204
|
padding-right: 0;
|
package/src/scss/ui/_legend.scss
CHANGED
package/src/scss/ui/_lists.scss
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
line-height: 1;
|
|
12
12
|
text-transform: uppercase;
|
|
13
13
|
color: $text-muted;
|
|
14
|
-
border-bottom: 1px solid $
|
|
14
|
+
border-bottom: 1px solid var(--#{$variable-prefix}border-color);
|
|
15
15
|
|
|
16
16
|
.list-group-flush > & {
|
|
17
17
|
&:last-child {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
.list-group-hoverable {
|
|
35
35
|
.list-group-item-actions {
|
|
36
36
|
opacity: 0;
|
|
37
|
-
transition
|
|
37
|
+
@include transition(opacity $transition-time);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.list-group-item:hover .list-group-item-actions,
|
package/src/scss/ui/_modals.scss
CHANGED
package/src/scss/ui/_nav.scss
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
.nav {
|
|
13
13
|
margin-left: 1.25rem;
|
|
14
|
-
border-left: 1px solid $border-color;
|
|
14
|
+
border-left: 1px solid var(--#{$variable-prefix}border-color);
|
|
15
15
|
padding-left: .5rem;
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
|
|
64
64
|
.nav-link {
|
|
65
65
|
display: flex;
|
|
66
|
-
transition
|
|
66
|
+
@include transition(color $transition-time);
|
|
67
67
|
align-items: center;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.nav-link-toggle {
|
|
71
71
|
margin-left: auto;
|
|
72
72
|
padding: 0 .25rem;
|
|
73
|
-
transition
|
|
73
|
+
@include transition(transform $transition-time);
|
|
74
74
|
@include caret();
|
|
75
75
|
|
|
76
76
|
&:after {
|
|
@@ -1,3 +1,21 @@
|
|
|
1
|
-
.offcanvas
|
|
2
|
-
|
|
1
|
+
.offcanvas {
|
|
2
|
+
background: var(--#{$variable-prefix}card-bg);
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.offcanvas-header {
|
|
6
|
+
border-bottom: 1px solid $border-color-transparent;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.offcanvas-footer {
|
|
10
|
+
padding: $offcanvas-padding-y $offcanvas-padding-x;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.offcanvas-title {
|
|
14
|
+
font-size: $h3-font-size;
|
|
15
|
+
font-weight: $font-weight-medium;
|
|
16
|
+
line-height: 1.5rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.offcanvas-narrow {
|
|
20
|
+
width: 20rem;
|
|
3
21
|
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
width: 100%;
|
|
17
17
|
line-height: $progress-height;
|
|
18
18
|
appearance: none;
|
|
19
|
+
background: var(--#{$variable-prefix}border-color-light);
|
|
19
20
|
|
|
20
21
|
&::-webkit-progress-bar {
|
|
21
22
|
background: $gray-100;
|
|
@@ -62,6 +63,6 @@
|
|
|
62
63
|
|
|
63
64
|
.progress-separated {
|
|
64
65
|
.progress-bar {
|
|
65
|
-
border-right: 2px solid $
|
|
66
|
+
border-right: 2px solid var(--#{$variable-prefix}card-bg, #{$card-bg});
|
|
66
67
|
}
|
|
67
68
|
}
|
package/src/scss/ui/_steps.scss
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
.switch-icon-fade {
|
|
58
58
|
.switch-icon-a,
|
|
59
59
|
.switch-icon-b {
|
|
60
|
-
transition
|
|
60
|
+
@include transition(opacity .5s);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
.switch-icon-scale {
|
|
66
66
|
.switch-icon-a,
|
|
67
67
|
.switch-icon-b {
|
|
68
|
-
transition
|
|
68
|
+
@include transition(opacity .5s, transform .0s .5s);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.switch-icon-b {
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
&.active {
|
|
76
76
|
.switch-icon-a,
|
|
77
77
|
.switch-icon-b {
|
|
78
|
-
transition
|
|
78
|
+
@include transition(opacity .0s, transform .5s);
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
.switch-icon-b {
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
.switch-icon-b {
|
|
93
93
|
backface-visibility: hidden;
|
|
94
94
|
transform-style: preserve-3d;
|
|
95
|
-
transition
|
|
95
|
+
@include transition(opacity 0s .2s, transform .4s ease-in-out);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.switch-icon-a {
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
|
|
128
128
|
.switch-icon-a,
|
|
129
129
|
.switch-icon-b {
|
|
130
|
-
transition
|
|
130
|
+
@include transition(opacity $transition-time, transform $transition-time);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.switch-icon-a {
|
package/src/scss/ui/_tables.scss
CHANGED
|
@@ -14,7 +14,7 @@ Form check
|
|
|
14
14
|
margin-top: ($form-check-min-height - $form-check-input-width) * .5;
|
|
15
15
|
|
|
16
16
|
.form-switch & {
|
|
17
|
-
transition
|
|
17
|
+
@include transition(background-color$transition-time, background-position $transition-time);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -34,7 +34,7 @@ Color Input
|
|
|
34
34
|
background: no-repeat center center/$form-check-input-checked-bg-size;
|
|
35
35
|
background-image: escape-svg($form-check-input-checked-bg-image);
|
|
36
36
|
opacity: 0;
|
|
37
|
-
transition
|
|
37
|
+
@include transition(opacity $transition-time);
|
|
38
38
|
|
|
39
39
|
.form-colorinput-input:checked ~ & {
|
|
40
40
|
opacity: 1;
|
|
@@ -18,7 +18,7 @@ Image check
|
|
|
18
18
|
display: block;
|
|
19
19
|
margin: 0;
|
|
20
20
|
user-select: none;
|
|
21
|
-
border: 1px solid $border-color;
|
|
21
|
+
border: 1px solid var(--#{$variable-prefix}border-color);
|
|
22
22
|
border-radius: 3px;
|
|
23
23
|
|
|
24
24
|
.form-imagecheck-input:focus ~ & {
|
|
@@ -27,7 +27,7 @@ Image check
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
.form-imagecheck-input:checked ~ & {
|
|
30
|
-
border-color: $
|
|
30
|
+
border-color: $primary;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
&:before {
|
|
@@ -45,7 +45,7 @@ Image check
|
|
|
45
45
|
background: $white;
|
|
46
46
|
border: 1px solid $border-color;
|
|
47
47
|
border-radius: 3px;
|
|
48
|
-
transition
|
|
48
|
+
@include transition(opacity $transition-time);
|
|
49
49
|
|
|
50
50
|
.form-imagecheck-input:checked ~ & {
|
|
51
51
|
background-color: $form-check-input-checked-bg-color;
|
|
@@ -62,7 +62,7 @@ Image check
|
|
|
62
62
|
max-width: 100%;
|
|
63
63
|
display: block;
|
|
64
64
|
opacity: .64;
|
|
65
|
-
transition
|
|
65
|
+
@include transition(opacity $transition-time);
|
|
66
66
|
|
|
67
67
|
&:first-child {
|
|
68
68
|
border-top-left-radius: 2px;
|
|
@@ -86,7 +86,7 @@ Image check
|
|
|
86
86
|
font-size: $font-size-sm;
|
|
87
87
|
color: $text-muted;
|
|
88
88
|
text-align: center;
|
|
89
|
-
transition
|
|
89
|
+
@include transition(color $transition-time);
|
|
90
90
|
|
|
91
91
|
.form-imagecheck:hover &,
|
|
92
92
|
.form-imagecheck-input:focus ~ .form-imagecheck-figure &,
|
|
@@ -43,7 +43,7 @@ Select group
|
|
|
43
43
|
user-select: none;
|
|
44
44
|
border: 1px solid $input-border-color;
|
|
45
45
|
border-radius: 3px;
|
|
46
|
-
transition
|
|
46
|
+
@include transition(border-color $transition-time, background $transition-time, color $transition-time);
|
|
47
47
|
|
|
48
48
|
.icon:only-child {
|
|
49
49
|
margin: 0 -.25rem;
|
|
@@ -86,17 +86,23 @@ Select group
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
.form-selectgroup-check-floated {
|
|
90
|
+
position: absolute;
|
|
91
|
+
top: $input-btn-padding-y;
|
|
92
|
+
right: $input-btn-padding-y;
|
|
93
|
+
}
|
|
94
|
+
|
|
89
95
|
.form-selectgroup-input:checked + .form-selectgroup-label {
|
|
90
96
|
z-index: 1;
|
|
91
97
|
color: $primary;
|
|
92
98
|
background: rgba($primary, .04);
|
|
93
|
-
border-color: $
|
|
99
|
+
border-color: $primary;
|
|
94
100
|
}
|
|
95
101
|
|
|
96
102
|
.form-selectgroup-input:focus + .form-selectgroup-label {
|
|
97
103
|
z-index: 2;
|
|
98
104
|
color: $primary;
|
|
99
|
-
border-color: $
|
|
105
|
+
border-color: $primary;
|
|
100
106
|
box-shadow: $input-btn-focus-box-shadow;
|
|
101
107
|
}
|
|
102
108
|
|
|
@@ -1,22 +1,15 @@
|
|
|
1
1
|
// stylelint-disable declaration-no-important
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
*/
|
|
6
|
-
@each $color, $value in $social-colors {
|
|
7
|
-
.bg-#{"" + $color} {
|
|
8
|
-
color: #fff !important;
|
|
9
|
-
background: $value !important;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.text-#{"" + $color} {
|
|
3
|
+
@each $color, $value in $theme-colors {
|
|
4
|
+
.bg-#{"" + $color}-lt {
|
|
13
5
|
color: $value !important;
|
|
6
|
+
background: theme-color-lighter($value, true) !important;
|
|
14
7
|
}
|
|
15
8
|
}
|
|
16
9
|
|
|
17
|
-
|
|
10
|
+
// Extra colors
|
|
18
11
|
@if $enable-extra-colors {
|
|
19
|
-
@each $color, $value in
|
|
12
|
+
@each $color, $value in $extra-colors {
|
|
20
13
|
.bg-#{"" + $color} {
|
|
21
14
|
background: $value;
|
|
22
15
|
}
|
|
@@ -31,3 +24,22 @@ SOCIAL COLORS
|
|
|
31
24
|
}
|
|
32
25
|
}
|
|
33
26
|
}
|
|
27
|
+
|
|
28
|
+
// Social colors
|
|
29
|
+
@if $enable-social-colors {
|
|
30
|
+
@each $color, $value in $social-colors {
|
|
31
|
+
.bg-#{"" + $color} {
|
|
32
|
+
color: #ffffff !important;
|
|
33
|
+
background: $value !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.text-#{"" + $color} {
|
|
37
|
+
color: $value !important;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.bg-#{"" + $color}-lt {
|
|
41
|
+
color: $value !important;
|
|
42
|
+
background: theme-color-lighter($value, true) !important;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|