框架源码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

645 lines
14 KiB

4 years ago
  1. [data-theme="blue"] {
  2. /* BEM support Func
  3. -------------------------- */
  4. /* Element Chalk Variables */
  5. /* Transition
  6. -------------------------- */
  7. /* Color
  8. -------------------------- */
  9. /* 53a8ff */
  10. /* 66b1ff */
  11. /* 79bbff */
  12. /* 8cc5ff */
  13. /* a0cfff */
  14. /* b3d8ff */
  15. /* c6e2ff */
  16. /* d9ecff */
  17. /* ecf5ff */
  18. /* Link
  19. -------------------------- */
  20. /* Border
  21. -------------------------- */
  22. /* Fill
  23. -------------------------- */
  24. /* Typography
  25. -------------------------- */
  26. /* Size
  27. -------------------------- */
  28. /* z-index
  29. -------------------------- */
  30. /* Disable base
  31. -------------------------- */
  32. /* Icon
  33. -------------------------- */
  34. /* Checkbox
  35. -------------------------- */
  36. /* Radio
  37. -------------------------- */
  38. /* Select
  39. -------------------------- */
  40. /* Alert
  41. -------------------------- */
  42. /* MessageBox
  43. -------------------------- */
  44. /* Message
  45. -------------------------- */
  46. /* Notification
  47. -------------------------- */
  48. /* Input
  49. -------------------------- */
  50. /* Cascader
  51. -------------------------- */
  52. /* Group
  53. -------------------------- */
  54. /* Tab
  55. -------------------------- */
  56. /* Button
  57. -------------------------- */
  58. /* cascader
  59. -------------------------- */
  60. /* Switch
  61. -------------------------- */
  62. /* Dialog
  63. -------------------------- */
  64. /* Table
  65. -------------------------- */
  66. /* Pagination
  67. -------------------------- */
  68. /* Popup
  69. -------------------------- */
  70. /* Popover
  71. -------------------------- */
  72. /* Tooltip
  73. -------------------------- */
  74. /* Tag
  75. -------------------------- */
  76. /* Tree
  77. -------------------------- */
  78. /* Dropdown
  79. -------------------------- */
  80. /* Badge
  81. -------------------------- */
  82. /* Card
  83. --------------------------*/
  84. /* Slider
  85. --------------------------*/
  86. /* Steps
  87. --------------------------*/
  88. /* Menu
  89. --------------------------*/
  90. /* Rate
  91. --------------------------*/
  92. /* DatePicker
  93. --------------------------*/
  94. /* Loading
  95. --------------------------*/
  96. /* Scrollbar
  97. --------------------------*/
  98. /* Carousel
  99. --------------------------*/
  100. /* Collapse
  101. --------------------------*/
  102. /* Transfer
  103. --------------------------*/
  104. /* Header
  105. --------------------------*/
  106. /* Footer
  107. --------------------------*/
  108. /* Main
  109. --------------------------*/
  110. /* Timeline
  111. --------------------------*/
  112. /* Backtop
  113. --------------------------*/
  114. /* Link
  115. --------------------------*/
  116. /* Calendar
  117. --------------------------*/
  118. /* Form
  119. -------------------------- */
  120. /* Avatar
  121. --------------------------*/
  122. /* Break-point
  123. --------------------------*/
  124. /* Break-points
  125. -------------------------- */
  126. /* Scrollbar
  127. -------------------------- */
  128. /* Placeholder
  129. -------------------------- */
  130. /* BEM
  131. -------------------------- */
  132. /* Element Chalk Variables */
  133. /* Transition
  134. -------------------------- */
  135. /* Color
  136. -------------------------- */
  137. /* 53a8ff */
  138. /* 66b1ff */
  139. /* 79bbff */
  140. /* 8cc5ff */
  141. /* a0cfff */
  142. /* b3d8ff */
  143. /* c6e2ff */
  144. /* d9ecff */
  145. /* ecf5ff */
  146. /* Link
  147. -------------------------- */
  148. /* Border
  149. -------------------------- */
  150. /* Fill
  151. -------------------------- */
  152. /* Typography
  153. -------------------------- */
  154. /* Size
  155. -------------------------- */
  156. /* z-index
  157. -------------------------- */
  158. /* Disable base
  159. -------------------------- */
  160. /* Icon
  161. -------------------------- */
  162. /* Checkbox
  163. -------------------------- */
  164. /* Radio
  165. -------------------------- */
  166. /* Select
  167. -------------------------- */
  168. /* Alert
  169. -------------------------- */
  170. /* MessageBox
  171. -------------------------- */
  172. /* Message
  173. -------------------------- */
  174. /* Notification
  175. -------------------------- */
  176. /* Input
  177. -------------------------- */
  178. /* Cascader
  179. -------------------------- */
  180. /* Group
  181. -------------------------- */
  182. /* Tab
  183. -------------------------- */
  184. /* Button
  185. -------------------------- */
  186. /* cascader
  187. -------------------------- */
  188. /* Switch
  189. -------------------------- */
  190. /* Dialog
  191. -------------------------- */
  192. /* Table
  193. -------------------------- */
  194. /* Pagination
  195. -------------------------- */
  196. /* Popup
  197. -------------------------- */
  198. /* Popover
  199. -------------------------- */
  200. /* Tooltip
  201. -------------------------- */
  202. /* Tag
  203. -------------------------- */
  204. /* Tree
  205. -------------------------- */
  206. /* Dropdown
  207. -------------------------- */
  208. /* Badge
  209. -------------------------- */
  210. /* Card
  211. --------------------------*/
  212. /* Slider
  213. --------------------------*/
  214. /* Steps
  215. --------------------------*/
  216. /* Menu
  217. --------------------------*/
  218. /* Rate
  219. --------------------------*/
  220. /* DatePicker
  221. --------------------------*/
  222. /* Loading
  223. --------------------------*/
  224. /* Scrollbar
  225. --------------------------*/
  226. /* Carousel
  227. --------------------------*/
  228. /* Collapse
  229. --------------------------*/
  230. /* Transfer
  231. --------------------------*/
  232. /* Header
  233. --------------------------*/
  234. /* Footer
  235. --------------------------*/
  236. /* Main
  237. --------------------------*/
  238. /* Timeline
  239. --------------------------*/
  240. /* Backtop
  241. --------------------------*/
  242. /* Link
  243. --------------------------*/
  244. /* Calendar
  245. --------------------------*/
  246. /* Form
  247. -------------------------- */
  248. /* Avatar
  249. --------------------------*/
  250. /* Break-point
  251. --------------------------*/ }
  252. [data-theme="blue"] .el-notification {
  253. display: -webkit-box;
  254. display: -ms-flexbox;
  255. display: flex;
  256. width: 330px;
  257. padding: 14px 26px 14px 13px;
  258. border-radius: 8px;
  259. -webkit-box-sizing: border-box;
  260. box-sizing: border-box;
  261. border: 1px solid #EBEEF5;
  262. position: fixed;
  263. background-color: #000000;
  264. -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  265. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  266. -webkit-transition: opacity .3s, left .3s, right .3s, top 0.4s, bottom .3s, -webkit-transform .3s;
  267. transition: opacity .3s, left .3s, right .3s, top 0.4s, bottom .3s, -webkit-transform .3s;
  268. transition: opacity .3s, transform .3s, left .3s, right .3s, top 0.4s, bottom .3s;
  269. transition: opacity .3s, transform .3s, left .3s, right .3s, top 0.4s, bottom .3s, -webkit-transform .3s;
  270. overflow: hidden; }
  271. [data-theme="blue"] .el-notification.right {
  272. right: 16px; }
  273. [data-theme="blue"] .el-notification.left {
  274. left: 16px; }
  275. .el-notification__group {
  276. margin-left: 13px;
  277. margin-right: 8px; }
  278. .el-notification__title {
  279. font-weight: bold;
  280. font-size: 16px;
  281. color: #aaaaaa;
  282. margin: 0; }
  283. .el-notification__content {
  284. font-size: 14px;
  285. line-height: 21px;
  286. margin: 6px 0 0 0;
  287. color: #FFFFFF;
  288. text-align: justify; }
  289. .el-notification__content p {
  290. margin: 0; }
  291. .el-notification__icon {
  292. height: 24px;
  293. width: 24px;
  294. font-size: 24px; }
  295. .el-notification__closeBtn {
  296. position: absolute;
  297. top: 18px;
  298. right: 15px;
  299. cursor: pointer;
  300. color: #909399;
  301. font-size: 16px; }
  302. .el-notification__closeBtn:hover {
  303. color: #FFFFFF; }
  304. [data-theme="blue"] .el-notification .el-icon-success {
  305. color: #92D9FF; }
  306. [data-theme="blue"] .el-notification .el-icon-error {
  307. color: #FF6D6D; }
  308. [data-theme="blue"] .el-notification .el-icon-info {
  309. color: #333333; }
  310. [data-theme="blue"] .el-notification .el-icon-warning {
  311. color: #FFCE6D; }
  312. [data-theme="blue"] .el-notification-fade-enter.right {
  313. right: 0;
  314. -webkit-transform: translateX(100%);
  315. transform: translateX(100%); }
  316. [data-theme="blue"] .el-notification-fade-enter.left {
  317. left: 0;
  318. -webkit-transform: translateX(-100%);
  319. transform: translateX(-100%); }
  320. [data-theme="blue"] .el-notification-fade-leave-active {
  321. opacity: 0; }
  322. /* BEM support Func
  323. -------------------------- */
  324. /* Element Chalk Variables */
  325. /* Transition
  326. -------------------------- */
  327. /* Color
  328. -------------------------- */
  329. /* 53a8ff */
  330. /* 66b1ff */
  331. /* 79bbff */
  332. /* 8cc5ff */
  333. /* a0cfff */
  334. /* b3d8ff */
  335. /* c6e2ff */
  336. /* d9ecff */
  337. /* ecf5ff */
  338. /* Link
  339. -------------------------- */
  340. /* Border
  341. -------------------------- */
  342. /* Fill
  343. -------------------------- */
  344. /* Typography
  345. -------------------------- */
  346. /* Size
  347. -------------------------- */
  348. /* z-index
  349. -------------------------- */
  350. /* Disable base
  351. -------------------------- */
  352. /* Icon
  353. -------------------------- */
  354. /* Checkbox
  355. -------------------------- */
  356. /* Radio
  357. -------------------------- */
  358. /* Select
  359. -------------------------- */
  360. /* Alert
  361. -------------------------- */
  362. /* MessageBox
  363. -------------------------- */
  364. /* Message
  365. -------------------------- */
  366. /* Notification
  367. -------------------------- */
  368. /* Input
  369. -------------------------- */
  370. /* Cascader
  371. -------------------------- */
  372. /* Group
  373. -------------------------- */
  374. /* Tab
  375. -------------------------- */
  376. /* Button
  377. -------------------------- */
  378. /* cascader
  379. -------------------------- */
  380. /* Switch
  381. -------------------------- */
  382. /* Dialog
  383. -------------------------- */
  384. /* Table
  385. -------------------------- */
  386. /* Pagination
  387. -------------------------- */
  388. /* Popup
  389. -------------------------- */
  390. /* Popover
  391. -------------------------- */
  392. /* Tooltip
  393. -------------------------- */
  394. /* Tag
  395. -------------------------- */
  396. /* Tree
  397. -------------------------- */
  398. /* Dropdown
  399. -------------------------- */
  400. /* Badge
  401. -------------------------- */
  402. /* Card
  403. --------------------------*/
  404. /* Slider
  405. --------------------------*/
  406. /* Steps
  407. --------------------------*/
  408. /* Menu
  409. --------------------------*/
  410. /* Rate
  411. --------------------------*/
  412. /* DatePicker
  413. --------------------------*/
  414. /* Loading
  415. --------------------------*/
  416. /* Scrollbar
  417. --------------------------*/
  418. /* Carousel
  419. --------------------------*/
  420. /* Collapse
  421. --------------------------*/
  422. /* Transfer
  423. --------------------------*/
  424. /* Header
  425. --------------------------*/
  426. /* Footer
  427. --------------------------*/
  428. /* Main
  429. --------------------------*/
  430. /* Timeline
  431. --------------------------*/
  432. /* Backtop
  433. --------------------------*/
  434. /* Link
  435. --------------------------*/
  436. /* Calendar
  437. --------------------------*/
  438. /* Form
  439. -------------------------- */
  440. /* Avatar
  441. --------------------------*/
  442. /* Break-point
  443. --------------------------*/
  444. /* Break-points
  445. -------------------------- */
  446. /* Scrollbar
  447. -------------------------- */
  448. /* Placeholder
  449. -------------------------- */
  450. /* BEM
  451. -------------------------- */
  452. /* Element Chalk Variables */
  453. /* Transition
  454. -------------------------- */
  455. /* Color
  456. -------------------------- */
  457. /* 53a8ff */
  458. /* 66b1ff */
  459. /* 79bbff */
  460. /* 8cc5ff */
  461. /* a0cfff */
  462. /* b3d8ff */
  463. /* c6e2ff */
  464. /* d9ecff */
  465. /* ecf5ff */
  466. /* Link
  467. -------------------------- */
  468. /* Border
  469. -------------------------- */
  470. /* Fill
  471. -------------------------- */
  472. /* Typography
  473. -------------------------- */
  474. /* Size
  475. -------------------------- */
  476. /* z-index
  477. -------------------------- */
  478. /* Disable base
  479. -------------------------- */
  480. /* Icon
  481. -------------------------- */
  482. /* Checkbox
  483. -------------------------- */
  484. /* Radio
  485. -------------------------- */
  486. /* Select
  487. -------------------------- */
  488. /* Alert
  489. -------------------------- */
  490. /* MessageBox
  491. -------------------------- */
  492. /* Message
  493. -------------------------- */
  494. /* Notification
  495. -------------------------- */
  496. /* Input
  497. -------------------------- */
  498. /* Cascader
  499. -------------------------- */
  500. /* Group
  501. -------------------------- */
  502. /* Tab
  503. -------------------------- */
  504. /* Button
  505. -------------------------- */
  506. /* cascader
  507. -------------------------- */
  508. /* Switch
  509. -------------------------- */
  510. /* Dialog
  511. -------------------------- */
  512. /* Table
  513. -------------------------- */
  514. /* Pagination
  515. -------------------------- */
  516. /* Popup
  517. -------------------------- */
  518. /* Popover
  519. -------------------------- */
  520. /* Tooltip
  521. -------------------------- */
  522. /* Tag
  523. -------------------------- */
  524. /* Tree
  525. -------------------------- */
  526. /* Dropdown
  527. -------------------------- */
  528. /* Badge
  529. -------------------------- */
  530. /* Card
  531. --------------------------*/
  532. /* Slider
  533. --------------------------*/
  534. /* Steps
  535. --------------------------*/
  536. /* Menu
  537. --------------------------*/
  538. /* Rate
  539. --------------------------*/
  540. /* DatePicker
  541. --------------------------*/
  542. /* Loading
  543. --------------------------*/
  544. /* Scrollbar
  545. --------------------------*/
  546. /* Carousel
  547. --------------------------*/
  548. /* Collapse
  549. --------------------------*/
  550. /* Transfer
  551. --------------------------*/
  552. /* Header
  553. --------------------------*/
  554. /* Footer
  555. --------------------------*/
  556. /* Main
  557. --------------------------*/
  558. /* Timeline
  559. --------------------------*/
  560. /* Backtop
  561. --------------------------*/
  562. /* Link
  563. --------------------------*/
  564. /* Calendar
  565. --------------------------*/
  566. /* Form
  567. -------------------------- */
  568. /* Avatar
  569. --------------------------*/
  570. /* Break-point
  571. --------------------------*/
  572. .el-notification {
  573. display: -webkit-box;
  574. display: -ms-flexbox;
  575. display: flex;
  576. width: 330px;
  577. padding: 14px 26px 14px 13px;
  578. border-radius: 8px;
  579. -webkit-box-sizing: border-box;
  580. box-sizing: border-box;
  581. border: 1px solid #EBEEF5;
  582. position: fixed;
  583. background-color: #000000;
  584. -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  585. box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  586. -webkit-transition: opacity .3s, left .3s, right .3s, top 0.4s, bottom .3s, -webkit-transform .3s;
  587. transition: opacity .3s, left .3s, right .3s, top 0.4s, bottom .3s, -webkit-transform .3s;
  588. transition: opacity .3s, transform .3s, left .3s, right .3s, top 0.4s, bottom .3s;
  589. transition: opacity .3s, transform .3s, left .3s, right .3s, top 0.4s, bottom .3s, -webkit-transform .3s;
  590. overflow: hidden; }
  591. .el-notification.right {
  592. right: 16px; }
  593. .el-notification.left {
  594. left: 16px; }
  595. .el-notification__group {
  596. margin-left: 13px;
  597. margin-right: 8px; }
  598. .el-notification__title {
  599. font-weight: bold;
  600. font-size: 16px;
  601. color: #aaaaaa;
  602. margin: 0; }
  603. .el-notification__content {
  604. font-size: 14px;
  605. line-height: 21px;
  606. margin: 6px 0 0 0;
  607. color: #FFFFFF;
  608. text-align: justify; }
  609. .el-notification__content p {
  610. margin: 0; }
  611. .el-notification__icon {
  612. height: 24px;
  613. width: 24px;
  614. font-size: 24px; }
  615. .el-notification__closeBtn {
  616. position: absolute;
  617. top: 18px;
  618. right: 15px;
  619. cursor: pointer;
  620. color: #909399;
  621. font-size: 16px; }
  622. .el-notification__closeBtn:hover {
  623. color: #FFFFFF; }
  624. .el-notification .el-icon-success {
  625. color: #92D9FF; }
  626. .el-notification .el-icon-error {
  627. color: #FF6D6D; }
  628. .el-notification .el-icon-info {
  629. color: #333333; }
  630. .el-notification .el-icon-warning {
  631. color: #FFCE6D; }
  632. .el-notification-fade-enter.right {
  633. right: 0;
  634. -webkit-transform: translateX(100%);
  635. transform: translateX(100%); }
  636. .el-notification-fade-enter.left {
  637. left: 0;
  638. -webkit-transform: translateX(-100%);
  639. transform: translateX(-100%); }
  640. .el-notification-fade-leave-active {
  641. opacity: 0; }