slideshow.css
2.25 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
93
94
95
96
97
98
99
100
101
102
103
104
#slideshow {
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 1000;
display: none;
background-color: black;
background-repeat: no-repeat;
background-image: url("%webroot%/core/img/loading-dark.gif");
background-position: center center;
}
#slideshow>img {
position: relative;
vertical-align: middle;
display: block;
margin-left: auto;
margin-right: auto;
}
#slideshow img:hover {
background: black url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAMFBMVEX/AAD/AP8AAP8A//8A/wD//wB/AAB/AH8AAH8Af38AfwCCfwAAAAAZGRkzMzNMTEy64p6SAAAAF0lEQVQI12P4DwRngICBQgaIAHEoZAAASHBywR1kvCwAAAAASUVORK5CYII=)repeat;
}
#slideshow > input {
background: none;
border: 0 transparent;
outline: 0;
box-shadow: none;
width: 52px;
height: 52px;
position: absolute;
z-index: 1100;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
filter: alpha(opacity=30);
opacity: .3;
background-position: center center;
background-repeat: no-repeat;
}
#slideshow > * {
-webkit-transition: opacity 300ms;
-moz-transition: opacity 300ms;
-o-transition: opacity 300ms;
transition: opacity 300ms;
}
#slideshow > input:hover {
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter: alpha(opacity=60);
opacity: .6;
}
#slideshow > .next, #slideshow > .previous {
top: 50%;
margin-top: -21px;
}
#slideshow > .next {
right: 0;
background-image: url("%webroot%/core/img/actions/view-next.svg");
}
#slideshow > .previous {
left: 0;
background-image: url("%webroot%/core/img/actions/view-previous.svg");
}
#slideshow > .exit {
right: 0;
top: 0;
background-image: url("%webroot%/core/img/actions/view-close.svg");
}
#slideshow > .pause, #slideshow > .play {
bottom: 0;
right: 0;
margin-top: -21px;
}
#slideshow > .play {
display: none;
background-image: url("%webroot%/core/img/actions/view-play.svg");
}
#slideshow > .pause {
background-image: url("%webroot%/core/img/actions/view-pause.svg");
}
#slideshow > .progress {
position: fixed;
bottom: 10px;
right: 10px;
background-position: 0 100%;
width: 32px;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
background-image: url("%webroot%/core/img/actions/view-pause.svg");
filter: alpha(opacity=30);
opacity: .3;
height: 0;
}