框架源码
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.

734 lines
17 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-carousel {
  253. position: relative; }
  254. [data-theme="blue"] .el-carousel--horizontal {
  255. overflow-x: hidden; }
  256. [data-theme="blue"] .el-carousel--vertical {
  257. overflow-y: hidden; }
  258. .el-carousel__container {
  259. position: relative;
  260. height: 300px; }
  261. .el-carousel__arrow {
  262. border: none;
  263. outline: none;
  264. padding: 0;
  265. margin: 0;
  266. height: 36px;
  267. width: 36px;
  268. cursor: pointer;
  269. -webkit-transition: .3s;
  270. transition: .3s;
  271. border-radius: 50%;
  272. background-color: rgba(31, 45, 61, 0.11);
  273. color: #000000;
  274. position: absolute;
  275. top: 50%;
  276. z-index: 10;
  277. -webkit-transform: translateY(-50%);
  278. transform: translateY(-50%);
  279. text-align: center;
  280. font-size: 12px; }
  281. .el-carousel__arrow--left {
  282. left: 16px; }
  283. .el-carousel__arrow--right {
  284. right: 16px; }
  285. .el-carousel__arrow:hover {
  286. background-color: rgba(31, 45, 61, 0.23); }
  287. .el-carousel__arrow i {
  288. cursor: pointer; }
  289. .el-carousel__indicators {
  290. position: absolute;
  291. list-style: none;
  292. margin: 0;
  293. padding: 0;
  294. z-index: 2; }
  295. .el-carousel__indicators--horizontal {
  296. bottom: 0;
  297. left: 50%;
  298. -webkit-transform: translateX(-50%);
  299. transform: translateX(-50%); }
  300. .el-carousel__indicators--vertical {
  301. right: 0;
  302. top: 50%;
  303. -webkit-transform: translateY(-50%);
  304. transform: translateY(-50%); }
  305. .el-carousel__indicators--outside {
  306. bottom: 26px;
  307. text-align: center;
  308. position: static;
  309. -webkit-transform: none;
  310. transform: none; }
  311. .el-carousel__indicators--outside .el-carousel__indicator:hover button {
  312. opacity: 0.64; }
  313. .el-carousel__indicators--outside button {
  314. background-color: rgba(255, 255, 255, 0.5);
  315. opacity: 0.24; }
  316. .el-carousel__indicators--labels {
  317. left: 0;
  318. right: 0;
  319. -webkit-transform: none;
  320. transform: none;
  321. text-align: center; }
  322. .el-carousel__indicators--labels .el-carousel__button {
  323. height: auto;
  324. width: auto;
  325. padding: 2px 18px;
  326. font-size: 12px; }
  327. .el-carousel__indicators--labels .el-carousel__indicator {
  328. padding: 6px 4px; }
  329. .el-carousel__indicator {
  330. background-color: transparent;
  331. cursor: pointer; }
  332. .el-carousel__indicator:hover button {
  333. opacity: 0.72; }
  334. .el-carousel__indicator--horizontal {
  335. display: inline-block;
  336. padding: 12px 4px; }
  337. .el-carousel__indicator--vertical {
  338. padding: 4px 12px; }
  339. .el-carousel__indicator--vertical .el-carousel__button {
  340. width: 2px;
  341. height: 15px; }
  342. .el-carousel__indicator.is-active button {
  343. opacity: 1; }
  344. .el-carousel__button {
  345. display: block;
  346. opacity: 0.48;
  347. width: 30px;
  348. height: 2px;
  349. background-color: #000000;
  350. border: none;
  351. outline: none;
  352. padding: 0;
  353. margin: 0;
  354. cursor: pointer;
  355. -webkit-transition: .3s;
  356. transition: .3s; }
  357. [data-theme="blue"] .carousel-arrow-left-enter,
  358. [data-theme="blue"] .carousel-arrow-left-leave-active {
  359. -webkit-transform: translateY(-50%) translateX(-10px);
  360. transform: translateY(-50%) translateX(-10px);
  361. opacity: 0; }
  362. [data-theme="blue"] .carousel-arrow-right-enter,
  363. [data-theme="blue"] .carousel-arrow-right-leave-active {
  364. -webkit-transform: translateY(-50%) translateX(10px);
  365. transform: translateY(-50%) translateX(10px);
  366. opacity: 0; }
  367. /* BEM support Func
  368. -------------------------- */
  369. /* Element Chalk Variables */
  370. /* Transition
  371. -------------------------- */
  372. /* Color
  373. -------------------------- */
  374. /* 53a8ff */
  375. /* 66b1ff */
  376. /* 79bbff */
  377. /* 8cc5ff */
  378. /* a0cfff */
  379. /* b3d8ff */
  380. /* c6e2ff */
  381. /* d9ecff */
  382. /* ecf5ff */
  383. /* Link
  384. -------------------------- */
  385. /* Border
  386. -------------------------- */
  387. /* Fill
  388. -------------------------- */
  389. /* Typography
  390. -------------------------- */
  391. /* Size
  392. -------------------------- */
  393. /* z-index
  394. -------------------------- */
  395. /* Disable base
  396. -------------------------- */
  397. /* Icon
  398. -------------------------- */
  399. /* Checkbox
  400. -------------------------- */
  401. /* Radio
  402. -------------------------- */
  403. /* Select
  404. -------------------------- */
  405. /* Alert
  406. -------------------------- */
  407. /* MessageBox
  408. -------------------------- */
  409. /* Message
  410. -------------------------- */
  411. /* Notification
  412. -------------------------- */
  413. /* Input
  414. -------------------------- */
  415. /* Cascader
  416. -------------------------- */
  417. /* Group
  418. -------------------------- */
  419. /* Tab
  420. -------------------------- */
  421. /* Button
  422. -------------------------- */
  423. /* cascader
  424. -------------------------- */
  425. /* Switch
  426. -------------------------- */
  427. /* Dialog
  428. -------------------------- */
  429. /* Table
  430. -------------------------- */
  431. /* Pagination
  432. -------------------------- */
  433. /* Popup
  434. -------------------------- */
  435. /* Popover
  436. -------------------------- */
  437. /* Tooltip
  438. -------------------------- */
  439. /* Tag
  440. -------------------------- */
  441. /* Tree
  442. -------------------------- */
  443. /* Dropdown
  444. -------------------------- */
  445. /* Badge
  446. -------------------------- */
  447. /* Card
  448. --------------------------*/
  449. /* Slider
  450. --------------------------*/
  451. /* Steps
  452. --------------------------*/
  453. /* Menu
  454. --------------------------*/
  455. /* Rate
  456. --------------------------*/
  457. /* DatePicker
  458. --------------------------*/
  459. /* Loading
  460. --------------------------*/
  461. /* Scrollbar
  462. --------------------------*/
  463. /* Carousel
  464. --------------------------*/
  465. /* Collapse
  466. --------------------------*/
  467. /* Transfer
  468. --------------------------*/
  469. /* Header
  470. --------------------------*/
  471. /* Footer
  472. --------------------------*/
  473. /* Main
  474. --------------------------*/
  475. /* Timeline
  476. --------------------------*/
  477. /* Backtop
  478. --------------------------*/
  479. /* Link
  480. --------------------------*/
  481. /* Calendar
  482. --------------------------*/
  483. /* Form
  484. -------------------------- */
  485. /* Avatar
  486. --------------------------*/
  487. /* Break-point
  488. --------------------------*/
  489. /* Break-points
  490. -------------------------- */
  491. /* Scrollbar
  492. -------------------------- */
  493. /* Placeholder
  494. -------------------------- */
  495. /* BEM
  496. -------------------------- */
  497. /* Element Chalk Variables */
  498. /* Transition
  499. -------------------------- */
  500. /* Color
  501. -------------------------- */
  502. /* 53a8ff */
  503. /* 66b1ff */
  504. /* 79bbff */
  505. /* 8cc5ff */
  506. /* a0cfff */
  507. /* b3d8ff */
  508. /* c6e2ff */
  509. /* d9ecff */
  510. /* ecf5ff */
  511. /* Link
  512. -------------------------- */
  513. /* Border
  514. -------------------------- */
  515. /* Fill
  516. -------------------------- */
  517. /* Typography
  518. -------------------------- */
  519. /* Size
  520. -------------------------- */
  521. /* z-index
  522. -------------------------- */
  523. /* Disable base
  524. -------------------------- */
  525. /* Icon
  526. -------------------------- */
  527. /* Checkbox
  528. -------------------------- */
  529. /* Radio
  530. -------------------------- */
  531. /* Select
  532. -------------------------- */
  533. /* Alert
  534. -------------------------- */
  535. /* MessageBox
  536. -------------------------- */
  537. /* Message
  538. -------------------------- */
  539. /* Notification
  540. -------------------------- */
  541. /* Input
  542. -------------------------- */
  543. /* Cascader
  544. -------------------------- */
  545. /* Group
  546. -------------------------- */
  547. /* Tab
  548. -------------------------- */
  549. /* Button
  550. -------------------------- */
  551. /* cascader
  552. -------------------------- */
  553. /* Switch
  554. -------------------------- */
  555. /* Dialog
  556. -------------------------- */
  557. /* Table
  558. -------------------------- */
  559. /* Pagination
  560. -------------------------- */
  561. /* Popup
  562. -------------------------- */
  563. /* Popover
  564. -------------------------- */
  565. /* Tooltip
  566. -------------------------- */
  567. /* Tag
  568. -------------------------- */
  569. /* Tree
  570. -------------------------- */
  571. /* Dropdown
  572. -------------------------- */
  573. /* Badge
  574. -------------------------- */
  575. /* Card
  576. --------------------------*/
  577. /* Slider
  578. --------------------------*/
  579. /* Steps
  580. --------------------------*/
  581. /* Menu
  582. --------------------------*/
  583. /* Rate
  584. --------------------------*/
  585. /* DatePicker
  586. --------------------------*/
  587. /* Loading
  588. --------------------------*/
  589. /* Scrollbar
  590. --------------------------*/
  591. /* Carousel
  592. --------------------------*/
  593. /* Collapse
  594. --------------------------*/
  595. /* Transfer
  596. --------------------------*/
  597. /* Header
  598. --------------------------*/
  599. /* Footer
  600. --------------------------*/
  601. /* Main
  602. --------------------------*/
  603. /* Timeline
  604. --------------------------*/
  605. /* Backtop
  606. --------------------------*/
  607. /* Link
  608. --------------------------*/
  609. /* Calendar
  610. --------------------------*/
  611. /* Form
  612. -------------------------- */
  613. /* Avatar
  614. --------------------------*/
  615. /* Break-point
  616. --------------------------*/
  617. .el-carousel {
  618. position: relative; }
  619. .el-carousel--horizontal {
  620. overflow-x: hidden; }
  621. .el-carousel--vertical {
  622. overflow-y: hidden; }
  623. .el-carousel__container {
  624. position: relative;
  625. height: 300px; }
  626. .el-carousel__arrow {
  627. border: none;
  628. outline: none;
  629. padding: 0;
  630. margin: 0;
  631. height: 36px;
  632. width: 36px;
  633. cursor: pointer;
  634. -webkit-transition: .3s;
  635. transition: .3s;
  636. border-radius: 50%;
  637. background-color: rgba(31, 45, 61, 0.11);
  638. color: #000000;
  639. position: absolute;
  640. top: 50%;
  641. z-index: 10;
  642. -webkit-transform: translateY(-50%);
  643. transform: translateY(-50%);
  644. text-align: center;
  645. font-size: 12px; }
  646. .el-carousel__arrow--left {
  647. left: 16px; }
  648. .el-carousel__arrow--right {
  649. right: 16px; }
  650. .el-carousel__arrow:hover {
  651. background-color: rgba(31, 45, 61, 0.23); }
  652. .el-carousel__arrow i {
  653. cursor: pointer; }
  654. .el-carousel__indicators {
  655. position: absolute;
  656. list-style: none;
  657. margin: 0;
  658. padding: 0;
  659. z-index: 2; }
  660. .el-carousel__indicators--horizontal {
  661. bottom: 0;
  662. left: 50%;
  663. -webkit-transform: translateX(-50%);
  664. transform: translateX(-50%); }
  665. .el-carousel__indicators--vertical {
  666. right: 0;
  667. top: 50%;
  668. -webkit-transform: translateY(-50%);
  669. transform: translateY(-50%); }
  670. .el-carousel__indicators--outside {
  671. bottom: 26px;
  672. text-align: center;
  673. position: static;
  674. -webkit-transform: none;
  675. transform: none; }
  676. .el-carousel__indicators--outside .el-carousel__indicator:hover button {
  677. opacity: 0.64; }
  678. .el-carousel__indicators--outside button {
  679. background-color: rgba(255, 255, 255, 0.5);
  680. opacity: 0.24; }
  681. .el-carousel__indicators--labels {
  682. left: 0;
  683. right: 0;
  684. -webkit-transform: none;
  685. transform: none;
  686. text-align: center; }
  687. .el-carousel__indicators--labels .el-carousel__button {
  688. height: auto;
  689. width: auto;
  690. padding: 2px 18px;
  691. font-size: 12px; }
  692. .el-carousel__indicators--labels .el-carousel__indicator {
  693. padding: 6px 4px; }
  694. .el-carousel__indicator {
  695. background-color: transparent;
  696. cursor: pointer; }
  697. .el-carousel__indicator:hover button {
  698. opacity: 0.72; }
  699. .el-carousel__indicator--horizontal {
  700. display: inline-block;
  701. padding: 12px 4px; }
  702. .el-carousel__indicator--vertical {
  703. padding: 4px 12px; }
  704. .el-carousel__indicator--vertical .el-carousel__button {
  705. width: 2px;
  706. height: 15px; }
  707. .el-carousel__indicator.is-active button {
  708. opacity: 1; }
  709. .el-carousel__button {
  710. display: block;
  711. opacity: 0.48;
  712. width: 30px;
  713. height: 2px;
  714. background-color: #000000;
  715. border: none;
  716. outline: none;
  717. padding: 0;
  718. margin: 0;
  719. cursor: pointer;
  720. -webkit-transition: .3s;
  721. transition: .3s; }
  722. .carousel-arrow-left-enter,
  723. .carousel-arrow-left-leave-active {
  724. -webkit-transform: translateY(-50%) translateX(-10px);
  725. transform: translateY(-50%) translateX(-10px);
  726. opacity: 0; }
  727. .carousel-arrow-right-enter,
  728. .carousel-arrow-right-leave-active {
  729. -webkit-transform: translateY(-50%) translateX(10px);
  730. transform: translateY(-50%) translateX(10px);
  731. opacity: 0; }