-
Notifications
You must be signed in to change notification settings - Fork 0
/
carousel.css
144 lines (135 loc) · 2.93 KB
/
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
/** slider **/
.slider-proto{
overflow: hidden;
min-height: 200px;
padding: 0;
background-color: rgba(0, 164, 203, 0.51);
}
.slider-proto img{
position: absolute;
}
.slide_img, .slider-proto img{
width: 100%;
}
.slide_img .slider-text{
position: absolute;
bottom: 40px;
width: 100%;
display: flex;
justify-content: center;
}
.slide_img .slider-text>.slider-content{
position: absolute;
width: 70%;
bottom: 10px;
font-size: 14px;
min-height: 25px;
text-align: center;
}
.slide_img .slider-text>.slider-title{
position: absolute;
width: 70%;
bottom: 40px;
font-size: 18px;
min-height: 25px;
text-align: center;
}
.slider .slider-title[contenteditable='true'],.slider .slider-content[contenteditable='true']{
border: 1px dashed whitesmoke;
outline: none;
}
/*.hide{*/
/*display: none!important;*/
/*}*/
.action{
position: absolute;
width: 5%;
min-width: 40px;
z-index: 5;
}
.prevButton{
left: 0;
top: 0;
bottom: 0;
margin: auto;
}
.nextButton{
right: 0;
top: 0;
bottom: 0;
margin: auto;
}
.p-none{
pointer-events: none!important;
}
.slide_dots{
display: flex;
justify-content: center;
align-items: center;
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 30px;
margin: auto;
z-index: 15;
}
.slide_dots .dot{
width: 16px;
height: 16px;
border-radius: 50px;
background-color: #dddddd;
margin-left: 5px;
cursor: pointer;
}
.slide_dots .dot.active{
background-color: #5d5d5d;
}
.slide-in {
animation: slide-in 1s forwards;
-webkit-animation: slide-in 1s forwards;
}
@keyframes slide-in {
0% { transform: translateX(100%); }
100% { transform: translateX(0%); }
}
@-webkit-keyframes slide-in {
0% { transform: translateX(100%); }
100% { -webkit-transform: translateX(0%); }
}
.slide-in-to-right {
animation: slide-in-to-right 1s forwards;
-webkit-animation: slide-in-to-right 1s forwards;
}
@keyframes slide-in-to-right {
0% { transform: translateX(-100%); }
100% { transform: translateX(0%); }
}
@-webkit-keyframes slide-in-to-right {
0% { transform: translateX(-100%); }
100% { transform: translateX(0%); }
}
.slide-out {
animation: slide-out 1s forwards;
-webkit-animation: slide-out 1s forwards;
}
@keyframes slide-out {
0% { transform: translateX(0%); }
100% { transform: translateX(-100%); }
}
@-webkit-keyframes slide-out {
0% { -webkit-transform: translateX(0%); }
100% { -webkit-transform: translateX(-100%); }
}
.slide-out-to-right {
animation: slide-out-to-right 1s forwards;
-webkit-animation: slide-out-to-right 1s forwards;
}
@keyframes slide-out-to-right {
0% { transform: translateX(0%); }
100% { transform: translateX(100%); }
}
@-webkit-keyframes slide-out-to-right {
0% { -webkit-transform: translateX(0%); }
100% { -webkit-transform: translateX(100%); }
}