@syncfusion/ej2-navigations 19.3.54 → 19.4.40

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 (256) hide show
  1. package/.github/PULL_REQUEST_TEMPLATE/Bug.md +63 -0
  2. package/.github/PULL_REQUEST_TEMPLATE/feature.md +39 -0
  3. package/CHANGELOG.md +58 -0
  4. package/dist/ej2-navigations.umd.min.js +2 -2
  5. package/dist/ej2-navigations.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es2015.js +525 -147
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +532 -148
  9. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  10. package/dist/global/ej2-navigations.min.js +2 -2
  11. package/dist/global/ej2-navigations.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/package.json +11 -12
  14. package/src/accordion/accordion-model.d.ts +5 -5
  15. package/src/accordion/accordion.d.ts +5 -5
  16. package/src/accordion/accordion.js +2 -19
  17. package/src/breadcrumb/breadcrumb-model.d.ts +23 -11
  18. package/src/breadcrumb/breadcrumb.d.ts +33 -10
  19. package/src/breadcrumb/breadcrumb.js +320 -78
  20. package/src/common/menu-base.js +2 -2
  21. package/src/common/v-scroll.js +1 -1
  22. package/src/sidebar/sidebar.js +4 -4
  23. package/src/tab/tab-model.d.ts +14 -6
  24. package/src/tab/tab.d.ts +26 -15
  25. package/src/tab/tab.js +56 -27
  26. package/src/toolbar/toolbar-model.d.ts +7 -7
  27. package/src/toolbar/toolbar.d.ts +6 -6
  28. package/src/toolbar/toolbar.js +81 -13
  29. package/src/treeview/treeview-model.d.ts +10 -0
  30. package/src/treeview/treeview.d.ts +13 -0
  31. package/src/treeview/treeview.js +68 -5
  32. package/styles/accordion/_bootstrap-dark-definition.scss +4 -0
  33. package/styles/accordion/_bootstrap-definition.scss +4 -0
  34. package/styles/accordion/_bootstrap4-definition.scss +4 -0
  35. package/styles/accordion/_bootstrap5-definition.scss +39 -35
  36. package/styles/accordion/_fabric-dark-definition.scss +4 -0
  37. package/styles/accordion/_fabric-definition.scss +4 -0
  38. package/styles/accordion/_fluent-definition.scss +85 -0
  39. package/styles/accordion/_highcontrast-definition.scss +5 -1
  40. package/styles/accordion/_highcontrast-light-definition.scss +4 -0
  41. package/styles/accordion/_layout.scss +6 -14
  42. package/styles/accordion/_material-dark-definition.scss +4 -0
  43. package/styles/accordion/_material-definition.scss +4 -0
  44. package/styles/accordion/_tailwind-definition.scss +83 -79
  45. package/styles/accordion/_theme.scss +12 -11
  46. package/styles/accordion/bootstrap4.css +1 -2
  47. package/styles/accordion/bootstrap5-dark.css +11 -2
  48. package/styles/accordion/bootstrap5.css +11 -2
  49. package/styles/accordion/highcontrast-light.css +0 -4
  50. package/styles/accordion/highcontrast.css +1 -5
  51. package/styles/accordion/icons/_fluent.scss +17 -0
  52. package/styles/accordion/icons/_tailwind.scss +17 -17
  53. package/styles/bootstrap-dark.css +317 -84
  54. package/styles/bootstrap.css +316 -83
  55. package/styles/bootstrap4.css +317 -76
  56. package/styles/bootstrap5-dark.css +339 -75
  57. package/styles/bootstrap5.css +341 -77
  58. package/styles/breadcrumb/_bootstrap-dark-definition.scss +14 -0
  59. package/styles/breadcrumb/_bootstrap-definition.scss +13 -0
  60. package/styles/breadcrumb/_bootstrap4-definition.scss +13 -0
  61. package/styles/breadcrumb/_bootstrap5-definition.scss +15 -2
  62. package/styles/breadcrumb/_fabric-dark-definition.scss +13 -0
  63. package/styles/breadcrumb/_fabric-definition.scss +13 -0
  64. package/styles/breadcrumb/_fluent-definition.scss +59 -0
  65. package/styles/breadcrumb/_highcontrast-definition.scss +13 -0
  66. package/styles/breadcrumb/_highcontrast-light-definition.scss +13 -0
  67. package/styles/breadcrumb/_layout.scss +171 -22
  68. package/styles/breadcrumb/_material-dark-definition.scss +13 -0
  69. package/styles/breadcrumb/_material-definition.scss +13 -0
  70. package/styles/breadcrumb/_tailwind-dark-definition.scss +13 -0
  71. package/styles/breadcrumb/_tailwind-definition.scss +13 -0
  72. package/styles/breadcrumb/_theme.scss +27 -8
  73. package/styles/breadcrumb/bootstrap-dark.css +194 -17
  74. package/styles/breadcrumb/bootstrap.css +194 -17
  75. package/styles/breadcrumb/bootstrap4.css +194 -17
  76. package/styles/breadcrumb/bootstrap5-dark.css +198 -24
  77. package/styles/breadcrumb/bootstrap5.css +198 -24
  78. package/styles/breadcrumb/fabric-dark.css +197 -20
  79. package/styles/breadcrumb/fabric.css +197 -20
  80. package/styles/breadcrumb/highcontrast-light.css +200 -22
  81. package/styles/breadcrumb/highcontrast.css +200 -22
  82. package/styles/breadcrumb/icons/_bootstrap-dark.scss +2 -1
  83. package/styles/breadcrumb/icons/_bootstrap.scss +2 -1
  84. package/styles/breadcrumb/icons/_bootstrap4.scss +2 -1
  85. package/styles/breadcrumb/icons/_bootstrap5.scss +2 -1
  86. package/styles/breadcrumb/icons/_fabric-dark.scss +2 -1
  87. package/styles/breadcrumb/icons/_fabric.scss +2 -1
  88. package/styles/breadcrumb/icons/_fluent.scss +25 -0
  89. package/styles/breadcrumb/icons/_highcontrast-light.scss +2 -1
  90. package/styles/breadcrumb/icons/_highcontrast.scss +2 -1
  91. package/styles/breadcrumb/icons/_material-dark.scss +2 -1
  92. package/styles/breadcrumb/icons/_material.scss +2 -1
  93. package/styles/breadcrumb/icons/_tailwind-dark.scss +2 -1
  94. package/styles/breadcrumb/icons/_tailwind.scss +2 -1
  95. package/styles/breadcrumb/material-dark.css +186 -13
  96. package/styles/breadcrumb/material.css +186 -13
  97. package/styles/breadcrumb/tailwind-dark.css +195 -22
  98. package/styles/breadcrumb/tailwind.css +195 -22
  99. package/styles/context-menu/_bootstrap-dark-definition.scss +1 -1
  100. package/styles/context-menu/_bootstrap-definition.scss +1 -1
  101. package/styles/context-menu/_bootstrap4-definition.scss +1 -1
  102. package/styles/context-menu/_bootstrap5-definition.scss +5 -5
  103. package/styles/context-menu/_fluent-definition.scss +52 -0
  104. package/styles/context-menu/_material-dark-definition.scss +1 -1
  105. package/styles/context-menu/_material-definition.scss +1 -1
  106. package/styles/context-menu/_tailwind-definition.scss +1 -1
  107. package/styles/context-menu/bootstrap-dark.css +1 -1
  108. package/styles/context-menu/bootstrap.css +1 -1
  109. package/styles/context-menu/bootstrap4.css +1 -1
  110. package/styles/context-menu/bootstrap5-dark.css +5 -5
  111. package/styles/context-menu/bootstrap5.css +6 -6
  112. package/styles/context-menu/icons/_fluent.scss +32 -0
  113. package/styles/context-menu/material-dark.css +1 -1
  114. package/styles/context-menu/material.css +1 -1
  115. package/styles/context-menu/tailwind-dark.css +1 -1
  116. package/styles/context-menu/tailwind.css +1 -1
  117. package/styles/fabric-dark.css +305 -41
  118. package/styles/fabric.css +308 -44
  119. package/styles/h-scroll/_fluent-definition.scss +78 -0
  120. package/styles/h-scroll/_tailwind-definition.scss +78 -78
  121. package/styles/h-scroll/_theme.scss +1 -1
  122. package/styles/h-scroll/bootstrap-dark.css +1 -1
  123. package/styles/h-scroll/bootstrap.css +1 -1
  124. package/styles/h-scroll/bootstrap4.css +1 -1
  125. package/styles/h-scroll/bootstrap5-dark.css +1 -1
  126. package/styles/h-scroll/bootstrap5.css +1 -1
  127. package/styles/h-scroll/fabric-dark.css +1 -1
  128. package/styles/h-scroll/fabric.css +1 -1
  129. package/styles/h-scroll/highcontrast-light.css +1 -1
  130. package/styles/h-scroll/highcontrast.css +1 -1
  131. package/styles/h-scroll/icons/_fluent.scss +49 -0
  132. package/styles/h-scroll/icons/_tailwind.scss +49 -49
  133. package/styles/h-scroll/material-dark.css +1 -1
  134. package/styles/h-scroll/material.css +1 -1
  135. package/styles/h-scroll/tailwind-dark.css +1 -1
  136. package/styles/h-scroll/tailwind.css +1 -1
  137. package/styles/highcontrast-light.css +317 -47
  138. package/styles/highcontrast.css +322 -52
  139. package/styles/material-dark.css +295 -32
  140. package/styles/material.css +296 -33
  141. package/styles/menu/_fluent-definition.scss +68 -0
  142. package/styles/menu/_layout.scss +1 -1
  143. package/styles/menu/_theme.scss +9 -0
  144. package/styles/menu/bootstrap-dark.css +1 -1
  145. package/styles/menu/bootstrap.css +1 -1
  146. package/styles/menu/bootstrap4.css +1 -1
  147. package/styles/menu/bootstrap5-dark.css +4 -4
  148. package/styles/menu/bootstrap5.css +5 -5
  149. package/styles/menu/icons/_fluent.scss +133 -0
  150. package/styles/menu/material-dark.css +1 -1
  151. package/styles/menu/material.css +1 -1
  152. package/styles/menu/tailwind-dark.css +1 -1
  153. package/styles/menu/tailwind.css +1 -1
  154. package/styles/sidebar/_bootstrap5-definition.scss +5 -5
  155. package/styles/sidebar/_fluent-definition.scss +5 -0
  156. package/styles/sidebar/_theme.scss +4 -2
  157. package/styles/sidebar/bootstrap5-dark.css +0 -1
  158. package/styles/sidebar/bootstrap5.css +0 -1
  159. package/styles/sidebar/tailwind-dark.css +0 -1
  160. package/styles/sidebar/tailwind.css +0 -1
  161. package/styles/tab/_bootstrap-dark-definition.scss +10 -1
  162. package/styles/tab/_bootstrap-definition.scss +10 -1
  163. package/styles/tab/_bootstrap4-definition.scss +9 -1
  164. package/styles/tab/_bootstrap5-definition.scss +401 -401
  165. package/styles/tab/_fabric-dark-definition.scss +10 -0
  166. package/styles/tab/_fabric-definition.scss +10 -0
  167. package/styles/tab/_fluent-definition.scss +409 -0
  168. package/styles/tab/_highcontrast-definition.scss +10 -0
  169. package/styles/tab/_highcontrast-light-definition.scss +10 -0
  170. package/styles/tab/_layout.scss +145 -0
  171. package/styles/tab/_material-dark-definition.scss +10 -0
  172. package/styles/tab/_material-definition.scss +10 -0
  173. package/styles/tab/_tailwind-definition.scss +431 -420
  174. package/styles/tab/_theme.scss +188 -113
  175. package/styles/tab/bootstrap-dark.css +43 -18
  176. package/styles/tab/bootstrap.css +42 -17
  177. package/styles/tab/bootstrap4.css +47 -28
  178. package/styles/tab/bootstrap5-dark.css +53 -30
  179. package/styles/tab/bootstrap5.css +53 -30
  180. package/styles/tab/fabric-dark.css +43 -20
  181. package/styles/tab/fabric.css +46 -23
  182. package/styles/tab/highcontrast-light.css +52 -19
  183. package/styles/tab/highcontrast.css +56 -23
  184. package/styles/tab/icons/_bootstrap-dark.scss +2 -2
  185. package/styles/tab/icons/_fabric-dark.scss +2 -2
  186. package/styles/tab/icons/_fluent.scss +140 -0
  187. package/styles/tab/icons/_tailwind.scss +140 -140
  188. package/styles/tab/material-dark.css +42 -15
  189. package/styles/tab/material.css +42 -15
  190. package/styles/tab/tailwind-dark.css +42 -17
  191. package/styles/tab/tailwind.css +42 -17
  192. package/styles/tailwind-dark.css +313 -50
  193. package/styles/tailwind.css +313 -50
  194. package/styles/toolbar/_bootstrap-dark-definition.scss +7 -1
  195. package/styles/toolbar/_bootstrap-definition.scss +7 -1
  196. package/styles/toolbar/_bootstrap4-definition.scss +8 -2
  197. package/styles/toolbar/_bootstrap5-definition.scss +104 -86
  198. package/styles/toolbar/_fabric-dark-definition.scss +7 -0
  199. package/styles/toolbar/_fabric-definition.scss +7 -0
  200. package/styles/toolbar/_fluent-definition.scss +149 -0
  201. package/styles/toolbar/_highcontrast-definition.scss +7 -0
  202. package/styles/toolbar/_highcontrast-light-definition.scss +7 -0
  203. package/styles/toolbar/_layout.scss +27 -72
  204. package/styles/toolbar/_material-dark-definition.scss +7 -1
  205. package/styles/toolbar/_material-definition.scss +7 -1
  206. package/styles/toolbar/_tailwind-definition.scss +149 -143
  207. package/styles/toolbar/_theme.scss +12 -15
  208. package/styles/toolbar/bootstrap-dark.css +17 -46
  209. package/styles/toolbar/bootstrap.css +17 -46
  210. package/styles/toolbar/bootstrap4.css +12 -26
  211. package/styles/toolbar/bootstrap5-dark.css +6 -7
  212. package/styles/toolbar/bootstrap5.css +6 -7
  213. package/styles/toolbar/fabric-dark.css +4 -0
  214. package/styles/toolbar/fabric.css +4 -0
  215. package/styles/toolbar/highcontrast-light.css +4 -1
  216. package/styles/toolbar/highcontrast.css +4 -1
  217. package/styles/toolbar/icons/_fluent.scss +16 -0
  218. package/styles/toolbar/icons/_tailwind.scss +16 -16
  219. package/styles/toolbar/material-dark.css +4 -1
  220. package/styles/toolbar/material.css +5 -2
  221. package/styles/toolbar/tailwind-dark.css +8 -6
  222. package/styles/toolbar/tailwind.css +8 -6
  223. package/styles/treeview/_bootstrap-dark-definition.scss +11 -0
  224. package/styles/treeview/_bootstrap-definition.scss +11 -0
  225. package/styles/treeview/_bootstrap4-definition.scss +11 -0
  226. package/styles/treeview/_bootstrap5-definition.scss +120 -109
  227. package/styles/treeview/_fabric-dark-definition.scss +11 -0
  228. package/styles/treeview/_fabric-definition.scss +11 -0
  229. package/styles/treeview/_fluent-definition.scss +120 -0
  230. package/styles/treeview/_highcontrast-definition.scss +11 -0
  231. package/styles/treeview/_highcontrast-light-definition.scss +11 -0
  232. package/styles/treeview/_layout.scss +116 -20
  233. package/styles/treeview/_material-dark-definition.scss +13 -0
  234. package/styles/treeview/_material-definition.scss +11 -0
  235. package/styles/treeview/_tailwind-definition.scss +12 -0
  236. package/styles/treeview/_theme.scss +5 -5
  237. package/styles/treeview/bootstrap-dark.css +60 -0
  238. package/styles/treeview/bootstrap.css +60 -0
  239. package/styles/treeview/bootstrap4.css +60 -0
  240. package/styles/treeview/bootstrap5-dark.css +61 -1
  241. package/styles/treeview/bootstrap5.css +61 -1
  242. package/styles/treeview/fabric-dark.css +60 -0
  243. package/styles/treeview/fabric.css +60 -0
  244. package/styles/treeview/highcontrast-light.css +60 -0
  245. package/styles/treeview/highcontrast.css +60 -0
  246. package/styles/treeview/icons/_bootstrap5.scss +43 -43
  247. package/styles/treeview/icons/_fluent.scss +43 -0
  248. package/styles/treeview/icons/_tailwind-dark.scss +43 -43
  249. package/styles/treeview/material-dark.css +60 -0
  250. package/styles/treeview/material.css +60 -0
  251. package/styles/treeview/tailwind-dark.css +65 -1
  252. package/styles/treeview/tailwind.css +65 -1
  253. package/styles/v-scroll/_fluent-definition.scss +49 -0
  254. package/styles/v-scroll/_tailwind-definition.scss +49 -49
  255. package/styles/v-scroll/icons/_fluent.scss +26 -0
  256. package/styles/v-scroll/icons/_tailwind.scss +26 -26
@@ -128,10 +128,6 @@
128
128
  .e-tbar-btn-text {
129
129
  line-height: $tbar-btn-txt-line-height;
130
130
 
131
- @if $tbar-skin == 'bootstrap' or $tbar-skin == 'bootstrap4' {
132
- line-height: inherit;
133
- }
134
-
135
131
  @if $tbar-skin == 'tailwind' or $tbar-skin == 'bootstrap5' {
136
132
  font-size: 16px;
137
133
  }
@@ -278,9 +274,14 @@
278
274
  &.e-tbtn-txt {
279
275
 
280
276
  .e-icons.e-btn-icon {
281
- padding: $tbar-zero-value;
282
- }
283
- }
277
+ @if $tbar-skin == 'bootstrap5' {
278
+ padding-bottom: $tbar-big-pop-padding-bottom;
279
+ }
280
+ @else {
281
+ padding: $tbar-zero-value;
282
+ }
283
+ }
284
+ }
284
285
  }
285
286
  }
286
287
 
@@ -295,28 +296,10 @@
295
296
  @if $tbar-skin == 'bootstrap' or $tbar-skin == 'bootstrap4' {
296
297
  line-height: 34px;
297
298
 
298
- &:focus {
299
- padding: 0 6px;
300
-
301
- @if $tbar-skin == 'bootstrap4' {
302
- padding: 0 4.5px;
303
- }
304
- }
305
-
306
- &:hover {
307
- padding: 0 6px;
308
-
309
- @if $tbar-skin == 'bootstrap4' {
310
- padding: 0 4.5px;
311
- }
312
- }
313
-
299
+ &:focus,
300
+ &:hover,
314
301
  &:active {
315
- padding: 0 6px;
316
-
317
- @if $tbar-skin == 'bootstrap4' {
318
- padding: 0 4.5px;
319
- }
302
+ padding: $tbar-btn-bgr-focus-padding;
320
303
  }
321
304
  }
322
305
 
@@ -412,14 +395,8 @@
412
395
  padding: $tbar-btn-bgr-padding;
413
396
 
414
397
  @if $tbar-skin == 'bootstrap' {
415
- &:focus {
416
- padding: 0 6px;
417
- }
418
-
419
- &:hover {
420
- padding: 0 6px;
421
- }
422
-
398
+ &:hover,
399
+ &:focus,
423
400
  &:active {
424
401
  padding: 0 6px;
425
402
  }
@@ -662,18 +639,11 @@
662
639
  line-height: $tbar-btn-nrml-line-height;
663
640
 
664
641
  @if $tbar-skin == 'bootstrap' or $tbar-skin == 'bootstrap4' {
665
- &:focus {
666
- padding: 0 1.5px;
667
- }
668
-
669
- &:hover {
670
- padding: 0 1.5px;
671
- }
672
-
642
+ &:hover,
643
+ &:focus,
673
644
  &:active {
674
645
  padding: 0 1.5px;
675
646
  }
676
-
677
647
  }
678
648
 
679
649
  }
@@ -855,17 +825,9 @@
855
825
  align-content: center;
856
826
  align-items: center;
857
827
  display: flex;
858
- height: auto;
828
+ height: $tbar-item-height;
859
829
  justify-content: center;
860
830
 
861
- @if $tbar-skin == 'material' {
862
- height: 36px;
863
- }
864
-
865
- @if $tbar-skin == 'tailwind'or $tbar-skin == 'bootstrap5' {
866
- height: 38px;
867
- }
868
-
869
831
  > * {
870
832
  height: 100%;
871
833
  min-width: 100%;
@@ -1286,9 +1248,14 @@
1286
1248
  &.e-tbtn-txt {
1287
1249
 
1288
1250
  .e-icons.e-btn-icon {
1289
- padding: $tbar-zero-value;
1290
- }
1291
- }
1251
+ @if $tbar-skin == 'bootstrap5' {
1252
+ padding-bottom: $tbar-pop-padding-bottom;
1253
+ }
1254
+ @else {
1255
+ padding: $tbar-zero-value;
1256
+ }
1257
+ }
1258
+ }
1292
1259
  }
1293
1260
  }
1294
1261
 
@@ -1306,14 +1273,8 @@
1306
1273
  @if $tbar-skin == 'bootstrap' {
1307
1274
  line-height: 27px;
1308
1275
 
1309
- &:focus {
1310
- padding: 0 1.5px;
1311
- }
1312
-
1313
- &:hover {
1314
- padding: 0 1.5px;
1315
- }
1316
-
1276
+ &:hover,
1277
+ &:focus,
1317
1278
  &:active {
1318
1279
  padding: 0 1.5px;
1319
1280
  }
@@ -1328,13 +1289,7 @@
1328
1289
  }
1329
1290
  }
1330
1291
 
1331
- @if $tbar-skin == 'highcontrast' {
1332
- &:focus {
1333
- outline: none;
1334
- }
1335
- }
1336
-
1337
- @if $tbar-skin == 'fabric' {
1292
+ @if $tbar-skin == 'highcontrast' or $tbar-skin == 'fabric' {
1338
1293
  &:focus {
1339
1294
  outline: none;
1340
1295
  }
@@ -48,7 +48,10 @@ $tbar-default-icon-overlay: rgba($grey-dark-font, .3) !default;
48
48
  $tbar-popup-rtl-border-width: 0 $border-size 0 0 !default;
49
49
  $tbar-popup-border-width: 0 0 0 $border-size !default;
50
50
  $tbar-default-bg: $grey-900 !default;
51
+ $tbar-items-default-bg: $tbar-default-bg !default;
52
+ $tbar-pop-bg: $tbar-default-bg !default;
51
53
  $tbar-press-bg: $grey-700 !default;
54
+ $tbar-btn-press-bg: $tbar-press-bg !default;
52
55
  $tbar-press-border-color: $grey-700 !default;
53
56
  $tbar-active-bg: rgba($grey-white, .22) !default;
54
57
 
@@ -101,6 +104,8 @@ $tbar-btn-icon-nrml-line-height: 25px !default;
101
104
  $tbar-left-item-line-height: 35px !default;
102
105
  $tbar-right-item-line-height: 24px !default;
103
106
  $tbar-btn-bgr-padding: $tbar-zero-value 6px !default;
107
+ $tbar-btn-bgr-focus-padding: 0 6px !default;
108
+ $tbar-item-height: auto !default;
104
109
  $tbar-btn-nrml-padding: $tbar-zero-value 1.5px !default;
105
110
  $tbar-pop-btn-bgr-padding: $tbar-zero-value 16px !default;
106
111
  $tbar-pop-btn-nrml-padding: $tbar-zero-value 16px !default;
@@ -132,7 +137,8 @@ $tbar-pressed-bg: $tbar-hover-bg !default;
132
137
  $tbar-pressed-border: $tbar-hover-border-color !default;
133
138
  $tbar-pressed-font: $tbar-hover-font !default;
134
139
  $tbar-select-font: $tbar-hover-font !default;
135
-
140
+ $tbar-hover-font-color: $tbar-hover-font !default;
141
+ $tbar-btn-active-font-color: $tbar-press-font !default;
136
142
 
137
143
  $tbar-default-icon-overlay: rgba($grey-dark-font, .26) !default;
138
144
  $tbar-default-font-overlay: rgba($grey-dark-font, .38) !default;
@@ -17,8 +17,11 @@ $tbar-separator-border-type: $border-type;
17
17
  $tbar-pop-box-shadow: 0 2px 2px 1px rgba(0, 0, 0, .21);
18
18
 
19
19
  $tbar-default-bg: $grey-50 !default;
20
+ $tbar-items-default-bg: $tbar-default-bg !default;
21
+ $tbar-pop-bg: $tbar-default-bg !default;
20
22
  $tbar-press-bg: $grey-400 !default;
21
23
  $tbar-press-border-color: $tbar-press-bg !default;
24
+ $tbar-btn-press-bg: $tbar-press-bg !default;
22
25
  $tbar-zero-value: 0 !default;
23
26
  $tbar-btn-bgr-minwidth: 0 !default;
24
27
  $tbar-btn-nrml-minwidth: 0 !default;
@@ -34,6 +37,7 @@ $tbar-bgr-size: 56px !default;
34
37
  $tbar-nrml-items-size: 42px !default;
35
38
  $tbar-bgr-items-size: 56px !default;
36
39
  $tbar-nrml-item-size: 42px !default;
40
+ $tbar-item-height: 36px !default;
37
41
  $tbar-bgr-item-size: 48px !default;
38
42
  $tbar-item-nrml-minwidth: 34px !default;
39
43
  $tbar-btn-pop-nrml-minheight: 24px !default;
@@ -82,6 +86,7 @@ $tbar-btn-icon-nrml-line-height: 25px !default;
82
86
  $tbar-left-item-line-height: 35px !default;
83
87
  $tbar-right-item-line-height: 24px !default;
84
88
  $tbar-btn-bgr-padding: $tbar-zero-value 6px !default;
89
+ $tbar-btn-bgr-focus-padding: 0 6px !default;
85
90
  $tbar-btn-nrml-padding: $tbar-zero-value 1.5px !default;
86
91
  $tbar-pop-btn-bgr-padding: $tbar-zero-value 16px !default;
87
92
  $tbar-pop-btn-nrml-padding: $tbar-zero-value 16px !default;
@@ -121,7 +126,8 @@ $tbar-pressed-bg: $tbar-hover-bg !default;
121
126
  $tbar-pressed-border: $tbar-hover-border-color !default;
122
127
  $tbar-pressed-font: $tbar-hover-font !default;
123
128
  $tbar-select-font: $tbar-hover-font !default;
124
-
129
+ $tbar-hover-font-color: $tbar-hover-font !default;
130
+ $tbar-btn-active-font-color: $tbar-press-font !default;
125
131
 
126
132
  $tbar-default-icon-overlay: rgba($grey-light-font, .26) !default;
127
133
  $tbar-default-font-overlay: rgba($grey-light-font, .38) !default;
@@ -1,143 +1,149 @@
1
- $tbar-skin: 'tailwind' !default;
2
- $border-size: 0;
3
- $border-type: solid;
4
- $tbar-icons-bgr-font-size: $text-xl;
5
- $tbar-separator-bgr-mrgn: 8px 4px;
6
- $tbar-separator-vertical-bgr-mrgn: 5px 10px;
7
- $tbar-radius: 0;
8
- $tbar-separator-nrml-mrgn: 7px 3px;
9
- $tbar-pop-radius: 4px;
10
- $tbar-separator-vertical-nrml-mrgn: 3px 7px;
11
- $tbar-border-size: $border-size;
12
- $tbar-separator-border-type: $border-type;
13
- $tbar-pop-box-shadow: $shadow-lg;
14
- $tbar-hover-border-color: $icon-color;
15
- $tbar-pressed-border: $tbar-hover-border-color;
16
- $tbar-btn-bgr-line-height: 24px !default;
17
- $tbar-zero-value: 0 !default;
18
- $tbar-btn-nrml-line-height: 22px !default;
19
- $tbar-btn-weight: $font-weight-normal !default;
20
- $tbar-border-radius: 4px !default;
21
- $tbar-tab-highlight-color: rgba(0, 0, 0, 0) !default;
22
- $tbar-border-nav-type: solid !default;
23
- $tbar-btn-box-shadow: none !default;
24
-
25
- $tbar-default-bg: $content-bg-color-alt2 !default;
26
- $tbar-default-font: $content-text-color !default;
27
- $tbar-active-bg: $content-bg-color-alt3 !default;
28
- $tbar-active-icon-color: $icon-color !default;
29
- $tbar-btn-family: $font-family !default;
30
- $tbar-press-bg: $content-bg-color-alt2 !default;
31
- $tbar-press-border-color: $border-light !default;
32
- $tbar-hover-bg: $content-bg-color-alt3 !default;
33
- $tbar-hover-font: $content-text-color-alt2 !default;
34
- $tbar-default-icon-color: $icon-color !default;
35
- $tbar-pressed-bg: $content-bg-color-alt2 !default;
36
- $tbar-pressed-font: $content-text-color-alt2 !default;
37
- $tbar-select-font: $content-text-color-alt2 !default;
38
- $tbar-default-font-overlay: $content-text-color-alt2 !default;
39
- $tbar-default-icon-overlay: $content-text-color-alt2 !default;
40
- $tbar-separator-border: $border-light !default;
41
- $tbar-default-border: $border-light !default;
42
- $tbar-hover-border-color: $icon-color !default;
43
- $tbar-focus-border-color: $tbar-hover-border-color !default;
44
- $tbar-focus-bg: $tbar-hover-bg !default;
45
- $tbar-press-font: $content-text-color-alt2 !default;
46
-
47
- $tbar-active-font-color: $tbar-press-font !default;
48
- $tbar-border-nav-type: $border-light !default;
49
- $tbar-border-nav-active-type: $border-light !default;
50
- $tbar-btn-border: none !default;
51
-
52
- $tbar-box-shadow: none !default;
53
- $tbar-border-type: $border-type !default;
54
- $tbar-separator-size: 1px !default;
55
- $tba-horizontal-separator: 0 $tbar-separator-size 0 0 !default;
56
- $tba-vertical-separator: 0 0 $tbar-separator-size 0 !default;
57
- $tbar-popup-border-width: 0 0 0 1px !default;
58
- $tbar-popup-rtl-border-width: 0 $border-size 0 0 !default;
59
- $tbar-popup-vertical-border-width: $border-size 0 0 0 !default;
60
- $tbar-popup-vertical-rtl-border-width: 0 0 $border-size 0 !default;
61
- $tbar-nrml-size: 38px !default;
62
- $tbar-bgr-size: 48px !default;
63
- $tbar-nrml-items-size: 38px !default;
64
- $tbar-bgr-items-size: 48px !default;
65
- $tbar-nrml-item-size: 38px !default;
66
- $tbar-item-nrml-minwidth: 28px !default;
67
- $tbar-bgr-item-size: 49px !default;
68
- $tbar-btn-font-size: $text-lg !default;
69
- $tbar-btn-txt-font-size: $text-sm !default;
70
- $tbar-popup-btn-bg-color: transparent !default;
71
-
72
- $tbar-item-bgr-padding: 5px 6px !default;
73
- $tbar-item-nrml-padding: 4px !default;
74
- $tbar-btn-nrml-padding: 0 4px !default;
75
- $tbar-btn-bgr-padding: 0 8px !default;
76
- $tbar-btn-icn-nrml-padding: 4px !default;
77
- $tbar-btn-icn-bgr-padding: 4px 6px !default;
78
- $tbar-btn-icn-right-bgr-padding: 4px 6px !default;
79
- $tbar-btn-icn-right-nrml-padding: 4px !default;
80
- $btn-txt-nrml-padding: 4px !default;
81
- $btn-txt-bgr-padding: 4px !default;
82
-
83
- $tbar-pop-bg: $flyout-bg-color;
84
- $tbar-item-pop-nrml-padding: 0 !default;
85
- $tbar-item-pop-bgr-padding: 0 !default;
86
- $tbar-pop-btn-bgr-padding: 8px 18px !default;
87
- $tbar-pop-btn-nrml-padding: 6px 12px !default;
88
- $tbar-pop-icon-bgr-padding: 0 6px 0 0 !default;
89
- $tbar-pop-icon-nrml-padding: 0 4px 0 0 !default;
90
- $tbar-pop-btn-txt-nrml-pad: 0 0 0 4px !default;
91
- $tbar-pop-btn-txt-bgr-pad: 0 0 0 6px !default;
92
-
93
- $tbar-nav-press-border: 0 !default;
94
- $tbar-nav-hover-border: 0 !default;
95
- $tbar-nav-focus-border: 0 !default;
96
- $tbar-nav-pressed-box-shadow: none !default;
97
- $tbar-btn-border-radius: 0 !default;
98
- $tbar-btn-pressed-box-shadow: none !default;
99
- $tbar-btn-bgr-mrgn: 0 !default;
100
- $tbar-btn-nrml-mrgn: 0 !default;
101
- $tbar-v-btn-bgr-mrgn: 0 !default;
102
- $tbar-v-btn-nrml-mrgn: 0 !default;
103
- $tbar-popup-padding: 0 !default;
104
- $tbar-btn-nrml-minheight: 30px !default;
105
- $tbar-btn-bgr-minheight: 38px !default;
106
- $tbar-btn-nrml-minwidth: 30px !default;
107
- $tbar-btn-bgr-minwidth: 38px !default;
108
- $tbar-btn-bgr-height: calc(100% - 11px) !default;
109
- $tbar-btn-nrml-height: calc(100% - 10px) !default;
110
- $tbar-separator-nrml-height: 24px !default;
111
- $tbar-separator-bgr-height: 30px !default;
112
- $tbar-separator-nrml-minheight: $tbar-separator-nrml-height !default;
113
- $tbar-separator-bgr-minheight: $tbar-separator-bgr-height !default;
114
- $tbar-btn-icon-nrml-width: 12px !default;
115
- $tbar-btn-icon-nrml-height: 16px !default;
116
- $tbar-btn-icon-nrml-line-height: 16px !default;
117
- $tbar-left-item-line-height: 35px !default;
118
- $tbar-right-item-line-height: 24px !default;
119
- $tbar-btn-icon-bgr-width: 13px !default;
120
- $tbar-btn-icon-bgr-height: 18px !default;
121
- $tbar-btn-icon-bgr-line-height: 18px !default;
122
- $tbar-btn-txt-line-height: inherit !default;
123
- $tbar-nav-nrml-width: 28px !default;
124
- $tbar-nav-bgr-width: 36px !default;
125
- $tbar-item-nrml-mrgn: 8px !default;
126
- $tbar-item-bgr-mrgn: 10px !default;
127
- $tbar-btn-pop-nrml-minheight: 38px !default;
128
- $tbar-btn-pop-bgr-minheight: 48px !default;
129
- $tbar-multirow-items-mrgn-bigger: 12.5px !default;
130
- $tbar-multirow-items-mrgn-small: 10px !default;
131
- $tbar-multirow-item-top-btm-mrgn-bigger: 1.5px 0 !default;
132
- $tbar-multirow-item-top-btm-mrgn-small: 1px 0 !default;
133
- $tbar-multirow-item-mrgn: 0 !default;
134
- $tbar-item-bgr-padding-bigger: 1.5px 0 !default;
135
- $tbar-item-nrml-padding-small: 1px 0 !default;
136
-
137
- @mixin tbar-btn-animation {
138
- content: '';
139
- }
140
-
141
- @mixin tbar-btn-animation-after {
142
- content: '';
143
- }
1
+ $tbar-skin: 'tailwind' !default;
2
+ $border-size: 0;
3
+ $border-type: solid;
4
+ $tbar-icons-bgr-font-size: $text-xl;
5
+ $tbar-separator-bgr-mrgn: 8px 4px;
6
+ $tbar-separator-vertical-bgr-mrgn: 5px 10px;
7
+ $tbar-radius: 0;
8
+ $tbar-separator-nrml-mrgn: 7px 3px;
9
+ $tbar-pop-radius: 4px;
10
+ $tbar-separator-vertical-nrml-mrgn: 3px 7px;
11
+ $tbar-border-size: $border-size;
12
+ $tbar-separator-border-type: $border-type;
13
+ $tbar-pop-box-shadow: $shadow-lg;
14
+ $tbar-hover-border-color: $icon-color;
15
+ $tbar-pressed-border: $tbar-hover-border-color;
16
+ $tbar-btn-bgr-line-height: 24px !default;
17
+ $tbar-zero-value: 0 !default;
18
+ $tbar-btn-nrml-line-height: 22px !default;
19
+ $tbar-btn-weight: $font-weight-normal !default;
20
+ $tbar-border-radius: 4px !default;
21
+ $tbar-tab-highlight-color: rgba(0, 0, 0, 0) !default;
22
+ $tbar-border-nav-type: solid !default;
23
+ $tbar-btn-box-shadow: none !default;
24
+
25
+ $tbar-default-bg: $content-bg-color-alt2 !default;
26
+ $tbar-items-default-bg: $tbar-default-bg !default;
27
+ $tbar-default-font: $content-text-color !default;
28
+ $tbar-btn-active-font-color: $tbar-default-font !default;
29
+ $tbar-active-bg: $content-bg-color-alt3 !default;
30
+ $tbar-active-icon-color: $icon-color !default;
31
+ $tbar-btn-family: $font-family !default;
32
+ $tbar-press-bg: $content-bg-color-alt2 !default;
33
+ $tbar-btn-press-bg: $tbar-press-bg !default;
34
+ $tbar-press-border-color: $border-light !default;
35
+ $tbar-hover-bg: $content-bg-color-alt3 !default;
36
+ $tbar-hover-font: $content-text-color-alt2 !default;
37
+ $tbar-hover-font-color: $tbar-default-font !default;
38
+ $tbar-default-icon-color: $icon-color !default;
39
+ $tbar-pressed-bg: $content-bg-color-alt2 !default;
40
+ $tbar-pressed-font: $content-text-color-alt2 !default;
41
+ $tbar-select-font: $content-text-color-alt2 !default;
42
+ $tbar-default-font-overlay: $content-text-color-alt2 !default;
43
+ $tbar-default-icon-overlay: $content-text-color-alt2 !default;
44
+ $tbar-separator-border: $border-light !default;
45
+ $tbar-default-border: $border-light !default;
46
+ $tbar-hover-border-color: $icon-color !default;
47
+ $tbar-focus-border-color: $tbar-hover-border-color !default;
48
+ $tbar-focus-bg: $tbar-hover-bg !default;
49
+ $tbar-press-font: $content-text-color-alt2 !default;
50
+
51
+ $tbar-active-font-color: $tbar-press-font !default;
52
+ $tbar-border-nav-type: $border-light !default;
53
+ $tbar-border-nav-active-type: $border-light !default;
54
+ $tbar-btn-border: none !default;
55
+
56
+ $tbar-box-shadow: none !default;
57
+ $tbar-border-type: $border-type !default;
58
+ $tbar-separator-size: 1px !default;
59
+ $tba-horizontal-separator: 0 $tbar-separator-size 0 0 !default;
60
+ $tba-vertical-separator: 0 0 $tbar-separator-size 0 !default;
61
+ $tbar-popup-border-width: 0 0 0 1px !default;
62
+ $tbar-popup-rtl-border-width: 0 $border-size 0 0 !default;
63
+ $tbar-popup-vertical-border-width: $border-size 0 0 0 !default;
64
+ $tbar-popup-vertical-rtl-border-width: 0 0 $border-size 0 !default;
65
+ $tbar-nrml-size: 38px !default;
66
+ $tbar-bgr-size: 48px !default;
67
+ $tbar-nrml-items-size: 38px !default;
68
+ $tbar-bgr-items-size: 48px !default;
69
+ $tbar-nrml-item-size: 38px !default;
70
+ $tbar-item-height: 38px !default;
71
+ $tbar-item-nrml-minwidth: 28px !default;
72
+ $tbar-bgr-item-size: 49px !default;
73
+ $tbar-btn-font-size: $text-lg !default;
74
+ $tbar-btn-txt-font-size: $text-sm !default;
75
+ $tbar-popup-btn-bg-color: transparent !default;
76
+
77
+ $tbar-item-bgr-padding: 5px 6px !default;
78
+ $tbar-item-nrml-padding: 4px !default;
79
+ $tbar-btn-nrml-padding: 0 4px !default;
80
+ $tbar-btn-bgr-padding: 0 8px !default;
81
+ $tbar-btn-bgr-focus-padding: 0 6px !default;
82
+ $tbar-btn-icn-nrml-padding: 4px !default;
83
+ $tbar-btn-icn-bgr-padding: 4px 6px !default;
84
+ $tbar-btn-icn-right-bgr-padding: 4px 6px !default;
85
+ $tbar-btn-icn-right-nrml-padding: 4px !default;
86
+ $btn-txt-nrml-padding: 4px !default;
87
+ $btn-txt-bgr-padding: 4px !default;
88
+
89
+ $tbar-pop-bg: $tbar-default-bg !default;
90
+ $tbar-item-pop-nrml-padding: 0 !default;
91
+ $tbar-item-pop-bgr-padding: 0 !default;
92
+ $tbar-pop-btn-bgr-padding: 8px 18px !default;
93
+ $tbar-pop-btn-nrml-padding: 6px 12px !default;
94
+ $tbar-pop-icon-bgr-padding: 0 6px 0 0 !default;
95
+ $tbar-pop-icon-nrml-padding: 0 4px 0 0 !default;
96
+ $tbar-pop-btn-txt-nrml-pad: 0 0 0 4px !default;
97
+ $tbar-pop-btn-txt-bgr-pad: 0 0 0 6px !default;
98
+
99
+ $tbar-nav-press-border: 0 !default;
100
+ $tbar-nav-hover-border: 0 !default;
101
+ $tbar-nav-focus-border: 0 !default;
102
+ $tbar-nav-pressed-box-shadow: none !default;
103
+ $tbar-btn-border-radius: 0 !default;
104
+ $tbar-btn-pressed-box-shadow: none !default;
105
+ $tbar-btn-bgr-mrgn: 0 !default;
106
+ $tbar-btn-nrml-mrgn: 0 !default;
107
+ $tbar-v-btn-bgr-mrgn: 0 !default;
108
+ $tbar-v-btn-nrml-mrgn: 0 !default;
109
+ $tbar-popup-padding: 0 !default;
110
+ $tbar-btn-nrml-minheight: 30px !default;
111
+ $tbar-btn-bgr-minheight: 38px !default;
112
+ $tbar-btn-nrml-minwidth: 30px !default;
113
+ $tbar-btn-bgr-minwidth: 38px !default;
114
+ $tbar-btn-bgr-height: calc(100% - 11px) !default;
115
+ $tbar-btn-nrml-height: calc(100% - 10px) !default;
116
+ $tbar-separator-nrml-height: 24px !default;
117
+ $tbar-separator-bgr-height: 30px !default;
118
+ $tbar-separator-nrml-minheight: $tbar-separator-nrml-height !default;
119
+ $tbar-separator-bgr-minheight: $tbar-separator-bgr-height !default;
120
+ $tbar-btn-icon-nrml-width: 12px !default;
121
+ $tbar-btn-icon-nrml-height: 16px !default;
122
+ $tbar-btn-icon-nrml-line-height: 16px !default;
123
+ $tbar-left-item-line-height: 35px !default;
124
+ $tbar-right-item-line-height: 24px !default;
125
+ $tbar-btn-icon-bgr-width: 13px !default;
126
+ $tbar-btn-icon-bgr-height: 18px !default;
127
+ $tbar-btn-icon-bgr-line-height: 18px !default;
128
+ $tbar-btn-txt-line-height: inherit !default;
129
+ $tbar-nav-nrml-width: 28px !default;
130
+ $tbar-nav-bgr-width: 36px !default;
131
+ $tbar-item-nrml-mrgn: 8px !default;
132
+ $tbar-item-bgr-mrgn: 10px !default;
133
+ $tbar-btn-pop-nrml-minheight: 38px !default;
134
+ $tbar-btn-pop-bgr-minheight: 48px !default;
135
+ $tbar-multirow-items-mrgn-bigger: 12.5px !default;
136
+ $tbar-multirow-items-mrgn-small: 10px !default;
137
+ $tbar-multirow-item-top-btm-mrgn-bigger: 1.5px 0 !default;
138
+ $tbar-multirow-item-top-btm-mrgn-small: 1px 0 !default;
139
+ $tbar-multirow-item-mrgn: 0 !default;
140
+ $tbar-item-bgr-padding-bigger: 1.5px 0 !default;
141
+ $tbar-item-nrml-padding-small: 1px 0 !default;
142
+
143
+ @mixin tbar-btn-animation {
144
+ content: '';
145
+ }
146
+
147
+ @mixin tbar-btn-animation-after {
148
+ content: '';
149
+ }
@@ -66,13 +66,18 @@
66
66
  background: $tbar-focus-bg;
67
67
  border-color: $tbar-focus-border-color;
68
68
  border-radius: $tbar-btn-border-radius;
69
- color: $tbar-hover-font;
69
+ color: $tbar-hover-font-color;
70
70
 
71
71
  @if $tbar-skin == 'bootstrap' {
72
72
  border: 1px solid $tbar-focus-border-color;
73
73
  margin: 0;
74
74
  }
75
75
 
76
+ @if $tbar-skin == 'bootstrap4' {
77
+ border: 1px solid $tbar-focus-border-color;
78
+ box-shadow: $tbar-focus-btn-box-shadow;
79
+ }
80
+
76
81
  @if $tbar-skin == 'bootstrap5' {
77
82
  .e-toolbar-item .e-tbar-btn-text,
78
83
  .e-icons {
@@ -93,7 +98,7 @@
93
98
  background: $tbar-hover-bg;
94
99
  border-color: $tbar-hover-border-color;
95
100
  border-radius: $tbar-btn-border-radius;
96
- color: $tbar-hover-font;
101
+ color: $tbar-hover-font-color;
97
102
 
98
103
  @if $tbar-skin == 'bootstrap' {
99
104
  border: 1px solid $tbar-hover-border-color;
@@ -132,18 +137,16 @@
132
137
  }
133
138
 
134
139
  &:active {
135
- background: $tbar-press-bg;
140
+ background: $tbar-btn-press-bg;
136
141
  border-color: $tbar-press-border-color;
137
142
  border-radius: $tbar-btn-border-radius;
138
143
  box-shadow: $tbar-btn-pressed-box-shadow;
139
- color: $tbar-press-font;
144
+ color: $tbar-btn-active-font-color;
140
145
 
141
146
  @if $tbar-skin == 'bootstrap' {
142
147
  border-left: 1px solid $tbar-press-border-color;
143
148
  }
144
149
  @if $tbar-skin == 'highcontrast' {
145
- color: $tbar-pressed-font;
146
-
147
150
  .e-icons,
148
151
  .e-tbar-btn-text {
149
152
  color: $tbar-pressed-font;
@@ -169,14 +172,10 @@
169
172
  }
170
173
 
171
174
  .e-toolbar-pop {
172
- background: $tbar-default-bg;
175
+ background: $tbar-pop-bg;
173
176
  border: $tbar-border-size $tbar-border-type $tbar-default-border;
174
177
  box-shadow: $tbar-pop-box-shadow;
175
178
 
176
- @if $tbar-skin == 'tailwind' or $tbar-skin == 'bootstrap5' {
177
- background: $tbar-pop-bg;
178
- }
179
-
180
179
  .e-toolbar-item {
181
180
 
182
181
  @if $tbar-skin == 'bootstrap4' {
@@ -221,9 +220,7 @@
221
220
  }
222
221
 
223
222
  &.e-extended-toolbar .e-toolbar-pop {
224
- @if $tbar-skin == 'bootstrap5' {
225
- background: $tbar-default-bg;
226
- }
223
+ background: $tbar-default-bg;
227
224
  }
228
225
 
229
226
  &.e-toolpop {
@@ -256,7 +253,7 @@
256
253
  }
257
254
 
258
255
  .e-tbar-btn {
259
- background: $tbar-default-bg;
256
+ background: $tbar-items-default-bg;
260
257
  box-shadow: $tbar-btn-box-shadow;
261
258
  color: $tbar-default-font;
262
259