@timus-networks/theme 1.0.7 → 1.0.9

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 (336) hide show
  1. package/components-js/ThemeButtons.vue +140 -0
  2. package/components-js/ThemeInputs.vue +361 -0
  3. package/components-js/ThemeTypo.vue +63 -0
  4. package/components-js/TimusSamples.vue +27 -0
  5. package/components-ts/ThemeButtons.vue +140 -0
  6. package/components-ts/ThemeInputs.vue +361 -0
  7. package/components-ts/ThemeTypo.vue +63 -0
  8. package/components-ts/TimusSamples.vue +27 -0
  9. package/convert-js.js +0 -1
  10. package/convert-sass.js +19 -8
  11. package/fonts/poppins/100-italic.css +29 -0
  12. package/fonts/poppins/100.css +29 -0
  13. package/fonts/poppins/200-italic.css +29 -0
  14. package/fonts/poppins/200.css +29 -0
  15. package/fonts/poppins/300-italic.css +29 -0
  16. package/fonts/poppins/300.css +29 -0
  17. package/fonts/poppins/400-italic.css +29 -0
  18. package/fonts/poppins/400.css +29 -0
  19. package/fonts/poppins/500-italic.css +29 -0
  20. package/fonts/poppins/500.css +29 -0
  21. package/fonts/poppins/600-italic.css +29 -0
  22. package/fonts/poppins/600.css +29 -0
  23. package/fonts/poppins/700-italic.css +29 -0
  24. package/fonts/poppins/700.css +29 -0
  25. package/fonts/poppins/800-italic.css +29 -0
  26. package/fonts/poppins/800.css +29 -0
  27. package/fonts/poppins/900-italic.css +29 -0
  28. package/fonts/poppins/900.css +29 -0
  29. package/fonts/poppins/CHANGELOG.md +2 -0
  30. package/fonts/poppins/LICENSE +93 -0
  31. package/fonts/poppins/README.md +47 -0
  32. package/fonts/poppins/devanagari-100-italic.css +8 -0
  33. package/fonts/poppins/devanagari-100.css +8 -0
  34. package/fonts/poppins/devanagari-200-italic.css +8 -0
  35. package/fonts/poppins/devanagari-200.css +8 -0
  36. package/fonts/poppins/devanagari-300-italic.css +8 -0
  37. package/fonts/poppins/devanagari-300.css +8 -0
  38. package/fonts/poppins/devanagari-400-italic.css +8 -0
  39. package/fonts/poppins/devanagari-400.css +8 -0
  40. package/fonts/poppins/devanagari-500-italic.css +8 -0
  41. package/fonts/poppins/devanagari-500.css +8 -0
  42. package/fonts/poppins/devanagari-600-italic.css +8 -0
  43. package/fonts/poppins/devanagari-600.css +8 -0
  44. package/fonts/poppins/devanagari-700-italic.css +8 -0
  45. package/fonts/poppins/devanagari-700.css +8 -0
  46. package/fonts/poppins/devanagari-800-italic.css +8 -0
  47. package/fonts/poppins/devanagari-800.css +8 -0
  48. package/fonts/poppins/devanagari-900-italic.css +8 -0
  49. package/fonts/poppins/devanagari-900.css +8 -0
  50. package/fonts/poppins/devanagari-italic.css +80 -0
  51. package/fonts/poppins/devanagari.css +80 -0
  52. package/fonts/poppins/files/poppins-devanagari-100-italic.woff +0 -0
  53. package/fonts/poppins/files/poppins-devanagari-100-italic.woff2 +0 -0
  54. package/fonts/poppins/files/poppins-devanagari-100-normal.woff +0 -0
  55. package/fonts/poppins/files/poppins-devanagari-100-normal.woff2 +0 -0
  56. package/fonts/poppins/files/poppins-devanagari-200-italic.woff +0 -0
  57. package/fonts/poppins/files/poppins-devanagari-200-italic.woff2 +0 -0
  58. package/fonts/poppins/files/poppins-devanagari-200-normal.woff +0 -0
  59. package/fonts/poppins/files/poppins-devanagari-200-normal.woff2 +0 -0
  60. package/fonts/poppins/files/poppins-devanagari-300-italic.woff +0 -0
  61. package/fonts/poppins/files/poppins-devanagari-300-italic.woff2 +0 -0
  62. package/fonts/poppins/files/poppins-devanagari-300-normal.woff +0 -0
  63. package/fonts/poppins/files/poppins-devanagari-300-normal.woff2 +0 -0
  64. package/fonts/poppins/files/poppins-devanagari-400-italic.woff +0 -0
  65. package/fonts/poppins/files/poppins-devanagari-400-italic.woff2 +0 -0
  66. package/fonts/poppins/files/poppins-devanagari-400-normal.woff +0 -0
  67. package/fonts/poppins/files/poppins-devanagari-400-normal.woff2 +0 -0
  68. package/fonts/poppins/files/poppins-devanagari-500-italic.woff +0 -0
  69. package/fonts/poppins/files/poppins-devanagari-500-italic.woff2 +0 -0
  70. package/fonts/poppins/files/poppins-devanagari-500-normal.woff +0 -0
  71. package/fonts/poppins/files/poppins-devanagari-500-normal.woff2 +0 -0
  72. package/fonts/poppins/files/poppins-devanagari-600-italic.woff +0 -0
  73. package/fonts/poppins/files/poppins-devanagari-600-italic.woff2 +0 -0
  74. package/fonts/poppins/files/poppins-devanagari-600-normal.woff +0 -0
  75. package/fonts/poppins/files/poppins-devanagari-600-normal.woff2 +0 -0
  76. package/fonts/poppins/files/poppins-devanagari-700-italic.woff +0 -0
  77. package/fonts/poppins/files/poppins-devanagari-700-italic.woff2 +0 -0
  78. package/fonts/poppins/files/poppins-devanagari-700-normal.woff +0 -0
  79. package/fonts/poppins/files/poppins-devanagari-700-normal.woff2 +0 -0
  80. package/fonts/poppins/files/poppins-devanagari-800-italic.woff +0 -0
  81. package/fonts/poppins/files/poppins-devanagari-800-italic.woff2 +0 -0
  82. package/fonts/poppins/files/poppins-devanagari-800-normal.woff +0 -0
  83. package/fonts/poppins/files/poppins-devanagari-800-normal.woff2 +0 -0
  84. package/fonts/poppins/files/poppins-devanagari-900-italic.woff +0 -0
  85. package/fonts/poppins/files/poppins-devanagari-900-italic.woff2 +0 -0
  86. package/fonts/poppins/files/poppins-devanagari-900-normal.woff +0 -0
  87. package/fonts/poppins/files/poppins-devanagari-900-normal.woff2 +0 -0
  88. package/fonts/poppins/files/poppins-latin-100-italic.woff +0 -0
  89. package/fonts/poppins/files/poppins-latin-100-italic.woff2 +0 -0
  90. package/fonts/poppins/files/poppins-latin-100-normal.woff +0 -0
  91. package/fonts/poppins/files/poppins-latin-100-normal.woff2 +0 -0
  92. package/fonts/poppins/files/poppins-latin-200-italic.woff +0 -0
  93. package/fonts/poppins/files/poppins-latin-200-italic.woff2 +0 -0
  94. package/fonts/poppins/files/poppins-latin-200-normal.woff +0 -0
  95. package/fonts/poppins/files/poppins-latin-200-normal.woff2 +0 -0
  96. package/fonts/poppins/files/poppins-latin-300-italic.woff +0 -0
  97. package/fonts/poppins/files/poppins-latin-300-italic.woff2 +0 -0
  98. package/fonts/poppins/files/poppins-latin-300-normal.woff +0 -0
  99. package/fonts/poppins/files/poppins-latin-300-normal.woff2 +0 -0
  100. package/fonts/poppins/files/poppins-latin-400-italic.woff +0 -0
  101. package/fonts/poppins/files/poppins-latin-400-italic.woff2 +0 -0
  102. package/fonts/poppins/files/poppins-latin-400-normal.woff +0 -0
  103. package/fonts/poppins/files/poppins-latin-400-normal.woff2 +0 -0
  104. package/fonts/poppins/files/poppins-latin-500-italic.woff +0 -0
  105. package/fonts/poppins/files/poppins-latin-500-italic.woff2 +0 -0
  106. package/fonts/poppins/files/poppins-latin-500-normal.woff +0 -0
  107. package/fonts/poppins/files/poppins-latin-500-normal.woff2 +0 -0
  108. package/fonts/poppins/files/poppins-latin-600-italic.woff +0 -0
  109. package/fonts/poppins/files/poppins-latin-600-italic.woff2 +0 -0
  110. package/fonts/poppins/files/poppins-latin-600-normal.woff +0 -0
  111. package/fonts/poppins/files/poppins-latin-600-normal.woff2 +0 -0
  112. package/fonts/poppins/files/poppins-latin-700-italic.woff +0 -0
  113. package/fonts/poppins/files/poppins-latin-700-italic.woff2 +0 -0
  114. package/fonts/poppins/files/poppins-latin-700-normal.woff +0 -0
  115. package/fonts/poppins/files/poppins-latin-700-normal.woff2 +0 -0
  116. package/fonts/poppins/files/poppins-latin-800-italic.woff +0 -0
  117. package/fonts/poppins/files/poppins-latin-800-italic.woff2 +0 -0
  118. package/fonts/poppins/files/poppins-latin-800-normal.woff +0 -0
  119. package/fonts/poppins/files/poppins-latin-800-normal.woff2 +0 -0
  120. package/fonts/poppins/files/poppins-latin-900-italic.woff +0 -0
  121. package/fonts/poppins/files/poppins-latin-900-italic.woff2 +0 -0
  122. package/fonts/poppins/files/poppins-latin-900-normal.woff +0 -0
  123. package/fonts/poppins/files/poppins-latin-900-normal.woff2 +0 -0
  124. package/fonts/poppins/files/poppins-latin-ext-100-italic.woff +0 -0
  125. package/fonts/poppins/files/poppins-latin-ext-100-italic.woff2 +0 -0
  126. package/fonts/poppins/files/poppins-latin-ext-100-normal.woff +0 -0
  127. package/fonts/poppins/files/poppins-latin-ext-100-normal.woff2 +0 -0
  128. package/fonts/poppins/files/poppins-latin-ext-200-italic.woff +0 -0
  129. package/fonts/poppins/files/poppins-latin-ext-200-italic.woff2 +0 -0
  130. package/fonts/poppins/files/poppins-latin-ext-200-normal.woff +0 -0
  131. package/fonts/poppins/files/poppins-latin-ext-200-normal.woff2 +0 -0
  132. package/fonts/poppins/files/poppins-latin-ext-300-italic.woff +0 -0
  133. package/fonts/poppins/files/poppins-latin-ext-300-italic.woff2 +0 -0
  134. package/fonts/poppins/files/poppins-latin-ext-300-normal.woff +0 -0
  135. package/fonts/poppins/files/poppins-latin-ext-300-normal.woff2 +0 -0
  136. package/fonts/poppins/files/poppins-latin-ext-400-italic.woff +0 -0
  137. package/fonts/poppins/files/poppins-latin-ext-400-italic.woff2 +0 -0
  138. package/fonts/poppins/files/poppins-latin-ext-400-normal.woff +0 -0
  139. package/fonts/poppins/files/poppins-latin-ext-400-normal.woff2 +0 -0
  140. package/fonts/poppins/files/poppins-latin-ext-500-italic.woff +0 -0
  141. package/fonts/poppins/files/poppins-latin-ext-500-italic.woff2 +0 -0
  142. package/fonts/poppins/files/poppins-latin-ext-500-normal.woff +0 -0
  143. package/fonts/poppins/files/poppins-latin-ext-500-normal.woff2 +0 -0
  144. package/fonts/poppins/files/poppins-latin-ext-600-italic.woff +0 -0
  145. package/fonts/poppins/files/poppins-latin-ext-600-italic.woff2 +0 -0
  146. package/fonts/poppins/files/poppins-latin-ext-600-normal.woff +0 -0
  147. package/fonts/poppins/files/poppins-latin-ext-600-normal.woff2 +0 -0
  148. package/fonts/poppins/files/poppins-latin-ext-700-italic.woff +0 -0
  149. package/fonts/poppins/files/poppins-latin-ext-700-italic.woff2 +0 -0
  150. package/fonts/poppins/files/poppins-latin-ext-700-normal.woff +0 -0
  151. package/fonts/poppins/files/poppins-latin-ext-700-normal.woff2 +0 -0
  152. package/fonts/poppins/files/poppins-latin-ext-800-italic.woff +0 -0
  153. package/fonts/poppins/files/poppins-latin-ext-800-italic.woff2 +0 -0
  154. package/fonts/poppins/files/poppins-latin-ext-800-normal.woff +0 -0
  155. package/fonts/poppins/files/poppins-latin-ext-800-normal.woff2 +0 -0
  156. package/fonts/poppins/files/poppins-latin-ext-900-italic.woff +0 -0
  157. package/fonts/poppins/files/poppins-latin-ext-900-italic.woff2 +0 -0
  158. package/fonts/poppins/files/poppins-latin-ext-900-normal.woff +0 -0
  159. package/fonts/poppins/files/poppins-latin-ext-900-normal.woff2 +0 -0
  160. package/fonts/poppins/index.css +29 -0
  161. package/fonts/poppins/latin-100-italic.css +8 -0
  162. package/fonts/poppins/latin-100.css +8 -0
  163. package/fonts/poppins/latin-200-italic.css +8 -0
  164. package/fonts/poppins/latin-200.css +8 -0
  165. package/fonts/poppins/latin-300-italic.css +8 -0
  166. package/fonts/poppins/latin-300.css +8 -0
  167. package/fonts/poppins/latin-400-italic.css +8 -0
  168. package/fonts/poppins/latin-400.css +8 -0
  169. package/fonts/poppins/latin-500-italic.css +8 -0
  170. package/fonts/poppins/latin-500.css +8 -0
  171. package/fonts/poppins/latin-600-italic.css +8 -0
  172. package/fonts/poppins/latin-600.css +8 -0
  173. package/fonts/poppins/latin-700-italic.css +8 -0
  174. package/fonts/poppins/latin-700.css +8 -0
  175. package/fonts/poppins/latin-800-italic.css +8 -0
  176. package/fonts/poppins/latin-800.css +8 -0
  177. package/fonts/poppins/latin-900-italic.css +8 -0
  178. package/fonts/poppins/latin-900.css +8 -0
  179. package/fonts/poppins/latin-ext-100-italic.css +8 -0
  180. package/fonts/poppins/latin-ext-100.css +8 -0
  181. package/fonts/poppins/latin-ext-200-italic.css +8 -0
  182. package/fonts/poppins/latin-ext-200.css +8 -0
  183. package/fonts/poppins/latin-ext-300-italic.css +8 -0
  184. package/fonts/poppins/latin-ext-300.css +8 -0
  185. package/fonts/poppins/latin-ext-400-italic.css +8 -0
  186. package/fonts/poppins/latin-ext-400.css +8 -0
  187. package/fonts/poppins/latin-ext-500-italic.css +8 -0
  188. package/fonts/poppins/latin-ext-500.css +8 -0
  189. package/fonts/poppins/latin-ext-600-italic.css +8 -0
  190. package/fonts/poppins/latin-ext-600.css +8 -0
  191. package/fonts/poppins/latin-ext-700-italic.css +8 -0
  192. package/fonts/poppins/latin-ext-700.css +8 -0
  193. package/fonts/poppins/latin-ext-800-italic.css +8 -0
  194. package/fonts/poppins/latin-ext-800.css +8 -0
  195. package/fonts/poppins/latin-ext-900-italic.css +8 -0
  196. package/fonts/poppins/latin-ext-900.css +8 -0
  197. package/fonts/poppins/latin-ext-italic.css +80 -0
  198. package/fonts/poppins/latin-ext.css +80 -0
  199. package/fonts/poppins/latin-italic.css +80 -0
  200. package/fonts/poppins/latin.css +80 -0
  201. package/fonts/poppins/metadata.json +19 -0
  202. package/fonts/poppins/package.json +30 -0
  203. package/fonts/poppins/unicode.json +5 -0
  204. package/loader.js +9 -1
  205. package/module.js +17 -5
  206. package/output/main.css +1 -69555
  207. package/package.json +5 -2
  208. package/plugins/html-to-string.js +33 -0
  209. package/output/main.css.map +0 -1
  210. package/scss/_buttons.scss +0 -160
  211. package/scss/_colors.scss +0 -159
  212. package/scss/_containers.scss +0 -7
  213. package/scss/_element-ui.scss +0 -14
  214. package/scss/_fonts.scss +0 -69
  215. package/scss/_icons.scss +0 -87
  216. package/scss/_inputs.scss +0 -39
  217. package/scss/_layers.scss +0 -9
  218. package/scss/_selectbox.scss +0 -4
  219. package/scss/_variables.scss +0 -16
  220. package/scss/element-ui/alert.scss +0 -147
  221. package/scss/element-ui/aside.scss +0 -7
  222. package/scss/element-ui/autocomplete.scss +0 -80
  223. package/scss/element-ui/avatar.scss +0 -51
  224. package/scss/element-ui/backtop.scss +0 -22
  225. package/scss/element-ui/badge.scss +0 -58
  226. package/scss/element-ui/base.scss +0 -2
  227. package/scss/element-ui/breadcrumb-item.scss +0 -0
  228. package/scss/element-ui/breadcrumb.scss +0 -55
  229. package/scss/element-ui/button-group.scss +0 -0
  230. package/scss/element-ui/button.scss +0 -275
  231. package/scss/element-ui/calendar.scss +0 -79
  232. package/scss/element-ui/card.scss +0 -32
  233. package/scss/element-ui/carousel-item.scss +0 -50
  234. package/scss/element-ui/carousel.scss +0 -162
  235. package/scss/element-ui/cascader-panel.scss +0 -120
  236. package/scss/element-ui/cascader.scss +0 -182
  237. package/scss/element-ui/checkbox-button.scss +0 -0
  238. package/scss/element-ui/checkbox-group.scss +0 -0
  239. package/scss/element-ui/checkbox.scss +0 -359
  240. package/scss/element-ui/col.scss +0 -157
  241. package/scss/element-ui/collapse-item.scss +0 -0
  242. package/scss/element-ui/collapse.scss +0 -63
  243. package/scss/element-ui/color-picker.scss +0 -384
  244. package/scss/element-ui/common/popup.scss +0 -42
  245. package/scss/element-ui/common/transition.scss +0 -99
  246. package/scss/element-ui/common/var.scss +0 -1029
  247. package/scss/element-ui/container.scss +0 -14
  248. package/scss/element-ui/date-picker/date-picker.scss +0 -97
  249. package/scss/element-ui/date-picker/date-range-picker.scss +0 -101
  250. package/scss/element-ui/date-picker/date-table.scss +0 -151
  251. package/scss/element-ui/date-picker/month-table.scss +0 -82
  252. package/scss/element-ui/date-picker/picker-panel.scss +0 -117
  253. package/scss/element-ui/date-picker/picker.scss +0 -197
  254. package/scss/element-ui/date-picker/time-picker.scss +0 -85
  255. package/scss/element-ui/date-picker/time-range-picker.scss +0 -31
  256. package/scss/element-ui/date-picker/time-spinner.scss +0 -110
  257. package/scss/element-ui/date-picker/year-table.scss +0 -51
  258. package/scss/element-ui/date-picker.scss +0 -12
  259. package/scss/element-ui/descriptions-item.scss +0 -42
  260. package/scss/element-ui/descriptions.scss +0 -111
  261. package/scss/element-ui/dialog.scss +0 -123
  262. package/scss/element-ui/display.scss +0 -12
  263. package/scss/element-ui/divider.scss +0 -47
  264. package/scss/element-ui/drawer.scss +0 -219
  265. package/scss/element-ui/dropdown-item.scss +0 -0
  266. package/scss/element-ui/dropdown-menu.scss +0 -0
  267. package/scss/element-ui/dropdown.scss +0 -182
  268. package/scss/element-ui/empty.scss +0 -45
  269. package/scss/element-ui/fonts/element-icons.ttf +0 -0
  270. package/scss/element-ui/fonts/element-icons.woff +0 -0
  271. package/scss/element-ui/footer.scss +0 -8
  272. package/scss/element-ui/form-item.scss +0 -0
  273. package/scss/element-ui/form.scss +0 -167
  274. package/scss/element-ui/header.scss +0 -8
  275. package/scss/element-ui/icon.scss +0 -1167
  276. package/scss/element-ui/image.scss +0 -179
  277. package/scss/element-ui/index.scss +0 -87
  278. package/scss/element-ui/infinite-scroll.scss +0 -0
  279. package/scss/element-ui/infiniteScroll.scss +0 -0
  280. package/scss/element-ui/input-number.scss +0 -181
  281. package/scss/element-ui/input.scss +0 -360
  282. package/scss/element-ui/link.scss +0 -81
  283. package/scss/element-ui/loading.scss +0 -97
  284. package/scss/element-ui/main.scss +0 -12
  285. package/scss/element-ui/menu-item-group.scss +0 -0
  286. package/scss/element-ui/menu-item.scss +0 -0
  287. package/scss/element-ui/menu.scss +0 -289
  288. package/scss/element-ui/message-box.scss +0 -226
  289. package/scss/element-ui/message.scss +0 -120
  290. package/scss/element-ui/mixins/_button.scss +0 -81
  291. package/scss/element-ui/mixins/config.scss +0 -4
  292. package/scss/element-ui/mixins/function.scss +0 -44
  293. package/scss/element-ui/mixins/mixins.scss +0 -190
  294. package/scss/element-ui/mixins/utils.scss +0 -39
  295. package/scss/element-ui/notification.scss +0 -99
  296. package/scss/element-ui/option-group.scss +0 -42
  297. package/scss/element-ui/option.scss +0 -36
  298. package/scss/element-ui/page-header.scss +0 -41
  299. package/scss/element-ui/pagination.scss +0 -295
  300. package/scss/element-ui/popconfirm.scss +0 -16
  301. package/scss/element-ui/popover.scss +0 -40
  302. package/scss/element-ui/popper.scss +0 -102
  303. package/scss/element-ui/progress.scss +0 -141
  304. package/scss/element-ui/radio-button.scss +0 -113
  305. package/scss/element-ui/radio-group.scss +0 -9
  306. package/scss/element-ui/radio.scss +0 -199
  307. package/scss/element-ui/rate.scss +0 -49
  308. package/scss/element-ui/reset.scss +0 -79
  309. package/scss/element-ui/result.scss +0 -61
  310. package/scss/element-ui/row.scss +0 -43
  311. package/scss/element-ui/scrollbar.scss +0 -72
  312. package/scss/element-ui/select-dropdown.scss +0 -62
  313. package/scss/element-ui/select.scss +0 -152
  314. package/scss/element-ui/skeleton-item.scss +0 -84
  315. package/scss/element-ui/skeleton.scss +0 -40
  316. package/scss/element-ui/slider.scss +0 -250
  317. package/scss/element-ui/spinner.scss +0 -44
  318. package/scss/element-ui/statistic.scss +0 -38
  319. package/scss/element-ui/step.scss +0 -317
  320. package/scss/element-ui/steps.scss +0 -20
  321. package/scss/element-ui/submenu.scss +0 -0
  322. package/scss/element-ui/switch.scss +0 -116
  323. package/scss/element-ui/tab-pane.scss +0 -0
  324. package/scss/element-ui/table-column.scss +0 -97
  325. package/scss/element-ui/table.scss +0 -564
  326. package/scss/element-ui/tabs.scss +0 -602
  327. package/scss/element-ui/tag.scss +0 -163
  328. package/scss/element-ui/time-picker.scss +0 -8
  329. package/scss/element-ui/time-select.scss +0 -37
  330. package/scss/element-ui/timeline-item.scss +0 -86
  331. package/scss/element-ui/timeline.scss +0 -14
  332. package/scss/element-ui/tooltip.scss +0 -141
  333. package/scss/element-ui/transfer.scss +0 -228
  334. package/scss/element-ui/tree.scss +0 -123
  335. package/scss/element-ui/upload.scss +0 -603
  336. package/scss/main.scss +0 -22
@@ -1,123 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "mixins/utils";
3
- @import "common/var";
4
- @import "common/popup";
5
-
6
- @include b(dialog) {
7
- position: relative;
8
- margin: 0 auto 50px;
9
- background: $--dialog-background-color;
10
- border-radius: $--border-radius-small;
11
- box-shadow: $--dialog-box-shadow;
12
- box-sizing: border-box;
13
- width: 50%;
14
-
15
- @include when(fullscreen) {
16
- width: 100%;
17
- margin-top: 0;
18
- margin-bottom: 0;
19
- height: 100%;
20
- overflow: auto;
21
- }
22
-
23
- @include e(wrapper) {
24
- position: fixed;
25
- top: 0;
26
- right: 0;
27
- bottom: 0;
28
- left: 0;
29
- overflow: auto;
30
- margin: 0;
31
- }
32
-
33
- @include e(header) {
34
- padding: $--dialog-padding-primary;
35
- padding-bottom: 10px;
36
- }
37
-
38
- @include e(headerbtn) {
39
- position: absolute;
40
- top: $--dialog-padding-primary;
41
- right: $--dialog-padding-primary;
42
- padding: 0;
43
- background: transparent;
44
- border: none;
45
- outline: none;
46
- cursor: pointer;
47
- font-size: $--message-close-size;
48
-
49
- .el-dialog__close {
50
- color: $--color-info;
51
- }
52
-
53
- &:focus, &:hover {
54
- .el-dialog__close {
55
- color: $--color-primary;
56
- }
57
- }
58
- }
59
-
60
- @include e(title) {
61
- line-height: $--dialog-font-line-height;
62
- font-size: $--dialog-title-font-size;
63
- color: $--color-text-primary;
64
- }
65
-
66
- @include e(body) {
67
- padding: ($--dialog-padding-primary + 10px) $--dialog-padding-primary;
68
- color: $--color-text-regular;
69
- font-size: $--dialog-content-font-size;
70
- word-break: break-all;
71
- }
72
-
73
- @include e(footer) {
74
- padding: $--dialog-padding-primary;
75
- padding-top: 10px;
76
- text-align: right;
77
- box-sizing: border-box;
78
- }
79
-
80
- // 内容居中布局
81
- @include m(center) {
82
- text-align: center;
83
-
84
- @include e(body) {
85
- text-align: initial;
86
- padding: 25px ($--dialog-padding-primary + 5px) 30px;
87
- }
88
-
89
- @include e(footer) {
90
- text-align: inherit;
91
- }
92
- }
93
- }
94
-
95
- .dialog-fade-enter-active {
96
- animation: dialog-fade-in .3s;
97
- }
98
-
99
- .dialog-fade-leave-active {
100
- animation: dialog-fade-out .3s;
101
- }
102
-
103
- @keyframes dialog-fade-in {
104
- 0% {
105
- transform: translate3d(0, -20px, 0);
106
- opacity: 0;
107
- }
108
- 100% {
109
- transform: translate3d(0, 0, 0);
110
- opacity: 1;
111
- }
112
- }
113
-
114
- @keyframes dialog-fade-out {
115
- 0% {
116
- transform: translate3d(0, 0, 0);
117
- opacity: 1;
118
- }
119
- 100% {
120
- transform: translate3d(0, -20px, 0);
121
- opacity: 0;
122
- }
123
- }
@@ -1,12 +0,0 @@
1
- @import "common/var";
2
- @import "mixins/mixins";
3
-
4
- .hidden {
5
- @each $break-point-name, $value in $--breakpoints-spec {
6
- &-#{$break-point-name} {
7
- @include res($break-point-name, $--breakpoints-spec) {
8
- display: none !important;
9
- }
10
- }
11
- }
12
- }
@@ -1,47 +0,0 @@
1
- @import "common/var";
2
- @import "mixins/mixins";
3
-
4
- @include b(divider) {
5
- background-color: $--border-color-base;
6
- position: relative;
7
-
8
- @include m(horizontal) {
9
- display: block;
10
- height: 1px;
11
- width: 100%;
12
- margin: 24px 0;
13
- }
14
-
15
- @include m(vertical) {
16
- display: inline-block;
17
- width: 1px;
18
- height: 1em;
19
- margin: 0 8px;
20
- vertical-align: middle;
21
- position: relative;
22
- }
23
-
24
- @include e(text) {
25
- position: absolute;
26
- background-color: $--color-white;
27
- padding: 0 20px;
28
- font-weight: 500;
29
- color: $--color-text-primary;
30
- font-size: 14px;
31
-
32
- @include when(left) {
33
- left: 20px;
34
- transform: translateY(-50%);
35
- }
36
-
37
- @include when(center) {
38
- left: 50%;
39
- transform: translateX(-50%) translateY(-50%);
40
- }
41
-
42
- @include when(right) {
43
- right: 20px;
44
- transform: translateY(-50%);
45
- }
46
- }
47
- }
@@ -1,219 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
-
4
- @keyframes el-drawer-fade-in {
5
- 0% {
6
- opacity: 0;
7
- }
8
- 100% {
9
- opacity: 1;
10
- }
11
- }
12
-
13
- @mixin drawer-animation($direction) {
14
-
15
- @keyframes #{$direction}-drawer-in {
16
- 0% {
17
-
18
- @if $direction == ltr {
19
- transform: translate(-100%, 0px);
20
- }
21
-
22
- @if $direction == rtl {
23
- transform: translate(100%, 0px);
24
- }
25
-
26
- @if $direction == ttb {
27
- transform: translate(0px, -100%);
28
- }
29
-
30
- @if $direction == btt {
31
- transform: translate(0px, 100%);
32
- }
33
- }
34
-
35
- 100% {
36
- @if $direction == ltr {
37
- transform: translate(0px, 0px);
38
- }
39
-
40
- @if $direction == rtl {
41
- transform: translate(0px, 0px);
42
- }
43
-
44
- @if $direction == ttb {
45
- transform: translate(0px, 0px);
46
- }
47
-
48
- @if $direction == btt {
49
- transform: translate(0px, 0px);
50
- }
51
- }
52
- }
53
-
54
- @keyframes #{$direction}-drawer-out {
55
- 0% {
56
- @if $direction == ltr {
57
- transform: translate(0px, 0px);
58
- }
59
-
60
- @if $direction == rtl {
61
- transform: translate(0px, 0px);;
62
- }
63
-
64
- @if $direction == ttb {
65
- transform: translate(0px, 0px);
66
- }
67
-
68
- @if $direction == btt {
69
- transform: translate(0px, 0);
70
- }
71
- }
72
-
73
- 100% {
74
- @if $direction == ltr {
75
- transform: translate(-100%, 0px);
76
- }
77
-
78
- @if $direction == rtl {
79
- transform: translate(100%, 0px);
80
- }
81
-
82
- @if $direction == ttb {
83
- transform: translate(0px, -100%);
84
- }
85
-
86
- @if $direction == btt {
87
- transform: translate(0px, 100%);
88
- }
89
- }
90
- }
91
- }
92
-
93
- @mixin animation-in($direction) {
94
- .el-drawer__open &.#{$direction} {
95
- animation: #{$direction}-drawer-in .3s 1ms;
96
- }
97
- }
98
-
99
- @mixin animation-out($direction) {
100
- &.#{$direction} {
101
- animation: #{$direction}-drawer-out .3s;
102
- }
103
- }
104
-
105
- @include drawer-animation(rtl);
106
- @include drawer-animation(ltr);
107
- @include drawer-animation(ttb);
108
- @include drawer-animation(btt);
109
-
110
- $directions: rtl, ltr, ttb, btt;
111
-
112
- @include b(drawer) {
113
- position: absolute;
114
- box-sizing: border-box;
115
- background-color: $--dialog-background-color;
116
- display: flex;
117
- flex-direction: column;
118
- box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2),
119
- 0 16px 24px 2px rgba(0, 0, 0, 0.14),
120
- 0 6px 30px 5px rgba(0, 0, 0, 0.12);
121
- overflow: hidden;
122
- outline: 0;
123
-
124
- @each $direction in $directions {
125
- @include animation-out($direction);
126
- @include animation-in($direction);
127
- }
128
-
129
- &__wrapper {
130
- position: fixed;
131
- top: 0;
132
- right: 0;
133
- bottom: 0;
134
- left: 0;
135
- overflow: hidden;
136
- margin: 0;
137
- }
138
-
139
- &__header {
140
- align-items: center;
141
- color: rgb(114, 118, 123);
142
- display: flex;
143
- margin-bottom: 32px;
144
- padding: $--dialog-padding-primary;
145
- padding-bottom: 0;
146
- & > :first-child {
147
- flex: 1;
148
- }
149
- }
150
-
151
- &__title {
152
- margin: 0;
153
- flex: 1;
154
- line-height: inherit;
155
- font-size: 1rem;
156
- }
157
-
158
- &__close-btn {
159
- border: none;
160
- cursor: pointer;
161
- font-size: $--font-size-extra-large;
162
- color: inherit;
163
- background-color: transparent;
164
- }
165
-
166
- &__body {
167
- flex: 1;
168
- overflow: auto;
169
- & > * {
170
- box-sizing: border-box;
171
- }
172
- }
173
-
174
- &.ltr, &.rtl {
175
- height: 100%;
176
- top: 0;
177
- bottom: 0;
178
- }
179
-
180
- &.ttb, &.btt {
181
- width: 100%;
182
- left: 0;
183
- right: 0;
184
- }
185
-
186
- &.ltr {
187
- left: 0;
188
- }
189
-
190
- &.rtl {
191
- right: 0;
192
- }
193
-
194
- &.ttb {
195
- top: 0;
196
- }
197
-
198
- &.btt {
199
- bottom: 0;
200
- }
201
- }
202
-
203
- .el-drawer__container {
204
- position: relative;
205
- left: 0;
206
- right: 0;
207
- top: 0;
208
- bottom: 0;
209
- height: 100%;
210
- width: 100%;
211
- }
212
-
213
- .el-drawer-fade-enter-active {
214
- animation: el-drawer-fade-in .3s;
215
- }
216
-
217
- .el-drawer-fade-leave-active {
218
- animation: el-drawer-fade-in .3s reverse;
219
- }
File without changes
File without changes
@@ -1,182 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
- @import "button";
4
- @import "./popper";
5
-
6
- @include b(dropdown) {
7
- display: inline-block;
8
- position: relative;
9
- color: $--color-text-regular;
10
- font-size: $--font-size-base;
11
-
12
- .el-button-group {
13
- display: block;
14
- .el-button {
15
- float: none;
16
- }
17
- }
18
-
19
- & .el-dropdown__caret-button {
20
- padding-left: 5px;
21
- padding-right: 5px;
22
- position: relative;
23
- border-left: none;
24
-
25
- &::before {
26
- $gap: 5px;
27
-
28
- content: '';
29
- position: absolute;
30
- display: block;
31
- width: 1px;
32
- top: $gap;
33
- bottom: $gap;
34
- left: 0;
35
- background: mix(white, transparent, 50%);
36
- }
37
-
38
- &.el-button--default::before {
39
- background: mix($--button-default-border-color, transparent, 50%);
40
- }
41
-
42
- &:hover {
43
- &:not(.is-disabled)::before {
44
- top: 0;
45
- bottom: 0;
46
- }
47
- }
48
-
49
- & .el-dropdown__icon {
50
- padding-left: 0;
51
- }
52
- }
53
- @include e(icon) {
54
- font-size: 12px;
55
- margin: 0 3px;
56
- }
57
-
58
- .el-dropdown-selfdefine { // 自定义
59
- &:focus:active, &:focus:not(.focusing) {
60
- outline-width: 0;
61
- }
62
- }
63
-
64
- [disabled] {
65
- cursor: not-allowed;
66
- color: $--font-color-disabled-base;
67
- }
68
- }
69
-
70
- @include b(dropdown-menu) {
71
- position: absolute;
72
- top: 0;
73
- left: 0;
74
- z-index: 10;
75
- padding: 10px 0;
76
- margin: 5px 0;
77
- background-color: $--color-white;
78
- border: 1px solid $--border-color-lighter;
79
- border-radius: $--border-radius-base;
80
- box-shadow: $--dropdown-menu-box-shadow;
81
-
82
- @include e(item) {
83
- list-style: none;
84
- line-height: 36px;
85
- padding: 0 20px;
86
- margin: 0;
87
- font-size: $--font-size-base;
88
- color: $--color-text-regular;
89
- cursor: pointer;
90
- outline: none;
91
- &:not(.is-disabled):hover, &:focus {
92
- background-color: $--dropdown-menuItem-hover-fill;
93
- color: $--dropdown-menuItem-hover-color;
94
- }
95
-
96
- i {
97
- margin-right: 5px;
98
- }
99
-
100
- @include m(divided) {
101
- $divided-offset: 6px;
102
-
103
- position: relative;
104
- margin-top: $divided-offset;
105
- border-top: 1px solid $--border-color-lighter;
106
-
107
- &:before {
108
- content: '';
109
- height: $divided-offset;
110
- display: block;
111
- margin: 0 -20px;
112
- background-color: $--color-white;
113
- }
114
- }
115
-
116
- @include when(disabled) {
117
- cursor: default;
118
- color: $--font-color-disabled-base;
119
- pointer-events: none;
120
- }
121
- }
122
-
123
- @include m(medium) {
124
- padding: 6px 0;
125
-
126
- @include e(item) {
127
- line-height: 30px;
128
- padding: 0 17px;
129
- font-size: 14px;
130
-
131
- &.el-dropdown-menu__item--divided {
132
- $divided-offset: 6px;
133
- margin-top: $divided-offset;
134
-
135
- &:before {
136
- height: $divided-offset;
137
- margin: 0 -17px;
138
- }
139
- }
140
- }
141
- }
142
-
143
- @include m(small) {
144
- padding: 6px 0;
145
-
146
- @include e(item) {
147
- line-height: 27px;
148
- padding: 0 15px;
149
- font-size: 13px;
150
-
151
- &.el-dropdown-menu__item--divided {
152
- $divided-offset: 4px;
153
- margin-top: $divided-offset;
154
-
155
- &:before {
156
- height: $divided-offset;
157
- margin: 0 -15px;
158
- }
159
- }
160
- }
161
- }
162
-
163
- @include m(mini) {
164
- padding: 3px 0;
165
-
166
- @include e(item) {
167
- line-height: 24px;
168
- padding: 0 10px;
169
- font-size: 12px;
170
-
171
- &.el-dropdown-menu__item--divided {
172
- $divided-offset: 3px;
173
- margin-top: $divided-offset;
174
-
175
- &:before {
176
- height: $divided-offset;
177
- margin: 0 -10px;
178
- }
179
- }
180
- }
181
- }
182
- }
@@ -1,45 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
-
4
- @include b(empty) {
5
- display: flex;
6
- justify-content: center;
7
- align-items: center;
8
- flex-direction: column;
9
- text-align: center;
10
- box-sizing: border-box;
11
- padding: $--empty-padding;
12
-
13
- @include e(image) {
14
- width: $--empty-image-width;
15
-
16
- img {
17
- user-select: none;
18
- width: 100%;
19
- height: 100%;
20
- vertical-align: top;
21
- object-fit: contain;
22
- }
23
-
24
- svg {
25
- fill: $--svg-monochrome-grey;
26
- width: 100%;
27
- height: 100%;
28
- vertical-align: top;
29
- }
30
- }
31
-
32
- @include e(description) {
33
- margin-top: $--empty-description-margin-top;
34
-
35
- p {
36
- margin: 0;
37
- font-size: $--font-size-base;
38
- color: $--color-text-secondary;
39
- }
40
- }
41
-
42
- @include e(bottom) {
43
- margin-top: $--empty-bottom-margin-top;
44
- }
45
- }
@@ -1,8 +0,0 @@
1
- @import "mixins/mixins";
2
- @import "common/var";
3
-
4
- @include b(footer) {
5
- padding: $--footer-padding;
6
- box-sizing: border-box;
7
- flex-shrink: 0;
8
- }
File without changes