@tabler/core 1.0.0-beta3 → 1.0.0-beta8

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.
Files changed (114) hide show
  1. package/README.md +11 -0
  2. package/dist/.DS_Store +0 -0
  3. package/dist/css/demo.css +398 -239
  4. package/dist/css/demo.min.css +5 -5
  5. package/dist/css/demo.rtl.css +398 -239
  6. package/dist/css/demo.rtl.min.css +5 -5
  7. package/dist/css/tabler-flags.css +531 -268
  8. package/dist/css/tabler-flags.min.css +5 -5
  9. package/dist/css/tabler-flags.rtl.css +531 -268
  10. package/dist/css/tabler-flags.rtl.min.css +5 -5
  11. package/dist/css/tabler-payments.css +254 -129
  12. package/dist/css/tabler-payments.min.css +4 -4
  13. package/dist/css/tabler-payments.rtl.css +254 -129
  14. package/dist/css/tabler-payments.rtl.min.css +4 -4
  15. package/dist/css/tabler-vendors.css +890 -434
  16. package/dist/css/tabler-vendors.min.css +5 -5
  17. package/dist/css/tabler-vendors.rtl.css +890 -434
  18. package/dist/css/tabler-vendors.rtl.min.css +5 -5
  19. package/dist/css/tabler.css +13220 -7067
  20. package/dist/css/tabler.min.css +10 -5
  21. package/dist/css/tabler.rtl.css +13218 -7066
  22. package/dist/css/tabler.rtl.min.css +10 -5
  23. package/dist/fonts/inter-v7-latin-ext_latin-300.woff +0 -0
  24. package/dist/fonts/inter-v7-latin-ext_latin-300.woff2 +0 -0
  25. package/dist/fonts/inter-v7-latin-ext_latin-500.woff +0 -0
  26. package/dist/fonts/inter-v7-latin-ext_latin-500.woff2 +0 -0
  27. package/dist/fonts/inter-v7-latin-ext_latin-600.woff +0 -0
  28. package/dist/fonts/inter-v7-latin-ext_latin-600.woff2 +0 -0
  29. package/dist/fonts/inter-v7-latin-ext_latin-700.woff +0 -0
  30. package/dist/fonts/inter-v7-latin-ext_latin-700.woff2 +0 -0
  31. package/dist/fonts/inter-v7-latin-ext_latin-regular.woff +0 -0
  32. package/dist/fonts/inter-v7-latin-ext_latin-regular.woff2 +0 -0
  33. package/dist/js/demo.js +151 -0
  34. package/dist/js/demo.min.js +9 -0
  35. package/dist/js/tabler.esm.js +8086 -0
  36. package/dist/js/tabler.esm.min.js +9 -0
  37. package/dist/js/tabler.js +1701 -1634
  38. package/dist/js/tabler.min.js +5 -5
  39. package/dist/libs/apexcharts/dist/apexcharts.min.js +5 -5
  40. package/dist/libs/bootstrap/dist/js/bootstrap.bundle.min.js +2 -2
  41. package/dist/libs/countup.js/dist/countUp.js +3 -3
  42. package/dist/libs/jsvectormap/dist/js/jsvectormap.min.js +1 -0
  43. package/dist/libs/jsvectormap/dist/maps/world.js +1 -0
  44. package/dist/libs/litepicker/dist/litepicker.js +3 -3
  45. package/dist/libs/nouislider/dist/nouislider.min.js +1 -0
  46. package/dist/libs/tom-select/dist/js/tom-select.base.min.js +302 -0
  47. package/package.json +87 -29
  48. package/src/js/demo.js +97 -0
  49. package/src/js/src/dropdown.js +0 -31
  50. package/src/js/src/tab.js +2 -0
  51. package/src/js/tabler.esm.js +10 -0
  52. package/src/js/tabler.js +3 -2
  53. package/src/scss/_bootstrap-components.scss +3 -0
  54. package/src/scss/_bootstrap-config.scss +1 -0
  55. package/src/scss/{_tabler-core.scss → _core.scss} +4 -2
  56. package/src/scss/_utilities.scss +12 -23
  57. package/src/scss/_variables.scss +114 -81
  58. package/src/scss/demo/_examples.scss +10 -1
  59. package/src/scss/demo/_highlight.scss +0 -1
  60. package/src/scss/demo.scss +33 -4
  61. package/src/scss/fonts/_webfonts.scss +51 -6
  62. package/src/scss/layout/_core.scss +23 -5
  63. package/src/scss/layout/_dark.scss +177 -0
  64. package/src/scss/layout/_navbar.scss +9 -7
  65. package/src/scss/layout/_page.scss +1 -1
  66. package/src/scss/mixins/_functions.scss +16 -6
  67. package/src/scss/mixins/_mixins.scss +22 -33
  68. package/src/scss/tabler-vendors.scss +3 -1
  69. package/src/scss/tabler.scss +1 -1
  70. package/src/scss/ui/_accordion.scss +1 -0
  71. package/src/scss/ui/_alerts.scss +1 -1
  72. package/src/scss/ui/_avatars.scss +9 -12
  73. package/src/scss/ui/_badges.scss +11 -9
  74. package/src/scss/ui/_breadcrumbs.scss +1 -3
  75. package/src/scss/ui/_buttons.scss +73 -43
  76. package/src/scss/ui/_calendars.scss +3 -3
  77. package/src/scss/ui/_cards.scss +158 -67
  78. package/src/scss/ui/_dropdowns.scss +1 -0
  79. package/src/scss/ui/_flags.scss +1 -1
  80. package/src/scss/ui/_forms.scss +9 -10
  81. package/src/scss/ui/_grid.scss +16 -2
  82. package/src/scss/ui/_icons.scss +1 -1
  83. package/src/scss/ui/_images.scss +1 -1
  84. package/src/scss/ui/_legend.scss +1 -1
  85. package/src/scss/ui/_lists.scss +2 -2
  86. package/src/scss/ui/_markdown.scss +1 -0
  87. package/src/scss/ui/_modals.scss +2 -2
  88. package/src/scss/ui/_nav.scss +3 -7
  89. package/src/scss/ui/_offcanvas.scss +21 -0
  90. package/src/scss/ui/_placeholder.scss +9 -0
  91. package/src/scss/ui/_progress.scss +2 -1
  92. package/src/scss/ui/_ribbons.scss +2 -2
  93. package/src/scss/ui/_status.scss +172 -0
  94. package/src/scss/ui/_steps.scss +2 -2
  95. package/src/scss/ui/_switch-icon.scss +5 -5
  96. package/src/scss/ui/_tables.scss +4 -2
  97. package/src/scss/ui/_type.scss +1 -1
  98. package/src/scss/ui/forms/_form-check.scss +3 -3
  99. package/src/scss/ui/forms/_form-colorinput.scss +1 -1
  100. package/src/scss/ui/forms/_form-imagecheck.scss +5 -5
  101. package/src/scss/ui/forms/_form-selectgroup.scss +9 -3
  102. package/src/scss/ui/forms/_validation.scss +1 -1
  103. package/src/scss/utils/_background.scss +2 -2
  104. package/src/scss/utils/_colors.scss +6 -21
  105. package/src/scss/utils/_opacity.scss +1 -1
  106. package/src/scss/vendor/_apexcharts.scss +2 -0
  107. package/src/scss/vendor/_jsvectormap.scss +48 -0
  108. package/src/scss/vendor/_litepicker.scss +8 -3
  109. package/src/scss/vendor/_nouislider.scss +2 -2
  110. package/src/scss/vendor/_tom-select.scss +12 -0
  111. package/dist/libs/choices.js/public/assets/scripts/choices.js +0 -5603
  112. package/src/scss/_dark.scss +0 -105
  113. package/src/scss/ui/_skeleton.scss +0 -98
  114. package/src/scss/vendor/_choices.scss +0 -61
@@ -23,8 +23,6 @@
23
23
 
24
24
  @each $name, $symbol in $breadcrumb-variants {
25
25
  .breadcrumb-#{$name} {
26
- .breadcrumb-item + .breadcrumb-item:before {
27
- content: $symbol;
28
- }
26
+ --#{$variable-prefix}breadcrumb-divider: "#{quote($symbol)}";
29
27
  }
30
28
  }
@@ -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: $body-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: $body-color;
12
- border-color: $text-muted-light;
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: rgba(var(--#{$variable-prefix}btn-color, hex-to-rgb($primary)), .5);
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: $text-muted;
33
+ color: inherit;
33
34
  }
34
35
 
35
36
  .avatar {
@@ -49,45 +50,36 @@
49
50
  }
50
51
 
51
52
  %btn-color {
52
- background-color: rgba(var(--#{$variable-prefix}btn-color), 1);
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: rgba(var(--#{$variable-prefix}btn-color-darker), 1);
62
- border-color: transparent;
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: rgba(var(--#{$variable-prefix}btn-color), 1);
69
- border-color: $border-color-transparent;
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: rgba(var(--#{$variable-prefix}btn-color), 1);
68
+ background-color: var(--#{$variable-prefix}btn-color);
77
69
  color: var(--#{$variable-prefix}btn-color-text);
78
- border-color: rgba(var(--#{$variable-prefix}btn-color), 1);
70
+ border-color: var(--#{$variable-prefix}btn-color);
79
71
  }
80
72
  }
81
73
 
82
74
  %btn-ghost {
83
75
  background: transparent;
84
- color: rgba(var(--#{$variable-prefix}btn-color), 1);
76
+ color: var(--#{$variable-prefix}btn-color);
85
77
  border-color: transparent;
86
78
 
87
79
  &:hover {
88
- background-color: rgba(var(--#{$variable-prefix}btn-color), 1);
80
+ background-color: var(--#{$variable-prefix}btn-color);
89
81
  color: var(--#{$variable-prefix}btn-color-text);
90
- border-color: rgba(var(--#{$variable-prefix}btn-color), 1);
82
+ border-color: var(--#{$variable-prefix}btn-color);
91
83
  }
92
84
  }
93
85
 
@@ -180,23 +172,15 @@
180
172
  }
181
173
  }
182
174
 
183
-
184
- $btn-colors: $theme-colors;
185
-
186
- @if $enable-extra-colors {
187
- $btn-colors: map-merge($btn-colors, $colors);
188
- }
189
-
190
- @if $enable-social-colors {
191
- $btn-colors: map-merge($btn-colors, $social-colors);
192
- }
193
-
194
- @each $name, $color in $btn-colors {
175
+ //
176
+ // Button color variations
177
+ //
178
+ @each $name, $color in theme-colors() {
195
179
  .btn-#{$name},
196
180
  .btn-outline-#{$name},
197
181
  .btn-ghost-#{$name} {
198
- --#{$variable-prefix}btn-color: #{hex-to-rgb($color)};
199
- --#{$variable-prefix}btn-color-darker: #{hex-to-rgb(theme-color-darker($color))};
182
+ --#{$variable-prefix}btn-color: #{$color};
183
+ --#{$variable-prefix}btn-color-interactive: #{theme-color-darker($color)};
200
184
  --#{$variable-prefix}btn-color-text: #{color-contrast($color)};
201
185
  }
202
186
 
@@ -211,4 +195,50 @@ $btn-colors: $theme-colors;
211
195
  .btn-ghost-#{$name} {
212
196
  @extend %btn-ghost;
213
197
  }
198
+ }
199
+
200
+ //
201
+ // Action button
202
+ //
203
+ .btn-action {
204
+ padding: 0;
205
+ border: 0;
206
+ color: $text-muted;
207
+ display: inline-flex;
208
+ width: 2rem;
209
+ height: 2rem;
210
+ align-items: center;
211
+ justify-content: center;
212
+ border-radius: $border-radius;
213
+
214
+ &:after {
215
+ content: none;
216
+ }
217
+
218
+ &:focus {
219
+ outline: none;
220
+ box-shadow: none;
221
+ }
222
+
223
+ &:hover,
224
+ &.show {
225
+ color: $body-color;
226
+ background: $body-bg;
227
+ }
228
+
229
+ &.show {
230
+ color: $primary;
231
+ }
232
+
233
+ .icon {
234
+ margin: 0;
235
+ width: 1.25rem;
236
+ height: 1.25rem;
237
+ font-size: 1.25rem;
238
+ stroke-width: 1;
239
+ }
240
+ }
241
+
242
+ .btn-actions {
243
+ display: flex;
214
244
  }
@@ -28,8 +28,8 @@
28
28
  }
29
29
 
30
30
  .calendar-date {
31
- flex: 0 0 (100% / 7);
32
- max-width: (100% / 7);
31
+ flex: 0 0 divide(100%, 7);
32
+ max-width: divide(100%, 7);
33
33
  padding: .2rem;
34
34
  text-align: center;
35
35
  border: 0;
@@ -55,7 +55,7 @@
55
55
  border: 1px solid transparent;
56
56
  border-radius: $border-radius-pill;
57
57
  outline: 0;
58
- transition: background .3s, border .3s, box-shadow .32s, color .3s;
58
+ @include transition(background $transition-time, border $transition-time, box-shadow .32s, color $transition-time);
59
59
 
60
60
  &:hover {
61
61
  color: $primary;
@@ -1,18 +1,10 @@
1
- .border-0 {
2
-
3
- .card, .nav-link {
4
- border: 0 !important;
5
- }
6
-
7
- .card-stacked::after {
8
- border: 1px solid rgba($text-muted, 0.07) !important;
9
- }
10
-
11
- }
12
-
13
1
  .card {
2
+ --#{$variable-prefix}card-border-radius: #{$card-border-radius};
14
3
  box-shadow: $card-shadow;
15
4
  border: $card-border-width solid $card-border-color;
5
+ background: var(--#{$variable-prefix}card-bg, #{$card-bg});
6
+ border-radius: var(--#{$variable-prefix}card-border-radius);
7
+ @include transition(transform $transition-time ease-out, opacity $transition-time ease-out, box-shadow $transition-time ease-out);
16
8
 
17
9
  @media print {
18
10
  border: none;
@@ -21,15 +13,67 @@
21
13
 
22
14
  @at-root a#{&} {
23
15
  color: inherit;
24
- transition: .3s box-shadow;
25
16
 
26
17
  &:hover {
27
18
  text-decoration: none;
28
19
  box-shadow: $card-shadow-hover;
29
20
  }
30
21
  }
22
+
23
+ .card {
24
+ box-shadow: none;
25
+ }
31
26
  }
32
27
 
28
+ // Card borderless
29
+ .card-borderless {
30
+ &,
31
+ .card-header,
32
+ .card-footer {
33
+ border-color: transparent;
34
+ }
35
+ }
36
+
37
+ // Card stamp
38
+ .card-stamp {
39
+ --stamp-size: 7rem;
40
+ position: absolute;
41
+ top: 0;
42
+ right: 0;
43
+ width: calc(var(--stamp-size) * 1);
44
+ height: calc(var(--stamp-size) * 1);
45
+ max-height: 100%;
46
+ border-top-right-radius: $border-radius;
47
+ overflow: hidden;
48
+ pointer-events: none;
49
+ }
50
+
51
+ .card-stamp-lg {
52
+ --stamp-size: 13rem;
53
+ }
54
+
55
+ .card-stamp-icon {
56
+ background: $text-muted;
57
+ color: $white;
58
+ display: flex;
59
+ align-items: center;
60
+ justify-content: center;
61
+ border-radius: $border-radius-pill;
62
+ width: calc(var(--stamp-size) * 1);
63
+ height: calc(var(--stamp-size) * 1);
64
+ position: relative;
65
+ top: calc(var(--stamp-size) * -.25);
66
+ right: calc(var(--stamp-size) * -.25);
67
+ font-size: calc(var(--stamp-size) * .75);
68
+ transform: rotate(10deg);
69
+ opacity: .075;
70
+
71
+ .icon {
72
+ stroke-width: 2;
73
+ width: calc(var(--stamp-size) * .75);
74
+ height: calc(var(--stamp-size) * .75);
75
+ }
76
+ }
33
77
 
34
78
  // Card image
35
79
  .card-img,
@@ -78,24 +122,14 @@
78
122
  }
79
123
  }
80
124
 
81
- .card-link {
82
- color: inherit;
83
-
84
- &:hover {
85
- color: inherit;
86
- text-decoration: none;
87
- box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .08);
88
- }
89
- }
90
-
91
125
  .card-btn {
92
126
  display: flex;
93
127
  align-items: center;
94
128
  justify-content: center;
95
129
  padding: $card-spacer-y $card-spacer-x;
96
130
  text-align: center;
97
- transition: .3s background;
98
- border-top: 1px solid $border-color;
131
+ @include transition(background $transition-time);
132
+ border-top: 1px solid var(--#{$variable-prefix}border-color);
99
133
  flex: 1;
100
134
  color: inherit;
101
135
  font-weight: $font-weight-medium;
@@ -105,8 +139,8 @@
105
139
  background: $active-bg;
106
140
  }
107
141
 
108
- &:not(:first-child) {
109
- border-left: 1px solid $border-color;
142
+ & + & {
143
+ border-left: 1px solid var(--#{$variable-prefix}border-color);
110
144
  }
111
145
  }
112
146
 
@@ -122,7 +156,7 @@
122
156
  content: "";
123
157
  background: $card-bg;
124
158
  border: 1px solid $card-border-color;
125
- border-radius: $card-border-radius $card-border-radius 0 0;
159
+ border-radius: var(--#{$variable-prefix}card-border-radius) var(--#{$variable-prefix}card-border-radius) 0 0;
126
160
  }
127
161
  }
128
162
 
@@ -154,42 +188,88 @@
154
188
  }
155
189
 
156
190
  .card-actions {
157
- margin-left: auto;
158
- font-size: $h5-font-size;
191
+ margin: -.5rem -.5rem -.5rem auto;
192
+ padding-left: .5rem;
159
193
 
160
194
  a {
161
195
  text-decoration: none;
162
196
  }
163
197
  }
164
198
 
199
+ // Card header
165
200
  .card-header {
166
201
  color: inherit;
167
202
  display: flex;
168
203
  align-items: center;
169
204
  background: transparent;
205
+
206
+ &:first-child {
207
+ border-radius: var(--#{$variable-prefix}card-border-radius) var(--#{$variable-prefix}card-border-radius) 0 0;
208
+ }
209
+ }
210
+
211
+ .card-header-light {
212
+ border-bottom-color: transparent;
213
+ background: var(--#{$variable-prefix}light);
170
214
  }
171
215
 
172
216
  .card-header-tabs {
173
217
  flex: 1;
174
- margin: (- $card-spacer-y) (- $card-spacer-x);
218
+ margin: (- $card-spacer-y * .5) (- $card-spacer-x * .5) (- $card-spacer-y );
175
219
  }
176
220
 
177
221
  .card-header-pills {
178
222
  flex: 1;
223
+ margin-top: -.5rem;
224
+ margin-bottom: -.5rem;
179
225
  }
180
226
 
181
- /*
182
- Card footer
183
- */
227
+ // Card rotate
228
+ .card-rotate-left {
229
+ transform: rotate(-1.5deg);
230
+ }
231
+
232
+ .card-rotate-right {
233
+ transform: rotate(1.5deg);
234
+ }
235
+
236
+ // Card link
237
+ .card-link {
238
+ color: inherit;
239
+
240
+ &:hover {
241
+ color: inherit;
242
+ text-decoration: none;
243
+ box-shadow: 0 1px 6px 0 rgba(0, 0, 0, .08);
244
+ }
245
+ }
246
+
247
+ .card-link-rotate:hover {
248
+ transform: rotate(1.5deg);
249
+ opacity: 1
250
+ }
251
+
252
+ .card-link-pop:hover {
253
+ transform: translateY(-2px);
254
+ opacity: 1
255
+ }
256
+
257
+ // Card footer
184
258
  .card-footer {
185
259
  margin-top: auto;
260
+
261
+ &:last-child {
262
+ border-radius: 0 0 var(--#{$variable-prefix}card-border-radius) var(--#{$variable-prefix}card-border-radius);
263
+ }
186
264
  }
187
265
 
188
- .card-footer-gray {
189
- border-top: 0;
190
- background: $min-black;
266
+ .card-footer-transparent {
267
+ background: transparent;
268
+ border-color: transparent;
269
+ padding-top: 0;
191
270
  }
192
271
 
272
+ // Card progress
193
273
  .card-progress {
194
274
  height: .25rem;
195
275
 
@@ -219,17 +299,23 @@ Card footer
219
299
  }
220
300
 
221
301
  .card-header & {
222
- margin: .125rem 0;
302
+ margin: 0;
223
303
  }
224
304
  }
225
305
 
226
306
  .card-subtitle {
227
- margin-top: -$card-spacer-y;
307
+ margin-top: divide(-$card-spacer-y, 2);
228
308
  margin-bottom: $card-title-spacer-y;
229
309
  color: $text-muted;
310
+ font-weight: normal;
230
311
 
231
312
  .card-header & {
232
- margin: -.125rem 0 0;
313
+ margin: 0;
314
+ }
315
+
316
+ .card-title & {
317
+ margin: 0 0 0 .25rem;
318
+ font-size: $h4-font-size;
233
319
  }
234
320
  }
235
321
 
@@ -244,7 +330,7 @@ Card footer
244
330
 
245
331
  .card-md > & {
246
332
  @include media-breakpoint-up(md) {
247
- padding: 2rem;
333
+ padding: 2.5rem;
248
334
  }
249
335
  }
250
336
 
@@ -288,17 +374,6 @@ Card optinos
288
374
  color: $text-muted;
289
375
  }
290
376
 
291
- .card-dropdown {
292
- line-height: 1;
293
- color: $text-muted;
294
-
295
- .icon {
296
- width: 1.5rem;
297
- height: 1.5rem;
298
- font-size: 1.5rem;
299
- stroke-width: 1;
300
- }
301
- }
302
377
 
303
378
  /**
304
379
  Card status
@@ -309,7 +384,7 @@ Card status
309
384
  right: 0;
310
385
  left: 0;
311
386
  height: $card-status-size;
312
- border-radius: $card-border-radius $card-border-radius 0 0;
387
+ border-radius: var(--#{$variable-prefix}card-border-radius) var(--#{$variable-prefix}card-border-radius) 0 0;
313
388
  }
314
389
 
315
390
  .card-status-start {
@@ -318,7 +393,7 @@ Card status
318
393
  bottom: 0;
319
394
  width: $card-status-size;
320
395
  height: 100%;
321
- border-radius: $card-border-radius 0 0 $card-border-radius;
396
+ border-radius: var(--#{$variable-prefix}card-border-radius) 0 0 var(--#{$variable-prefix}card-border-radius);
322
397
  }
323
398
 
324
399
  .card-status-bottom {
@@ -327,7 +402,7 @@ Card status
327
402
  bottom: 0;
328
403
  width: 100%;
329
404
  height: $card-status-size;
330
- border-radius: 0 0 $card-border-radius $card-border-radius;
405
+ border-radius: 0 0 var(--#{$variable-prefix}card-border-radius) var(--#{$variable-prefix}card-border-radius);
331
406
  }
332
407
 
333
408
  /**
@@ -416,7 +491,7 @@ Card avatar
416
491
  margin-left: auto;
417
492
  margin-right: auto;
418
493
  box-shadow: 0 0 0 .25rem $card-bg;
419
- margin-top: calc(-1 * calc(var(--#{$variable-prefix}avatar-size) / 2));
494
+ margin-top: calc(-1 * calc(var(--#{$variable-prefix}avatar-size) * .5));
420
495
  }
421
496
 
422
497
  /*
@@ -444,30 +519,29 @@ Card list group
444
519
  }
445
520
  }
446
521
 
447
- /**
448
- Card tabs
449
- */
522
+ // Card tabs
450
523
  .card-tabs {
451
-
452
524
  .nav-tabs {
453
525
  position: relative;
454
526
  z-index: $zindex-dropdown;
455
527
  border-bottom: 0;
456
528
 
457
529
  .nav-link {
530
+ color: $text-muted;
458
531
  background: $card-cap-bg;
459
532
  border: $card-border-width solid $card-border-color;
460
- border-bottom: 0;
461
533
 
462
534
  &.active,
463
535
  &:active,
464
536
  &:hover {
465
537
  border-color: $card-border-color;
538
+ color: $body-color;
466
539
  }
467
540
 
468
541
  &.active {
469
542
  color: $headings-color;
470
543
  background: $card-bg;
544
+ border-bottom-color: transparent;
471
545
  }
472
546
  }
473
547
 
@@ -493,22 +567,39 @@ Card tabs
493
567
  .nav-tabs-bottom {
494
568
  margin-bottom: 0;
495
569
 
570
+ .nav-link {
571
+ margin-bottom: 0;
572
+
573
+ &.active {
574
+ border-top-color: transparent;
575
+ }
576
+ }
577
+
496
578
  .nav-item {
497
- margin-top: -1px;
579
+ margin-top: -$card-border-width;
498
580
  margin-bottom: 0;
499
581
 
500
582
  .nav-link {
501
- border-top-width: 0;
502
583
  border-bottom: $card-border-width solid $card-border-color;
584
+ border-radius: 0 0 $card-border-radius $card-border-radius;
585
+ }
503
586
 
504
- border-top-left-radius: 0;
505
- border-top-right-radius: 0;
587
+ &:not(:first-child) .nav-link {
588
+ border-bottom-left-radius: 0;
589
+ }
590
+
591
+ &:not(:last-child) .nav-link {
592
+ border-bottom-right-radius: 0;
506
593
  }
507
594
  }
508
595
  }
509
596
 
510
597
  .card {
511
- margin: 0;
598
+ border-bottom-left-radius: 0;
599
+ }
600
+
601
+ .nav-tabs + .tab-content .card {
602
+ border-bottom-left-radius: var(--#{$variable-prefix}card-border-radius);
512
603
  border-top-left-radius: 0;
513
604
  }
514
- }
605
+ }
@@ -63,6 +63,7 @@
63
63
 
64
64
  .dropdown-menu-columns {
65
65
  display: flex;
66
+ flex: 0 .25rem;
66
67
  }
67
68
 
68
69
  .dropdown-menu-arrow {
@@ -24,7 +24,7 @@ $countries: (
24
24
  background-repeat: no-repeat;
25
25
  background-position: center;
26
26
  background-size: cover;
27
- border: 1px solid $border-color;
27
+ border: 1px solid var(--#{$variable-prefix}border-color);
28
28
  border-radius: 3px;
29
29
  }
30
30
 
@@ -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: -.5rem;
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 $white inset;
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: $min-black;
134
- border: 1px solid $border-color;
132
+ background: var(--#{$variable-prefix}body-bg);
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: $min-white;
153
+ background: var(--tblr-border-color-light);
155
154
  border-radius: $border-radius-pill;
156
- transition: .3s background-color, .3s color;
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: $input-transition;
201
+ @include transition($input-transition);
203
202
 
204
203
  &:first-child {
205
204
  padding-right: 0;