forked from shbatm/MMM-Carousel
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMMM-Carousel.css
146 lines (123 loc) · 2.27 KB
/
MMM-Carousel.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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/*****************************************************
* *
* Custom Styles for Slider Animations Adapted from: *
* https://www.htmllion.com/ *
* pure-css-based-fullscreen-slider.html *
* *
*****************************************************/
/* Overwrite some of the main.css values */
html {
/*cursor: auto;*/
}
body {
/*overflow: hidden;*/
overflow:visible;
margin-bottom: 0px;
height: calc(100% - 60px);
}
.region.bottom {
bottom: 60px;
}
.zoom50 {
zoom: 0.50;
}
.zoom75 {
zoom: 0.75;
}
.zoom125 {
zoom: 1.25;
}
.zoom150 {
zoom: 1.5;
}
.zoom175 {
zoom: 1.75;
}
.zoom200 {
zoom: 2.0;
}
/* Next and Previous arrow */
.control {
position: absolute;
bottom: 0px;
width: 150px;
height: 150px;
z-index: 55;
}
/* Show button when you hover near */
.control:hover label {
opacity: 0.2;
cursor: pointer !important;
}
.control:hover {
cursor: pointer !important;
}
.control label {
z-index: 0;
display: none;
text-align: center;
line-height: 50px;
position: relative;
width: 50px;
height: 50px;
left: 33%; /* Center in .control div: this.width / .control.width; */
top: 33%; /* Center in .control div: this.height / .control.height;; */
font-size: 50px;
color: #FFF;
cursor: pointer !important;
opacity: 0.0;
}
/*Increase brightness when directly over*/
.control label:hover {
opacity: 0.5;
}
.next {
right: -60px;
}
.previous {
left: -60px;
}
/* Slider Pagger */
.slider-pagination {
position: absolute;
bottom: 15px;
width: 100%;
left: 0;
text-align: center;
z-index: 1000;
}
.slider-pagination label {
width: 10px;
height: 10px;
border-radius: 50%;
display: inline-block;
background: rgba(255,255,255,0.2);
margin: 0 2px;
border: solid 1px rgba(255,255,255,0.4);
cursor: pointer !important;
}
.MMMCarouselCurrentPage {
background: rgba(255,255,255,1) !important;
}
/* Hide actual radio buttons */
.slide-radio
{
position: absolute;
bottom: -200px;
left: -200px;
visibility: hidden;
}
/* Slider Pagger arrow event */
.MMMCarouselAvailable {
display: block !important;
z-index: 100 !important;
}
.MMMCarouselContainer {
overflow: visible !important;
position: absolute;
height: 60px;
bottom: -60px;
width: 100%;
left: 0%;
z-index: 50;
}