@progress/kendo-theme-classic 4.41.3-dev.1 → 4.42.0

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 (84) hide show
  1. package/dist/all.css +1810 -598
  2. package/dist/all.scss +1357 -746
  3. package/modules/@progress/kendo-theme-default/package.json +2 -2
  4. package/modules/@progress/kendo-theme-default/scss/action-buttons/_layout.scss +9 -1
  5. package/modules/@progress/kendo-theme-default/scss/all.scss +4 -0
  6. package/modules/@progress/kendo-theme-default/scss/button/_index.scss +1 -1
  7. package/modules/@progress/kendo-theme-default/scss/chip/_layout.scss +9 -15
  8. package/modules/@progress/kendo-theme-default/scss/chip/_theme.scss +302 -85
  9. package/modules/@progress/kendo-theme-default/scss/chip/_variables.scss +139 -50
  10. package/modules/@progress/kendo-theme-default/scss/color-preview/_index.scss +11 -0
  11. package/modules/@progress/kendo-theme-default/scss/color-preview/_layout.scss +34 -0
  12. package/modules/@progress/kendo-theme-default/scss/color-preview/_theme.scss +31 -0
  13. package/modules/@progress/kendo-theme-default/scss/color-preview/_variables.scss +13 -0
  14. package/modules/@progress/kendo-theme-default/scss/coloreditor/_index.scss +15 -0
  15. package/modules/@progress/kendo-theme-default/scss/coloreditor/_layout.scss +65 -0
  16. package/modules/@progress/kendo-theme-default/scss/coloreditor/_theme.scss +19 -0
  17. package/modules/@progress/kendo-theme-default/scss/coloreditor/_variables.scss +27 -0
  18. package/modules/@progress/kendo-theme-default/scss/colorgradient/_index.scss +18 -0
  19. package/modules/@progress/kendo-theme-default/scss/colorgradient/_layout.scss +188 -0
  20. package/modules/@progress/kendo-theme-default/scss/colorgradient/_theme.scss +82 -0
  21. package/modules/@progress/kendo-theme-default/scss/colorgradient/_variables.scss +51 -0
  22. package/modules/@progress/kendo-theme-default/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
  23. package/modules/@progress/kendo-theme-default/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
  24. package/modules/@progress/kendo-theme-default/scss/colorpalette/_index.scss +12 -0
  25. package/modules/@progress/kendo-theme-default/scss/colorpalette/_layout.scss +50 -0
  26. package/modules/@progress/kendo-theme-default/scss/colorpalette/_theme.scss +25 -0
  27. package/modules/@progress/kendo-theme-default/scss/colorpalette/_variables.scss +10 -0
  28. package/modules/@progress/kendo-theme-default/scss/colorpicker/_index.scss +2 -4
  29. package/modules/@progress/kendo-theme-default/scss/colorpicker/_layout.scss +4 -340
  30. package/modules/@progress/kendo-theme-default/scss/colorpicker/_theme.scss +4 -127
  31. package/modules/@progress/kendo-theme-default/scss/colorpicker/_variables.scss +0 -18
  32. package/modules/@progress/kendo-theme-default/scss/core/mixins/_index.scss +1 -1
  33. package/modules/@progress/kendo-theme-default/scss/editor/_layout.scss +5 -0
  34. package/modules/@progress/kendo-theme-default/scss/fab/_layout.scss +2 -0
  35. package/modules/@progress/kendo-theme-default/scss/fab/_theme.scss +27 -34
  36. package/modules/@progress/kendo-theme-default/scss/fab/_variables.scss +12 -11
  37. package/modules/@progress/kendo-theme-default/scss/icons/_layout.scss +1 -0
  38. package/modules/@progress/kendo-theme-default/scss/icons/font/WebComponentsIcons.scss +1 -1
  39. package/modules/@progress/kendo-theme-default/scss/icons/font/WebComponentsIcons.ttf +0 -0
  40. package/modules/@progress/kendo-theme-default/scss/map/_layout.scss +2 -0
  41. package/modules/@progress/kendo-theme-default/scss/popup/_layout.scss +0 -5
  42. package/modules/@progress/kendo-theme-default/scss/scheduler/_layout.scss +3 -0
  43. package/modules/@progress/kendo-theme-default/scss/styling/_index.scss +1 -1
  44. package/modules/@progress/kendo-theme-default/scss/utils/_border.scss +11 -2
  45. package/modules/@progress/kendo-theme-default/scss/utils/_index.scss +1 -0
  46. package/modules/@progress/kendo-theme-default/scss/utils/_spacing.scss +24 -0
  47. package/modules/@progress/kendo-theme-default/scss/{common/_decoration.scss → utils/_theme-colors.scss} +15 -19
  48. package/package.json +3 -3
  49. package/scss/all.scss +4 -0
  50. package/scss/button/_index.scss +1 -2
  51. package/scss/chip/_variables.scss +138 -47
  52. package/scss/color-preview/_index.scss +11 -0
  53. package/scss/color-preview/_layout.scss +1 -0
  54. package/scss/color-preview/_theme.scss +1 -0
  55. package/scss/color-preview/_variables.scss +13 -0
  56. package/scss/coloreditor/_index.scss +15 -0
  57. package/scss/coloreditor/_layout.scss +1 -0
  58. package/scss/coloreditor/_theme.scss +1 -0
  59. package/scss/coloreditor/_variables.scss +27 -0
  60. package/scss/colorgradient/_index.scss +19 -0
  61. package/scss/colorgradient/_layout.scss +1 -0
  62. package/scss/colorgradient/_theme.scss +1 -0
  63. package/scss/colorgradient/_variables.scss +52 -0
  64. package/scss/colorgradient/images/alpha-slider-bgr.png +0 -0
  65. package/scss/colorgradient/images/alpha-slider-bgr.scss +3 -0
  66. package/scss/colorpalette/_index.scss +12 -0
  67. package/scss/colorpalette/_layout.scss +1 -0
  68. package/scss/colorpalette/_theme.scss +1 -0
  69. package/scss/colorpalette/_variables.scss +10 -0
  70. package/scss/colorpicker/_index.scss +2 -4
  71. package/scss/colorpicker/_variables.scss +0 -18
  72. package/scss/fab/_variables.scss +13 -13
  73. package/scss/styling/_index.scss +1 -1
  74. package/scss/utils/_index.scss +1 -0
  75. package/scss/utils/_theme-colors.scss +1 -0
  76. package/modules/@progress/kendo-theme-default/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
  77. package/modules/@progress/kendo-theme-default/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
  78. package/modules/@progress/kendo-theme-default/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
  79. package/modules/@progress/kendo-theme-default/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
  80. package/scss/colorpicker/images/alpha-slider-bgr-reversed.png +0 -0
  81. package/scss/colorpicker/images/alpha-slider-bgr-reversed.scss +0 -3
  82. package/scss/colorpicker/images/alpha-slider-bgr.png +0 -0
  83. package/scss/colorpicker/images/alpha-slider-bgr.scss +0 -3
  84. package/scss/common/_decoration.scss +0 -1
@@ -26,7 +26,7 @@
26
26
 
27
27
  // Hover state
28
28
  > :hover,
29
- .k-state-hover {
29
+ > .k-state-hover {
30
30
  @include fill(
31
31
  $colorpicker-hovered-text,
32
32
  $colorpicker-hovered-bg,
@@ -38,7 +38,9 @@
38
38
  &.k-state-active {}
39
39
 
40
40
  // Focus state
41
- .k-state-focused {
41
+ .k-state-focused,
42
+ .k-state-focus,
43
+ .k-focus {
42
44
  @include fill(
43
45
  $colorpicker-focused-text,
44
46
  $colorpicker-focused-bg,
@@ -64,128 +66,3 @@
64
66
  }
65
67
 
66
68
  }
67
-
68
-
69
-
70
-
71
- @include exports( "flatcolorpicker/theme" ) {
72
-
73
- .k-flatcolorpicker {
74
- @include fill(
75
- $component-text,
76
- $component-bg,
77
- $component-border
78
- );
79
-
80
- .k-color-value {
81
- @include fill(
82
- $input-text,
83
- $input-bg,
84
- $input-border
85
- );
86
- }
87
-
88
- .k-hsv-gradient {
89
- background: linear-gradient( to bottom, $gradient-transparent-to-black ), linear-gradient( to right, $gradient-white-to-transparent );
90
- }
91
-
92
-
93
- // Sliders
94
- .k-slider {
95
-
96
- // Draghandle
97
- .k-draghandle {
98
- box-shadow: $colorpicker-draghandle-shadow;
99
- // sass-lint:enable no-color-literals no-color-keywords
100
- background-color: transparent;
101
- }
102
- .k-draghandle:hover,
103
- .k-draghandle:focus {
104
- // sass-lint:disable no-color-literals no-color-keywords
105
- border-color: white;
106
- box-shadow: $colorpicker-draghandle-focused-shadow;
107
- // sass-lint:enable no-color-literals no-color-keywords
108
- background-color: transparent;
109
- }
110
-
111
- &.k-state-focused {
112
- .k-draghandle {
113
- box-shadow: $colorpicker-draghandle-focused-shadow;
114
- }
115
- }
116
- }
117
-
118
-
119
- // Slider type
120
- .k-hue-slider {
121
- &.k-slider-horizontal {
122
- .k-slider-track {
123
- background: linear-gradient( to right, $gradient-rainbow );
124
- }
125
- }
126
- &.k-slider-vertical {
127
- .k-slider-track {
128
- background: linear-gradient( to top, $gradient-rainbow );
129
- }
130
- }
131
- }
132
- .k-alpha-slider {
133
- .k-slider-track {
134
- background: url(map-get($data-uris, "alpha-slider-bgr.png")) center;
135
- }
136
- }
137
-
138
-
139
- .k-draghandle {
140
- border-color: rgba(255, 255, 255, .8);
141
- box-shadow: $colorpicker-draghandle-shadow;
142
-
143
- &.k-state-focus {
144
- box-shadow: $colorpicker-draghandle-focused-shadow;
145
- }
146
- }
147
-
148
- // Color contrast
149
- .k-color-contrast .k-separator {
150
- border-color: $colorpicker-border;
151
- }
152
-
153
- }
154
-
155
-
156
- .k-rtl,
157
- [dir="rtl"] {
158
- .k-flatcolorpicker {
159
-
160
- .k-hue-slider.k-slider-horizontal .k-slider-track {
161
- background: linear-gradient( to left, $gradient-rainbow );
162
- }
163
-
164
- .k-alpha-slider .k-slider-track {
165
- background: url(map-get($data-uris, "alpha-slider-bgr-reversed.png")) center;
166
- }
167
-
168
- }
169
- }
170
-
171
- }
172
-
173
-
174
-
175
-
176
- @include exports( "colorpalette/theme" ) {
177
-
178
- .k-colorpalette {
179
- .k-item:hover,
180
- .k-item.k-state-hover {
181
- box-shadow: $colorpalette-hovered-shadow;
182
- }
183
- .k-item.k-state-selected,
184
- .k-item.k-state-selected:hover,
185
- .k-item.k-state-focused,
186
- .k-item:focus {
187
- box-shadow: $colorpalette-focused-shadow;
188
- }
189
- }
190
-
191
- }
@@ -1,19 +1,7 @@
1
1
  // Colorpicker
2
- $colorpicker-rect-padding: $padding-x !default;
3
- $colorpicker-margin: 8px !default;
4
- $colorpicker-width: 310px !default;
5
- $colorpicker-border-width: 1px !default;
6
2
  $colorpicker-font-family: $font-family !default;
7
3
  $colorpicker-font-size: $font-size !default;
8
4
  $colorpicker-line-height: $line-height !default;
9
- $colorpicker-draghandle-width: 14px !default;
10
- $colorpicker-draghandle-height: 14px !default;
11
- $colorpicker-slider-track-size: 10px !default;
12
- $colorpicker-slider-border-radius: 10px !default;
13
- $colorpicker-hex-input-width: 65px !default;
14
- $colorpicker-input-width: 48px !default;
15
- $colorpicker-input-padding-x: $input-padding-y !default;
16
- $colorpicker-input-padding-y: $input-padding-y !default;
17
5
 
18
6
  $colorpicker-select-border-width: 1px !default;
19
7
 
@@ -32,9 +20,3 @@ $colorpicker-focused-text: null !default;
32
20
  $colorpicker-focused-border: null !default;
33
21
  $colorpicker-focused-gradient: null !default;
34
22
  $colorpicker-focused-shadow: $button-focused-shadow !default;
35
-
36
- $colorpicker-draghandle-shadow: 0 1px 4px rgba(0, 0, 0, .5) !default;
37
- $colorpicker-draghandle-focused-shadow: 0 1px 4px black !default;
38
-
39
- $colorpalette-hovered-shadow: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .8 ) !default;
40
- $colorpalette-focused-shadow: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, 1 ) !default;
@@ -6,8 +6,8 @@
6
6
  // Utils
7
7
  @import "_border-radius.scss";
8
8
  @import "_box-shadow.scss";
9
- @import "_decoration.scss";
10
9
  @import "_disabled.scss";
10
+ @import "_decoration.scss";
11
11
  @import "_gradients.scss";
12
12
  @import "_typography.scss";
13
13
  @import "_hide-scrollbar.scss";
@@ -62,6 +62,11 @@
62
62
  padding: 0;
63
63
  }
64
64
 
65
+ // Resizable editor
66
+ .k-editor-resizable {
67
+ resize: both;
68
+ overflow: auto;
69
+ }
65
70
 
66
71
  // Toolbar
67
72
  .k-editor > .k-toolbar {
@@ -149,6 +149,8 @@
149
149
  }
150
150
 
151
151
  .k-fab-item-icon {
152
+ width: $fab-item-icon-width;
153
+ height: $fab-item-icon-height;
152
154
  padding: $fab-item-icon-padding-y $fab-item-icon-padding-x;
153
155
  border-width: $fab-item-icon-border-width;
154
156
  border-radius: $fab-item-icon-border-radius;
@@ -1,12 +1,11 @@
1
1
  @include exports( "fab/theme" ) {
2
- // FAB
3
- .k-fab {
4
- @include box-shadow($fab-shadow);
5
- }
6
2
 
7
3
  // Normal state
8
4
  @each $name, $color in $fab-theme-colors {
9
5
  .k-fab-#{$name} {
6
+ @include box-shadow($fab-shadow);
7
+ outline: $fab-border-width solid $color;
8
+ outline-offset: -$fab-border-width;
10
9
  border-color: $color;
11
10
  color: contrast-wcag( $color );
12
11
  background-color: $color;
@@ -24,10 +23,14 @@
24
23
  }
25
24
 
26
25
  // Focus state
27
- .k-fab.k-state-focus,
28
- .k-fab.k-state-focused,
29
- .k-fab:focus {
30
- @include box-shadow($fab-focus-shadow);
26
+ @each $name, $color in $fab-theme-colors {
27
+ .k-fab-#{$name}.k-state-focus,
28
+ .k-fab-#{$name}.k-state-focused,
29
+ .k-fab-#{$name}:focus {
30
+ outline-style: solid;
31
+ outline-width: 2px;
32
+ outline-color: rgba( $color, .3 );
33
+ }
31
34
  }
32
35
 
33
36
  // Active state
@@ -35,23 +38,20 @@
35
38
  .k-state-active.k-fab-#{$name},
36
39
  .k-state-selected.k-fab-#{$name},
37
40
  .k-fab-#{$name}:active {
38
- border-color: try-shade( $color, 1);
39
- background-color: try-shade( $color, 1);
40
- box-shadow: $fab-shadow, 0px 3px 4px rgba($color, .4);
41
+ @include box-shadow($fab-active-shadow);
42
+ border-color: try-shade( $color, 1.5);
43
+ background-color: try-shade( $color, 1.5);
41
44
  }
42
45
  }
43
46
 
44
47
  // Disabled state
45
- .k-fab.k-state-disabled,
46
- .k-fab:disabled {
47
- @include box-shadow($fab-disabled-shadow);
48
- opacity: 1;
49
- }
50
-
51
48
  @each $name, $color in $fab-theme-colors {
52
49
  .k-state-disabled.k-fab-#{$name},
53
50
  .k-fab-#{$name}:disabled {
54
- background-color: tint( $color, 5 );
51
+ @include box-shadow($fab-disabled-shadow);
52
+ background-color: try-tint( $color, 5 );
53
+ color: try-tint( contrast-wcag( $color ), 5 );
54
+ opacity: 1;
55
55
  }
56
56
  }
57
57
 
@@ -63,6 +63,7 @@
63
63
  $fab-item-border
64
64
  );
65
65
  @include box-shadow($fab-item-shadow);
66
+
66
67
  }
67
68
  .k-fab-item-icon {
68
69
  @include fill(
@@ -71,6 +72,8 @@
71
72
  $fab-item-icon-border
72
73
  );
73
74
  @include box-shadow($fab-item-shadow);
75
+ outline: $fab-border-width solid rgba(0, 0, 0, .08);
76
+ outline-offset: -$fab-border-width;
74
77
  }
75
78
 
76
79
  // Hover state
@@ -88,15 +91,17 @@
88
91
  .k-fab-item.k-state-focus .k-fab-item-icon,
89
92
  .k-fab-item.k-state-focused .k-fab-item-text,
90
93
  .k-fab-item.k-state-focused .k-fab-item-icon {
91
- @include box-shadow($fab-item-focus-shadow);
94
+ outline-style: solid;
95
+ outline-width: 2px;
96
+ outline-color: rgba(0, 0, 0, .08);
92
97
  }
93
98
 
94
99
  // Active state
95
100
  .k-fab-item.k-state-active .k-fab-item-icon,
96
101
  .k-fab-item:active .k-fab-item-icon {
102
+ @include box-shadow($fab-item-active-shadow);
97
103
  border-color: try-shade( $fab-item-icon-border, 1);
98
104
  background-color: try-shade( $fab-item-icon-bg, 1);
99
- box-shadow: $fab-shadow, 0px 3px 4px rgba($fab-item-icon-bg, .4);
100
105
  }
101
106
 
102
107
  // Disabled state
@@ -106,21 +111,9 @@
106
111
 
107
112
  .k-fab-item-text,
108
113
  .k-fab-item-icon {
109
- color: tint( $fab-item-text, 6 );
110
114
  @include box-shadow($fab-item-disabled-shadow);
111
- }
112
- }
113
-
114
- // Disabled + Focus state
115
- .k-fab-item:focus,
116
- .k-fab-item.k-state-focus,
117
- .k-fab-item.k-state-focused {
118
- &:disabled,
119
- &.k-state-disabled {
120
- .k-fab-item-text,
121
- .k-fab-item-icon {
122
- @include box-shadow($fab-item-disabled-focus-shadow);
123
- }
115
+ background-color: try-tint( $fab-item-bg, 5 );
116
+ color: try-tint( $fab-item-text, 5 );
124
117
  }
125
118
  }
126
119
 
@@ -1,8 +1,8 @@
1
1
  // Floating Action Button
2
2
  $fab-padding-x: map-get( $spacing, 4 ) !default;
3
3
  $fab-padding-y: $fab-padding-x !default;
4
- $fab-border-width: 0px !default;
5
- $fab-border-radius: $border-radius * 2 !default;
4
+ $fab-border-width: 1px !default;
5
+ $fab-border-radius: $border-radius !default;
6
6
  $fab-font-family: $font-family !default;
7
7
  $fab-font-size: $font-size !default;
8
8
  $fab-line-height: $line-height !default;
@@ -18,7 +18,7 @@ $fab-padding-y-lg: ( $fab-padding-y * 1.5 ) !default;
18
18
 
19
19
  $fab-icon-width: 20px !default;
20
20
  $fab-icon-height: $fab-icon-width !default;
21
- $fab-icon-spacing: map-get( $spacing, 1 ) !default;
21
+ $fab-icon-spacing: map-get( $spacing, 1 ) / 2 !default;
22
22
 
23
23
  $fab-items-padding-x: 0px !default;
24
24
  $fab-items-padding-y: map-get( $spacing, 4 ) !default;
@@ -28,12 +28,14 @@ $fab-item-text-padding-y: $fab-item-text-padding-x !default;
28
28
  $fab-item-text-border-width: 1px !default;
29
29
  $fab-item-text-border-radius: 2px !default;
30
30
  $fab-item-text-font-size: $font-size-xs !default;
31
- $fab-item-text-line-height: 1 !default;
31
+ $fab-item-text-line-height: 1.2 !default;
32
32
 
33
33
  $fab-item-icon-padding-x: map-get( $spacing, 2 ) !default;
34
34
  $fab-item-icon-padding-y: $fab-item-icon-padding-x !default;
35
35
  $fab-item-icon-border-width: 0 !default;
36
36
  $fab-item-icon-border-radius: 50% !default;
37
+ $fab-item-icon-width: 20px !default;
38
+ $fab-item-icon-height: $fab-item-icon-width !default;
37
39
 
38
40
  $fab-sizes: (
39
41
  sm: map-get( $spacing, 4 ),
@@ -44,21 +46,20 @@ $fab-sizes: (
44
46
  $fab-theme-colors: $theme-colors !default;
45
47
 
46
48
  $fab-shadow: 0 6px 10px rgba(0, 0, 0, .14), 0 1px 18px rgba(0, 0, 0, .12), 0 3px 5px rgba(0, 0, 0, .2) !default;
47
- $fab-focus-shadow: 0 1px 10px rgba(#000000, .22), 0 4px 5px rgba(#000000, .24), 0 2px 4px rgba(#000000, .2) !default;
48
- $fab-disabled-shadow: 0 6px 10px rgba(0, 0, 0, .06), 0 1px 18px rgba(0, 0, 0, .06), 0 3px 5px rgba(0, 0, 0, .08) !default;
49
+ $fab-disabled-shadow: 0 6px 10px try-tint( rgba(0, 0, 0, .14), .5 ), 0 1px 18px try-tint( rgba(0, 0, 0, .12), .5 ), 0 3px 5px try-tint( rgba(0, 0, 0, .2), .5 ) !default;
50
+ $fab-active-shadow: null !default;
49
51
 
50
52
  $fab-item-text: $component-text !default;
51
53
  $fab-item-bg: $component-bg !default;
52
54
  $fab-item-border: $component-border !default;
53
55
 
54
- $fab-item-icon-text: contrast-wcag( $light ) !default;
55
- $fab-item-icon-bg: $light !default;
56
- $fab-item-icon-border: $light !default;
56
+ $fab-item-icon-text: $button-text !default;
57
+ $fab-item-icon-bg: $button-bg !default;
58
+ $fab-item-icon-border: $button-border !default;
57
59
 
58
60
  $fab-item-shadow: $fab-shadow !default;
59
- $fab-item-focus-shadow: $fab-focus-shadow !default;
60
61
  $fab-item-disabled-shadow: $fab-disabled-shadow !default;
61
- $fab-item-disabled-focus-shadow: 0 1px 10px rgba(#000000, .12), 0 4px 5px rgba(#000000, .12), 0 2px 4px rgba(#000000, .08) !default;
62
+ $fab-item-active-shadow: $fab-active-shadow !default;
62
63
 
63
64
  $fab-border-width-sm: $fab-border-width !default;
64
65
  $fab-line-height-sm: $fab-line-height !default;
@@ -642,6 +642,7 @@
642
642
  .k-i-justify-between-vertical::before { content: "\e552"; }
643
643
  .k-i-justify-content-around-alt::before { content: "\e553"; }
644
644
  .k-i-justify-around-vertical::before { content: "\e553"; }
645
+ .k-i-color-canvas::before { content: "\e554"; }
645
646
  .k-i-file-wrench::before { content: "\e600"; }
646
647
  .k-i-page-properties::before { content: "\e600"; }
647
648
  .k-i-bold::before { content: "\e601"; }