-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcoreSlider.css
More file actions
92 lines (78 loc) · 1.49 KB
/
coreSlider.css
File metadata and controls
92 lines (78 loc) · 1.49 KB
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
/*
* CoreSlider v1.0.0
* Copyright 2016 Pavel Davydov
*
* Licensed under MIT (http://opensource.org/licenses/MIT)
*/
.core-slider {
position: relative;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color: #fff;
}
.core-slider_viewport {
overflow: hidden;
position: relative;
}
.core-slider_list {
-webkit-transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}
.core-slider_item {
float: left;
}
.core-slider_item img {
display: block;
max-width: 100%;
height: auto;
}
.core-slider_nav.is-hidden {
display: none;
}
.core-slider_control-nav {
position: absolute;
z-index: 999;
right: 0;
bottom: 30px;
left: 0;
text-align: center;
}
.core-slider_control-nav-item {
display: inline-block;
width: 10px;
height: 10px;
margin: 0 10px;
cursor: pointer;
-webkit-transition: all .5s linear;
transition: all .5s linear;
border-radius: 50%;
background: #fff;
}
.core-slider_control-nav-item:hover {
opacity: .3;
}
.core-slider_control-nav-item.is-active {
cursor: default;
opacity: .3;
}
.core-slider_arrow {
position: absolute;
z-index: 999;
top: 50%;
cursor: pointer;
-webkit-transform: translate(0, -50%);
-ms-transform: translate(0, -50%);
transform: translate(0, -50%);
}
.core-slider_arrow.is-disabled {
cursor: default;
opacity: .5;
}
.core-slider_arrow.is-hidden {
display: none;
}
.core-slider_arrow:hover {
opacity: .5;
}