tag.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462
  1. /* BEM support Func
  2. -------------------------- */
  3. /* Element Chalk Variables */
  4. /* Transition
  5. -------------------------- */
  6. /* Color
  7. -------------------------- */
  8. /* 53a8ff */
  9. /* 66b1ff */
  10. /* 79bbff */
  11. /* 8cc5ff */
  12. /* a0cfff */
  13. /* b3d8ff */
  14. /* c6e2ff */
  15. /* d9ecff */
  16. /* ecf5ff */
  17. /* Link
  18. -------------------------- */
  19. /* Border
  20. -------------------------- */
  21. /* Fill
  22. -------------------------- */
  23. /* Typography
  24. -------------------------- */
  25. /* Size
  26. -------------------------- */
  27. /* z-index
  28. -------------------------- */
  29. /* Disable base
  30. -------------------------- */
  31. /* Icon
  32. -------------------------- */
  33. /* Checkbox
  34. -------------------------- */
  35. /* Radio
  36. -------------------------- */
  37. /* Select
  38. -------------------------- */
  39. /* Alert
  40. -------------------------- */
  41. /* MessageBox
  42. -------------------------- */
  43. /* Message
  44. -------------------------- */
  45. /* Notification
  46. -------------------------- */
  47. /* Input
  48. -------------------------- */
  49. /* Cascader
  50. -------------------------- */
  51. /* Group
  52. -------------------------- */
  53. /* Tab
  54. -------------------------- */
  55. /* Button
  56. -------------------------- */
  57. /* cascader
  58. -------------------------- */
  59. /* Switch
  60. -------------------------- */
  61. /* Dialog
  62. -------------------------- */
  63. /* Table
  64. -------------------------- */
  65. /* Pagination
  66. -------------------------- */
  67. /* Popup
  68. -------------------------- */
  69. /* Popover
  70. -------------------------- */
  71. /* Tooltip
  72. -------------------------- */
  73. /* Tag
  74. -------------------------- */
  75. /* Tree
  76. -------------------------- */
  77. /* Dropdown
  78. -------------------------- */
  79. /* Badge
  80. -------------------------- */
  81. /* Card
  82. --------------------------*/
  83. /* Slider
  84. --------------------------*/
  85. /* Steps
  86. --------------------------*/
  87. /* Menu
  88. --------------------------*/
  89. /* Rate
  90. --------------------------*/
  91. /* DatePicker
  92. --------------------------*/
  93. /* Loading
  94. --------------------------*/
  95. /* Scrollbar
  96. --------------------------*/
  97. /* Carousel
  98. --------------------------*/
  99. /* Collapse
  100. --------------------------*/
  101. /* Transfer
  102. --------------------------*/
  103. /* Header
  104. --------------------------*/
  105. /* Footer
  106. --------------------------*/
  107. /* Main
  108. --------------------------*/
  109. /* Timeline
  110. --------------------------*/
  111. /* Backtop
  112. --------------------------*/
  113. /* Link
  114. --------------------------*/
  115. /* Calendar
  116. --------------------------*/
  117. /* Form
  118. -------------------------- */
  119. /* Avatar
  120. --------------------------*/
  121. /* Break-point
  122. --------------------------*/
  123. /* Break-points
  124. -------------------------- */
  125. /* Scrollbar
  126. -------------------------- */
  127. /* Placeholder
  128. -------------------------- */
  129. /* BEM
  130. -------------------------- */
  131. /* Element Chalk Variables */
  132. /* Transition
  133. -------------------------- */
  134. /* Color
  135. -------------------------- */
  136. /* 53a8ff */
  137. /* 66b1ff */
  138. /* 79bbff */
  139. /* 8cc5ff */
  140. /* a0cfff */
  141. /* b3d8ff */
  142. /* c6e2ff */
  143. /* d9ecff */
  144. /* ecf5ff */
  145. /* Link
  146. -------------------------- */
  147. /* Border
  148. -------------------------- */
  149. /* Fill
  150. -------------------------- */
  151. /* Typography
  152. -------------------------- */
  153. /* Size
  154. -------------------------- */
  155. /* z-index
  156. -------------------------- */
  157. /* Disable base
  158. -------------------------- */
  159. /* Icon
  160. -------------------------- */
  161. /* Checkbox
  162. -------------------------- */
  163. /* Radio
  164. -------------------------- */
  165. /* Select
  166. -------------------------- */
  167. /* Alert
  168. -------------------------- */
  169. /* MessageBox
  170. -------------------------- */
  171. /* Message
  172. -------------------------- */
  173. /* Notification
  174. -------------------------- */
  175. /* Input
  176. -------------------------- */
  177. /* Cascader
  178. -------------------------- */
  179. /* Group
  180. -------------------------- */
  181. /* Tab
  182. -------------------------- */
  183. /* Button
  184. -------------------------- */
  185. /* cascader
  186. -------------------------- */
  187. /* Switch
  188. -------------------------- */
  189. /* Dialog
  190. -------------------------- */
  191. /* Table
  192. -------------------------- */
  193. /* Pagination
  194. -------------------------- */
  195. /* Popup
  196. -------------------------- */
  197. /* Popover
  198. -------------------------- */
  199. /* Tooltip
  200. -------------------------- */
  201. /* Tag
  202. -------------------------- */
  203. /* Tree
  204. -------------------------- */
  205. /* Dropdown
  206. -------------------------- */
  207. /* Badge
  208. -------------------------- */
  209. /* Card
  210. --------------------------*/
  211. /* Slider
  212. --------------------------*/
  213. /* Steps
  214. --------------------------*/
  215. /* Menu
  216. --------------------------*/
  217. /* Rate
  218. --------------------------*/
  219. /* DatePicker
  220. --------------------------*/
  221. /* Loading
  222. --------------------------*/
  223. /* Scrollbar
  224. --------------------------*/
  225. /* Carousel
  226. --------------------------*/
  227. /* Collapse
  228. --------------------------*/
  229. /* Transfer
  230. --------------------------*/
  231. /* Header
  232. --------------------------*/
  233. /* Footer
  234. --------------------------*/
  235. /* Main
  236. --------------------------*/
  237. /* Timeline
  238. --------------------------*/
  239. /* Backtop
  240. --------------------------*/
  241. /* Link
  242. --------------------------*/
  243. /* Calendar
  244. --------------------------*/
  245. /* Form
  246. -------------------------- */
  247. /* Avatar
  248. --------------------------*/
  249. /* Break-point
  250. --------------------------*/
  251. .el-tag {
  252. background-color: #eaf1fd;
  253. border-color: #d5e3fa;
  254. color: #2d74e7;
  255. display: inline-block;
  256. height: 32px;
  257. padding: 0 10px;
  258. line-height: 30px;
  259. font-size: 12px;
  260. color: #2D74E7;
  261. border-width: 1px;
  262. border-style: solid;
  263. border-radius: 4px;
  264. -webkit-box-sizing: border-box;
  265. box-sizing: border-box;
  266. white-space: nowrap; }
  267. .el-tag.is-hit {
  268. border-color: #2D74E7; }
  269. .el-tag .el-tag__close {
  270. color: #2d74e7; }
  271. .el-tag .el-tag__close:hover {
  272. color: #FFFFFF;
  273. background-color: #2d74e7; }
  274. .el-tag.el-tag--info {
  275. background-color: #f4f4f5;
  276. border-color: #e9e9eb;
  277. color: #909399; }
  278. .el-tag.el-tag--info.is-hit {
  279. border-color: #909399; }
  280. .el-tag.el-tag--info .el-tag__close {
  281. color: #909399; }
  282. .el-tag.el-tag--info .el-tag__close:hover {
  283. color: #FFFFFF;
  284. background-color: #909399; }
  285. .el-tag.el-tag--success {
  286. background-color: #f0f9eb;
  287. border-color: #e1f3d8;
  288. color: #67c23a; }
  289. .el-tag.el-tag--success.is-hit {
  290. border-color: #67C23A; }
  291. .el-tag.el-tag--success .el-tag__close {
  292. color: #67c23a; }
  293. .el-tag.el-tag--success .el-tag__close:hover {
  294. color: #FFFFFF;
  295. background-color: #67c23a; }
  296. .el-tag.el-tag--warning {
  297. background-color: #fdf6ec;
  298. border-color: #faecd8;
  299. color: #e6a23c; }
  300. .el-tag.el-tag--warning.is-hit {
  301. border-color: #E6A23C; }
  302. .el-tag.el-tag--warning .el-tag__close {
  303. color: #e6a23c; }
  304. .el-tag.el-tag--warning .el-tag__close:hover {
  305. color: #FFFFFF;
  306. background-color: #e6a23c; }
  307. .el-tag.el-tag--danger {
  308. background-color: #fdeaed;
  309. border-color: #fad6dc;
  310. color: #e7304e; }
  311. .el-tag.el-tag--danger.is-hit {
  312. border-color: #e7304e; }
  313. .el-tag.el-tag--danger .el-tag__close {
  314. color: #e7304e; }
  315. .el-tag.el-tag--danger .el-tag__close:hover {
  316. color: #FFFFFF;
  317. background-color: #e7304e; }
  318. .el-tag .el-icon-close {
  319. border-radius: 50%;
  320. text-align: center;
  321. position: relative;
  322. cursor: pointer;
  323. font-size: 12px;
  324. height: 16px;
  325. width: 16px;
  326. line-height: 16px;
  327. vertical-align: middle;
  328. top: -1px;
  329. right: -5px; }
  330. .el-tag .el-icon-close::before {
  331. display: block; }
  332. .el-tag--dark {
  333. background-color: #2d74e7;
  334. border-color: #2d74e7;
  335. color: white; }
  336. .el-tag--dark.is-hit {
  337. border-color: #2D74E7; }
  338. .el-tag--dark .el-tag__close {
  339. color: white; }
  340. .el-tag--dark .el-tag__close:hover {
  341. color: #FFFFFF;
  342. background-color: #5790ec; }
  343. .el-tag--dark.el-tag--info {
  344. background-color: #909399;
  345. border-color: #909399;
  346. color: white; }
  347. .el-tag--dark.el-tag--info.is-hit {
  348. border-color: #909399; }
  349. .el-tag--dark.el-tag--info .el-tag__close {
  350. color: white; }
  351. .el-tag--dark.el-tag--info .el-tag__close:hover {
  352. color: #FFFFFF;
  353. background-color: #a6a9ad; }
  354. .el-tag--dark.el-tag--success {
  355. background-color: #67c23a;
  356. border-color: #67c23a;
  357. color: white; }
  358. .el-tag--dark.el-tag--success.is-hit {
  359. border-color: #67C23A; }
  360. .el-tag--dark.el-tag--success .el-tag__close {
  361. color: white; }
  362. .el-tag--dark.el-tag--success .el-tag__close:hover {
  363. color: #FFFFFF;
  364. background-color: #85ce61; }
  365. .el-tag--dark.el-tag--warning {
  366. background-color: #e6a23c;
  367. border-color: #e6a23c;
  368. color: white; }
  369. .el-tag--dark.el-tag--warning.is-hit {
  370. border-color: #E6A23C; }
  371. .el-tag--dark.el-tag--warning .el-tag__close {
  372. color: white; }
  373. .el-tag--dark.el-tag--warning .el-tag__close:hover {
  374. color: #FFFFFF;
  375. background-color: #ebb563; }
  376. .el-tag--dark.el-tag--danger {
  377. background-color: #e7304e;
  378. border-color: #e7304e;
  379. color: white; }
  380. .el-tag--dark.el-tag--danger.is-hit {
  381. border-color: #e7304e; }
  382. .el-tag--dark.el-tag--danger .el-tag__close {
  383. color: white; }
  384. .el-tag--dark.el-tag--danger .el-tag__close:hover {
  385. color: #FFFFFF;
  386. background-color: #ec5971; }
  387. .el-tag--plain {
  388. background-color: white;
  389. border-color: #abc7f5;
  390. color: #2d74e7; }
  391. .el-tag--plain.is-hit {
  392. border-color: #2D74E7; }
  393. .el-tag--plain .el-tag__close {
  394. color: #2d74e7; }
  395. .el-tag--plain .el-tag__close:hover {
  396. color: #FFFFFF;
  397. background-color: #2d74e7; }
  398. .el-tag--plain.el-tag--info {
  399. background-color: white;
  400. border-color: #d3d4d6;
  401. color: #909399; }
  402. .el-tag--plain.el-tag--info.is-hit {
  403. border-color: #909399; }
  404. .el-tag--plain.el-tag--info .el-tag__close {
  405. color: #909399; }
  406. .el-tag--plain.el-tag--info .el-tag__close:hover {
  407. color: #FFFFFF;
  408. background-color: #909399; }
  409. .el-tag--plain.el-tag--success {
  410. background-color: white;
  411. border-color: #c2e7b0;
  412. color: #67c23a; }
  413. .el-tag--plain.el-tag--success.is-hit {
  414. border-color: #67C23A; }
  415. .el-tag--plain.el-tag--success .el-tag__close {
  416. color: #67c23a; }
  417. .el-tag--plain.el-tag--success .el-tag__close:hover {
  418. color: #FFFFFF;
  419. background-color: #67c23a; }
  420. .el-tag--plain.el-tag--warning {
  421. background-color: white;
  422. border-color: #f5dab1;
  423. color: #e6a23c; }
  424. .el-tag--plain.el-tag--warning.is-hit {
  425. border-color: #E6A23C; }
  426. .el-tag--plain.el-tag--warning .el-tag__close {
  427. color: #e6a23c; }
  428. .el-tag--plain.el-tag--warning .el-tag__close:hover {
  429. color: #FFFFFF;
  430. background-color: #e6a23c; }
  431. .el-tag--plain.el-tag--danger {
  432. background-color: white;
  433. border-color: #f5acb8;
  434. color: #e7304e; }
  435. .el-tag--plain.el-tag--danger.is-hit {
  436. border-color: #e7304e; }
  437. .el-tag--plain.el-tag--danger .el-tag__close {
  438. color: #e7304e; }
  439. .el-tag--plain.el-tag--danger .el-tag__close:hover {
  440. color: #FFFFFF;
  441. background-color: #e7304e; }
  442. .el-tag--medium {
  443. height: 28px;
  444. line-height: 26px; }
  445. .el-tag--medium .el-icon-close {
  446. -webkit-transform: scale(0.8);
  447. transform: scale(0.8); }
  448. .el-tag--small {
  449. height: 24px;
  450. padding: 0 8px;
  451. line-height: 22px; }
  452. .el-tag--small .el-icon-close {
  453. -webkit-transform: scale(0.8);
  454. transform: scale(0.8); }
  455. .el-tag--mini {
  456. height: 20px;
  457. padding: 0 5px;
  458. line-height: 19px; }
  459. .el-tag--mini .el-icon-close {
  460. margin-left: -3px;
  461. -webkit-transform: scale(0.7);
  462. transform: scale(0.7); }