blob: 7c1170ee2c6cb309e481cbb794c0e44e98feb0ca [file] [log] [blame]
qiaowei9579db42020-04-14 13:08:35 +08001/**
2 * aui-slide.css 轮播样式
3 * verson 0.0.2
4 * @author 流浪男
5 * http://www.auicss.com
6 * @todo more things to abstract, e.g. Loading css etc.
7 * Licensed under the MIT license.
8 * http://www.opensource.org/licenses/mit-license.php
9 */
10.aui-slide-wrap {
11 display: block;
12 position: relative;
13 list-style: none;
14 margin: 0;
15 padding: 0;
16 height: 100%;
17 width: 100%;
18 overflow: hidden;
19}
20.aui-slide-wrap .aui-slide-node {
21 position: absolute;
22 top: 0;
23 left: 0;
24 margin: 0;
25 padding: 0;
26 width: 100%;
27 height: 100%;
28 list-style: none;
29 overflow: hidden;
30 background: #ffffff;
31}
32.aui-slide-node-center {
33 display: -moz-box;
34 display: -webkit-box;
35 display: box;
36 -moz-box-pack: center;
37 -webkit-box-pack: center;
38 box-pack: center;
39}
40.aui-slide-node-middle {
41 display: -moz-box;
42 display: -webkit-box;
43 display: box;
44 -moz-box-align: center;
45 -webkit-box-align: center;
46 box-align: center;
47}
48.aui-slide-node img {
49 width: 100%;
50 height: 100%;
51}
52.aui-slide-page-wrap {
53 width: 100%;
54 height: 30px;
55 line-height: 30px;
56 position: absolute;
57 padding: 0;
58 left: 0;
59 right: 0;
60 bottom: 5px;
61 z-index: 9999;
62 text-align: center;
63}
64.aui-slide-page-dot {
65 position: relative;
66 display: inline-block;
67 width: 6px;
68 height: 6px;
69 border-radius: 50%;
70 list-style: none;
71 margin: 5px 3px 0 3px;
72 background: #c7c7c7;
73 -webkit-transition: all 0.5s;
74 transition: all 0.5s;
75}
76.aui-slide-page-line {
77 position: absolute;
78 bottom: -14px;
79 height: 1px !important;
80 position: relative;
81 display: inline-block;
82 background: #eeeeee;
83 -webkit-transition: all 0.5s;
84 transition: all 0.5s;
85}
86.aui-slide-page-active {
87 background: #1abc9c;
88 from { opacity: 0.3; }
89 to { opacity: 1 }
90}
91.aui-slide-prev-btn,
92.aui-slide-next-btn {
93 display: inline-block;
94 width: 50px;
95 height: 30px;
96 line-height: 30px;
97 font-size: 1.2em;
98 color: #1abc9c;
99 background: rgba(249,249,249,0.6);
100 position: relative;
101}
102.aui-slide-prev-btn {
103 border-top-left-radius: 15px;
104 border-bottom-left-radius: 15px;
105}
106.aui-slide-next-btn {
107 border-top-right-radius: 15px;
108 border-bottom-right-radius: 15px;
109}
110.aui-slide-prev-btn:active,
111.aui-slide-next-btn:active {
112 color: #f1c40f;
113}