@progress/kendo-theme-default 5.12.1-dev.1 → 5.12.1-dev.2

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 (175) hide show
  1. package/dist/all.css +11341 -11737
  2. package/dist/all.scss +7425 -8094
  3. package/dist/default-ocean-blue-a11y.scss +42 -0
  4. package/dist/default-ocean-blue.scss +20 -26
  5. package/lib/swatches/default-blue.json +1 -1
  6. package/lib/swatches/default-dataviz-v4.json +1 -1
  7. package/lib/swatches/default-green.json +1 -1
  8. package/lib/swatches/default-main-dark.json +1 -1
  9. package/lib/swatches/default-main.json +1 -1
  10. package/lib/swatches/default-nordic.json +1 -1
  11. package/lib/swatches/default-ocean-blue-a11y.json +272 -0
  12. package/lib/swatches/default-ocean-blue.json +21 -56
  13. package/lib/swatches/default-orange.json +1 -1
  14. package/lib/swatches/default-purple.json +1 -1
  15. package/lib/swatches/default-turquoise.json +1 -1
  16. package/lib/swatches/default-urban.json +1 -1
  17. package/package.json +5 -5
  18. package/scss/_variables.scss +67 -16
  19. package/scss/action-sheet/_theme.scss +1 -1
  20. package/scss/action-sheet/_variables.scss +1 -0
  21. package/scss/adaptive/_layout.scss +0 -4
  22. package/scss/badge/_index.scss +1 -1
  23. package/scss/bottom-navigation/_index.scss +1 -1
  24. package/scss/bottom-navigation/_variables.scss +1 -1
  25. package/scss/breadcrumb/_theme.scss +2 -2
  26. package/scss/breadcrumb/_variables.scss +6 -2
  27. package/scss/button/_index.scss +0 -1
  28. package/scss/button/_layout.scss +2 -2
  29. package/scss/button/_theme.scss +4 -4
  30. package/scss/button/_variables.scss +3 -0
  31. package/scss/calendar/_layout.scss +0 -4
  32. package/scss/calendar/_theme.scss +3 -3
  33. package/scss/calendar/_variables.scss +4 -0
  34. package/scss/captcha/_index.scss +1 -1
  35. package/scss/card/_index.scss +2 -2
  36. package/scss/card/_theme.scss +2 -2
  37. package/scss/checkbox/_index.scss +0 -2
  38. package/scss/checkbox/_theme.scss +2 -2
  39. package/scss/checkbox/_variables.scss +3 -0
  40. package/scss/chip/_index.scss +0 -1
  41. package/scss/chip/_theme.scss +5 -5
  42. package/scss/chip/_variables.scss +3 -0
  43. package/scss/color-preview/_layout.scss +1 -1
  44. package/scss/coloreditor/_theme.scss +1 -1
  45. package/scss/colorgradient/_index.scss +2 -2
  46. package/scss/colorgradient/_theme.scss +2 -2
  47. package/scss/colorpalette/_index.scss +1 -1
  48. package/scss/colorpalette/_theme.scss +1 -1
  49. package/scss/common/_base.scss +1 -1
  50. package/scss/common/_index.scss +0 -2
  51. package/scss/dataviz/_index.scss +0 -1
  52. package/scss/dataviz/_theme.scss +2 -0
  53. package/scss/dataviz/_variables.scss +4 -0
  54. package/scss/drawer/_theme.scss +1 -1
  55. package/scss/drawer/_variables.scss +1 -1
  56. package/scss/dropdowngrid/_index.scss +4 -7
  57. package/scss/dropdowngrid/_variables.scss +1 -0
  58. package/scss/dropzone/_variables.scss +2 -1
  59. package/scss/editor/_layout.scss +3 -3
  60. package/scss/expansion-panel/_index.scss +2 -2
  61. package/scss/expansion-panel/_theme.scss +2 -2
  62. package/scss/fab/_index.scss +1 -1
  63. package/scss/fab/_layout.scss +2 -2
  64. package/scss/fab/_theme.scss +14 -6
  65. package/scss/filemanager/_layout.scss +2 -2
  66. package/scss/filemanager/_variables.scss +2 -2
  67. package/scss/filter/_theme.scss +1 -1
  68. package/scss/forms/_index.scss +0 -4
  69. package/scss/forms/_layout.scss +9 -5
  70. package/scss/forms/_variables.scss +7 -0
  71. package/scss/gantt/_index.scss +1 -1
  72. package/scss/gantt/_layout.scss +5 -1
  73. package/scss/gantt/_variables.scss +4 -0
  74. package/scss/grid/_index.scss +2 -2
  75. package/scss/grid/_layout.scss +5 -5
  76. package/scss/grid/_theme.scss +4 -4
  77. package/scss/grid/_variables.scss +5 -5
  78. package/scss/icons/_layout.scss +6 -1093
  79. package/scss/input/_layout.scss +1 -1
  80. package/scss/input/_theme.scss +24 -24
  81. package/scss/input/_variables.scss +3 -3
  82. package/scss/list/_layout.scss +2 -2
  83. package/scss/list/_theme.scss +1 -1
  84. package/scss/listview/_index.scss +2 -2
  85. package/scss/listview/_theme.scss +1 -1
  86. package/scss/loader/_variables.scss +1 -0
  87. package/scss/map/_index.scss +1 -1
  88. package/scss/map/_layout.scss +1 -1
  89. package/scss/map/_variables.scss +4 -4
  90. package/scss/menu/_layout.scss +1 -1
  91. package/scss/menu/_theme.scss +2 -2
  92. package/scss/menu/_variables.scss +9 -5
  93. package/scss/messagebox/_variables.scss +1 -1
  94. package/scss/multiselect/_index.scss +0 -1
  95. package/scss/notification/_variables.scss +1 -1
  96. package/scss/orgchart/_index.scss +1 -1
  97. package/scss/orgchart/_theme.scss +2 -2
  98. package/scss/pager/_index.scss +0 -2
  99. package/scss/pager/_theme.scss +2 -2
  100. package/scss/pager/_variables.scss +5 -1
  101. package/scss/panelbar/_layout.scss +2 -2
  102. package/scss/panelbar/_theme.scss +2 -2
  103. package/scss/panelbar/_variables.scss +4 -0
  104. package/scss/pdf-viewer/_index.scss +1 -2
  105. package/scss/pdf-viewer/_variables.scss +2 -1
  106. package/scss/pivotgrid/_index.scss +5 -5
  107. package/scss/pivotgrid/_theme.scss +1 -1
  108. package/scss/pivotgrid/_variables.scss +3 -0
  109. package/scss/popover/_layout.scss +19 -17
  110. package/scss/popover/_theme.scss +7 -7
  111. package/scss/popover/_variables.scss +26 -26
  112. package/scss/progressbar/_layout.scss +1 -1
  113. package/scss/radio/_index.scss +0 -3
  114. package/scss/radio/_theme.scss +2 -2
  115. package/scss/radio/_variables.scss +4 -0
  116. package/scss/rating/_variables.scss +2 -1
  117. package/scss/scheduler/_layout.scss +4 -23
  118. package/scss/scrollview/_theme.scss +2 -2
  119. package/scss/slider/_theme.scss +2 -2
  120. package/scss/split-button/_theme.scss +1 -1
  121. package/scss/spreadsheet/_layout.scss +7 -7
  122. package/scss/stepper/_layout.scss +3 -4
  123. package/scss/stepper/_theme.scss +1 -2
  124. package/scss/switch/_index.scss +1 -1
  125. package/scss/switch/_theme.scss +10 -2
  126. package/scss/table/_index.scss +0 -8
  127. package/scss/table/_theme.scss +1 -1
  128. package/scss/table/_variables.scss +3 -0
  129. package/scss/tabstrip/_theme.scss +2 -2
  130. package/scss/tabstrip/_variables.scss +4 -0
  131. package/scss/taskboard/_index.scss +1 -1
  132. package/scss/taskboard/_theme.scss +1 -1
  133. package/scss/tilelayout/_theme.scss +1 -1
  134. package/scss/timedurationpicker/_index.scss +1 -1
  135. package/scss/timeline/_layout.scss +1 -1
  136. package/scss/timeline/_theme.scss +1 -1
  137. package/scss/timeselector/_theme.scss +2 -0
  138. package/scss/timeselector/_variables.scss +4 -0
  139. package/scss/toolbar/_layout.scss +1 -1
  140. package/scss/toolbar/_theme.scss +2 -2
  141. package/scss/tooltip/_layout.scss +2 -2
  142. package/scss/treelist/_index.scss +1 -1
  143. package/scss/treeview/_layout.scss +6 -6
  144. package/scss/treeview/_theme.scss +2 -2
  145. package/scss/treeview/_variables.scss +3 -0
  146. package/scss/typography/_index.scss +0 -1
  147. package/scss/typography/_variables.scss +0 -36
  148. package/scss/upload/_index.scss +0 -1
  149. package/scss/upload/_layout.scss +1 -1
  150. package/scss/upload/_theme.scss +5 -1
  151. package/scss/upload/_variables.scss +3 -2
  152. package/scss/utils/_index.scss +0 -22
  153. package/scss/window/_theme.scss +1 -1
  154. package/scss/window/_variables.scss +4 -0
  155. package/scss/icons/font/WebComponentsIcons.scss +0 -3
  156. package/scss/icons/font/WebComponentsIcons.ttf +0 -0
  157. package/scss/utils/_aspect-ratio.scss +0 -32
  158. package/scss/utils/_border.scss +0 -109
  159. package/scss/utils/_display.scss +0 -41
  160. package/scss/utils/_flex.scss +0 -189
  161. package/scss/utils/_float.scss +0 -85
  162. package/scss/utils/_grid.scss +0 -45
  163. package/scss/utils/_order.scss +0 -54
  164. package/scss/utils/_overflow.scss +0 -87
  165. package/scss/utils/_pointer-events.scss +0 -30
  166. package/scss/utils/_position.scss +0 -209
  167. package/scss/utils/_resize.scss +0 -47
  168. package/scss/utils/_spacer.scss +0 -16
  169. package/scss/utils/_spacing.scss +0 -162
  170. package/scss/utils/_table-layout.scss +0 -17
  171. package/scss/utils/_text.scss +0 -154
  172. package/scss/utils/_theme-colors.scss +0 -47
  173. package/scss/utils/_touch-action.scss +0 -30
  174. package/scss/utils/_transform.scss +0 -105
  175. package/scss/utils/_user-select.scss +0 -51
@@ -1,209 +0,0 @@
1
- @include exports( "utils/position" ) {
2
-
3
- // Position documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/position.
4
-
5
- /// This is equivalent to `position: static;`. The element is positioned according to the normal flow of the document. The top, right, bottom, left, and z-index properties have no effect. This is the default value.
6
- /// @name .k-pos-static
7
- /// @group position
8
- /// @contextType css
9
- _ {}
10
-
11
- /// This is equivalent to `position: relative;`. The element is positioned according to the normal flow of the document, and then offset relative to itself based on the values of top, right, bottom, and left. The offset does not affect the position of any other elements; thus, the space given for the element in the page layout is the same as if position were static.
12
- /// @name .k-pos-relative
13
- /// @group position
14
- /// @contextType css
15
- _ {}
16
-
17
- /// This is equivalent to `position: absolute;`. The element is removed from the normal document flow, and no space is created for the element in the page layout. It is positioned relative to its closest positioned ancestor, if any; otherwise, it is placed relative to the initial containing block. Its final position is determined by the values of top, right, bottom, and left.
18
- /// @name .k-pos-absolute
19
- /// @group position
20
- /// @contextType css
21
- _ {}
22
-
23
- /// This is equivalent to `position: fixed;`. The element is removed from the normal document flow, and no space is created for the element in the page layout. It is positioned relative to the initial containing block established by the viewport, except when one of its ancestors has a transform, perspective, or filter property set to something other than none (see the CSS Transforms Spec), in which case that ancestor behaves as the containing block. (Note that there are browser inconsistencies with perspective and filter contributing to containing block formation.) Its final position is determined by the values of top, right, bottom, and left.
24
- /// @name .k-pos-fixed
25
- /// @group position
26
- /// @contextType css
27
- _ {}
28
-
29
- /// This is equivalent to `position: sticky;`. The element is positioned according to the normal flow of the document, and then offset relative to its nearest scrolling ancestor and containing block (nearest block-level ancestor), including table-related elements, based on the values of top, right, bottom, and left. The offset does not affect the position of any other elements.
30
- /// @name .k-pos-sticky
31
- /// @group position
32
- /// @contextType css
33
- _ {}
34
-
35
- @each $pos in (static, relative, absolute, fixed, sticky) {
36
- .k-#{$pos},
37
- .k-pos-#{$pos} { position: $pos !important; } // sass-lint:disable-line brace-style no-important
38
-
39
- .\!k-#{$pos},
40
- .\!k-pos-#{$pos} { position: $pos !important; } // sass-lint:disable-line brace-style no-important
41
- }
42
-
43
- /// This is equivalent to `top: 0;`.
44
- /// @name .k-pos-top
45
- /// @group position
46
- /// @contextType css
47
- _ {}
48
-
49
- /// This is equivalent to `right: 0;`.
50
- /// @name .k-pos-right
51
- /// @group position
52
- /// @contextType css
53
- _ {}
54
-
55
- /// This is equivalent to `bottom: 0;`.
56
- /// @name .k-pos-bottom
57
- /// @group position
58
- /// @contextType css
59
- _ {}
60
-
61
- /// This is equivalent to `left: 0;`.
62
- /// @name .k-pos-left
63
- /// @group position
64
- /// @contextType css
65
- _ {}
66
-
67
- @each $side in (top, right, bottom, left) {
68
- .k-#{$side},
69
- .k-pos-#{$side} { #{$side}: 0; } // sass-lint:disable-line brace-style
70
- }
71
-
72
- /// This is equivalent to `top: 0; left: 0;`.
73
- /// @name .k-pos-top-start
74
- /// @group position
75
- /// @contextType css
76
- .k-top-start,
77
- .k-pos-top-start {
78
- top: 0;
79
- left: 0;
80
-
81
- .k-rtl &,
82
- &[dir="rtl"],
83
- [dir="rtl"] & {
84
- left: auto;
85
- right: 0;
86
- }
87
- }
88
-
89
- /// This is equivalent to `top: 0; left: 50%; transform: translateX(-50%);`.
90
- /// @name .k-pos-top-center
91
- /// @group position
92
- /// @contextType css
93
- .k-top-center,
94
- .k-pos-top-center {
95
- top: 0;
96
- left: 50%;
97
- transform: translateX(-50%);
98
- }
99
-
100
- /// This is equivalent to `top: 0; right: 0;`.
101
- /// @name .k-pos-top-end
102
- /// @group position
103
- /// @contextType css
104
- .k-top-end,
105
- .k-pos-top-end {
106
- top: 0;
107
- right: 0;
108
-
109
- .k-rtl &,
110
- &[dir="rtl"],
111
- [dir="rtl"] & {
112
- right: auto;
113
- left: 0;
114
- }
115
- }
116
-
117
- /// This is equivalent to `top: 50%; left: 0; transform: translateY(-50%);`.
118
- /// @name .k-pos-middle-start
119
- /// @group position
120
- /// @contextType css
121
- .k-middle-start,
122
- .k-pos-middle-start {
123
- top: 50%;
124
- left: 0;
125
- transform: translateY(-50%);
126
-
127
- .k-rtl &,
128
- &[dir="rtl"],
129
- [dir="rtl"] & {
130
- left: auto;
131
- right: 0;
132
- }
133
- }
134
-
135
- /// This is equivalent to `top: 50%; left: 50%; transform: translate(-50%, -50%);`.
136
- /// @name .k-pos-middle-center
137
- /// @group position
138
- /// @contextType css
139
- .k-middle-center,
140
- .k-pos-middle-center {
141
- top: 50%;
142
- left: 50%;
143
- transform: translate(-50%, -50%);
144
- }
145
-
146
- /// This is equivalent to `top: 50%; right: 0; transform: translateY(-50%);`.
147
- /// @name .k-pos-middle-end
148
- /// @group position
149
- /// @contextType css
150
- .k-middle-end,
151
- .k-pos-middle-end {
152
- top: 50%;
153
- right: 0;
154
- transform: translateY(-50%);
155
-
156
- .k-rtl &,
157
- &[dir="rtl"],
158
- [dir="rtl"] & {
159
- right: auto;
160
- left: 0;
161
- }
162
- }
163
-
164
- /// This is equivalent to `bottom: 0; left: 0;`.
165
- /// @name .k-pos-bottom-start
166
- /// @group position
167
- /// @contextType css
168
- .k-bottom-start,
169
- .k-pos-bottom-start {
170
- bottom: 0;
171
- left: 0;
172
-
173
- .k-rtl &,
174
- &[dir="rtl"],
175
- [dir="rtl"] & {
176
- left: auto;
177
- right: 0;
178
- }
179
- }
180
-
181
- /// This is equivalent to `bottom: 0; left: 50%; translateX(-50%);`.
182
- /// @name .k-pos-bottom-center
183
- /// @group position
184
- /// @contextType css
185
- .k-bottom-center,
186
- .k-pos-bottom-center {
187
- bottom: 0;
188
- left: 50%;
189
- transform: translateX(-50%);
190
- }
191
-
192
- /// This is equivalent to `bottom: 0; right: 0;`.
193
- /// @name .k-pos-bottom-end
194
- /// @group position
195
- /// @contextType css
196
- .k-bottom-end,
197
- .k-pos-bottom-end {
198
- bottom: 0;
199
- right: 0;
200
-
201
- .k-rtl &,
202
- &[dir="rtl"],
203
- [dir="rtl"] & {
204
- right: auto;
205
- left: 0;
206
- }
207
- }
208
-
209
- }
@@ -1,47 +0,0 @@
1
- @include exports( "utils/resize" ) {
2
-
3
- // Resize documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/resize.
4
-
5
- /// This is equivalent to `resize: none;`. The element offers no user-controllable method for resizing it.
6
- /// @name .k-resize-none
7
- /// @group resize
8
- /// @contextType css
9
- _ {}
10
-
11
- /// This is equivalent to `resize: both;`. The element displays a mechanism for allowing the user to resize it, which may be resized both horizontally and vertically.
12
- /// @name .k-resize-both
13
- /// @group resize
14
- /// @contextType css
15
- _ {}
16
-
17
- /// This is equivalent to `resize: horizontal;`. The element displays a mechanism for allowing the user to resize it in the horizontal direction.
18
- /// @name .k-resize-horizontal
19
- /// @group resize
20
- /// @contextType css
21
- _ {}
22
-
23
- /// This is equivalent to `resize: vertical;`. The element displays a mechanism for allowing the user to resize it in the vertical direction.
24
- /// @name .k-resize-vertical
25
- /// @group resize
26
- /// @contextType css
27
- _ {}
28
-
29
-
30
- // Resize utility classes
31
- $utils-resize: (
32
- none,
33
- both,
34
- horizontal,
35
- vertical
36
- ) !default;
37
-
38
- @if $utils-resize {
39
- @each $resize in $utils-resize {
40
- .k-resize-#{$resize} { resize: $resize; }
41
-
42
- // sass-lint:disable-block no-important
43
- .\!k-resize-#{$resize} { resize: $resize !important; }
44
- }
45
- }
46
-
47
- }
@@ -1,16 +0,0 @@
1
- @include exports( "utils/spacer" ) {
2
-
3
- /// This is equivalent to `flex: 1 0 auto;`. If every other element has a fixed size in a flex container, the spacer will take up the remaining space.
4
- /// @name .k-spacer
5
- /// @group spacer
6
- .k-spacer {
7
- flex: 1 0 auto;
8
- }
9
-
10
- /// This is equivalent to `flex-grow: 0;`. The spacer will not take any of the remaining space in a flex container.
11
- /// @name .k-spacer-sized
12
- /// @group spacer
13
- .k-spacer-sized {
14
- flex-grow: 0;
15
- }
16
- }
@@ -1,162 +0,0 @@
1
- @include exports( "utils/spacing" ) {
2
-
3
- // sass-lint:disable-block no-important
4
- // sass-lint:disable-block indentation
5
-
6
- $utils-margin: (
7
- m: margin,
8
- mt: margin-top,
9
- mr: margin-right,
10
- mb: margin-bottom,
11
- ml: margin-left
12
- ) !default;
13
-
14
- $utils-padding: (
15
- p: padding,
16
- pt: padding-top,
17
- pr: padding-right,
18
- pb: padding-bottom,
19
- pl: padding-left
20
- ) !default;
21
-
22
- /// This is equivalent to `margin: VALUE;`. Margin area on all four sides of the element.
23
- /// @name k-m-VALUE
24
- /// @group spacing
25
- /// @contextType css
26
- _ {}
27
-
28
- /// This is equivalent to `margin-top: VALUE;`. Margin area on top of the element.
29
- /// @name k-mt-VALUE
30
- /// @group spacing
31
- /// @contextType css
32
- _ {}
33
-
34
- /// This is equivalent to `margin-right: VALUE;`. Margin area on right of the element.
35
- /// @name k-mr-VALUE
36
- /// @group spacing
37
- /// @contextType css
38
- _ {}
39
-
40
- /// This is equivalent to `margin-bottom: VALUE;`. Margin area on bottom of the element.
41
- /// @name k-mb-VALUE
42
- /// @group spacing
43
- /// @contextType css
44
- _ {}
45
-
46
- /// This is equivalent to `margin-left: VALUE;`. Margin area on left of the element.
47
- /// @name k-ml-VALUE
48
- /// @group spacing
49
- /// @contextType css
50
- _ {}
51
-
52
- /// This is equivalent to `margin-left: VALUE; margin-right: VALUE;`. Margin area on left and right of the element.
53
- /// @name k-mx-VALUE
54
- /// @group spacing
55
- /// @contextType css
56
- _ {}
57
-
58
- /// This is equivalent to `margin-top: VALUE; margin-bottom: VALUE;``. Margin area on top and bottom of the element.
59
- /// @name k-my-VALUE
60
- /// @group spacing
61
- /// @contextType css
62
- _ {}
63
-
64
- // Margin
65
- @each $size, $val in $kendo-spacing {
66
- @each $name, $prop in $utils-margin {
67
- .k-#{$name}-#{$size} { #{$prop}: $val !important; }
68
- }
69
-
70
- .k-mx-#{$size} {
71
- margin-left: $val !important;
72
- margin-right: $val !important;
73
- }
74
- .k-my-#{$size} {
75
- margin-top: $val !important;
76
- margin-bottom: $val !important;
77
- }
78
- }
79
-
80
- /// This is equivalent to `padding: VALUE;`. Padding area on all four sides of the element.
81
- /// @name k-p-VALUE
82
- /// @group spacing
83
- /// @contextType css
84
- _ {}
85
-
86
- /// This is equivalent to `padding-top: VALUE;`. Padding area on top of the element.
87
- /// @name k-pt-VALUE
88
- /// @group spacing
89
- /// @contextType css
90
- _ {}
91
-
92
- /// This is equivalent to `padding-right: VALUE;`. Padding area on right of the element.
93
- /// @name k-pr-VALUE
94
- /// @group spacing
95
- /// @contextType css
96
- _ {}
97
-
98
- /// This is equivalent to `padding-bottom: VALUE;`. Padding area on bottom of the element.
99
- /// @name k-pb-VALUE
100
- /// @group spacing
101
- /// @contextType css
102
- _ {}
103
-
104
- /// This is equivalent to `padding-left: VALUE;`. Padding area on left of the element.
105
- /// @name k-pl-VALUE
106
- /// @group spacing
107
- /// @contextType css
108
- _ {}
109
-
110
- /// This is equivalent to `padding-left: VALUE; padding-right: VALUE;`. Padding area on left and right of the element.
111
- /// @name k-px-VALUE
112
- /// @group spacing
113
- /// @contextType css
114
- _ {}
115
-
116
- /// This is equivalent to `padding-top: VALUE; padding-bottom: VALUE;``. Padding area on top and bottom of the element.
117
- /// @name k-py-VALUE
118
- /// @group spacing
119
- /// @contextType css
120
- _ {}
121
-
122
- // Padding
123
- @each $size, $val in $kendo-spacing {
124
- @each $name, $prop in $utils-padding {
125
- .k-#{$name}-#{$size} { #{$prop}: $val !important; }
126
- }
127
-
128
- .k-px-#{$size} {
129
- padding-left: $val !important;
130
- padding-right: $val !important;
131
- }
132
- .k-py-#{$size} {
133
- padding-top: $val !important;
134
- padding-bottom: $val !important;
135
- }
136
- }
137
-
138
- /// This is equivalent to `gap: VALUE;`. Gap area between both rows and columns in grid and flexbox layouts.
139
- /// @name k-gap-VALUE
140
- /// @group spacing
141
-
142
- /// This is equivalent to `column-gap: VALUE;`. Gap area between columns in grid and flexbox layouts.
143
- /// @name k-gap-x-VALUE
144
- /// @group spacing
145
-
146
- /// This is equivalent to `row-gap: VALUE;`. Gap area between rows in grid and flexbox layouts.
147
- /// @name k-gap-y-VALUE
148
- /// @group spacing
149
-
150
- // Gap
151
- .k-no-gap { gap: 0 !important; }
152
-
153
- @each $size, $val in $kendo-spacing {
154
- .k-gap-#{$size} { gap: $val; }
155
- .k-gap-x-#{$size} { column-gap: $val; }
156
- .k-gap-y-#{$size} { row-gap: $val; }
157
-
158
- .\!k-gap-#{$size} { gap: $val !important; }
159
- .\!k-gap-x-#{$size} { column-gap: $val !important; }
160
- .\!k-gap-y-#{$size} { row-gap: $val !important; }
161
- }
162
- }
@@ -1,17 +0,0 @@
1
- @include exports( "utils/table-layout" ) {
2
-
3
- // sass-lint:disable-block no-important
4
- // stylelint-disable block-opening-brace-space-before
5
-
6
- // Table-layout documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/table-layout.
7
-
8
- /// This is equivalent to `table-layout: fixed;`. Table and column widths are set by the widths of table and col elements or by the width of the first row of cells. Cells in subsequent rows do not affect column widths.
9
- /// @name .k-table-layout-fixed
10
- /// @group table-layout
11
- .k-table-layout-fixed { table-layout: fixed; }
12
- /// This is equivalent to `table-layout: auto;`. By default, most browsers use an automatic table layout algorithm. The widths of the table and its cells are adjusted to fit the content.
13
- /// @name .k-table-layout-auto
14
- /// @group table-layout
15
- .k-table-layout-auto { table-layout: auto; }
16
-
17
- }
@@ -1,154 +0,0 @@
1
- @include exports( "utils/text" ) {
2
-
3
- // stylelint-disable block-opening-brace-space-before
4
- // sass-lint:disable class-name-format
5
-
6
- // White-space documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/white-space.
7
- // Text-align documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/text-align.
8
- // Text-transform documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/text-transform.
9
-
10
- $text-align: ( left, right, center, justify ) !default;
11
- $text-transform: ( lowercase, uppercase, capitalize ) !default;
12
- $white-space: ( normal, nowrap, pre, pre-wrap, pre-line, break-spaces ) !default;
13
-
14
- $kendo-font-sizes: (
15
- xs: $font-size-xs,
16
- sm: $font-size-sm,
17
- md: $font-size-md,
18
- lg: $font-size-lg,
19
- xl: $font-size-xl
20
- ) !default;
21
-
22
- // Wrapping
23
-
24
- /// This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
25
- /// @name .k-text-nowrap
26
- /// @group text
27
- .k-text-nowrap { white-space: nowrap; }
28
- .\!k-text-nowrap { white-space: nowrap !important; } // sass-lint:disable-line no-important
29
- /// This is equivalent to `white-space: nowrap; overflow: hidden; text-overflow: ellipsis;`.
30
- /// @name .k-text-ellipsis
31
- /// @group text
32
- .k-text-ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } // sass-lint:disable-line one-declaration-per-line
33
-
34
- /// This is equivalent to `white-space: normal;`. Sequences of white space are collapsed. Newline characters in the source are handled the same as other white space. Lines are broken as necessary to fill line boxes.
35
- /// @name .k-white-space-normal
36
- /// @group text
37
- /// @contextType css
38
- _ {}
39
-
40
- /// This is equivalent to `white-space: nowrap;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
41
- /// @name .k-white-space-nowrap
42
- /// @group text
43
- /// @contextType css
44
- _ {}
45
-
46
- /// This is equivalent to `white-space: pre;`. Sequences of white space are preserved. Lines are only broken at newline characters in the source and at <br> elements.
47
- /// @name .k-white-space-pre
48
- /// @group text
49
- /// @contextType css
50
- _ {}
51
-
52
- /// This is equivalent to `white-space: pre-wrap;`. Sequences of white space are preserved. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
53
- /// @name .k-white-space-pre-wrap
54
- /// @group text
55
- /// @contextType css
56
- _ {}
57
-
58
- /// This is equivalent to `white-space: pre-line;`. Sequences of white space are collapsed. Lines are broken at newline characters, at <br>, and as necessary to fill line boxes.
59
- /// @name .k-white-space-pre-line
60
- /// @group text
61
- /// @contextType css
62
- _ {}
63
-
64
- /// This is equivalent to `white-space: break-spaces;`. Collapses white space as for normal, but suppresses line breaks (text wrapping) within the source.
65
- /// @name .k-white-space-break-spaces
66
- /// @group text
67
- /// @contextType css
68
- _ {}
69
-
70
- @each $wrap in $white-space {
71
- .k-white-space-#{$wrap} { white-space: $wrap; }
72
- .\!k-white-space-#{$wrap} { white-space: $wrap !important; } // sass-lint:disable-line no-important
73
- }
74
-
75
-
76
- // Align
77
-
78
- /// This is equivalent to `text-align: left;`. The inline contents are aligned to the left edge of the line box.
79
- /// @name .k-text-left
80
- /// @group text
81
- /// @contextType css
82
- _ {}
83
-
84
- /// This is equivalent to `text-align: right;`. The inline contents are aligned to the right edge of the line box.
85
- /// @name .k-text-right
86
- /// @group text
87
- /// @contextType css
88
- _ {}
89
-
90
- /// This is equivalent to `text-align: center;`. The inline contents are centered within the line box.
91
- /// @name .k-text-center
92
- /// @group text
93
- /// @contextType css
94
- _ {}
95
-
96
- /// This is equivalent to `text-align: justify;`. The inline contents are justified. Text should be spaced to line up its left and right edges to the left and right edges of the line box, except for the last line.
97
- /// @name .k-text-justify
98
- /// @group text
99
- /// @contextType css
100
- _ {}
101
-
102
- @each $align in $text-align {
103
- .k-text-#{$align} { text-align: $align; }
104
- .\!k-text-#{$align} { text-align: $align !important; } // sass-lint:disable-line no-important
105
- }
106
-
107
-
108
- // Transform
109
-
110
- /// This is equivalent to `text-transform: lowercase;`. Is a keyword that converts all characters to lowercase.
111
- /// @name .k-text-lowercase
112
- /// @group text
113
- /// @contextType css
114
- _ {}
115
-
116
- /// This is equivalent to `text-transform: uppercase;`. Is a keyword that converts all characters to uppercase.
117
- /// @name .k-text-uppercase
118
- /// @group text
119
- /// @contextType css
120
- _ {}
121
-
122
- /// This is equivalent to `text-transform: capitalize;`. Is a keyword that converts the first letter of each word to uppercase. Other characters remain unchanged (they retain their original case as written in the element's text).
123
- /// @name .k-text-capitalize
124
- /// @group text
125
- /// @contextType css
126
- _ {}
127
-
128
- @each $transform in $text-transform {
129
- .k-text-#{$transform} { text-transform: $transform; }
130
- .\!k-text-#{$transform} { text-transform: $transform !important; } // sass-lint:disable-line no-important
131
- }
132
-
133
- // Font Size
134
- @each $name, $size in $kendo-font-sizes {
135
- .k-fs-#{$name} { font-size: $size; }
136
- .\!k-fs-#{$name} { font-size: $size !important; } // sass-lint:disable-line no-important
137
- }
138
-
139
- // Named font-weight
140
-
141
- /// This is equivalent to `font-weight: 300;`. The value of `300` may be different for each Kendo UI Theme.
142
- /// @name .k-font-weight-light
143
- /// @group text
144
- .k-font-weight-light { font-weight: $font-weight-light !important; } // sass-lint:disable-line no-important
145
- /// This is equivalent to `font-weight: 400;`. The value of `400` may be different for each Kendo UI Theme.
146
- /// @name .k-font-weight-normal
147
- /// @group text
148
- .k-font-weight-normal { font-weight: $font-weight-normal !important; } // sass-lint:disable-line no-important
149
- /// This is equivalent to `font-weight: 700;`. The value of `700` may be different for each Kendo UI Theme.
150
- /// @name .k-font-weight-bold
151
- /// @group text
152
- .k-font-weight-bold { font-weight: $font-weight-bold !important; } // sass-lint:disable-line no-important
153
-
154
- }
@@ -1,47 +0,0 @@
1
- @include exports( "common/decoration/color" ) {
2
-
3
- // sass-lint:disable-block no-important
4
- // sass-lint:disable-block class-name-format
5
- // stylelint-disable block-opening-brace-space-before
6
-
7
- .k-text-base,
8
- .k-color-base {
9
- color: $base-text;
10
- }
11
- .\!k-text-base,
12
- .\!k-color-base {
13
- color: $base-text !important;
14
- }
15
-
16
- .k-color-inherit { color: inherit; }
17
- .\!k-color-inherit { color: inherit !important; }
18
-
19
- @each $name, $color in $kendo-theme-colors {
20
- .k-text-#{$name},
21
- .k-color-#{$name} {
22
- color: $color;
23
- }
24
- .\!k-text-#{$name},
25
- .\!k-color-#{$name} {
26
- color: $color !important;
27
- }
28
- }
29
-
30
- }
31
-
32
-
33
- @include exports( "common/decoration/background" ) {
34
-
35
- // sass-lint:disable-block no-important
36
- // sass-lint:disable-block class-name-format
37
-
38
- @each $name, $bg-color in $kendo-theme-colors {
39
- .k-bg-#{$name} {
40
- background-color: $bg-color;
41
- }
42
- .\!k-bg-#{$name} {
43
- background-color: $bg-color !important;
44
- }
45
- }
46
-
47
- }
@@ -1,30 +0,0 @@
1
- @include exports( "utils/touch-action" ) {
2
-
3
- // Touch-action documentation sourced from https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action.
4
-
5
- /// This is equivalent to `touch-action: none;`. Disable browser handling of all panning and zooming gestures.
6
- /// @name k-touch-action-none
7
- /// @group touch-action
8
- /// @contextType css
9
- _ {}
10
-
11
- /// This is equivalent to `touch-action: auto;`. Enable browser handling of all panning and zooming gestures.
12
- /// @name k-touch-action-auto
13
- /// @group touch-action
14
- /// @contextType css
15
- _ {}
16
-
17
- // Touch-action utility classes
18
- $utils-touch-action: (
19
- none,
20
- auto
21
- ) !default;
22
-
23
- @if $utils-touch-action {
24
- @each $touch-action in $utils-touch-action {
25
- // sass-lint:disable-block no-important
26
- .k-touch-action-#{$touch-action} { touch-action: $touch-action !important; }
27
- }
28
- }
29
-
30
- }