PluginProbe
Polylang / 2.0.3
Polylang v2.0.3
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 +18 -90 3.0.22.0.3 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;
@@ -47,8 +39,12 @@
47 39 float: right;
48 40 }
49 41
50 42 /* strings translation table */
43 +#string-translation .search-box {
44 + margin: 16px 0 8px 0;
45 +}
46 +
51 47 .stringstranslations .column-name,
52 48 .stringstranslations .column-context {
53 49 width: 10%;
54 50 }
@@ -62,31 +58,14 @@
62 58 width: 23%;
63 59 vertical-align: top;
64 60 }
65 61
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 62 .translation input,
78 63 .translation textarea {
79 64 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 65 }
83 66
84 67 /* settings */
85 -.pll-settings {
86 - margin-top: 20px;
87 -}
88 -
89 68 .pll-settings .plugin-title {
90 69 width: 25%;
91 70 }
92 71
@@ -163,30 +142,14 @@
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 -/* Text direction in post.php and edit-tags.php */
174 -.pll-dir-rtl textarea,
175 -.pll-dir-rtl input[type="text"] {
176 - direction: rtl;
177 -}
178 151
179 -.pll-dir-ltr textarea,
180 -.pll-dir-ltr input[type="text"] {
181 - direction: ltr;
182 -}
183 -
184 -.pll-dir-ltr .tr_lang,
185 -.pll-dir-rtl .tr_lang {
186 - direction: inherit;
187 -}
188 -
189 152 /* languages metabox in post.php */
190 153 #post-translations p {
191 154 float: left;
192 155 }
@@ -201,9 +164,9 @@
201 164 text-decoration: none;
202 165 }
203 166
204 167 #post-translations .pll-language-column,
205 -#post-translations .pll-column-icon {
168 +#post-translations .pll-edit-column {
206 169 width: 20px;
207 170 }
208 171
209 172 #post-translations .tr_lang {
@@ -221,9 +184,9 @@
221 184 background-position: center;
222 185 width: auto;
223 186 }
224 187
225 -.pll-column-icon {
188 +.pll-edit-column {
226 189 text-align: center;
227 190 }
228 191
229 192 #select-post-language .pll-select-flag {
@@ -257,9 +220,9 @@
257 220 }
258 221
259 222 #term-translations p {
260 223 /* same style as label */
261 - font-weight: 400;
224 + font-size: 12px;
262 225 font-style: normal;
263 226 padding: 2px;
264 227 color: #23282d;
265 228 }
@@ -284,12 +247,14 @@
284 247 font-weight: normal;
285 248 }
286 249
287 250 /* icon fonts */
251 +.pll_icon_tick:before {
252 + content: "\f147";
253 +}
288 254 .pll_icon_add:before {
289 255 content: "\f132";
290 256 }
291 -
292 257 .pll_icon_edit:before {
293 258 content: "\f464";
294 259 }
295 260
@@ -312,41 +277,8 @@
312 277 content: "\f326";
313 278 top: 1px;
314 279 }
315 280
316 -/* Notices */
317 -.pll-notice.notice {
318 - padding-right: 38px;
319 - position: relative;
320 -}
321 -
322 -.pll-notice a.notice-dismiss {
323 - text-decoration: none;
324 -}
325 -
326 -.pll-notice .button {
327 - margin-right: 10px;
328 -}
329 -
330 -/* Metaboxes holder in Strings translations screen */
331 -.languages_page_mlang_strings .metabox-holder > div {
332 - display: flex;
333 -}
334 -.languages_page_mlang_strings .metabox-holder > div > div {
335 - flex-grow: 1;
336 -}
337 -.languages_page_mlang_strings .metabox-holder > div > div:nth-child(2n) {
338 - margin-left: 1rem;
339 -}
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 -
349 281 @media screen and ( max-width: 782px ) {
350 282 /* settings */
351 283 #wpbody-content .pll-settings .pll-configure > td {
352 284 padding: 20px;
@@ -375,8 +307,13 @@
375 307 margin: 10px 0 5px;
376 308 }
377 309
378 310 /* strings translations table */
311 + .stringstranslations .column-context,
312 + .stringstranslations .column-name {
313 + display: none; /* backward compatibility WP < 4.3 */
314 + }
315 +
379 316 .translation label {
380 317 display: block;
381 318 width: 95%;
382 319 padding-left: 0;
@@ -381,19 +318,10 @@
381 318 width: 95%;
382 319 padding-left: 0;
383 320 }
384 321
385 - .translation input,
386 - .translation textarea {
322 + .translation input {
387 323 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 324 }
397 325
398 326 /* hide selected language flag and translations language name */
399 327 #select-add-term-language .pll-select-flag,