PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 13.5
Jetpack – WP Security, Backup, Speed, & Growth v13.5
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 / likes / style.css
style.css
268 lines 5.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * Like Button toolbar button, loading text & container styles
3 */
4
5 /* Master container */
6 #jp-post-flair {
7 padding-top: .5em;
8 }
9
10 /* Overall Sharedaddy block title */
11 div.sharedaddy,
12 #content div.sharedaddy,
13 #main div.sharedaddy {
14 clear: both;
15 }
16
17 div.sharedaddy h3.sd-title {
18 margin: 0 0 1em 0;
19 display: inline-block;
20 line-height: 1.2;
21 font-size: 9pt;
22 font-weight: bold;
23 }
24
25 div.sharedaddy h3.sd-title:before {
26 content: "";
27 display: block;
28 width: 100%;
29 min-width: 30px;
30 border-top: 1px solid #dcdcde;
31 margin-bottom: 1em;
32 }
33
34
35 /* Toolbar */
36 div.jetpack-likes-widget-wrapper {
37 width: 100%;
38 min-height: 50px; /* Previous height, 60px */
39 position: relative; /* Need to abs position placeholder and iframe so there isn't a jarring jump */
40 }
41
42 div.jetpack-likes-widget-wrapper .sd-link-color {
43 font-size: 12px;
44 }
45
46 div.jetpack-comment-likes-widget-wrapper {
47 width: 100%;
48 position: relative;
49 min-height: 31px;
50 }
51
52 div.jetpack-comment-likes-widget-wrapper iframe {
53 margin-bottom: 0;
54 }
55
56 #likes-other-gravatars {
57 display: none;
58 position: absolute;
59 padding: 10px 10px 12px 10px;
60 background-color: #2e4453;
61 border-width: 0;
62 box-shadow: 0 0 10px #2e4453;
63 box-shadow: 0 0 10px rgba(46,68,83,.6);
64 min-width: 130px;
65 z-index: 1000;
66 }
67
68 #likes-other-gravatars.wpl-new-layout {
69 display: none;
70 position: absolute;
71 padding: 9px 12px 10px 12px;
72 background-color: #fff;
73 border: solid 1px #dcdcde;
74 border-radius: 4px;
75 box-shadow: none;
76 min-width: 220px;
77 max-height: 240px;
78 height: auto;
79 overflow: auto;
80 z-index: 1000;
81 }
82
83 #likes-other-gravatars * {
84 line-height: normal;
85 }
86
87 #likes-other-gravatars .likes-text {
88 color: white;
89 font-size: 12px;
90 padding-bottom: 8px;
91 }
92
93 #likes-other-gravatars.wpl-new-layout .likes-text {
94 color: #101517;
95 font-size: 12px;
96 font-weight: 500;
97 padding-bottom: 8px;
98 }
99
100 #likes-other-gravatars ul,
101 #likes-other-gravatars li {
102 margin: 0;
103 padding: 0;
104 text-indent: 0;
105 list-style-type: none;
106 }
107
108 #likes-other-gravatars li::before {
109 content: "";
110 }
111
112 #likes-other-gravatars ul.wpl-avatars {
113 overflow: auto;
114 display: block;
115 max-height: 190px;
116 }
117
118 #likes-other-gravatars ul.wpl-avatars li {
119 width: 32px;
120 height: 32px;
121 float: left;
122 margin: 0 5px 5px 0;
123 }
124
125 #likes-other-gravatars.wpl-new-layout ul.wpl-avatars li {
126 width: 196px;
127 height: 28px;
128 float: none;
129 margin: 0 0 4px 0;
130 }
131
132 #likes-other-gravatars ul.wpl-avatars li a {
133 margin: 0 2px 0 0;
134 border-bottom: none !important;
135 display: block;
136 }
137
138 #likes-other-gravatars.wpl-new-layout ul.wpl-avatars li a {
139 margin: 0 2px 0 0;
140 border-bottom: none !important;
141 display: flex;
142 align-items: center;
143 gap: 8px;
144 text-decoration: none;
145 }
146
147 #likes-other-gravatars.wpl-new-layout ul.wpl-avatars li a span {
148 font-size: 12px;
149 color: #2C3338;
150 overflow: hidden;
151 text-overflow: ellipsis;
152 white-space: nowrap;
153 }
154
155 #likes-other-gravatars ul.wpl-avatars li a img {
156 background: none;
157 border: none;
158 margin: 0 !important;
159 padding: 0 !important;
160 position: static;
161 box-sizing: border-box;
162 }
163
164 #likes-other-gravatars.wpl-new-layout ul.wpl-avatars li a img {
165 background: none;
166 border: none;
167 border-radius: 50%;
168 margin: 0 !important;
169 padding: 1px !important;
170 position: static;
171 }
172
173 div.sd-box {
174 border-top: 1px solid #dcdcde;
175 border-top: 1px solid rgba(0,0,0,.13);
176 }
177
178 .entry-content .post-likes-widget, .post-likes-widget,
179 .comment-likes-widget {
180 margin: 0;
181 border-width: 0;
182 display: block;
183 }
184
185 /* Loading text */
186 .post-likes-widget-placeholder,
187 .comment-likes-widget-placeholder {
188 margin: 0;
189 border-width: 0;
190 position: relative;
191 }
192
193 .comment-likes-widget-placeholder {
194 height: 18px;
195 position: absolute;
196 display: flex;
197 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
198 }
199
200 .comment-likes-widget-placeholder::before {
201 color: #2EA2CC;
202 width: 16px;
203 height: 16px;
204 content: '';
205 display: inline-block;
206 position: relative;
207 top: 3px;
208 padding-right: 5px;
209 background-repeat: no-repeat;
210 background-size: 16px 16px;
211 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='0' fill='none' width='24' height='24'/%3E%3Cg%3E%3Cpath fill='%232EA2CC' d='M12 2l2.582 6.953L22 9.257l-5.822 4.602L18.18 21 12 16.89 5.82 21l2.002-7.14L2 9.256l7.418-.304'/%3E%3C/g%3E%3C/svg%3E");
212 }
213
214 .post-likes-widget-placeholder .button {
215 display: none; /* Let's not show a dummy like button, let's just make a great button experience once it's loaded */
216 }
217
218 .post-likes-widget-placeholder .button span {
219 }
220
221 .post-likes-widget-placeholder .loading,
222 .comment-likes-widget-placeholder .loading {
223 color: #999;
224 font-size: 12px;
225 }
226
227 .comment-likes-widget-placeholder .loading {
228 padding-left: 5px;
229 margin-top: 4px;
230 align-self: center;
231 color: #4E4E4E;
232 }
233
234 /* Like Special cases (display on it's own) */
235 div.sharedaddy.sd-like-enabled .sd-like h3 {
236 display: none;
237 }
238
239 div.sharedaddy.sd-like-enabled .sd-like .post-likes-widget {
240 width: 100%;
241 float: none;
242 position: absolute; /* Need to abs position placeholder and iframe so there isn't a jarring jump */
243 top: 0;
244 }
245
246 .comment-likes-widget {
247 width: 100%;
248 }
249
250
251 /* Make ratings block. @todo: make !important unnecessary by removing inline style */
252 .pd-rating,
253 .cs-rating {
254 display: block !important;
255 }
256
257
258 /* Hide G+ title */
259 .sd-gplus .sd-title {
260 display: none;
261 }
262
263 @media print {
264 .jetpack-likes-widget-wrapper {
265 display: none;
266 }
267 }
268