@progress/kendo-theme-core 10.6.0 → 11.0.0-dev.1

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 (102) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/meta/variables.json +0 -8
  3. package/package.json +2 -2
  4. package/scss/_variables.scss +0 -1
  5. package/scss/color-system/_functions.import.scss +22 -22
  6. package/scss/color-system/_palettes.scss +0 -2
  7. package/scss/color-system/_swatch.scss +4 -6
  8. package/scss/components/action-sheet/_layout.scss +2 -1
  9. package/scss/components/action-sheet/_variables.scss +2 -0
  10. package/scss/components/adaptive/_theme.scss +4 -4
  11. package/scss/components/appbar/_theme.scss +2 -3
  12. package/scss/components/appbar/_variables.scss +4 -0
  13. package/scss/components/avatar/_theme.scss +1 -1
  14. package/scss/components/avatar/_variables.scss +2 -0
  15. package/scss/components/badge/_layout.scss +3 -3
  16. package/scss/components/badge/_theme.scss +4 -5
  17. package/scss/components/badge/_variables.scss +3 -1
  18. package/scss/components/bottom-navigation/_theme.scss +7 -8
  19. package/scss/components/bottom-navigation/_variables.scss +4 -0
  20. package/scss/components/breadcrumb/_layout.scss +1 -2
  21. package/scss/components/button/_layout.scss +2 -9
  22. package/scss/components/button/_theme.scss +36 -37
  23. package/scss/components/button/_variables.scss +1 -0
  24. package/scss/components/calendar/_layout.scss +3 -1
  25. package/scss/components/calendar/_theme.scss +5 -3
  26. package/scss/components/calendar/_variables.scss +7 -1
  27. package/scss/components/card/_theme.scss +8 -5
  28. package/scss/components/card/_variables.scss +2 -0
  29. package/scss/components/chat/_theme.scss +3 -4
  30. package/scss/components/checkbox/_layout.scss +1 -8
  31. package/scss/components/chip/_layout.scss +1 -0
  32. package/scss/components/chip/_theme.scss +41 -24
  33. package/scss/components/chip/_variables.scss +6 -0
  34. package/scss/components/colorgradient/_layout.scss +1 -10
  35. package/scss/components/colorgradient/_variables.scss +0 -6
  36. package/scss/components/dataviz/_layout.scss +11 -12
  37. package/scss/components/dataviz/_theme.scss +11 -12
  38. package/scss/components/dataviz/_variables.scss +8 -0
  39. package/scss/components/dialog/_theme.scss +4 -1
  40. package/scss/components/dialog/_variables.scss +2 -0
  41. package/scss/components/drawer/_layout.scss +6 -2
  42. package/scss/components/drawer/_theme.scss +5 -0
  43. package/scss/components/drawer/_variables.scss +7 -0
  44. package/scss/components/editor/_theme.scss +7 -7
  45. package/scss/components/editor/_variables.scss +4 -0
  46. package/scss/components/fab/_theme.scss +15 -15
  47. package/scss/components/filter/_theme.scss +3 -3
  48. package/scss/components/floating-label/_theme.scss +2 -2
  49. package/scss/components/forms/_layout.scss +8 -2
  50. package/scss/components/forms/_theme.scss +5 -5
  51. package/scss/components/gantt/_theme.scss +3 -4
  52. package/scss/components/grid/_theme.scss +10 -21
  53. package/scss/components/input/_layout.scss +2 -26
  54. package/scss/components/input/_theme.scss +7 -7
  55. package/scss/components/list/_layout.scss +21 -4
  56. package/scss/components/list/_theme.scss +1 -1
  57. package/scss/components/list/_variables.scss +24 -0
  58. package/scss/components/listbox/_theme.scss +2 -2
  59. package/scss/components/loader/_theme.scss +2 -2
  60. package/scss/components/loader/_variables.scss +2 -0
  61. package/scss/components/marquee/_index.scss +16 -0
  62. package/scss/components/marquee/_layout.scss +21 -0
  63. package/scss/components/marquee/_theme.scss +27 -0
  64. package/scss/components/marquee/_variables.scss +3 -0
  65. package/scss/components/mediaplayer/_theme.scss +1 -1
  66. package/scss/components/menu/_layout.scss +2 -0
  67. package/scss/components/menu/_variables.scss +2 -0
  68. package/scss/components/messagebox/_theme.scss +7 -8
  69. package/scss/components/messagebox/_variables.scss +2 -0
  70. package/scss/components/notification/_layout.scss +2 -0
  71. package/scss/components/notification/_variables.scss +3 -1
  72. package/scss/components/pager/_layout.scss +0 -3
  73. package/scss/components/panel/_theme.scss +4 -4
  74. package/scss/components/pivotgrid/_theme.scss +7 -7
  75. package/scss/components/progressbar/_theme.scss +1 -1
  76. package/scss/components/radio/_layout.scss +1 -5
  77. package/scss/components/rating/_theme.scss +2 -2
  78. package/scss/components/scheduler/_theme.scss +9 -10
  79. package/scss/components/scheduler/_variables.scss +2 -0
  80. package/scss/components/slider/_layout.scss +2 -2
  81. package/scss/components/slider/_theme.scss +7 -2
  82. package/scss/components/slider/_variables.scss +3 -0
  83. package/scss/components/spreadsheet/_theme.scss +2 -2
  84. package/scss/components/stepper/_theme.scss +30 -54
  85. package/scss/components/switch/_theme.scss +21 -2
  86. package/scss/components/switch/_variables.scss +10 -0
  87. package/scss/components/tabstrip/_layout.scss +0 -1
  88. package/scss/components/tabstrip/_theme.scss +15 -3
  89. package/scss/components/tabstrip/_variables.scss +0 -1
  90. package/scss/components/taskboard/_theme.scss +2 -2
  91. package/scss/components/timeline/_theme.scss +3 -3
  92. package/scss/components/timeselector/_theme.scss +7 -6
  93. package/scss/components/timeselector/_variables.scss +6 -0
  94. package/scss/components/toolbar/_layout.scss +6 -0
  95. package/scss/components/tooltip/_variables.scss +1 -1
  96. package/scss/components/typography/_theme.scss +3 -3
  97. package/scss/components/upload/_theme.scss +3 -3
  98. package/scss/components/window/_theme.scss +1 -1
  99. package/scss/styles/_base.scss +9 -8
  100. package/scss/styles/index.import.scss +0 -3
  101. package/scss/color-system/_swatch-legacy.scss +0 -150
  102. package/scss/styles/_selection.scss +0 -36
@@ -1,6 +1,5 @@
1
1
  @use "../../color-system/_functions.import.scss" as *;
2
2
  @use "../../mixins/index.import.scss" as *;
3
- @use "../../color-system/_swatch-legacy.scss" as *;
4
3
  @use "../../_variables.scss" as *;
5
4
  @use "./variables.scss" as *;
6
5
 
@@ -38,7 +37,7 @@
38
37
  .k-step-link:focus {
39
38
  // Labels only
40
39
  .k-step-label:only-child {
41
- @include focus-indicator( $indicator: ( inset 0 0 0 $kendo-stepper-indicator-focus-size $kendo-component-border ), $inset: true );
40
+ @include focus-indicator( $indicator: ( inset 0 0 0 $kendo-stepper-indicator-focus-size k-color(border ) ), $inset: true );
42
41
  }
43
42
  }
44
43
 
@@ -47,22 +46,14 @@
47
46
  &.k-disabled,
48
47
  &:disabled {
49
48
  .k-step-indicator {
50
- @if($kendo-enable-color-system) {
51
- @include fill(
52
- $kendo-stepper-indicator-disabled-text,
53
- k-color( app-surface ),
54
- $kendo-stepper-indicator-disabled-border
55
- );
56
-
57
- &::before {
58
- background-color: $kendo-stepper-indicator-disabled-bg;
59
- }
60
- } @else {
61
- @include fill(
62
- $kendo-stepper-indicator-disabled-text,
63
- $kendo-stepper-indicator-disabled-bg,
64
- $kendo-stepper-indicator-disabled-border
65
- );
49
+ @include fill(
50
+ $kendo-stepper-indicator-disabled-text,
51
+ k-color(app-surface),
52
+ $kendo-stepper-indicator-disabled-border
53
+ );
54
+
55
+ &::before {
56
+ background-color: $kendo-stepper-indicator-disabled-bg;
66
57
  }
67
58
  }
68
59
 
@@ -79,13 +70,13 @@
79
70
  );
80
71
  }
81
72
  .k-step-indicator::after {
82
- @include box-shadow( inset 0 0 0 $kendo-stepper-indicator-focus-size $kendo-component-bg );
73
+ @include box-shadow( inset 0 0 0 $kendo-stepper-indicator-focus-size k-color(surface-alt ) );
83
74
  }
84
75
  .k-step-label:only-child {
85
76
  @include fill(
86
- $kendo-component-text,
87
- $kendo-component-bg,
88
- $kendo-component-border
77
+ k-color(on-app-surface ),
78
+ k-color(surface-alt ),
79
+ k-color(border )
89
80
  );
90
81
  }
91
82
 
@@ -121,23 +112,16 @@
121
112
  &.k-disabled,
122
113
  &:disabled {
123
114
  .k-step-indicator {
124
- @if($kendo-enable-color-system) {
125
- @include fill(
126
- $kendo-stepper-indicator-done-disabled-text,
127
- k-color( app-surface ),
128
- $kendo-stepper-indicator-done-disabled-border
129
- );
130
-
131
- &::before {
132
- background-color: $kendo-stepper-indicator-done-disabled-bg;
133
- }
134
- } @else {
135
- @include fill(
136
- $kendo-stepper-indicator-done-disabled-text,
137
- $kendo-stepper-indicator-done-disabled-bg,
138
- $kendo-stepper-indicator-done-disabled-border
139
- );
115
+ @include fill(
116
+ $kendo-stepper-indicator-done-disabled-text,
117
+ k-color(app-surface ),
118
+ $kendo-stepper-indicator-done-disabled-border
119
+ );
120
+
121
+ &::before {
122
+ background-color: $kendo-stepper-indicator-done-disabled-bg;
140
123
  }
124
+
141
125
  }
142
126
  }
143
127
  }
@@ -174,22 +158,14 @@
174
158
  &.k-disabled,
175
159
  &:disabled {
176
160
  .k-step-indicator {
177
- @if($kendo-enable-color-system) {
178
- @include fill(
179
- $kendo-stepper-indicator-current-disabled-text,
180
- k-color( app-surface ),
181
- $kendo-stepper-indicator-current-disabled-border
182
- );
183
-
184
- &::before {
185
- background-color: $kendo-stepper-indicator-current-disabled-bg;
186
- }
187
- } @else {
188
- @include fill(
189
- $kendo-stepper-indicator-current-disabled-text,
190
- $kendo-stepper-indicator-current-disabled-bg,
191
- $kendo-stepper-indicator-current-disabled-border
192
- );
161
+ @include fill(
162
+ $kendo-stepper-indicator-current-disabled-text,
163
+ k-color(app-surface ),
164
+ $kendo-stepper-indicator-current-disabled-border
165
+ );
166
+
167
+ &::before {
168
+ background-color: $kendo-stepper-indicator-current-disabled-bg;
193
169
  }
194
170
  }
195
171
  }
@@ -1,4 +1,5 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
+ @use "../../color-system/_constants.scss" as *;
2
3
  @use "../../_variables.scss" as *;
3
4
  @use "./variables.scss" as *;
4
5
 
@@ -62,7 +63,7 @@
62
63
  $kendo-switch-off-track-focus-gradient
63
64
  );
64
65
  @if $kendo-enable-focus-contrast {
65
- @include box-shadow( 0 0 0 2px if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )) );
66
+ @include box-shadow( 0 0 0 2px k-color(on-app-surface));
66
67
  } @else {
67
68
  outline: $kendo-switch-off-track-focus-ring;
68
69
  }
@@ -80,6 +81,15 @@
80
81
  $kendo-switch-off-track-disabled-gradient
81
82
  );
82
83
  }
84
+
85
+ .k-switch-thumb {
86
+ @include fill(
87
+ $kendo-switch-off-thumb-disabled-text,
88
+ $kendo-switch-off-thumb-disabled-bg,
89
+ $kendo-switch-off-thumb-disabled-border,
90
+ $kendo-switch-off-thumb-disabled-gradient
91
+ );
92
+ }
83
93
  }
84
94
 
85
95
  .k-switch-label-on {
@@ -142,7 +152,7 @@
142
152
  $kendo-switch-on-track-focus-gradient
143
153
  );
144
154
  @if $kendo-enable-focus-contrast {
145
- @include box-shadow( 0 0 0 2px if($kendo-enable-color-system, k-color( on-app-surface ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black )) );
155
+ @include box-shadow( 0 0 0 2px k-color(on-app-surface ), if( $kendo-is-dark-theme, $kendo-color-white, $kendo-color-black ));
146
156
  } @else {
147
157
  outline: $kendo-switch-on-track-focus-ring;
148
158
  }
@@ -160,6 +170,15 @@
160
170
  $kendo-switch-on-track-disabled-gradient
161
171
  );
162
172
  }
173
+
174
+ .k-switch-thumb {
175
+ @include fill(
176
+ $kendo-switch-on-thumb-disabled-text,
177
+ $kendo-switch-on-thumb-disabled-bg,
178
+ $kendo-switch-on-thumb-disabled-border,
179
+ $kendo-switch-on-thumb-disabled-gradient
180
+ );
181
+ }
163
182
  }
164
183
 
165
184
  .k-switch-label-off {
@@ -43,6 +43,11 @@ $kendo-switch-off-thumb-hover-text: null !default;
43
43
  $kendo-switch-off-thumb-hover-border: null !default;
44
44
  $kendo-switch-off-thumb-hover-gradient: null !default;
45
45
 
46
+ $kendo-switch-off-thumb-disabled-bg: null !default;
47
+ $kendo-switch-off-thumb-disabled-text: null !default;
48
+ $kendo-switch-off-thumb-disabled-border: null !default;
49
+ $kendo-switch-off-thumb-disabled-gradient: null !default;
50
+
46
51
 
47
52
  $kendo-switch-on-track-bg: null !default;
48
53
  $kendo-switch-on-track-text: null !default;
@@ -74,3 +79,8 @@ $kendo-switch-on-thumb-hover-bg: null !default;
74
79
  $kendo-switch-on-thumb-hover-text: null !default;
75
80
  $kendo-switch-on-thumb-hover-border: null !default;
76
81
  $kendo-switch-on-thumb-hover-gradient: null !default;
82
+
83
+ $kendo-switch-on-thumb-disabled-bg: null !default;
84
+ $kendo-switch-on-thumb-disabled-text: null !default;
85
+ $kendo-switch-on-thumb-disabled-border: null !default;
86
+ $kendo-switch-on-thumb-disabled-gradient: null !default;
@@ -449,7 +449,6 @@
449
449
  display: none !important; // stylelint-disable-line declaration-no-important
450
450
  }
451
451
  }
452
-
453
452
  }
454
453
 
455
454
 
@@ -94,9 +94,21 @@
94
94
  // Selected indicator
95
95
  @if ($kendo-tabstrip-indicator-size) {
96
96
 
97
- .k-tabstrip-items-wrapper {
98
- .k-item.k-active::after {
99
- border-color: $kendo-tabstrip-indicator-color;
97
+ .k-tabstrip-top,
98
+ .k-tabstrip-bottom {
99
+ > .k-tabstrip-items-wrapper {
100
+ .k-item.k-active .k-link::after {
101
+ background: $kendo-tabstrip-indicator-color;
102
+ }
103
+ }
104
+ }
105
+
106
+ .k-tabstrip-left,
107
+ .k-tabstrip-right {
108
+ > .k-tabstrip-items-wrapper {
109
+ .k-item.k-active::after {
110
+ background: $kendo-tabstrip-indicator-color;
111
+ }
100
112
  }
101
113
  }
102
114
  }
@@ -53,7 +53,6 @@ $kendo-tabstrip-item-selected-border: null !default;
53
53
  $kendo-tabstrip-item-selected-gradient: null !default;
54
54
  $kendo-tabstrip-item-selected-font-weight: null !default;
55
55
 
56
-
57
56
  $kendo-tabstrip-item-focus-shadow: null !default;
58
57
 
59
58
  $kendo-tabstrip-item-dragging-shadow: null !default;
@@ -1,5 +1,5 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
- @use "../../color-system/_swatch-legacy.scss" as *;
2
+ @use "../../_variables.scss" as *;
3
3
  @use "./variables.scss" as *;
4
4
 
5
5
  @mixin kendo-task-board--theme-base() {
@@ -97,7 +97,7 @@
97
97
  }
98
98
 
99
99
  &.k-disabled {
100
- @include disabled( $kendo-disabled-styling... );
100
+ box-shadow: none;
101
101
  }
102
102
  }
103
103
 
@@ -1,4 +1,4 @@
1
- @use "../../color-system/_swatch-legacy.scss" as *;
1
+ @use "../../color-system/_functions.import.scss" as *;
2
2
  @use "../../mixins/index.import.scss" as *;
3
3
  @use "./variables.scss" as *;
4
4
  @use "../card/_variables.scss" as *;
@@ -36,14 +36,14 @@
36
36
  }
37
37
 
38
38
  &::-webkit-scrollbar-thumb:hover {
39
- background: $kendo-hover-border;
39
+ background: k-color(border);
40
40
  }
41
41
  }
42
42
  }
43
43
 
44
44
  // TODO: remove
45
45
  .k-timeline-date {
46
- color: $kendo-body-text;
46
+ color: k-color(on-app-surface);
47
47
  }
48
48
 
49
49
  .k-timeline-arrow.k-disabled {
@@ -1,6 +1,6 @@
1
1
  @use "sass:math";
2
2
  @use "../../mixins/index.import.scss" as *;
3
- @use "../../color-system/_swatch-legacy.scss" as *;
3
+ @use "../../color-system/_functions.import.scss" as *;
4
4
  @use "./variables.scss" as *;
5
5
 
6
6
  @mixin kendo-time-selector--theme-base() {
@@ -18,14 +18,15 @@
18
18
  // Time selector header
19
19
  .k-time-header,
20
20
  .k-time-selector-header {
21
+ .k-title {
22
+ color: $kendo-time-selector-header-title-text;
23
+ }
21
24
 
22
25
  .k-time-now {
23
- // TODO: use a variable
24
- color: $kendo-link-text;
26
+ color: $kendo-time-selector-header-time-now-text;
25
27
  }
26
28
  .k-time-now:hover {
27
- // TODO: use a variable
28
- color: $kendo-link-hover-text;
29
+ color: $kendo-time-selector-header-time-now-hover-text;
29
30
  }
30
31
  }
31
32
 
@@ -59,7 +60,7 @@
59
60
  }
60
61
 
61
62
  .k-item:hover {
62
- color: $kendo-color-primary;
63
+ color: k-color(primary);
63
64
  }
64
65
  }
65
66
 
@@ -12,6 +12,9 @@ $kendo-time-selector-border: null !default;
12
12
  $kendo-time-selector-header-padding-x: null !default;
13
13
  $kendo-time-selector-header-padding-y: null !default;
14
14
  $kendo-time-selector-header-border-width: null !default;
15
+ $kendo-time-selector-header-title-text: null !default;
16
+ $kendo-time-selector-header-time-now-text: null !default;
17
+ $kendo-time-selector-header-time-now-hover-text: null !default;
15
18
 
16
19
  $kendo-time-selector-fast-selection-gap: null !default;
17
20
 
@@ -52,3 +55,6 @@ $kendo-time-selector-lg-list-item-padding-x: null !default;
52
55
  $kendo-time-selector-lg-list-item-padding-y: null !default;
53
56
 
54
57
  $kendo-time-selector-sizes: null !default;
58
+
59
+ $kendo-time-selector-now-button-text: null !default;
60
+ $kendo-time-selector-now-button-hover-text: null !default;
@@ -170,6 +170,12 @@
170
170
  }
171
171
  }
172
172
 
173
+ // Workaround for scrollable scenario with buttons inside badge container
174
+ .k-toolbar-items-scroll:has(.k-badge-container) {
175
+ padding-block-start: .5em;
176
+ margin-block-start: -.5em;
177
+ }
178
+
173
179
  .k-toolbar-items-list {
174
180
  display: flex;
175
181
  flex-flow: row wrap;
@@ -25,7 +25,7 @@ $kendo-tooltip-shadow: null !default;
25
25
 
26
26
  @each $name, $color in $colors {
27
27
  $_theme: map.merge(( $name: (
28
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color )),
28
+ color: k-color(on-#{$name}),
29
29
  background-color: $color,
30
30
  border: $color,
31
31
  )), $_theme );
@@ -1,13 +1,13 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
- @use "../../color-system/_swatch-legacy.scss" as *;
2
+ @use "../../color-system/_functions.import.scss" as *;
3
3
  @use "./_variables.scss" as *;
4
4
 
5
5
  @mixin kendo-typography--theme-base() {
6
6
 
7
7
  .k-body {
8
8
  @include fill(
9
- $kendo-body-text,
10
- $kendo-body-bg
9
+ k-color(on-app-surface),
10
+ k-color(app-surface)
11
11
  );
12
12
  }
13
13
 
@@ -1,5 +1,5 @@
1
1
  @use "../../mixins/index.import.scss" as *;
2
- @use "../../color-system/_swatch-legacy.scss" as *;
2
+ @use "../../color-system/_functions.import.scss" as *;
3
3
  @use "./variables.scss" as *;
4
4
 
5
5
  @mixin kendo-upload--theme-base() {
@@ -88,7 +88,7 @@
88
88
  .k-file-size,
89
89
  .k-file-validation-message,
90
90
  .k-file-summary {
91
- color: $kendo-subtle-text;
91
+ color: k-color(subtle);
92
92
  }
93
93
 
94
94
  .k-multiple-files-wrapper .k-file-summary {
@@ -99,7 +99,7 @@
99
99
  &.k-invalid,
100
100
  &.ng-invalid.ng-touched,
101
101
  &.ng-invalid.ng-dirty {
102
- border-color: $kendo-invalid-border;
102
+ border-color: k-color(error)
103
103
  }
104
104
  }
105
105
 
@@ -35,7 +35,7 @@
35
35
  // Window theme colors
36
36
  @each $name, $color in $kendo-window-theme-colors {
37
37
  .k-window-#{$name} .k-window-titlebar {
38
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
38
+ color: k-color(on-#{$name});
39
39
  background-color: $color;
40
40
  }
41
41
  }
@@ -1,3 +1,4 @@
1
+ @use "sass:map";
1
2
  @use "../mixins/_disabled.scss" as *;
2
3
  @use "../spacing/index.import.scss" as *;
3
4
  @use "../_variables.scss" as *;
@@ -6,14 +7,14 @@
6
7
 
7
8
  // Disabled state
8
9
  .k-disabled,
9
- .k-widget[disabled],
10
- .k-disabled {
10
+ [disabled],
11
+ :disabled {
11
12
  @include disabled(
12
- $color: var( --kendo-disabled-text, unset),
13
- $bg: var( --kendo-disabled-bg, unset),
14
- $border: var( --kendo-disabled-border, unset),
15
- $opacity: var( --kendo-disabled-opacity, unset),
16
- $filter: var( --kendo-disabled-filter, unset)
13
+ $color: var(--kendo-disabled-text, unset),
14
+ $bg: var(--kendo-disabled-bg, unset),
15
+ $border: var(--kendo-disabled-border, unset),
16
+ $opacity: var(--kendo-disabled-opacity, unset),
17
+ $filter: var(--kendo-disabled-filter, unset)
17
18
  );
18
19
 
19
20
  .k-link {
@@ -38,7 +39,7 @@
38
39
  height: 0;
39
40
  border-width: 1px 0 0;
40
41
  border-style: solid;
41
- border-color: var( --kendo-hr-border, unset );
42
+ border-color: inherit;
42
43
  display: block;
43
44
  float: none;
44
45
  clear: both;
@@ -4,7 +4,6 @@
4
4
  @forward "./_layout.scss";
5
5
  @forward "./_normalize.scss";
6
6
  @forward "./_base.scss";
7
- @forward "./_selection.scss";
8
7
  @forward "./_scrollbar.scss";
9
8
  @forward "./_resizing.scss";
10
9
  @forward "./_utils-components.scss";
@@ -15,7 +14,6 @@
15
14
  @use "./_layout.scss" as *;
16
15
  @use "./_normalize.scss" as *;
17
16
  @use "./_base.scss" as *;
18
- @use "./_selection.scss" as *;
19
17
  @use "./_scrollbar.scss" as *;
20
18
  @use "./_resizing.scss" as *;
21
19
  @use "./_utils-components.scss" as *;
@@ -29,7 +27,6 @@
29
27
  @include kendo-core--styles--layout();
30
28
  @include kendo-core--styles--normalize();
31
29
  @include kendo-core--styles--base();
32
- @include kendo-core--styles--selection();
33
30
  @include kendo-core--styles--scrollbar();
34
31
  @include kendo-core--styles--resizing();
35
32
  @include kendo-core--styles--utils-components();
@@ -1,150 +0,0 @@
1
- // Primary colors
2
- $kendo-color-primary: null !default;
3
- $kendo-color-primary-lighter: null !default;
4
- $kendo-color-primary-darker: null !default;
5
- $kendo-color-primary-contrast: null !default;
6
-
7
- // Secondary colors
8
- $kendo-color-secondary: null !default;
9
- $kendo-color-secondary-lighter: null !default;
10
- $kendo-color-secondary-darker: null !default;
11
- $kendo-color-secondary-contrast: null !default;
12
-
13
- // Tertiary colors
14
- $kendo-color-tertiary: null !default;
15
- $kendo-color-tertiary-lighter: null !default;
16
- $kendo-color-tertiary-darker: null !default;
17
- $kendo-color-tertiary-contrast: null !default;
18
-
19
- // Info colors
20
- $kendo-color-info: null !default;
21
- $kendo-color-info-lighter: null !default;
22
- $kendo-color-info-darker: null !default;
23
-
24
- // Success colors
25
- $kendo-color-success: null !default;
26
- $kendo-color-success-lighter: null !default;
27
- $kendo-color-success-darker: null !default;
28
-
29
- // Warning colors
30
- $kendo-color-warning: null !default;
31
- $kendo-color-warning-lighter: null !default;
32
- $kendo-color-warning-darker: null !default;
33
-
34
- // Error colors
35
- $kendo-color-error: null !default;
36
- $kendo-color-error-lighter: null !default;
37
- $kendo-color-error-darker: null !default;
38
-
39
-
40
- $kendo-color-dark: null !default;
41
-
42
- // Light colors
43
- $kendo-color-light: null !default;
44
-
45
- // Inverse colors
46
- $kendo-color-inverse: null !default;
47
-
48
- // Body styles
49
- $kendo-body-bg: null !default;
50
- $kendo-body-text: null !default;
51
-
52
- // App styles
53
- $kendo-app-bg: null !default;
54
- $kendo-app-text: $kendo-body-text !default;
55
- $kendo-app-border: null !default;
56
-
57
- // Component styles
58
- $kendo-component-bg: null !default;
59
- $kendo-component-text: $kendo-body-text !default;
60
- $kendo-component-border: null !default;
61
-
62
- $kendo-base-bg: null !default;
63
- $kendo-base-text: $kendo-body-text !default;
64
- $kendo-base-border: $kendo-app-border !default;
65
- $kendo-base-gradient: null !default;
66
-
67
- // States styles
68
- $kendo-hover-bg: null !default;
69
- $kendo-hover-text: $kendo-base-text !default;
70
- $kendo-hover-border: $kendo-base-border !default;
71
- $kendo-hover-gradient: $kendo-base-gradient !default;
72
-
73
- $kendo-selected-bg: $kendo-color-primary !default;
74
- $kendo-selected-text: $kendo-color-primary-contrast !default;
75
- $kendo-selected-border: $kendo-base-border !default;
76
- $kendo-selected-gradient: $kendo-base-gradient !default;
77
-
78
- $kendo-selected-hover-bg: null !default;
79
- $kendo-selected-hover-text: $kendo-selected-text !default;
80
- $kendo-selected-hover-border: $kendo-base-border !default;
81
- $kendo-selected-hover-gradient: $kendo-base-gradient !default;
82
-
83
- $kendo-component-header-bg: $kendo-base-bg !default;
84
- $kendo-component-header-text: $kendo-base-text !default;
85
- $kendo-component-header-border: $kendo-base-border !default;
86
- $kendo-component-header-gradient: null !default;
87
-
88
- $kendo-focus-outline: null !default;
89
-
90
- $kendo-subtle-text: null !default;
91
-
92
- // Link
93
- $kendo-link-text: $kendo-color-primary !default;
94
- $kendo-link-hover-text: null !default;
95
-
96
- // Validator
97
- $kendo-invalid-bg: null !default;
98
- $kendo-invalid-text: $kendo-color-error !default;
99
- $kendo-invalid-border: $kendo-color-error !default;
100
- $kendo-invalid-shadow: null !default;
101
-
102
- $kendo-valid-bg: null !default;
103
- $kendo-valid-text: $kendo-color-success !default;
104
- $kendo-valid-border: $kendo-color-success !default;
105
- $kendo-valid-shadow: null !default;
106
-
107
- // Disabled Styling
108
-
109
- $kendo-disabled-bg: null !default;
110
- $kendo-disabled-text: null !default;
111
- $kendo-disabled-border: null !default;
112
- $kendo-disabled-opacity: null !default;
113
- $kendo-disabled-filter: null !default;
114
-
115
- $kendo-disabled-styling: (
116
- bg: $kendo-disabled-bg,
117
- color: $kendo-disabled-text,
118
- border: $kendo-disabled-border,
119
- opacity: $kendo-disabled-opacity,
120
- filter: $kendo-disabled-filter
121
- ) !default;
122
-
123
- $kendo-theme-colors: (
124
- "primary": $kendo-color-primary,
125
- "secondary": $kendo-color-secondary,
126
- "tertiary": $kendo-color-tertiary,
127
- "info": $kendo-color-info,
128
- "success": $kendo-color-success,
129
- "warning": $kendo-color-warning,
130
- "error": $kendo-color-error,
131
- "dark": $kendo-color-dark,
132
- "light": $kendo-color-light,
133
- "inverse": $kendo-color-inverse,
134
- ) !default;
135
-
136
- :root {
137
- --kendo-disabled-text: #{$kendo-disabled-text};
138
- --kendo-disabled-bg: #{$kendo-disabled-bg};
139
- --kendo-disabled-border: #{$kendo-disabled-border};
140
- --kendo-disabled-opacity: #{$kendo-disabled-opacity};
141
- --kendo-disabled-filter: #{$kendo-disabled-filter};
142
-
143
- --kendo-hr-border: #{$kendo-component-border};
144
-
145
- --kendo-marquee-text: #{$kendo-selected-text};
146
- --kendo-marquee-bg: #{$kendo-selected-bg};
147
- --kendo-marquee-border: #{$kendo-selected-border};
148
-
149
- --kendo-text-selection-bg: #{$kendo-color-primary};
150
- }
@@ -1,36 +0,0 @@
1
- @mixin kendo-core--styles--selection() {
2
-
3
- // Marquee
4
- .k-marquee {
5
- position: absolute;
6
- z-index: 100000;
7
- }
8
-
9
- .k-marquee-color,
10
- .k-marquee-text {
11
- position: absolute;
12
- top: 0;
13
- left: 0;
14
- width: 100%;
15
- height: 100%;
16
- }
17
-
18
- .k-marquee-color {
19
- color: var( --kendo-marquee-text, unset );
20
- background-color: var( --kendo-marquee-bg, unset );
21
- border-color: var( --kendo-marquee-border, unset );
22
- opacity: .6;
23
- }
24
- .k-marquee-text {
25
- color: var( --kendo-marquee-text, unset );
26
- }
27
-
28
- // Text selection
29
- .k-text-selection {
30
- ::selection {
31
- background-color: var( --kendo-text-selection-bg, unset );
32
- color: var( --kendo-marquee-text, unset );
33
- }
34
- }
35
-
36
- }