@tabler/core 1.0.0-beta5 → 1.0.0-beta6

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 (51) hide show
  1. package/dist/.DS_Store +0 -0
  2. package/dist/css/demo.css +373 -245
  3. package/dist/css/demo.min.css +5 -5
  4. package/dist/css/demo.rtl.css +373 -245
  5. package/dist/css/demo.rtl.min.css +5 -5
  6. package/dist/css/tabler-flags.css +530 -267
  7. package/dist/css/tabler-flags.min.css +4 -4
  8. package/dist/css/tabler-flags.rtl.css +530 -267
  9. package/dist/css/tabler-flags.rtl.min.css +4 -4
  10. package/dist/css/tabler-payments.css +254 -129
  11. package/dist/css/tabler-payments.min.css +4 -4
  12. package/dist/css/tabler-payments.rtl.css +254 -129
  13. package/dist/css/tabler-payments.rtl.min.css +4 -4
  14. package/dist/css/tabler-vendors.css +724 -409
  15. package/dist/css/tabler-vendors.min.css +5 -5
  16. package/dist/css/tabler-vendors.rtl.css +724 -409
  17. package/dist/css/tabler-vendors.rtl.min.css +5 -5
  18. package/dist/css/tabler.css +12289 -6968
  19. package/dist/css/tabler.min.css +6 -6
  20. package/dist/css/tabler.rtl.css +12354 -7034
  21. package/dist/js/demo.js +4 -4
  22. package/dist/js/demo.min.js +4 -4
  23. package/dist/js/tabler.esm.js +105 -53
  24. package/dist/js/tabler.esm.min.js +5 -5
  25. package/dist/js/tabler.js +106 -54
  26. package/dist/js/tabler.min.js +5 -5
  27. package/dist/libs/apexcharts/dist/apexcharts.min.js +5 -5
  28. package/dist/libs/jsvectormap/dist/js/jsvectormap.min.js +1 -0
  29. package/dist/libs/jsvectormap/dist/maps/world.js +1 -0
  30. package/dist/libs/tom-select/dist/js/tom-select.base.min.js +171 -169
  31. package/package.json +33 -32
  32. package/src/js/src/tab.js +2 -0
  33. package/src/js/tabler.js +1 -3
  34. package/src/scss/_core.scss +2 -1
  35. package/src/scss/_utilities.scss +0 -21
  36. package/src/scss/_variables.scss +12 -2
  37. package/src/scss/layout/_page.scss +1 -1
  38. package/src/scss/mixins/_functions.scss +14 -0
  39. package/src/scss/mixins/_mixins.scss +6 -6
  40. package/src/scss/tabler-vendors.scss +1 -0
  41. package/src/scss/ui/_badges.scss +4 -8
  42. package/src/scss/ui/_breadcrumbs.scss +1 -3
  43. package/src/scss/ui/_buttons.scss +1 -11
  44. package/src/scss/ui/_placeholder.scss +9 -0
  45. package/src/scss/ui/_status.scss +172 -0
  46. package/src/scss/ui/forms/_validation.scss +1 -1
  47. package/src/scss/utils/_colors.scss +10 -37
  48. package/src/scss/vendor/_jsvectormap.scss +47 -0
  49. package/src/scss/vendor/_litepicker.scss +3 -1
  50. package/dist/css/tabler.rtl.min.css +0 -14
  51. package/src/scss/ui/_skeleton.scss +0 -98
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tabler/core",
3
- "version": "1.0.0-beta5",
3
+ "version": "1.0.0-beta6",
4
4
  "description": "Premium and Open Source dashboard template with responsive and high quality UI.",
5
5
  "scripts": {
6
6
  "start": "gulp start",
@@ -55,23 +55,20 @@
55
55
  "main": "dist/js/tabler.js",
56
56
  "homepage": "https://tabler.io",
57
57
  "devDependencies": {
58
- "@babel/core": "^7.15.8",
59
- "@babel/preset-env": "^7.15.8",
58
+ "@babel/core": "^7.16.7",
59
+ "@babel/preset-env": "^7.16.8",
60
60
  "@rollup/plugin-commonjs": "^21.0.1",
61
- "@rollup/plugin-node-resolve": "^13.0.6",
62
- "@rollup/plugin-replace": "^3.0.0",
63
- "@rollup/pluginutils": "^4.1.1",
61
+ "@rollup/plugin-node-resolve": "^13.1.3",
62
+ "@rollup/plugin-replace": "^3.0.1",
63
+ "@rollup/pluginutils": "^4.1.2",
64
64
  "@rollup/stream": "^2.0.0",
65
- "@storybook/addon-essentials": "^6.3.12",
66
- "@storybook/addon-links": "^6.3.12",
67
- "@storybook/html": "^6.3.12",
68
- "apexcharts": "^3.29.0",
69
- "autoprefixer": "^10.3.7",
65
+ "apexcharts": "^3.33.0",
66
+ "autoprefixer": "^10.4.2",
70
67
  "autosize": "^5.0.1",
71
- "browser-sync": "^2.27.5",
72
- "bundlewatch": "^0.3.2",
73
- "choices.js": "^9.0.1",
74
- "chromatic": "^6.0.5",
68
+ "browser-sync": "^2.27.7",
69
+ "bundlewatch": "^0.3.3",
70
+ "choices.js": "^10.0.0",
71
+ "chromatic": "^6.4.0",
75
72
  "countup.js": "^2.0.8",
76
73
  "critical": "^4.0.1",
77
74
  "cross-spawn": "^7.0.3",
@@ -79,45 +76,46 @@
79
76
  "gulp": "^4.0.2",
80
77
  "gulp-clean": "^0.4.0",
81
78
  "gulp-clean-css": "^4.3.0",
82
- "gulp-debug": "^4.0.0",
79
+ "gulp-debug": "^3.2.0",
83
80
  "gulp-header": "^2.0.9",
84
81
  "gulp-minify": "^3.1.0",
85
82
  "gulp-postcss": "^9.0.1",
86
- "gulp-purgecss": "^4.0.3",
83
+ "gulp-purgecss": "^4.1.3",
87
84
  "gulp-rename": "^2.0.0",
88
85
  "gulp-rtlcss": "^1.4.2",
89
- "gulp-sass": "^5.0.0",
86
+ "gulp-sass": "^5.1.0",
90
87
  "imask": "^6.2.2",
91
- "litepicker": "^2.0.11",
92
- "node-sass": "^6.0.1",
88
+ "jsvectormap": "^1.4.2",
89
+ "litepicker": "^2.0.12",
93
90
  "nouislider": "^15.5.0",
94
- "postcss": "^8.3.11",
95
- "release-it": "^14.11.6",
96
- "rollup": "^2.58.0",
91
+ "postcss": "^8.4.5",
92
+ "release-it": "^14.12.3",
93
+ "rollup": "^2.64.0",
97
94
  "rollup-plugin-babel": "^4.4.0",
98
95
  "rollup-plugin-cleanup": "^3.2.1",
99
- "storybook-addon-outline": "^1.4.1",
100
- "tom-select": "^1.7.8",
96
+ "sass": "^1.48.0",
97
+ "tom-select": "^2.0.0",
101
98
  "vinyl-buffer": "^1.0.1",
102
99
  "vinyl-source-stream": "^2.0.0",
103
100
  "yaml": "^1.10.2",
104
- "yargs": "^17.2.1"
101
+ "yargs": "^17.3.1"
105
102
  },
106
103
  "dependencies": {
107
- "@popperjs/core": "^2.10.2",
108
- "@tabler/icons": "^1.44.0",
104
+ "@popperjs/core": "^2.11.2",
105
+ "@tabler/icons": "^1.53.0",
109
106
  "bootstrap": "5.1.3"
110
107
  },
111
108
  "peerDependencies": {
112
- "apexcharts": "^3.29.0",
109
+ "apexcharts": "^3.33.0",
113
110
  "autosize": "^5.0.1",
114
- "choices.js": "^9.0.1",
111
+ "choices.js": "^10.0.0",
115
112
  "countup.js": "^2.0.8",
116
113
  "flatpickr": "^4.6.9",
117
114
  "imask": "^6.2.2",
118
- "litepicker": "^2.0.11",
115
+ "jsvectormap": "^1.4.2",
116
+ "litepicker": "^2.0.12",
119
117
  "nouislider": "^15.5.0",
120
- "tom-select": "^1.7.8"
118
+ "tom-select": "^2.0.0"
121
119
  },
122
120
  "peerDependenciesMeta": {
123
121
  "apexcharts": {
@@ -146,6 +144,9 @@
146
144
  },
147
145
  "tom-select": {
148
146
  "optional": true
147
+ },
148
+ "jsvectormap": {
149
+ "optional": true
149
150
  }
150
151
  },
151
152
  "resolutions": {
package/src/js/src/tab.js CHANGED
@@ -12,3 +12,5 @@ export const EnableActivationTabsFromLocationHash = () => {
12
12
  });
13
13
  }
14
14
  }
15
+
16
+ EnableActivationTabsFromLocationHash()
package/src/js/tabler.js CHANGED
@@ -6,10 +6,8 @@ import './src/dropdown';
6
6
  import './src/tooltip';
7
7
  import './src/popover';
8
8
  import './src/switch-icon';
9
- import { EnableActivationTabsFromLocationHash } from './src/tab';
9
+ import './src/tab';
10
10
  import './src/toast';
11
11
  import * as bootstrap from 'bootstrap';
12
12
 
13
13
  window.bootstrap = bootstrap;
14
-
15
- EnableActivationTabsFromLocationHash();
@@ -43,8 +43,9 @@
43
43
  @import "ui/progress";
44
44
  @import "ui/ribbons";
45
45
  @import "ui/markdown";
46
- @import "ui/skeleton";
46
+ @import "ui/placeholder";
47
47
  @import "ui/steps";
48
+ @import "ui/status";
48
49
  @import "ui/switch-icon";
49
50
  @import "ui/tables";
50
51
  @import "ui/toasts";
@@ -49,27 +49,6 @@ $utilities: (
49
49
  grabbing: grabbing,
50
50
  )
51
51
  ),
52
- "font-size": (
53
- property: font-size,
54
- class: text,
55
- values: (
56
- h1: $h1-font-size,
57
- h2: $h2-font-size,
58
- h3: $h3-font-size,
59
- h4: $h4-font-size,
60
- h5: $h5-font-size,
61
- h6: $h6-font-size,
62
- )
63
- ),
64
- "font-weight": (
65
- property: font-weight,
66
- values: (
67
- light: $font-weight-light,
68
- normal: $font-weight-normal,
69
- medium: $font-weight-medium,
70
- bold: $font-weight-bold,
71
- )
72
- ),
73
52
  "border": (
74
53
  property: border,
75
54
  values: $border-values
@@ -7,6 +7,7 @@ $enable-gradients: false !default;
7
7
  $enable-navbar-vertical: true !default;
8
8
  $enable-dark-mode: true !default;
9
9
  $enable-negative-margins: false !default;
10
+ $enable-rfs: false !default;
10
11
 
11
12
  // ASSETS BASE
12
13
  $assets-base: ".." !default;
@@ -57,6 +58,8 @@ $h5-line-height: divide(1rem, $h5-font-size) !default;
57
58
  $h6-font-size: divide(10rem, 16) !default;
58
59
  $h6-line-height: divide(1rem, $h6-font-size) !default;
59
60
 
61
+ $small-font-size: percentage(divide($h5-font-size, $font-size-base)) !default;
62
+
60
63
  $display-font-sizes: (
61
64
  1: 5rem,
62
65
  2: 4.5rem,
@@ -205,7 +208,6 @@ $border-radius-lg: 8px !default;
205
208
  $border-radius-pill: 100rem !default;
206
209
 
207
210
  // Code
208
- $small-font-size: percentage(divide($h5-font-size, $font-size-base)) !default;
209
211
  $code-color: $primary !default;
210
212
  $code-font-size: $small-font-size !default;
211
213
  $code-line-height: 1.25rem !default;
@@ -326,6 +328,8 @@ $breadcrumb-variants: (
326
328
  $badge-font-size: $code-font-size !default;
327
329
  $badge-line-height: $code-line-height !default;
328
330
  $badge-font-weight: $font-weight-medium !default;
331
+ $badge-padding-y: .25em !default;
332
+ $badge-padding-x: .5em !default;
329
333
  $badge-empty-size: .5rem !default;
330
334
 
331
335
  //buttons
@@ -516,6 +520,8 @@ $pagination-bg: transparent !default;
516
520
  $pagination-disabled-bg: transparent !default;
517
521
  $pagination-disabled-color: rgba($text-muted, .5) !default;
518
522
 
523
+ //statuses
524
+ $status-dot-size: .5rem !default;
519
525
 
520
526
  //steps
521
527
  $steps-border-width: 2px !default;
@@ -616,4 +622,8 @@ $flag-sizes: $avatar-sizes !default;
616
622
  $payment-sizes: $avatar-sizes !default;
617
623
 
618
624
  // Offcanvas
619
- $offcanvas-border-color: $border-color-transparent !default;
625
+ $offcanvas-border-color: $border-color-transparent !default;
626
+
627
+ // Placeholder
628
+ $placeholder-opacity-min: .1 !default;
629
+ $placeholder-opacity-max: .2 !default;
@@ -97,7 +97,7 @@
97
97
  margin: 0;
98
98
  font-size: $h2-font-size;
99
99
  line-height: $h2-line-height;
100
- font-weight: $font-weight-medium;
100
+ font-weight: $font-weight-bold;
101
101
  color: inherit;
102
102
  display: flex;
103
103
  align-items: center;
@@ -10,6 +10,20 @@
10
10
  @return shade-color($color, 10%);
11
11
  }
12
12
 
13
+ @function theme-colors($social: true) {
14
+ $colors: $theme-colors;
15
+
16
+ @if $enable-extra-colors {
17
+ $colors: map-merge($colors, $extra-colors);
18
+ }
19
+
20
+ @if ($enable-social-colors and $social) {
21
+ $colors: map-merge($colors, $social-colors);
22
+ }
23
+
24
+ @return $colors;
25
+ }
26
+
13
27
  @function str-replace($string, $search, $replace: "") {
14
28
  $index: str-index($string, $search);
15
29
 
@@ -14,26 +14,26 @@
14
14
  }
15
15
 
16
16
  @mixin scrollbar {
17
- &::-webkit-scrollbar {
17
+ #{if(&, "&", "*")}::-webkit-scrollbar {
18
18
  width: 6px;
19
19
  height: 6px;
20
20
  @include transition(background $transition-time);
21
21
  }
22
22
 
23
- &::-webkit-scrollbar-thumb {
23
+ #{if(&, "&", "*")}::-webkit-scrollbar-thumb {
24
24
  border-radius: 5px;
25
25
  background: rgba(var(--#{$variable-prefix}body-color-rgb), .16);
26
26
  }
27
27
 
28
- &::-webkit-scrollbar-track {
28
+ #{if(&, "&", "*")}::-webkit-scrollbar-track {
29
29
  background: rgba(var(--#{$variable-prefix}body-color-rgb), .06);
30
30
  }
31
31
 
32
- &:hover::-webkit-scrollbar-thumb {
32
+ #{if(&, "&", "*")}:hover::-webkit-scrollbar-thumb {
33
33
  background: rgba(var(--#{$variable-prefix}body-color-rgb), .32);
34
34
  }
35
35
 
36
- &::-webkit-scrollbar-corner {
36
+ #{if(&, "&", "*")}::-webkit-scrollbar-corner {
37
37
  background: transparent;
38
38
  }
39
39
  }
@@ -73,4 +73,4 @@
73
73
  }
74
74
  }
75
75
  }
76
- }
76
+ }
@@ -4,3 +4,4 @@
4
4
  @import "vendor/litepicker";
5
5
  @import "vendor/tom-select";
6
6
  @import "vendor/apexcharts";
7
+ @import "vendor/jsvectormap";
@@ -1,17 +1,14 @@
1
1
  .badge {
2
- display: inline-flex;
3
2
  justify-content: center;
4
3
  align-items: center;
5
4
  background: $gray-500;
6
5
  overflow: hidden;
7
6
  user-select: none;
8
- padding: calc(.25rem - 1px) .25rem;
9
- height: 1.25rem;
10
7
  border: 1px solid transparent;
11
- min-width: 1.25rem;
8
+ min-width: ($badge-padding-y * 2 ) + (divide($badge-font-size, 100%) * 1em);
12
9
  font-weight: $headings-font-weight;
13
- font-size: $h6-font-size;
14
10
  letter-spacing: .04em;
11
+ vertical-align: bottom;
15
12
  text-transform: uppercase;
16
13
 
17
14
  @at-root a#{&} {
@@ -39,7 +36,7 @@
39
36
  width: 1em;
40
37
  height: 1em;
41
38
  font-size: 1rem;
42
- margin: 0 .25rem 0 0;
39
+ stroke-width: 2;
43
40
  }
44
41
  }
45
42
 
@@ -50,6 +47,5 @@
50
47
  }
51
48
 
52
49
  .badge-pill {
53
- border-radius: 100px;
54
- min-width: 1.75em;
50
+ border-radius: $border-radius-pill;
55
51
  }
@@ -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
  }
@@ -175,17 +175,7 @@
175
175
  //
176
176
  // Button color variations
177
177
  //
178
- $btn-colors: $theme-colors;
179
-
180
- @if $enable-extra-colors {
181
- $btn-colors: map-merge($btn-colors, $extra-colors);
182
- }
183
-
184
- @if $enable-social-colors {
185
- $btn-colors: map-merge($btn-colors, $social-colors);
186
- }
187
-
188
- @each $name, $color in $btn-colors {
178
+ @each $name, $color in theme-colors() {
189
179
  .btn-#{$name},
190
180
  .btn-outline-#{$name},
191
181
  .btn-ghost-#{$name} {
@@ -0,0 +1,9 @@
1
+ .placeholder {
2
+ &:not(.btn):not([class*="bg-"]) {
3
+ background-color: currentColor !important;
4
+ }
5
+
6
+ &:not(.avatar):not([class*="card-img-"]), {
7
+ border-radius: $border-radius;
8
+ }
9
+ }
@@ -0,0 +1,172 @@
1
+ @keyframes status-pulsate-main {
2
+ 40% {
3
+ transform: scale(1.25, 1.25);
4
+ }
5
+ 60% {
6
+ transform: scale(1.25, 1.25);
7
+ }
8
+ }
9
+
10
+ @keyframes status-pulsate-secondary {
11
+ 10% {
12
+ transform: scale(1, 1)
13
+ }
14
+ 30% {
15
+ transform: scale(3, 3)
16
+ }
17
+ 80% {
18
+ transform: scale(3, 3)
19
+ }
20
+ 100% {
21
+ transform: scale(1, 1)
22
+ }
23
+ }
24
+
25
+ @keyframes status-pulsate-tertiary {
26
+ 25% {
27
+ transform: scale(1, 1);
28
+ }
29
+ 80% {
30
+ transform: scale(3, 3);
31
+ opacity: 0;
32
+ }
33
+ 100% {
34
+ transform: scale(3, 3);
35
+ opacity: 0;
36
+ }
37
+ }
38
+
39
+ //
40
+ // Status
41
+ //
42
+ .status {
43
+ --#{$variable-prefix}status-color: #{$text-muted};
44
+ --#{$variable-prefix}status-color-rgb: #{to-rgb($text-muted)};
45
+
46
+ display: inline-flex;
47
+ align-items: center;
48
+ height: 2rem;
49
+ padding: .5rem .75rem;
50
+ gap: .5rem;
51
+ color: var(--#{$variable-prefix}status-color);
52
+ background: rgba(var(--#{$variable-prefix}status-color-rgb), .1);
53
+ font-size: $font-size-base;
54
+ text-transform: none;
55
+ letter-spacing: normal;
56
+ border-radius: $border-radius-pill;
57
+ font-weight: $font-weight-medium;
58
+ line-height: 1;
59
+ margin: 0;
60
+
61
+ .status-dot {
62
+ background: var(--#{$variable-prefix}status-color);
63
+ }
64
+
65
+ .icon {
66
+ font-size: 1.25rem;
67
+ }
68
+ }
69
+
70
+ .status-lite {
71
+ border: 1px solid var(--#{$variable-prefix}border-color) !important;
72
+ background: transparent !important;
73
+ color: var(--#{$variable-prefix}body-text) !important;
74
+ }
75
+
76
+ @each $name, $color in theme-colors() {
77
+ .status-#{$name} {
78
+ --#{$variable-prefix}status-color: #{$color};
79
+ --#{$variable-prefix}status-color-rgb: #{to-rgb($color)};
80
+ }
81
+ }
82
+
83
+ //
84
+ // Status dot
85
+ //
86
+ .status-dot {
87
+ --#{$variable-prefix}status-dot-color: var(--#{$variable-prefix}status-color, #{$text-muted});
88
+ --#{$variable-prefix}status-size: #{$status-dot-size};
89
+ position: relative;
90
+ display: inline-block;
91
+ width: var(--#{$variable-prefix}status-size);
92
+ height: var(--#{$variable-prefix}status-size);
93
+ background: var(--#{$variable-prefix}status-dot-color);
94
+ border-radius: $border-radius-pill;
95
+ }
96
+
97
+ .status-dot-animated {
98
+ &:before {
99
+ content: '';
100
+ position: absolute;
101
+ inset: 0;
102
+ z-index: 0;
103
+ background: inherit;
104
+ border-radius: inherit;
105
+ opacity: .6;
106
+ animation: 1s linear 2s backwards infinite status-pulsate-tertiary;
107
+ }
108
+ }
109
+
110
+ $btn-colors: $theme-colors;
111
+
112
+ @if $enable-extra-colors {
113
+ $btn-colors: map-merge($btn-colors, $extra-colors);
114
+ }
115
+
116
+ @if $enable-social-colors {
117
+ $btn-colors: map-merge($btn-colors, $social-colors);
118
+ }
119
+
120
+ //
121
+ // Status indicator
122
+ //
123
+ .status-indicator {
124
+ --#{$variable-prefix}status-indicator-size: 2.5rem;
125
+ --#{$variable-prefix}status-indicator-color: var(--#{$variable-prefix}status-color, #{$text-muted});
126
+ display: block;
127
+ position: relative;
128
+ width: var(--#{$variable-prefix}status-indicator-size);
129
+ height: var(--#{$variable-prefix}status-indicator-size);
130
+ }
131
+
132
+ .status-indicator-circle {
133
+ --#{$variable-prefix}status-circle-size: .75rem;
134
+ position: absolute;
135
+ left: 50%;
136
+ top: 50%;
137
+ margin: calc(var(--#{$variable-prefix}status-circle-size) / -2) 0 0 calc(var(--#{$variable-prefix}status-circle-size) / -2);
138
+ width: var(--#{$variable-prefix}status-circle-size);
139
+ height: var(--#{$variable-prefix}status-circle-size);
140
+ border-radius: $border-radius-pill;
141
+ background: var(--#{$variable-prefix}status-color);
142
+
143
+ &:nth-child(1) {
144
+ z-index: 3;
145
+ }
146
+
147
+ &:nth-child(2) {
148
+ z-index: 2;
149
+ opacity: .1;
150
+ }
151
+
152
+ &:nth-child(3) {
153
+ z-index: 1;
154
+ opacity: .3;
155
+ }
156
+ }
157
+
158
+ .status-indicator-animated {
159
+ .status-indicator-circle {
160
+ &:nth-child(1) {
161
+ animation: 2s linear 1s infinite backwards status-pulsate-main;
162
+ }
163
+
164
+ &:nth-child(2) {
165
+ animation: 2s linear 1s infinite backwards status-pulsate-secondary;
166
+ }
167
+
168
+ &:nth-child(3) {
169
+ animation: 2s linear 1s infinite backwards status-pulsate-tertiary;
170
+ }
171
+ }
172
+ }
@@ -1,5 +1,5 @@
1
1
  %validation-lite {
2
- border-color: var(--#{$variable-prefix}border-color);
2
+ border-color: var(--#{$variable-prefix}border-color) !important;
3
3
  }
4
4
 
5
5
  @each $state, $data in $form-validation-states {
@@ -1,45 +1,18 @@
1
1
  // stylelint-disable declaration-no-important
2
2
 
3
- @each $color, $value in $theme-colors {
4
- .bg-#{"" + $color}-lt {
5
- color: $value !important;
6
- background: theme-color-lighter($value, true) !important;
3
+ // All colors
4
+ @each $color, $value in theme-colors() {
5
+ .bg-#{"" + $color} {
6
+ color: #ffffff !important;
7
+ background: $value !important;
7
8
  }
8
- }
9
9
 
10
- // Extra colors
11
- @if $enable-extra-colors {
12
- @each $color, $value in $extra-colors {
13
- .bg-#{"" + $color} {
14
- background: $value;
15
- }
16
-
17
- .text-#{"" + $color} {
18
- color: $value !important;
19
- }
20
-
21
- .bg-#{"" + $color}-lt {
22
- color: $value !important;
23
- background: theme-color-lighter($value, true) !important;
24
- }
10
+ .text-#{"" + $color} {
11
+ color: $value !important;
25
12
  }
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
13
 
40
- .bg-#{"" + $color}-lt {
41
- color: $value !important;
42
- background: theme-color-lighter($value, true) !important;
43
- }
14
+ .bg-#{"" + $color}-lt {
15
+ color: $value !important;
16
+ background: theme-color-lighter($value, true) !important;
44
17
  }
45
18
  }
@@ -0,0 +1,47 @@
1
+ $tooltip-bg-color: $dark;
2
+ $tooltip-font-family: inherit;
3
+ $tooltip-font-size: $h5-font-size;
4
+ $box-shadow: $card-shadow;
5
+ $legend-tick-sample-radius: $border-radius-pill;
6
+
7
+ @import "~jsvectormap/dist/css/jsvectormap";
8
+
9
+ .jvm-series-container .jvm-legend .jvm-legend-title {
10
+ border-bottom: 0;
11
+ font-weight: $font-weight-medium;
12
+ }
13
+
14
+ .jvm-series-container .jvm-legend {
15
+ background-color: var(--#{$variable-prefix}card-bg);
16
+ border: 1px solid var(--#{$variable-prefix}border-color);
17
+ min-width: 8rem;
18
+
19
+ .jvm-legend-inner .jvm-legend-tick {
20
+ display: flex;
21
+ align-items: center;
22
+
23
+ .jvm-legend-tick-sample {
24
+ width: .75rem;
25
+ height: .75rem;
26
+ }
27
+ }
28
+ }
29
+
30
+ .jvm-zoom-btn {
31
+ border: 1px solid var(--#{$variable-prefix}border-color);
32
+ background: var(--#{$variable-prefix}card-bg);
33
+ color: var(--#{$variable-prefix}body-color);
34
+ padding: 0;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ line-height: 1;
39
+ width: 1.5rem;
40
+ height: 1.5rem;
41
+ font-size: 1rem;
42
+ box-shadow: $card-shadow;
43
+
44
+ &.jvm-zoomout {
45
+ top: 2.5rem;
46
+ }
47
+ }
@@ -17,11 +17,13 @@
17
17
  fill: none !important;
18
18
  }
19
19
 
20
- .container__months {
20
+ .container__main {
21
21
  border: 1px solid var(--#{$variable-prefix}border-color);
22
22
  border-radius: $border-radius;
23
23
  box-shadow: $dropdown-box-shadow;
24
+ }
24
25
 
26
+ .container__months {
25
27
  .month-item-name,
26
28
  .month-item-year {
27
29
  font-weight: $font-weight-medium !important;