-
Notifications
You must be signed in to change notification settings - Fork 0
/
slider.css
122 lines (107 loc) · 1.87 KB
/
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
114
115
116
117
118
119
120
121
122
#slider-wrap
{
position: relative;
}
#slider
{
overflow: hidden;
}
#slider .slide
{
background: white;
display: block;
width: 100%;
height: 100%;
visibility: hidden;
overflow: hidden;
}
#slider #slide-prioritny, #slider #slide-nasledujuci
{
display: block;
position: absolute;
top: 0;
visibility: visible;
}
#slider #slide-prioritny
{
z-index: 1;
}
#slider .slide-popis
{
width: 33.3%;
height: 100%;
position: relative;
}
#slider .slide-popis h1
{
font-family: "KyrialSansProUltLightCond", sans-serif;
width: 100%;
font-size: 55px;
text-transform: uppercase;
text-align: center;
padding: 0;
margin: 0;
position: inherit;
top: 50%;
transform: translateY(-50%);
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-o-transform: translateY(-50%);
-moz-transform: translateY(-50%);
}
#slider .slide-popis h1 span
{
display: block;
}
#slider .slide-obrazok
{
width: 66.6%;
position: relative;
height: 100%;
}
#slider .slide-obrazok .sipka
{
position: absolute;
width: 11px;
height: 100%;
background: url(http://webmax.sk/themes/webmax/images/beak_R.png) no-repeat left center;
}
#slider .slide-obrazok img
{
width: 100%;
height: auto;
}
#slider-wrap #predchadzajuci, #slider-wrap #nasledujuci
{
position: absolute;
display: none;
background: url("http://webmax.sk/themes/webmax/images/slider.png") no-repeat;
width: 24px;
height: 48px;
top: 50%;
transform: translateY(-50%);
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-o-transform: translateY(-50%);
-moz-transform: translateY(-50%);
cursor: pointer;
z-index: 2;
}
#slider-wrap #predchadzajuci
{
left: -50px;
background-position: 0 0;
}
#slider-wrap #predchadzajuci:hover
{
background-position: 0 -48px;
}
#slider-wrap #nasledujuci
{
right: -50px;
background-position: -24px 0;
}
#slider-wrap #nasledujuci:hover
{
background-position: -24px -48px;
}