PluginProbe
Polylang / 1.5.2
Polylang v1.5.2
3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 3.0.3 All 233 releases
← All changes | css/admin.css +54 -348 2.7.41.5.2 View file →
@@ -1,36 +1,9 @@
1 1 /* languages admin panel */
2 -#add-lang select {
3 - width: 95%;
4 -}
5 -
6 -.column-locale,
7 -.languages .column-slug {
8 - width : 15%
9 -}
10 -
11 -.column-default_lang {
12 - width : 5%;
13 -}
14 -
15 -.column-term_group,
16 -.column-flag, .column-count {
2 +.column-term_group, .column-flag, .column-count {
17 3 width : 10%;
18 4 }
19 5
20 -.icon-default-lang:before {
21 - font-family: 'dashicons';
22 - content: "\f155";
23 -}
24 -.pll-icon:before{
25 - display: inline-block;
26 - text-align: left;
27 - width: 15px;
28 -}
29 -.pll-circle:before{
30 - content: "\25cf";
31 -}
32 -
33 6 .form-field input[type="radio"] {
34 7 width: auto;
35 8 margin-right: 2px;
36 9 }
@@ -35,14 +8,13 @@
35 8 margin-right: 2px;
36 9 }
37 10
38 11 /* about Polylang metabox */
39 -#pll-about-box p,
40 -#pll-recommended p {
12 +#pll_about_box p {
41 13 text-align: justify;
42 14 }
43 15
44 -#pll-about-box input {
16 +#pll_about_box input {
45 17 margin: 0;
46 18 padding: 0;
47 19 float: right;
48 20 }
@@ -47,10 +19,13 @@
47 19 float: right;
48 20 }
49 21
50 22 /* strings translation table */
51 -.stringstranslations .column-name,
52 -.stringstranslations .column-context {
23 +#string-translation .search-box {
24 + margin: 16px 0 8px 0;
25 +}
26 +
27 +.stringstranslations .column-name, .stringstranslations .column-context {
53 28 width: 10%;
54 29 }
55 30
56 31 .stringstranslations .column-string {
@@ -62,127 +37,41 @@
62 37 width: 23%;
63 38 vertical-align: top;
64 39 }
65 40
66 -.translation input,
67 -.translation textarea {
41 +.translation input, .translation textarea {
68 42 width: 72%;
69 43 }
70 44
71 45 /* settings */
72 -.pll-settings {
73 - margin-top: 20px;
74 -}
75 -
76 -.pll-settings .plugin-title {
77 - width: 25%;
78 -}
79 -
80 -#wpbody-content .pll-settings .pll-configure tr {
81 - display: table-row;
82 -}
83 -
84 -#wpbody-content .pll-settings .pll-configure td {
85 - display: table-cell;
86 -}
87 -
88 -#wpbody-content .pll-settings .pll-configure > td {
89 - padding: 20px 20px 20px 40px;
90 -}
91 -
92 -.pll-configure legend {
93 - font-size: 14px;
94 - font-weight: 600;
95 - margin-bottom: 0.5em;
96 -}
97 -
98 -.pll-configure td .description {
99 - margin-top: 2px;
100 - margin-bottom: 0.5em;
101 -}
102 -
103 -.pll-configure p.submit {
104 - margin-top: 20px;
105 -}
106 -
107 -.pll-configure .button {
108 - margin-right: 20px;
109 -}
110 -
111 -.pll-configure fieldset {
112 - margin-bottom: 1.5em;
113 -}
114 -
115 -.pll-inline-block-list {
46 +.pll_inline_block {
116 47 margin: 0;
117 48 }
118 49
119 -.pll-inline-block-list li {
50 +.pll_inline_block li {
120 51 display: inline-block;
121 52 margin: 0;
122 53 width: 250px;
123 54 }
124 55
125 -/* settings URL modifications */
126 56 #pll-domains-table td {
127 57 padding: 2px 2px 2px 1.5em;
128 - -webkit-box-shadow: none;
129 - box-shadow: none;
130 - border: none;
131 58 }
132 59
133 -.pll-settings-url-col {
134 - display: inline-block;
135 - width: 49%;
136 - vertical-align: top;
60 +#pll-force-lang .description {
61 + margin-top: 0;
62 + margin-bottom: 0.5em;
137 63 }
138 64
139 -/* settings Activation keys */
140 -#pll-licenses-table td {
141 - vertical-align: top;
142 -}
143 -
144 -#pll-licenses-table label {
145 - font-size: 1em;
146 - font-weight: 600;
147 -}
148 -
149 -.pll-configure .pll-deactivate-license {
150 - margin: 0 0 0 20px;
151 -}
152 -
153 65 /* language columns in edit.php and edit-tags.php */
154 -.wp-list-table th[class*='column-language_'],
155 -.wp-list-table td[class*='column-language_'] {
156 - width: 1.5em;
157 - box-sizing: content-box; /* Override ACF 5.9.0 styles */
66 +th[class*='column-language_'] {
67 + width: 2em;
158 68 }
159 69
160 -/* Text direction in post.php and edit-tags.php */
161 -.pll-dir-rtl textarea,
162 -.pll-dir-rtl input[type="text"] {
163 - direction: rtl;
164 -}
165 -
166 -.pll-dir-ltr textarea,
167 -.pll-dir-ltr input[type="text"] {
168 - direction: ltr;
169 -}
170 -
171 -.pll-dir-ltr .tr_lang,
172 -.pll-dir-rtl .tr_lang {
173 - direction: inherit;
174 -}
175 -
176 70 /* languages metabox in post.php */
177 -#post-translations p {
178 - float: left;
179 -}
180 -
181 71 #post-translations table {
182 72 table-layout: fixed;
183 73 width: 100%;
184 - clear: both;
185 74 }
186 75
187 76 #post-translations a {
188 77 text-decoration: none;
@@ -187,23 +76,17 @@
187 76 #post-translations a {
188 77 text-decoration: none;
189 78 }
190 79
191 -#post-translations .pll-language-column,
192 -#post-translations .pll-column-icon {
193 - width: 20px;
80 +#post-translations .pll-language-column, #post-translations .pll-edit-column {
81 + width: 10%;
194 82 }
195 83
196 -#post-translations .tr_lang {
197 - width: 100%;
198 -}
199 -
200 84 #post-translations td {
201 85 padding: 2px;
202 86 }
203 87
204 -#post-translations .spinner,
205 -#term-translations .spinner {
88 +#post-translations .spinner, #term-translations .spinner {
206 89 float: none;
207 90 margin: 0;
208 91 background-position: center;
209 92 width: auto;
@@ -208,105 +91,60 @@
208 91 background-position: center;
209 92 width: auto;
210 93 }
211 94
212 -.pll-column-icon {
95 +.pll-edit-column {
213 96 text-align: center;
214 97 }
215 98
216 -#select-post-language .pll-select-flag {
217 - padding: 4px;
218 - margin-right: 32px;
99 +/* specific case for media */
100 +#post-translations .pll-media-language-column {
101 + width: 60%;
219 102 }
220 103
221 -/* specific cases for media */
222 -#select-media-language .pll-select-flag {
223 - padding: 4px;
224 - margin-right: 10px;
225 -}
226 -
227 -.pll-media-edit-column {
228 - float: right;
229 -}
230 -
231 -/* Languages metabox buttons */
232 -.pll-button {
233 - padding: 0;
234 - height: 20px;
235 - background: none;
236 - border: none;
237 - font-size: 20px;
238 - cursor: pointer;
239 -}
240 -
241 -.pll-button:not(.wp-ui-text-highlight) {
242 - color: #DDDDDD;
243 -}
244 -
245 -#pll-duplicate {
246 - float: right;
247 - margin: 13px 7px;
248 -}
249 -
250 104 /* language and translations in edit-tags.php */
251 -.pll-translation-flag { /* also for media */
252 - margin-right: 14px;
105 +#term-translations table {
106 + width: 95%;
253 107 }
254 108
255 -#select-add-term-language .pll-select-flag {
256 - padding: 11px;
257 - margin-right: 13px;
109 +#term-translations .pll-language-column {
110 + line-height: 28px;
111 + width: 20%;
258 112 }
259 113
260 -#select-edit-term-language .pll-select-flag {
261 - padding: 11px;
262 - margin-right: 4px;
114 +#term-translations .pll-edit-column {
115 + width: 10%;
263 116 }
264 117
265 -#term-translations p {
266 - /* same style as label */
267 - font-weight: 400;
268 - font-style: normal;
269 - padding: 2px;
270 - color: #23282d;
118 +/* icon fonts */
119 +/* backward compatibility WP < 3.8 */
120 +/* use same policy as WP for dashicons for font order and file vs embedded */
121 +@font-face {
122 + font-family: 'polylang';
123 + src: url('polylang.eot');
271 124 }
272 125
273 -#add-term-translations,
274 -#edit-term-translations {
275 - width: 95%;
276 -}
277 -
278 -#term-translations .pll-language-column {
279 - line-height: 28px;
280 - width: 20%;
281 -}
282 -
283 -#term-translations .pll-edit-column,
284 -#add-term-translations .pll-language-column {
285 - width: 20px;
286 -}
287 -
288 -#edit-term-translations .pll-language-column {
289 - padding: 15px 10px;
126 +@font-face {
127 + font-family: 'polylang';
128 + src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAcMAA0AAAAAC0QAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABMAAAABwAAAAcZv8wr0dERUYAAAFMAAAAJAAAACgANwAmT1MvMgAAAXAAAAA9AAAAYBrwD0djbWFwAAABsAAAAEoAAAFKy/cg/2dhc3AAAAH8AAAACAAAAAg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aQB4nGNgYsAPOICYkYGJgZmRiZGZkYWRlb00L9PVzMAAShtCaSMobQwAmAoI4Q==) format('woff'),
129 + url('polylang.ttf') format('truetype'),
130 + url('polylang.svg#polylang') format('svg');
290 131 font-weight: normal;
132 + font-style: normal;
291 133 }
292 134
293 -/* icon fonts */
294 135 .pll_icon_tick:before {
295 - content: "\f147";
136 + content: "\e600";
296 137 }
297 -
298 138 .pll_icon_add:before {
299 - content: "\f132";
139 + content: "\e601";
300 140 }
301 -
302 141 .pll_icon_edit:before {
303 - content: "\f464";
142 + content: "\e602";
304 143 }
305 144
306 -[class^="pll_icon_"] {
307 - font: 20px/1 'dashicons';
308 - vertical-align: middle;
145 +[class^="pll_icon_"], #wpadminbar #wp-admin-bar-languages .ab-icon:before {
146 + font-family: 'polylang';
309 147 }
310 148
311 149 /* admin bar */
312 150 #wpadminbar #wp-admin-bar-languages .ab-item img {
@@ -317,148 +155,16 @@
317 155 float: none;
318 156 top: 4px;
319 157 }
320 158
159 +/* backward compatibility WP < 3.8 */
321 160 #wpadminbar #wp-admin-bar-languages .ab-icon:before {
322 - content: "\f326";
161 + font: 20px/1 'polylang';
162 + content: "\e603";
323 163 top: 1px;
324 164 }
325 165
326 -/* Notices */
327 -.pll-notice.notice {
328 - padding-right: 38px;
329 - position: relative;
330 -}
331 -
332 -.pll-notice a.notice-dismiss {
333 - text-decoration: none;
334 -}
335 -
336 -.pll-notice .button {
337 - margin-right: 10px;
338 -}
339 -
340 -/* Bulk translate */
341 -.bulk-translate-save .button {
342 - margin-right: 20px;
343 -}
344 -
345 -#wpbody-content #pll-translate fieldset {
346 - display: inline-block;
347 - width: 300px;
348 -}
349 -
350 -#pll-translate .pll-translation-flag {
351 - margin-right: 0.3em;
352 -}
353 -
354 -#pll-translate .title {
355 - display: block;
356 - margin: 0.2em 0;
357 - line-height: 2.5;
358 -}
359 -
360 -@media screen and ( max-width: 782px ) {
361 - /* settings */
362 - #wpbody-content .pll-settings .pll-configure > td {
363 - padding: 20px;
364 - }
365 -
366 - #wpbody-content .pll-settings #cb {
367 - padding: 20px 9px;
368 - }
369 -
370 - /* settings URL modifications */
371 - .pll-inline-block {
372 - width: auto;
373 - }
374 -
375 - .pll-settings-url-col {
376 - display: block;
377 - width: 100%;
378 - }
379 -
380 - /* settings licenses */
381 - #wpbody-content .pll-settings #pll-licenses-table td {
382 - display: block;
383 - }
384 -
385 - .pll-configure .pll-deactivate-license {
386 - margin: 10px 0 5px;
387 - }
388 -
389 - /* strings translations table */
390 - .stringstranslations .column-context,
391 - .stringstranslations .column-name {
392 - display: none; /* backward compatibility WP < 4.3 */
393 - }
394 -
395 - .translation label {
396 - display: block;
397 - width: 95%;
398 - padding-left: 0;
399 - }
400 -
401 - .translation input {
402 - width: 95%;
403 - }
404 -
405 - /* hide selected language flag and translations language name */
406 - #select-add-term-language .pll-select-flag,
407 - #select-edit-term-language .pll-select-flag,
408 - #edit-term-translations .pll-language-name {
409 - display: none;
410 - }
411 -
412 - #edit-term-translations {
413 - width: 100%;
414 - }
415 -
416 - #add-term-translations .pll-language-column {
417 - line-height: 38px;
418 - }
419 -
420 - #edit-term-translations td {
421 - padding: 8px 10px;
422 - }
423 -
424 - #edit-term-translations .pll-language-column,
425 - #edit-term-translations .pll-edit-column {
426 - width: 20px;
427 - }
428 -
429 - /* translations tables should be kept as table */
430 - .term-translations .pll-language-column,
431 - .term-translations .pll-edit-column,
432 - .term-translations .pll-translation-column {
433 - display: table-cell;
434 - }
435 -
436 - .term-translations .hidden {
437 - display: none;
438 - }
439 -
440 - /* admin bar */
441 - #wpadminbar #wp-admin-bar-languages {
442 - display: block; /*shows our menu on mobile devices */
443 - }
444 -
445 - #wpadminbar #wp-admin-bar-languages > .ab-item {
446 - width: 50px;
447 - text-align: center;
448 - }
449 -
450 - #wpadminbar #wp-admin-bar-languages > .ab-item .ab-icon:before {
451 - font: 32px/1 'dashicons';
452 - top: -1px;
453 - }
454 -
455 - #wpadminbar #wp-admin-bar-languages > .ab-item img {
456 - margin: 19px 0;
457 - }
458 -
459 - #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
460 - margin-right: 6px;
461 - font-size: 20px !important;
462 - line-height: 20px !important;
463 - }
166 +/* backward compatibility WP < 3.8 */
167 +#wpadminbar #wp-admin-bar-languages .ab-item .ab-icon {
168 + margin: 0 6px 0 0;
169 + padding: 4px 0;
464 170 }