@syncfusion/ej2-inputs 25.2.6 → 26.1.35

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 (394) hide show
  1. package/.eslintrc.json +3 -2
  2. package/README.md +13 -0
  3. package/dist/ej2-inputs.min.js +2 -2
  4. package/dist/ej2-inputs.umd.min.js +2 -2
  5. package/dist/ej2-inputs.umd.min.js.map +1 -1
  6. package/dist/es6/ej2-inputs.es2015.js +1090 -449
  7. package/dist/es6/ej2-inputs.es2015.js.map +1 -1
  8. package/dist/es6/ej2-inputs.es5.js +1050 -389
  9. package/dist/es6/ej2-inputs.es5.js.map +1 -1
  10. package/dist/global/ej2-inputs.min.js +2 -2
  11. package/dist/global/ej2-inputs.min.js.map +1 -1
  12. package/dist/global/index.d.ts +1 -1
  13. package/otp-input.d.ts +4 -0
  14. package/otp-input.js +4 -0
  15. package/package.json +10 -10
  16. package/src/form-validator/form-validator.d.ts +6 -3
  17. package/src/form-validator/form-validator.js +31 -27
  18. package/src/index.d.ts +1 -0
  19. package/src/index.js +1 -0
  20. package/src/input/input.d.ts +2 -2
  21. package/src/input/input.js +63 -56
  22. package/src/maskedtextbox/base/mask-base.d.ts +1 -1
  23. package/src/maskedtextbox/base/mask-base.js +1 -1
  24. package/src/maskedtextbox/maskedtextbox/maskedtextbox-model.d.ts +2 -2
  25. package/src/maskedtextbox/maskedtextbox/maskedtextbox.d.ts +1 -2
  26. package/src/maskedtextbox/maskedtextbox/maskedtextbox.js +6 -7
  27. package/src/numerictextbox/numerictextbox.d.ts +2 -3
  28. package/src/numerictextbox/numerictextbox.js +14 -18
  29. package/src/otp-input/index.d.ts +5 -0
  30. package/src/otp-input/index.js +4 -0
  31. package/src/otp-input/otp-input-model.d.ts +142 -0
  32. package/src/otp-input/otp-input.d.ts +313 -0
  33. package/src/otp-input/otp-input.js +651 -0
  34. package/src/rating/rating.d.ts +0 -2
  35. package/src/rating/rating.js +4 -4
  36. package/src/slider/slider-model.d.ts +11 -6
  37. package/src/slider/slider.d.ts +21 -8
  38. package/src/slider/slider.js +191 -101
  39. package/src/textarea/textarea-model.d.ts +8 -2
  40. package/src/textarea/textarea.d.ts +9 -4
  41. package/src/textarea/textarea.js +17 -21
  42. package/src/textbox/textbox.d.ts +1 -3
  43. package/src/textbox/textbox.js +15 -11
  44. package/src/uploader/uploader.d.ts +1 -3
  45. package/src/uploader/uploader.js +27 -47
  46. package/styles/bootstrap-dark.css +1041 -1031
  47. package/styles/bootstrap-dark.scss +35 -11
  48. package/styles/bootstrap.css +1040 -1027
  49. package/styles/bootstrap.scss +35 -11
  50. package/styles/bootstrap4.css +1097 -1080
  51. package/styles/bootstrap4.scss +35 -11
  52. package/styles/bootstrap5-dark.css +1236 -1219
  53. package/styles/bootstrap5-dark.scss +35 -11
  54. package/styles/bootstrap5.css +1236 -1219
  55. package/styles/bootstrap5.scss +35 -11
  56. package/styles/color-picker/_bds-definition.scss +11 -1
  57. package/styles/color-picker/_bootstrap-dark-definition.scss +0 -3
  58. package/styles/color-picker/_bootstrap5-definition.scss +0 -1
  59. package/styles/color-picker/_bootstrap5.3-definition.scss +132 -0
  60. package/styles/color-picker/_fabric-dark-definition.scss +0 -3
  61. package/styles/color-picker/_fluent-definition.scss +0 -1
  62. package/styles/color-picker/_fluent2-definition.scss +143 -0
  63. package/styles/color-picker/_fusionnew-definition.scss +0 -1
  64. package/styles/color-picker/_highcontrast-light-definition.scss +0 -3
  65. package/styles/color-picker/_layout.scss +69 -34
  66. package/styles/color-picker/_material-dark-definition.scss +0 -3
  67. package/styles/color-picker/_material3-definition.scss +0 -1
  68. package/styles/color-picker/_tailwind-definition.scss +0 -1
  69. package/styles/color-picker/_theme.scss +13 -2
  70. package/styles/color-picker/bootstrap-dark.css +54 -20
  71. package/styles/color-picker/bootstrap.css +54 -20
  72. package/styles/color-picker/bootstrap4.css +60 -23
  73. package/styles/color-picker/bootstrap5-dark.css +58 -22
  74. package/styles/color-picker/bootstrap5.css +58 -22
  75. package/styles/color-picker/fabric-dark.css +54 -20
  76. package/styles/color-picker/fabric.css +54 -20
  77. package/styles/color-picker/fluent-dark.css +54 -20
  78. package/styles/color-picker/fluent.css +54 -20
  79. package/styles/color-picker/fluent2.css +2025 -0
  80. package/styles/color-picker/fluent2.scss +11 -0
  81. package/styles/color-picker/highcontrast-light.css +54 -20
  82. package/styles/color-picker/highcontrast.css +54 -20
  83. package/styles/color-picker/icons/_bootstrap5.3.scss +9 -0
  84. package/styles/color-picker/icons/_fluent2.scss +9 -0
  85. package/styles/color-picker/material-dark.css +63 -21
  86. package/styles/color-picker/material.css +77 -23
  87. package/styles/color-picker/material3-dark.css +92 -29
  88. package/styles/color-picker/material3.css +92 -29
  89. package/styles/color-picker/tailwind-dark.css +54 -21
  90. package/styles/color-picker/tailwind.css +54 -21
  91. package/styles/data-form/_bootstrap5.3-definition.scss +41 -0
  92. package/styles/data-form/_fluent2-definition.scss +41 -0
  93. package/styles/data-form/_layout.scss +1 -4
  94. package/styles/data-form/_material3-definition.scss +0 -7
  95. package/styles/data-form/bootstrap-dark.css +47 -59
  96. package/styles/data-form/bootstrap.css +47 -59
  97. package/styles/data-form/bootstrap4.css +47 -59
  98. package/styles/data-form/bootstrap5-dark.css +47 -59
  99. package/styles/data-form/bootstrap5.css +47 -59
  100. package/styles/data-form/fabric-dark.css +47 -59
  101. package/styles/data-form/fabric.css +47 -59
  102. package/styles/data-form/fluent-dark.css +47 -59
  103. package/styles/data-form/fluent.css +47 -59
  104. package/styles/data-form/fluent2.css +1266 -0
  105. package/styles/data-form/fluent2.scss +3 -0
  106. package/styles/data-form/highcontrast-light.css +47 -59
  107. package/styles/data-form/highcontrast.css +47 -59
  108. package/styles/data-form/material-dark.css +47 -59
  109. package/styles/data-form/material.css +47 -59
  110. package/styles/data-form/material3-dark.css +48 -60
  111. package/styles/data-form/material3.css +48 -60
  112. package/styles/data-form/tailwind-dark.css +47 -59
  113. package/styles/data-form/tailwind.css +47 -59
  114. package/styles/fabric-dark.css +1015 -988
  115. package/styles/fabric-dark.scss +35 -11
  116. package/styles/fabric.css +1015 -988
  117. package/styles/fabric.scss +35 -11
  118. package/styles/fluent-dark.css +1081 -1044
  119. package/styles/fluent-dark.scss +35 -11
  120. package/styles/fluent.css +1081 -1044
  121. package/styles/fluent.scss +35 -11
  122. package/styles/fluent2.css +13375 -0
  123. package/styles/fluent2.scss +35 -0
  124. package/styles/highcontrast-light.css +1099 -1179
  125. package/styles/highcontrast-light.scss +35 -11
  126. package/styles/highcontrast.css +1096 -1176
  127. package/styles/highcontrast.scss +35 -11
  128. package/styles/input/_bds-definition.scss +2 -2
  129. package/styles/input/_bootstrap5.3-definition.scss +336 -0
  130. package/styles/input/_fluent2-definition.scss +769 -0
  131. package/styles/input/_layout.scss +1242 -1939
  132. package/styles/input/_material-dark-definition.scss +4 -3
  133. package/styles/input/_material-definition.scss +4 -3
  134. package/styles/input/_material3-definition.scss +4 -9
  135. package/styles/input/_theme.scss +929 -1794
  136. package/styles/input/bootstrap-dark.css +489 -773
  137. package/styles/input/bootstrap.css +489 -773
  138. package/styles/input/bootstrap4.css +484 -770
  139. package/styles/input/bootstrap5-dark.css +488 -787
  140. package/styles/input/bootstrap5.css +488 -787
  141. package/styles/input/fabric-dark.css +466 -740
  142. package/styles/input/fabric.css +466 -740
  143. package/styles/input/fluent-dark.css +494 -775
  144. package/styles/input/fluent.css +494 -775
  145. package/styles/input/fluent2.css +10185 -0
  146. package/styles/input/fluent2.scss +4 -0
  147. package/styles/input/highcontrast-light.css +530 -914
  148. package/styles/input/highcontrast.css +530 -914
  149. package/styles/input/icons/_bootstrap5.3.scss +17 -0
  150. package/styles/input/icons/_fluent2.scss +17 -0
  151. package/styles/input/material-dark.css +1883 -2791
  152. package/styles/input/material.css +1895 -2791
  153. package/styles/input/material3-dark.css +1883 -2773
  154. package/styles/input/material3.css +1883 -2773
  155. package/styles/input/tailwind-dark.css +464 -749
  156. package/styles/input/tailwind.css +464 -749
  157. package/styles/maskedtextbox/_bootstrap5.3-definition.scss +7 -0
  158. package/styles/maskedtextbox/_fluent2-definition.scss +7 -0
  159. package/styles/maskedtextbox/_theme.scss +1 -6
  160. package/styles/maskedtextbox/bootstrap-dark.css +1 -4
  161. package/styles/maskedtextbox/bootstrap4.css +1 -4
  162. package/styles/maskedtextbox/bootstrap5-dark.css +1 -4
  163. package/styles/maskedtextbox/bootstrap5.css +1 -4
  164. package/styles/maskedtextbox/fabric-dark.css +1 -4
  165. package/styles/maskedtextbox/fabric.css +1 -4
  166. package/styles/maskedtextbox/fluent2.css +1244 -0
  167. package/styles/maskedtextbox/fluent2.scss +4 -0
  168. package/styles/maskedtextbox/highcontrast-light.css +1 -4
  169. package/styles/maskedtextbox/highcontrast.css +1 -4
  170. package/styles/maskedtextbox/material-dark.css +10 -5
  171. package/styles/maskedtextbox/material.css +24 -7
  172. package/styles/maskedtextbox/material3-dark.css +25 -8
  173. package/styles/maskedtextbox/material3.css +25 -8
  174. package/styles/maskedtextbox/tailwind-dark.css +1 -4
  175. package/styles/maskedtextbox/tailwind.css +1 -4
  176. package/styles/material-dark.css +2497 -3126
  177. package/styles/material-dark.scss +35 -11
  178. package/styles/material.css +2395 -3052
  179. package/styles/material.scss +35 -11
  180. package/styles/material3-dark.css +2656 -3265
  181. package/styles/material3-dark.scss +35 -11
  182. package/styles/material3.css +2656 -3265
  183. package/styles/material3.scss +35 -11
  184. package/styles/numerictextbox/_bootstrap5.3-definition.scss +3 -0
  185. package/styles/numerictextbox/_fluent2-definition.scss +3 -0
  186. package/styles/numerictextbox/bootstrap-dark.css +2 -1
  187. package/styles/numerictextbox/bootstrap.css +2 -1
  188. package/styles/numerictextbox/fluent2.css +1261 -0
  189. package/styles/numerictextbox/fluent2.scss +5 -0
  190. package/styles/numerictextbox/icons/_bootstrap5.3.scss +11 -0
  191. package/styles/numerictextbox/icons/_fluent2.scss +11 -0
  192. package/styles/numerictextbox/material-dark.css +9 -1
  193. package/styles/numerictextbox/material.css +23 -3
  194. package/styles/numerictextbox/material3-dark.css +24 -4
  195. package/styles/numerictextbox/material3.css +24 -4
  196. package/styles/otp-input/_all.scss +2 -0
  197. package/styles/otp-input/_bds-definition.scss +58 -0
  198. package/styles/otp-input/_bootstrap-dark-definition.scss +58 -0
  199. package/styles/otp-input/_bootstrap-definition.scss +58 -0
  200. package/styles/otp-input/_bootstrap4-definition.scss +58 -0
  201. package/styles/otp-input/_bootstrap5-dark-definition.scss +1 -0
  202. package/styles/otp-input/_bootstrap5-definition.scss +58 -0
  203. package/styles/otp-input/_bootstrap5.3-definition.scss +58 -0
  204. package/styles/otp-input/_fabric-dark-definition.scss +58 -0
  205. package/styles/otp-input/_fabric-definition.scss +58 -0
  206. package/styles/otp-input/_fluent-dark-definition.scss +1 -0
  207. package/styles/otp-input/_fluent-definition.scss +58 -0
  208. package/styles/otp-input/_fluent2-definition.scss +58 -0
  209. package/styles/otp-input/_fusionnew-definition.scss +58 -0
  210. package/styles/otp-input/_highcontrast-definition.scss +58 -0
  211. package/styles/otp-input/_highcontrast-light-definition.scss +58 -0
  212. package/styles/otp-input/_layout.scss +158 -0
  213. package/styles/otp-input/_material-dark-definition.scss +58 -0
  214. package/styles/otp-input/_material-definition.scss +58 -0
  215. package/styles/otp-input/_material3-dark-definition.scss +1 -0
  216. package/styles/otp-input/_material3-definition.scss +58 -0
  217. package/styles/otp-input/_tailwind-dark-definition.scss +1 -0
  218. package/styles/otp-input/_tailwind-definition.scss +58 -0
  219. package/styles/otp-input/_theme.scss +67 -0
  220. package/styles/otp-input/bootstrap-dark.css +225 -0
  221. package/styles/otp-input/bootstrap-dark.scss +3 -0
  222. package/styles/otp-input/bootstrap.css +225 -0
  223. package/styles/otp-input/bootstrap.scss +3 -0
  224. package/styles/otp-input/bootstrap4.css +225 -0
  225. package/styles/otp-input/bootstrap4.scss +3 -0
  226. package/styles/otp-input/bootstrap5-dark.css +225 -0
  227. package/styles/otp-input/bootstrap5-dark.scss +3 -0
  228. package/styles/otp-input/bootstrap5.css +225 -0
  229. package/styles/otp-input/bootstrap5.scss +3 -0
  230. package/styles/otp-input/fabric-dark.css +225 -0
  231. package/styles/otp-input/fabric-dark.scss +3 -0
  232. package/styles/otp-input/fabric.css +225 -0
  233. package/styles/otp-input/fabric.scss +3 -0
  234. package/styles/otp-input/fluent-dark.css +225 -0
  235. package/styles/otp-input/fluent-dark.scss +3 -0
  236. package/styles/otp-input/fluent.css +225 -0
  237. package/styles/otp-input/fluent.scss +3 -0
  238. package/styles/otp-input/fluent2.css +1259 -0
  239. package/styles/otp-input/fluent2.scss +3 -0
  240. package/styles/otp-input/highcontrast-light.css +225 -0
  241. package/styles/otp-input/highcontrast-light.scss +3 -0
  242. package/styles/otp-input/highcontrast.css +225 -0
  243. package/styles/otp-input/highcontrast.scss +3 -0
  244. package/styles/otp-input/material-dark.css +225 -0
  245. package/styles/otp-input/material-dark.scss +3 -0
  246. package/styles/otp-input/material.css +225 -0
  247. package/styles/otp-input/material.scss +3 -0
  248. package/styles/otp-input/material3-dark.css +280 -0
  249. package/styles/otp-input/material3-dark.scss +4 -0
  250. package/styles/otp-input/material3.css +336 -0
  251. package/styles/otp-input/material3.scss +4 -0
  252. package/styles/otp-input/tailwind-dark.css +225 -0
  253. package/styles/otp-input/tailwind-dark.scss +3 -0
  254. package/styles/otp-input/tailwind.css +225 -0
  255. package/styles/otp-input/tailwind.scss +3 -0
  256. package/styles/rating/_bds-definition.scss +2 -2
  257. package/styles/rating/_bootstrap-dark-definition.scss +2 -2
  258. package/styles/rating/_bootstrap-definition.scss +2 -2
  259. package/styles/rating/_bootstrap4-definition.scss +2 -2
  260. package/styles/rating/_bootstrap5-definition.scss +2 -2
  261. package/styles/rating/_bootstrap5.3-definition.scss +47 -0
  262. package/styles/rating/_fabric-dark-definition.scss +2 -2
  263. package/styles/rating/_fabric-definition.scss +2 -2
  264. package/styles/rating/_fluent-definition.scss +2 -2
  265. package/styles/rating/_fluent2-definition.scss +47 -0
  266. package/styles/rating/_fusionnew-definition.scss +2 -2
  267. package/styles/rating/_highcontrast-definition.scss +2 -2
  268. package/styles/rating/_highcontrast-light-definition.scss +2 -2
  269. package/styles/rating/_layout.scss +22 -46
  270. package/styles/rating/_material-dark-definition.scss +2 -2
  271. package/styles/rating/_material-definition.scss +2 -2
  272. package/styles/rating/_material3-definition.scss +2 -2
  273. package/styles/rating/_tailwind-definition.scss +2 -2
  274. package/styles/rating/_theme.scss +1 -1
  275. package/styles/rating/bootstrap-dark.css +35 -9
  276. package/styles/rating/bootstrap.css +35 -9
  277. package/styles/rating/bootstrap4.css +35 -9
  278. package/styles/rating/bootstrap5-dark.css +35 -9
  279. package/styles/rating/bootstrap5.css +35 -9
  280. package/styles/rating/fabric-dark.css +35 -9
  281. package/styles/rating/fabric.css +35 -9
  282. package/styles/rating/fluent-dark.css +35 -9
  283. package/styles/rating/fluent.css +35 -9
  284. package/styles/rating/fluent2.css +1349 -0
  285. package/styles/rating/fluent2.scss +4 -0
  286. package/styles/rating/highcontrast-light.css +35 -9
  287. package/styles/rating/highcontrast.css +35 -9
  288. package/styles/rating/material-dark.css +35 -9
  289. package/styles/rating/material.css +35 -9
  290. package/styles/rating/material3-dark.css +35 -10
  291. package/styles/rating/material3.css +35 -10
  292. package/styles/rating/tailwind-dark.css +34 -9
  293. package/styles/rating/tailwind.css +34 -9
  294. package/styles/signature/_bootstrap5.3-definition.scss +3 -0
  295. package/styles/signature/_fluent2-definition.scss +3 -0
  296. package/styles/signature/fluent2.css +1043 -0
  297. package/styles/signature/fluent2.scss +3 -0
  298. package/styles/signature/material3-dark.css +1 -1
  299. package/styles/signature/material3.css +1 -1
  300. package/styles/slider/_bds-definition.scss +1 -0
  301. package/styles/slider/_bootstrap-dark-definition.scss +1 -0
  302. package/styles/slider/_bootstrap-definition.scss +1 -0
  303. package/styles/slider/_bootstrap4-definition.scss +1 -1
  304. package/styles/slider/_bootstrap5-definition.scss +1 -0
  305. package/styles/slider/_bootstrap5.3-definition.scss +91 -0
  306. package/styles/slider/_fluent-definition.scss +2 -0
  307. package/styles/slider/_fluent2-definition.scss +102 -0
  308. package/styles/slider/_highcontrast-definition.scss +1 -2
  309. package/styles/slider/_layout.scss +1623 -1986
  310. package/styles/slider/_material-dark-definition.scss +2 -2
  311. package/styles/slider/_material-definition.scss +4 -4
  312. package/styles/slider/_material3-definition.scss +1 -4
  313. package/styles/slider/_tailwind-definition.scss +1 -0
  314. package/styles/slider/_theme.scss +92 -120
  315. package/styles/slider/bootstrap-dark.css +132 -140
  316. package/styles/slider/bootstrap.css +132 -140
  317. package/styles/slider/bootstrap4.css +192 -193
  318. package/styles/slider/bootstrap5-dark.css +284 -270
  319. package/styles/slider/bootstrap5.css +284 -270
  320. package/styles/slider/fabric-dark.css +131 -131
  321. package/styles/slider/fabric.css +131 -131
  322. package/styles/slider/fluent-dark.css +170 -155
  323. package/styles/slider/fluent.css +170 -155
  324. package/styles/slider/fluent2.css +1642 -0
  325. package/styles/slider/fluent2.scss +5 -0
  326. package/styles/slider/highcontrast-light.css +157 -154
  327. package/styles/slider/highcontrast.css +155 -152
  328. package/styles/slider/material-dark.css +306 -298
  329. package/styles/slider/material.css +304 -296
  330. package/styles/slider/material3-dark.css +577 -535
  331. package/styles/slider/material3.css +577 -535
  332. package/styles/slider/tailwind-dark.css +256 -267
  333. package/styles/slider/tailwind.css +256 -267
  334. package/styles/tailwind-dark.css +1203 -1201
  335. package/styles/tailwind-dark.scss +35 -11
  336. package/styles/tailwind.css +1205 -1203
  337. package/styles/tailwind.scss +35 -11
  338. package/styles/textarea/_bootstrap5.3-definition.scss +1 -0
  339. package/styles/textarea/_fluent2-definition.scss +1 -0
  340. package/styles/textarea/_layout.scss +1 -1
  341. package/styles/textarea/bootstrap-dark.css +3 -2
  342. package/styles/textarea/bootstrap.css +3 -2
  343. package/styles/textarea/bootstrap4.css +3 -2
  344. package/styles/textarea/bootstrap5-dark.css +3 -2
  345. package/styles/textarea/bootstrap5.css +3 -2
  346. package/styles/textarea/fabric-dark.css +3 -2
  347. package/styles/textarea/fabric.css +3 -2
  348. package/styles/textarea/fluent-dark.css +3 -2
  349. package/styles/textarea/fluent.css +3 -2
  350. package/styles/textarea/fluent2.css +1247 -0
  351. package/styles/textarea/fluent2.scss +5 -0
  352. package/styles/textarea/highcontrast-light.css +3 -2
  353. package/styles/textarea/highcontrast.css +3 -2
  354. package/styles/textarea/material-dark.css +12 -3
  355. package/styles/textarea/material.css +26 -5
  356. package/styles/textarea/material3-dark.css +27 -6
  357. package/styles/textarea/material3.css +27 -6
  358. package/styles/textarea/tailwind-dark.css +3 -2
  359. package/styles/textarea/tailwind.css +3 -2
  360. package/styles/textbox/_bootstrap5.3-definition.scss +4 -0
  361. package/styles/textbox/_fluent2-definition.scss +4 -0
  362. package/styles/textbox/fluent2.css +1241 -0
  363. package/styles/textbox/fluent2.scss +4 -0
  364. package/styles/textbox/material-dark.css +9 -1
  365. package/styles/textbox/material.css +23 -3
  366. package/styles/textbox/material3-dark.css +24 -4
  367. package/styles/textbox/material3.css +24 -4
  368. package/styles/uploader/_bootstrap5.3-definition.scss +216 -0
  369. package/styles/uploader/_fluent2-definition.scss +232 -0
  370. package/styles/uploader/_layout.scss +5 -2
  371. package/styles/uploader/_material3-definition.scss +0 -24
  372. package/styles/uploader/_theme.scss +7 -4
  373. package/styles/uploader/bootstrap-dark.css +47 -12
  374. package/styles/uploader/bootstrap.css +47 -12
  375. package/styles/uploader/bootstrap4.css +47 -12
  376. package/styles/uploader/bootstrap5-dark.css +47 -12
  377. package/styles/uploader/bootstrap5.css +47 -12
  378. package/styles/uploader/fabric-dark.css +47 -12
  379. package/styles/uploader/fabric.css +47 -12
  380. package/styles/uploader/fluent-dark.css +47 -12
  381. package/styles/uploader/fluent.css +47 -12
  382. package/styles/uploader/fluent2.css +1880 -0
  383. package/styles/uploader/fluent2.scss +6 -0
  384. package/styles/uploader/highcontrast-light.css +47 -12
  385. package/styles/uploader/highcontrast.css +47 -12
  386. package/styles/uploader/icons/_bootstrap5.3.scss +34 -0
  387. package/styles/uploader/icons/_fluent2.scss +34 -0
  388. package/styles/uploader/material-dark.css +47 -12
  389. package/styles/uploader/material.css +47 -12
  390. package/styles/uploader/material3-dark.css +49 -13
  391. package/styles/uploader/material3.css +49 -13
  392. package/styles/uploader/tailwind-dark.css +49 -13
  393. package/styles/uploader/tailwind.css +49 -13
  394. package/CHANGELOG.md +0 -1313
@@ -1,2471 +1,2119 @@
1
- @include export-module('slider-layout') {
2
- /* stylelint-disable property-no-vendor-prefix */
3
- // sass-lint:disable no-important
4
-
5
- .e-control-wrapper.e-slider-container.e-material-slider .e-slider .e-handle {
6
- &.e-material-handle {
7
- cursor: default;
8
- transition: transform .4s cubic-bezier(.25, .8, .25, 1);
9
- z-index: 3;
10
- }
1
+ @mixin position($position, $top, $left) {
2
+ position: $position;
3
+ top: $top;
4
+ left: $left;
5
+ }
11
6
 
12
- &.e-tab-handle {
13
- &::after {
14
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
15
- background-color: transparent;
16
- }
17
- }
18
- }
7
+ @mixin size($height, $width) {
8
+ height: $height;
9
+ width: $width;
10
+ }
19
11
 
20
- &.e-handle-start.e-tab-handle {
21
- &::after {
22
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
23
- background-color: transparent;
24
- }
25
- }
26
- }
12
+ @mixin tick-position($position) {
13
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
14
+ background-position-x: $position;
27
15
  }
16
+ @else {
17
+ background-position: $position center;
18
+ }
19
+ }
28
20
 
29
- .e-slider-tooltip.e-tooltip-wrap.e-popup {
30
- @if ($skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'Material3' or $skin-name == 'Material3-dark') {
31
- background-color: $slider-handle-bg-color;
32
- border: 0;
33
- border-radius: 8px;
34
- /* stylelint-disable */
35
- cursor: -webkit-grab;
36
- cursor: grab;
37
- /* stylelint-enable */
38
- opacity: 1;
39
-
40
- &.e-popup.e-popup-close {
41
- display: block;
42
- opacity: 0;
43
- }
21
+ @mixin tick-background-position($position) {
22
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
23
+ background-position: $position center;
24
+ }
25
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
26
+ background-position-x: $position;
27
+ }
28
+ }
44
29
 
45
- &.e-material-tooltip-start {
46
- background-color: $slider-handle-border-color;
30
+ @mixin alignment($size, $pos, $type) {
31
+ @if $type == 'horizontal' {
32
+ height: $size;
33
+ top: $pos;
34
+ }
35
+ @else {
36
+ width: $size;
37
+ left: $pos;
38
+ }
39
+ }
47
40
 
48
- @if $skin-name != 'Material3' and $skin-name != 'Material3-dark' {
49
- .e-arrow-tip-inner {
50
- color: $grey-black;
51
- opacity: 0;
52
- }
53
- }
41
+ @mixin handle-transform($ms-transform, $transform) {
42
+ /* stylelint-disable */
43
+ -ms-transform: $ms-transform;
44
+ -webkit-transform: $ms-transform;
45
+ transform: $transform;
46
+ /* stylelint-enable */
47
+ }
54
48
 
55
- .e-arrow-tip-outer.e-tip-bottom {
56
- border-top-color: $slider-handle-border-color;
57
- }
49
+ @mixin cursor-grabbing {
50
+ /* stylelint-disable */
51
+ cursor: -webkit-grabbing;
52
+ cursor: grabbing;
53
+ /* stylelint-enable */
54
+ }
58
55
 
59
- .e-arrow-tip-outer.e-tip-top {
60
- border-bottom-color: $slider-handle-border-color;
61
- }
56
+ @mixin cursor-grab {
57
+ /* stylelint-disable */
58
+ cursor: -webkit-grab;
59
+ cursor: grab;
60
+ /* stylelint-enable */
61
+ }
62
62
 
63
- .e-arrow-tip-outer.e-tip-right {
64
- border-left-color: $slider-handle-border-color;
65
- }
63
+ @mixin button-style($bg-image, $size, $top, $left) {
64
+ .e-button-icon {
65
+ background-image: $bg-image;
66
+ background-repeat: no-repeat;
67
+ background-size: cover;
68
+ display: inline-block;
69
+ @include size($size, $size);
70
+ @include position(absolute, $top, $left);
71
+ }
72
+ }
66
73
 
67
- .e-arrow-tip-outer.e-tip-left {
68
- border-right-color: $slider-handle-border-color;
69
- }
70
- }
74
+ @mixin button-position($left, $right, $margin-top, $top) {
75
+ left: $left;
76
+ right: $right;
77
+ margin-top: $margin-top;
78
+ top: $top;
79
+ }
71
80
 
72
- &.e-tooltip-active {
73
- /* stylelint-disable */
74
- cursor: -webkit-grabbing;
75
- cursor: grabbing;
76
- /* stylelint-enable */
77
- }
81
+ @mixin v-button-position($top, $bottom, $margin-right, $right) {
82
+ top: $top;
83
+ bottom: $bottom;
84
+ margin-right: $margin-right;
85
+ right: $right;
86
+ }
78
87
 
79
- .e-arrow-tip {
80
- visibility: visible;
81
- }
88
+ @mixin button-icon($color, $content, $font-size) {
89
+ .e-button-icon {
90
+ font-family: 'e-icons';
82
91
 
83
- .e-tip-content {
84
- background-color: transparent;
85
- height: 16px;
86
- overflow: hidden;
87
- padding: 0 8px;
88
- @if $skin-name != 'Material3' and $skin-name != 'Material3-dark' {
89
- text-align: center;
90
- }
91
- @if $skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'Material3' or $skin-name == 'Material3-dark' {
92
- top: calc(50% - 8px);
93
- position: relative;
94
- line-height: 16px;
95
- }
96
- @else {
97
- top: calc(50% - 10px);
98
- left: calc(50% - 36px);
99
- }
100
- width: 100%;
92
+ &::before {
93
+ color: $color;
94
+ content: $content;
95
+ font-size: $font-size;
96
+ }
97
+ }
98
+ }
101
99
 
102
- &.e-material-tooltip-show {
103
- color: $slider-material-tooltip-content-color;
104
- }
100
+ @mixin bg-border($bg-color, $border) {
101
+ background-color: $bg-color;
102
+ border-color: $border;
103
+ }
105
104
 
106
- &.e-material-tooltip-hide {
107
- color: transparent;
108
- }
109
- }
105
+ @mixin slider-transform($rotation) {
106
+ transform: rotate($rotation);
107
+ .e-tip-content {
108
+ transform: rotate(-$rotation);
109
+ }
110
+ }
110
111
 
111
- .e-arrow-tip-inner {
112
- color: $slider-handle-bg-color;
113
- }
112
+ @include export-module('slider-layout') {
113
+ /* stylelint-disable property-no-vendor-prefix */
114
114
 
115
- .e-arrow-tip-outer.e-tip-bottom {
116
- border-top-color: $slider-handle-bg-color;
117
- }
115
+ .e-control-wrapper.e-slider-container {
116
+ -moz-user-select: none;
117
+ -ms-user-select: none;
118
+ -webkit-tap-highlight-color: transparent;
119
+ -webkit-touch-callout: none;
120
+ -webkit-user-select: none;
121
+ box-sizing: border-box;
122
+ display: inline-block;
123
+ height: $slider-wrap-height;
124
+ line-height: normal;
125
+ outline: none;
126
+ position: relative;
127
+ user-select: none;
118
128
 
119
- .e-arrow-tip-outer.e-tip-top {
120
- border-bottom-color: $slider-handle-bg-color;
129
+ &.e-material-slider .e-slider .e-handle {
130
+ &.e-material-handle {
131
+ cursor: default;
132
+ transition: transform .4s cubic-bezier(.25, .8, .25, 1);
133
+ z-index: 3;
121
134
  }
122
-
123
- .e-arrow-tip-outer.e-tip-right {
124
- border-left-color: $slider-handle-bg-color;
135
+
136
+ &.e-tab-handle,
137
+ &.e-handle-start.e-tab-handle {
138
+ &::after {
139
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
140
+ background-color: transparent;
141
+ }
142
+ }
125
143
  }
144
+ }
126
145
 
127
- .e-arrow-tip-outer.e-tip-left {
128
- border-right-color: $slider-handle-bg-color;
146
+ &:hover,
147
+ &:active {
148
+ .e-scale .e-tick {
149
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
150
+ visibility: visible;
151
+ }
129
152
  }
153
+ }
130
154
 
131
- &.e-tooltip-wrap.e-popup.e-material-default {
132
- background-color: $slider-handle-bg-color;
133
- border: 0;
134
- border-bottom-left-radius: 50%;
135
- border-bottom-right-radius: 0%;
136
- border-top-left-radius: 50%;
137
- border-top-right-radius: 50%;
138
- /* stylelint-disable */
139
- cursor: -webkit-grab;
140
- cursor: grab;
141
- /* stylelint-enable */
142
- opacity: 1;
155
+ &::after {
156
+ content: $skin-name;
157
+ display: none;
158
+ }
143
159
 
144
- &.e-material-tooltip-start {
145
- background-color: $slider-handle-border-color;
146
- }
160
+ .e-slider {
161
+ box-sizing: border-box;
162
+ cursor: $slider-cursor;
163
+ display: block;
164
+ outline: 0 none;
165
+ padding: 0;
166
+ position: relative;
147
167
 
148
- &.e-tooltip-active {
149
- /* stylelint-disable */
150
- cursor: -webkit-grabbing;
151
- cursor: grabbing;
152
- /* stylelint-enable */
168
+ .e-handle {
169
+ border-radius: $slider-border-radius-handle;
170
+ @if ($skin-name == 'tailwind' or $skin-name == 'fluent2') {
171
+ box-shadow: $slider-handle-box-shadow;
153
172
  }
173
+ box-sizing: border-box;
174
+ cursor: $slider-handle-hover-cursor;
175
+ @include size($slider-handle-height, $slider-handle-width);
176
+ outline: none;
177
+ position: absolute;
178
+ touch-action: none;
179
+ transition: left 300ms ease-out, right 300ms ease-out, bottom 300ms ease-out, transform 300ms ease-out;
180
+ z-index: 10;
154
181
 
155
- .e-arrow-tip {
156
- visibility: hidden;
182
+ &.e-large-thumb-size {
183
+ transform: scale(1.5);
157
184
  }
158
185
 
159
- &.e-slider-horizontal-before {
160
- transform: rotate(45deg);
161
- .e-tip-content {
162
- transform: rotate(-45deg);
186
+ &.e-handle-active {
187
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
188
+ @include bg-border($slider-active-handle-bg-color, $slider-hover-handle-color);
163
189
  }
164
- }
165
-
166
- &.e-slider-horizontal-after {
167
- transform: rotate(225deg);
168
- .e-tip-content {
169
- transform: rotate(-225deg);
190
+ @else if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4') {
191
+ @include bg-border($slider-handle-active-bg-color, $slider-handle-active-border-color);
192
+ }
193
+ @if ($skin-name == 'bootstrap4') {
194
+ box-shadow: $slider-handle-active-box-shadow;
195
+ }
196
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
197
+ @include cursor-grabbing;
170
198
  }
171
199
  }
172
200
 
173
- &.e-slider-vertical-before {
174
- transform: rotate(-45deg);
175
- .e-tip-content {
176
- transform: rotate(45deg);
201
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
202
+ @include cursor-grab;
203
+
204
+ &.e-handle-start {
205
+ background-color: $slider-handle-start-background;
206
+ border: $slider-start-handle-border-size;
177
207
  }
178
- }
179
208
 
180
- &.e-slider-vertical-after {
181
- transform: rotate(-225deg);
182
- .e-tip-content {
183
- transform: rotate(225deg);
209
+ &::after {
210
+ -moz-box-sizing: content-box;
211
+ -webkit-box-sizing: content-box;
212
+ @include handle-transform(scale(0), scale(0));
213
+ border: 0 solid;
214
+ border-radius: 50%;
215
+ box-sizing: content-box;
216
+ content: '';
217
+ filter: alpha(opacity=26);
218
+ @include size(32px, 32px);
219
+ @include position($slider-handle-after-position, calc(50% - 16px), calc(50% - 16px));
220
+ opacity: .26;
221
+ transition: transform .4s cubic-bezier(.25, .8, .25, 1);
222
+ z-index: -1;
184
223
  }
185
224
  }
186
225
 
187
- .e-tip-content {
188
- background-color: transparent;
189
- height: 16px;
190
- overflow: hidden;
191
- padding: 0;
192
- text-align: center;
193
- @if $skin-name == 'material' or $skin-name == 'material-dark' {
194
- top: calc(50% - 8px);
195
- }
196
- @else {
197
- top: calc(50% - 10px);
198
- left: calc(50% - 16px);
226
+ &.e-tab-handle {
227
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
228
+ &.e-handle-start::after {
229
+ background-color: $slider-tab-background;
230
+ opacity: .38;
231
+ }
232
+
233
+ &::after {
234
+ @include handle-transform(scale(1), scale(1));
235
+ background-color: $slider-color;
236
+ }
199
237
  }
200
- width: 100%;
201
238
 
202
- &.e-material-tooltip-show {
203
- color: $slider-material-tooltip-content-color;
239
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'FluentUI') {
240
+ border-color: $slider-tab-border-color;
204
241
  }
205
242
 
206
- &.e-material-tooltip-hide {
207
- color: transparent;
243
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4') {
244
+ @include bg-border($slider-tab-background, $slider-tab-border-color);
245
+ box-shadow: $slider-tab-active-box-shadow;
246
+ }
247
+ @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
248
+ @if $skin-name == 'Material3' {
249
+ background: $slider-tab-background;
250
+ }
251
+ @else {
252
+ background-color: $slider-tab-background;
253
+ border: $slider-tab-border;
254
+ }
255
+ box-shadow: $slider-tab-active-box-shadow;
208
256
  }
209
257
  }
210
258
  }
211
- }
212
- @else {
213
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
214
- background-color: $slider-active-handle-bg-color;
215
- border: 1px solid $slider-hover-handle-color;
216
- }
217
-
218
- .e-tip-content {
219
- padding: $slider-tooltip-padding;
220
- text-align: center;
221
259
 
222
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
223
- color: $slider-button-icon-color;
260
+ .e-tab-track {
261
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
262
+ background-color: $slider-tab-track-color;
224
263
  }
225
264
  }
226
265
  }
227
- }
228
266
 
229
- .e-slider-horizantal-color {
230
- height: 100%;
231
- position: absolute;
232
- top: 0;
233
- }
267
+ &.e-rtl {
268
+ &.e-horizontal {
269
+ .e-slider {
270
+ .e-handle {
271
+ margin: $rtl-slider-h-handle-margin;
272
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4' or $skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
273
+ top: calc(50% - 8px);
274
+ }
275
+ @else if ($skin-name == 'material' or $skin-name == 'material-dark') {
276
+ top: calc(50% - 6px);
277
+ }
278
+ }
279
+ }
234
280
 
235
- .e-slider-vertical-color {
236
- left: -1px;
237
- position: absolute;
238
- width: 100%;
239
- }
281
+ .e-scale {
282
+ &.e-h-scale {
283
+ .e-tick.e-first-tick {
284
+ @include tick-position(right);
285
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
286
+ left: 0;
287
+ }
288
+ }
240
289
 
241
- .e-bigger {
242
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
243
- .e-slider-tooltip.e-tooltip-wrap.e-popup {
244
- .e-tip-content {
245
- padding: $slider-tooltip-padding;
290
+ .e-tick.e-last-tick {
291
+ @include tick-position(left);
292
+ }
293
+ }
246
294
  }
247
- }
248
295
 
249
- &.e-slider-tooltip.e-tooltip-wrap.e-popup {
250
- .e-tip-content {
251
- padding: $slider-tooltip-padding;
252
- }
253
- }
254
- }
255
- @else {
256
- &.e-slider-tooltip.e-tooltip-wrap.e-popup {
257
- .e-tip-content {
258
- font-size: 11px;
259
- line-height: 16px;
296
+ .e-slider-button {
297
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'FluentUI') {
298
+ margin-top: -8px;
299
+ }
300
+ @else if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4') {
301
+ margin-top: -7px;
302
+ }
303
+ @else if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
304
+ margin-top: -13px;
305
+
306
+ .e-button-icon::before {
307
+ font-size: 18px;
308
+ }
309
+ }
260
310
  }
261
311
  }
262
312
 
263
- .e-slider-tooltip.e-tooltip-wrap.e-popup {
264
- .e-tip-content {
265
- font-size: 11px;
266
- line-height: 16px;
267
- }
313
+ &.e-vertical {
314
+ direction: ltr;
268
315
  }
269
316
  }
270
- }
271
317
 
272
- .e-bigger .e-control-wrapper.e-slider-container,
273
- .e-control-wrapper.e-slider-container.e-bigger {
274
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
275
- .e-slider {
276
- .e-handle {
277
- height: $slider-handle-mobile-height;
278
- width: $slider-handle-mobile-width;
279
- }
318
+ &.e-disabled {
319
+ @if ($skin-name == 'tailwind') {
320
+ filter: alpha(Opacity=100);
321
+ opacity: 1;
322
+ }
323
+ @if ($skin-name == 'bootstrap5') {
324
+ opacity: .5;
280
325
  }
326
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
327
+ &.e-material-slider .e-slider .e-handle.e-handle-first {
328
+ background-color: $grey-600;
329
+ }
281
330
 
282
- @if ($skin-name == 'FluentUI') {
283
- .e-slider-button {
284
- height: 20px;
285
- width: 20px;
331
+ &:hover {
332
+ .e-scale .e-tick {
333
+ visibility: hidden;
334
+ }
286
335
  }
287
336
 
288
- &.e-horizontal {
289
- .e-first-button,
290
- .e-second-button {
291
- margin-top: $slider-touch-btn-center-align;
337
+ .e-slider {
338
+ .e-range {
339
+ background: $slider-disabled-bg-color;
340
+ }
292
341
 
293
- .e-button-icon::before {
294
- font-size: 17px;
342
+ .e-handle {
343
+ background: $grey-600;
344
+ transform: scale(.5) !important;/* stylelint-disable-line declaration-no-important */
345
+
346
+ &.e-handle-first {
347
+ background-color: $grey-600;
348
+ border: 0;
349
+ }
350
+
351
+ &::after {
352
+ @include handle-transform(scale(0), scale(1));
353
+ background: transparent;
354
+ border: 7px solid $slider-material-tooltip-content-color;
355
+ border-radius: 50%;
356
+ box-sizing: border-box;
357
+ content: '';
358
+ @include size(26px, 26px);
359
+ @include position(absolute, calc(50% - 13px), calc(50% - 13px));
360
+ opacity: 1;
361
+ transition: none;
362
+ z-index: -1;
295
363
  }
296
364
  }
297
365
  }
366
+ }
298
367
 
299
- &.e-vertical {
300
- .e-first-button,
301
- .e-second-button {
302
- margin-right: $slider-touch-btn-center-align;
368
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
369
+ .e-slider {
370
+ .e-range {
371
+ background: $slider-disabled-bg-color;
372
+ }
303
373
 
304
- .e-button-icon::before {
305
- font-size: 17px;
306
- }
374
+ .e-handle {
375
+ border-color: $slider-disabled-bg-color;
307
376
  }
308
377
  }
309
378
  }
310
379
 
311
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
312
- .e-slider-button {
313
- height: 18px;
314
- width: 18px;
315
- }
380
+ .e-btn {
381
+ cursor: default;
382
+ }
316
383
 
317
- &.e-vertical {
318
- &.e-slider-btn {
319
- @if ($skin-name == 'bootstrap5') {
320
- padding: 36px 0;
321
- }
322
- @else {
323
- padding: 34px 0;
324
- }
384
+ .e-slider {
385
+ .e-handle {
386
+ cursor: default;
387
+
388
+ &.e-handle-disable {
389
+ display: $slider-disabled-handle-show;
325
390
  }
391
+ }
392
+ }
326
393
 
327
- .e-first-button,
328
- .e-second-button {
329
- @if ($skin-name == 'bootstrap5' or $skin-name == 'Material3') {
330
- margin-right: -12px;
331
- }
332
- @else {
333
- margin-right: -9px;
334
- }
394
+ @if ($skin-name == 'bootstrap4') {
395
+ .e-slider {
396
+ .e-range {
397
+ background-color: $slider-disabled-range-color;
335
398
  }
336
399
 
337
- .e-slider {
338
- .e-slider-track {
339
- left: calc(50% - 4px);
340
- width: 8px;
341
- }
400
+ .e-handle {
401
+ @include bg-border($slider-disabled-handle-color, $slider-disabled-handle-color);
402
+ }
342
403
 
343
- .e-range {
344
- left: calc(50% - 4px);
345
- width: 8px;
346
- }
404
+ .e-slider-track {
405
+ background-color: $slider-disabled-track-color;
347
406
  }
348
407
  }
349
408
 
350
- &.e-horizontal .e-slider {
351
- .e-limits {
352
- height: 8px;
353
- top: calc(50% - 4px);
354
- @if ($skin-name == 'bootstrap5' and $skin-name == 'FluentUI') {
355
- border-radius: $slider-range-border-radius;
356
- }
409
+ .e-scale .e-tick {
410
+ .e-tick-value {
411
+ color: $slider-button-bg-color;
357
412
  }
358
413
  }
359
414
 
360
- &.e-vertical .e-slider {
361
- .e-limits {
362
- left: calc(50% - 4px);
363
- width: 8px;
364
- @if ($skin-name == 'bootstrap5' and $skin-name == 'FluentUI') {
365
- border-radius: $slider-range-border-radius;
366
- }
367
- }
415
+ .e-slider-button {
416
+ @include bg-border($slider-disabled-bg-color, $white);
368
417
  }
369
418
  }
419
+ }
370
420
 
371
- @if ($skin-name == 'bootstrap5' or $skin-name == 'Material3') {
372
-
373
- &.e-horizontal,
374
- &.e-vertical {
375
- .e-slider-button.e-first-button,
376
- .e-slider-button.e-second-button {
377
- border-radius: 12px;
378
- height: 24px;
379
- width: 24px;
380
- @if $skin-name == 'Material3' {
381
- padding: 0;
382
- }
421
+ @if ($skin-name == 'bootstrap4') {
422
+ &:not(.e-disabled) {
423
+ .e-slider-button {
424
+ &:hover {
425
+ @include bg-border(darken($gray-600, 7.5%), darken($gray-600, 10%));
426
+ }
383
427
 
384
- .e-button-icon::before {
385
- font-size: 22px;
386
- }
428
+ &:active {
429
+ @include bg-border(darken($gray-600, 10%), darken($gray-600, 12%));
387
430
  }
388
431
  }
432
+ }
433
+ }
389
434
 
390
- &.e-horizontal {
391
-
392
- .e-slider-button.e-first-button,
393
- .e-slider-button.e-second-button {
394
- margin-top: -12px;
395
- }
435
+ &.e-horizontal {
436
+ @include size(48px, 100%);
437
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
438
+ .e-first-button {
439
+ @include button-position(0, null, $slider-btn-center-align, 50%);
440
+ @include button-style($slider-button-hleft-bg-image, 7px, calc(50% - 3.6px), calc(50% - 4.6px));
441
+ }
396
442
 
397
- .e-tick-both {
398
- &.e-scale {
399
- &.e-h-scale {
400
- .e-tick {
401
- height: 24px;
402
- top: -14px;
403
- }
443
+ .e-second-button {
444
+ @include button-position(null, 0, $slider-btn-center-align, 50%);
445
+ @include button-style($slider-button-hright-bg-image, 7px, calc(50% - 3.6px), calc(50% - 2.6px));
446
+ }
447
+ }
448
+ @else if ($skin-name != 'highcontrast' and $skin-name != 'highcontrast-light') {
449
+ .e-first-button {
450
+ @include button-position(0, null, $slider-btn-center-align, 50%);
404
451
 
405
- .e-large {
406
- height: 32px;
407
- top: -10px;
408
- }
409
- }
410
- }
452
+ @if ($skin-name != 'tailwind' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $skin-name != 'Material3' and $skin-name != 'fluent2') {
453
+ @include button-style($slider-button-hleft-bg-image, 8px, calc(50% - 4px), calc(50% - 5px));
411
454
  }
412
-
413
- .e-tick-before {
414
- &.e-scale {
415
- &.e-h-scale {
416
- .e-tick {
417
- height: $tick-after-mobile-height;
418
- top: $tick-before-mobile-top;
419
- }
420
-
421
- .e-large {
422
- height: $largetick-before-mobile-height;
423
- top: $tick-before-mobile-top;
424
- }
425
- }
455
+ @else if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
456
+ @include button-icon($slider-button-icon-bg-color,'\e738', 17px);
457
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
458
+ @include button-icon($slider-button-icon-bg-color,'\e738', 14px);
459
+ }
460
+ @else if ($skin-name == 'Material3') {
461
+ @include button-icon($slider-button-icon-bg-color,'\e738', 16px);
426
462
  }
427
463
  }
428
-
429
- .e-tick-after {
430
- &.e-scale {
431
- &.e-h-scale {
432
- .e-tick {
433
- height: $tick-after-mobile-height;
434
- top: $tick-after-mobile-top;
435
- }
436
-
437
- .e-large {
438
- height: $largetick-before-mobile-height;
439
- top: $largetick-after-mobile-top;
440
- }
464
+ @else {
465
+ .e-button-icon::before {
466
+ font-size: 17px;
467
+ @if ($skin-name == 'tailwind') {
468
+ color: $slider-button-icon-bg-color;
469
+ content: '\e765';
470
+ }
471
+ @else {
472
+ content: '\e761';
441
473
  }
442
474
  }
443
475
  }
444
476
  }
445
477
 
446
- &.e-vertical {
478
+ .e-second-button {
479
+ @include button-position(null, 0, $slider-btn-center-align, 50%);
447
480
 
448
- .e-tick-both {
449
- &.e-scale {
450
- .e-tick {
451
- left: 2px;
452
- width: 24px;
453
- }
454
-
455
- .e-large {
456
- left: -2px;
457
- width: 32px;
458
- }
459
- }
481
+ @if ($skin-name != 'tailwind' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $skin-name != 'Material3' and $skin-name != 'fluent2') {
482
+ @include button-style($slider-button-hright-bg-image, 8px, calc(50% - 4px), calc(50% - 3px));
460
483
  }
461
-
462
- .e-tick-before {
463
-
464
- &.e-scale {
465
- &.e-v-scale {
466
- .e-tick {
467
- left: $tick-before-mobile-left;
468
- width: $tick-after-mobile-height;
469
- }
470
-
471
- .e-large {
472
- left: $largetick-before-mobile-left;
473
- width: $largetick-before-mobile-height;
474
- }
475
- }
484
+ @else if($skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
485
+ @include button-icon($slider-button-icon-bg-color, '\e75c', 17px);
486
+ @if ($skin-name == 'FluentUI' or $skin-name == 'fluent2') {
487
+ @include button-icon($slider-button-icon-bg-color, '\e75c', 14px);
488
+ }
489
+ @else if ($skin-name == 'Material3') {
490
+ @include button-icon($slider-button-icon-bg-color, '\e75c', 16px);
476
491
  }
477
492
  }
478
-
479
- .e-tick-after {
480
-
481
- &.e-scale {
482
- &.e-v-scale {
483
- .e-tick {
484
- left: $tick-after-mobile-left;
485
- width: $tick-after-mobile-height;
486
- }
487
-
488
- .e-large {
489
- left: $tick-after-mobile-left;
490
- width: $largetick-before-mobile-height;
491
- }
493
+ @else {
494
+ .e-button-icon::before {
495
+ font-size: 18px;
496
+ @if ($skin-name == 'tailwind') {
497
+ color: $slider-button-icon-bg-color;
498
+ content: '\e748';
499
+ }
500
+ @else {
501
+ content: '\e707';
492
502
  }
493
503
  }
494
504
  }
495
505
  }
496
506
  }
497
-
498
- @if ($skin-name == 'tailwind') {
499
- .e-scale.e-h-scale {
500
- &.e-tick-after {
501
- top: 7px;
507
+ @else {
508
+ .e-first-button {
509
+ @include button-position(0, null, $slider-btn-center-align, 50%);
510
+ @include button-icon($slider-button-icon-color, '\e829', 8px);
511
+ .e-button-icon::before {
512
+ font-weight: 600;
513
+ @include position(absolute, calc(50% - 4px), calc(50% - 5px));
502
514
  }
503
515
  }
504
516
 
505
- &.e-horizontal,
506
- &.e-vertical {
507
- .e-slider-button.e-first-button,
508
- .e-slider-button.e-second-button {
509
- border-radius: 12px;
510
- height: 24px;
511
- width: 24px;
512
-
513
- .e-button-icon::before {
514
- font-size: 22px;
515
- }
517
+ .e-second-button {
518
+ @include button-position(null, 0, $slider-btn-center-align, 50%);
519
+ @include button-icon($slider-button-icon-color, '\e830', 8px);
520
+ .e-button-icon::before {
521
+ font-weight: 600;
522
+ @include position(absolute, calc(50% - 4px), calc(50% - 3px));
516
523
  }
517
524
  }
525
+ }
518
526
 
519
- &.e-horizontal {
520
-
521
- &.e-scale-both {
522
- .e-range {
523
- height: 6px;
524
- }
525
- }
526
-
527
- .e-slider-track {
528
- border-radius: 6px;
529
- }
530
-
531
- .e-limits {
532
- height: 6px;
533
- }
534
-
535
- .e-first-button,
536
- .e-second-button {
537
- margin-top: -14px;
538
- }
539
-
540
- .e-tick-both {
541
- &.e-scale {
542
- &.e-h-scale {
543
- .e-tick {
544
- height: 22px;
545
- top: -19px;
546
- }
547
-
548
- .e-large {
549
- height: 30px;
550
- top: -16px;
551
- }
552
- }
553
- }
554
- }
555
-
556
- .e-tick-before {
557
- &.e-scale {
558
- &.e-h-scale {
559
- .e-tick {
560
- height: $tick-after-mobile-height;
561
- }
562
-
563
- .e-large {
564
- height: $largetick-before-mobile-height;
565
- }
566
- }
567
- }
568
- }
569
-
570
- .e-tick-after {
571
- &.e-scale {
572
- &.e-h-scale {
573
- .e-tick {
574
- height: $tick-after-mobile-height;
575
- }
576
-
577
- .e-large {
578
- height: $largetick-before-mobile-height;
579
- }
580
- }
581
- }
582
- }
527
+ &.e-slider-btn {
528
+ padding: $slider-button-horizon-padding;
529
+ }
583
530
 
584
- &.e-scale-both {
585
- .e-scale {
586
- top: 17px;
587
- }
588
- }
531
+ .e-slider {
532
+ @include size(32px, 100%);
533
+ position: relative;
534
+ top: calc(50% - 16px);
535
+ }
589
536
 
590
- &.e-slider-btn {
591
- padding: $slider-button-horizon-mobile-padding;
592
- }
537
+ .e-slider-track {
538
+ @include size($slider-container-height, 100%);
539
+ left: 0;
540
+ position: absolute;
541
+ overflow: hidden;
542
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
543
+ background: $slider-handle-start-border-color;
544
+ top: calc(50% - 1px);
593
545
  }
594
-
595
- &.e-vertical {
596
-
597
- &.e-scale-both {
598
- .e-range {
599
- width: 6px;
600
- }
601
- }
602
-
603
- .e-range {
604
- width: 6px;
605
- }
606
-
607
- .e-slider-track {
608
- border-radius: 6px;
609
- }
610
-
611
- &.e-slider-btn {
612
- padding: $slider-button-vertical-mobile-padding;
613
- }
614
-
615
- .e-slider-button {
616
- margin-right: -15px;
617
- }
618
-
619
- .e-tick-both {
620
- &.e-scale {
621
- &.e-v-scale {
622
- .e-tick {
623
- left: 4px;
624
- width: 22px;
625
- }
626
-
627
- .e-large {
628
- left: 0;
629
- width: 30px;
630
- }
631
- }
632
- }
633
- }
634
-
635
- .e-tick-before {
636
-
637
- &.e-scale {
638
- &.e-v-scale {
639
- .e-tick {
640
- width: $tick-after-mobile-height;
641
- }
642
-
643
- .e-large {
644
- width: $largetick-before-mobile-height;
645
- }
646
- }
647
- }
648
- }
649
-
650
- .e-tick-after {
651
-
652
- &.e-scale {
653
- &.e-v-scale {
654
- .e-tick {
655
- width: $tick-after-mobile-height;
656
- }
657
-
658
- .e-large {
659
- width: $largetick-before-mobile-height;
660
- }
661
- }
662
- }
546
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI' or $skin-name == 'fluent2') {
547
+ background: $slider-track-color;
548
+ top: calc(50% - 2px);
549
+ @if $skin-name == 'fluent2' or $skin-name == 'FluentUI' {
550
+ border-radius: $slider-radius;
663
551
  }
664
552
  }
553
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'Material3' or $skin-name == 'Material3-dark') {
554
+ background: $slider-track-color;
555
+ border-radius: 4px;
556
+ top: calc(50% - 4px);
557
+ }
558
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
559
+ top: calc(50% - 3px);
560
+ }
561
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
562
+ background: $slider-handle-start-border-color;
563
+ border: 1px solid $slider-track-border-color;
564
+ border-radius: 4px;
565
+ top: calc(50% - 5px);
566
+ }
567
+ @if $skin-name == 'bootstrap4' {
568
+ background: $slider-handle-start-border-color;
569
+ border-radius: 6px;
570
+ }
665
571
  }
666
572
 
667
- &.e-horizontal {
668
- @if ($skin-name == 'bootstrap5') {
669
- &.e-slider-btn {
670
- padding: 0 36px;
671
- }
573
+ .e-handle {
574
+ @if ($skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'bootstrap5') {
575
+ margin-left: -6px;
576
+ top: calc(50% - 6px);
672
577
  }
673
- @if ($skin-name == 'bootstrap4') {
674
- &.e-slider-btn {
675
- padding: 0 34px;
676
- }
677
-
678
- .e-slider-button {
679
- height: $slider-handle-mobile-buttons-height;
680
- margin-top: -9px;
681
- width: $slider-handle-mobile-buttons-width;
682
- }
578
+ @else if ($skin-name == 'bootstrap4') {
579
+ margin-left: -7px;
580
+ top: calc(50% - 7px);
683
581
  }
684
-
685
- @if ($skin-name == 'tailwind') {
686
- .e-slider-track {
687
- height: 6px;
582
+ @else if($skin-name == 'Material3') {
583
+ margin-left: -10px;
584
+ top: calc(50% - 12px);
585
+ }
586
+ @else if $skin-name == 'fluent2' {
587
+ margin-left: -10px;
588
+ top: calc(50% - 10px);
589
+ }
590
+ @else {
591
+ @if ($skin-name == 'tailwind') {
592
+ margin-left: -6px;
688
593
  }
689
-
690
- .e-range {
691
- height: 6px;
594
+ @else {
595
+ margin-left: -8px;
692
596
  }
597
+ top: calc(50% - 8px);
693
598
  }
599
+ }
694
600
 
695
- .e-slider {
696
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
697
- .e-slider-track {
698
- height: 8px;
699
- top: calc(50% - 4px);
700
- }
701
-
702
- .e-range {
703
- height: 8px;
704
- top: calc(50% - 4px);
705
- }
706
- }
707
-
708
- .e-handle {
709
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
710
- margin-left: $slider-handle-mobile-margin-left;
711
- top: $slider-handle-mobile-handle-top;
712
- }
713
- @else {
714
- margin-left: -9px;
715
- top: calc(50% - 9px);
716
- }
601
+ &.e-scale-both {
602
+ .e-handle {
603
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
604
+ margin-left: -8px;
605
+ top: calc(50% - 7px);
717
606
  }
718
607
  }
719
608
 
720
- &.e-scale-both {
721
- .e-slider {
722
- .e-handle {
723
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
724
- margin-left: -9px;
725
- top: calc(50% - 8px);
726
- }
727
- }
609
+ .e-range {
610
+ height: $slider-range-height;
611
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
612
+ top: calc(50% - 2px);
728
613
  }
729
614
  }
730
615
  }
731
616
 
732
- &.e-vertical {
733
- .e-slider {
734
- .e-handle {
735
- @if ($skin-name == 'tailwind') {
736
- left: calc(50% - 5px);
737
- }
738
- @else if $skin-name == 'Material3' {
739
- left: calc(50% - 14px);
740
- }
741
- @else {
742
- left: calc(50% - 9px);
743
- }
744
- margin-bottom: -9px;
745
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
746
- left: calc(50% - 8px);
747
- margin-bottom: -8px;
748
- }
749
- }
750
-
751
- @if ($skin-name == 'tailwind') {
752
- .e-range {
753
- width: 6px;
754
- }
755
- }
617
+ .e-range {
618
+ height: $slider-range-height;
619
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
620
+ top: calc(50% - 1px);
756
621
  }
757
-
758
- &.e-scale-both {
759
- .e-slider {
760
- .e-handle {
761
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
762
- left: calc(50% - 10px);
763
- margin-bottom: -9px;
764
- }
765
- @if $skin-name == 'bootstrap4' {
766
- left: calc(50% - 8px);
767
- margin-bottom: -8px;
768
- }
769
- }
770
- }
622
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI' or or $skin-name == 'fluent2') {
623
+ top: calc(50% - 2px);
771
624
  }
772
-
773
- @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
774
- .e-slider-track {
775
- width: 6px;
776
- }
777
-
778
- .e-range {
779
- width: 6px;
780
- }
625
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
626
+ top: calc(50% - 3px);
627
+ }
628
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'tailwind' or $skin-name == 'Material3') {
629
+ top: calc(50% - 4px);
781
630
  }
782
631
  }
783
632
 
784
- &.e-rtl {
785
- &.e-horizontal {
786
- .e-slider {
787
- .e-handle {
788
- @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
789
- margin: 0 -8px 0 0;
790
- }
791
- }
792
- }
633
+ .e-limits {
634
+ background-color: $slider-limit-bar-color;
635
+ position: absolute;
636
+ @include alignment($slider-limit-bar-horizontal-height, $slider-limit-bar-top, 'horizontal');
637
+ @if ($skin-name == 'bootstrap5' or $skin-name == 'fluent2') {
638
+ border-radius: 4px;
639
+ }
640
+ @if ($skin-name == 'FluentUI') {
641
+ border-radius: 2px;
793
642
  }
794
643
  }
795
644
  }
796
645
 
797
- .e-scale .e-tick .e-tick-value {
798
- font-size: $slider-mobile-scale-font-size;
799
- }
800
- }
801
-
802
- .e-control-wrapper.e-slider-container {
803
- -moz-user-select: none;
804
- -ms-user-select: none;
805
- -webkit-tap-highlight-color: transparent;
806
- -webkit-touch-callout: none;
807
- -webkit-user-select: none;
808
- box-sizing: border-box;
809
- display: inline-block;
810
- height: $slider-wrap-height;
811
- line-height: normal;
812
- outline: none;
813
- position: relative;
814
- user-select: none;
646
+ &.e-vertical {
647
+ @include size(inherit, 48px);
648
+ @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
649
+ padding: 28px 0;
650
+ }
651
+ @else if ($skin-name == 'FluentUI') {
652
+ padding: 32px 0;
653
+ }
654
+ @else if ($skin-name == 'bootstrap4') {
655
+ padding: 30px 0;
656
+ }
657
+ @else {
658
+ padding: 38px 0;
659
+ }
815
660
 
816
- &::after {
817
- content: $skin-name;
818
- display: none;
819
- }
661
+ .e-slider {
662
+ @include size(100%, 32px);
663
+ @if ($skin-name == 'FluentUI') {
664
+ left: calc(50% - 15px);
665
+ }
666
+ @else {
667
+ left: calc(50% - 16px);
668
+ }
669
+ position: relative;
670
+ }
820
671
 
821
- .e-slider {
822
- .e-handle {
823
- &.e-large-thumb-size {
824
- transform: scale(1.5);
672
+ .e-slider-track {
673
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'FluentUI' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
674
+ background: $slider-track-color;
675
+ }
676
+ @if ($skin-name != 'highcontrast' and $skin-name != 'highcontrast-light' and $skin-name != 'FluentUI' and $skin-name != 'Material3' and $skin-name != 'fluent2') {
677
+ background: $slider-handle-start-border-color;
678
+ }
679
+ bottom: 0;
680
+ height: 100%;
681
+ position: absolute;
682
+ overflow: hidden;
683
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
684
+ @if ($skin-name == 'tailwind') {
685
+ left: calc(50%);
686
+ }
687
+ @else {
688
+ left: calc(50% - 2px);
689
+ }
690
+ width: 4px;
691
+ }
692
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
693
+ @include alignment(8px, calc(50% - 4px), 'vertical');
694
+ }
695
+ @else if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
696
+ border: 1px solid $slider-track-border-color;
697
+ border-radius: 3px;
698
+ @include alignment(10px, calc(50% - 5px), 'vertical');
699
+ }
700
+ @else if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
701
+ @include alignment(6px, calc(50% - 3px), 'vertical');
702
+ }
703
+ @else if ($skin-name == 'material' or $skin-name == 'material-dark') {
704
+ @include alignment(2px, calc(50% - 1px), 'vertical');
705
+ }
706
+ @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
707
+ border-radius: 4px;
708
+ }
709
+ @else if ($skin-name == 'bootstrap4') {
710
+ border-radius: 6px;
711
+ }
712
+ @else if ($skin-name == 'FluentUI') {
713
+ border-radius: 2px;
825
714
  }
826
715
  }
827
- }
828
716
 
829
- &.e-rtl {
830
- &.e-horizontal {
831
- .e-slider {
832
- .e-handle {
833
- margin: $rtl-slider-h-handle-margin;
834
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4') {
835
- top: calc(50% - 8px);
836
- }
837
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
838
- top: calc(50% - 8px);
839
- }
840
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
841
- top: calc(50% - 6px);
842
- }
717
+ &.e-small-size {
718
+ &.e-slider-btn {
719
+ height: 100%;
720
+ padding: $slider-button-vertical-padding;
721
+
722
+ .e-slider {
723
+ @include size(100%, $slider-height);
843
724
  }
844
725
  }
726
+ }
845
727
 
846
- .e-scale {
847
- &.e-h-scale {
848
- .e-tick.e-first-tick {
849
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
850
- background-position-x: right;
851
- }
728
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
729
+ .e-first-button {
730
+ @include v-button-position(null, 0, $slider-btn-center-align, 50%);
731
+ @include button-style($slider-button-vdown-bg-image, 8px, calc(50% - 2.7px), calc(50% - 3.8px));
732
+ }
852
733
 
853
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
854
- background-position: right center;
855
- left: 0;
856
- }
734
+ .e-second-button {
735
+ @include v-button-position(0, null, $slider-btn-center-align, 50%);
736
+ @include button-style($slider-button-vup-bg-image, 8px, calc(50% - 4.7px), calc(50% - 3.8px));
737
+ }
738
+ }
739
+ @else if ($skin-name != 'highcontrast' and $skin-name != 'highcontrast-light') {
740
+ .e-first-button {
741
+ @include v-button-position(null, 0, $slider-btn-center-align, 50%);
742
+ @if $skin-name == 'Material3' {
743
+ margin-right: $slider-btn-vertical-center-align;
744
+ }
857
745
 
858
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4' or $skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
859
- background-position: right center;
860
- left: 0;
861
- }
746
+ @if ($skin-name != 'tailwind' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $skin-name != 'Material3' and $skin-name != 'fluent2') {
747
+ @include button-style($slider-button-vdown-bg-image, 8px, calc(50% - 3.6px), calc(50% - 4px));
748
+ }
749
+ @else if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
750
+ @include button-icon($slider-button-icon-bg-color, '\e734', 14px);
751
+ @if ($skin-name == 'bootstrap5') {
752
+ @include button-icon($slider-button-icon-bg-color, '\e734', 18px);
862
753
  }
863
-
864
- .e-tick.e-last-tick {
865
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
866
- background-position-x: left;
754
+ @else if ($skin-name == 'Material3') {
755
+ @include button-icon($slider-button-icon-bg-color, '\e734', 16px);
756
+ }
757
+ .e-button-icon::before {
758
+ @if $skin-name == 'fluent2' {
759
+ @include position(absolute, 3px, 4px);
867
760
  }
868
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
869
- background-position: left center;
761
+ }
762
+ }
763
+ @else {
764
+ .e-button-icon::before {
765
+ font-size: 18px;
766
+ content: '\e729';
767
+ @if ($skin-name == 'tailwind') {
768
+ color: $slider-button-icon-bg-color;
870
769
  }
871
770
  }
872
771
  }
873
772
  }
874
773
 
875
- .e-slider-button {
876
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'FluentUI') {
877
- margin-top: -8px;
774
+ .e-second-button {
775
+ @include v-button-position(0, null, $slider-btn-center-align, 50%);
776
+ @if $skin-name == 'Material3' {
777
+ margin-right: $slider-btn-vertical-center-align;
878
778
  }
879
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4') {
880
- margin-top: -7px;
779
+ @if ($skin-name != 'tailwind' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $skin-name != 'Material3' and $skin-name != 'fluent2') {
780
+ @include button-style($slider-button-vup-bg-image, 8px, calc(50% - 4.5px), calc(50% - 4px));
881
781
  }
882
- @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
883
- margin-top: -13px;
884
-
782
+ @else if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
783
+ @include button-icon($slider-button-icon-bg-color, '\e7dd', 14px);
784
+ @if ($skin-name == 'bootstrap5') {
785
+ @include button-icon($slider-button-icon-bg-color, '\e7dd', 18px);
786
+ }
787
+ @else if ($skin-name == 'Material3') {
788
+ @include button-icon($slider-button-icon-bg-color, '\e7dd', 16px);
789
+ }
790
+ .e-button-icon::before {
791
+ @if $skin-name == 'fluent2' {
792
+ @include position(absolute, 3px, 4px);
793
+ }
794
+ }
795
+ }
796
+ @else {
885
797
  .e-button-icon::before {
886
798
  font-size: 18px;
799
+ @if ($skin-name == 'tailwind') {
800
+ color: $slider-button-icon-bg-color;
801
+ content: '\e776';
802
+ }
803
+ @else {
804
+ content: '\e7a0';
805
+ }
887
806
  }
888
807
  }
889
808
  }
890
809
  }
810
+ @else {
811
+ .e-first-button {
812
+ @include v-button-position(null, 0, $slider-btn-center-align, 50%);
813
+ @include button-icon($slider-button-icon-color, '\e829', 9px);
891
814
 
892
- &.e-vertical {
893
- direction: ltr;
894
- }
895
- }
896
-
897
- &.e-disabled {
898
- @if ($skin-name == 'tailwind') {
899
- filter: alpha(Opacity=100);
900
- opacity: 1;
901
- }
902
- @if ($skin-name == 'bootstrap5') {
903
- opacity: .5;
904
- }
905
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
906
- &.e-material-slider .e-slider .e-handle.e-handle-first {
907
- background-color: $grey-600;
815
+ .e-button-icon::before {
816
+ font-weight: 600;
817
+ @include position(absolute, calc(50% - 4px), calc(50% - 4.15px));
818
+ transform: rotate(-90deg);
819
+ }
908
820
  }
909
821
 
910
- &:hover {
911
- .e-scale .e-tick {
912
- visibility: hidden;
822
+ .e-second-button {
823
+ @include v-button-position(0, null, $slider-btn-center-align, 50%);
824
+ @include button-icon($slider-button-icon-color, '\e829', 9px);
825
+
826
+ .e-button-icon::before {
827
+ font-weight: 600;
828
+ @include position(absolute, calc(50% - 5.8px), calc(50% - 5.5px));
829
+ transform: rotate(90deg);
913
830
  }
914
831
  }
832
+ }
915
833
 
834
+ &.e-scale-both {
916
835
  .e-slider {
917
- .e-range {
918
- background: $slider-disabled-bg-color;
836
+ .e-handle {
837
+ margin-bottom: $slider-v-handle-margin;
838
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
839
+ left: calc(50% - 9px);
840
+ }
919
841
  }
842
+ }
843
+ }
920
844
 
921
- .e-handle {
922
- background: $grey-600;
923
- transform: scale(.5) !important;/* stylelint-disable-line declaration-no-important */
845
+ .e-slider {
846
+ .e-handle {
847
+ margin-bottom: $slider-v-handle-margin;
848
+ @if ($skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'bootstrap5') {
849
+ left: calc(50% - 6px);
850
+ }
851
+ @else if($skin-name == 'bootstrap4') {
852
+ left: calc(50% - 7px);
853
+ }
854
+ @else if($skin-name == 'tailwind') {
855
+ left: calc(50% - 4px);
856
+ }
857
+ @else if($skin-name == 'Material3' or $skin-name == 'fluent2') {
858
+ left: calc(50% - 10px);
859
+ }
860
+ @else {
861
+ left: calc(50% - 8px);
862
+ }
863
+ }
924
864
 
925
- &.e-handle-first {
926
- background-color: $grey-600;
927
- border: 0;
865
+ .e-range {
866
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
867
+ @include alignment(8px, calc(50% - 4px), 'vertical');
868
+ }
869
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
870
+ @include alignment(6px, calc(50% - 3px), 'vertical');
871
+ }
872
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'Material3' or $skin-name == 'fluent2' ) {
873
+ @if ($skin-name == 'tailwind') {
874
+ left: calc(50%);
928
875
  }
929
-
930
- &::after {
931
- -ms-transform: scale(0);
932
- -webkit-transform: scale(0);
933
- background: transparent;
934
- border: 7px solid $slider-material-tooltip-content-color;
935
- border-radius: 50%;
936
- box-sizing: border-box;
937
- content: '';
938
- height: 26px;
939
- left: calc(50% - 13px);
940
- opacity: 1;
941
- position: absolute;
942
- top: calc(50% - 13px);
943
- transform: scale(1);
944
- transition: none;
945
- width: 26px;
946
- z-index: -1;
876
+ @else {
877
+ @include alignment(4px, calc(50% - 2px), 'vertical');
947
878
  }
948
879
  }
880
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
881
+ @include alignment(6px, calc(50% - 3px), 'vertical');
882
+ }
883
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
884
+ @include alignment(2px, calc(50% - 1px), 'vertical');
885
+ }
949
886
  }
950
- }
951
887
 
952
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
953
- .e-slider {
954
- .e-range {
955
- background: $slider-disabled-bg-color;
888
+ .e-limits {
889
+ background-color: $slider-limit-bar-color;
890
+ position: absolute;
891
+ @include alignment($slider-limit-bar-vertical-width, $slider-limit-bar-left, 'vertical');
892
+ @if ($skin-name == 'bootstrap5' or $skin-name == 'fluent2') {
893
+ border-radius: 4px;
956
894
  }
957
-
958
- .e-handle {
959
- border-color: $slider-disabled-bg-color;
895
+ @if ($skin-name == 'FluentUI') {
896
+ border-radius: 2px;
960
897
  }
961
898
  }
962
899
  }
900
+ }
963
901
 
964
- .e-btn {
965
- cursor: default;
966
- }
902
+ .e-range {
903
+ border-radius: $slider-range-border-radius;
904
+ position: absolute;
905
+ transition: left 300ms ease-out, right 300ms ease-out, bottom 300ms ease-out, width 300ms ease-out, height 300ms ease-out;
967
906
 
968
- .e-slider {
969
- .e-handle {
970
- cursor: default;
907
+ &.e-drag-horizontal,
908
+ &.e-drag-vertical {
909
+ cursor: pointer;
910
+ }
911
+ }
971
912
 
972
- &.e-handle-disable {
973
- display: $slider-disabled-handle-show;
913
+ .e-tick-before {
914
+ &.e-scale {
915
+ &.e-h-scale {
916
+ .e-tick {
917
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
918
+ @include alignment($tick-after-height, $tick-after-top, 'horizontal');
919
+ }
920
+ @else {
921
+ background-position: bottom;
922
+ @include alignment(50%, 1px, 'horizontal');
923
+ }
974
924
  }
975
- }
976
- }
977
925
 
978
- @if ($skin-name == 'bootstrap4') {
979
- .e-slider {
980
- .e-range {
981
- background-color: $slider-disabled-range-color;
926
+ .e-large {
927
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
928
+ @include alignment($largetick-before-height, $largetick-before-top, 'horizontal');
929
+ }
982
930
  }
931
+ }
983
932
 
984
- .e-handle {
985
- background-color: $slider-disabled-handle-color;
986
- border-color: $slider-disabled-handle-color;
933
+ &.e-v-scale {
934
+ .e-tick {
935
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
936
+ @include alignment($tick-after-height, $tick-after-left, 'vertical');
937
+ }
938
+ @else {
939
+ background-position: right;
940
+ @include alignment(50%, 1px, 'vertical');
941
+ }
987
942
  }
988
943
 
989
- .e-slider-track {
990
- background-color: $slider-disabled-track-color;
944
+ .e-large {
945
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
946
+ @include alignment($largetick-before-height, $largetick-before-left, 'vertical');
947
+ }
991
948
  }
992
949
  }
950
+ }
951
+ }
993
952
 
994
- .e-scale .e-tick {
995
- .e-tick-value {
996
- color: $slider-button-bg-color;
953
+ .e-tick-after {
954
+ &.e-scale {
955
+ &.e-h-scale {
956
+ .e-tick {
957
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
958
+ @include alignment($tick-before-height, $tick-before-top, 'horizontal');
959
+ }
960
+ @else {
961
+ background-position-x: center;
962
+ @include alignment(50%, calc(50% - 1px), 'horizontal');
963
+ }
997
964
  }
998
- }
999
965
 
1000
- .e-slider-button {
1001
- background-color: $slider-disabled-bg-color;
1002
- border-color: $white;
966
+ .e-large {
967
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
968
+ @include alignment($largetick-after-height, $largetick-after-top, 'horizontal');
969
+ }
970
+ }
1003
971
  }
1004
- }
1005
- }
1006
972
 
1007
- @if ($skin-name == 'bootstrap4') {
1008
- &:not(.e-disabled) {
1009
- .e-slider-button {
1010
- &:hover {
1011
- background-color: darken($gray-600, 7.5%);
1012
- border-color: darken($gray-600, 10%);
973
+ &.e-v-scale {
974
+ .e-tick {
975
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
976
+ @include alignment($tick-before-height, $tick-before-left, 'vertical');
977
+ }
978
+ @else {
979
+ background-position: left;
980
+ @include alignment(50%, calc(50% - 1px), 'vertical');
981
+ }
1013
982
  }
1014
983
 
1015
- &:active {
1016
- background-color: darken($gray-600, 10%);
1017
- border-color: darken($gray-600, 12%);
984
+ .e-large {
985
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
986
+ @include alignment($largetick-after-height, $largetick-after-left, 'vertical');
987
+ }
1018
988
  }
1019
989
  }
1020
990
  }
1021
991
  }
1022
992
 
1023
- &.e-horizontal {
1024
- height: 48px;
1025
- width: 100%;
1026
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1027
- .e-first-button {
1028
- left: 0;
1029
- margin-top: $slider-btn-center-align;
1030
- top: 50%;
1031
-
1032
- .e-button-icon {
1033
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAkFBMVEUAAAD////////////////////////+/v7////+/v7////////+/v7+/v7////////+/v7+/v7+/v7////+/v7+/v7+/v7+/v7////+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7///8G+5iqAAAAL3RSTlMABAgMEBQYHCAkKDA0ODxETFRYYGRsdHyAh4uTm6Onr7O/w8fL09ff4+fr7/P3+/6nVicAAADJSURBVHgBldJHdoNgAANhQUjvPTHuxbgAuv/t/J5O8I82Wn27UfGaVmjvBwvsdmEDUH33JuBxYwNQ/48m4LWzAbie2QR8nkzA/coGoPodTMDzzgagae1ykHAASDgAJBwAEk4xSDgAJBwAEg4ACacYJBwAEg4ACYeAjyMEaqYQSC97CFT/DQxID2sIpK8zBLqZQyC9dRDoajIyID1tIVD10zMg3S0ZSF4IJC8GkhcDyQuB5MVA8kIgeTGQvBhIXggkLwaSFwLJK3cBRvanB71ijlkAAAAASUVORK5CYII=');
1034
- background-repeat: no-repeat;
1035
- background-size: cover;
1036
- display: inline-block;
1037
- height: 7px;
1038
- left: calc(50% - 4.6px);
1039
- position: absolute;
1040
- top: calc(50% - 3.6px);
1041
- width: 7px;
993
+ &.e-scale-before {
994
+ .e-scale {
995
+ &.e-v-scale {
996
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
997
+ right: 9px;
1042
998
  }
1043
999
  }
1000
+ }
1001
+ }
1044
1002
 
1045
- .e-second-button {
1046
- margin-top: $slider-btn-center-align;
1047
- right: 0;
1048
- top: 50%;
1049
-
1050
- .e-button-icon {
1051
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAAkFBMVEUAAAD////////////////////////+/v7////////+/v7+/v7+/v7////////+/v7////+/v7+/v7+/v7+/v7+/v7////////+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7///9VYKa9AAAAL3RSTlMABAgMEBQYHCAoLDQ4PEBMUFhcZGx0eICDi5Obn6ers7vDx8vP19vf4+fr7/P3++LF0fAAAADNSURBVHgBldNHbsNAGEPhkZSi9F4S915k6d3/dga8Jgjw7bkYzPeXS5ObkkX3EQ5gcRcO6H/qbACbp3AAo6twwOEtHMCsDQecvqpsAKuHcMDw12QD2L2EA/C8EFleiCwvRJYXIssLmeGFzPBCZnghM7yQGV7IDC9Eglc26D6zwfS2JIP9a/To4b8pyWD9GH1c/11FNOZthO/4nvEeX5dksH2OTnT4rUsyWN4Xk4cj8nBEHo7IwxF5OCIPR+ThiDwckYcj8nBEHo5Iw5GdAVm8p9sPUXNKAAAAAElFTkSuQmCC');
1052
- background-repeat: no-repeat;
1053
- background-size: cover;
1054
- display: inline-block;
1055
- height: 7px;
1056
- left: calc(50% - 2.6px);
1057
- position: absolute;
1058
- top: calc(50% - 3.6px);
1059
- width: 7px;
1003
+ &.e-scale-after {
1004
+ .e-scale {
1005
+ &.e-v-scale {
1006
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1007
+ right: 9px;
1060
1008
  }
1061
1009
  }
1062
1010
  }
1063
- @else if ($skin-name != 'highcontrast' and $skin-name != 'highcontrast-light') {
1064
- .e-first-button {
1065
- left: 0;
1066
- margin-top: $slider-btn-center-align;
1067
- top: 50%;
1068
-
1069
- @if ($skin-name != 'tailwind' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $skin-name != 'Material3') {
1070
- .e-button-icon {
1071
- background-image: $slider-button-hleft-bg-image;
1072
- background-repeat: no-repeat;
1073
- background-size: cover;
1074
- height: 8px;
1075
- left: calc(50% - 5px);
1076
- position: absolute;
1077
- top: calc(50% - 4px);
1078
- width: 8px;
1011
+ }
1012
+
1013
+ .e-tick-both {
1014
+ &.e-scale {
1015
+ &.e-h-scale {
1016
+ .e-tick {
1017
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1018
+ @include alignment(calc(100% - 6px), -11px, 'horizontal');
1079
1019
  }
1080
- }
1081
- @else if($skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
1082
- .e-button-icon {
1083
- font-family: 'e-icons';
1020
+ @else if ($skin-name == 'bootstrap4') {
1021
+ @include alignment(16px, -8px, 'horizontal');
1084
1022
  }
1085
-
1086
- .e-button-icon::before {
1087
- color: $slider-button-icon-bg-color;
1088
- content: '\e738';
1089
- @if ($skin-name == 'FluentUI') {
1090
- font-size: 14px;
1091
- }
1092
- @else if ($skin-name == 'Material3') {
1093
- font-size: 16px;
1094
- }
1095
- @else {
1096
- font-size: 17px;
1097
- }
1023
+ @else if ($skin-name == 'bootstrap5') {
1024
+ @include alignment(18px, -11px, 'horizontal');
1098
1025
  }
1099
- }
1100
- @else {
1101
- .e-button-icon::before {
1102
- font-size: 17px;
1103
- @if ($skin-name == 'tailwind') {
1104
- color: $slider-button-icon-bg-color;
1105
- content: '\e765';
1106
- }
1107
- @else {
1108
- content: '\e761';
1109
- }
1026
+ @else if ($skin-name == 'Material3') {
1027
+ @include alignment(18px, -13px, 'horizontal');
1110
1028
  }
1111
- }
1112
- }
1113
-
1114
- .e-second-button {
1115
- margin-top: $slider-btn-center-align;
1116
- right: 0;
1117
- top: 50%;
1118
-
1119
- @if ($skin-name != 'tailwind' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $skin-name != 'Material3') {
1120
- .e-button-icon {
1121
- background-image: $slider-button-hright-bg-image;
1122
- background-repeat: no-repeat;
1123
- background-size: cover;
1124
- height: 8px;
1125
- left: calc(50% - 3px);
1126
- position: absolute;
1127
- top: calc(50% - 4px);
1128
- width: 8px;
1029
+ @else if ($skin-name == 'tailwind') {
1030
+ @include alignment(16px, -16px, 'horizontal');
1129
1031
  }
1130
- }
1131
- @else if($skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
1132
- .e-button-icon {
1133
- font-family: 'e-icons';
1032
+ @else if ($skin-name == 'FluentUI') {
1033
+ @include alignment(30px, -17px, 'horizontal');
1134
1034
  }
1135
-
1136
- .e-button-icon::before {
1137
- color: $slider-button-icon-bg-color;
1138
- content: '\e75c';
1139
- @if ($skin-name == 'FluentUI') {
1140
- font-size: 14px;
1141
- }
1142
- @else if ($skin-name == 'Material3') {
1143
- font-size: 16px;
1144
- }
1145
- @else {
1146
- font-size: 17px;
1147
- margin-left: 1px;
1148
- }
1035
+ @else if ($skin-name == 'fabric' or $skin-name == 'fabric-dark') {
1036
+ @include alignment(calc(100% - 3px), -12.5px, 'horizontal');
1149
1037
  }
1150
- }
1151
- @else {
1152
- .e-button-icon::before {
1153
- font-size: 18px;
1154
- @if ($skin-name == 'tailwind') {
1155
- color: $slider-button-icon-bg-color;
1156
- content: '\e748';
1157
- }
1158
- @else {
1159
- content: '\e707';
1160
- }
1038
+ @else if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1039
+ @include alignment(calc(100% - 6px), -12px, 'horizontal');
1040
+ }
1041
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1042
+ background-position: center;
1043
+ height: 99%;
1161
1044
  }
1162
- }
1163
- }
1164
- }
1165
- @else {
1166
- .e-first-button {
1167
- left: 0;
1168
- margin-top: $slider-btn-center-align;
1169
- top: 50%;
1170
-
1171
- .e-button-icon {
1172
- font-family: 'e-icons';
1173
1045
  }
1174
1046
 
1175
- .e-button-icon::before {
1176
- color: $slider-button-icon-color;
1177
- content: '\e829';
1178
- font-size: 8px;
1179
- font-weight: 600;
1180
- left: calc(50% - 5px);
1181
- position: absolute;
1182
- top: calc(50% - 4px);
1047
+ .e-large {
1048
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1049
+ @include alignment(100%, -8px, 'horizontal');
1050
+ }
1051
+ @else if ($skin-name == 'bootstrap4') {
1052
+ @include alignment(22px, -5px, 'horizontal');
1053
+ }
1054
+ @else if ($skin-name == 'bootstrap5') {
1055
+ @include alignment(26px, -7px, 'horizontal');
1056
+ }
1057
+ @else if ($skin-name == 'tailwind') {
1058
+ @include alignment(24px, -12px, 'horizontal');
1059
+ }
1060
+ @else if ($skin-name == 'FluentUI') {
1061
+ @include alignment(38px, -13px, 'horizontal');
1062
+ }
1063
+ @else if ($skin-name == 'Material3') {
1064
+ @include alignment(26px, -10px, 'horizontal');
1065
+ }
1066
+ @else if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1067
+ @include alignment(calc(100% + 3px), -9px, 'horizontal');
1068
+ }
1183
1069
  }
1184
1070
  }
1185
1071
 
1186
- .e-second-button {
1187
- margin-top: $slider-btn-center-align;
1188
- right: 0;
1189
- top: 50%;
1190
-
1191
- .e-button-icon {
1192
- font-family: 'e-icons';
1072
+ &.e-v-scale {
1073
+ .e-tick {
1074
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1075
+ background-position: center;
1076
+ width: 100%;
1077
+ }
1078
+ @if ($skin-name == 'bootstrap4') {
1079
+ background-position: center;
1080
+ @include alignment(calc(100% - 12px), 6px, 'vertical');
1081
+ }
1082
+ @if ($skin-name == 'bootstrap5' or $skin-name == 'Material3') {
1083
+ background-position: center;
1084
+ @include alignment(18px, 5px, 'vertical');
1085
+ }
1086
+ @if ($skin-name == 'tailwind') {
1087
+ @include alignment(16px, 6px, 'vertical');
1088
+ }
1089
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1090
+ background-position: center;
1091
+ width: 100%;
1092
+ }
1093
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
1094
+ @include alignment(calc(100% - 2px), 0, 'vertical');
1095
+ }
1096
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1097
+ @include alignment(calc(100% - 6px), 2px, 'vertical');
1098
+ }
1193
1099
  }
1194
1100
 
1195
- .e-button-icon::before {
1196
- color: $slider-button-icon-color;
1197
- content: '\e830';
1198
- font-size: 8px;
1199
- font-weight: 600;
1200
- left: calc(50% - 3px);
1201
- position: absolute;
1202
- top: calc(50% - 4px);
1101
+ .e-large {
1102
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1103
+ width: 100%;
1104
+ }
1105
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
1106
+ @include alignment(calc(100% - 6px), 3px, 'vertical');
1107
+ }
1108
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
1109
+ @include alignment(26px, 1px, 'vertical');
1110
+ }
1111
+ @if ($skin-name == 'tailwind') {
1112
+ @include alignment(24px, 3px, 'vertical');
1113
+ }
1114
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1115
+ width: 100%;
1116
+ }
1117
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1118
+ @include alignment(calc(100% + 3px), -2px, 'vertical');
1119
+ }
1203
1120
  }
1204
1121
  }
1205
1122
  }
1123
+ }
1206
1124
 
1207
- &.e-slider-btn {
1208
- padding: $slider-button-horizon-padding;
1125
+ .e-scale {
1126
+ box-sizing: content-box;
1127
+ font-family: $slider-scale-font-family;
1128
+ @include size(28px, 100%);
1129
+ @if $skin-name == 'fluent2' {
1130
+ @include size(20px, 100%);
1209
1131
  }
1210
-
1211
- .e-slider {
1212
- height: 32px;
1213
- position: relative;
1214
- top: calc(50% - 16px);
1215
- width: 100%;
1132
+ line-height: normal;
1133
+ list-style: none outside none;
1134
+ margin: 0;
1135
+ outline: 0 none;
1136
+ padding: 0;
1137
+ position: absolute;
1138
+ top: $slider-scale-top;
1139
+ z-index: 1;
1140
+ @if ($skin-name != 'material' and $skin-name != 'material-dark' and $skin-name != 'fluent2') {
1141
+ font-size: $slider-scale-font-size;
1142
+ margin-top: $slider-center-align;
1216
1143
  }
1217
1144
 
1218
- .e-slider-track {
1219
- height: $slider-container-height;
1220
- left: 0;
1221
- position: absolute;
1222
- width: 100%;
1223
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1224
- background: $slider-handle-start-border-color;
1225
- overflow: hidden;
1226
- top: calc(50% - 1px);
1145
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1146
+ z-index: -1;
1147
+
1148
+ &.e-tick-both {
1149
+ top: 12px;
1227
1150
  }
1228
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
1229
- background: $slider-track-color;
1230
- overflow: hidden;
1231
- top: calc(50% - 2px);
1232
- @if $skin-name == 'FluentUI' {
1233
- border-radius: 2px;
1234
- }
1151
+ }
1152
+
1153
+ .e-tick {
1154
+ @if ($theme-name == 'bootstrap5-dark' or $theme-name == 'tailwind-dark' or $theme-name == 'fluentui-dark') {
1155
+ background-image: $slider-scale-tick-image-dark;
1235
1156
  }
1236
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'Material3' or $skin-name == 'Material3-dark') {
1237
- background: $slider-track-color;
1238
- border-radius: 4px;
1239
- overflow: hidden;
1240
- top: calc(50% - 4px);
1157
+ @else {
1158
+ background-image: $slider-scale-tick-image;
1241
1159
  }
1242
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
1243
- top: calc(50% - 3px);
1160
+ cursor: $slider-cursor;
1161
+ outline: none;
1162
+ position: relative;
1163
+ user-select: none;
1164
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1165
+ background-position: center center;
1244
1166
  }
1245
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1246
- background: $slider-handle-start-border-color;
1247
- border: 1px solid $slider-track-border-color;
1248
- border-radius: 4px;
1249
- overflow: hidden;
1250
- top: calc(50% - 5px);
1167
+
1168
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
1169
+ &.e-large {
1170
+ @if ($skin-name != 'bootstrap4') {
1171
+ background-image: $slider-scale-tick-image-dark;
1172
+ }
1173
+ @else {
1174
+ background-image: $slider-small-scale-tick-image;
1175
+ }
1176
+ }
1251
1177
  }
1252
- @if $skin-name == 'bootstrap4' {
1253
- background: $slider-handle-start-border-color;
1254
- border-radius: 6px;
1255
- overflow: hidden;
1178
+
1179
+ .e-tick-value {
1180
+ color: $slider-tick-font-color;
1181
+ font-family: $slider-scale-font-family;
1182
+ font-size: $slider-scale-font-size;
1183
+ outline: none;
1184
+ position: absolute;
1185
+ user-select: none;
1186
+ white-space: nowrap;
1187
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
1188
+ line-height: 1.5;
1189
+ }
1190
+ @if ($skin-name == 'tailwind') {
1191
+ line-height: 18px;
1192
+ }
1256
1193
  }
1257
1194
  }
1258
1195
 
1259
- .e-handle {
1260
- @if ($skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'bootstrap5') {
1261
- margin-left: -6px;
1262
- top: calc(50% - 6px);
1196
+ &.e-v-scale {
1197
+ @include size(100%, 28px);
1198
+ @if ($skin-name == 'tailwind') {
1199
+ left: calc(50% - 12px);
1263
1200
  }
1264
- @else if ($skin-name == 'bootstrap4') {
1265
- margin-left: -7px;
1266
- top: calc(50% - 7px);
1201
+ @else {
1202
+ left: calc(50% - 14px);
1267
1203
  }
1268
- @else if($skin-name == 'Material3') {
1269
- margin-left: -10px;
1270
- top: calc(50% - 12px);
1204
+ top: 0;
1205
+ @if $skin-name == 'fluent2' {
1206
+ @include alignment(20px, calc(50% - 10px), 'vertical');
1271
1207
  }
1272
- @else {
1273
- @if ($skin-name == 'tailwind') {
1274
- margin-left: -6px;
1208
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
1209
+ margin-top: -2px;
1210
+ }
1211
+
1212
+ .e-tick {
1213
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1214
+ background-repeat: no-repeat;
1275
1215
  }
1276
1216
  @else {
1277
- margin-left: -8px;
1217
+ background-repeat: repeat-x;
1278
1218
  }
1279
- top: calc(50% - 8px);
1280
- }
1281
- }
1282
1219
 
1283
- &.e-scale-both {
1284
- .e-handle {
1285
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1286
- margin-left: -8px;
1287
- top: calc(50% - 7px);
1220
+ &.e-first-tick {
1221
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1222
+ background-position-y: top;
1223
+ }
1224
+ @else {
1225
+ background-position-y: center;
1226
+ }
1288
1227
  }
1289
- }
1290
1228
 
1291
- .e-range {
1292
- height: $slider-range-height;
1293
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1294
- top: calc(50% - 2px);
1229
+ &.e-last-tick {
1230
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1231
+ background-position-y: bottom;
1232
+ }
1233
+ @else {
1234
+ background-position-y: bottom;
1235
+ margin-top: 2px;
1236
+ @if ($skin-name == 'tailwind') {
1237
+ margin-top: 3px;
1238
+ }
1239
+ }
1295
1240
  }
1296
1241
  }
1297
1242
  }
1298
1243
 
1299
- .e-range {
1300
- height: $slider-range-height;
1301
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1302
- top: calc(50% - 1px);
1303
- }
1304
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
1305
- top: calc(50% - 2px);
1306
- }
1307
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
1308
- top: calc(50% - 3px);
1309
- }
1310
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'tailwind' or $skin-name == 'Material3') {
1311
- top: calc(50% - 4px);
1312
- }
1313
- }
1244
+ &.e-h-scale {
1245
+ @if ($skin-name == 'tailwind') {
1246
+ &.e-tick-after {
1247
+ top: 3px;
1248
+ }
1314
1249
 
1315
- .e-limits {
1316
- background-color: $slider-limit-bar-color;
1317
- height: $slider-limit-bar-horizontal-height;
1318
- position: absolute;
1319
- top: $slider-limit-bar-top;
1320
- @if ($skin-name == 'bootstrap5') {
1321
- border-radius: 4px;
1250
+ &.e-tick-before {
1251
+ top: 15px;
1252
+ }
1322
1253
  }
1323
- @if ($skin-name == 'FluentUI') {
1324
- border-radius: 2px;
1254
+
1255
+ .e-tick {
1256
+ display: inline-block;
1257
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1258
+ background-repeat: no-repeat;
1259
+ }
1260
+
1261
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1262
+ background-repeat: repeat-y;
1263
+ @include alignment(100%, 0, 'horizontal');
1264
+ }
1265
+
1266
+ .e-tick-value {
1267
+ &.e-tick-before,
1268
+ &.e-tick-both:first-child {
1269
+ top: -18px;
1270
+ }
1271
+
1272
+ &.e-tick-after,
1273
+ &.e-tick-both {
1274
+ bottom: -20px;
1275
+ }
1276
+ }
1277
+
1278
+ &.e-first-tick {
1279
+ @include tick-background-position(left);
1280
+ }
1281
+
1282
+ &.e-last-tick {
1283
+ @include tick-background-position(right);
1284
+ }
1325
1285
  }
1326
1286
  }
1327
1287
  }
1328
1288
 
1329
- &.e-vertical {
1330
- height: inherit;
1331
- @if ($skin-name == 'tailwind') {
1332
- padding: 28px 0;
1333
- }
1334
- @else if ($skin-name == 'FluentUI') {
1335
- padding: 32px 0;
1336
- }
1337
- @else {
1338
- padding: 38px 0;
1339
- }
1340
- width: 48px;
1341
- @if ($skin-name == 'bootstrap4') {
1342
- padding: 30px 0;
1289
+ .e-scale .e-tick {
1290
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1291
+ visibility: hidden;
1343
1292
  }
1344
1293
 
1345
- @if ($skin-name == 'bootstrap5') {
1346
- padding: 28px 0;
1294
+ .e-tick-value {
1295
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1296
+ visibility: visible;
1297
+ }
1347
1298
  }
1299
+ }
1348
1300
 
1349
- .e-slider {
1350
- height: 100%;
1351
- @if ($skin-name == 'FluentUI') {
1352
- left: calc(50% - 15px);
1301
+ &.e-horizontal {
1302
+ &.e-scale-both {
1303
+ .e-scale {
1304
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
1305
+ top: 12px;
1306
+ }
1307
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4' or $skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
1308
+ top: 15px;
1309
+ }
1353
1310
  }
1354
- @else {
1355
- left: calc(50% - 16px);
1311
+
1312
+ .e-slider-track {
1313
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
1314
+ border-color: $slider-track-border-color;
1315
+ border-radius: 1px;
1316
+ border-style: solid;
1317
+ border-width: 5px 0;
1318
+ @include alignment(14px, calc(50% - 3px), 'horizontal');
1319
+ margin-top: -4px;
1320
+ }
1321
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1322
+ border-color: $slider-track-border-color;
1323
+ border-radius: 4px;
1324
+ border-style: solid;
1325
+ border-width: 4px;
1326
+ @include alignment(14px, calc(50% - 6px), 'horizontal');
1327
+ }
1356
1328
  }
1357
- position: relative;
1358
- width: 32px;
1359
1329
  }
1330
+ }
1360
1331
 
1361
- .e-slider-track {
1362
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
1363
- background: $slider-track-color;
1364
- }
1365
- @if ($skin-name != 'highcontrast' and $skin-name != 'highcontrast-light' and $skin-name != 'FluentUI' and $skin-name != 'Material3') {
1366
- background: $slider-handle-start-border-color;
1367
- }
1368
- bottom: 0;
1369
- height: 100%;
1370
- position: absolute;
1371
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
1372
- @if ($skin-name == 'tailwind') {
1373
- left: calc(50%);
1332
+ &.e-vertical {
1333
+ &.e-scale-both {
1334
+ .e-scale {
1335
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
1336
+ right: 12px;
1374
1337
  }
1375
- @else {
1376
- left: calc(50% - 2px);
1338
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1339
+ right: 11px;
1377
1340
  }
1378
- overflow: hidden;
1379
- width: 4px;
1380
- }
1381
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1382
- left: calc(50% - 4px);
1383
- overflow: hidden;
1384
- width: 8px;
1385
- }
1386
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1387
- border: 1px solid $slider-track-border-color;
1388
- border-radius: 3px;
1389
- left: calc(50% - 5px);
1390
- overflow: hidden;
1391
- width: 10px;
1392
- }
1393
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
1394
- left: calc(50% - 3px);
1395
- overflow: hidden;
1396
- width: 6px;
1397
1341
  }
1398
- @if ($skin-name == 'bootstrap4') {
1399
- border-radius: 6px;
1400
- }
1401
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1402
- left: calc(50% - 1px);
1403
- overflow: hidden;
1404
- width: 2px;
1405
- }
1406
- @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1407
- border-radius: 4px;
1408
- }
1409
- @if ($skin-name == 'FluentUI') {
1410
- border-radius: 2px;
1411
- }
1412
- }
1413
1342
 
1414
- &.e-small-size {
1415
- &.e-slider-btn {
1416
- height: 100%;
1417
- padding: $slider-button-vertical-padding;
1343
+ .e-slider-track {
1344
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1345
+ border-color: $slider-track-border-color;
1346
+ border-radius: 1px;
1347
+ border-style: solid;
1348
+ border-width: 0 5px;
1349
+ margin-left: -7px;
1350
+ @include alignment(14px, calc(50% - 1px), 'vertical');
1351
+ }
1352
+ }
1418
1353
 
1419
- .e-slider {
1420
- height: 100%;
1421
- width: $slider-height;
1354
+ .e-range {
1355
+ @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
1356
+ margin-left: -1px;
1422
1357
  }
1423
1358
  }
1424
1359
  }
1360
+ }
1425
1361
 
1426
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1427
- .e-first-button {
1428
- bottom: 0;
1429
- margin-right: $slider-btn-center-align;
1430
- right: 50%;
1431
-
1432
- .e-button-icon {
1433
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAjVBMVEUAAAD////////////////////////+/v7////+/v7////////+/v7////////+/v7+/v7+/v7+/v7////+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7////1kjJ6AAAALnRSTlMABAgMEBQYHCAkKDA4QERITFRcYGRodHyDj5OXn6Ons7e7v8vP09ff5+vv8/f7zZvJMAAAAItJREFUeAHdyVcagjAQBsAfUVTAXsTeSTRm7388i/kUQjYHYF4H9bAUXjuEV/KQEdC98f9I8dLXxJngY879CsbG/ccARuPsetHCT1tWXyUoSDXZRiiZ2p/Bsi7/HrbgVPw8REUk/n+P4ZAoMvQATmMyFmBk39+CExzefwnBauZEsgOPWOkevIYz1NEToo45F58KJy0AAAAASUVORK5CYII=');
1434
- background-repeat: no-repeat;
1435
- background-size: cover;
1436
- display: inline-block;
1437
- height: 8px;
1438
- left: calc(50% - 3.8px);
1439
- position: absolute;
1440
- top: calc(50% - 2.7px);
1441
- width: 8px;
1362
+ &.e-scale-both {
1363
+ &.e-vertical {
1364
+ &.e-small-size,
1365
+ .e-scale {
1366
+ &.e-h-scale {
1367
+ @if $skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'FluentUI' {
1368
+ margin-left: -7px;
1369
+ }
1442
1370
  }
1443
1371
  }
1372
+ }
1373
+ }
1444
1374
 
1445
- .e-second-button {
1446
- margin-right: $slider-btn-center-align;
1447
- right: 50%;
1448
- top: 0;
1449
-
1450
- .e-button-icon {
1451
- background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAjVBMVEUAAAD////////////////////////////////+/v7////+/v7+/v7////////+/v7+/v7////+/v7////+/v7+/v7////+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7+/v7////wrNfvAAAALnRSTlMABAgMEBQYICgsMDQ4QERITFBcYGhseHyDi5Obn6Ort7u/x8/X29/j5+vv8/f77y3LJgAAAI1JREFUeAHdyVeagjAUBtCbYQTsXewFENGYf//LsyB8kORmAZzXQ600mLrfz2XX9X8xcO0Qb4+3s2B/ia8N9yOFwtz+wR0/z77tvQSVm0+mI2piYXyEhp3+E2gWzQ8lNGpY//8UhjygijjBIvGotIbVofwZGFHxPQmGGn/ez8B6hETiAofUo1XmtKVWeAEhzjgqqZr/lwAAAABJRU5ErkJggg==');
1452
- background-repeat: no-repeat;
1453
- background-size: cover;
1454
- display: inline-block;
1455
- height: 8px;
1456
- left: calc(50% - 3.8px);
1457
- position: absolute;
1458
- top: calc(50% - 4.7px);
1459
- width: 8px;
1375
+ &.e-vertical {
1376
+ &.e-scale-both {
1377
+ .e-scale.e-v-scale {
1378
+ @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4') {
1379
+ right: 10px;
1460
1380
  }
1461
1381
  }
1462
1382
  }
1463
- @else if ($skin-name != 'highcontrast' and $skin-name != 'highcontrast-light') {
1464
- .e-first-button {
1465
- bottom: 0;
1466
- margin-right: $slider-btn-center-align;
1467
- right: 50%;
1383
+ }
1468
1384
 
1469
- @if $skin-name == 'Material3' {
1470
- margin-right: $slider-btn-vertical-center-align;
1471
- }
1385
+ .e-scale.e-v-scale {
1386
+ @if ($skin-name == 'tailwind') {
1387
+ &.e-tick-after {
1388
+ left: calc(50% - 17px);
1389
+ }
1390
+
1391
+ &.e-tick-before {
1392
+ left: calc(50% - 7px);
1393
+ }
1394
+ }
1472
1395
 
1473
- @if ($skin-name != 'tailwind' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $skin-name != 'Material3') {
1474
- .e-button-icon {
1475
- background-image: $slider-button-vdown-bg-image;
1476
- background-repeat: no-repeat;
1477
- background-size: cover;
1478
- display: inline-block;
1479
- height: 8px;
1480
- left: calc(50% - 4px);
1481
- position: absolute;
1482
- top: calc(50% - 3.6px);
1483
- width: 8px;
1396
+ .e-tick {
1397
+ .e-tick-value {
1398
+ @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1399
+ &.e-tick-before {
1400
+ right: 26px;
1484
1401
  }
1485
- }
1486
- @else if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
1487
- .e-button-icon {
1488
- font-family: 'e-icons';
1402
+
1403
+ &.e-tick-after {
1404
+ left: 27px;
1489
1405
  }
1490
1406
 
1491
- .e-button-icon::before {
1492
- color: $slider-button-icon-bg-color;
1493
- @if ($skin-name == 'bootstrap5') {
1494
- content: '\e734';
1495
- font-size: 18px;
1496
- }
1497
- @else if ($skin-name == 'Material3') {
1498
- content: '\e734';
1499
- font-size: 16px;
1500
- }
1501
- @else {
1502
- content: '\e734';
1503
- font-size: 14px;
1407
+ &.e-tick-both {
1408
+ right: 41px;
1409
+
1410
+ &:first-child {
1411
+ left: 39px;
1504
1412
  }
1505
1413
  }
1506
1414
  }
1507
1415
  @else {
1508
- .e-button-icon::before {
1509
- font-size: 18px;
1510
- @if ($skin-name == 'tailwind') {
1511
- color: $slider-button-icon-bg-color;
1512
- content: '\e729';
1513
- }
1514
- @else {
1515
- content: '\e729';
1516
- }
1416
+ &.e-tick-before {
1417
+ right: 17px;
1517
1418
  }
1518
- }
1519
- }
1520
1419
 
1521
- .e-second-button {
1522
- margin-right: $slider-btn-center-align;
1523
- right: 50%;
1524
- top: 0;
1525
-
1526
- @if $skin-name == 'Material3' {
1527
- margin-right: $slider-btn-vertical-center-align;
1528
- }
1529
-
1530
- @if ($skin-name != 'tailwind' and $skin-name != 'bootstrap5' and $skin-name != 'FluentUI' and $skin-name != 'Material3') {
1531
- .e-button-icon {
1532
- background-image: $slider-button-vup-bg-image;
1533
- background-repeat: no-repeat;
1534
- background-size: cover;
1535
- display: inline-block;
1536
- height: 8px;
1537
- left: calc(50% - 4px);
1538
- position: absolute;
1539
- top: calc(50% - 4.5px);
1540
- width: 8px;
1541
- }
1542
- }
1543
- @else if ($skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
1544
- .e-button-icon {
1545
- font-family: 'e-icons';
1420
+ &.e-tick-after {
1421
+ left: 19px;
1546
1422
  }
1547
1423
 
1548
- .e-button-icon::before {
1549
- color: $slider-button-icon-bg-color;
1550
- @if ($skin-name == 'bootstrap5') {
1551
- content: '\e7dd';
1552
- font-size: 18px;
1553
- }
1554
- @else if ($skin-name == 'Material3') {
1555
- content: '\e7dd';
1556
- font-size: 16px;
1424
+ &.e-tick-both {
1425
+ @if $skin-name == 'bootstrap4' {
1426
+ right: 30px;
1557
1427
  }
1558
1428
  @else {
1559
- content: '\e7dd';
1560
- font-size: 14px;
1561
- }
1562
- }
1563
- }
1564
- @else {
1565
- .e-button-icon::before {
1566
- font-size: 18px;
1567
- @if ($skin-name == 'tailwind') {
1568
- color: $slider-button-icon-bg-color;
1569
- content: '\e776';
1429
+ right: 44px;
1570
1430
  }
1571
- @else {
1572
- content: '\e7a0';
1431
+
1432
+ &:first-child {
1433
+ @if $skin-name == 'bootstrap4' {
1434
+ left: 30px;
1435
+ }
1436
+ @else {
1437
+ left: 42px;
1438
+ }
1573
1439
  }
1574
1440
  }
1575
1441
  }
1576
1442
  }
1577
1443
  }
1578
- @else {
1579
- .e-first-button {
1580
- bottom: 0;
1581
- margin-right: $slider-btn-center-align;
1582
- right: 50%;
1583
-
1584
- .e-button-icon {
1585
- font-family: 'e-icons';
1586
- }
1587
-
1588
- .e-button-icon::before {
1589
- color: $slider-button-icon-color;
1590
- content: '\e829';
1591
- font-size: 9px;
1592
- font-weight: 600;
1593
- left: calc(50% - 4.15px);
1594
- position: absolute;
1595
- top: calc(50% - 4px);
1596
- transform: rotate(-90deg);
1597
- }
1598
- }
1599
-
1600
- .e-second-button {
1601
- margin-right: $slider-btn-center-align;
1602
- right: 50%;
1603
- top: 0;
1444
+ }
1445
+ }
1604
1446
 
1605
- .e-button-icon {
1606
- font-family: 'e-icons';
1607
- }
1447
+ .e-slider-tooltip.e-tooltip-wrap.e-popup {
1448
+ @if ($skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'Material3' or $skin-name == 'Material3-dark') {
1449
+ background-color: $slider-handle-bg-color;
1450
+ border: 0;
1451
+ border-radius: 8px;
1452
+ @include cursor-grab;
1453
+ opacity: 1;
1608
1454
 
1609
- .e-button-icon::before {
1610
- color: $slider-button-icon-color;
1611
- content: '\e829';
1612
- font-size: 9px;
1613
- font-weight: 600;
1614
- left: calc(50% - 5.5px);
1615
- position: absolute;
1616
- top: calc(50% - 5.8px);
1617
- transform: rotate(90deg);
1618
- }
1619
- }
1455
+ &.e-popup.e-popup-close {
1456
+ display: block;
1457
+ opacity: 0;
1620
1458
  }
1621
1459
 
1622
- &.e-scale-both {
1623
- .e-slider {
1624
- .e-handle {
1625
- margin-bottom: $slider-v-handle-margin;
1626
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1627
- left: calc(50% - 9px);
1628
- }
1629
- }
1630
- }
1631
- }
1460
+ &.e-material-tooltip-start {
1461
+ background-color: $slider-handle-border-color;
1632
1462
 
1633
- .e-slider {
1634
- .e-handle {
1635
- margin-bottom: $slider-v-handle-margin;
1636
- @if ($skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'bootstrap5') {
1637
- left: calc(50% - 6px);
1638
- }
1639
- @else if($skin-name == 'bootstrap4') {
1640
- left: calc(50% - 7px);
1641
- }
1642
- @else if($skin-name == 'tailwind') {
1643
- left: calc(50% - 4px);
1644
- }
1645
- @else if($skin-name == 'Material3') {
1646
- left: calc(50% - 10px);
1647
- }
1648
- @else {
1649
- left: calc(50% - 8px);
1463
+ @if $skin-name != 'Material3' and $skin-name != 'Material3-dark' {
1464
+ .e-arrow-tip-inner {
1465
+ color: $grey-black;
1466
+ opacity: 0;
1650
1467
  }
1651
1468
  }
1652
1469
 
1653
- .e-range {
1654
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1655
- left: calc(50% - 4px);
1656
- width: 8px;
1657
- }
1658
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
1659
- left: calc(50% - 3px);
1660
- width: 6px;
1661
- }
1662
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'tailwind' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
1663
- @if ($skin-name == 'tailwind') {
1664
- left: calc(50%);
1665
- }
1666
- @else {
1667
- left: calc(50% - 2px);
1668
- }
1669
- @if ($skin-name == 'bootstrap5') {
1670
- width: 6px;
1671
- }
1672
- @else {
1673
- width: 4px;
1674
- }
1675
- }
1676
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1677
- left: calc(50% - 3px);
1678
- width: 6px;
1470
+ .e-arrow-tip-outer {
1471
+ &.e-tip-bottom {
1472
+ border-top-color: $slider-handle-border-color;
1679
1473
  }
1680
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1681
- left: calc(50% - 1px);
1682
- width: 2px;
1474
+ &.e-tip-top {
1475
+ border-bottom-color: $slider-handle-border-color;
1683
1476
  }
1684
- }
1685
-
1686
- .e-limits {
1687
- background-color: $slider-limit-bar-color;
1688
- left: $slider-limit-bar-left;
1689
- position: absolute;
1690
- width: $slider-limit-bar-vertical-width;
1691
- @if ($skin-name == 'bootstrap5') {
1692
- border-radius: 4px;
1477
+ &.e-tip-right {
1478
+ border-left-color: $slider-handle-border-color;
1693
1479
  }
1694
- @if ($skin-name == 'FluentUI') {
1695
- border-radius: 2px;
1480
+ &.e-tip-left {
1481
+ border-right-color: $slider-handle-border-color;
1696
1482
  }
1697
1483
  }
1698
1484
  }
1699
- }
1700
-
1701
- .e-range {
1702
- border-radius: $slider-range-border-radius;
1703
- position: absolute;
1704
- transition: left 300ms ease-out, right 300ms ease-out, bottom 300ms ease-out, width 300ms ease-out, height 300ms ease-out;
1705
1485
 
1706
- &.e-drag-horizontal {
1707
- cursor: pointer;
1486
+ &.e-tooltip-active {
1487
+ @include cursor-grabbing;
1708
1488
  }
1709
1489
 
1710
- &.e-drag-vertical {
1711
- cursor: pointer;
1490
+ .e-arrow-tip {
1491
+ visibility: visible;
1712
1492
  }
1713
- }
1714
1493
 
1715
- .e-slider {
1716
- box-sizing: border-box;
1717
- cursor: $slider-cursor;
1718
- display: block;
1719
- outline: 0 none;
1720
- padding: 0;
1721
- position: relative;
1494
+ .e-tip-content {
1495
+ background-color: transparent;
1496
+ @include size(16px, 100%);
1497
+ overflow: hidden;
1498
+ padding: 0 8px;
1499
+ @if $skin-name != 'Material3' and $skin-name != 'Material3-dark' {
1500
+ text-align: center;
1501
+ }
1502
+ @if $skin-name == 'material' or $skin-name == 'material-dark' or $skin-name == 'Material3' or $skin-name == 'Material3-dark' {
1503
+ top: calc(50% - 8px);
1504
+ position: relative;
1505
+ line-height: 16px;
1506
+ }
1507
+ @else {
1508
+ top: calc(50% - 10px);
1509
+ left: calc(50% - 36px);
1510
+ }
1722
1511
 
1723
- .e-handle {
1724
- border-radius: $slider-border-radius-handle;
1725
- @if ($skin-name == 'tailwind') {
1726
- box-shadow: $slider-handle-box-shadow;
1512
+ &.e-material-tooltip-show {
1513
+ color: $slider-material-tooltip-content-color;
1727
1514
  }
1728
- box-sizing: border-box;
1729
- cursor: $slider-handle-hover-cursor;
1730
- height: $slider-handle-height;
1731
- outline: none;
1732
- position: absolute;
1733
- touch-action: none;
1734
- transition: left 300ms ease-out, right 300ms ease-out, bottom 300ms ease-out, transform 300ms ease-out;
1735
- width: $slider-handle-width;
1736
- z-index: 10;
1737
1515
 
1738
- &.e-handle-active {
1739
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1740
- background-color: $slider-active-handle-bg-color;
1741
- border-color: $slider-hover-handle-color;
1742
- }
1516
+ &.e-material-tooltip-hide {
1517
+ color: transparent;
1743
1518
  }
1519
+ }
1744
1520
 
1745
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1746
- /* stylelint-disable */
1747
- cursor: -webkit-grab;
1748
- cursor: grab;
1749
- /* stylelint-enable */
1521
+ .e-arrow-tip-inner {
1522
+ color: $slider-handle-bg-color;
1523
+ }
1750
1524
 
1751
- &.e-handle-active {
1752
- /* stylelint-disable */
1753
- cursor: -webkit-grabbing;
1754
- cursor: grabbing;
1755
- /* stylelint-enable */
1756
- }
1525
+ .e-arrow-tip-outer {
1526
+ &.e-tip-bottom {
1527
+ border-top-color: $slider-handle-bg-color;
1528
+ }
1529
+ &.e-tip-top {
1530
+ border-bottom-color: $slider-handle-bg-color;
1531
+ }
1532
+ &.e-tip-right {
1533
+ border-left-color: $slider-handle-bg-color;
1534
+ }
1535
+ &.e-tip-left {
1536
+ border-right-color: $slider-handle-bg-color;
1537
+ }
1538
+ }
1757
1539
 
1758
- &.e-handle-start {
1759
- background-color: $slider-handle-start-background;
1760
- border: $slider-start-handle-border-size;
1761
- }
1540
+ &.e-tooltip-wrap.e-popup.e-material-default {
1541
+ background-color: $slider-handle-bg-color;
1542
+ border: 0;
1543
+ border-bottom-left-radius: 50%;
1544
+ border-bottom-right-radius: 0%;
1545
+ border-top-left-radius: 50%;
1546
+ border-top-right-radius: 50%;
1547
+ @include cursor-grab;
1548
+ opacity: 1;
1762
1549
 
1763
- &::after {
1764
- -moz-box-sizing: content-box;
1765
- -ms-transform: scale(0);
1766
- -webkit-box-sizing: content-box;
1767
- -webkit-transform: scale(0);
1768
- border: 0 solid;
1769
- border-radius: 50%;
1770
- box-sizing: content-box;
1771
- content: '';
1772
- filter: alpha(opacity=26);
1773
- height: 32px;
1774
- left: calc(50% - 16px);
1775
- opacity: .26;
1776
- position: $slider-handle-after-position;
1777
- top: calc(50% - 16px);
1778
- transform: scale(0);
1779
- transition: transform .4s cubic-bezier(.25, .8, .25, 1);
1780
- width: 32px;
1781
- z-index: -1;
1782
- }
1550
+ &.e-material-tooltip-start {
1551
+ background-color: $slider-handle-border-color;
1783
1552
  }
1784
1553
 
1785
- &.e-tab-handle {
1786
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1787
- &.e-handle-start::after {
1788
- background-color: $slider-tab-background;
1789
- opacity: .38;
1790
- }
1554
+ &.e-tooltip-active {
1555
+ @include cursor-grabbing;
1556
+ }
1791
1557
 
1792
- &::after {
1793
- -ms-transform: scale(1);
1794
- -webkit-transform: scale(1);
1795
- background-color: $slider-color;
1796
- transform: scale(1);
1797
- }
1798
- }
1558
+ .e-arrow-tip {
1559
+ visibility: hidden;
1560
+ }
1799
1561
 
1800
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'FluentUI') {
1801
- border-color: $slider-tab-border-color;
1802
- }
1562
+ &.e-slider-horizontal-before {
1563
+ @include slider-transform(45deg);
1564
+ }
1803
1565
 
1804
- /* stylelint-disable */
1805
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1806
- background-color: $slider-tab-background;
1807
- border-color: $slider-tab-border-color;
1808
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
1809
- }
1810
- @if ($skin-name == 'bootstrap4') {
1811
- background-color: $slider-tab-background;
1812
- border-color: $slider-tab-border-color;
1813
- box-shadow: $slider-tab-active-box-shadow;
1814
- }
1815
- @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
1816
- @if $skin-name == 'Material3' {
1817
- background: $slider-tab-background;
1818
- }
1819
- @else {
1820
- background-color: $slider-tab-background;
1821
- border: $slider-tab-border;
1822
- }
1823
- box-shadow: $slider-tab-active-box-shadow;
1824
- }
1825
- /* stylelint-enable */
1566
+ &.e-slider-horizontal-after {
1567
+ @include slider-transform(225deg);
1826
1568
  }
1827
- }
1828
1569
 
1829
- .e-tab-track {
1830
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
1831
- background-color: $slider-tab-track-color;
1570
+ &.e-slider-vertical-before {
1571
+ @include slider-transform(-45deg);
1832
1572
  }
1833
- }
1834
- }
1835
1573
 
1836
- .e-tick-before {
1837
- &.e-scale {
1838
- &.e-h-scale {
1839
- .e-tick {
1840
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1841
- height: $tick-after-height;
1842
- top: $tick-after-top;
1843
- }
1844
- @else {
1845
- background-position: bottom;
1846
- height: 50%;
1847
- top: 1px;
1848
- }
1849
- }
1574
+ &.e-slider-vertical-after {
1575
+ @include slider-transform(-225deg);
1576
+ }
1850
1577
 
1851
- .e-large {
1852
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1853
- height: $largetick-before-height;
1854
- top: $largetick-before-top;
1855
- }
1578
+ .e-tip-content {
1579
+ background-color: transparent;
1580
+ @include size(16px, 100%);
1581
+ overflow: hidden;
1582
+ padding: 0;
1583
+ text-align: center;
1584
+ @if $skin-name == 'material' or $skin-name == 'material-dark' {
1585
+ top: calc(50% - 8px);
1586
+ }
1587
+ @else {
1588
+ top: calc(50% - 10px);
1589
+ left: calc(50% - 16px);
1856
1590
  }
1857
- }
1858
1591
 
1859
- &.e-v-scale {
1860
- .e-tick {
1861
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1862
- left: $tick-after-left;
1863
- width: $tick-after-height;
1864
- }
1865
- @else {
1866
- background-position: right;
1867
- left: 1px;
1868
- width: 50%;
1869
- }
1592
+ &.e-material-tooltip-show {
1593
+ color: $slider-material-tooltip-content-color;
1870
1594
  }
1871
1595
 
1872
- .e-large {
1873
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1874
- left: $largetick-before-left;
1875
- width: $largetick-before-height;
1876
- }
1596
+ &.e-material-tooltip-hide {
1597
+ color: transparent;
1877
1598
  }
1878
1599
  }
1879
1600
  }
1880
1601
  }
1602
+ @else {
1603
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1604
+ background-color: $slider-active-handle-bg-color;
1605
+ border: 1px solid $slider-hover-handle-color;
1606
+ }
1881
1607
 
1882
- .e-tick-after {
1883
- &.e-scale {
1884
- &.e-h-scale {
1885
- .e-tick {
1886
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1887
- height: $tick-before-height;
1888
- top: $tick-before-top;
1889
- }
1890
- @else {
1891
- background-position-x: center;
1892
- height: 50%;
1893
- top: calc(50% - 1px);
1894
- }
1895
- }
1608
+ .e-tip-content {
1609
+ padding: $slider-tooltip-padding;
1610
+ text-align: center;
1896
1611
 
1897
- .e-large {
1898
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1899
- height: $largetick-after-height;
1900
- top: $largetick-after-top;
1901
- }
1902
- }
1612
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1613
+ color: $slider-button-icon-color;
1903
1614
  }
1615
+ }
1616
+ }
1617
+ }
1904
1618
 
1905
- &.e-v-scale {
1906
- .e-tick {
1907
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1908
- left: $tick-before-left;
1909
- width: $tick-before-height;
1910
- }
1911
- @else {
1912
- background-position: left;
1913
- left: calc(50% - 1px);
1914
- width: 50%;
1915
- }
1916
- }
1619
+ .e-slider-horizantal-color {
1620
+ @include alignment(100%, 0, 'horizontal');
1621
+ position: absolute;
1622
+ }
1917
1623
 
1918
- .e-large {
1919
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1920
- left: $largetick-after-left;
1921
- width: $largetick-after-height;
1922
- }
1923
- }
1624
+ .e-slider-vertical-color {
1625
+ position: absolute;
1626
+ @include alignment(100%, -1px, 'vertical');
1627
+ }
1628
+
1629
+ .e-bigger {
1630
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1631
+ .e-slider-tooltip.e-tooltip-wrap.e-popup {
1632
+ .e-tip-content {
1633
+ padding: $slider-tooltip-padding;
1924
1634
  }
1925
1635
  }
1926
1636
  }
1927
-
1928
- &.e-scale-before {
1929
- .e-scale {
1930
- &.e-v-scale {
1931
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1932
- right: 9px;
1933
- }
1637
+ @else {
1638
+ &.e-slider-tooltip.e-tooltip-wrap.e-popup {
1639
+ .e-tip-content {
1640
+ font-size: 11px;
1641
+ line-height: 16px;
1934
1642
  }
1935
1643
  }
1936
1644
  }
1645
+ }
1937
1646
 
1938
- &.e-scale-after {
1939
- .e-scale {
1940
- &.e-v-scale {
1941
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1942
- right: 9px;
1943
- }
1647
+ .e-bigger .e-control-wrapper.e-slider-container,
1648
+ .e-control-wrapper.e-slider-container.e-bigger {
1649
+ @if ($skin-name != 'material' and $skin-name != 'material-dark') {
1650
+ .e-slider {
1651
+ .e-handle {
1652
+ @include size($slider-handle-mobile-height, $slider-handle-mobile-width);
1944
1653
  }
1945
1654
  }
1946
- }
1947
1655
 
1948
- .e-tick-both {
1949
- &.e-scale {
1950
- &.e-h-scale {
1951
- .e-tick {
1952
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1953
- height: calc(100% - 6px);
1954
- top: -11px;
1955
- }
1956
- @if ($skin-name == 'bootstrap4') {
1957
- height: 16px;
1958
- top: -8px;
1959
- }
1960
- @if ($skin-name == 'bootstrap5') {
1961
- height: 18px;
1962
- top: -11px;
1963
- }
1964
- @if ($skin-name == 'Material3') {
1965
- height: 18px;
1966
- top: -13px;
1967
- }
1968
- @if ($skin-name == 'tailwind') {
1969
- height: 16px;
1970
- top: -16px;
1971
- }
1656
+ @if ($skin-name == 'FluentUI') {
1657
+ .e-slider-button {
1658
+ @include size(20px, 20px);
1659
+ }
1972
1660
 
1973
- @if ($skin-name == 'FluentUI') {
1974
- height: 30px;
1975
- top: -17px;
1976
- }
1977
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark') {
1978
- height: calc(100% - 3px);
1979
- top: -12.5px;
1980
- }
1981
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
1982
- height: calc(100% - 6px);
1983
- top: -12px;
1984
- }
1985
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
1986
- background-position: center;
1987
- height: 99%;
1661
+ &.e-horizontal {
1662
+ .e-first-button,
1663
+ .e-second-button {
1664
+ margin-top: $slider-touch-btn-center-align;
1665
+
1666
+ .e-button-icon::before {
1667
+ font-size: 17px;
1988
1668
  }
1989
1669
  }
1670
+ }
1990
1671
 
1991
- .e-large {
1992
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
1993
- height: 100%;
1994
- top: -8px;
1995
- }
1996
- @if ($skin-name == 'bootstrap4') {
1997
- height: 22px;
1998
- top: -5px;
1999
- }
2000
- @if ($skin-name == 'bootstrap5') {
2001
- height: 26px;
2002
- top: -7px;
2003
- }
2004
- @if ($skin-name == 'tailwind') {
2005
- height: 24px;
2006
- top: -12px;
2007
- }
2008
- @if ($skin-name == 'FluentUI') {
2009
- height: 38px;
2010
- top: -13px;
2011
- }
2012
- @if ($skin-name == 'Material3') {
2013
- height: 26px;
2014
- top: -10px;
2015
- }
2016
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2017
- height: calc(100% + 3px);
2018
- top: -9px;
2019
- }
2020
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2021
- height: calc(100% + 2px);
2022
- top: -8px;
1672
+ &.e-vertical {
1673
+ .e-first-button,
1674
+ .e-second-button {
1675
+ margin-right: $slider-touch-btn-center-align;
1676
+
1677
+ .e-button-icon::before {
1678
+ font-size: 17px;
2023
1679
  }
2024
1680
  }
2025
1681
  }
1682
+ }
2026
1683
 
2027
- &.e-v-scale {
2028
- .e-tick {
2029
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
2030
- background-position: center;
2031
- width: 100%;
1684
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
1685
+ .e-slider-button {
1686
+ @include size(18px, 18px);
1687
+ }
1688
+
1689
+ &.e-vertical {
1690
+ &.e-slider-btn {
1691
+ @if ($skin-name == 'bootstrap5') {
1692
+ padding: 36px 0;
2032
1693
  }
2033
- @if ($skin-name == 'bootstrap4') {
2034
- background-position: center;
2035
- left: 6px;
2036
- width: calc(100% - 12px);
1694
+ @else {
1695
+ padding: 34px 0;
2037
1696
  }
1697
+ }
1698
+
1699
+ .e-first-button,
1700
+ .e-second-button {
2038
1701
  @if ($skin-name == 'bootstrap5' or $skin-name == 'Material3') {
2039
- background-position: center;
2040
- left: 5px;
2041
- width: 18px;
2042
- }
2043
- @if ($skin-name == 'tailwind') {
2044
- left: 6px;
2045
- width: 16px;
2046
- }
2047
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2048
- background-position: center;
2049
- width: 100%;
2050
- }
2051
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
2052
- left: 0;
2053
- width: calc(100% - 2px);
1702
+ margin-right: -12px;
2054
1703
  }
2055
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2056
- left: 2px;
2057
- width: calc(100% - 6px);
1704
+ @else {
1705
+ margin-right: -9px;
2058
1706
  }
2059
1707
  }
2060
1708
 
2061
- .e-large {
2062
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark') {
2063
- width: 100%;
2064
- }
2065
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
2066
- left: 3px;
2067
- width: calc(100% - 6px);
2068
- }
2069
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
2070
- left: 1px;
2071
- width: 26px;
2072
- }
2073
- @if ($skin-name == 'tailwind') {
2074
- left: 3px;
2075
- width: 24px;
1709
+ .e-slider {
1710
+ .e-slider-track {
1711
+ @include alignment(8px, calc(50% - 4px), 'vertical');
1712
+ @if $skin-name == 'fluent2' {
1713
+ border-radius: 8px;
1714
+ }
2076
1715
  }
2077
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2078
- width: 100%;
1716
+
1717
+ @if $skin-name == 'fluent2' {
1718
+ &.e-scale {
1719
+ margin-top: $slider-touch-center-align;
1720
+ }
1721
+ &.e-v-scale {
1722
+ left: calc(50% - 14px);
1723
+ }
2079
1724
  }
2080
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2081
- left: -2px;
2082
- width: calc(100% + 3px);
1725
+
1726
+ .e-range {
1727
+ @include alignment(8px, calc(50% - 4px), 'vertical');
2083
1728
  }
2084
1729
  }
2085
1730
  }
2086
- }
2087
- }
2088
-
2089
- .e-scale {
2090
- box-sizing: content-box;
2091
- font-family: $slider-scale-font-family;
2092
- height: 28px;
2093
- line-height: normal;
2094
- list-style: none outside none;
2095
- margin: 0;
2096
- outline: 0 none;
2097
- padding: 0;
2098
- position: absolute;
2099
- top: $slider-scale-top;
2100
- width: 100%;
2101
- z-index: 1;
2102
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
2103
- font-size: $slider-scale-font-size;
2104
- margin-top: $slider-center-align;
2105
- }
2106
1731
 
2107
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2108
- z-index: -1;
2109
- }
1732
+ &.e-horizontal .e-slider {
1733
+ .e-limits {
1734
+ @include alignment(8px, calc(50% - 4px), 'horizontal');
1735
+ @if ($skin-name == 'bootstrap5' and $skin-name == 'FluentUI') {
1736
+ border-radius: $slider-range-border-radius;
1737
+ }
1738
+ }
1739
+ }
2110
1740
 
2111
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2112
- &.e-tick-both {
2113
- top: 12px;
1741
+ &.e-vertical .e-slider {
1742
+ .e-limits {
1743
+ @include alignment(8px, calc(50% - 4px), 'vertical');
1744
+ @if ($skin-name == 'bootstrap5' and $skin-name == 'FluentUI') {
1745
+ border-radius: $slider-range-border-radius;
1746
+ }
1747
+ }
2114
1748
  }
2115
1749
  }
2116
1750
 
2117
- .e-tick {
2118
- @if ($theme-name == 'bootstrap5-dark' or $theme-name == 'tailwind-dark' or $theme-name == 'fluentui-dark') {
2119
- background-image: $slider-scale-tick-image-dark;
2120
- }
2121
- @else {
2122
- background-image: $slider-scale-tick-image;
2123
- }
2124
- cursor: $slider-cursor;
2125
- outline: none;
2126
- position: relative;
2127
- user-select: none;
2128
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
2129
- background-position: center center;
2130
- }
1751
+ @if ($skin-name == 'bootstrap5' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
2131
1752
 
2132
- @if ($skin-name == 'bootstrap4' or $skin-name == 'tailwind' or $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
2133
- &.e-large {
2134
- @if ($skin-name != 'bootstrap4') {
2135
- background-image: $slider-scale-tick-image-dark;
1753
+ &.e-horizontal,
1754
+ &.e-vertical {
1755
+ .e-slider-button.e-first-button,
1756
+ .e-slider-button.e-second-button {
1757
+ border-radius: 12px;
1758
+ @include size(24px, 24px);
1759
+ @if $skin-name == 'Material3' {
1760
+ padding: 0;
2136
1761
  }
2137
- @else {
2138
- background-image: $slider-small-scale-tick-image;
1762
+
1763
+ .e-button-icon::before {
1764
+ font-size: 22px;
2139
1765
  }
2140
1766
  }
2141
1767
  }
2142
1768
 
2143
- .e-tick-value {
2144
- color: $slider-tick-font-color;
2145
- font-family: $slider-scale-font-family;
2146
- font-size: $slider-scale-font-size;
2147
- outline: none;
2148
- position: absolute;
2149
- user-select: none;
2150
- white-space: nowrap;
2151
- @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3') {
2152
- line-height: 1.5;
2153
- }
2154
- @if ($skin-name == 'tailwind') {
2155
- line-height: 18px;
1769
+ &.e-horizontal {
1770
+
1771
+ .e-slider-button.e-first-button,
1772
+ .e-slider-button.e-second-button {
1773
+ margin-top: -12px;
2156
1774
  }
2157
- }
2158
- }
2159
1775
 
2160
- &.e-v-scale {
2161
- height: 100%;
2162
- @if ($skin-name == 'tailwind') {
2163
- left: calc(50% - 12px);
2164
- }
2165
- @else {
2166
- left: calc(50% - 14px);
2167
- }
2168
- top: 0;
2169
- width: 28px;
2170
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4' or $skin-name == 'bootstrap5') {
2171
- margin-top: -2px;
2172
- }
1776
+ .e-tick-both {
1777
+ &.e-scale {
1778
+ &.e-h-scale {
1779
+ .e-tick {
1780
+ @include alignment(24px, -14px, 'horizontal');
1781
+ }
2173
1782
 
2174
- .e-tick {
2175
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2176
- background-repeat: no-repeat;
1783
+ .e-large {
1784
+ @if $skin-name == 'fluent2' {
1785
+ @include alignment(32px, -6px, 'horizontal');
1786
+ }
1787
+ @else {
1788
+ @include alignment(32px, -10px, 'horizontal');
1789
+ }
1790
+ }
1791
+ }
1792
+ }
2177
1793
  }
2178
1794
 
2179
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
2180
- background-repeat: repeat-x;
1795
+ .e-tick-before {
1796
+ &.e-scale {
1797
+ &.e-h-scale {
1798
+ .e-tick {
1799
+ @include alignment($tick-after-mobile-height, $tick-before-mobile-top, 'horizontal');
1800
+ }
1801
+
1802
+ .e-large {
1803
+ @include alignment($largetick-before-mobile-height, $tick-before-mobile-top, 'horizontal');
1804
+ }
1805
+ }
1806
+ }
2181
1807
  }
2182
1808
 
2183
- &.e-first-tick {
2184
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
2185
- background-position-y: center;
1809
+ .e-tick-after {
1810
+ &.e-scale {
1811
+ &.e-h-scale {
1812
+ .e-tick {
1813
+ @include alignment($tick-after-mobile-height, $tick-after-mobile-top, 'horizontal');
1814
+ }
1815
+
1816
+ .e-large {
1817
+ @include alignment($largetick-before-mobile-height, $largetick-after-mobile-top, 'horizontal');
1818
+ }
1819
+ }
2186
1820
  }
2187
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2188
- background-position-y: top;
1821
+ }
1822
+ }
1823
+
1824
+ &.e-vertical {
1825
+
1826
+ .e-tick-both {
1827
+ &.e-scale {
1828
+ .e-tick {
1829
+ @include alignment(24px, 2px, 'vertical');
1830
+ }
1831
+
1832
+ .e-large {
1833
+ @include alignment(32px, -2px, 'vertical');
1834
+ }
2189
1835
  }
2190
1836
  }
2191
1837
 
2192
- &.e-last-tick {
2193
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
2194
- background-position-y: bottom;
2195
- margin-top: 2px;
2196
- @if ($skin-name == 'tailwind') {
2197
- margin-top: 3px;
1838
+ .e-tick-before {
1839
+
1840
+ &.e-scale {
1841
+ &.e-v-scale {
1842
+ .e-tick {
1843
+ @include alignment($tick-after-mobile-height, $tick-before-mobile-left, 'vertical');
1844
+ }
1845
+
1846
+ .e-large {
1847
+ @include alignment($largetick-before-mobile-height, $largetick-before-mobile-left, 'vertical');
1848
+ }
2198
1849
  }
2199
1850
  }
2200
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2201
- background-position-y: bottom;
1851
+ }
1852
+
1853
+ .e-tick-after {
1854
+
1855
+ &.e-scale {
1856
+ &.e-v-scale {
1857
+ .e-tick {
1858
+ @include alignment($tick-after-mobile-height, $tick-after-mobile-left, 'vertical');
1859
+ }
1860
+
1861
+ .e-large {
1862
+ @include alignment($largetick-before-mobile-height, $tick-after-mobile-left, 'vertical');
1863
+ }
1864
+ }
2202
1865
  }
2203
1866
  }
2204
1867
  }
2205
1868
  }
2206
1869
 
2207
- &.e-h-scale {
2208
- &.e-tick-after {
2209
- @if ($skin-name == 'tailwind') {
2210
- top: 3px;
1870
+ @if ($skin-name == 'tailwind') {
1871
+ .e-scale.e-h-scale {
1872
+ &.e-tick-after {
1873
+ top: 7px;
2211
1874
  }
2212
1875
  }
2213
1876
 
2214
- &.e-tick-before {
2215
- @if ($skin-name == 'tailwind') {
2216
- top: 15px;
1877
+ &.e-horizontal,
1878
+ &.e-vertical {
1879
+ .e-slider-button.e-first-button,
1880
+ .e-slider-button.e-second-button {
1881
+ border-radius: 12px;
1882
+ @include size(24px, 24px);
1883
+
1884
+ .e-button-icon::before {
1885
+ font-size: 22px;
1886
+ }
2217
1887
  }
2218
1888
  }
2219
1889
 
2220
- .e-tick {
2221
- display: inline-block;
2222
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2223
- background-repeat: no-repeat;
2224
- }
1890
+ &.e-horizontal {
2225
1891
 
2226
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
2227
- background-repeat: repeat-y;
2228
- height: 100%;
2229
- top: 0;
1892
+ &.e-scale-both .e-range,
1893
+ .e-limits {
1894
+ height: 6px;
2230
1895
  }
2231
1896
 
2232
- .e-tick-value {
2233
- &.e-tick-before {
2234
- top: -18px;
2235
- }
1897
+ .e-slider-track {
1898
+ border-radius: 6px;
1899
+ }
2236
1900
 
2237
- &.e-tick-after {
2238
- bottom: -20px;
2239
- }
1901
+ .e-first-button,
1902
+ .e-second-button {
1903
+ margin-top: -14px;
1904
+ }
2240
1905
 
2241
- &.e-tick-both {
2242
- bottom: -20px;
1906
+ .e-tick-both {
1907
+ &.e-scale {
1908
+ &.e-h-scale {
1909
+ .e-tick {
1910
+ @include alignment(22px, -19px, 'horizontal');
1911
+ }
2243
1912
 
2244
- &:first-child {
2245
- top: -18px;
1913
+ .e-large {
1914
+ @include alignment(30px, -16px, 'horizontal');
1915
+ }
2246
1916
  }
2247
1917
  }
2248
1918
  }
2249
1919
 
2250
- &.e-first-tick {
2251
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
2252
- background-position: left center;
2253
- }
2254
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2255
- background-position-x: left;
2256
- }
2257
- }
1920
+ .e-tick-before,
1921
+ .e-tick-after {
1922
+ &.e-scale {
1923
+ &.e-h-scale {
1924
+ .e-tick {
1925
+ height: $tick-after-mobile-height;
1926
+ }
2258
1927
 
2259
- &.e-last-tick {
2260
- @if ($skin-name != 'material' and $skin-name != 'material-dark') {
2261
- background-position: right center;
2262
- }
2263
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2264
- background-position-x: right;
1928
+ .e-large {
1929
+ height: $largetick-before-mobile-height;
1930
+ }
1931
+ }
2265
1932
  }
2266
1933
  }
2267
- }
2268
- }
2269
- }
2270
1934
 
2271
- &.e-horizontal {
2272
- &.e-scale-both {
2273
- .e-scale {
2274
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
2275
- top: 12px;
2276
- }
2277
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4' or $skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
2278
- top: 15px;
1935
+ &.e-scale-both {
1936
+ .e-scale {
1937
+ top: 17px;
1938
+ }
2279
1939
  }
2280
- }
2281
1940
 
2282
- .e-slider-track {
2283
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
2284
- border-color: $slider-track-border-color;
2285
- border-radius: 1px;
2286
- border-style: solid;
2287
- border-width: 5px 0;
2288
- height: 14px;
2289
- margin-top: -4px;
2290
- top: calc(50% - 3px);
2291
- }
2292
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2293
- border-color: $slider-tack-ticks-border-color;
2294
- border-radius: 4px;
2295
- border-style: solid;
2296
- border-width: 4px;
2297
- height: 14px;
2298
- top: calc(50% - 6px);
1941
+ &.e-slider-btn {
1942
+ padding: $slider-button-horizon-mobile-padding;
2299
1943
  }
2300
1944
  }
2301
- }
2302
- }
2303
1945
 
2304
- &.e-vertical {
2305
- &.e-scale-both {
2306
- .e-scale {
2307
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
2308
- right: 12px;
2309
- }
2310
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2311
- right: 11px;
1946
+ &.e-vertical {
1947
+
1948
+ &.e-scale-both .e-range,
1949
+ .e-range {
1950
+ width: 6px;
2312
1951
  }
2313
- }
2314
1952
 
2315
- .e-slider-track {
2316
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
2317
- border-color: $slider-track-border-color;
2318
- border-radius: 1px;
2319
- border-style: solid;
2320
- border-width: 0 5px;
2321
- left: calc(50% - 1px);
2322
- margin-left: -7px;
2323
- width: 14px;
1953
+ .e-slider-track {
1954
+ border-radius: 6px;
2324
1955
  }
2325
- @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2326
- border-color: $slider-tack-ticks-border-color;
2327
- border-radius: 1px;
2328
- border-style: solid;
2329
- border-width: 0 5px;
2330
- left: calc(50% - 1px);
2331
- margin-left: -7px;
2332
- width: 14px;
1956
+
1957
+ &.e-slider-btn {
1958
+ padding: $slider-button-vertical-mobile-padding;
2333
1959
  }
2334
- }
2335
1960
 
2336
- .e-range {
2337
- @if ($skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'FluentUI') {
2338
- margin-left: -1px;
1961
+ .e-slider-button {
1962
+ margin-right: -15px;
2339
1963
  }
2340
- }
2341
- }
2342
- }
2343
1964
 
2344
- &.e-scale-both {
2345
- &.e-vertical {
2346
- .e-scale {
2347
- &.e-h-scale {
2348
- @if $skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'FluentUI' {
2349
- margin-left: -7px;
1965
+ .e-tick-both {
1966
+ &.e-scale {
1967
+ &.e-v-scale {
1968
+ .e-tick {
1969
+ @include alignment(22px, 4px, 'vertical');
1970
+ }
1971
+
1972
+ .e-large {
1973
+ @include alignment(30px, -0, 'vertical');
1974
+ }
1975
+ }
2350
1976
  }
2351
1977
  }
2352
- }
2353
1978
 
2354
- &.e-small-size {
2355
- .e-scale {
2356
- &.e-h-scale {
2357
- @if $skin-name == 'fabric' or $skin-name == 'fabric-dark' or $skin-name == 'highcontrast' or $skin-name == 'highcontrast-light' or $skin-name == 'FluentUI' {
2358
- margin-left: -7px;
1979
+ .e-tick-before,
1980
+ .e-tick-after {
1981
+
1982
+ &.e-scale {
1983
+ &.e-v-scale {
1984
+ .e-tick {
1985
+ width: $tick-after-mobile-height;
1986
+ }
1987
+
1988
+ .e-large {
1989
+ width: $largetick-before-mobile-height;
1990
+ }
2359
1991
  }
2360
1992
  }
2361
1993
  }
2362
1994
  }
2363
1995
  }
2364
- }
2365
- }
2366
1996
 
2367
- .e-control-wrapper.e-slider-container {
2368
- &.e-vertical {
2369
- &.e-scale-both {
2370
- .e-scale.e-v-scale {
2371
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4') {
2372
- right: 10px;
1997
+ &.e-horizontal {
1998
+ @if ($skin-name == 'bootstrap5') {
1999
+ &.e-slider-btn {
2000
+ padding: 0 36px;
2373
2001
  }
2374
2002
  }
2375
- }
2376
- }
2003
+ @if ($skin-name == 'bootstrap4') {
2004
+ &.e-slider-btn {
2005
+ padding: 0 34px;
2006
+ }
2377
2007
 
2378
- .e-scale.e-v-scale {
2379
- &.e-tick-after {
2380
- @if ($skin-name == 'tailwind') {
2381
- left: calc(50% - 17px);
2008
+ .e-slider-button {
2009
+ @include size($slider-handle-mobile-buttons-height, $slider-handle-mobile-buttons-width);
2010
+ margin-top: -9px;
2011
+ }
2382
2012
  }
2383
- }
2384
2013
 
2385
- &.e-tick-before {
2386
2014
  @if ($skin-name == 'tailwind') {
2387
- left: calc(50% - 7px);
2015
+ .e-slider-track,
2016
+ .e-range {
2017
+ height: 6px;
2018
+ }
2388
2019
  }
2389
- }
2390
2020
 
2391
- .e-tick {
2392
- .e-tick-value {
2393
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2394
- &.e-tick-before {
2395
- right: 26px;
2021
+ .e-slider {
2022
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'Material3' or $skin-name == 'fluent2') {
2023
+ .e-slider-track,
2024
+ .e-range {
2025
+ @include alignment(8px, calc(50% - 4px), 'horizontal');
2396
2026
  }
2027
+ }
2397
2028
 
2398
- &.e-tick-after {
2399
- left: 27px;
2029
+ .e-handle {
2030
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'FluentUI' or $skin-name == 'Material3') {
2031
+ margin-left: $slider-handle-mobile-margin-left;
2032
+ top: $slider-handle-mobile-handle-top;
2400
2033
  }
2034
+ @else {
2035
+ margin-left: -9px;
2036
+ top: calc(50% - 9px);
2037
+ }
2038
+ }
2039
+ }
2401
2040
 
2402
- &.e-tick-both {
2403
- right: 41px;
2404
-
2405
- &:first-child {
2406
- left: 39px;
2041
+ &.e-scale-both {
2042
+ .e-slider {
2043
+ .e-handle {
2044
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2045
+ margin-left: -9px;
2046
+ top: calc(50% - 8px);
2407
2047
  }
2408
2048
  }
2409
2049
  }
2410
- @else {
2411
- &.e-tick-before {
2412
- right: 17px;
2050
+ }
2051
+ }
2052
+
2053
+ &.e-vertical {
2054
+ .e-slider {
2055
+ .e-handle {
2056
+ @if ($skin-name == 'tailwind') {
2057
+ left: calc(50% - 5px);
2058
+ }
2059
+ @else if $skin-name == 'Material3' {
2060
+ left: calc(50% - 14px);
2061
+ }
2062
+ @else {
2063
+ left: calc(50% - 9px);
2413
2064
  }
2065
+ margin-bottom: -9px;
2066
+ @if ($skin-name == 'bootstrap4' or $skin-name == 'bootstrap5' or $skin-name == 'FluentUI') {
2067
+ left: calc(50% - 8px);
2068
+ margin-bottom: -8px;
2069
+ }
2070
+ }
2414
2071
 
2415
- &.e-tick-after {
2416
- left: 19px;
2072
+ @if ($skin-name == 'tailwind') {
2073
+ .e-range {
2074
+ width: 6px;
2417
2075
  }
2076
+ }
2077
+ }
2418
2078
 
2419
- &.e-tick-both {
2420
- @if $skin-name == 'bootstrap4' {
2421
- right: 30px;
2422
- }
2423
- @else {
2424
- right: 44px;
2079
+ &.e-scale-both {
2080
+ .e-slider {
2081
+ .e-handle {
2082
+ @if ($skin-name == 'highcontrast' or $skin-name == 'highcontrast-light') {
2083
+ left: calc(50% - 10px);
2084
+ margin-bottom: -9px;
2425
2085
  }
2426
-
2427
- &:first-child {
2428
- @if $skin-name == 'bootstrap4' {
2429
- left: 30px;
2430
- }
2431
- @else {
2432
- left: 42px;
2433
- }
2086
+ @if $skin-name == 'bootstrap4' {
2087
+ left: calc(50% - 8px);
2088
+ margin-bottom: -8px;
2434
2089
  }
2435
2090
  }
2436
2091
  }
2437
2092
  }
2438
- }
2439
- }
2440
- }
2441
-
2442
- .e-control-wrapper.e-slider-container {
2443
- .e-scale .e-tick {
2444
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2445
- visibility: hidden;
2446
- }
2447
2093
 
2448
- .e-tick-value {
2449
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2450
- visibility: visible;
2094
+ @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
2095
+ .e-slider-track,
2096
+ .e-range {
2097
+ width: 6px;
2098
+ }
2451
2099
  }
2452
2100
  }
2453
- }
2454
- }
2455
2101
 
2456
- .e-control-wrapper.e-slider-container:hover {
2457
- .e-scale .e-tick {
2458
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2459
- visibility: visible;
2102
+ &.e-rtl {
2103
+ &.e-horizontal {
2104
+ .e-slider {
2105
+ .e-handle {
2106
+ @if ($skin-name == 'tailwind' or $skin-name == 'bootstrap5') {
2107
+ margin: 0 -8px 0 0;
2108
+ }
2109
+ }
2110
+ }
2111
+ }
2460
2112
  }
2461
2113
  }
2462
- }
2463
2114
 
2464
- .e-control-wrapper.e-slider-container:active {
2465
- .e-scale .e-tick {
2466
- @if ($skin-name == 'material' or $skin-name == 'material-dark') {
2467
- visibility: visible;
2468
- }
2115
+ .e-scale .e-tick .e-tick-value {
2116
+ font-size: $slider-mobile-scale-font-size;
2469
2117
  }
2470
2118
  }
2471
2119
 
@@ -2474,16 +2122,5 @@
2474
2122
  visibility: visible;
2475
2123
  }
2476
2124
  }
2477
-
2478
- .e-control-wrapper.e-slider-container .e-slider {
2479
- .e-handle.e-handle-active {
2480
- @if ($skin-name == 'bootstrap' or $skin-name == 'bootstrap-dark' or $skin-name == 'bootstrap4') {
2481
- background-color: $slider-handle-active-bg-color;
2482
- border-color: $slider-handle-active-border-color;
2483
- }
2484
- @if ($skin-name == 'bootstrap4') {
2485
- box-shadow: $slider-handle-active-box-shadow;
2486
- }
2487
- }
2488
- }
2125
+ /* stylelint-enable property-no-vendor-prefix */
2489
2126
  }