@syncfusion/ej2-navigations 17.3.9-beta → 17.3.14-96615

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 (314) hide show
  1. package/.eslintrc.json +244 -0
  2. package/CHANGELOG.md +898 -800
  3. package/README.md +163 -163
  4. package/dist/ej2-navigations.umd.min.js +1 -10
  5. package/dist/ej2-navigations.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-navigations.es2015.js +325 -170
  7. package/dist/es6/ej2-navigations.es2015.js.map +1 -1
  8. package/dist/es6/ej2-navigations.es5.js +455 -300
  9. package/dist/es6/ej2-navigations.es5.js.map +1 -1
  10. package/dist/global/ej2-navigations.min.js +1 -10
  11. package/dist/global/ej2-navigations.min.js.map +1 -1
  12. package/dist/global/index.d.ts +0 -9
  13. package/dist/ts/accordion/accordion.ts +1312 -0
  14. package/dist/ts/common/h-scroll.ts +459 -0
  15. package/dist/ts/common/menu-base.ts +2131 -0
  16. package/dist/ts/common/v-scroll.ts +430 -0
  17. package/dist/ts/context-menu/context-menu.ts +119 -0
  18. package/dist/ts/menu/menu.ts +270 -0
  19. package/dist/ts/sidebar/sidebar.ts +817 -0
  20. package/dist/ts/tab/tab.ts +1761 -0
  21. package/dist/ts/toolbar/toolbar.ts +2076 -0
  22. package/dist/ts/treeview/treeview.ts +5050 -0
  23. package/helpers/e2e/index.js +3 -3
  24. package/license +10 -10
  25. package/package.json +135 -149
  26. package/src/accordion/accordion-model.d.ts +156 -156
  27. package/src/accordion/accordion.d.ts +1 -0
  28. package/src/accordion/accordion.js +40 -41
  29. package/src/common/h-scroll-model.d.ts +5 -5
  30. package/src/common/h-scroll.js +19 -20
  31. package/src/common/menu-base-model.d.ts +157 -157
  32. package/src/common/menu-base.d.ts +19 -0
  33. package/src/common/menu-base.js +94 -24
  34. package/src/common/v-scroll-model.d.ts +5 -5
  35. package/src/common/v-scroll.js +19 -19
  36. package/src/context-menu/context-menu-model.d.ts +15 -15
  37. package/src/context-menu/context-menu.js +19 -19
  38. package/src/menu/menu-model.d.ts +30 -30
  39. package/src/menu/menu.js +19 -19
  40. package/src/sidebar/sidebar-model.d.ts +136 -136
  41. package/src/sidebar/sidebar.js +19 -19
  42. package/src/tab/tab-model.d.ts +215 -215
  43. package/src/tab/tab.d.ts +3 -0
  44. package/src/tab/tab.js +117 -82
  45. package/src/toolbar/toolbar-model.d.ts +175 -175
  46. package/src/toolbar/toolbar.d.ts +1 -0
  47. package/src/toolbar/toolbar.js +30 -24
  48. package/src/treeview/treeview-model.d.ts +323 -323
  49. package/src/treeview/treeview.js +79 -33
  50. package/styles/accordion/_all.scss +2 -2
  51. package/styles/accordion/_bootstrap-dark-definition.scss +69 -69
  52. package/styles/accordion/_bootstrap-definition.scss +76 -76
  53. package/styles/accordion/_bootstrap4-definition.scss +82 -82
  54. package/styles/accordion/_fabric-dark-definition.scss +74 -74
  55. package/styles/accordion/_fabric-definition.scss +78 -78
  56. package/styles/accordion/_highcontrast-definition.scss +106 -106
  57. package/styles/accordion/_highcontrast-light-definition.scss +104 -104
  58. package/styles/accordion/_layout.scss +447 -447
  59. package/styles/accordion/_material-dark-definition.scss +75 -75
  60. package/styles/accordion/_material-definition.scss +72 -72
  61. package/styles/accordion/_theme.scss +479 -479
  62. package/styles/accordion/icons/_bootstrap-dark.scss +17 -17
  63. package/styles/accordion/icons/_bootstrap.scss +17 -17
  64. package/styles/accordion/icons/_bootstrap4.scss +17 -17
  65. package/styles/accordion/icons/_fabric-dark.scss +17 -17
  66. package/styles/accordion/icons/_fabric.scss +17 -17
  67. package/styles/accordion/icons/_highcontrast-light.scss +17 -17
  68. package/styles/accordion/icons/_highcontrast.scss +17 -17
  69. package/styles/accordion/icons/_material-dark.scss +17 -17
  70. package/styles/accordion/icons/_material.scss +17 -17
  71. package/styles/bootstrap-dark.css +7 -9
  72. package/styles/bootstrap.css +7 -9
  73. package/styles/bootstrap4.css +7 -9
  74. package/styles/bootstrap5-dark.css +0 -0
  75. package/styles/bootstrap5-dark.scss +0 -0
  76. package/styles/bootstrap5.css +0 -0
  77. package/styles/bootstrap5.scss +0 -0
  78. package/styles/context-menu/_all.scss +2 -2
  79. package/styles/context-menu/_bootstrap-dark-definition.scss +54 -54
  80. package/styles/context-menu/_bootstrap-definition.scss +52 -52
  81. package/styles/context-menu/_bootstrap4-definition.scss +52 -52
  82. package/styles/context-menu/_fabric-dark-definition.scss +54 -54
  83. package/styles/context-menu/_fabric-definition.scss +52 -52
  84. package/styles/context-menu/_highcontrast-definition.scss +52 -52
  85. package/styles/context-menu/_highcontrast-light-definition.scss +54 -54
  86. package/styles/context-menu/_layout-mixin.scss +175 -175
  87. package/styles/context-menu/_layout.scss +70 -70
  88. package/styles/context-menu/_material-dark-definition.scss +54 -54
  89. package/styles/context-menu/_material-definition.scss +52 -52
  90. package/styles/context-menu/_theme-mixin.scss +59 -59
  91. package/styles/context-menu/_theme.scss +36 -36
  92. package/styles/context-menu/bootstrap-dark.css +0 -1
  93. package/styles/context-menu/bootstrap.css +0 -1
  94. package/styles/context-menu/bootstrap4.css +0 -1
  95. package/styles/context-menu/fabric-dark.css +0 -1
  96. package/styles/context-menu/fabric.css +0 -1
  97. package/styles/context-menu/highcontrast-light.css +0 -1
  98. package/styles/context-menu/highcontrast.css +0 -1
  99. package/styles/context-menu/icons/_bootstrap-dark.scss +30 -30
  100. package/styles/context-menu/icons/_bootstrap.scss +30 -30
  101. package/styles/context-menu/icons/_bootstrap4.scss +30 -30
  102. package/styles/context-menu/icons/_fabric-dark.scss +30 -30
  103. package/styles/context-menu/icons/_fabric.scss +30 -30
  104. package/styles/context-menu/icons/_highcontrast-light.scss +30 -30
  105. package/styles/context-menu/icons/_highcontrast.scss +30 -30
  106. package/styles/context-menu/icons/_material-dark.scss +30 -30
  107. package/styles/context-menu/icons/_material.scss +30 -30
  108. package/styles/context-menu/material-dark.css +0 -1
  109. package/styles/context-menu/material.css +3 -4
  110. package/styles/fabric-dark.css +7 -9
  111. package/styles/fabric.css +7 -9
  112. package/styles/h-scroll/_all.scss +2 -2
  113. package/styles/h-scroll/_bootstrap-dark-definition.scss +49 -49
  114. package/styles/h-scroll/_bootstrap-definition.scss +50 -50
  115. package/styles/h-scroll/_bootstrap4-definition.scss +49 -49
  116. package/styles/h-scroll/_fabric-dark-definition.scss +50 -50
  117. package/styles/h-scroll/_fabric-definition.scss +48 -48
  118. package/styles/h-scroll/_highcontrast-definition.scss +52 -52
  119. package/styles/h-scroll/_highcontrast-light-definition.scss +54 -54
  120. package/styles/h-scroll/_layout.scss +198 -198
  121. package/styles/h-scroll/_material-dark-definition.scss +77 -77
  122. package/styles/h-scroll/_material-definition.scss +77 -77
  123. package/styles/h-scroll/_theme.scss +157 -157
  124. package/styles/h-scroll/icons/_bootstrap-dark.scss +49 -49
  125. package/styles/h-scroll/icons/_bootstrap.scss +49 -49
  126. package/styles/h-scroll/icons/_bootstrap4.scss +49 -49
  127. package/styles/h-scroll/icons/_fabric-dark.scss +49 -49
  128. package/styles/h-scroll/icons/_fabric.scss +49 -49
  129. package/styles/h-scroll/icons/_highcontrast-light.scss +49 -49
  130. package/styles/h-scroll/icons/_highcontrast.scss +49 -49
  131. package/styles/h-scroll/icons/_material-dark.scss +49 -49
  132. package/styles/h-scroll/icons/_material.scss +49 -49
  133. package/styles/highcontrast-light.css +7 -9
  134. package/styles/highcontrast.css +7 -9
  135. package/styles/material-dark.css +7 -9
  136. package/styles/material.css +21 -14
  137. package/styles/menu/_all.scss +2 -2
  138. package/styles/menu/_bootstrap-dark-definition.scss +63 -63
  139. package/styles/menu/_bootstrap-definition.scss +65 -65
  140. package/styles/menu/_bootstrap4-definition.scss +64 -64
  141. package/styles/menu/_fabric-dark-definition.scss +63 -63
  142. package/styles/menu/_fabric-definition.scss +64 -64
  143. package/styles/menu/_highcontrast-definition.scss +65 -65
  144. package/styles/menu/_highcontrast-light-definition.scss +61 -61
  145. package/styles/menu/_layout.scss +638 -638
  146. package/styles/menu/_material-dark-definition.scss +63 -63
  147. package/styles/menu/_material-definition.scss +64 -64
  148. package/styles/menu/_theme.scss +243 -243
  149. package/styles/menu/bootstrap-dark.css +0 -1
  150. package/styles/menu/bootstrap.css +0 -1
  151. package/styles/menu/bootstrap.scss +1 -0
  152. package/styles/menu/bootstrap4.css +0 -1
  153. package/styles/menu/fabric-dark.css +0 -1
  154. package/styles/menu/fabric.css +0 -1
  155. package/styles/menu/fabric.scss +1 -0
  156. package/styles/menu/highcontrast-light.css +0 -1
  157. package/styles/menu/highcontrast.css +0 -1
  158. package/styles/menu/highcontrast.scss +1 -0
  159. package/styles/menu/icons/_bootstrap-dark.scss +127 -127
  160. package/styles/menu/icons/_bootstrap.scss +127 -127
  161. package/styles/menu/icons/_bootstrap4.scss +127 -127
  162. package/styles/menu/icons/_fabric-dark.scss +127 -127
  163. package/styles/menu/icons/_fabric.scss +127 -127
  164. package/styles/menu/icons/_highcontrast-light.scss +127 -127
  165. package/styles/menu/icons/_highcontrast.scss +127 -127
  166. package/styles/menu/icons/_material-dark.scss +127 -127
  167. package/styles/menu/icons/_material.scss +127 -127
  168. package/styles/menu/material-dark.css +0 -1
  169. package/styles/menu/material.css +2 -3
  170. package/styles/menu/material.scss +1 -0
  171. package/styles/sidebar/_all.scss +3 -3
  172. package/styles/sidebar/_bootstrap-dark-definition.scss +4 -4
  173. package/styles/sidebar/_bootstrap-definition.scss +4 -4
  174. package/styles/sidebar/_bootstrap4-definition.scss +4 -4
  175. package/styles/sidebar/_fabric-dark-definition.scss +4 -4
  176. package/styles/sidebar/_fabric-definition.scss +6 -6
  177. package/styles/sidebar/_highcontrast-definition.scss +4 -4
  178. package/styles/sidebar/_highcontrast-light-definition.scss +4 -4
  179. package/styles/sidebar/_icons.scss +1 -1
  180. package/styles/sidebar/_material-dark-definition.scss +4 -4
  181. package/styles/sidebar/_material-definition.scss +6 -6
  182. package/styles/sidebar/_theme.scss +168 -168
  183. package/styles/sidebar/bootstrap-dark.css +0 -1
  184. package/styles/sidebar/bootstrap.css +0 -1
  185. package/styles/sidebar/bootstrap4.css +0 -1
  186. package/styles/sidebar/fabric-dark.css +0 -1
  187. package/styles/sidebar/fabric.css +0 -1
  188. package/styles/sidebar/highcontrast-light.css +0 -1
  189. package/styles/sidebar/highcontrast.css +0 -1
  190. package/styles/sidebar/material-dark.css +0 -1
  191. package/styles/sidebar/material.css +0 -1
  192. package/styles/tab/_all.scss +2 -2
  193. package/styles/tab/_bootstrap-dark-definition.scss +386 -386
  194. package/styles/tab/_bootstrap-definition.scss +396 -396
  195. package/styles/tab/_bootstrap4-definition.scss +401 -401
  196. package/styles/tab/_fabric-dark-definition.scss +394 -394
  197. package/styles/tab/_fabric-definition.scss +410 -410
  198. package/styles/tab/_highcontrast-definition.scss +434 -434
  199. package/styles/tab/_highcontrast-light-definition.scss +423 -423
  200. package/styles/tab/_icons.scss +43 -43
  201. package/styles/tab/_layout.scss +3528 -3521
  202. package/styles/tab/_material-dark-definition.scss +407 -407
  203. package/styles/tab/_material-definition.scss +416 -416
  204. package/styles/tab/_theme.scss +1751 -1751
  205. package/styles/tab/bootstrap-dark.css +7 -2
  206. package/styles/tab/bootstrap.css +7 -2
  207. package/styles/tab/bootstrap4.css +7 -2
  208. package/styles/tab/fabric-dark.css +7 -2
  209. package/styles/tab/fabric.css +7 -2
  210. package/styles/tab/highcontrast-light.css +7 -2
  211. package/styles/tab/highcontrast.css +7 -2
  212. package/styles/tab/icons/_bootstrap-dark.scss +132 -132
  213. package/styles/tab/icons/_bootstrap.scss +132 -132
  214. package/styles/tab/icons/_bootstrap4.scss +132 -132
  215. package/styles/tab/icons/_fabric-dark.scss +132 -132
  216. package/styles/tab/icons/_fabric.scss +132 -132
  217. package/styles/tab/icons/_highcontrast-light.scss +132 -132
  218. package/styles/tab/icons/_highcontrast.scss +132 -132
  219. package/styles/tab/icons/_material-dark.scss +132 -132
  220. package/styles/tab/icons/_material.scss +132 -132
  221. package/styles/tab/material-dark.css +7 -2
  222. package/styles/tab/material.css +7 -2
  223. package/styles/tailwind-dark.css +0 -0
  224. package/styles/tailwind-dark.scss +0 -0
  225. package/styles/tailwind.css +0 -0
  226. package/styles/tailwind.scss +0 -0
  227. package/styles/toolbar/_all.scss +2 -2
  228. package/styles/toolbar/_bootstrap-dark-definition.scss +135 -135
  229. package/styles/toolbar/_bootstrap-definition.scss +134 -134
  230. package/styles/toolbar/_bootstrap4-definition.scss +139 -139
  231. package/styles/toolbar/_fabric-dark-definition.scss +155 -155
  232. package/styles/toolbar/_fabric-definition.scss +139 -139
  233. package/styles/toolbar/_highcontrast-definition.scss +149 -149
  234. package/styles/toolbar/_highcontrast-light-definition.scss +164 -164
  235. package/styles/toolbar/_layout.scss +1460 -1460
  236. package/styles/toolbar/_material-dark-definition.scss +180 -180
  237. package/styles/toolbar/_material-definition.scss +164 -164
  238. package/styles/toolbar/_theme.scss +451 -451
  239. package/styles/toolbar/bootstrap-dark.css +0 -1
  240. package/styles/toolbar/bootstrap.css +0 -1
  241. package/styles/toolbar/bootstrap.scss +1 -0
  242. package/styles/toolbar/bootstrap4.css +0 -1
  243. package/styles/toolbar/fabric-dark.css +0 -1
  244. package/styles/toolbar/fabric.css +0 -1
  245. package/styles/toolbar/fabric.scss +1 -0
  246. package/styles/toolbar/highcontrast-light.css +0 -1
  247. package/styles/toolbar/highcontrast.css +0 -1
  248. package/styles/toolbar/highcontrast.scss +1 -0
  249. package/styles/toolbar/icons/_bootstrap-dark.scss +16 -16
  250. package/styles/toolbar/icons/_bootstrap.scss +16 -16
  251. package/styles/toolbar/icons/_bootstrap4.scss +16 -16
  252. package/styles/toolbar/icons/_fabric-dark.scss +16 -16
  253. package/styles/toolbar/icons/_fabric.scss +16 -16
  254. package/styles/toolbar/icons/_highcontrast-light.scss +16 -16
  255. package/styles/toolbar/icons/_highcontrast.scss +16 -16
  256. package/styles/toolbar/icons/_material-dark.scss +16 -16
  257. package/styles/toolbar/icons/_material.scss +16 -16
  258. package/styles/toolbar/material-dark.css +0 -1
  259. package/styles/toolbar/material.css +0 -1
  260. package/styles/toolbar/material.scss +1 -0
  261. package/styles/treeview/_all.scss +2 -2
  262. package/styles/treeview/_bootstrap-dark-definition.scss +131 -131
  263. package/styles/treeview/_bootstrap-definition.scss +127 -127
  264. package/styles/treeview/_bootstrap4-definition.scss +153 -153
  265. package/styles/treeview/_fabric-dark-definition.scss +130 -130
  266. package/styles/treeview/_fabric-definition.scss +126 -126
  267. package/styles/treeview/_highcontrast-definition.scss +132 -132
  268. package/styles/treeview/_highcontrast-light-definition.scss +137 -137
  269. package/styles/treeview/_layout.scss +551 -551
  270. package/styles/treeview/_material-dark-definition.scss +126 -126
  271. package/styles/treeview/_material-definition.scss +126 -126
  272. package/styles/treeview/_theme.scss +331 -331
  273. package/styles/treeview/bootstrap-dark.css +0 -3
  274. package/styles/treeview/bootstrap.css +0 -3
  275. package/styles/treeview/bootstrap4.css +0 -3
  276. package/styles/treeview/fabric-dark.css +0 -3
  277. package/styles/treeview/fabric.css +0 -3
  278. package/styles/treeview/highcontrast-light.css +0 -3
  279. package/styles/treeview/highcontrast.css +0 -3
  280. package/styles/treeview/icons/_bootstrap-dark.scss +39 -39
  281. package/styles/treeview/icons/_bootstrap.scss +39 -39
  282. package/styles/treeview/icons/_bootstrap4.scss +39 -39
  283. package/styles/treeview/icons/_fabric-dark.scss +43 -43
  284. package/styles/treeview/icons/_fabric.scss +43 -43
  285. package/styles/treeview/icons/_highcontrast-light.scss +43 -43
  286. package/styles/treeview/icons/_highcontrast.scss +43 -43
  287. package/styles/treeview/icons/_material-dark.scss +43 -43
  288. package/styles/treeview/icons/_material.scss +43 -43
  289. package/styles/treeview/material-dark.css +0 -3
  290. package/styles/treeview/material.css +9 -3
  291. package/styles/v-scroll/_all.scss +2 -2
  292. package/styles/v-scroll/_bootstrap-dark-definition.scss +50 -50
  293. package/styles/v-scroll/_bootstrap-definition.scss +49 -49
  294. package/styles/v-scroll/_bootstrap4-definition.scss +49 -49
  295. package/styles/v-scroll/_fabric-dark-definition.scss +51 -51
  296. package/styles/v-scroll/_fabric-definition.scss +50 -50
  297. package/styles/v-scroll/_highcontrast-definition.scss +51 -51
  298. package/styles/v-scroll/_highcontrast-light-definition.scss +52 -52
  299. package/styles/v-scroll/_layout.scss +162 -162
  300. package/styles/v-scroll/_material-dark-definition.scss +78 -78
  301. package/styles/v-scroll/_material-definition.scss +77 -77
  302. package/styles/v-scroll/_theme.scss +133 -133
  303. package/styles/v-scroll/icons/_bootstrap-dark.scss +26 -26
  304. package/styles/v-scroll/icons/_bootstrap.scss +26 -26
  305. package/styles/v-scroll/icons/_bootstrap4.scss +26 -26
  306. package/styles/v-scroll/icons/_fabric-dark.scss +26 -26
  307. package/styles/v-scroll/icons/_fabric.scss +26 -26
  308. package/styles/v-scroll/icons/_highcontrast-light.scss +26 -26
  309. package/styles/v-scroll/icons/_highcontrast.scss +26 -26
  310. package/styles/v-scroll/icons/_material-dark.scss +26 -26
  311. package/styles/v-scroll/icons/_material.scss +26 -26
  312. package/tslint.json +111 -0
  313. package/.gitlab/merge_request_templates/Bug.md +0 -63
  314. package/.gitlab/merge_request_templates/feature.md +0 -39
@@ -1,1460 +1,1460 @@
1
- @include export-module('toolbar-layout') {
2
- /*! toolbar layout */
3
- // sass-lint:disable no-vendor-prefixes
4
- .e-bigger #{&}.e-toolbar,
5
- #{&}.e-toolbar.e-bigger {
6
- height: $tbar-bgr-size;
7
- min-height: $tbar-bgr-size;
8
-
9
- .e-tbar-btn {
10
- @if $tbar-skin == 'bootstrap4' {
11
- .e-tbar-btn-text {
12
- font-size: $tbar-icons-bgr-font-size;
13
- }
14
- }
15
- }
16
-
17
- .e-tbar-btn .e-icons {
18
- font-size: $tbar-icons-bgr-font-size;
19
-
20
- &.e-btn-icon {
21
-
22
- @if $tbar-skin == 'bootstrap4' {
23
- font-size: $tbar-icons-bgr-font-size;
24
- }
25
- }
26
- }
27
-
28
- &.e-extended-toolbar.e-tbar-extended {
29
- border-bottom: 0;
30
- border-bottom-left-radius: 0;
31
- border-bottom-right-radius: 0;
32
-
33
- .e-toolbar-extended {
34
- border-top: 0;
35
- border-top-left-radius: 0;
36
- border-top-right-radius: 0;
37
- }
38
- }
39
-
40
- &.e-toolpop.e-rtl {
41
-
42
- .e-toolbar-items:not(.e-tbar-pos) {
43
-
44
- .e-toolbar-center .e-toolbar-item {
45
- margin: 0;
46
- }
47
-
48
- .e-toolbar-right .e-toolbar-item:last-child {
49
- margin: 0;
50
- margin-left: $tbar-item-nrml-mrgn;
51
- }
52
-
53
- .e-toolbar-right .e-toolbar-item {
54
- margin: 0;
55
- }
56
- }
57
- }
58
-
59
- &.e-rtl {
60
-
61
- .e-toolbar-items {
62
-
63
- .e-hscroll-bar .e-hscroll-content {
64
-
65
- > .e-toolbar-item:last-child {
66
- margin-left: $tbar-item-bgr-mrgn;
67
- margin-right: initial;
68
- }
69
-
70
- .e-toolbar-center .e-toolbar-item {
71
- margin: 0;
72
- }
73
-
74
- .e-toolbar-right .e-toolbar-item:last-child {
75
- margin-left: $tbar-item-bgr-mrgn;
76
- margin-right: 0;
77
- }
78
-
79
- .e-toolbar-right .e-toolbar-item {
80
- margin: 0;
81
- }
82
- }
83
-
84
- .e-toolbar-left {
85
-
86
- .e-toolbar-item:first-child {
87
- margin-left: 0;
88
- }
89
-
90
- .e-toolbar-item:last-child {
91
- margin-left: $tbar-item-nrml-mrgn;
92
- }
93
- }
94
-
95
- &:not(.e-tbar-pos) {
96
-
97
- .e-toolbar-item:first-child {
98
- margin-left: 0;
99
- margin-right: $tbar-item-bgr-mrgn;
100
- }
101
- }
102
- }
103
- }
104
-
105
- .e-hor-nav {
106
- min-height: $tbar-bgr-items-size;
107
- min-width: $tbar-nav-bgr-width;
108
- }
109
-
110
- .e-toolbar-item {
111
-
112
- .e-tbar-btn.e-btn {
113
- line-height: $tbar-btn-bgr-line-height;
114
- }
115
-
116
- .e-btn.e-tbar-btn .e-icons.e-btn-icon {
117
- line-height: $tbar-btn-icon-bgr-line-height;
118
- min-height: $tbar-btn-icon-bgr-height;
119
- min-width: $tbar-btn-icon-bgr-width;
120
- }
121
- }
122
-
123
- .e-toolbar-items .e-toolbar-item {
124
-
125
- .e-tbar-btn-text {
126
- line-height: $tbar-btn-txt-line-height;
127
-
128
- @if $tbar-skin == 'bootstrap' or $tbar-skin == 'bootstrap4' {
129
- line-height: inherit;
130
- }
131
- }
132
- }
133
-
134
- .e-toolbar-pop {
135
-
136
- .e-toolbar-item {
137
- @if $tbar-skin == 'material' {
138
- height: 48px;
139
- }
140
-
141
- &:not(.e-separator) {
142
- min-width: 48px;
143
- padding: $tbar-item-pop-bgr-padding;
144
- }
145
-
146
- .e-tbar-btn .e-icons.e-btn-icon {
147
- min-width: $tbar-btn-icon-bgr-width;
148
- }
149
-
150
- .e-tbar-btn.e-btn {
151
- min-height: $tbar-btn-pop-bgr-minheight;
152
- padding: $tbar-pop-btn-bgr-padding;
153
- @if $tbar-skin == 'bootstrap' {
154
- line-height: 34px;
155
- }
156
-
157
- .e-icons.e-btn-icon {
158
- margin-left: $tbar-zero-value;
159
- padding: $tbar-pop-icon-bgr-padding;
160
- }
161
-
162
- .e-icon-left {
163
- @if $tbar-skin == 'material' {
164
- padding-right: 16px;
165
- }
166
- }
167
-
168
- .e-tbar-btn-text {
169
- padding: $tbar-pop-btn-txt-bgr-pad;
170
- }
171
- }
172
- }
173
- }
174
-
175
- .e-toolbar-items {
176
- min-height: $tbar-bgr-items-size;
177
-
178
- &.e-toolbar-multirow {
179
-
180
- margin-left: $tbar-multirow-items-mrgn-bigger;
181
- margin-right: $tbar-multirow-items-mrgn-bigger;
182
- white-space: normal;
183
-
184
- .e-toolbar-item:not(.e-separator) {
185
- @if $tbar-skin == 'fabric' or $tbar-skin == 'highcontrast' {
186
- margin: $tbar-multirow-item-top-btm-mrgn-bigger;
187
- }
188
- }
189
-
190
- .e-toolbar-item.e-separator.e-multirow-separator {
191
- display: none;
192
- }
193
-
194
- .e-toolbar-item.e-separator {
195
- display: inline-flex;
196
- }
197
-
198
- }
199
-
200
- &.e-toolbar-multirow:not(.e-tbar-pos) {
201
-
202
- .e-toolbar-item:first-child {
203
- margin-left: $tbar-multirow-item-mrgn;
204
- }
205
-
206
- .e-toolbar-item:last-child {
207
- margin-right: $tbar-multirow-item-mrgn;
208
- }
209
-
210
- }
211
-
212
- .e-hscroll-bar .e-hscroll-content {
213
-
214
- > .e-toolbar-item:last-child {
215
- margin-right: $tbar-item-bgr-mrgn;
216
- }
217
-
218
- .e-toolbar-center .e-toolbar-item {
219
- margin: 0;
220
- }
221
-
222
- .e-toolbar-right .e-toolbar-item:last-child {
223
- margin-right: $tbar-item-bgr-mrgn;
224
- }
225
-
226
- .e-toolbar-right .e-toolbar-item {
227
- margin: 0;
228
- }
229
- }
230
-
231
- .e-toolbar-left {
232
-
233
- .e-toolbar-item:first-child {
234
- margin-left: $tbar-item-bgr-mrgn;
235
- }
236
- }
237
-
238
- &:not(.e-tbar-pos) {
239
-
240
- .e-toolbar-item:first-child {
241
- margin-left: $tbar-item-bgr-mrgn;
242
- }
243
- }
244
-
245
- .e-toolbar-item {
246
- min-height: $tbar-bgr-items-size;
247
-
248
- &:not(.e-separator) {
249
- min-width: $tbar-bgr-item-size;
250
- padding: $tbar-item-bgr-padding;
251
- }
252
-
253
- &.e-separator {
254
- height: $tbar-separator-bgr-height;
255
- margin: $tbar-separator-bgr-mrgn;
256
- min-height: $tbar-separator-bgr-minheight;
257
- }
258
-
259
- &.e-popup-text {
260
-
261
- .e-tbar-btn.e-btn,
262
- .e-tbar-btn.e-btn.e-control {
263
-
264
- &.e-tbtn-txt {
265
-
266
- .e-icons.e-btn-icon {
267
- padding: $tbar-zero-value;
268
- }
269
- }
270
- }
271
- }
272
-
273
- .e-tbar-btn.e-btn,
274
- .e-tbar-btn.e-btn.e-control {
275
- height: $tbar-btn-bgr-height;
276
- margin: $tbar-btn-bgr-mrgn;
277
- min-height: $tbar-btn-bgr-minheight;
278
- min-width: $tbar-btn-bgr-minwidth;
279
- padding: $tbar-btn-bgr-padding;
280
-
281
- @if $tbar-skin == 'bootstrap' or $tbar-skin == 'bootstrap4' {
282
- line-height: 34px;
283
-
284
- &:focus {
285
- padding: 0 6px;
286
-
287
- @if $tbar-skin == 'bootstrap4' {
288
- padding: 0 4.5px;
289
- }
290
- }
291
-
292
- &:hover {
293
- padding: 0 6px;
294
-
295
- @if $tbar-skin == 'bootstrap4' {
296
- padding: 0 4.5px;
297
- }
298
- }
299
-
300
- &:active {
301
- padding: 0 6px;
302
-
303
- @if $tbar-skin == 'bootstrap4' {
304
- padding: 0 4.5px;
305
- }
306
- }
307
- }
308
-
309
- &.e-tbtn-txt {
310
-
311
- .e-icons.e-btn-icon {
312
- padding: $tbar-btn-icn-bgr-padding;
313
- }
314
-
315
- .e-icons.e-icon-right.e-btn-icon {
316
- padding: $tbar-btn-icn-right-bgr-padding;
317
- }
318
- }
319
-
320
- .e-tbar-btn-text {
321
- padding: $btn-txt-bgr-padding;
322
- }
323
- }
324
- }
325
- }
326
-
327
- &.e-extended-toolbar {
328
-
329
- .e-toolbar-extended {
330
-
331
- min-height: $tbar-bgr-size;
332
- padding-bottom: 0;
333
- padding-left: $tbar-item-bgr-mrgn;
334
- padding-right: $tbar-item-bgr-mrgn;
335
- padding-top: 0;
336
-
337
- @if $tbar-skin != 'material' {
338
- margin-left: -1px;
339
- }
340
-
341
- }
342
-
343
- .e-toolbar-extended.e-popup-close {
344
- display: none;
345
- }
346
-
347
- .e-toolbar-extended.e-popup-open {
348
- display: inline;
349
- }
350
-
351
- .e-toolbar-pop.e-toolbar-extended {
352
- width: inherit;
353
- }
354
-
355
- .e-toolbar-extended {
356
- box-shadow: none;
357
- display: inline;
358
- white-space: normal;
359
-
360
- .e-toolbar-item:not(.e-separator) {
361
-
362
- @if $tbar-skin == 'fabric' or $tbar-skin == 'highcontrast' {
363
- margin: $tbar-item-bgr-padding-bigger;
364
- }
365
-
366
- min-width: $tbar-bgr-item-size;
367
- padding: $tbar-item-bgr-padding;
368
- }
369
-
370
- .e-toolbar-item.e-separator.e-extended-separator {
371
- display: none;
372
- }
373
-
374
- .e-toolbar-item.e-separator {
375
- display: inline-flex;
376
- }
377
-
378
- .e-toolbar-item {
379
- align-content: center;
380
- align-items: center;
381
- cursor: pointer;
382
- display: inline-flex;
383
- min-height: $tbar-bgr-items-size;
384
- vertical-align: middle;
385
- width: auto;
386
-
387
- .e-tbar-btn.e-btn .e-tbar-btn-text,
388
- .e-tbar-btn.e-btn.e-control .e-tbar-btn-text {
389
- padding: $btn-txt-bgr-padding;
390
- }
391
-
392
- .e-tbar-btn.e-btn,
393
- .e-tbar-btn.e-btn.e-control {
394
- height: $tbar-btn-bgr-height;
395
- margin: $tbar-btn-bgr-mrgn;
396
- min-height: $tbar-btn-bgr-minheight;
397
- min-width: $tbar-btn-bgr-minwidth;
398
- padding: $tbar-btn-bgr-padding;
399
-
400
- @if $tbar-skin == 'bootstrap' {
401
- &:focus {
402
- padding: 0 6px;
403
- }
404
-
405
- &:hover {
406
- padding: 0 6px;
407
- }
408
-
409
- &:active {
410
- padding: 0 6px;
411
- }
412
-
413
- }
414
- @if $tbar-skin == 'bootstrap4' {
415
- &:hover,
416
- &:focus,
417
- &:active {
418
- padding: 0 5.5px;
419
- }
420
- }
421
- }
422
-
423
- .e-tbar-btn.e-btn {
424
- line-height: $tbar-btn-bgr-line-height;
425
- }
426
-
427
- }
428
-
429
- .e-toolbar-item.e-separator {
430
- height: $tbar-separator-bgr-height;
431
- margin: $tbar-separator-bgr-mrgn;
432
- min-height: $tbar-separator-bgr-minheight;
433
- }
434
-
435
- .e-toolbar-item .e-btn.e-tbar-btn .e-icons.e-btn-icon {
436
- line-height: $tbar-btn-icon-bgr-line-height;
437
- min-height: $tbar-btn-icon-bgr-height;
438
- min-width: $tbar-btn-icon-bgr-width;
439
- }
440
-
441
- }
442
- }
443
-
444
- &.e-extended-toolbar.e-rtl {
445
-
446
- .e-hor-nav {
447
- left: 0;
448
- right: auto;
449
- }
450
-
451
- .e-toolbar-extended {
452
-
453
- padding-right: $tbar-item-bgr-mrgn;
454
- @if $tbar-skin != 'material' {
455
- margin-left: 0;
456
- }
457
-
458
- }
459
- }
460
-
461
- &.e-vertical {
462
-
463
- .e-toolbar-items {
464
-
465
- .e-toolbar-item {
466
-
467
- &:not(.e-separator) {
468
- min-height: 38px;
469
- }
470
-
471
- &.e-separator {
472
- height: auto;
473
- margin: $tbar-separator-vertical-bgr-mrgn;
474
- min-height: auto;
475
- }
476
-
477
- .e-tbar-btn.e-btn {
478
- margin: $tbar-v-btn-bgr-mrgn;
479
- }
480
- }
481
-
482
- &:not(.e-tbar-pos) .e-toolbar-item {
483
-
484
- &:first-child {
485
- margin-left: 0;
486
- }
487
-
488
- &:last-child {
489
- margin-right: 0;
490
- }
491
- }
492
- }
493
-
494
- .e-hor-nav {
495
- min-height: 40px;
496
- min-width: 50px;
497
- }
498
- }
499
- }
500
-
501
- #{&}.e-toolbar {
502
- border-radius: $tbar-radius;
503
- display: block;
504
- height: $tbar-nrml-size;
505
- min-height: $tbar-nrml-size;
506
- position: relative;
507
- touch-action: none;
508
- user-select: none;
509
- white-space: nowrap;
510
-
511
- &.e-extended-toolbar.e-rtl {
512
-
513
- .e-hor-nav {
514
- left: 0;
515
- right: auto;
516
- }
517
-
518
- .e-toolbar-extended {
519
- padding-right: $tbar-item-nrml-mrgn;
520
-
521
- @if $tbar-skin != 'material' {
522
- margin-left: 0;
523
- }
524
-
525
- .e-toolbar-item .e-tbar-btn.e-btn .e-icon-left {
526
- padding-left: 0;
527
- }
528
-
529
- }
530
-
531
- }
532
-
533
- &.e-extended-toolbar {
534
-
535
- .e-toolbar-items .e-toolbar-item {
536
-
537
- &.e-popup-text .e-tbar-btn-text {
538
- display: none;
539
- }
540
-
541
- }
542
-
543
- &.e-extended-toolbar.e-tbar-extended {
544
- border-bottom: 0;
545
- border-bottom-left-radius: 0;
546
- border-bottom-right-radius: 0;
547
- }
548
-
549
- .e-hor-nav.e-ie-align {
550
- display: table;
551
- }
552
-
553
- .e-toolbar-extended {
554
- border-top: 0;
555
- border-top-left-radius: 0;
556
- border-top-right-radius: 0;
557
- min-height: $tbar-nrml-size;
558
- padding-bottom: 0;
559
- padding-left: $tbar-item-nrml-mrgn;
560
- padding-right: $tbar-item-nrml-mrgn;
561
- padding-top: 0;
562
-
563
- @if $tbar-skin != 'material' {
564
- margin-left: -1px;
565
- }
566
-
567
- .e-toolbar-item.e-toolbar-text .e-tbar-btn-text {
568
- display: none;
569
- }
570
-
571
- }
572
-
573
- .e-toolbar-extended.e-popup-close {
574
- display: none;
575
- }
576
-
577
- .e-toolbar-extended.e-popup-open {
578
- display: inline;
579
- }
580
-
581
- .e-toolbar-pop.e-toolbar-extended {
582
- width: inherit;
583
- }
584
-
585
- .e-toolbar-extended {
586
- box-shadow: none;
587
- display: inline;
588
- white-space: normal;
589
-
590
- .e-toolbar-item:not(.e-separator) {
591
-
592
- @if $tbar-skin == 'fabric' or $tbar-skin == 'highcontrast' {
593
- margin: $tbar-item-nrml-padding-small;
594
- }
595
-
596
- height: 100%;
597
- min-width: $tbar-item-nrml-minwidth;
598
- padding: $tbar-item-nrml-padding;
599
- }
600
-
601
- .e-toolbar-item.e-separator.e-extended-separator {
602
- display: none;
603
- }
604
-
605
- .e-toolbar-item.e-separator {
606
- display: inline-flex;
607
- }
608
-
609
- .e-toolbar-item {
610
- align-content: center;
611
- align-items: center;
612
- cursor: pointer;
613
- display: inline-flex;
614
- min-height: $tbar-nrml-item-size;
615
- vertical-align: middle;
616
- width: auto;
617
-
618
- .e-tbar-btn.e-btn .e-tbar-btn-text,
619
- .e-tbar-btn.e-btn.e-control .e-tbar-btn-text {
620
- padding: $btn-txt-nrml-padding;
621
- }
622
-
623
- .e-tbar-btn-text {
624
- display: inline-block;
625
- font-family: $tbar-btn-family;
626
- font-size: $tbar-btn-txt-font-size;
627
- line-height: inherit;
628
- vertical-align: middle;
629
- width: auto;
630
- }
631
-
632
- .e-tbar-btn.e-btn,
633
- .e-tbar-btn.e-btn.e-control {
634
- height: $tbar-btn-nrml-height;
635
- margin: $tbar-btn-nrml-mrgn;
636
- min-height: $tbar-btn-nrml-minheight;
637
- min-width: $tbar-btn-nrml-minwidth;
638
- padding: $tbar-btn-nrml-padding;
639
- }
640
-
641
- .e-tbar-btn.e-btn {
642
- line-height: $tbar-btn-nrml-line-height;
643
-
644
- @if $tbar-skin == 'bootstrap' $tbar-skin == 'bootstrap4' {
645
- &:focus {
646
- padding: 0 1.5px;
647
- }
648
-
649
- &:hover {
650
- padding: 0 1.5px;
651
- }
652
-
653
- &:active {
654
- padding: 0 1.5px;
655
- }
656
-
657
- }
658
-
659
- }
660
-
661
- }
662
-
663
- .e-toolbar-item.e-separator {
664
- margin: $tbar-separator-nrml-mrgn;
665
- min-height: $tbar-btn-icon-nrml-height;
666
- min-width: 1px;
667
- vertical-align: middle;
668
- }
669
-
670
- .e-toolbar-item .e-btn.e-tbar-btn .e-icons.e-btn-icon:not(.e-toolbar-pop) {
671
- line-height: $tbar-btn-icon-nrml-line-height;
672
- min-height: $tbar-btn-icon-nrml-height;
673
- min-width: $tbar-btn-icon-nrml-width;
674
- padding: 0;
675
- }
676
-
677
- }
678
-
679
- .e-toolbar-items {
680
-
681
- .e-toolbar-item.e-separator:last-of-type {
682
- display: inline-flex;
683
- }
684
-
685
- }
686
-
687
- .e-toolbar-pop.e-toolbar-extended {
688
-
689
- .e-toolbar-item:not(.e-separator) {
690
- height: auto;
691
- }
692
-
693
- .e-toolbar-item {
694
-
695
- .e-tbar-btn .e-icons.e-btn-icon {
696
- font-size: 14px;
697
- vertical-align: middle;
698
- }
699
-
700
- .e-tbar-btn {
701
- cursor: pointer;
702
- font-family: $tbar-btn-family;
703
- font-size: $tbar-btn-font-size;
704
- font-weight: $tbar-btn-weight;
705
- overflow: hidden;
706
- padding: $tbar-btn-nrml-padding;
707
- text-align: center;
708
- text-decoration: none;
709
- text-transform: none;
710
- }
711
-
712
- }
713
-
714
- .e-tbar-btn:first-child {
715
- display: inline-block;
716
- }
717
-
718
- .e-toolbar-item > * {
719
- align-self: center;
720
- text-overflow: ellipsis;
721
- }
722
-
723
- }
724
-
725
- }
726
-
727
- &.e-control[class*='e-toolbar'] {
728
- box-sizing: content-box;
729
- }
730
-
731
- &.e-toolpop {
732
-
733
- .e-toolbar-items .e-toolbar-item {
734
-
735
- &.e-popup-text .e-tbar-btn-text {
736
- display: none;
737
- }
738
-
739
- }
740
- }
741
-
742
- &,
743
- .e-toolbar-items .e-toolbar-item {
744
-
745
- .e-tbar-btn-text {
746
- display: inline-block;
747
- padding: $btn-txt-nrml-padding;
748
- }
749
-
750
- &.e-hidden {
751
- display: none;
752
- }
753
- }
754
-
755
- &.e-corner {
756
- border-radius: $tbar-border-radius;
757
- }
758
-
759
- .e-toolbar-pop {
760
- border-radius: $tbar-pop-radius;
761
- overflow: hidden;
762
- padding: $tbar-popup-padding;
763
- position: absolute;
764
-
765
-
766
- &.e-toolbar-extended {
767
-
768
- .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
769
- margin: 0;
770
- width: auto;
771
- }
772
-
773
- }
774
-
775
- .e-toolbar-item {
776
-
777
- &.e-toolbar-popup.e-hidden {
778
- display: none;
779
- }
780
-
781
- .e-tbar-btn.e-btn {
782
- display: inline-flex;
783
- justify-content: flex-start;
784
- min-height: $tbar-btn-pop-nrml-minheight;
785
- padding: $tbar-pop-btn-nrml-padding;
786
- @if $tbar-skin == 'bootstrap' or $tbar-skin == 'bootstrap4' {
787
- border: 0;
788
- border-radius: 0;
789
- margin: 0;
790
- }
791
-
792
- .e-icons.e-btn-icon {
793
- margin: $tbar-zero-value;
794
- padding: $tbar-pop-icon-nrml-padding;
795
- width: auto;
796
- }
797
-
798
- .e-icon-left {
799
- @if $tbar-skin == 'material' {
800
- padding-right: 16px;
801
- }
802
- }
803
-
804
- .e-tbar-btn-text {
805
- padding: $tbar-pop-btn-txt-nrml-pad;
806
- }
807
- }
808
-
809
- .e-tbar-btn .e-icons.e-btn-icon {
810
- min-width: $tbar-btn-icon-nrml-width;
811
- }
812
-
813
- &:not(.e-separator) {
814
- min-width: 34px;
815
- padding: $tbar-item-pop-nrml-padding;
816
- }
817
-
818
- &.e-tbtn-align .e-btn.e-control {
819
- text-align: center;
820
-
821
- .e-icons.e-btn-icon {
822
- min-width: 100%;
823
- }
824
- }
825
- }
826
-
827
- .e-toolbar-item {
828
- align-content: center;
829
- align-items: center;
830
- display: flex;
831
- height: auto;
832
- justify-content: center;
833
-
834
- @if $tbar-skin == 'material' {
835
- height: 36px;
836
- }
837
-
838
- > * {
839
- height: 100%;
840
- min-width: 100%;
841
- text-overflow: ellipsis;
842
- }
843
- }
844
-
845
- .e-toolbar-text .e-tbar-btn-text {
846
- display: none;
847
- }
848
-
849
- .e-toolpopup {
850
- text-align: center;
851
- }
852
-
853
- }
854
-
855
- .e-toolbar-popup {
856
- text-align: center;
857
- }
858
-
859
- &.e-toolpop.e-rtl {
860
-
861
- .e-toolbar-items:not(.e-tbar-pos) {
862
-
863
- .e-toolbar-center .e-toolbar-item {
864
- margin: 0;
865
- }
866
-
867
- .e-toolbar-right .e-toolbar-item:last-child {
868
- margin: 0;
869
- margin-left: $tbar-item-nrml-mrgn;
870
- }
871
-
872
- .e-toolbar-right .e-toolbar-item {
873
- margin: 0;
874
- }
875
- }
876
- }
877
-
878
- &.e-rtl {
879
-
880
- .e-hscroll-bar .e-hscroll-content {
881
-
882
- > .e-toolbar-item:last-child {
883
- margin-left: $tbar-item-nrml-mrgn;
884
- margin-right: initial;
885
- }
886
-
887
- .e-toolbar-center .e-toolbar-item {
888
- margin: 0;
889
- }
890
-
891
- .e-toolbar-right .e-toolbar-item:last-child {
892
- margin-right: $tbar-item-nrml-mrgn;
893
- }
894
-
895
- .e-toolbar-right .e-toolbar-item {
896
- margin: 0;
897
- }
898
- }
899
-
900
- .e-toolbar-items {
901
-
902
- &.e-tbar-pos {
903
-
904
- .e-toolbar-left {
905
- left: auto;
906
- right: 0;
907
- }
908
-
909
- .e-toolbar-right {
910
- left: 0;
911
- right: auto;
912
- }
913
- }
914
-
915
- .e-toolbar-left {
916
-
917
- .e-toolbar-item:first-child {
918
- margin-left: 0;
919
- }
920
-
921
- .e-toolbar-item:last-child {
922
- margin-left: $tbar-item-nrml-mrgn;
923
- }
924
- }
925
-
926
- &:not(.e-tbar-pos) {
927
-
928
- .e-toolbar-item:first-child {
929
- margin-left: 0;
930
- margin-right: $tbar-item-nrml-mrgn;
931
- }
932
- }
933
-
934
- &:first-child {
935
-
936
- .e-hscroll-bar:first-child {
937
-
938
- .e-toolbar-left {
939
-
940
- .e-toolbar-item:last-child {
941
- margin-left: 0;
942
- }
943
-
944
- .e-toolbar-item:first-child {
945
- margin-left: 0;
946
- margin-right: $tbar-item-nrml-mrgn;
947
- }
948
- }
949
-
950
- .e-toolbar-center {
951
-
952
- .e-toolbar-item:last-child {
953
- margin-right: 0;
954
- }
955
- }
956
-
957
- .e-toolbar-right {
958
-
959
- .e-toolbar-item {
960
-
961
- &:last-child {
962
- margin-left: $tbar-item-nrml-mrgn;
963
- margin-right: 0;
964
- }
965
-
966
- &:first-child {
967
- margin-right: 0;
968
- }
969
- }
970
- }
971
-
972
- .e-toolbar-item:last-child {
973
- margin-left: $tbar-item-nrml-mrgn;
974
- margin-right: 0;
975
- }
976
- }
977
-
978
- > .e-toolbar-item:last-child,
979
- > .e-toolbar-right .e-toolbar-item {
980
-
981
- &:last-child {
982
- margin-right: 0;
983
- }
984
-
985
- &:first-child {
986
- margin-right: $tbar-item-nrml-mrgn;
987
- }
988
- }
989
- }
990
- }
991
-
992
- .e-toolbar-pop {
993
-
994
- .e-toolbar-item .e-tbar-btn.e-btn .e-icon-left {
995
- @if $tbar-skin == 'material' {
996
- padding-left: 16px;
997
- padding-right: 0;
998
- }
999
- }
1000
- }
1001
-
1002
- .e-hor-nav {
1003
- left: $tbar-zero-value;
1004
- right: auto;
1005
- @if $tbar-skin == 'bootstrap' $tbar-skin == 'bootstrap4' {
1006
- border-radius: $tbar-radius 0 0 $tbar-radius;
1007
- }
1008
- }
1009
- }
1010
-
1011
- .e-hor-nav {
1012
- align-items: center;
1013
- border-radius: 0 $tbar-radius $tbar-radius 0 ;
1014
- cursor: pointer;
1015
- display: flex;
1016
- height: 100%;
1017
- min-height: $tbar-nrml-items-size;
1018
- overflow: hidden;
1019
- position: absolute;
1020
- right: $tbar-zero-value;
1021
- top: $tbar-zero-value;
1022
- width: $tbar-nav-nrml-width;
1023
-
1024
- &.e-ie-align {
1025
- display: table;
1026
- }
1027
- }
1028
-
1029
- .e-popup-down-icon.e-icons,
1030
- .e-popup-up-icon.e-icons {
1031
- display: table-cell;
1032
- text-align: center;
1033
- vertical-align: middle;
1034
- width: 100%;
1035
- }
1036
-
1037
- .e-toolbar-item {
1038
-
1039
- .e-tbar-btn.e-btn {
1040
- line-height: $tbar-btn-nrml-line-height;
1041
-
1042
- .e-icons.e-btn-icon {
1043
- line-height: $tbar-btn-icon-nrml-line-height;
1044
- min-height: $tbar-btn-icon-nrml-height;
1045
- }
1046
- }
1047
- }
1048
-
1049
- .e-toolbar-items {
1050
- border-radius: $tbar-radius 0 0 $tbar-radius;
1051
- display: inline-block;
1052
- height: 100%;
1053
- min-height: $tbar-nrml-items-size;
1054
- vertical-align: middle;
1055
-
1056
- &.e-toolbar-multirow {
1057
- margin-bottom: 1px;
1058
- margin-left: $tbar-multirow-items-mrgn-small;
1059
- margin-right: $tbar-multirow-items-mrgn-small;
1060
- white-space: normal;
1061
-
1062
- .e-toolbar-item:not(.e-separator) {
1063
- @if $tbar-skin == 'fabric' or $tbar-skin == 'highcontrast' {
1064
- margin: $tbar-multirow-item-top-btm-mrgn-small;
1065
- }
1066
- }
1067
-
1068
- .e-toolbar-item.e-separator.e-multirow-separator {
1069
- display: none;
1070
- }
1071
-
1072
- .e-toolbar-item.e-separator {
1073
- display: inline-flex;
1074
- }
1075
-
1076
- }
1077
-
1078
- &.e-multirow-pos {
1079
-
1080
- .e-toolbar-left,
1081
- .e-toolbar-center,
1082
- .e-toolbar-right {
1083
- display: inline;
1084
- }
1085
- }
1086
-
1087
- &.e-toolbar-multirow:not(.e-tbar-pos) {
1088
-
1089
- .e-toolbar-item:first-child {
1090
- margin-left: $tbar-multirow-item-mrgn;
1091
- }
1092
-
1093
- .e-toolbar-item:last-child {
1094
- margin-right: $tbar-multirow-item-mrgn;
1095
- }
1096
-
1097
- }
1098
-
1099
- &.e-tbar-pos {
1100
- display: block;
1101
-
1102
- .e-toolbar-left,
1103
- .e-toolbar-center,
1104
- .e-toolbar-right {
1105
- display: table;
1106
- height: 100%;
1107
- top: 0;
1108
- }
1109
-
1110
- .e-toolbar-right,
1111
- .e-toolbar-left {
1112
- position: absolute;
1113
- }
1114
-
1115
- .e-toolbar-right {
1116
- right: 0;
1117
- }
1118
-
1119
- .e-toolbar-left {
1120
- left: 0;
1121
- line-height: $tbar-left-item-line-height;
1122
- }
1123
-
1124
- .e-toolbar-center {
1125
- margin: 0 auto;
1126
- }
1127
- }
1128
-
1129
- .e-toolbar-left,
1130
- .e-toolbar-center,
1131
- .e-toolbar-right {
1132
- display: inline-block;
1133
- }
1134
-
1135
- .e-toolbar-left {
1136
-
1137
- .e-toolbar-item:first-child {
1138
- margin-left: $tbar-item-nrml-mrgn;
1139
- }
1140
- }
1141
-
1142
- &:not(.e-tbar-pos) {
1143
-
1144
- .e-toolbar-item:first-child {
1145
- margin-left: $tbar-item-nrml-mrgn;
1146
- }
1147
-
1148
- .e-toolbar-right {
1149
-
1150
- .e-toolbar-item:first-child {
1151
- margin-left: 0;
1152
- }
1153
- }
1154
- }
1155
-
1156
- &:first-child {
1157
-
1158
- .e-hscroll-bar:first-child {
1159
-
1160
- .e-toolbar-left {
1161
-
1162
- .e-toolbar-item:last-child {
1163
- margin-right: 0;
1164
- }
1165
-
1166
- .e-toolbar-item:first-child {
1167
- margin-left: $tbar-item-nrml-mrgn;
1168
- }
1169
- }
1170
-
1171
- .e-toolbar-center {
1172
- .e-toolbar-item:last-child {
1173
- margin-right: 0;
1174
- }
1175
- }
1176
-
1177
- .e-toolbar-right {
1178
-
1179
- .e-toolbar-item {
1180
-
1181
- &:last-child {
1182
- margin-right: $tbar-item-nrml-mrgn;
1183
- }
1184
-
1185
- &:first-child {
1186
- margin-left: 0;
1187
- }
1188
- }
1189
- }
1190
-
1191
- .e-toolbar-item:last-child {
1192
- margin-right: $tbar-item-nrml-mrgn;
1193
- }
1194
- }
1195
-
1196
- > .e-toolbar-item:last-child,
1197
- > .e-toolbar-right .e-toolbar-item:last-child {
1198
- margin-right: $tbar-item-nrml-mrgn;
1199
- }
1200
- }
1201
-
1202
- .e-hscroll-bar .e-hscroll-content {
1203
-
1204
- > .e-toolbar-item:last-child {
1205
- margin-right: $tbar-item-nrml-mrgn;
1206
- }
1207
-
1208
- .e-toolbar-center .e-toolbar-item {
1209
- margin: 0;
1210
- }
1211
-
1212
- .e-toolbar-right .e-toolbar-item:last-child {
1213
- margin-right: $tbar-item-nrml-mrgn;
1214
- }
1215
-
1216
- .e-toolbar-right .e-toolbar-item {
1217
- margin: 0;
1218
- }
1219
- }
1220
-
1221
- .e-toolbar-item {
1222
- align-content: center;
1223
- align-items: center;
1224
- cursor: pointer;
1225
- display: inline-flex;
1226
- min-height: $tbar-nrml-item-size;
1227
- vertical-align: middle;
1228
- width: auto;
1229
-
1230
- &:not(.e-separator) {
1231
- height: 100%;
1232
- min-width: $tbar-item-nrml-minwidth;
1233
- padding: $tbar-item-nrml-padding;
1234
- }
1235
-
1236
- &.e-separator {
1237
- margin: $tbar-separator-nrml-mrgn;
1238
- min-height: $tbar-separator-nrml-minheight;
1239
- min-width: 1px;
1240
- }
1241
-
1242
- input[type='checkbox'] {
1243
- height: auto;
1244
- }
1245
-
1246
- &.e-popup-text {
1247
-
1248
- .e-tbar-btn.e-btn {
1249
-
1250
- &.e-tbtn-txt {
1251
-
1252
- .e-icons.e-btn-icon {
1253
- padding: $tbar-zero-value;
1254
- }
1255
- }
1256
- }
1257
- }
1258
-
1259
- .e-tbar-btn.e-btn {
1260
- height: $tbar-btn-nrml-height;
1261
- margin: $tbar-btn-nrml-mrgn;
1262
- min-height: $tbar-btn-nrml-minheight;
1263
- min-width: $tbar-btn-nrml-minwidth;
1264
- padding: $tbar-btn-nrml-padding;
1265
-
1266
- @if $tbar-skin == 'bootstrap' {
1267
- line-height: 27px;
1268
-
1269
- &:focus {
1270
- padding: 0 1.5px;
1271
- }
1272
-
1273
- &:hover {
1274
- padding: 0 1.5px;
1275
- }
1276
-
1277
- &:active {
1278
- padding: 0 1.5px;
1279
- }
1280
- }
1281
- @if $tbar-skin == 'bootstrap4' {
1282
- line-height: 27px;
1283
-
1284
- &:focus,
1285
- &:active,
1286
- &:hover {
1287
- padding: 0 2px;
1288
- }
1289
- }
1290
-
1291
- @if $tbar-skin == 'highcontrast' {
1292
- &:focus {
1293
- outline: none;
1294
- }
1295
- }
1296
-
1297
- @if $tbar-skin == 'fabric' {
1298
- &:focus {
1299
- outline: none;
1300
- }
1301
- }
1302
-
1303
- &.e-tbtn-txt {
1304
-
1305
- .e-icons.e-btn-icon {
1306
- padding: $tbar-btn-icn-nrml-padding;
1307
- }
1308
-
1309
- .e-icons.e-icon-right.e-btn-icon {
1310
- padding: $tbar-btn-icn-right-nrml-padding;
1311
- }
1312
- }
1313
-
1314
- .e-icons.e-btn-icon {
1315
- margin: $tbar-zero-value;
1316
- min-width: $tbar-btn-icon-nrml-width;
1317
- width: auto;
1318
- }
1319
- }
1320
-
1321
- > * {
1322
- align-self: center;
1323
- text-overflow: ellipsis;
1324
- }
1325
-
1326
- &.e-separator {
1327
- height: $tbar-separator-nrml-height;
1328
- vertical-align: middle;
1329
-
1330
- + .e-separator {
1331
- display: none;
1332
- }
1333
-
1334
- &:last-of-type,
1335
- &:first-of-type {
1336
- display: none;
1337
- }
1338
- }
1339
- }
1340
- }
1341
-
1342
- .e-tbar-btn > :first-child {
1343
- display: inline-block;
1344
- }
1345
-
1346
- .e-tbar-btn {
1347
- border: $tbar-btn-border;
1348
- cursor: pointer;
1349
- font-family: $tbar-btn-family;
1350
- font-size: $tbar-btn-font-size;
1351
- font-weight: $tbar-btn-weight;
1352
- overflow: hidden;
1353
- padding: $tbar-btn-nrml-padding;
1354
- text-align: center;
1355
- text-decoration: none;
1356
- text-transform: none;
1357
-
1358
- .e-icons.e-btn-icon {
1359
- font-size: $tbar-btn-font-size;
1360
- vertical-align: middle;
1361
- }
1362
-
1363
- div {
1364
- vertical-align: middle;
1365
- }
1366
-
1367
- .e-tbar-btn-text {
1368
- display: inline-block;
1369
- font-family: $tbar-btn-family;
1370
- font-size: $tbar-btn-txt-font-size;
1371
- line-height: inherit;
1372
- vertical-align: middle;
1373
- width: auto;
1374
- }
1375
- }
1376
-
1377
- &.e-vertical {
1378
- display: flex;
1379
- flex-direction: column;
1380
-
1381
- &.e-rtl.e-tbar-pos {
1382
-
1383
- .e-toolbar-left {
1384
- bottom: 0;
1385
- top: auto;
1386
- }
1387
-
1388
- .e-toolbar-right {
1389
- bottom: auto;
1390
- top: 0;
1391
- }
1392
- }
1393
-
1394
- .e-toolbar-items {
1395
-
1396
- &.e-tbar-pos {
1397
-
1398
- .e-toolbar-left,
1399
- .e-toolbar-center,
1400
- .e-toolbar-right {
1401
- height: auto;
1402
- }
1403
-
1404
- .e-toolbar-left {
1405
- left: auto;
1406
- right: auto;
1407
- top: 0;
1408
- }
1409
-
1410
- .e-toolbar-right {
1411
- bottom: 0;
1412
- left: auto;
1413
- right: auto;
1414
- }
1415
- }
1416
-
1417
- &:not(.e-tbar-pos) .e-toolbar-item {
1418
-
1419
- &:first-child {
1420
- margin-left: 0;
1421
- }
1422
-
1423
- &:last-child {
1424
- margin-right: 0;
1425
- }
1426
- }
1427
-
1428
- .e-toolbar-item {
1429
- display: flex;
1430
- height: auto;
1431
-
1432
- &:not(.e-separator) {
1433
- min-width: 33px;
1434
- }
1435
-
1436
- &.e-separator {
1437
- height: auto;
1438
- margin: $tbar-separator-vertical-nrml-mrgn;
1439
- min-height: auto;
1440
- }
1441
-
1442
- .e-tbar-btn.e-btn {
1443
- margin: $tbar-v-btn-nrml-mrgn;
1444
- }
1445
- }
1446
- }
1447
-
1448
- .e-hor-nav {
1449
- bottom: 0;
1450
- height: auto;
1451
- left: 0;
1452
- min-height: 40px;
1453
- min-width: 50px;
1454
- right: auto;
1455
- top: auto;
1456
- width: auto;
1457
- }
1458
- }
1459
- }
1460
- }
1
+ @include export-module('toolbar-layout') {
2
+ /*! toolbar layout */
3
+ // sass-lint:disable no-vendor-prefixes
4
+ .e-bigger #{&}.e-toolbar,
5
+ #{&}.e-toolbar.e-bigger {
6
+ height: $tbar-bgr-size;
7
+ min-height: $tbar-bgr-size;
8
+
9
+ .e-tbar-btn {
10
+ @if $tbar-skin == 'bootstrap4' {
11
+ .e-tbar-btn-text {
12
+ font-size: $tbar-icons-bgr-font-size;
13
+ }
14
+ }
15
+ }
16
+
17
+ .e-tbar-btn .e-icons {
18
+ font-size: $tbar-icons-bgr-font-size;
19
+
20
+ &.e-btn-icon {
21
+
22
+ @if $tbar-skin == 'bootstrap4' {
23
+ font-size: $tbar-icons-bgr-font-size;
24
+ }
25
+ }
26
+ }
27
+
28
+ &.e-extended-toolbar.e-tbar-extended {
29
+ border-bottom: 0;
30
+ border-bottom-left-radius: 0;
31
+ border-bottom-right-radius: 0;
32
+
33
+ .e-toolbar-extended {
34
+ border-top: 0;
35
+ border-top-left-radius: 0;
36
+ border-top-right-radius: 0;
37
+ }
38
+ }
39
+
40
+ &.e-toolpop.e-rtl {
41
+
42
+ .e-toolbar-items:not(.e-tbar-pos) {
43
+
44
+ .e-toolbar-center .e-toolbar-item {
45
+ margin: 0;
46
+ }
47
+
48
+ .e-toolbar-right .e-toolbar-item:last-child {
49
+ margin: 0;
50
+ margin-left: $tbar-item-nrml-mrgn;
51
+ }
52
+
53
+ .e-toolbar-right .e-toolbar-item {
54
+ margin: 0;
55
+ }
56
+ }
57
+ }
58
+
59
+ &.e-rtl {
60
+
61
+ .e-toolbar-items {
62
+
63
+ .e-hscroll-bar .e-hscroll-content {
64
+
65
+ > .e-toolbar-item:last-child {
66
+ margin-left: $tbar-item-bgr-mrgn;
67
+ margin-right: initial;
68
+ }
69
+
70
+ .e-toolbar-center .e-toolbar-item {
71
+ margin: 0;
72
+ }
73
+
74
+ .e-toolbar-right .e-toolbar-item:last-child {
75
+ margin-left: $tbar-item-bgr-mrgn;
76
+ margin-right: 0;
77
+ }
78
+
79
+ .e-toolbar-right .e-toolbar-item {
80
+ margin: 0;
81
+ }
82
+ }
83
+
84
+ .e-toolbar-left {
85
+
86
+ .e-toolbar-item:first-child {
87
+ margin-left: 0;
88
+ }
89
+
90
+ .e-toolbar-item:last-child {
91
+ margin-left: $tbar-item-nrml-mrgn;
92
+ }
93
+ }
94
+
95
+ &:not(.e-tbar-pos) {
96
+
97
+ .e-toolbar-item:first-child {
98
+ margin-left: 0;
99
+ margin-right: $tbar-item-bgr-mrgn;
100
+ }
101
+ }
102
+ }
103
+ }
104
+
105
+ .e-hor-nav {
106
+ min-height: $tbar-bgr-items-size;
107
+ min-width: $tbar-nav-bgr-width;
108
+ }
109
+
110
+ .e-toolbar-item {
111
+
112
+ .e-tbar-btn.e-btn {
113
+ line-height: $tbar-btn-bgr-line-height;
114
+ }
115
+
116
+ .e-btn.e-tbar-btn .e-icons.e-btn-icon {
117
+ line-height: $tbar-btn-icon-bgr-line-height;
118
+ min-height: $tbar-btn-icon-bgr-height;
119
+ min-width: $tbar-btn-icon-bgr-width;
120
+ }
121
+ }
122
+
123
+ .e-toolbar-items .e-toolbar-item {
124
+
125
+ .e-tbar-btn-text {
126
+ line-height: $tbar-btn-txt-line-height;
127
+
128
+ @if $tbar-skin == 'bootstrap' or $tbar-skin == 'bootstrap4' {
129
+ line-height: inherit;
130
+ }
131
+ }
132
+ }
133
+
134
+ .e-toolbar-pop {
135
+
136
+ .e-toolbar-item {
137
+ @if $tbar-skin == 'material' {
138
+ height: 48px;
139
+ }
140
+
141
+ &:not(.e-separator) {
142
+ min-width: 48px;
143
+ padding: $tbar-item-pop-bgr-padding;
144
+ }
145
+
146
+ .e-tbar-btn .e-icons.e-btn-icon {
147
+ min-width: $tbar-btn-icon-bgr-width;
148
+ }
149
+
150
+ .e-tbar-btn.e-btn {
151
+ min-height: $tbar-btn-pop-bgr-minheight;
152
+ padding: $tbar-pop-btn-bgr-padding;
153
+ @if $tbar-skin == 'bootstrap' {
154
+ line-height: 34px;
155
+ }
156
+
157
+ .e-icons.e-btn-icon {
158
+ margin-left: $tbar-zero-value;
159
+ padding: $tbar-pop-icon-bgr-padding;
160
+ }
161
+
162
+ .e-icon-left {
163
+ @if $tbar-skin == 'material' {
164
+ padding-right: 16px;
165
+ }
166
+ }
167
+
168
+ .e-tbar-btn-text {
169
+ padding: $tbar-pop-btn-txt-bgr-pad;
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ .e-toolbar-items {
176
+ min-height: $tbar-bgr-items-size;
177
+
178
+ &.e-toolbar-multirow {
179
+
180
+ margin-left: $tbar-multirow-items-mrgn-bigger;
181
+ margin-right: $tbar-multirow-items-mrgn-bigger;
182
+ white-space: normal;
183
+
184
+ .e-toolbar-item:not(.e-separator) {
185
+ @if $tbar-skin == 'fabric' or $tbar-skin == 'highcontrast' {
186
+ margin: $tbar-multirow-item-top-btm-mrgn-bigger;
187
+ }
188
+ }
189
+
190
+ .e-toolbar-item.e-separator.e-multirow-separator {
191
+ display: none;
192
+ }
193
+
194
+ .e-toolbar-item.e-separator {
195
+ display: inline-flex;
196
+ }
197
+
198
+ }
199
+
200
+ &.e-toolbar-multirow:not(.e-tbar-pos) {
201
+
202
+ .e-toolbar-item:first-child {
203
+ margin-left: $tbar-multirow-item-mrgn;
204
+ }
205
+
206
+ .e-toolbar-item:last-child {
207
+ margin-right: $tbar-multirow-item-mrgn;
208
+ }
209
+
210
+ }
211
+
212
+ .e-hscroll-bar .e-hscroll-content {
213
+
214
+ > .e-toolbar-item:last-child {
215
+ margin-right: $tbar-item-bgr-mrgn;
216
+ }
217
+
218
+ .e-toolbar-center .e-toolbar-item {
219
+ margin: 0;
220
+ }
221
+
222
+ .e-toolbar-right .e-toolbar-item:last-child {
223
+ margin-right: $tbar-item-bgr-mrgn;
224
+ }
225
+
226
+ .e-toolbar-right .e-toolbar-item {
227
+ margin: 0;
228
+ }
229
+ }
230
+
231
+ .e-toolbar-left {
232
+
233
+ .e-toolbar-item:first-child {
234
+ margin-left: $tbar-item-bgr-mrgn;
235
+ }
236
+ }
237
+
238
+ &:not(.e-tbar-pos) {
239
+
240
+ .e-toolbar-item:first-child {
241
+ margin-left: $tbar-item-bgr-mrgn;
242
+ }
243
+ }
244
+
245
+ .e-toolbar-item {
246
+ min-height: $tbar-bgr-items-size;
247
+
248
+ &:not(.e-separator) {
249
+ min-width: $tbar-bgr-item-size;
250
+ padding: $tbar-item-bgr-padding;
251
+ }
252
+
253
+ &.e-separator {
254
+ height: $tbar-separator-bgr-height;
255
+ margin: $tbar-separator-bgr-mrgn;
256
+ min-height: $tbar-separator-bgr-minheight;
257
+ }
258
+
259
+ &.e-popup-text {
260
+
261
+ .e-tbar-btn.e-btn,
262
+ .e-tbar-btn.e-btn.e-control {
263
+
264
+ &.e-tbtn-txt {
265
+
266
+ .e-icons.e-btn-icon {
267
+ padding: $tbar-zero-value;
268
+ }
269
+ }
270
+ }
271
+ }
272
+
273
+ .e-tbar-btn.e-btn,
274
+ .e-tbar-btn.e-btn.e-control {
275
+ height: $tbar-btn-bgr-height;
276
+ margin: $tbar-btn-bgr-mrgn;
277
+ min-height: $tbar-btn-bgr-minheight;
278
+ min-width: $tbar-btn-bgr-minwidth;
279
+ padding: $tbar-btn-bgr-padding;
280
+
281
+ @if $tbar-skin == 'bootstrap' or $tbar-skin == 'bootstrap4' {
282
+ line-height: 34px;
283
+
284
+ &:focus {
285
+ padding: 0 6px;
286
+
287
+ @if $tbar-skin == 'bootstrap4' {
288
+ padding: 0 4.5px;
289
+ }
290
+ }
291
+
292
+ &:hover {
293
+ padding: 0 6px;
294
+
295
+ @if $tbar-skin == 'bootstrap4' {
296
+ padding: 0 4.5px;
297
+ }
298
+ }
299
+
300
+ &:active {
301
+ padding: 0 6px;
302
+
303
+ @if $tbar-skin == 'bootstrap4' {
304
+ padding: 0 4.5px;
305
+ }
306
+ }
307
+ }
308
+
309
+ &.e-tbtn-txt {
310
+
311
+ .e-icons.e-btn-icon {
312
+ padding: $tbar-btn-icn-bgr-padding;
313
+ }
314
+
315
+ .e-icons.e-icon-right.e-btn-icon {
316
+ padding: $tbar-btn-icn-right-bgr-padding;
317
+ }
318
+ }
319
+
320
+ .e-tbar-btn-text {
321
+ padding: $btn-txt-bgr-padding;
322
+ }
323
+ }
324
+ }
325
+ }
326
+
327
+ &.e-extended-toolbar {
328
+
329
+ .e-toolbar-extended {
330
+
331
+ min-height: $tbar-bgr-size;
332
+ padding-bottom: 0;
333
+ padding-left: $tbar-item-bgr-mrgn;
334
+ padding-right: $tbar-item-bgr-mrgn;
335
+ padding-top: 0;
336
+
337
+ @if $tbar-skin != 'material' {
338
+ margin-left: -1px;
339
+ }
340
+
341
+ }
342
+
343
+ .e-toolbar-extended.e-popup-close {
344
+ display: none;
345
+ }
346
+
347
+ .e-toolbar-extended.e-popup-open {
348
+ display: inline;
349
+ }
350
+
351
+ .e-toolbar-pop.e-toolbar-extended {
352
+ width: inherit;
353
+ }
354
+
355
+ .e-toolbar-extended {
356
+ box-shadow: none;
357
+ display: inline;
358
+ white-space: normal;
359
+
360
+ .e-toolbar-item:not(.e-separator) {
361
+
362
+ @if $tbar-skin == 'fabric' or $tbar-skin == 'highcontrast' {
363
+ margin: $tbar-item-bgr-padding-bigger;
364
+ }
365
+
366
+ min-width: $tbar-bgr-item-size;
367
+ padding: $tbar-item-bgr-padding;
368
+ }
369
+
370
+ .e-toolbar-item.e-separator.e-extended-separator {
371
+ display: none;
372
+ }
373
+
374
+ .e-toolbar-item.e-separator {
375
+ display: inline-flex;
376
+ }
377
+
378
+ .e-toolbar-item {
379
+ align-content: center;
380
+ align-items: center;
381
+ cursor: pointer;
382
+ display: inline-flex;
383
+ min-height: $tbar-bgr-items-size;
384
+ vertical-align: middle;
385
+ width: auto;
386
+
387
+ .e-tbar-btn.e-btn .e-tbar-btn-text,
388
+ .e-tbar-btn.e-btn.e-control .e-tbar-btn-text {
389
+ padding: $btn-txt-bgr-padding;
390
+ }
391
+
392
+ .e-tbar-btn.e-btn,
393
+ .e-tbar-btn.e-btn.e-control {
394
+ height: $tbar-btn-bgr-height;
395
+ margin: $tbar-btn-bgr-mrgn;
396
+ min-height: $tbar-btn-bgr-minheight;
397
+ min-width: $tbar-btn-bgr-minwidth;
398
+ padding: $tbar-btn-bgr-padding;
399
+
400
+ @if $tbar-skin == 'bootstrap' {
401
+ &:focus {
402
+ padding: 0 6px;
403
+ }
404
+
405
+ &:hover {
406
+ padding: 0 6px;
407
+ }
408
+
409
+ &:active {
410
+ padding: 0 6px;
411
+ }
412
+
413
+ }
414
+ @if $tbar-skin == 'bootstrap4' {
415
+ &:hover,
416
+ &:focus,
417
+ &:active {
418
+ padding: 0 5.5px;
419
+ }
420
+ }
421
+ }
422
+
423
+ .e-tbar-btn.e-btn {
424
+ line-height: $tbar-btn-bgr-line-height;
425
+ }
426
+
427
+ }
428
+
429
+ .e-toolbar-item.e-separator {
430
+ height: $tbar-separator-bgr-height;
431
+ margin: $tbar-separator-bgr-mrgn;
432
+ min-height: $tbar-separator-bgr-minheight;
433
+ }
434
+
435
+ .e-toolbar-item .e-btn.e-tbar-btn .e-icons.e-btn-icon {
436
+ line-height: $tbar-btn-icon-bgr-line-height;
437
+ min-height: $tbar-btn-icon-bgr-height;
438
+ min-width: $tbar-btn-icon-bgr-width;
439
+ }
440
+
441
+ }
442
+ }
443
+
444
+ &.e-extended-toolbar.e-rtl {
445
+
446
+ .e-hor-nav {
447
+ left: 0;
448
+ right: auto;
449
+ }
450
+
451
+ .e-toolbar-extended {
452
+
453
+ padding-right: $tbar-item-bgr-mrgn;
454
+ @if $tbar-skin != 'material' {
455
+ margin-left: 0;
456
+ }
457
+
458
+ }
459
+ }
460
+
461
+ &.e-vertical {
462
+
463
+ .e-toolbar-items {
464
+
465
+ .e-toolbar-item {
466
+
467
+ &:not(.e-separator) {
468
+ min-height: 38px;
469
+ }
470
+
471
+ &.e-separator {
472
+ height: auto;
473
+ margin: $tbar-separator-vertical-bgr-mrgn;
474
+ min-height: auto;
475
+ }
476
+
477
+ .e-tbar-btn.e-btn {
478
+ margin: $tbar-v-btn-bgr-mrgn;
479
+ }
480
+ }
481
+
482
+ &:not(.e-tbar-pos) .e-toolbar-item {
483
+
484
+ &:first-child {
485
+ margin-left: 0;
486
+ }
487
+
488
+ &:last-child {
489
+ margin-right: 0;
490
+ }
491
+ }
492
+ }
493
+
494
+ .e-hor-nav {
495
+ min-height: 40px;
496
+ min-width: 50px;
497
+ }
498
+ }
499
+ }
500
+
501
+ #{&}.e-toolbar {
502
+ border-radius: $tbar-radius;
503
+ display: block;
504
+ height: $tbar-nrml-size;
505
+ min-height: $tbar-nrml-size;
506
+ position: relative;
507
+ touch-action: none;
508
+ user-select: none;
509
+ white-space: nowrap;
510
+
511
+ &.e-extended-toolbar.e-rtl {
512
+
513
+ .e-hor-nav {
514
+ left: 0;
515
+ right: auto;
516
+ }
517
+
518
+ .e-toolbar-extended {
519
+ padding-right: $tbar-item-nrml-mrgn;
520
+
521
+ @if $tbar-skin != 'material' {
522
+ margin-left: 0;
523
+ }
524
+
525
+ .e-toolbar-item .e-tbar-btn.e-btn .e-icon-left {
526
+ padding-left: 0;
527
+ }
528
+
529
+ }
530
+
531
+ }
532
+
533
+ &.e-extended-toolbar {
534
+
535
+ .e-toolbar-items .e-toolbar-item {
536
+
537
+ &.e-popup-text .e-tbar-btn-text {
538
+ display: none;
539
+ }
540
+
541
+ }
542
+
543
+ &.e-extended-toolbar.e-tbar-extended {
544
+ border-bottom: 0;
545
+ border-bottom-left-radius: 0;
546
+ border-bottom-right-radius: 0;
547
+ }
548
+
549
+ .e-hor-nav.e-ie-align {
550
+ display: table;
551
+ }
552
+
553
+ .e-toolbar-extended {
554
+ border-top: 0;
555
+ border-top-left-radius: 0;
556
+ border-top-right-radius: 0;
557
+ min-height: $tbar-nrml-size;
558
+ padding-bottom: 0;
559
+ padding-left: $tbar-item-nrml-mrgn;
560
+ padding-right: $tbar-item-nrml-mrgn;
561
+ padding-top: 0;
562
+
563
+ @if $tbar-skin != 'material' {
564
+ margin-left: -1px;
565
+ }
566
+
567
+ .e-toolbar-item.e-toolbar-text .e-tbar-btn-text {
568
+ display: none;
569
+ }
570
+
571
+ }
572
+
573
+ .e-toolbar-extended.e-popup-close {
574
+ display: none;
575
+ }
576
+
577
+ .e-toolbar-extended.e-popup-open {
578
+ display: inline;
579
+ }
580
+
581
+ .e-toolbar-pop.e-toolbar-extended {
582
+ width: inherit;
583
+ }
584
+
585
+ .e-toolbar-extended {
586
+ box-shadow: none;
587
+ display: inline;
588
+ white-space: normal;
589
+
590
+ .e-toolbar-item:not(.e-separator) {
591
+
592
+ @if $tbar-skin == 'fabric' or $tbar-skin == 'highcontrast' {
593
+ margin: $tbar-item-nrml-padding-small;
594
+ }
595
+
596
+ height: 100%;
597
+ min-width: $tbar-item-nrml-minwidth;
598
+ padding: $tbar-item-nrml-padding;
599
+ }
600
+
601
+ .e-toolbar-item.e-separator.e-extended-separator {
602
+ display: none;
603
+ }
604
+
605
+ .e-toolbar-item.e-separator {
606
+ display: inline-flex;
607
+ }
608
+
609
+ .e-toolbar-item {
610
+ align-content: center;
611
+ align-items: center;
612
+ cursor: pointer;
613
+ display: inline-flex;
614
+ min-height: $tbar-nrml-item-size;
615
+ vertical-align: middle;
616
+ width: auto;
617
+
618
+ .e-tbar-btn.e-btn .e-tbar-btn-text,
619
+ .e-tbar-btn.e-btn.e-control .e-tbar-btn-text {
620
+ padding: $btn-txt-nrml-padding;
621
+ }
622
+
623
+ .e-tbar-btn-text {
624
+ display: inline-block;
625
+ font-family: $tbar-btn-family;
626
+ font-size: $tbar-btn-txt-font-size;
627
+ line-height: inherit;
628
+ vertical-align: middle;
629
+ width: auto;
630
+ }
631
+
632
+ .e-tbar-btn.e-btn,
633
+ .e-tbar-btn.e-btn.e-control {
634
+ height: $tbar-btn-nrml-height;
635
+ margin: $tbar-btn-nrml-mrgn;
636
+ min-height: $tbar-btn-nrml-minheight;
637
+ min-width: $tbar-btn-nrml-minwidth;
638
+ padding: $tbar-btn-nrml-padding;
639
+ }
640
+
641
+ .e-tbar-btn.e-btn {
642
+ line-height: $tbar-btn-nrml-line-height;
643
+
644
+ @if $tbar-skin == 'bootstrap' $tbar-skin == 'bootstrap4' {
645
+ &:focus {
646
+ padding: 0 1.5px;
647
+ }
648
+
649
+ &:hover {
650
+ padding: 0 1.5px;
651
+ }
652
+
653
+ &:active {
654
+ padding: 0 1.5px;
655
+ }
656
+
657
+ }
658
+
659
+ }
660
+
661
+ }
662
+
663
+ .e-toolbar-item.e-separator {
664
+ margin: $tbar-separator-nrml-mrgn;
665
+ min-height: $tbar-btn-icon-nrml-height;
666
+ min-width: 1px;
667
+ vertical-align: middle;
668
+ }
669
+
670
+ .e-toolbar-item .e-btn.e-tbar-btn .e-icons.e-btn-icon:not(.e-toolbar-pop) {
671
+ line-height: $tbar-btn-icon-nrml-line-height;
672
+ min-height: $tbar-btn-icon-nrml-height;
673
+ min-width: $tbar-btn-icon-nrml-width;
674
+ padding: 0;
675
+ }
676
+
677
+ }
678
+
679
+ .e-toolbar-items {
680
+
681
+ .e-toolbar-item.e-separator:last-of-type {
682
+ display: inline-flex;
683
+ }
684
+
685
+ }
686
+
687
+ .e-toolbar-pop.e-toolbar-extended {
688
+
689
+ .e-toolbar-item:not(.e-separator) {
690
+ height: auto;
691
+ }
692
+
693
+ .e-toolbar-item {
694
+
695
+ .e-tbar-btn .e-icons.e-btn-icon {
696
+ font-size: 14px;
697
+ vertical-align: middle;
698
+ }
699
+
700
+ .e-tbar-btn {
701
+ cursor: pointer;
702
+ font-family: $tbar-btn-family;
703
+ font-size: $tbar-btn-font-size;
704
+ font-weight: $tbar-btn-weight;
705
+ overflow: hidden;
706
+ padding: $tbar-btn-nrml-padding;
707
+ text-align: center;
708
+ text-decoration: none;
709
+ text-transform: none;
710
+ }
711
+
712
+ }
713
+
714
+ .e-tbar-btn:first-child {
715
+ display: inline-block;
716
+ }
717
+
718
+ .e-toolbar-item > * {
719
+ align-self: center;
720
+ text-overflow: ellipsis;
721
+ }
722
+
723
+ }
724
+
725
+ }
726
+
727
+ &.e-control[class*='e-toolbar'] {
728
+ box-sizing: content-box;
729
+ }
730
+
731
+ &.e-toolpop {
732
+
733
+ .e-toolbar-items .e-toolbar-item {
734
+
735
+ &.e-popup-text .e-tbar-btn-text {
736
+ display: none;
737
+ }
738
+
739
+ }
740
+ }
741
+
742
+ &,
743
+ .e-toolbar-items .e-toolbar-item {
744
+
745
+ .e-tbar-btn-text {
746
+ display: inline-block;
747
+ padding: $btn-txt-nrml-padding;
748
+ }
749
+
750
+ &.e-hidden {
751
+ display: none;
752
+ }
753
+ }
754
+
755
+ &.e-corner {
756
+ border-radius: $tbar-border-radius;
757
+ }
758
+
759
+ .e-toolbar-pop {
760
+ border-radius: $tbar-pop-radius;
761
+ overflow: hidden;
762
+ padding: $tbar-popup-padding;
763
+ position: absolute;
764
+
765
+
766
+ &.e-toolbar-extended {
767
+
768
+ .e-toolbar-item .e-tbar-btn.e-btn .e-icons.e-btn-icon {
769
+ margin: 0;
770
+ width: auto;
771
+ }
772
+
773
+ }
774
+
775
+ .e-toolbar-item {
776
+
777
+ &.e-toolbar-popup.e-hidden {
778
+ display: none;
779
+ }
780
+
781
+ .e-tbar-btn.e-btn {
782
+ display: inline-flex;
783
+ justify-content: flex-start;
784
+ min-height: $tbar-btn-pop-nrml-minheight;
785
+ padding: $tbar-pop-btn-nrml-padding;
786
+ @if $tbar-skin == 'bootstrap' or $tbar-skin == 'bootstrap4' {
787
+ border: 0;
788
+ border-radius: 0;
789
+ margin: 0;
790
+ }
791
+
792
+ .e-icons.e-btn-icon {
793
+ margin: $tbar-zero-value;
794
+ padding: $tbar-pop-icon-nrml-padding;
795
+ width: auto;
796
+ }
797
+
798
+ .e-icon-left {
799
+ @if $tbar-skin == 'material' {
800
+ padding-right: 16px;
801
+ }
802
+ }
803
+
804
+ .e-tbar-btn-text {
805
+ padding: $tbar-pop-btn-txt-nrml-pad;
806
+ }
807
+ }
808
+
809
+ .e-tbar-btn .e-icons.e-btn-icon {
810
+ min-width: $tbar-btn-icon-nrml-width;
811
+ }
812
+
813
+ &:not(.e-separator) {
814
+ min-width: 34px;
815
+ padding: $tbar-item-pop-nrml-padding;
816
+ }
817
+
818
+ &.e-tbtn-align .e-btn.e-control {
819
+ text-align: center;
820
+
821
+ .e-icons.e-btn-icon {
822
+ min-width: 100%;
823
+ }
824
+ }
825
+ }
826
+
827
+ .e-toolbar-item {
828
+ align-content: center;
829
+ align-items: center;
830
+ display: flex;
831
+ height: auto;
832
+ justify-content: center;
833
+
834
+ @if $tbar-skin == 'material' {
835
+ height: 36px;
836
+ }
837
+
838
+ > * {
839
+ height: 100%;
840
+ min-width: 100%;
841
+ text-overflow: ellipsis;
842
+ }
843
+ }
844
+
845
+ .e-toolbar-text .e-tbar-btn-text {
846
+ display: none;
847
+ }
848
+
849
+ .e-toolpopup {
850
+ text-align: center;
851
+ }
852
+
853
+ }
854
+
855
+ .e-toolbar-popup {
856
+ text-align: center;
857
+ }
858
+
859
+ &.e-toolpop.e-rtl {
860
+
861
+ .e-toolbar-items:not(.e-tbar-pos) {
862
+
863
+ .e-toolbar-center .e-toolbar-item {
864
+ margin: 0;
865
+ }
866
+
867
+ .e-toolbar-right .e-toolbar-item:last-child {
868
+ margin: 0;
869
+ margin-left: $tbar-item-nrml-mrgn;
870
+ }
871
+
872
+ .e-toolbar-right .e-toolbar-item {
873
+ margin: 0;
874
+ }
875
+ }
876
+ }
877
+
878
+ &.e-rtl {
879
+
880
+ .e-hscroll-bar .e-hscroll-content {
881
+
882
+ > .e-toolbar-item:last-child {
883
+ margin-left: $tbar-item-nrml-mrgn;
884
+ margin-right: initial;
885
+ }
886
+
887
+ .e-toolbar-center .e-toolbar-item {
888
+ margin: 0;
889
+ }
890
+
891
+ .e-toolbar-right .e-toolbar-item:last-child {
892
+ margin-right: $tbar-item-nrml-mrgn;
893
+ }
894
+
895
+ .e-toolbar-right .e-toolbar-item {
896
+ margin: 0;
897
+ }
898
+ }
899
+
900
+ .e-toolbar-items {
901
+
902
+ &.e-tbar-pos {
903
+
904
+ .e-toolbar-left {
905
+ left: auto;
906
+ right: 0;
907
+ }
908
+
909
+ .e-toolbar-right {
910
+ left: 0;
911
+ right: auto;
912
+ }
913
+ }
914
+
915
+ .e-toolbar-left {
916
+
917
+ .e-toolbar-item:first-child {
918
+ margin-left: 0;
919
+ }
920
+
921
+ .e-toolbar-item:last-child {
922
+ margin-left: $tbar-item-nrml-mrgn;
923
+ }
924
+ }
925
+
926
+ &:not(.e-tbar-pos) {
927
+
928
+ .e-toolbar-item:first-child {
929
+ margin-left: 0;
930
+ margin-right: $tbar-item-nrml-mrgn;
931
+ }
932
+ }
933
+
934
+ &:first-child {
935
+
936
+ .e-hscroll-bar:first-child {
937
+
938
+ .e-toolbar-left {
939
+
940
+ .e-toolbar-item:last-child {
941
+ margin-left: 0;
942
+ }
943
+
944
+ .e-toolbar-item:first-child {
945
+ margin-left: 0;
946
+ margin-right: $tbar-item-nrml-mrgn;
947
+ }
948
+ }
949
+
950
+ .e-toolbar-center {
951
+
952
+ .e-toolbar-item:last-child {
953
+ margin-right: 0;
954
+ }
955
+ }
956
+
957
+ .e-toolbar-right {
958
+
959
+ .e-toolbar-item {
960
+
961
+ &:last-child {
962
+ margin-left: $tbar-item-nrml-mrgn;
963
+ margin-right: 0;
964
+ }
965
+
966
+ &:first-child {
967
+ margin-right: 0;
968
+ }
969
+ }
970
+ }
971
+
972
+ .e-toolbar-item:last-child {
973
+ margin-left: $tbar-item-nrml-mrgn;
974
+ margin-right: 0;
975
+ }
976
+ }
977
+
978
+ > .e-toolbar-item:last-child,
979
+ > .e-toolbar-right .e-toolbar-item {
980
+
981
+ &:last-child {
982
+ margin-right: 0;
983
+ }
984
+
985
+ &:first-child {
986
+ margin-right: $tbar-item-nrml-mrgn;
987
+ }
988
+ }
989
+ }
990
+ }
991
+
992
+ .e-toolbar-pop {
993
+
994
+ .e-toolbar-item .e-tbar-btn.e-btn .e-icon-left {
995
+ @if $tbar-skin == 'material' {
996
+ padding-left: 16px;
997
+ padding-right: 0;
998
+ }
999
+ }
1000
+ }
1001
+
1002
+ .e-hor-nav {
1003
+ left: $tbar-zero-value;
1004
+ right: auto;
1005
+ @if $tbar-skin == 'bootstrap' $tbar-skin == 'bootstrap4' {
1006
+ border-radius: $tbar-radius 0 0 $tbar-radius;
1007
+ }
1008
+ }
1009
+ }
1010
+
1011
+ .e-hor-nav {
1012
+ align-items: center;
1013
+ border-radius: 0 $tbar-radius $tbar-radius 0 ;
1014
+ cursor: pointer;
1015
+ display: flex;
1016
+ height: 100%;
1017
+ min-height: $tbar-nrml-items-size;
1018
+ overflow: hidden;
1019
+ position: absolute;
1020
+ right: $tbar-zero-value;
1021
+ top: $tbar-zero-value;
1022
+ width: $tbar-nav-nrml-width;
1023
+
1024
+ &.e-ie-align {
1025
+ display: table;
1026
+ }
1027
+ }
1028
+
1029
+ .e-popup-down-icon.e-icons,
1030
+ .e-popup-up-icon.e-icons {
1031
+ display: table-cell;
1032
+ text-align: center;
1033
+ vertical-align: middle;
1034
+ width: 100%;
1035
+ }
1036
+
1037
+ .e-toolbar-item {
1038
+
1039
+ .e-tbar-btn.e-btn {
1040
+ line-height: $tbar-btn-nrml-line-height;
1041
+
1042
+ .e-icons.e-btn-icon {
1043
+ line-height: $tbar-btn-icon-nrml-line-height;
1044
+ min-height: $tbar-btn-icon-nrml-height;
1045
+ }
1046
+ }
1047
+ }
1048
+
1049
+ .e-toolbar-items {
1050
+ border-radius: $tbar-radius 0 0 $tbar-radius;
1051
+ display: inline-block;
1052
+ height: 100%;
1053
+ min-height: $tbar-nrml-items-size;
1054
+ vertical-align: middle;
1055
+
1056
+ &.e-toolbar-multirow {
1057
+ margin-bottom: 1px;
1058
+ margin-left: $tbar-multirow-items-mrgn-small;
1059
+ margin-right: $tbar-multirow-items-mrgn-small;
1060
+ white-space: normal;
1061
+
1062
+ .e-toolbar-item:not(.e-separator) {
1063
+ @if $tbar-skin == 'fabric' or $tbar-skin == 'highcontrast' {
1064
+ margin: $tbar-multirow-item-top-btm-mrgn-small;
1065
+ }
1066
+ }
1067
+
1068
+ .e-toolbar-item.e-separator.e-multirow-separator {
1069
+ display: none;
1070
+ }
1071
+
1072
+ .e-toolbar-item.e-separator {
1073
+ display: inline-flex;
1074
+ }
1075
+
1076
+ }
1077
+
1078
+ &.e-multirow-pos {
1079
+
1080
+ .e-toolbar-left,
1081
+ .e-toolbar-center,
1082
+ .e-toolbar-right {
1083
+ display: inline;
1084
+ }
1085
+ }
1086
+
1087
+ &.e-toolbar-multirow:not(.e-tbar-pos) {
1088
+
1089
+ .e-toolbar-item:first-child {
1090
+ margin-left: $tbar-multirow-item-mrgn;
1091
+ }
1092
+
1093
+ .e-toolbar-item:last-child {
1094
+ margin-right: $tbar-multirow-item-mrgn;
1095
+ }
1096
+
1097
+ }
1098
+
1099
+ &.e-tbar-pos {
1100
+ display: block;
1101
+
1102
+ .e-toolbar-left,
1103
+ .e-toolbar-center,
1104
+ .e-toolbar-right {
1105
+ display: table;
1106
+ height: 100%;
1107
+ top: 0;
1108
+ }
1109
+
1110
+ .e-toolbar-right,
1111
+ .e-toolbar-left {
1112
+ position: absolute;
1113
+ }
1114
+
1115
+ .e-toolbar-right {
1116
+ right: 0;
1117
+ }
1118
+
1119
+ .e-toolbar-left {
1120
+ left: 0;
1121
+ line-height: $tbar-left-item-line-height;
1122
+ }
1123
+
1124
+ .e-toolbar-center {
1125
+ margin: 0 auto;
1126
+ }
1127
+ }
1128
+
1129
+ .e-toolbar-left,
1130
+ .e-toolbar-center,
1131
+ .e-toolbar-right {
1132
+ display: inline-block;
1133
+ }
1134
+
1135
+ .e-toolbar-left {
1136
+
1137
+ .e-toolbar-item:first-child {
1138
+ margin-left: $tbar-item-nrml-mrgn;
1139
+ }
1140
+ }
1141
+
1142
+ &:not(.e-tbar-pos) {
1143
+
1144
+ .e-toolbar-item:first-child {
1145
+ margin-left: $tbar-item-nrml-mrgn;
1146
+ }
1147
+
1148
+ .e-toolbar-right {
1149
+
1150
+ .e-toolbar-item:first-child {
1151
+ margin-left: 0;
1152
+ }
1153
+ }
1154
+ }
1155
+
1156
+ &:first-child {
1157
+
1158
+ .e-hscroll-bar:first-child {
1159
+
1160
+ .e-toolbar-left {
1161
+
1162
+ .e-toolbar-item:last-child {
1163
+ margin-right: 0;
1164
+ }
1165
+
1166
+ .e-toolbar-item:first-child {
1167
+ margin-left: $tbar-item-nrml-mrgn;
1168
+ }
1169
+ }
1170
+
1171
+ .e-toolbar-center {
1172
+ .e-toolbar-item:last-child {
1173
+ margin-right: 0;
1174
+ }
1175
+ }
1176
+
1177
+ .e-toolbar-right {
1178
+
1179
+ .e-toolbar-item {
1180
+
1181
+ &:last-child {
1182
+ margin-right: $tbar-item-nrml-mrgn;
1183
+ }
1184
+
1185
+ &:first-child {
1186
+ margin-left: 0;
1187
+ }
1188
+ }
1189
+ }
1190
+
1191
+ .e-toolbar-item:last-child {
1192
+ margin-right: $tbar-item-nrml-mrgn;
1193
+ }
1194
+ }
1195
+
1196
+ > .e-toolbar-item:last-child,
1197
+ > .e-toolbar-right .e-toolbar-item:last-child {
1198
+ margin-right: $tbar-item-nrml-mrgn;
1199
+ }
1200
+ }
1201
+
1202
+ .e-hscroll-bar .e-hscroll-content {
1203
+
1204
+ > .e-toolbar-item:last-child {
1205
+ margin-right: $tbar-item-nrml-mrgn;
1206
+ }
1207
+
1208
+ .e-toolbar-center .e-toolbar-item {
1209
+ margin: 0;
1210
+ }
1211
+
1212
+ .e-toolbar-right .e-toolbar-item:last-child {
1213
+ margin-right: $tbar-item-nrml-mrgn;
1214
+ }
1215
+
1216
+ .e-toolbar-right .e-toolbar-item {
1217
+ margin: 0;
1218
+ }
1219
+ }
1220
+
1221
+ .e-toolbar-item {
1222
+ align-content: center;
1223
+ align-items: center;
1224
+ cursor: pointer;
1225
+ display: inline-flex;
1226
+ min-height: $tbar-nrml-item-size;
1227
+ vertical-align: middle;
1228
+ width: auto;
1229
+
1230
+ &:not(.e-separator) {
1231
+ height: 100%;
1232
+ min-width: $tbar-item-nrml-minwidth;
1233
+ padding: $tbar-item-nrml-padding;
1234
+ }
1235
+
1236
+ &.e-separator {
1237
+ margin: $tbar-separator-nrml-mrgn;
1238
+ min-height: $tbar-separator-nrml-minheight;
1239
+ min-width: 1px;
1240
+ }
1241
+
1242
+ input[type='checkbox'] {
1243
+ height: auto;
1244
+ }
1245
+
1246
+ &.e-popup-text {
1247
+
1248
+ .e-tbar-btn.e-btn {
1249
+
1250
+ &.e-tbtn-txt {
1251
+
1252
+ .e-icons.e-btn-icon {
1253
+ padding: $tbar-zero-value;
1254
+ }
1255
+ }
1256
+ }
1257
+ }
1258
+
1259
+ .e-tbar-btn.e-btn {
1260
+ height: $tbar-btn-nrml-height;
1261
+ margin: $tbar-btn-nrml-mrgn;
1262
+ min-height: $tbar-btn-nrml-minheight;
1263
+ min-width: $tbar-btn-nrml-minwidth;
1264
+ padding: $tbar-btn-nrml-padding;
1265
+
1266
+ @if $tbar-skin == 'bootstrap' {
1267
+ line-height: 27px;
1268
+
1269
+ &:focus {
1270
+ padding: 0 1.5px;
1271
+ }
1272
+
1273
+ &:hover {
1274
+ padding: 0 1.5px;
1275
+ }
1276
+
1277
+ &:active {
1278
+ padding: 0 1.5px;
1279
+ }
1280
+ }
1281
+ @if $tbar-skin == 'bootstrap4' {
1282
+ line-height: 27px;
1283
+
1284
+ &:focus,
1285
+ &:active,
1286
+ &:hover {
1287
+ padding: 0 2px;
1288
+ }
1289
+ }
1290
+
1291
+ @if $tbar-skin == 'highcontrast' {
1292
+ &:focus {
1293
+ outline: none;
1294
+ }
1295
+ }
1296
+
1297
+ @if $tbar-skin == 'fabric' {
1298
+ &:focus {
1299
+ outline: none;
1300
+ }
1301
+ }
1302
+
1303
+ &.e-tbtn-txt {
1304
+
1305
+ .e-icons.e-btn-icon {
1306
+ padding: $tbar-btn-icn-nrml-padding;
1307
+ }
1308
+
1309
+ .e-icons.e-icon-right.e-btn-icon {
1310
+ padding: $tbar-btn-icn-right-nrml-padding;
1311
+ }
1312
+ }
1313
+
1314
+ .e-icons.e-btn-icon {
1315
+ margin: $tbar-zero-value;
1316
+ min-width: $tbar-btn-icon-nrml-width;
1317
+ width: auto;
1318
+ }
1319
+ }
1320
+
1321
+ > * {
1322
+ align-self: center;
1323
+ text-overflow: ellipsis;
1324
+ }
1325
+
1326
+ &.e-separator {
1327
+ height: $tbar-separator-nrml-height;
1328
+ vertical-align: middle;
1329
+
1330
+ + .e-separator {
1331
+ display: none;
1332
+ }
1333
+
1334
+ &:last-of-type,
1335
+ &:first-of-type {
1336
+ display: none;
1337
+ }
1338
+ }
1339
+ }
1340
+ }
1341
+
1342
+ .e-tbar-btn > :first-child {
1343
+ display: inline-block;
1344
+ }
1345
+
1346
+ .e-tbar-btn {
1347
+ border: $tbar-btn-border;
1348
+ cursor: pointer;
1349
+ font-family: $tbar-btn-family;
1350
+ font-size: $tbar-btn-font-size;
1351
+ font-weight: $tbar-btn-weight;
1352
+ overflow: hidden;
1353
+ padding: $tbar-btn-nrml-padding;
1354
+ text-align: center;
1355
+ text-decoration: none;
1356
+ text-transform: none;
1357
+
1358
+ .e-icons.e-btn-icon {
1359
+ font-size: $tbar-btn-font-size;
1360
+ vertical-align: middle;
1361
+ }
1362
+
1363
+ div {
1364
+ vertical-align: middle;
1365
+ }
1366
+
1367
+ .e-tbar-btn-text {
1368
+ display: inline-block;
1369
+ font-family: $tbar-btn-family;
1370
+ font-size: $tbar-btn-txt-font-size;
1371
+ line-height: inherit;
1372
+ vertical-align: middle;
1373
+ width: auto;
1374
+ }
1375
+ }
1376
+
1377
+ &.e-vertical {
1378
+ display: flex;
1379
+ flex-direction: column;
1380
+
1381
+ &.e-rtl.e-tbar-pos {
1382
+
1383
+ .e-toolbar-left {
1384
+ bottom: 0;
1385
+ top: auto;
1386
+ }
1387
+
1388
+ .e-toolbar-right {
1389
+ bottom: auto;
1390
+ top: 0;
1391
+ }
1392
+ }
1393
+
1394
+ .e-toolbar-items {
1395
+
1396
+ &.e-tbar-pos {
1397
+
1398
+ .e-toolbar-left,
1399
+ .e-toolbar-center,
1400
+ .e-toolbar-right {
1401
+ height: auto;
1402
+ }
1403
+
1404
+ .e-toolbar-left {
1405
+ left: auto;
1406
+ right: auto;
1407
+ top: 0;
1408
+ }
1409
+
1410
+ .e-toolbar-right {
1411
+ bottom: 0;
1412
+ left: auto;
1413
+ right: auto;
1414
+ }
1415
+ }
1416
+
1417
+ &:not(.e-tbar-pos) .e-toolbar-item {
1418
+
1419
+ &:first-child {
1420
+ margin-left: 0;
1421
+ }
1422
+
1423
+ &:last-child {
1424
+ margin-right: 0;
1425
+ }
1426
+ }
1427
+
1428
+ .e-toolbar-item {
1429
+ display: flex;
1430
+ height: auto;
1431
+
1432
+ &:not(.e-separator) {
1433
+ min-width: 33px;
1434
+ }
1435
+
1436
+ &.e-separator {
1437
+ height: auto;
1438
+ margin: $tbar-separator-vertical-nrml-mrgn;
1439
+ min-height: auto;
1440
+ }
1441
+
1442
+ .e-tbar-btn.e-btn {
1443
+ margin: $tbar-v-btn-nrml-mrgn;
1444
+ }
1445
+ }
1446
+ }
1447
+
1448
+ .e-hor-nav {
1449
+ bottom: 0;
1450
+ height: auto;
1451
+ left: 0;
1452
+ min-height: 40px;
1453
+ min-width: 50px;
1454
+ right: auto;
1455
+ top: auto;
1456
+ width: auto;
1457
+ }
1458
+ }
1459
+ }
1460
+ }