-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathglider.css
110 lines (89 loc) · 1.75 KB
/
glider.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.glider {
overflow: hidden;
position: relative;
max-width: 100% !important;
}
.glider-list {
position: relative;
}
.glider-ltr .glider-list {
left: 0;
}
.glider-rtl .glider-list {
right: 0;
}
.glider-ltr.ease .glider-list {
transition: left 0.5s ease;
}
.glider-rtl.ease .glider-list {
transition: right 0.5s ease;
}
.glider .glider-item {
display: block;
box-sizing: border-box;
}
.glider-rtl .glider-item {
float: right;
}
.glider-ltr .glider-item {
float: left;
}
.glider-control-back, .glider-control-next {
cursor: pointer;
background-color: rgba(0, 0, 0, 0.5);
color: #FFF;
font-size: 2em;
padding: 0.5em;
}
.glider-controls-ltr .glider-control-back {
position: absolute;
left: 0;
}
.glider-controls-ltr .glider-control-next {
position: absolute;
right: 0;
}
.glider-controls-rtl .glider-control-back {
position: absolute;
right: 0;
}
.glider-controls-rtl .glider-control-next {
position: absolute;
left: 0;
}
.glider-top {
top: 0;
}
.glider-middle {
top: 40%;
}
.glider-bottom {
bottom: 0;
}
.glider-control-link {
padding: 0;
margin: 0 auto;
position: absolute;
display: block;
width: 100%;
text-align: center;
}
.glider-control-link li {
list-style: none;
display: inline-block;
cursor: pointer;
padding: 0;
margin: 0.3em;
color: #FFF;
}
.glider-circle-icon {
display: inline-block;
background-color: #FFF;
border-radius: 50%;
width: 15px;
height: 15px;
transition: background 0.5s ease;
}
.glider-link.selected .glider-circle-icon {
background-color: #1F3;
}