@progress/kendo-theme-default 10.2.0-dev.1 → 10.2.0-dev.3

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 (354) hide show
  1. package/dist/all.css +1 -1
  2. package/dist/default-blue.css +1 -1
  3. package/dist/default-dataviz-v4.css +1 -1
  4. package/dist/default-green.css +1 -1
  5. package/dist/default-main-dark.css +1 -1
  6. package/dist/default-main.css +1 -1
  7. package/dist/default-nordic.css +1 -1
  8. package/dist/default-ocean-blue-a11y.css +1 -1
  9. package/dist/default-ocean-blue.css +1 -1
  10. package/dist/default-orange.css +1 -1
  11. package/dist/default-purple.css +1 -1
  12. package/dist/default-turquoise.css +1 -1
  13. package/dist/default-urban.css +1 -1
  14. package/dist/meta/sassdoc-data.json +741 -957
  15. package/dist/meta/sassdoc-raw-data.json +331 -431
  16. package/dist/meta/variables.json +19 -19
  17. package/lib/swatches/default-blue.json +1 -1
  18. package/lib/swatches/default-dataviz-v4.json +1 -1
  19. package/lib/swatches/default-green.json +1 -1
  20. package/lib/swatches/default-main-dark.json +1 -1
  21. package/lib/swatches/default-main.json +1 -1
  22. package/lib/swatches/default-nordic.json +1 -1
  23. package/lib/swatches/default-ocean-blue-a11y.json +1 -1
  24. package/lib/swatches/default-ocean-blue.json +1 -1
  25. package/lib/swatches/default-orange.json +1 -1
  26. package/lib/swatches/default-purple.json +1 -1
  27. package/lib/swatches/default-turquoise.json +1 -1
  28. package/lib/swatches/default-urban.json +1 -1
  29. package/package.json +4 -4
  30. package/scss/_variables.scss +0 -11
  31. package/scss/action-buttons/_layout.scss +1 -67
  32. package/scss/action-buttons/_theme.scss +1 -16
  33. package/scss/action-buttons/_variables.scss +12 -0
  34. package/scss/action-sheet/_layout.scss +1 -397
  35. package/scss/action-sheet/_theme.scss +1 -100
  36. package/scss/action-sheet/_variables.scss +69 -0
  37. package/scss/adaptive/_layout.scss +1 -479
  38. package/scss/adaptive/_theme.scss +1 -99
  39. package/scss/adaptive/_variables.scss +21 -0
  40. package/scss/appbar/_layout.scss +1 -115
  41. package/scss/appbar/_theme.scss +1 -31
  42. package/scss/appbar/_variables.scss +19 -0
  43. package/scss/autocomplete/_layout.scss +1 -6
  44. package/scss/autocomplete/_theme.scss +1 -6
  45. package/scss/avatar/_layout.scss +1 -78
  46. package/scss/avatar/_theme.scss +1 -27
  47. package/scss/avatar/_variables.scss +9 -0
  48. package/scss/badge/_layout.scss +1 -149
  49. package/scss/badge/_theme.scss +1 -27
  50. package/scss/badge/_variables.scss +26 -0
  51. package/scss/bottom-navigation/_layout.scss +1 -117
  52. package/scss/bottom-navigation/_theme.scss +1 -57
  53. package/scss/bottom-navigation/_variables.scss +22 -0
  54. package/scss/breadcrumb/_layout.scss +1 -133
  55. package/scss/breadcrumb/_theme.scss +1 -100
  56. package/scss/breadcrumb/_variables.scss +64 -0
  57. package/scss/button/_layout.scss +1 -352
  58. package/scss/button/_theme.scss +1 -333
  59. package/scss/button/_variables.scss +92 -0
  60. package/scss/calendar/_layout.scss +1 -523
  61. package/scss/calendar/_theme.scss +1 -210
  62. package/scss/calendar/_variables.scss +99 -0
  63. package/scss/captcha/_layout.scss +1 -64
  64. package/scss/captcha/_theme.scss +1 -15
  65. package/scss/captcha/_variables.scss +17 -0
  66. package/scss/card/_layout.scss +1 -343
  67. package/scss/card/_theme.scss +1 -103
  68. package/scss/card/_variables.scss +58 -0
  69. package/scss/chart-wizard/_layout.scss +1 -42
  70. package/scss/chart-wizard/_theme.scss +1 -33
  71. package/scss/chart-wizard/_variables.scss +14 -0
  72. package/scss/chat/_layout.scss +1 -470
  73. package/scss/chat/_theme.scss +1 -99
  74. package/scss/chat/_variables.scss +67 -0
  75. package/scss/checkbox/_layout.scss +1 -230
  76. package/scss/checkbox/_theme.scss +1 -104
  77. package/scss/checkbox/_variables.scss +51 -0
  78. package/scss/chip/_layout.scss +1 -164
  79. package/scss/chip/_theme.scss +1 -146
  80. package/scss/chip/_variables.scss +46 -0
  81. package/scss/color-preview/_layout.scss +1 -79
  82. package/scss/color-preview/_theme.scss +1 -20
  83. package/scss/color-preview/_variables.scss +14 -0
  84. package/scss/coloreditor/_layout.scss +1 -117
  85. package/scss/coloreditor/_theme.scss +1 -27
  86. package/scss/coloreditor/_variables.scss +55 -0
  87. package/scss/colorgradient/_layout.scss +1 -233
  88. package/scss/colorgradient/_theme.scss +1 -86
  89. package/scss/colorgradient/_variables.scss +71 -0
  90. package/scss/colorpalette/_layout.scss +1 -71
  91. package/scss/colorpalette/_theme.scss +1 -26
  92. package/scss/colorpalette/_variables.scss +18 -0
  93. package/scss/colorpicker/_layout.scss +1 -13
  94. package/scss/colorpicker/_theme.scss +1 -5
  95. package/scss/combobox/_layout.scss +1 -6
  96. package/scss/combobox/_theme.scss +1 -6
  97. package/scss/core/color-system/_swatch-legacy.scss +76 -15
  98. package/scss/core/motion/index.import.scss +1 -0
  99. package/scss/dataviz/_layout.scss +1 -569
  100. package/scss/dataviz/_theme.scss +1 -115
  101. package/scss/dataviz/_variables.scss +105 -0
  102. package/scss/dateinput/_layout.scss +1 -6
  103. package/scss/dateinput/_theme.scss +1 -6
  104. package/scss/datepicker/_layout.scss +1 -5
  105. package/scss/datepicker/_theme.scss +1 -6
  106. package/scss/daterangepicker/_layout.scss +1 -47
  107. package/scss/daterangepicker/_theme.scss +1 -6
  108. package/scss/daterangepicker/_variables.scss +4 -0
  109. package/scss/datetimepicker/_layout.scss +1 -51
  110. package/scss/datetimepicker/_theme.scss +1 -6
  111. package/scss/datetimepicker/_variables.scss +4 -0
  112. package/scss/dialog/_layout.scss +1 -73
  113. package/scss/dialog/_theme.scss +1 -24
  114. package/scss/dialog/_variables.scss +11 -0
  115. package/scss/dock-manager/_layout.scss +1 -220
  116. package/scss/dock-manager/_theme.scss +1 -45
  117. package/scss/dock-manager/_variables.scss +38 -0
  118. package/scss/draggable/_layout.scss +1 -127
  119. package/scss/draggable/_theme.scss +1 -17
  120. package/scss/draggable/_variables.scss +23 -0
  121. package/scss/drawer/_layout.scss +1 -202
  122. package/scss/drawer/_theme.scss +1 -63
  123. package/scss/drawer/_variables.scss +34 -0
  124. package/scss/dropdowngrid/_layout.scss +1 -15
  125. package/scss/dropdowngrid/_theme.scss +1 -6
  126. package/scss/dropdownlist/_layout.scss +1 -38
  127. package/scss/dropdownlist/_theme.scss +1 -9
  128. package/scss/dropdowntree/_layout.scss +1 -39
  129. package/scss/dropdowntree/_theme.scss +1 -6
  130. package/scss/dropdowntree/_variables.scss +5 -0
  131. package/scss/dropzone/_layout.scss +1 -44
  132. package/scss/dropzone/_theme.scss +1 -36
  133. package/scss/dropzone/_variables.scss +22 -0
  134. package/scss/editor/_layout.scss +1 -648
  135. package/scss/editor/_theme.scss +1 -103
  136. package/scss/editor/_variables.scss +24 -0
  137. package/scss/expansion-panel/_layout.scss +1 -82
  138. package/scss/expansion-panel/_theme.scss +1 -44
  139. package/scss/expansion-panel/_variables.scss +25 -0
  140. package/scss/fab/_layout.scss +1 -145
  141. package/scss/fab/_theme.scss +1 -128
  142. package/scss/fab/_variables.scss +50 -0
  143. package/scss/filemanager/_layout.scss +1 -238
  144. package/scss/filemanager/_theme.scss +1 -112
  145. package/scss/filemanager/_variables.scss +60 -0
  146. package/scss/filter/_layout.scss +1 -93
  147. package/scss/filter/_theme.scss +1 -32
  148. package/scss/filter/_variables.scss +11 -0
  149. package/scss/floating-label/_layout.scss +1 -90
  150. package/scss/floating-label/_theme.scss +1 -30
  151. package/scss/floating-label/_variables.scss +18 -0
  152. package/scss/forms/_layout.scss +1 -379
  153. package/scss/forms/_theme.scss +1 -39
  154. package/scss/forms/_variables.scss +54 -0
  155. package/scss/gantt/_layout.scss +1 -921
  156. package/scss/gantt/_theme.scss +1 -279
  157. package/scss/gantt/_variables.scss +78 -0
  158. package/scss/grid/_layout.scss +1 -1374
  159. package/scss/grid/_theme.scss +1 -450
  160. package/scss/grid/_variables.scss +146 -0
  161. package/scss/gridlayout/_layout.scss +1 -6
  162. package/scss/gridlayout/_theme.scss +1 -6
  163. package/scss/icons/_layout.scss +1 -80
  164. package/scss/icons/_theme.scss +1 -1
  165. package/scss/icons/_variables.scss +13 -0
  166. package/scss/imageeditor/_layout.scss +1 -160
  167. package/scss/imageeditor/_theme.scss +1 -54
  168. package/scss/imageeditor/_variables.scss +34 -0
  169. package/scss/input/_layout.scss +1 -586
  170. package/scss/input/_theme.scss +1 -512
  171. package/scss/input/_variables.scss +139 -7
  172. package/scss/list/_layout.scss +1 -246
  173. package/scss/list/_theme.scss +1 -95
  174. package/scss/list/_variables.scss +87 -0
  175. package/scss/listbox/_layout.scss +1 -86
  176. package/scss/listbox/_theme.scss +1 -20
  177. package/scss/listbox/_variables.scss +18 -0
  178. package/scss/listgroup/_layout.scss +1 -191
  179. package/scss/listgroup/_theme.scss +1 -15
  180. package/scss/listgroup/_variables.scss +13 -0
  181. package/scss/listview/_layout.scss +1 -141
  182. package/scss/listview/_theme.scss +1 -43
  183. package/scss/listview/_variables.scss +21 -0
  184. package/scss/loader/_layout.scss +2 -582
  185. package/scss/loader/_theme.scss +1 -17
  186. package/scss/loader/_variables.scss +40 -0
  187. package/scss/map/_layout.scss +1 -138
  188. package/scss/map/_theme.scss +1 -34
  189. package/scss/map/_variables.scss +24 -0
  190. package/scss/maskedtextbox/_layout.scss +1 -6
  191. package/scss/maskedtextbox/_theme.scss +1 -6
  192. package/scss/mediaplayer/_layout.scss +1 -105
  193. package/scss/mediaplayer/_theme.scss +1 -23
  194. package/scss/mediaplayer/_variables.scss +16 -0
  195. package/scss/menu/_layout.scss +1 -320
  196. package/scss/menu/_theme.scss +1 -140
  197. package/scss/menu/_variables.scss +91 -0
  198. package/scss/menu-button/_layout.scss +1 -32
  199. package/scss/menu-button/_theme.scss +1 -6
  200. package/scss/menu-button/_variables.scss +4 -0
  201. package/scss/messagebox/_layout.scss +1 -23
  202. package/scss/messagebox/_theme.scss +1 -25
  203. package/scss/messagebox/_variables.scss +14 -0
  204. package/scss/multiselect/_layout.scss +1 -6
  205. package/scss/multiselect/_theme.scss +1 -6
  206. package/scss/no-data/_layout.scss +1 -22
  207. package/scss/no-data/_theme.scss +1 -10
  208. package/scss/no-data/_variables.scss +5 -0
  209. package/scss/notification/_functions.scss +17 -0
  210. package/scss/notification/_layout.scss +1 -73
  211. package/scss/notification/_theme.scss +1 -27
  212. package/scss/notification/_variables.scss +19 -14
  213. package/scss/numerictextbox/_layout.scss +1 -10
  214. package/scss/numerictextbox/_theme.scss +1 -6
  215. package/scss/orgchart/_layout.scss +1 -112
  216. package/scss/orgchart/_theme.scss +1 -53
  217. package/scss/orgchart/_variables.scss +47 -0
  218. package/scss/otp/_layout.scss +1 -37
  219. package/scss/otp/_theme.scss +1 -8
  220. package/scss/otp/_variables.scss +16 -0
  221. package/scss/overlay/_layout.scss +1 -16
  222. package/scss/overlay/_theme.scss +1 -17
  223. package/scss/overlay/_variables.scss +6 -0
  224. package/scss/pager/_layout.scss +1 -186
  225. package/scss/pager/_theme.scss +1 -21
  226. package/scss/pager/_variables.scss +48 -0
  227. package/scss/panel/_layout.scss +1 -29
  228. package/scss/panel/_theme.scss +1 -22
  229. package/scss/panel/_variables.scss +13 -0
  230. package/scss/panelbar/_layout.scss +1 -141
  231. package/scss/panelbar/_theme.scss +1 -209
  232. package/scss/panelbar/_variables.scss +86 -0
  233. package/scss/pdf-viewer/_layout.scss +1 -332
  234. package/scss/pdf-viewer/_theme.scss +1 -89
  235. package/scss/pdf-viewer/_variables.scss +43 -3
  236. package/scss/pivotgrid/_layout.scss +1 -654
  237. package/scss/pivotgrid/_theme.scss +1 -245
  238. package/scss/pivotgrid/_variables.scss +87 -0
  239. package/scss/popover/_layout.scss +1 -93
  240. package/scss/popover/_theme.scss +1 -41
  241. package/scss/popover/_variables.scss +29 -0
  242. package/scss/popup/_layout.scss +1 -79
  243. package/scss/popup/_theme.scss +1 -19
  244. package/scss/popup/_variables.scss +15 -0
  245. package/scss/progressbar/_layout.scss +1 -244
  246. package/scss/progressbar/_theme.scss +1 -52
  247. package/scss/progressbar/_variables.scss +25 -0
  248. package/scss/prompt/_layout.scss +1 -73
  249. package/scss/prompt/_theme.scss +1 -39
  250. package/scss/prompt/_variables.scss +23 -0
  251. package/scss/radio/_layout.scss +1 -226
  252. package/scss/radio/_theme.scss +1 -91
  253. package/scss/radio/_variables.scss +48 -0
  254. package/scss/rating/_layout.scss +1 -93
  255. package/scss/rating/_theme.scss +1 -43
  256. package/scss/rating/_variables.scss +19 -0
  257. package/scss/responsivepanel/_layout.scss +1 -47
  258. package/scss/responsivepanel/_theme.scss +1 -5
  259. package/scss/ripple/_layout.scss +1 -51
  260. package/scss/ripple/_theme.scss +1 -5
  261. package/scss/scheduler/_layout.scss +1 -1040
  262. package/scss/scheduler/_theme.scss +1 -236
  263. package/scss/scheduler/_variables.scss +82 -0
  264. package/scss/scroller/_layout.scss +1 -85
  265. package/scss/scroller/_theme.scss +1 -7
  266. package/scss/scrollview/_layout.scss +1 -165
  267. package/scss/scrollview/_theme.scss +1 -91
  268. package/scss/scrollview/_variables.scss +31 -0
  269. package/scss/searchbox/_layout.scss +1 -6
  270. package/scss/searchbox/_theme.scss +1 -6
  271. package/scss/signature/_layout.scss +1 -74
  272. package/scss/signature/_theme.scss +1 -13
  273. package/scss/signature/_variables.scss +27 -0
  274. package/scss/skeleton/_layout.scss +1 -92
  275. package/scss/skeleton/_theme.scss +1 -26
  276. package/scss/skeleton/_variables.scss +9 -0
  277. package/scss/slider/_layout.scss +1 -401
  278. package/scss/slider/_theme.scss +1 -80
  279. package/scss/slider/_variables.scss +40 -0
  280. package/scss/split-button/_layout.scss +1 -36
  281. package/scss/split-button/_theme.scss +1 -12
  282. package/scss/split-button/_variables.scss +12 -0
  283. package/scss/splitter/_layout.scss +1 -191
  284. package/scss/splitter/_theme.scss +1 -38
  285. package/scss/splitter/_variables.scss +22 -0
  286. package/scss/spreadsheet/_layout.scss +1 -905
  287. package/scss/spreadsheet/_theme.scss +1 -211
  288. package/scss/spreadsheet/_variables.scss +86 -0
  289. package/scss/stacklayout/_layout.scss +1 -5
  290. package/scss/stacklayout/_theme.scss +1 -5
  291. package/scss/stepper/_layout.scss +1 -291
  292. package/scss/stepper/_theme.scss +1 -238
  293. package/scss/stepper/_variables.scss +72 -0
  294. package/scss/switch/_layout.scss +1 -159
  295. package/scss/switch/_theme.scss +1 -169
  296. package/scss/switch/_variables.scss +59 -0
  297. package/scss/table/_layout.scss +1 -288
  298. package/scss/table/_theme.scss +1 -88
  299. package/scss/table/_variables.scss +43 -0
  300. package/scss/tabstrip/_layout.scss +1 -494
  301. package/scss/tabstrip/_theme.scss +1 -151
  302. package/scss/tabstrip/_variables.scss +65 -0
  303. package/scss/taskboard/_layout.scss +1 -217
  304. package/scss/taskboard/_theme.scss +1 -111
  305. package/scss/taskboard/_variables.scss +78 -0
  306. package/scss/textarea/_layout.scss +1 -8
  307. package/scss/textarea/_theme.scss +2 -7
  308. package/scss/textbox/_layout.scss +1 -6
  309. package/scss/textbox/_theme.scss +1 -6
  310. package/scss/tilelayout/_layout.scss +1 -47
  311. package/scss/tilelayout/_theme.scss +1 -24
  312. package/scss/tilelayout/_variables.scss +13 -0
  313. package/scss/time-marker/_layout.scss +1 -19
  314. package/scss/time-marker/_theme.scss +1 -21
  315. package/scss/time-marker/_variables.scss +5 -0
  316. package/scss/timedurationpicker/_layout.scss +1 -12
  317. package/scss/timedurationpicker/_theme.scss +1 -6
  318. package/scss/timeline/_layout.scss +1 -445
  319. package/scss/timeline/_theme.scss +1 -72
  320. package/scss/timeline/_variables.scss +53 -0
  321. package/scss/timepicker/_layout.scss +1 -12
  322. package/scss/timepicker/_theme.scss +1 -6
  323. package/scss/timeselector/_layout.scss +1 -260
  324. package/scss/timeselector/_theme.scss +1 -76
  325. package/scss/timeselector/_variables.scss +41 -0
  326. package/scss/toolbar/_layout.scss +1 -352
  327. package/scss/toolbar/_theme.scss +1 -192
  328. package/scss/toolbar/_variables.scss +50 -0
  329. package/scss/tooltip/_functions.scss +17 -0
  330. package/scss/tooltip/_layout.scss +1 -116
  331. package/scss/tooltip/_theme.scss +1 -36
  332. package/scss/tooltip/_variables.scss +20 -14
  333. package/scss/treelist/_layout.scss +1 -109
  334. package/scss/treelist/_theme.scss +1 -13
  335. package/scss/treelist/_variables.scss +5 -0
  336. package/scss/treeview/_layout.scss +1 -199
  337. package/scss/treeview/_theme.scss +1 -82
  338. package/scss/treeview/_variables.scss +52 -0
  339. package/scss/typography/_layout.scss +1 -124
  340. package/scss/typography/_theme.scss +1 -24
  341. package/scss/typography/_variables.scss +81 -0
  342. package/scss/upload/_layout.scss +1 -248
  343. package/scss/upload/_theme.scss +1 -105
  344. package/scss/upload/_variables.scss +35 -0
  345. package/scss/validator/_layout.scss +1 -25
  346. package/scss/validator/_theme.scss +1 -6
  347. package/scss/virtual-scroller/_layout.scss +1 -35
  348. package/scss/virtual-scroller/_theme.scss +1 -6
  349. package/scss/window/_layout.scss +1 -173
  350. package/scss/window/_theme.scss +1 -41
  351. package/scss/window/_variables.scss +33 -0
  352. package/scss/wizard/_layout.scss +1 -124
  353. package/scss/wizard/_theme.scss +1 -12
  354. package/scss/wizard/_variables.scss +13 -0
@@ -1,106 +1,4 @@
1
- @use "../core/_index.scss" as *;
2
- @use "./variables.scss" as *;
3
-
4
- @mixin kendo-editor--theme-base() {
5
-
6
- .k-editor {
7
- @include fill(
8
- $kendo-component-text,
9
- $kendo-component-bg,
10
- $kendo-component-border
11
- );
12
-
13
- &.k-readonly {
14
- .k-editor-content.k-focus {
15
- outline-color: $kendo-body-text;
16
- }
17
- }
18
- }
19
-
20
- // Inline Editor
21
- .k-editor-inline {
22
-
23
- .k-table {
24
- &,
25
- & td {
26
- border-color: #cccccc;
27
- }
28
- }
29
-
30
- .k-element-resize-handle-wrapper {
31
- background-color: #ffffff;
32
- border-color: #000000;
33
- }
34
-
35
- .k-column-resize-handle-wrapper {
36
- .k-column-resize-handle {
37
- .k-column-resize-marker {
38
- background-color: #00b0ff;
39
- }
40
- }
41
- }
42
-
43
- .k-row-resize-handle-wrapper {
44
- .k-row-resize-marker {
45
- background-color: #00b0ff;
46
- }
47
- }
48
-
49
- // Hover & Active state
50
- &:hover,
51
- &.k-hover,
52
- &.k-active {
53
- border-color: $kendo-component-border;
54
- }
55
- }
56
-
57
- // Resizable images
58
- .k-editor-resize-handle {
59
- background-color: $kendo-editor-resize-handle-bg;
60
- border-color: $kendo-editor-resize-handle-border;
61
- }
62
- .ProseMirror-selectednode { // stylelint-disable-line
63
- outline-color: $kendo-editor-selectednode-outline-color;
64
- }
65
-
66
-
67
- // Insert table
68
- .k-ct-popup {
69
- .k-selected {
70
- @include fill( $kendo-selected-text, $kendo-selected-bg, $kendo-selected-border, none );
71
- }
72
- }
73
-
74
- // Content
75
- .k-editor-content {
76
-
77
- // Selection
78
- .k-text-selected,
79
- &::selection {
80
- @include fill (
81
- $color: $kendo-editor-selected-text,
82
- $bg: $kendo-editor-selected-bg
83
- );
84
- }
85
-
86
- .k-text-highlighted {
87
- @include fill (
88
- $bg: $kendo-editor-highlighted-bg
89
- );
90
- }
91
-
92
- // Table styles
93
- td,
94
- th {
95
- border-color: #dddddd;
96
- }
97
-
98
- .selectedCell::after { // stylelint-disable-line
99
- background-color: rgba(200, 200, 255, .4);
100
- }
101
- }
102
-
103
- }
1
+ @use "@progress/kendo-theme-core/scss/components/editor/_theme.scss" as *;
104
2
 
105
3
 
106
4
  @mixin kendo-editor--theme() {
@@ -77,3 +77,27 @@ $kendo-editor-filebrowser-tiles-padding-y: k-spacing(1) !default;
77
77
  /// The padding of the Editor content.
78
78
  /// @group editor
79
79
  $kendo-editor-content-padding: k-spacing(2) !default;
80
+
81
+ @forward "@progress/kendo-theme-core/scss/components/editor/_variables.scss" with (
82
+ $kendo-editor-border-width: $kendo-editor-border-width,
83
+ $kendo-editor-font-family: $kendo-editor-font-family,
84
+ $kendo-editor-font-size: $kendo-editor-font-size,
85
+ $kendo-editor-line-height: $kendo-editor-line-height,
86
+ $kendo-editor-placeholder-text: $kendo-editor-placeholder-text,
87
+ $kendo-editor-placeholder-opacity: $kendo-editor-placeholder-opacity,
88
+ $kendo-editor-selected-text: $kendo-editor-selected-text,
89
+ $kendo-editor-selected-bg: $kendo-editor-selected-bg,
90
+ $kendo-editor-highlighted-bg: $kendo-editor-highlighted-bg,
91
+ $kendo-editor-export-tool-icon-margin-x: $kendo-editor-export-tool-icon-margin-x,
92
+ $kendo-editor-resize-handle-size: $kendo-editor-resize-handle-size,
93
+ $kendo-editor-resize-handle-border-width: $kendo-editor-resize-handle-border-width,
94
+ $kendo-editor-resize-handle-border: $kendo-editor-resize-handle-border,
95
+ $kendo-editor-resize-handle-bg: $kendo-editor-resize-handle-bg,
96
+ $kendo-editor-selectednode-outline-width: $kendo-editor-selectednode-outline-width,
97
+ $kendo-editor-selectednode-outline-color: $kendo-editor-selectednode-outline-color,
98
+ $kendo-editor-inline-padding-x: $kendo-editor-inline-padding-x,
99
+ $kendo-editor-inline-padding-y: $kendo-editor-inline-padding-y,
100
+ $kendo-editor-filebrowser-tiles-padding-x: $kendo-editor-filebrowser-tiles-padding-x,
101
+ $kendo-editor-filebrowser-tiles-padding-y: $kendo-editor-filebrowser-tiles-padding-y,
102
+ $kendo-editor-content-padding: $kendo-editor-content-padding
103
+ );
@@ -1,85 +1,4 @@
1
- @use "../core/_index.scss" as *;
2
- @use "./variables.scss" as *;
3
-
4
- @mixin kendo-expander--layout-base() {
5
-
6
- // Base
7
- .k-expander {
8
- border-width: $kendo-expander-border-width;
9
- border-style: solid;
10
- box-sizing: border-box;
11
- overflow: hidden;
12
- outline: 0;
13
- font-family: $kendo-expander-font-family;
14
- font-size: $kendo-expander-font-size;
15
- line-height: $kendo-expander-line-height;
16
- display: flex;
17
- flex-direction: column;
18
- -webkit-touch-callout: none;
19
- -webkit-tap-highlight-color: $kendo-color-rgba-transparent;
20
-
21
- *,
22
- *::before,
23
- *::after {
24
- box-sizing: border-box;
25
- }
26
- }
27
-
28
- .k-rtl .k-expander,
29
- .k-expander.k-rtl,
30
- .k-expander[dir="rtl"] {
31
- // Expand / collapse icon
32
- .k-expander-indicator {
33
- margin-left: 0;
34
- margin-right: $kendo-expander-indicator-margin-x;
35
- }
36
- }
37
-
38
- // Header
39
- .k-expander-header {
40
- padding-block: $kendo-expander-header-padding-y;
41
- padding-inline: $kendo-expander-header-padding-x;
42
- display: flex;
43
- justify-content: space-between;
44
- align-items: center;
45
- cursor: pointer;
46
- }
47
-
48
- // Expander spacer
49
- .k-expander-spacer {
50
- flex: 1 1 auto;
51
- }
52
-
53
- // Title
54
- .k-expander-title {
55
- text-transform: uppercase;
56
- font-weight: 500;
57
- }
58
-
59
- // Expand / collapse icon
60
- .k-expander-indicator {
61
- margin-left: $kendo-expander-indicator-margin-x;
62
- display: flex;
63
- justify-content: center;
64
- align-items: center;
65
- }
66
-
67
- // Expander content
68
- .k-expander-content {
69
- padding-block: $kendo-expander-content-padding-y;
70
- padding-inline: $kendo-expander-content-padding-x;
71
- }
72
-
73
- // Multiple expanders
74
- .k-expander + .k-expander.k-expanded,
75
- .k-expander.k-expanded + .k-expander {
76
- margin-top: $kendo-expander-spacing-y;
77
- }
78
-
79
- .k-expander:not(.k-expanded) + .k-expander:not(.k-expanded) {
80
- border-top-width: 0;
81
- }
82
- }
1
+ @use "@progress/kendo-theme-core/scss/components/expansion-panel/_layout.scss" as *;
83
2
 
84
3
 
85
4
  @mixin kendo-expander--layout() {
@@ -1,47 +1,4 @@
1
- @use "../core/_index.scss" as *;
2
- @use "./variables.scss" as *;
3
-
4
- @mixin kendo-expander--theme-base() {
5
-
6
- .k-expander {
7
- @include fill(
8
- $kendo-expander-text,
9
- $kendo-expander-bg,
10
- $kendo-expander-border
11
- );
12
-
13
- &.k-focus {
14
- @include focus-indicator( $kendo-expander-focus-shadow, true );
15
- }
16
- }
17
-
18
- .k-expander-header {
19
- @include fill(
20
- $kendo-expander-header-text,
21
- $kendo-expander-header-bg,
22
- $kendo-expander-header-border
23
- );
24
- outline: none;
25
-
26
- &:hover,
27
- &.k-hover {
28
- background-color: $kendo-expander-header-hover-bg;
29
- }
30
-
31
- &.k-focus {
32
- @include focus-indicator( $kendo-expander-header-focus-shadow, true );
33
- background-color: $kendo-expander-header-focus-bg;
34
- }
35
- }
36
-
37
- .k-expander-title {
38
- color: $kendo-expander-title-text;
39
- }
40
-
41
- .k-expander-sub-title {
42
- color: $kendo-expander-header-sub-title-text;
43
- }
44
- }
1
+ @use "@progress/kendo-theme-core/scss/components/expansion-panel/_theme.scss" as *;
45
2
 
46
3
 
47
4
  @mixin kendo-expander--theme() {
@@ -78,3 +78,28 @@ $kendo-expander-content-padding-x: k-spacing(4) !default;
78
78
  /// The vertical padding of the ExpansionPanel content.
79
79
  /// @group expander
80
80
  $kendo-expander-content-padding-y: k-spacing(4) !default;
81
+
82
+ @forward "@progress/kendo-theme-core/scss/components/expansion-panel/_variables.scss" with (
83
+ $kendo-expander-spacing-y: $kendo-expander-spacing-y,
84
+ $kendo-expander-border-width: $kendo-expander-border-width,
85
+ $kendo-expander-font-family: $kendo-expander-font-family,
86
+ $kendo-expander-font-size: $kendo-expander-font-size,
87
+ $kendo-expander-line-height: $kendo-expander-line-height,
88
+ $kendo-expander-text: $kendo-expander-text,
89
+ $kendo-expander-bg: $kendo-expander-bg,
90
+ $kendo-expander-border: $kendo-expander-border,
91
+ $kendo-expander-focus-shadow: $kendo-expander-focus-shadow,
92
+ $kendo-expander-header-padding-x: $kendo-expander-header-padding-x,
93
+ $kendo-expander-header-padding-y: $kendo-expander-header-padding-y,
94
+ $kendo-expander-header-text: $kendo-expander-header-text,
95
+ $kendo-expander-header-bg: $kendo-expander-header-bg,
96
+ $kendo-expander-header-border: $kendo-expander-header-border,
97
+ $kendo-expander-header-hover-bg: $kendo-expander-header-hover-bg,
98
+ $kendo-expander-header-focus-bg: $kendo-expander-header-focus-bg,
99
+ $kendo-expander-header-focus-shadow: $kendo-expander-header-focus-shadow,
100
+ $kendo-expander-title-text: $kendo-expander-title-text,
101
+ $kendo-expander-header-sub-title-text: $kendo-expander-header-sub-title-text,
102
+ $kendo-expander-indicator-margin-x: $kendo-expander-indicator-margin-x,
103
+ $kendo-expander-content-padding-x: $kendo-expander-content-padding-x,
104
+ $kendo-expander-content-padding-y: $kendo-expander-content-padding-y
105
+ );
@@ -1,148 +1,4 @@
1
- @use "sass:map";
2
- @use "../core/_index.scss" as *;
3
- @use "./variables.scss" as *;
4
-
5
- @mixin kendo-fab--layout-base() {
6
-
7
- // Floating Action Button (FAB)
8
- .k-fab {
9
- padding: 0;
10
- border-width: 0;
11
- border-style: solid;
12
- border-color: transparent;
13
- box-sizing: border-box;
14
- color: inherit;
15
- background-color: transparent;
16
- font-size: $kendo-fab-font-size;
17
- line-height: $kendo-fab-line-height;
18
- font-family: $kendo-fab-font-family;
19
- text-align: center;
20
- white-space: nowrap;
21
- display: inline-flex;
22
- align-items: center;
23
- justify-content: center;
24
- vertical-align: middle;
25
- overflow: hidden;
26
- text-overflow: ellipsis;
27
- cursor: pointer;
28
- outline: none;
29
-
30
- *,
31
- *::before,
32
- *::after {
33
- box-sizing: border-box;
34
- }
35
-
36
- &:focus {
37
- outline: none;
38
- }
39
- }
40
-
41
- // FAB Icon
42
- .k-fab-icon {
43
- padding-inline: $kendo-fab-icon-padding-x;
44
- padding-block: $kendo-fab-icon-padding-y;
45
- box-sizing: content-box;
46
- }
47
-
48
- .k-icon-wrapper-host:not(:only-child) .k-fab-icon,
49
- .k-fab-icon:not(:only-child) {
50
- margin-inline-end: $kendo-fab-icon-spacing;
51
- margin-inline-start: calc( #{$kendo-fab-icon-spacing} * -1 );
52
- }
53
-
54
- // Sizes
55
- @each $size, $size-props in $kendo-fab-sizes {
56
- $_padding-x: map.get( $size-props, padding-x );
57
- $_padding-y: map.get( $size-props, padding-y );
58
-
59
- .k-fab-#{$size} {
60
- padding: $_padding-y $_padding-x;
61
- }
62
-
63
- }
64
-
65
- // Items
66
- .k-fab-items {
67
- margin: 0;
68
- padding-block: $kendo-fab-items-padding-y;
69
- padding-inline: $kendo-fab-items-padding-x;
70
- display: flex;
71
- }
72
-
73
- .k-fab-items-bottom {
74
- flex-direction: column;
75
- }
76
- .k-fab-items-bottom .k-fab-item:last-child {
77
- margin-block-end: 0;
78
- }
79
-
80
- .k-fab-items-top {
81
- flex-direction: column-reverse;
82
- }
83
- .k-fab-items-top .k-fab-item:first-child {
84
- margin-block-end: 0;
85
- }
86
-
87
- .k-fab-item {
88
- list-style-type: none;
89
- margin-block-end: k-spacing(2);
90
- outline: none;
91
- white-space: nowrap;
92
- display: flex;
93
- align-items: center;
94
- justify-content: flex-end;
95
- cursor: pointer;
96
-
97
- &.k-text-right {
98
- flex-direction: row;
99
-
100
- .k-fab-item-text {
101
- // Needed for fab item positioning in RTL
102
- margin-right: k-spacing(2);
103
- }
104
- }
105
- &.k-text-left {
106
- flex-direction: row-reverse;
107
-
108
- .k-fab-item-text {
109
- // Needed for fab item positioning in RTL
110
- margin-left: k-spacing(2);
111
- }
112
- }
113
- }
114
-
115
- .k-fab-item-text {
116
- padding-block: $kendo-fab-item-text-padding-y;
117
- padding-inline: $kendo-fab-item-text-padding-x;
118
- border-width: $kendo-fab-item-text-border-width;
119
- border-radius: $kendo-fab-item-text-border-radius;
120
- font-size: $kendo-fab-item-text-font-size;
121
- line-height: $kendo-fab-item-text-line-height;
122
- }
123
-
124
- .k-fab-item-icon {
125
- padding-block: $kendo-fab-item-icon-padding-y;
126
- padding-inline: $kendo-fab-item-icon-padding-x;
127
- border-width: $kendo-fab-item-icon-border-width;
128
- border-radius: $kendo-fab-item-icon-border-radius;
129
- box-sizing: content-box;
130
- outline: none;
131
- }
132
-
133
-
134
-
135
- .k-rtl .k-fab-popup,
136
- [dir="rtl"] .k-fab-popup {
137
- .k-fab-item.k-text-left {
138
- flex-direction: row;
139
- }
140
-
141
- .k-fab-item.k-text-right {
142
- flex-direction: row-reverse;
143
- }
144
- }
145
- }
1
+ @use "@progress/kendo-theme-core/scss/components/fab/_layout.scss" as *;
146
2
 
147
3
 
148
4
  @mixin kendo-fab--layout() {
@@ -1,131 +1,4 @@
1
- @use "../core/_index.scss" as *;
2
- @use "../core/functions/index.import.scss" as *;
3
- @use "./variables.scss" as *;
4
-
5
- @mixin kendo-fab--theme-base() {
6
-
7
- // Normal state
8
- @each $name, $color in $kendo-fab-theme-colors {
9
- .k-fab-solid-#{$name} {
10
- @include box-shadow($kendo-fab-shadow);
11
- outline: $kendo-fab-border-width $kendo-fab-outline-style $color;
12
- outline-offset: -$kendo-fab-border-width;
13
- border-color: $color;
14
- color: if($kendo-enable-color-system, k-color( on-#{$name} ), k-contrast-legacy( $color ));
15
- background-color: $color;
16
- }
17
- }
18
-
19
- // Hover state
20
- @each $name, $color in $kendo-fab-theme-colors {
21
- .k-hover.k-fab-solid-#{$name},
22
- .k-fab-solid-#{$name}:hover {
23
- border-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, .5 ));
24
- background-color: if($kendo-enable-color-system, k-color( #{$name}-hover ), k-try-shade( $color, .5 ));
25
- }
26
- }
27
-
28
- // Focus state
29
- @each $name, $color in $kendo-fab-theme-colors {
30
- .k-fab-solid-#{$name}.k-focus,
31
- .k-fab-solid-#{$name}:focus {
32
- @if $kendo-enable-focus-contrast {
33
- @include box-shadow( inset 0 0 0 2px currentColor );
34
- } @else {
35
- outline: $kendo-fab-outline-style $kendo-fab-outline-width if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) 30%, transparent), rgba( $color, .3 ));
36
- }
37
- }
38
- }
39
-
40
- // Active state
41
- @each $name, $color in $kendo-fab-theme-colors {
42
- .k-active.k-fab-solid-#{$name},
43
- .k-selected.k-fab-solid-#{$name},
44
- .k-fab-solid-#{$name}:active {
45
- @include box-shadow($kendo-fab-active-shadow);
46
- border-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 1.5));
47
- background-color: if($kendo-enable-color-system, k-color( #{$name}-active ), k-try-shade( $color, 1.5));
48
- }
49
- }
50
-
51
- // Disabled state
52
- @each $name, $color in $kendo-fab-theme-colors {
53
- .k-disabled.k-fab-solid-#{$name},
54
- .k-fab-solid-#{$name}:disabled {
55
- @include box-shadow($kendo-fab-disabled-shadow);
56
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( $name ) 60%, transparent), k-try-tint( $color, 5 ));
57
- color: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-#{$name} ) 60%, transparent), k-try-tint( k-contrast-legacy( $color ), 5 ));
58
- opacity: 1;
59
- }
60
- }
61
-
62
- // Items
63
- .k-fab-item-text {
64
- @include fill(
65
- $kendo-fab-item-text,
66
- $kendo-fab-item-bg,
67
- $kendo-fab-item-border
68
- );
69
- @include box-shadow($kendo-fab-item-shadow);
70
-
71
- }
72
- .k-fab-item-icon {
73
- @include fill(
74
- $kendo-fab-item-icon-text,
75
- $kendo-fab-item-icon-bg,
76
- $kendo-fab-item-icon-border
77
- );
78
- @include box-shadow($kendo-fab-item-shadow);
79
- outline: $kendo-fab-border-width $kendo-fab-item-outline-style $kendo-fab-item-outline-color;
80
- outline-offset: -$kendo-fab-border-width;
81
- }
82
-
83
- // Hover state
84
- .k-fab-item.k-hover .k-fab-item-icon,
85
- .k-fab-item:hover .k-fab-item-icon {
86
- border-color: if($kendo-enable-color-system, k-color( border ), k-try-shade( $kendo-fab-item-icon-border, .5 ));
87
- background-color: if($kendo-enable-color-system, k-color( base-hover ), k-try-shade( $kendo-fab-item-icon-bg, .5 ));
88
- }
89
-
90
- // Focus state
91
- .k-fab-item:focus .k-fab-item-text,
92
- .k-fab-item:focus .k-fab-item-icon,
93
- .k-fab-item.k-focus .k-fab-item-text,
94
- .k-fab-item.k-focus .k-fab-item-icon {
95
- @if $kendo-enable-focus-contrast {
96
- @include box-shadow( inset 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 )) );
97
- } @else {
98
- outline: $kendo-fab-item-outline-style $kendo-fab-item-outline-width $kendo-fab-item-outline-color;
99
- }
100
- }
101
-
102
- // Active state
103
- .k-fab-item.k-active .k-fab-item-icon,
104
- .k-fab-item:active .k-fab-item-icon {
105
- @include box-shadow($kendo-fab-item-active-shadow);
106
- border-color: if($kendo-enable-color-system, k-color( border-alt ), k-try-shade( $kendo-fab-item-icon-border, 1 ));
107
- background-color: if($kendo-enable-color-system, k-color( base-active ), k-try-shade( $kendo-fab-item-icon-bg, 1 ));
108
- }
109
-
110
- // Disabled state
111
- .k-fab-item.k-disabled,
112
- .k-fab-item:disabled {
113
- opacity: 1;
114
-
115
- .k-fab-item-text,
116
- .k-fab-item-icon {
117
- @include box-shadow($kendo-fab-item-disabled-shadow);
118
- background-color: if($kendo-enable-color-system, color-mix(in srgb, k-color( base ) 60%, transparent), k-try-tint( $kendo-fab-item-bg, 5 ));
119
- color: if($kendo-enable-color-system, color-mix(in srgb, k-color( on-base ) 60%, transparent), k-try-tint( $kendo-fab-item-text, 5 ));
120
- }
121
- }
122
-
123
- // Popup
124
- .k-fab-popup {
125
- @include box-shadow( none );
126
- }
127
-
128
- }
1
+ @use "@progress/kendo-theme-core/scss/components/fab/_theme.scss" as *;
129
2
 
130
3
 
131
4
  @mixin kendo-fab--theme() {
@@ -170,3 +170,53 @@ $kendo-fab-item-outline-width: k-spacing(0.5) !default;
170
170
  /// The outline color of the FAB item.
171
171
  /// @group floating-action-button
172
172
  $kendo-fab-item-outline-color: rgba(0, 0, 0, .08) !default;
173
+
174
+ @forward "@progress/kendo-theme-core/scss/components/fab/_variables.scss" with (
175
+ $kendo-fab-border-width: $kendo-fab-border-width,
176
+ $kendo-fab-border-radius: $kendo-fab-border-radius,
177
+ $kendo-fab-font-family: $kendo-fab-font-family,
178
+ $kendo-fab-font-size: $kendo-fab-font-size,
179
+ $kendo-fab-line-height: $kendo-fab-line-height,
180
+ $kendo-fab-padding-x: $kendo-fab-padding-x,
181
+ $kendo-fab-sm-padding-x: $kendo-fab-sm-padding-x,
182
+ $kendo-fab-md-padding-x: $kendo-fab-md-padding-x,
183
+ $kendo-fab-lg-padding-x: $kendo-fab-lg-padding-x,
184
+ $kendo-fab-padding-y: $kendo-fab-padding-y,
185
+ $kendo-fab-sm-padding-y: $kendo-fab-sm-padding-y,
186
+ $kendo-fab-md-padding-y: $kendo-fab-md-padding-y,
187
+ $kendo-fab-lg-padding-y: $kendo-fab-lg-padding-y,
188
+ $kendo-fab-icon-padding-x: $kendo-fab-icon-padding-x,
189
+ $kendo-fab-icon-padding-y: $kendo-fab-icon-padding-y,
190
+ $kendo-fab-icon-spacing: $kendo-fab-icon-spacing,
191
+ $kendo-fab-items-padding-x: $kendo-fab-items-padding-x,
192
+ $kendo-fab-items-padding-y: $kendo-fab-items-padding-y,
193
+ $kendo-fab-item-text-padding-x: $kendo-fab-item-text-padding-x,
194
+ $kendo-fab-item-text-padding-y: $kendo-fab-item-text-padding-y,
195
+ $kendo-fab-item-text-border-width: $kendo-fab-item-text-border-width,
196
+ $kendo-fab-item-text-border-radius: $kendo-fab-item-text-border-radius,
197
+ $kendo-fab-item-text-font-size: $kendo-fab-item-text-font-size,
198
+ $kendo-fab-item-text-line-height: $kendo-fab-item-text-line-height,
199
+ $kendo-fab-item-icon-padding-x: $kendo-fab-item-icon-padding-x,
200
+ $kendo-fab-item-icon-padding-y: $kendo-fab-item-icon-padding-y,
201
+ $kendo-fab-item-icon-border-width: $kendo-fab-item-icon-border-width,
202
+ $kendo-fab-item-icon-border-radius: $kendo-fab-item-icon-border-radius,
203
+ $kendo-fab-theme-colors: $kendo-fab-theme-colors,
204
+ $kendo-fab-sizes: $kendo-fab-sizes,
205
+ $kendo-fab-shadow: $kendo-fab-shadow,
206
+ $kendo-fab-disabled-shadow: $kendo-fab-disabled-shadow,
207
+ $kendo-fab-active-shadow: $kendo-fab-active-shadow,
208
+ $kendo-fab-outline-style: $kendo-fab-outline-style,
209
+ $kendo-fab-outline-width: $kendo-fab-outline-width,
210
+ $kendo-fab-item-text: $kendo-fab-item-text,
211
+ $kendo-fab-item-bg: $kendo-fab-item-bg,
212
+ $kendo-fab-item-border: $kendo-fab-item-border,
213
+ $kendo-fab-item-icon-text: $kendo-fab-item-icon-text,
214
+ $kendo-fab-item-icon-bg: $kendo-fab-item-icon-bg,
215
+ $kendo-fab-item-icon-border: $kendo-fab-item-icon-border,
216
+ $kendo-fab-item-shadow: $kendo-fab-item-shadow,
217
+ $kendo-fab-item-disabled-shadow: $kendo-fab-item-disabled-shadow,
218
+ $kendo-fab-item-active-shadow: $kendo-fab-item-active-shadow,
219
+ $kendo-fab-item-outline-style: $kendo-fab-item-outline-style,
220
+ $kendo-fab-item-outline-width: $kendo-fab-item-outline-width,
221
+ $kendo-fab-item-outline-color: $kendo-fab-item-outline-color
222
+ );