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