@syncfusion/ej2-base 19.2.55 → 19.3.47
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/.eslintrc.json +1 -1
- package/CHANGELOG.md +1 -89
- package/README.md +1 -1
- package/dist/ej2-base.umd.min.js +2 -2
- package/dist/ej2-base.umd.min.js.map +1 -1
- package/dist/es6/ej2-base.es2015.js +2650 -2401
- package/dist/es6/ej2-base.es2015.js.map +1 -1
- package/dist/es6/ej2-base.es5.js +3186 -2948
- package/dist/es6/ej2-base.es5.js.map +1 -1
- package/dist/global/ej2-base.min.js +2 -2
- package/dist/global/ej2-base.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/e2e/crypto.js +1 -1
- package/e2e/index.d.ts +0 -3
- package/e2e/m.protractor.config.js +1 -1
- package/e2e/protractor.config.js +1 -1
- package/helpers/e2e/base.js +3 -3
- package/package.json +7 -64
- package/src/ajax.d.ts +24 -10
- package/src/ajax.js +14 -6
- package/src/animation-model.d.ts +12 -4
- package/src/animation.d.ts +37 -12
- package/src/animation.js +48 -22
- package/src/base.d.ts +31 -11
- package/src/base.js +34 -16
- package/src/browser.d.ts +63 -25
- package/src/browser.js +60 -15
- package/src/child-property.d.ts +21 -10
- package/src/child-property.js +23 -13
- package/src/component-model.d.ts +4 -1
- package/src/component.d.ts +42 -5
- package/src/component.js +52 -35
- package/src/dom.d.ts +76 -25
- package/src/dom.js +128 -124
- package/src/draggable-model.d.ts +5 -0
- package/src/draggable.d.ts +4 -1
- package/src/draggable.js +8 -2
- package/src/droppable-model.d.ts +7 -4
- package/src/droppable.d.ts +7 -3
- package/src/droppable.js +1 -0
- package/src/event-handler.d.ts +10 -6
- package/src/event-handler.js +11 -7
- package/src/hijri-parser.d.ts +12 -0
- package/src/hijri-parser.js +111 -90
- package/src/internationalization.d.ts +54 -21
- package/src/internationalization.js +55 -18
- package/src/intl/date-formatter.d.ts +19 -8
- package/src/intl/date-formatter.js +36 -13
- package/src/intl/date-parser.d.ts +30 -23
- package/src/intl/date-parser.js +61 -42
- package/src/intl/intl-base.d.ts +123 -46
- package/src/intl/intl-base.js +451 -377
- package/src/intl/number-formatter.d.ts +45 -34
- package/src/intl/number-formatter.js +47 -35
- package/src/intl/number-parser.d.ts +11 -8
- package/src/intl/number-parser.js +14 -11
- package/src/intl/parser-base.d.ts +38 -13
- package/src/intl/parser-base.js +45 -16
- package/src/keyboard-model.d.ts +5 -2
- package/src/keyboard.d.ts +26 -8
- package/src/keyboard.js +24 -9
- package/src/l10n.d.ts +16 -7
- package/src/l10n.js +16 -7
- package/src/module-loader.d.ts +13 -8
- package/src/module-loader.js +13 -9
- package/src/notify-property-change.d.ts +19 -7
- package/src/notify-property-change.js +140 -24
- package/src/observer.d.ts +17 -5
- package/src/observer.js +19 -7
- package/src/sanitize-helper.d.ts +1 -0
- package/src/sanitize-helper.js +1 -1
- package/src/template-engine.d.ts +30 -4
- package/src/template-engine.js +37 -12
- package/src/template.d.ts +8 -3
- package/src/template.js +67 -19
- package/src/touch-model.d.ts +11 -4
- package/src/touch.d.ts +51 -9
- package/src/touch.js +45 -13
- package/src/util.d.ts +67 -37
- package/src/util.js +99 -49
- package/styles/_bootstrap-definition.scss +0 -1
- package/styles/_bootstrap5-dark-definition.scss +10 -0
- package/styles/_bootstrap5-definition.scss +9 -0
- package/styles/_fabric-dark-definition.scss +0 -1
- package/styles/_highcontrast-light-definition.scss +1 -0
- package/styles/_material-definition.scss +1 -0
- package/styles/bootstrap-dark.css +2613 -32
- package/styles/bootstrap.css +2613 -32
- package/styles/bootstrap4.css +2149 -32
- package/styles/bootstrap5-dark.css +2157 -0
- package/styles/bootstrap5-dark.scss +3 -0
- package/styles/bootstrap5.css +2157 -0
- package/styles/bootstrap5.scss +3 -0
- package/styles/common/_core.scss +28 -63
- package/styles/definition/_bootstrap-dark.scss +3 -3
- package/styles/definition/_bootstrap.scss +1 -1
- package/styles/definition/_bootstrap5-dark.scss +357 -0
- package/styles/definition/_bootstrap5.scss +356 -0
- package/styles/definition/_material-dark.scss +1 -1
- package/styles/definition/_tailwind-dark.scss +18 -1
- package/styles/definition/_tailwind.scss +17 -0
- package/styles/fabric-dark.css +2589 -32
- package/styles/fabric.css +2589 -32
- package/styles/highcontrast-light.css +2573 -32
- package/styles/highcontrast.css +2573 -32
- package/styles/material-dark.css +2549 -32
- package/styles/material.css +2549 -32
- package/styles/tailwind-dark.css +2221 -32
- package/styles/tailwind.css +2221 -32
- package/src/virtual-dom.d.ts +0 -32
- package/src/virtual-dom.js +0 -449
package/styles/common/_core.scss
CHANGED
|
@@ -1,71 +1,36 @@
|
|
|
1
1
|
@include export-module('base-core') {
|
|
2
2
|
/*! common core */
|
|
3
3
|
.e-control,
|
|
4
|
-
.e-css
|
|
4
|
+
.e-css {
|
|
5
5
|
font-family: $font-family;
|
|
6
6
|
font-size: $font-size;
|
|
7
7
|
font-weight: $font-weight;
|
|
8
|
-
|
|
9
|
-
$white: #fff;
|
|
10
|
-
$background: #e82824;
|
|
8
|
+
}
|
|
11
9
|
|
|
12
|
-
.
|
|
13
|
-
background: $background;
|
|
14
|
-
color: $white;
|
|
15
|
-
font-family: 'Segoe UI';
|
|
16
|
-
font-size: medium;
|
|
17
|
-
left: 0;
|
|
18
|
-
line-height: 45px;
|
|
19
|
-
opacity: .75;
|
|
20
|
-
position: fixed;
|
|
21
|
-
right: 0;
|
|
22
|
-
text-align: center;
|
|
23
|
-
top: 0;
|
|
24
|
-
z-index: 999999999;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.sf-license-close-btn {
|
|
28
|
-
background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgaGVpZ2h0PSIyMCIgd2lkdGg9IjIwIiB2aWV3Qm94PSIwIDAgMjU2IDI1NiI+ICA8Zz4gICAgPHBhdGggaWQ9InBhdGgxIiB0cmFuc2Zvcm09InJvdGF0ZSgxLDEyOCwxMjgpIHRyYW5zbGF0ZSg1OS4wMTA3Nzk0NDEwNDU1LDU5KSBzY2FsZSg0LjMxMjUwMDI1NzA0NTA1LDQuMzEyNTAwMjU3MDQ1MDUpIiBmaWxsPSIjZmZmZmZmIiBkPSJNMjkuNTkwODE4LDBDMzAuMjA2OTYzLDAgMzAuODIzMjI3LDAuMjM0NDk5OTMgMzEuMjkyMjI5LDAuNzAzNDk5NzkgMzIuMjI5MjU2LDEuNjQwNTAwMSAzMi4yMjkyNTYsMy4xNjA1MDA1IDMxLjI5MjIyOSw0LjEwMDQ5OTJMMTkuMzk4MDAzLDE1Ljk5ODQ5OCAzMS4yOTIyMjksMjcuODkyNDk1QzMyLjIyOTI1NiwyOC44Mjk0OTkgMzIuMjI5MjU2LDMwLjM0OTQ5NiAzMS4yOTIyMjksMzEuMjk0NDk2IDMwLjM1NDIyNywzMi4yMzE1IDI4LjgyNzE2NCwzMi4yMzE1IDI3Ljg5MDEzOSwzMS4yOTQ0OTZMMTUuOTk3OTg4LDE5LjM5OTQ5OSA0LjEwNDc5OTIsMzEuMjk2NTAyQzMuMTY3NzczNCwzMi4yMzQ0OTggMS42Mzk3MzQ3LDMyLjIzNDQ5OCAwLjcwMjc2OTY5LDMxLjI5NjUwMiAtMC4yMzQyNTY1NiwzMC4zNTI1MDIgLTAuMjM0MjU2NTYsMjguODMyNDk4IDAuNzAyNzY5NjksMjcuODk0NTAyTDEyLjU5NjkzNCwxNS45OTg0OTggMC43MDI3Njk2OSw0LjEwMjQ5ODFDLTAuMjM0MjU2NTYsMy4xNjU0OTc4IC0wLjIzNDI1NjU2LDEuNjQ1NDk3MyAwLjcwMjc2OTY5LDAuNzA1NDk4NyAxLjYzOTczNDcsLTAuMjMxNTAxNTggMy4xNjc3NzM0LC0wLjIzMTUwMTU4IDQuMTA0Nzk5MiwwLjcwNTQ5ODdMMTUuOTk2OTUsMTIuNTk3NDk3IDI3Ljg5MDEzOSwwLjcwMzQ5OTc5QzI4LjM1ODY1LDAuMjM0NDk5OTMsMjguOTc0Njc0LDAsMjkuNTkwODE4LDB6IiAvPiAgPC9nPjwvc3ZnPg==');
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
height: 20px;
|
|
31
|
-
margin-top: 14px;
|
|
32
|
-
padding-top: 10px;
|
|
33
|
-
position: absolute;
|
|
34
|
-
right: 20px;
|
|
35
|
-
width: 20px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
$warning: #ffd800;
|
|
39
|
-
|
|
40
|
-
.sf-license-warning a,
|
|
41
|
-
.sf-license-warning a:hover {
|
|
42
|
-
color: $warning;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
#{&} .e-error {
|
|
10
|
+
.e-error {
|
|
46
11
|
color: $error-font-color;
|
|
47
12
|
font-family: $font-family;
|
|
48
13
|
font-size: $font-size;
|
|
49
14
|
font-weight: $font-weight;
|
|
50
|
-
|
|
15
|
+
}
|
|
51
16
|
|
|
52
17
|
.e-control,
|
|
53
18
|
.e-control [class^='e-'],
|
|
54
19
|
.e-control [class*=' e-'] {
|
|
55
20
|
box-sizing: border-box;
|
|
56
|
-
|
|
21
|
+
}
|
|
57
22
|
|
|
58
23
|
.e-control:focus,
|
|
59
24
|
.e-control *:focus {
|
|
60
25
|
outline: none;
|
|
61
|
-
|
|
26
|
+
}
|
|
62
27
|
|
|
63
|
-
|
|
28
|
+
.e-rtl {
|
|
64
29
|
direction: rtl;
|
|
65
30
|
text-align: right;
|
|
66
|
-
|
|
31
|
+
}
|
|
67
32
|
|
|
68
|
-
|
|
33
|
+
.e-overlay {
|
|
69
34
|
background-color: $overlay-bg-color;
|
|
70
35
|
filter: alpha(opacity=50);
|
|
71
36
|
height: 100%;
|
|
@@ -73,44 +38,44 @@
|
|
|
73
38
|
pointer-events: none;
|
|
74
39
|
touch-action: none;
|
|
75
40
|
width: 100%;
|
|
76
|
-
|
|
41
|
+
}
|
|
77
42
|
|
|
78
|
-
|
|
43
|
+
.e-hidden {
|
|
79
44
|
display: none;
|
|
80
|
-
|
|
45
|
+
}
|
|
81
46
|
|
|
82
|
-
|
|
47
|
+
.e-blazor-hidden {
|
|
83
48
|
visibility: hidden;
|
|
84
|
-
|
|
49
|
+
}
|
|
85
50
|
|
|
86
|
-
|
|
51
|
+
.e-disabled {
|
|
87
52
|
background-image: none;
|
|
88
53
|
cursor: default;
|
|
89
54
|
filter: alpha(Opacity=35);
|
|
90
55
|
opacity: .35;
|
|
91
|
-
|
|
56
|
+
}
|
|
92
57
|
|
|
93
|
-
|
|
58
|
+
.e-ul {
|
|
94
59
|
list-style-type: none;
|
|
95
|
-
|
|
60
|
+
}
|
|
96
61
|
|
|
97
|
-
|
|
62
|
+
.e-prevent-select {
|
|
98
63
|
user-select: none;
|
|
99
|
-
|
|
64
|
+
}
|
|
100
65
|
|
|
101
|
-
|
|
66
|
+
.e-warning {
|
|
102
67
|
color: $warning-font-color;
|
|
103
|
-
|
|
68
|
+
}
|
|
104
69
|
|
|
105
|
-
|
|
70
|
+
.e-success {
|
|
106
71
|
color: $success-font-color;
|
|
107
|
-
|
|
72
|
+
}
|
|
108
73
|
|
|
109
|
-
|
|
74
|
+
.e-information {
|
|
110
75
|
color: $information-font-color;
|
|
111
|
-
|
|
76
|
+
}
|
|
112
77
|
|
|
113
|
-
|
|
78
|
+
.e-block-touch {
|
|
114
79
|
touch-action: pinch-zoom;
|
|
115
|
-
|
|
80
|
+
}
|
|
116
81
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
$brand-primary: #0070f0 !default;
|
|
1
|
+
$brand-primary: #0070f0 !default !default;
|
|
2
2
|
$brand-primary-darken-10: darken($brand-primary, 10%) !default;
|
|
3
3
|
$brand-primary-darken-15: darken($brand-primary, 20%) !default;
|
|
4
4
|
$brand-primary-darken-25: darken($brand-primary, 30%) !default;
|
|
@@ -49,12 +49,12 @@ $brand-warning-font: #9d6106 !default;
|
|
|
49
49
|
$brand-danger-font: #ac2a2a !default;
|
|
50
50
|
$base-font: #000 !default;
|
|
51
51
|
$shadow: #000 !default;
|
|
52
|
+
$skin-name: 'bootstrap-dark' !default;
|
|
52
53
|
|
|
53
54
|
// mapping Bootstrap variables
|
|
54
|
-
$grey-base: $gray-base
|
|
55
|
+
$grey-base: $gray-base !default;
|
|
55
56
|
$grey-darker: $gray-darker !default;
|
|
56
57
|
$grey-dark: $gray-dark !default;
|
|
57
58
|
$grey: $gray !default;
|
|
58
59
|
$grey-light: $gray-light !default;
|
|
59
60
|
$grey-lighter: $gray-lighter !default;
|
|
60
|
-
$skin-name: 'bootstrap-dark' !default;
|
|
@@ -44,6 +44,7 @@ $brand-warning-font: #8a6d3b !default;
|
|
|
44
44
|
$brand-danger-font: #a94442 !default;
|
|
45
45
|
$base-font: #000 !default;
|
|
46
46
|
$shadow: #000 !default;
|
|
47
|
+
$skin-name: 'bootstrap' !default;
|
|
47
48
|
|
|
48
49
|
// mapping Bootstrap variables
|
|
49
50
|
$grey-base: $gray-base !default;
|
|
@@ -52,4 +53,3 @@ $grey-dark: $gray-dark !default;
|
|
|
52
53
|
$grey: $gray !default;
|
|
53
54
|
$grey-light: $gray-light !default;
|
|
54
55
|
$grey-lighter: $gray-lighter !default;
|
|
55
|
-
$skin-name: 'bootstrap' !default;
|
|
@@ -0,0 +1,357 @@
|
|
|
1
|
+
// color system
|
|
2
|
+
|
|
3
|
+
// black
|
|
4
|
+
$black: #000 !default;
|
|
5
|
+
|
|
6
|
+
// White
|
|
7
|
+
$white: #fff !default;
|
|
8
|
+
|
|
9
|
+
@function shade-color($color, $percentage) {
|
|
10
|
+
@return mix($black, $color, $percentage);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@function tint-color($color, $percentage) {
|
|
14
|
+
@return mix($white, $color, $percentage);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// Transparent
|
|
18
|
+
$transparent: transparent;
|
|
19
|
+
|
|
20
|
+
// scss-docs-start gray-color-variables
|
|
21
|
+
$gray-100: #f8f9fa !default;//
|
|
22
|
+
$gray-200: #e9ecef !default;//
|
|
23
|
+
$gray-300: #dee2e6 !default;//
|
|
24
|
+
$gray-400: #ced4da !default;//
|
|
25
|
+
$gray-500: #adb5bd !default;//
|
|
26
|
+
$gray-600: #6c757d !default;//
|
|
27
|
+
$gray-700: #495057 !default;//
|
|
28
|
+
$gray-800: #343a40 !default;//
|
|
29
|
+
$gray-900: #212529 !default;//
|
|
30
|
+
|
|
31
|
+
// scss-docs-start color-variables
|
|
32
|
+
$blue: #0d6efd !default;
|
|
33
|
+
$indigo: #6610f2 !default;
|
|
34
|
+
$purple: #6f42c1 !default;
|
|
35
|
+
$pink: #d63384 !default;
|
|
36
|
+
$red: #dc3545 !default;
|
|
37
|
+
$orange: #fd7e14 !default;
|
|
38
|
+
$yellow: #ffc107 !default;
|
|
39
|
+
$green: #198754 !default;
|
|
40
|
+
$teal: #20c997 !default;
|
|
41
|
+
$cyan: #0dcaf0 !default;
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
$primary: $blue !default;
|
|
45
|
+
$secondary: $gray-600 !default;
|
|
46
|
+
$success: lighten($green, 10%) !default;
|
|
47
|
+
$info: $cyan !default;
|
|
48
|
+
$warning: $yellow !default;
|
|
49
|
+
$danger: lighten($red, 10%) !default;
|
|
50
|
+
$success-light: tint-color($success, 80%) !default;
|
|
51
|
+
$info-light: tint-color($info, 80%) !default;
|
|
52
|
+
$warning-light: tint-color($warning, 80%) !default;
|
|
53
|
+
$danger-light: tint-color($danger, 80%) !default;
|
|
54
|
+
$primary-text-color: $white !default;
|
|
55
|
+
$primary-light: tint-color($primary, 50%) !default;
|
|
56
|
+
$primary-lighter: shade-color($primary, 80%) !default;
|
|
57
|
+
$success-dark: darken($success, 10%) !default;
|
|
58
|
+
$info-dark: darken($info, 25%) !default;
|
|
59
|
+
$warning-dark: darken($warning, 25%) !default;
|
|
60
|
+
$danger-dark: darken($danger, 10%) !default;
|
|
61
|
+
$success-light-alt: darken($green, 20%) !default;
|
|
62
|
+
$info-light-alt: darken($cyan, 25%) !default;
|
|
63
|
+
$warning-light-alt: darken($yellow, 20%) !default;
|
|
64
|
+
$danger-light-alt: darken($red, 25%) !default;
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
// backgroundcolor
|
|
69
|
+
$content-bg-color: $gray-900 !default;
|
|
70
|
+
$content-bg-color-alt1: lighten($gray-900, 3%) !default;
|
|
71
|
+
$content-bg-color-alt2: $gray-800 !default;
|
|
72
|
+
$content-bg-color-alt3: $gray-700 !default;
|
|
73
|
+
$content-bg-color-alt4: $gray-600 !default;
|
|
74
|
+
$content-bg-color-alt5: $gray-500 !default;
|
|
75
|
+
$content-bg-color-hover: lighten($content-bg-color, 7%) !default;
|
|
76
|
+
$content-bg-color-pressed: $gray-700 !default;
|
|
77
|
+
$content-bg-color-focus: $content-bg-color-hover !default;
|
|
78
|
+
$content-bg-color-selected: $primary !default;
|
|
79
|
+
$content-bg-color-dragged: $gray-800 !default;
|
|
80
|
+
$content-bg-color-disabled: $content-bg-color !default;
|
|
81
|
+
$flyout-bg-color: $gray-800 !default;
|
|
82
|
+
$flyout-bg-color-hover: lighten($flyout-bg-color, 7%) !default;
|
|
83
|
+
$flyout-bg-color-pressed: $primary !default;
|
|
84
|
+
$flyout-bg-color-focus: $flyout-bg-color-hover !default;
|
|
85
|
+
$flyout-border: $gray-700 !default;
|
|
86
|
+
$overlay-bg-color: rgba($black, .4) !default;
|
|
87
|
+
$table-bg-color-hover: lighten($content-bg-color, 7%) !default;
|
|
88
|
+
$table-bg-color-pressed: $gray-700 !default;
|
|
89
|
+
$table-bg-color-selected: lighten($content-bg-color, 12%) !default;
|
|
90
|
+
|
|
91
|
+
//All theme commoon color
|
|
92
|
+
$colorpicker-gradient-1: #f00 !default;
|
|
93
|
+
$colorpicker-gradient-2: #ff0 !default;
|
|
94
|
+
$ccolorpicker-gradient-3: #0f0 !default;
|
|
95
|
+
$colorpicker-gradient-4: #0ff !default;
|
|
96
|
+
$colorpicker-gradient-5: #00f !default;
|
|
97
|
+
$colorpicker-gradient-6: #f0f !default;
|
|
98
|
+
$colorpicker-gradient-7: #ff0004 !default;
|
|
99
|
+
$spreadsheet-selection-1: #673ab8;
|
|
100
|
+
$spreadsheet-selection-2: #9c27b0;
|
|
101
|
+
$spreadsheet-selection-3: #029688;
|
|
102
|
+
$spreadsheet-selection-4: #4caf51;
|
|
103
|
+
$spreadsheet-selection-5: #fe9800;
|
|
104
|
+
$spreadsheet-selection-6: #3f52b5;
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
// text-color
|
|
108
|
+
$content-text-color: $white !default;
|
|
109
|
+
$content-text-color-alt1: $gray-200 !default;
|
|
110
|
+
$content-text-color-alt2: $gray-400 !default;
|
|
111
|
+
$content-text-color-alt3: lighten($gray-600, 6%) !default;
|
|
112
|
+
$content-text-color-hover: $white !default;
|
|
113
|
+
$content-text-color-pressed: $white !default;
|
|
114
|
+
$content-text-color-focus: $white !default;
|
|
115
|
+
$content-text-color-selected: $primary-text-color !default;
|
|
116
|
+
$content-text-color-dragged: $white !default;
|
|
117
|
+
$content-text-color-disabled: $gray-600 !default;
|
|
118
|
+
$placeholder-text-color: $gray-600 !default;
|
|
119
|
+
$flyout-text-color: $white !default;
|
|
120
|
+
$flyout-text-color-hover: $white !default;
|
|
121
|
+
$flyout-text-color-pressed: $primary-text-color !default;
|
|
122
|
+
$flyout-text-color-focus: $white !default;
|
|
123
|
+
$table-text-color-hover: $white !default;
|
|
124
|
+
$table-text-color-pressed: $white !default;
|
|
125
|
+
$table-text-color-selected: $white !default;
|
|
126
|
+
|
|
127
|
+
// icon-color
|
|
128
|
+
$icon-color: $gray-500 !default;
|
|
129
|
+
$icon-color-hover: $gray-300 !default;
|
|
130
|
+
$icon-color-pressed: $gray-100 !default;
|
|
131
|
+
$icon-color-disabled: $gray-500 !default;
|
|
132
|
+
|
|
133
|
+
// border-color
|
|
134
|
+
$border-light: lighten($gray-800, 7%) !default;
|
|
135
|
+
$border: $gray-600 !default;
|
|
136
|
+
$border-dark: $gray-500 !default;
|
|
137
|
+
$border-hover: $gray-700 !default;
|
|
138
|
+
$border-pressed: $gray-600 !default;
|
|
139
|
+
$border-focus: $gray-700 !default;
|
|
140
|
+
$border-selected: $gray-600 !default;
|
|
141
|
+
$border-dragged: $gray-600 !default;
|
|
142
|
+
$border-disabled: $border-light !default;
|
|
143
|
+
$border-warning: lighten($yellow, 10%) !default;
|
|
144
|
+
$border-error: lighten($red, 10%) !default;
|
|
145
|
+
$border-success: lighten($green, 10%) !default;
|
|
146
|
+
$spreadsheet-gridline: $gray-300 !default;
|
|
147
|
+
|
|
148
|
+
// Tooltip
|
|
149
|
+
$tooltip-bg-color: $gray-200 !default;
|
|
150
|
+
$tooltip-border: $gray-200;
|
|
151
|
+
$toooltip-text-color: $gray-900 !default;
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
// shadow
|
|
156
|
+
$shadow: 0 .8px 16px rgba($black, .15) !default;
|
|
157
|
+
$shadow-sm: 0 2px 4px rgba($black, .075) !default;
|
|
158
|
+
$shadow-md: 0 8px 12px rgba($black, .15) !default;
|
|
159
|
+
$shadow-lg: 0 16px 48px rgba($black, .175) !default;
|
|
160
|
+
$shadow-xl: 0 20px 25px -5px rgba($black, .1), 0 10px 10px -5px rgba($black, .04) !default;
|
|
161
|
+
$shadow-2xl: 0 25px 50px -12px rgba($black, .25) !default;
|
|
162
|
+
$shadow-inner: inset 0 1px 2px rgba($black, .075) !default;
|
|
163
|
+
$shadow-none: 0 0 rgba($black, 0) !default;
|
|
164
|
+
$shadow-focus-ring1: 0 0 0 4px rgba($primary, .25) !default;
|
|
165
|
+
$shadow-focus-ring2: 0 0 0 4px rgba($primary, .25) !default;
|
|
166
|
+
$primary-shadow-focus: 0 0 0 4px rgba(tint-color($primary, 15%), .5) !default;
|
|
167
|
+
$secondary-shadow-focus: 0 0 0 4px rgba(tint-color($secondary, 15%), .5) !default;
|
|
168
|
+
$success-shadow-focus: 0 0 0 4px rgba(tint-color($success, 15%), .5) !default;
|
|
169
|
+
$danger-shadow-focus: 0 0 0 4px rgba(tint-color($danger, 15%), .5) !default;
|
|
170
|
+
$info-shadow-focus: 0 0 0 4px rgba(tint-color($info, 15%), .5) !default;
|
|
171
|
+
$warning-shadow-focus: 0 0 0 4px rgba(tint-color($warning, 15%), .5) !default;
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
// fontfamily
|
|
175
|
+
$font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji' !default;
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
// default font Size
|
|
179
|
+
$text-xxs: 10px !default;
|
|
180
|
+
$text-xs: 12px !default;
|
|
181
|
+
$text-sm: 14px !default;
|
|
182
|
+
$text-base: 16px !default;
|
|
183
|
+
$text-lg: 18px !default;
|
|
184
|
+
$text-xl: 20px !default;
|
|
185
|
+
$text-2xl: 24px !default;
|
|
186
|
+
$text-3xl: 30px !default;
|
|
187
|
+
$text-4xl: 36px !default;
|
|
188
|
+
$text-5xl: 48px !default;
|
|
189
|
+
$text-6xl: 60px !default;
|
|
190
|
+
$text-7xl: 72px !default;
|
|
191
|
+
$text-8xl: 96px !default;
|
|
192
|
+
$text-9xl: 128px !default;
|
|
193
|
+
|
|
194
|
+
// heading
|
|
195
|
+
$h1-font-size: 40px !default;
|
|
196
|
+
$h2-font-size: 32px !default;
|
|
197
|
+
$h3-font-size: 28px !default;
|
|
198
|
+
$h4-font-size: $text-2xl !default;
|
|
199
|
+
$h5-font-size: $text-xl !default;
|
|
200
|
+
$h6-font-size: $text-base !default;
|
|
201
|
+
|
|
202
|
+
// Display
|
|
203
|
+
|
|
204
|
+
// Line height
|
|
205
|
+
$leading-none: 1 !default;
|
|
206
|
+
$leading-tight: 1.25 !default;
|
|
207
|
+
$leading-snug: 1.375 !default;
|
|
208
|
+
$leading-normal: 1.5 !default;
|
|
209
|
+
$leading-relaxed: 1.625 !default;
|
|
210
|
+
$leading-loose: 2 !default;
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
// font Weight
|
|
214
|
+
$font-weight-lighter: lighter !default;
|
|
215
|
+
$font-weight-light: 300 !default;
|
|
216
|
+
$font-weight-normal: 400 !default;
|
|
217
|
+
$font-weight-medium: 500 !default;
|
|
218
|
+
$font-weight-bold: 700 !default;
|
|
219
|
+
$font-weight-bolder: bolder !default;
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
// Secondary-button
|
|
223
|
+
|
|
224
|
+
$secondary-bg-color: $secondary !default;
|
|
225
|
+
$secondary-border-color: $secondary-bg-color !default;
|
|
226
|
+
$secondary-text-color: $white !default;
|
|
227
|
+
$secondary-bg-color-hover: shade-color($secondary-bg-color, 15%) !default;
|
|
228
|
+
$secondary-border-color-hover: shade-color($secondary-bg-color, 20%) !default;
|
|
229
|
+
$secondary-text-color-hover: $secondary-text-color !default;
|
|
230
|
+
$secondary-bg-color-pressed: shade-color($secondary-bg-color, 20%) !default;
|
|
231
|
+
$secondary-border-color-pressed: shade-color($secondary-bg-color, 25%) !default;
|
|
232
|
+
$secondary-text-color-pressed: $secondary-text-color !default;
|
|
233
|
+
$secondary-bg-color-focus: $secondary-bg-color-hover !default;
|
|
234
|
+
$secondary-border-color-focus: $secondary-border-color-hover !default;
|
|
235
|
+
$secondary-text-color-focus: $secondary-text-color-hover !default;
|
|
236
|
+
$secondary-bg-color-disabled: rgba($secondary-bg-color, .65) !default;
|
|
237
|
+
$secondary-border-color-disabled: $secondary-bg-color-disabled !default;
|
|
238
|
+
$secondary-text-color-disabled: rgba($secondary-text-color, .65) !default;
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
// Primary-button
|
|
243
|
+
|
|
244
|
+
$primary-bg-color: $primary !default;
|
|
245
|
+
$primary-border-color: $primary !default;
|
|
246
|
+
$primary-text: $primary-text-color !default;
|
|
247
|
+
$primary-bg-color-hover: shade-color($primary-bg-color, 15%) !default;
|
|
248
|
+
$primary-border-color-hover: shade-color($primary-bg-color, 20%) !default;
|
|
249
|
+
$primary-text-hover: $primary-text !default;
|
|
250
|
+
$primary-bg-color-pressed: shade-color($primary-bg-color, 20%) !default;
|
|
251
|
+
$primary-border-color-pressed: shade-color($primary-bg-color, 25%) !default;
|
|
252
|
+
$primary-text-pressed: $primary-text-color !default;
|
|
253
|
+
$primary-bg-color-focus: $primary-bg-color-hover !default;
|
|
254
|
+
$primary-border-color-focus: $primary-border-color-hover !default;
|
|
255
|
+
$primary-text-focus: $primary-text !default;
|
|
256
|
+
$primary-bg-color-disabled: rgba($primary-bg-color, .65) !default;
|
|
257
|
+
$primary-border-color-disabled: $primary-bg-color-disabled !default;
|
|
258
|
+
$primary-text-disabled: rgba($primary-text, .65) !default;
|
|
259
|
+
|
|
260
|
+
// Success-button
|
|
261
|
+
|
|
262
|
+
$success-bg-color: $green !default;
|
|
263
|
+
$success-border-color: $green !default;
|
|
264
|
+
$success-text: $white !default;
|
|
265
|
+
$success-bg-color-hover: shade-color($success-bg-color, 15%) !default;
|
|
266
|
+
$success-border-color-hover: shade-color($success-bg-color, 20%) !default;
|
|
267
|
+
$success-text-hover: $success-text !default;
|
|
268
|
+
$success-bg-color-pressed: shade-color($success-bg-color, 20%) !default;
|
|
269
|
+
$success-border-color-pressed: shade-color($success-bg-color, 25%) !default;
|
|
270
|
+
$success-text-pressed: $success-text !default;
|
|
271
|
+
$success-bg-color-focus: $success-bg-color-hover !default;
|
|
272
|
+
$success-border-color-focus: $success-border-color-hover !default;
|
|
273
|
+
$success-text-focus: $success-text !default;
|
|
274
|
+
$success-bg-color-disabled: rgba($success-bg-color, .65) !default;
|
|
275
|
+
$success-border-color-disabled: $success-bg-color-disabled !default;
|
|
276
|
+
$success-text-disabled: rgba($success-text, .65) !default;
|
|
277
|
+
|
|
278
|
+
// Warning-button
|
|
279
|
+
$warning-bg-color: $yellow !default;
|
|
280
|
+
$warning-border-color: $yellow !default;
|
|
281
|
+
$warning-text: $black !default;
|
|
282
|
+
$warning-bg-color-hover: tint-color($warning-bg-color, 15%) !default;
|
|
283
|
+
$warning-border-color-hover: tint-color($warning-bg-color, 10%) !default;
|
|
284
|
+
$warning-text-hover: $warning-text !default;
|
|
285
|
+
$warning-bg-color-pressed: tint-color($warning-bg-color, 20%) !default;
|
|
286
|
+
$warning-border-color-pressed: tint-color($warning-bg-color, 10%) !default;
|
|
287
|
+
$warning-text-pressed: $warning-text !default;
|
|
288
|
+
$warning-bg-color-focus: $warning-bg-color-hover !default;
|
|
289
|
+
$warning-border-color-focus: $warning-border-color-hover !default;
|
|
290
|
+
$warning-text-focus: $warning-text !default;
|
|
291
|
+
$warning-bg-color-disabled: rgba($warning-bg-color, .65) !default;
|
|
292
|
+
$warning-border-color-disabled: $warning-bg-color-disabled !default;
|
|
293
|
+
$warning-text-disabled: rgba($warning-text, .65) !default;
|
|
294
|
+
|
|
295
|
+
// danger-button
|
|
296
|
+
$danger-bg-color: $red !default;
|
|
297
|
+
$danger-border-color: $red !default;
|
|
298
|
+
$danger-text: $white !default;
|
|
299
|
+
$danger-bg-color-hover: shade-color($danger-bg-color, 15%) !default;
|
|
300
|
+
$danger-border-color-hover: shade-color($danger-bg-color, 20%) !default;
|
|
301
|
+
$danger-text-hover: $danger-text !default;
|
|
302
|
+
$danger-bg-color-pressed: shade-color($danger-bg-color, 20%) !default;
|
|
303
|
+
$danger-border-color-pressed: shade-color($danger-bg-color, 25%) !default;
|
|
304
|
+
$danger-text-pressed: $danger-text !default;
|
|
305
|
+
$danger-bg-color-focus: $danger-bg-color-hover !default;
|
|
306
|
+
$danger-border-color-focus: $danger-border-color-hover !default;
|
|
307
|
+
$danger-text-focus: $danger-text !default;
|
|
308
|
+
$danger-bg-color-disabled: rgba($danger-bg-color, .65) !default;
|
|
309
|
+
$danger-border-color-disabled: $danger-bg-color-disabled !default;
|
|
310
|
+
$danger-text-disabled: rgba($danger-text, .65) !default;
|
|
311
|
+
|
|
312
|
+
// Info-button
|
|
313
|
+
$info-bg-color: $cyan !default;
|
|
314
|
+
$info-border-color: $cyan !default;
|
|
315
|
+
$info-text: $black !default;
|
|
316
|
+
$info-bg-color-hover: tint-color($info-bg-color, 15%) !default;
|
|
317
|
+
$info-border-color-hover: tint-color($info-bg-color, 10%) !default;
|
|
318
|
+
$info-text-hover: $info-text !default;
|
|
319
|
+
$info-bg-color-pressed: tint-color($info-bg-color, 20%) !default;
|
|
320
|
+
$info-border-color-pressed: tint-color($info-bg-color, 10%) !default;
|
|
321
|
+
$info-text-pressed: $info-text !default;
|
|
322
|
+
$info-bg-color-focus: $info-bg-color-hover !default;
|
|
323
|
+
$info-border-color-focus: $info-border-color-hover !default;
|
|
324
|
+
$info-text-focus: $info-text-hover !default;
|
|
325
|
+
$info-bg-color-disabled: rgba($info-bg-color, .65) !default;
|
|
326
|
+
$info-border-color-disabled: $info-bg-color-disabled !default;
|
|
327
|
+
$info-text-disabled: rgba($info-text, .65) !default;
|
|
328
|
+
|
|
329
|
+
//Outline button
|
|
330
|
+
$primary-outline: lighten($primary, 10%) !default;
|
|
331
|
+
$secondary-outline: lighten($secondary, 10%) !default;
|
|
332
|
+
$warning-outline: lighten($warning, 10%) !default;
|
|
333
|
+
$danger-outline: lighten($danger, 10%) !default;
|
|
334
|
+
$success-outline: lighten($success, 10%) !default;
|
|
335
|
+
$info-outline: lighten($info, 10%) !default;
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
// Chart series
|
|
340
|
+
$series-1: $gray-800;
|
|
341
|
+
$series-2: $gray-700;
|
|
342
|
+
$series-3: $gray-600;
|
|
343
|
+
$series-4: $gray-500;
|
|
344
|
+
$series-5: #5ecb9b;
|
|
345
|
+
$series-6: #a860f1;
|
|
346
|
+
$series-7: #557ef7;
|
|
347
|
+
$series-8: #eba844;
|
|
348
|
+
$series-9: #e9599b;
|
|
349
|
+
$series-10: #3bc6cf;
|
|
350
|
+
$series-11: #74b706;
|
|
351
|
+
$series-12: #ea6266;
|
|
352
|
+
$skin-name: 'bootstrap5' !default;
|
|
353
|
+
|
|
354
|
+
//Diagram Palette color
|
|
355
|
+
$diagram-palette-background: $gray-300 !default;
|
|
356
|
+
$diagram-palette-hover-background: $gray-400 !default;
|
|
357
|
+
|