-
Notifications
You must be signed in to change notification settings - Fork 0
/
flexslider.css
130 lines (111 loc) · 2.32 KB
/
flexslider.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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
@font-face {
font-family: 'flexslider-icon';
src: url('fonts/flexslider-icon.eot');
src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff')
format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
font-weight: normal;
font-style: normal;
}
*{
margin: 0;
padding: 0;
}
.flexslider{
width: 100%;
position: relative;
}
.slides{
overflow: hidden;
}
.slides img{
width: 100%;
}
.slides,
.flex-control-nav,
.flex-direction-nav {
margin: 0;
padding: 0;
list-style: none;
}
.flex-control-nav{
width: 100%;
text-align: center;
position: absolute;
bottom: 5%;
z-index: 999;
}
.flex-control-nav li{
display: inline-block;
margin: 0 6px;
}
.flex-control-nav li a{
display: block;
background: #777777;
width: 12px;
height: 12px;
border-radius: 12px;
text-indent: -9999px;
}
.flex-control-nav li a:hover{
background: #2E2E2E;
}
.flex-control-nav li a.flex-active{
background: #2E2E2E;
}
.flex-direction-nav a{
display: block;
text-decoration: none;
position: absolute;
top: 50%;
z-index: 999;
width: 40px;
height: 40px;
overflow: hidden;
opacity: 0;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
.flex-direction-nav .flex-prev{
left: 0;
}
.flex-direction-nav .flex-next{
right: 0;
}
.flex-direction-nav a:before {
font-family: "flexslider-icon";
font-size: 40px;
display: inline-block;
content: '\f001';
color: #fff;
text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
content: '\f002';
}
.flex-caption p{
font-family: Lato;
position: absolute;
top: 50%;
text-align: center;
width: 100%;
font-size: 45px;
color: #fff;
font-weight: bold;
}
.flexslider:hover .flex-direction-nav .flex-prev{
opacity: 0.7;
left: 10px;
}
.flexslider:hover .flex-direction-nav .flex-prev:hover{
opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next{
opacity: 0.7;
right: 10px;
}
.flexslider:hover .flex-direction-nav .flex-next:hover{
opacity: 1;
}