Plat Admin

carousel.css 7.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333
  1. /* BEM support Func
  2. -------------------------- */
  3. /* Element Chalk Variables */
  4. /* Transition
  5. -------------------------- */
  6. /* Colors
  7. -------------------------- */
  8. /* 53a8ff */
  9. /* 66b1ff */
  10. /* 79bbff */
  11. /* 8cc5ff */
  12. /* a0cfff */
  13. /* b3d8ff */
  14. /* c6e2ff */
  15. /* d9ecff */
  16. /* ecf5ff */
  17. /* Link
  18. -------------------------- */
  19. /* Background
  20. -------------------------- */
  21. /* Border
  22. -------------------------- */
  23. /* Box-shadow
  24. -------------------------- */
  25. /* Fill
  26. -------------------------- */
  27. /* Font
  28. -------------------------- */
  29. /* Size
  30. -------------------------- */
  31. /* z-index
  32. -------------------------- */
  33. /* Disable base
  34. -------------------------- */
  35. /* Icon
  36. -------------------------- */
  37. /* Checkbox
  38. -------------------------- */
  39. /* Radio
  40. -------------------------- */
  41. /* Select
  42. -------------------------- */
  43. /* Alert
  44. -------------------------- */
  45. /* Message Box
  46. -------------------------- */
  47. /* Message
  48. -------------------------- */
  49. /* Notification
  50. -------------------------- */
  51. /* Input
  52. -------------------------- */
  53. /* Cascader
  54. -------------------------- */
  55. /* Group
  56. -------------------------- */
  57. /* Tab
  58. -------------------------- */
  59. /* Button
  60. -------------------------- */
  61. /* cascader
  62. -------------------------- */
  63. /* Switch
  64. -------------------------- */
  65. /* Dialog
  66. -------------------------- */
  67. /* Table
  68. -------------------------- */
  69. /* Pagination
  70. -------------------------- */
  71. /* Popover
  72. -------------------------- */
  73. /* Tooltip
  74. -------------------------- */
  75. /* Tag
  76. -------------------------- */
  77. /* Tree
  78. -------------------------- */
  79. /* Dropdown
  80. -------------------------- */
  81. /* Badge
  82. -------------------------- */
  83. /* Card
  84. --------------------------*/
  85. /* Slider
  86. --------------------------*/
  87. /* Steps
  88. --------------------------*/
  89. /* Menu
  90. --------------------------*/
  91. /* Rate
  92. --------------------------*/
  93. /* DatePicker
  94. --------------------------*/
  95. /* Loading
  96. --------------------------*/
  97. /* Scrollbar
  98. --------------------------*/
  99. /* Carousel
  100. --------------------------*/
  101. /* Collapse
  102. --------------------------*/
  103. /* Transfer
  104. --------------------------*/
  105. /* Header
  106. --------------------------*/
  107. /* Footer
  108. --------------------------*/
  109. /* Main
  110. --------------------------*/
  111. /* Break-point
  112. --------------------------*/
  113. /* Break-points
  114. -------------------------- */
  115. /* Scrollbar
  116. -------------------------- */
  117. /* Placeholder
  118. -------------------------- */
  119. /* BEM
  120. -------------------------- */
  121. /* Element Chalk Variables */
  122. /* Transition
  123. -------------------------- */
  124. /* Colors
  125. -------------------------- */
  126. /* 53a8ff */
  127. /* 66b1ff */
  128. /* 79bbff */
  129. /* 8cc5ff */
  130. /* a0cfff */
  131. /* b3d8ff */
  132. /* c6e2ff */
  133. /* d9ecff */
  134. /* ecf5ff */
  135. /* Link
  136. -------------------------- */
  137. /* Background
  138. -------------------------- */
  139. /* Border
  140. -------------------------- */
  141. /* Box-shadow
  142. -------------------------- */
  143. /* Fill
  144. -------------------------- */
  145. /* Font
  146. -------------------------- */
  147. /* Size
  148. -------------------------- */
  149. /* z-index
  150. -------------------------- */
  151. /* Disable base
  152. -------------------------- */
  153. /* Icon
  154. -------------------------- */
  155. /* Checkbox
  156. -------------------------- */
  157. /* Radio
  158. -------------------------- */
  159. /* Select
  160. -------------------------- */
  161. /* Alert
  162. -------------------------- */
  163. /* Message Box
  164. -------------------------- */
  165. /* Message
  166. -------------------------- */
  167. /* Notification
  168. -------------------------- */
  169. /* Input
  170. -------------------------- */
  171. /* Cascader
  172. -------------------------- */
  173. /* Group
  174. -------------------------- */
  175. /* Tab
  176. -------------------------- */
  177. /* Button
  178. -------------------------- */
  179. /* cascader
  180. -------------------------- */
  181. /* Switch
  182. -------------------------- */
  183. /* Dialog
  184. -------------------------- */
  185. /* Table
  186. -------------------------- */
  187. /* Pagination
  188. -------------------------- */
  189. /* Popover
  190. -------------------------- */
  191. /* Tooltip
  192. -------------------------- */
  193. /* Tag
  194. -------------------------- */
  195. /* Tree
  196. -------------------------- */
  197. /* Dropdown
  198. -------------------------- */
  199. /* Badge
  200. -------------------------- */
  201. /* Card
  202. --------------------------*/
  203. /* Slider
  204. --------------------------*/
  205. /* Steps
  206. --------------------------*/
  207. /* Menu
  208. --------------------------*/
  209. /* Rate
  210. --------------------------*/
  211. /* DatePicker
  212. --------------------------*/
  213. /* Loading
  214. --------------------------*/
  215. /* Scrollbar
  216. --------------------------*/
  217. /* Carousel
  218. --------------------------*/
  219. /* Collapse
  220. --------------------------*/
  221. /* Transfer
  222. --------------------------*/
  223. /* Header
  224. --------------------------*/
  225. /* Footer
  226. --------------------------*/
  227. /* Main
  228. --------------------------*/
  229. /* Break-point
  230. --------------------------*/
  231. .el-carousel {
  232. overflow-x: hidden;
  233. position: relative; }
  234. .el-carousel__container {
  235. position: relative;
  236. height: 300px; }
  237. .el-carousel__arrow {
  238. border: none;
  239. outline: none;
  240. padding: 0;
  241. margin: 0;
  242. height: 36px;
  243. width: 36px;
  244. cursor: pointer;
  245. -webkit-transition: .3s;
  246. transition: .3s;
  247. border-radius: 50%;
  248. background-color: rgba(31, 45, 61, 0.11);
  249. color: #fff;
  250. position: absolute;
  251. top: 50%;
  252. z-index: 10;
  253. -webkit-transform: translateY(-50%);
  254. transform: translateY(-50%);
  255. text-align: center;
  256. font-size: 12px; }
  257. .el-carousel__arrow--left {
  258. left: 16px; }
  259. .el-carousel__arrow--right {
  260. right: 16px; }
  261. .el-carousel__arrow:hover {
  262. background-color: rgba(31, 45, 61, 0.23); }
  263. .el-carousel__arrow i {
  264. cursor: pointer; }
  265. .el-carousel__indicators {
  266. position: absolute;
  267. list-style: none;
  268. bottom: 0;
  269. left: 50%;
  270. -webkit-transform: translateX(-50%);
  271. transform: translateX(-50%);
  272. margin: 0;
  273. padding: 0;
  274. z-index: 2; }
  275. .el-carousel__indicators--outside {
  276. bottom: 26px;
  277. text-align: center;
  278. position: static;
  279. -webkit-transform: none;
  280. transform: none; }
  281. .el-carousel__indicators--outside .el-carousel__indicator:hover button {
  282. opacity: 0.64; }
  283. .el-carousel__indicators--outside button {
  284. background-color: #c0c4cc;
  285. opacity: 0.24; }
  286. .el-carousel__indicators--labels {
  287. left: 0;
  288. right: 0;
  289. -webkit-transform: none;
  290. transform: none;
  291. text-align: center; }
  292. .el-carousel__indicators--labels .el-carousel__button {
  293. height: auto;
  294. width: auto;
  295. padding: 2px 18px;
  296. font-size: 12px; }
  297. .el-carousel__indicators--labels .el-carousel__indicator {
  298. padding: 6px 4px; }
  299. .el-carousel__indicator {
  300. display: inline-block;
  301. background-color: transparent;
  302. padding: 12px 4px;
  303. cursor: pointer; }
  304. .el-carousel__indicator:hover button {
  305. opacity: 0.72; }
  306. .el-carousel__indicator.is-active button {
  307. opacity: 1; }
  308. .el-carousel__button {
  309. display: block;
  310. opacity: 0.48;
  311. width: 30px;
  312. height: 2px;
  313. background-color: #fff;
  314. border: none;
  315. outline: none;
  316. padding: 0;
  317. margin: 0;
  318. cursor: pointer;
  319. -webkit-transition: .3s;
  320. transition: .3s; }
  321. .carousel-arrow-left-enter,
  322. .carousel-arrow-left-leave-active {
  323. -webkit-transform: translateY(-50%) translateX(-10px);
  324. transform: translateY(-50%) translateX(-10px);
  325. opacity: 0; }
  326. .carousel-arrow-right-enter,
  327. .carousel-arrow-right-leave-active {
  328. -webkit-transform: translateY(-50%) translateX(10px);
  329. transform: translateY(-50%) translateX(10px);
  330. opacity: 0; }