PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 7.1
Jetpack – WP Security, Backup, Speed, & Growth v7.1
16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 13.7.2 13.8.3 13.9.2 14.0.1 14.1.1 14.2.2 14.3.1 All 501 releases
jetpack / modules / shortcodes / css / slideshow-shortcode.css

slideshow-shortcode.css in Jetpack – WP Security, Backup, Speed, & Growth 7.1, at modules/shortcodes/css/slideshow-shortcode.css

158 lines 3.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .slideshow-window {
2 background-color: #222;
3 border: 20px solid #222;
4 border-radius: 10px;
5 height: 0;
6 margin-bottom: 20px;
7 overflow: hidden;
8 padding-top: 30px !important;
9 padding-bottom: 56.25% !important;
10 position: relative;
11 z-index: 1;
12 }
13
14 .slideshow-window.slideshow-white {
15 background-color: #fff;
16 border-color: #fff;
17 }
18
19 .slideshow-window, .slideshow-window * {
20 -moz-box-sizing: content-box;
21 -webkit-box-sizing: content-box;
22 box-sizing: content-box;
23 }
24
25 .slideshow-loading {
26 height: 100%;
27 text-align: center;
28 margin: auto;
29 }
30
31 body div.slideshow-window * img {
32 /* Override any styles that might be present in the page stylesheet */
33 background-color: transparent !important;
34 background-image: none !important;
35 border-width: 0 !important;
36 display: block;
37 margin: 0 auto;
38 max-width: 100%;
39 max-height: 100%;
40 padding: 0 !important;
41 position: relative;
42 -webkit-transform: translateY(-50%);
43 -ms-transform: translateY(-50%);
44 transform: translateY(-50%);
45 top: 50%;
46 }
47
48 .slideshow-loading img {
49 vertical-align: middle;
50 }
51
52 .slideshow-slide {
53 display: none;
54 height: 100% !important;
55 left: 0;
56 margin: auto;
57 position: absolute;
58 text-align: center;
59 top: 0;
60 width: 100% !important;
61 }
62
63 .slideshow-slide img {
64 vertical-align: middle;
65 }
66
67 .slideshow-line-height-hack {
68 overflow: hidden;
69 width: 0px;
70 font-size: 0px;
71 }
72
73 .slideshow-slide-caption {
74 font-size: 13px;
75 font-family: "Helvetica Neue", sans-serif;
76 color: #f7f7f7;
77 text-shadow: #222 1px 1px 2px;
78 line-height: 25px;
79 height: 25px;
80 position: absolute;
81 bottom: 5px;
82 left: 0;
83 z-index: 100;
84 width: 100%;
85 text-align: center;
86 }
87
88 .slideshow-controls {
89 z-index: 1000;
90 position: absolute;
91 bottom: 30px;
92 margin: auto;
93 text-align: center;
94 width: 100%;
95 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
96 opacity: 0.5;
97 /*rtl:ignore*/
98 direction:ltr;
99 -webkit-transition: 300ms opacity ease-out;
100 -moz-transition: 300ms opacity ease-out;
101 transition: 300ms opacity ease-out;
102 }
103
104 .slideshow-window:hover .slideshow-controls {
105 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
106 opacity: 1;
107 }
108
109 body div div.slideshow-controls a,
110 body div div.slideshow-controls a:hover {
111 border:2px solid rgba(255,255,255,0.1) !important;
112 background-color: #000 !important;
113 background-color: rgba(0,0,0,0.6) !important;
114 background-image: url('../img/slideshow-controls.png') !important;
115 background-repeat: no-repeat;
116 background-size: 142px 16px !important;
117 background-position: -34px 8px !important;
118 color: #222 !important;
119 margin: 0 5px !important;
120 padding: 0 !important;
121 display: inline-block !important;
122 *display: inline;
123 zoom: 1;
124 height: 32px !important;
125 width: 32px !important;
126 line-height: 32px !important;
127 text-align: center !important;
128 -khtml-border-radius: 10em !important;
129 -webkit-border-radius: 10em !important;
130 -moz-border-radius: 10em !important;
131 border-radius: 10em !important;
132 -webkit-transition: 300ms border-color ease-out;
133 -moz-transition: 300ms border-color ease-out;
134 -o-transition: 300ms border-color ease-out;
135 transition: 300ms border-color ease-out;
136 }
137
138 @media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
139 body div div.slideshow-controls a,
140 body div div.slideshow-controls a:hover {
141 background-image: url('../img/slideshow-controls-2x.png') !important;
142 }
143 }
144
145 body div div.slideshow-controls a:hover {
146 border-color: rgba(255,255,255,1) !important;
147 }
148
149 body div div.slideshow-controls a:first-child { background-position: -76px 8px !important;}
150 body div div.slideshow-controls a:last-child { background-position: -117px 8px !important;}
151 body div div.slideshow-controls a:nth-child(2) { background-position: -34px 8px !important;}
152 body div div.slideshow-controls a.running { background-position: -34px 8px !important;}
153 body div div.slideshow-controls a.paused { background-position: 9px 8px !important;}
154
155 .slideshow-controls a img {
156 border: 50px dotted fuchsia;
157 }
158