PluginProbe
Polylang / 2.6.2
Polylang v2.6.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 +45 -51 3.0.22.6.2 View file →
@@ -20,16 +20,8 @@
20 20 .icon-default-lang:before {
21 21 font-family: 'dashicons';
22 22 content: "\f155";
23 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 24
33 25 .form-field input[type="radio"] {
34 26 width: auto;
35 27 margin-right: 2px;
@@ -62,24 +54,11 @@
62 54 width: 23%;
63 55 vertical-align: top;
64 56 }
65 57
66 -.translation {
67 - display: flex; /* fix #691 to remove default margin bottom */
68 -}
69 -@media screen and (max-width: 782px) { /* reset default display property for small device */
70 - .translation{
71 - display: block;
72 - }
73 -}
74 -.translation textarea{
75 - display: block; /* fix #691 to remove default margin bottom */
76 -}
77 58 .translation input,
78 59 .translation textarea {
79 60 width: 72%;
80 - box-sizing: border-box; /* to be sure field don't overrun outside their wrapper */
81 - margin-bottom: 4px; /* fix #691 set the same margin bottom for both textarea and input tags */
82 61 }
83 62
84 63 /* settings */
85 64 .pll-settings {
@@ -163,12 +142,11 @@
163 142 margin: 0 0 0 20px;
164 143 }
165 144
166 145 /* language columns in edit.php and edit-tags.php */
167 -.wp-list-table th[class*='column-language_'],
168 -.wp-list-table td[class*='column-language_'] {
146 +th[class*='column-language_'],
147 +td[class*='column-language_'] {
169 148 width: 1.5em;
170 - box-sizing: content-box; /* Override ACF 5.9.0 styles */
171 149 }
172 150
173 151 /* Text direction in post.php and edit-tags.php */
174 152 .pll-dir-rtl textarea,
@@ -240,8 +218,27 @@
240 218 .pll-media-edit-column {
241 219 float: right;
242 220 }
243 221
222 +/* Languages metabox buttons */
223 +.pll-button {
224 + padding: 0;
225 + height: 20px;
226 + background: none;
227 + border: none;
228 + font-size: 20px;
229 + cursor: pointer;
230 +}
231 +
232 +.pll-button:not(.wp-ui-text-highlight) {
233 + color: #DDDDDD;
234 +}
235 +
236 +#pll-duplicate {
237 + float: right;
238 + margin: 13px 7px;
239 +}
240 +
244 241 /* language and translations in edit-tags.php */
245 242 .pll-translation-flag { /* also for media */
246 243 margin-right: 14px;
247 244 }
@@ -284,8 +281,12 @@
284 281 font-weight: normal;
285 282 }
286 283
287 284 /* icon fonts */
285 +.pll_icon_tick:before {
286 + content: "\f147";
287 +}
288 +
288 289 .pll_icon_add:before {
289 290 content: "\f132";
290 291 }
291 292
@@ -322,30 +323,27 @@
322 323 .pll-notice a.notice-dismiss {
323 324 text-decoration: none;
324 325 }
325 326
326 -.pll-notice .button {
327 - margin-right: 10px;
327 +/* Bulk translate */
328 +.bulk-translate-save .button {
329 + margin-right: 20px;
328 330 }
329 331
330 -/* Metaboxes holder in Strings translations screen */
331 -.languages_page_mlang_strings .metabox-holder > div {
332 - display: flex;
332 +#wpbody-content #pll-translate fieldset {
333 + display: inline-block;
334 + width: 300px;
333 335 }
334 -.languages_page_mlang_strings .metabox-holder > div > div {
335 - flex-grow: 1;
336 +
337 +#pll-translate .pll-translation-flag {
338 + margin-right: 0.3em;
336 339 }
337 -.languages_page_mlang_strings .metabox-holder > div > div:nth-child(2n) {
338 - margin-left: 1rem;
340 +
341 +#pll-translate .title {
342 + display: block;
343 + margin: 0.2em 0;
344 + line-height: 2.5;
339 345 }
340 -.languages_page_mlang_strings .metabox-holder > div > div.closed {
341 - border:0;
342 - background: none;
343 -}
344 -.languages_page_mlang_strings .metabox-holder > div > div.closed .postbox-header{
345 - border: 1px solid #ccd0d4;
346 - background: #fff;
347 -}
348 346
349 347 @media screen and ( max-width: 782px ) {
350 348 /* settings */
351 349 #wpbody-content .pll-settings .pll-configure > td {
@@ -375,8 +373,13 @@
375 373 margin: 10px 0 5px;
376 374 }
377 375
378 376 /* strings translations table */
377 + .stringstranslations .column-context,
378 + .stringstranslations .column-name {
379 + display: none; /* backward compatibility WP < 4.3 */
380 + }
381 +
379 382 .translation label {
380 383 display: block;
381 384 width: 95%;
382 385 padding-left: 0;
@@ -381,19 +384,10 @@
381 384 width: 95%;
382 385 padding-left: 0;
383 386 }
384 387
385 - .translation input,
386 - .translation textarea {
388 + .translation input {
387 389 width: 95%;
388 - }
389 -
390 - /* Metaboxes holder in Strings translations screen */
391 - .languages_page_mlang_strings .metabox-holder > div {
392 - flex-direction: column;
393 - }
394 - .languages_page_mlang_strings .metabox-holder > div > div:nth-child(2n) {
395 - margin-left: 0;
396 390 }
397 391
398 392 /* hide selected language flag and translations language name */
399 393 #select-add-term-language .pll-select-flag,