-
Notifications
You must be signed in to change notification settings - Fork 0
/
mn-jq-slider.css
113 lines (99 loc) · 1.95 KB
/
mn-jq-slider.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
.mn-jq-slider {
width:100% ;
position: relative ;
margin: auto;
display: block;
/*background-color:black ;*/
min-height:200px ;
z-index:100;
max-height: 500px;
}
.mn-jq-slide {
display: none;
z-index:150;
min-height: 400px;
overflow:hidden;
width:100%;
position:relative;
background-position: center center;
background-size: cover;
}
.mn-jq-slide>.copy{
color:white;
font-size:11px;
position:absolute;
right:0;
bottom:0;
padding:10px;
background-color: rgba(0,0,0,0.5);
}
.mn-jq-slide.visible{
display:block;
max-height: 500px;
}
/* Next & previous buttons */
.mn-jq-prev, .mn-jq-next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
z-index:200;
}
/* Position the "next button" to the right */
.mn-jq-next {
right: 0;
border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.mn-jq-prev:hover, .mn-jq-next:hover {
background-color: rgba(0,0,0,0.8);
}
/* Caption text */
.mn-jq-counter {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}
/* Number text (1/3 etc) */
.mn-jq-counter {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
}
.mn-jq-dots{
margin-left: auto;
margin-right: auto;
bottom:5px;
position:absolute;
z-index: 1000;
}
/* The dots/bullets/indicators */
.dot {
cursor:pointer;
height: 13px;
width: 13px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}
.active, .dot:hover {
background-color: #717171;
}
.dot.selected{
background-color:#2c3e50;
}