PluginProbe
Polylang / 0.7
Polylang v0.7
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 +36 -426 2.90.7 View file →
@@ -1,462 +1,72 @@
1 -/* languages admin panel */
2 -#add-lang select {
3 - width: 95%;
1 +#term-translations table {
2 + width: 97%;
4 3 }
5 4
6 -.column-locale,
7 -.languages .column-slug {
8 - width : 15%
5 +#term-translations th {
6 + padding: 8px 10px;
9 7 }
10 8
11 -.column-default_lang {
12 - width : 5%;
9 +#term-translations td {
10 + font-size: 12px;
11 + line-height: 26px;
12 + margin-bottom: 9px;
13 + padding: 4px 10px;
13 14 }
14 15
15 -.column-term_group,
16 -.column-flag, .column-count {
17 - width : 10%;
16 +.tr-language-column {
17 + width: 35%;
18 18 }
19 19
20 -.icon-default-lang:before {
21 - font-family: 'dashicons';
22 - content: "\f155";
20 +.tr-edit-column {
21 + width: 15%;
23 22 }
24 -.pll-icon:before{
25 - display: inline-block;
23 +
24 +#post-translations table {
25 + width: 100%;
26 26 text-align: left;
27 - width: 15px;
27 + font-size: 11px;
28 + margin: 0 6px;
28 29 }
29 -.pll-circle:before{
30 - content: "\25cf";
30 +
31 +#post-translations td {
32 + font-size: 11px;
31 33 }
32 34
33 -.form-field input[type="radio"] {
35 +.form-field input.tog {
34 36 width: auto;
35 37 margin-right: 2px;
36 38 }
37 39
38 -/* about Polylang metabox */
39 -#pll-about-box p,
40 -#pll-recommended p {
41 - text-align: justify;
42 -}
43 -
44 -#pll-about-box input {
45 - margin: 0;
46 - padding: 0;
47 - float: right;
48 -}
49 -
50 -/* strings translation table */
51 -.stringstranslations .column-name,
52 -.stringstranslations .column-context {
40 +.stringstranslations .column-name {
53 41 width: 10%;
54 42 }
55 43
56 44 .stringstranslations .column-string {
57 - width: 33%;
45 + width: 36%;
58 46 }
59 47
60 48 .translation label {
61 49 display: inline-block;
62 50 width: 23%;
63 - vertical-align: top;
64 51 }
65 52
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 -.translation input,
78 -.translation textarea {
53 +.translation input {
79 54 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 55 }
83 56
84 -/* settings */
85 -.pll-settings {
86 - margin-top: 20px;
57 +.column-term_group, .column-flag, .column-count {
58 + width : 10%;
87 59 }
88 60
89 -.pll-settings .plugin-title {
90 - width: 25%;
61 +.pll_icon_add, .pll_icon_edit {
62 + display: block;
63 + width: 16px;
64 + height: 16px;
65 + background-image: url("icons.png");
91 66 }
92 67
93 -#wpbody-content .pll-settings .pll-configure tr {
94 - display: table-row;
95 -}
68 +.pll_icon_edit {background-position: 0px -24px;}
69 +.pll_icon_add {background-position: 16px -24px;}
96 70
97 -#wpbody-content .pll-settings .pll-configure td {
98 - display: table-cell;
99 -}
100 -
101 -#wpbody-content .pll-settings .pll-configure > td {
102 - padding: 20px 20px 20px 40px;
103 -}
104 -
105 -.pll-configure legend {
106 - font-size: 14px;
107 - font-weight: 600;
108 - margin-bottom: 0.5em;
109 -}
110 -
111 -.pll-configure td .description {
112 - margin-top: 2px;
113 - margin-bottom: 0.5em;
114 -}
115 -
116 -.pll-configure p.submit {
117 - margin-top: 20px;
118 -}
119 -
120 -.pll-configure .button {
121 - margin-right: 20px;
122 -}
123 -
124 -.pll-configure fieldset {
125 - margin-bottom: 1.5em;
126 -}
127 -
128 -.pll-inline-block-list {
129 - margin: 0;
130 -}
131 -
132 -.pll-inline-block-list li {
133 - display: inline-block;
134 - margin: 0;
135 - width: 250px;
136 -}
137 -
138 -/* settings URL modifications */
139 -#pll-domains-table td {
140 - padding: 2px 2px 2px 1.5em;
141 - -webkit-box-shadow: none;
142 - box-shadow: none;
143 - border: none;
144 -}
145 -
146 -.pll-settings-url-col {
147 - display: inline-block;
148 - width: 49%;
149 - vertical-align: top;
150 -}
151 -
152 -/* settings Activation keys */
153 -#pll-licenses-table td {
154 - vertical-align: top;
155 -}
156 -
157 -#pll-licenses-table label {
158 - font-size: 1em;
159 - font-weight: 600;
160 -}
161 -
162 -.pll-configure .pll-deactivate-license {
163 - margin: 0 0 0 20px;
164 -}
165 -
166 -/* 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_'] {
169 - width: 1.5em;
170 - box-sizing: content-box; /* Override ACF 5.9.0 styles */
171 -}
172 -
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 -
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 -/* languages metabox in post.php */
190 -#post-translations p {
191 - float: left;
192 -}
193 -
194 -#post-translations table {
195 - table-layout: fixed;
196 - width: 100%;
197 - clear: both;
198 -}
199 -
200 -#post-translations a {
201 - text-decoration: none;
202 -}
203 -
204 -#post-translations .pll-language-column,
205 -#post-translations .pll-column-icon {
206 - width: 20px;
207 -}
208 -
209 -#post-translations .tr_lang {
210 - width: 100%;
211 -}
212 -
213 -#post-translations td {
214 - padding: 2px;
215 -}
216 -
217 -#post-translations .spinner,
218 -#term-translations .spinner {
219 - float: none;
220 - margin: 0;
221 - background-position: center;
222 - width: auto;
223 -}
224 -
225 -.pll-column-icon {
226 - text-align: center;
227 -}
228 -
229 -#select-post-language .pll-select-flag {
230 - padding: 4px;
231 - margin-right: 32px;
232 -}
233 -
234 -/* specific cases for media */
235 -#select-media-language .pll-select-flag {
236 - padding: 4px;
237 - margin-right: 10px;
238 -}
239 -
240 -.pll-media-edit-column {
241 - float: right;
242 -}
243 -
244 -/* language and translations in edit-tags.php */
245 -.pll-translation-flag { /* also for media */
246 - margin-right: 14px;
247 -}
248 -
249 -#select-add-term-language .pll-select-flag {
250 - padding: 11px;
251 - margin-right: 13px;
252 -}
253 -
254 -#select-edit-term-language .pll-select-flag {
255 - padding: 11px;
256 - margin-right: 4px;
257 -}
258 -
259 -#term-translations p {
260 - /* same style as label */
261 - font-weight: 400;
262 - font-style: normal;
263 - padding: 2px;
264 - color: #23282d;
265 -}
266 -
267 -#add-term-translations,
268 -#edit-term-translations {
269 - width: 95%;
270 -}
271 -
272 -#term-translations .pll-language-column {
273 - line-height: 28px;
274 - width: 20%;
275 -}
276 -
277 -#term-translations .pll-edit-column,
278 -#add-term-translations .pll-language-column {
279 - width: 20px;
280 -}
281 -
282 -#edit-term-translations .pll-language-column {
283 - padding: 15px 10px;
284 - font-weight: normal;
285 -}
286 -
287 -/* icon fonts */
288 -.pll_icon_add:before {
289 - content: "\f132";
290 -}
291 -
292 -.pll_icon_edit:before {
293 - content: "\f464";
294 -}
295 -
296 -[class^="pll_icon_"] {
297 - font: 20px/1 'dashicons';
298 - vertical-align: middle;
299 -}
300 -
301 -/* admin bar */
302 -#wpadminbar #wp-admin-bar-languages .ab-item img {
303 - margin: 0 8px 0 2px;
304 -}
305 -
306 -#wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
307 - float: none;
308 - top: 4px;
309 -}
310 -
311 -#wpadminbar #wp-admin-bar-languages .ab-icon:before {
312 - content: "\f326";
313 - top: 1px;
314 -}
315 -
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 -@media screen and ( max-width: 782px ) {
350 - /* settings */
351 - #wpbody-content .pll-settings .pll-configure > td {
352 - padding: 20px;
353 - }
354 -
355 - #wpbody-content .pll-settings #cb {
356 - padding: 20px 9px;
357 - }
358 -
359 - /* settings URL modifications */
360 - .pll-inline-block {
361 - width: auto;
362 - }
363 -
364 - .pll-settings-url-col {
365 - display: block;
366 - width: 100%;
367 - }
368 -
369 - /* settings licenses */
370 - #wpbody-content .pll-settings #pll-licenses-table td {
371 - display: block;
372 - }
373 -
374 - .pll-configure .pll-deactivate-license {
375 - margin: 10px 0 5px;
376 - }
377 -
378 - /* strings translations table */
379 - .stringstranslations .column-context,
380 - .stringstranslations .column-name {
381 - display: none; /* backward compatibility WP < 4.3 */
382 - }
383 -
384 - .translation label {
385 - display: block;
386 - width: 95%;
387 - padding-left: 0;
388 - }
389 -
390 - .translation input,
391 - .translation textarea {
392 - width: 95%;
393 - }
394 -
395 - /* Metaboxes holder in Strings translations screen */
396 - .languages_page_mlang_strings .metabox-holder > div {
397 - flex-direction: column;
398 - }
399 - .languages_page_mlang_strings .metabox-holder > div > div:nth-child(2n) {
400 - margin-left: 0;
401 - }
402 -
403 - /* hide selected language flag and translations language name */
404 - #select-add-term-language .pll-select-flag,
405 - #select-edit-term-language .pll-select-flag,
406 - #edit-term-translations .pll-language-name {
407 - display: none;
408 - }
409 -
410 - #edit-term-translations {
411 - width: 100%;
412 - }
413 -
414 - #add-term-translations .pll-language-column {
415 - line-height: 38px;
416 - }
417 -
418 - #edit-term-translations td {
419 - padding: 8px 10px;
420 - }
421 -
422 - #edit-term-translations .pll-language-column,
423 - #edit-term-translations .pll-edit-column {
424 - width: 20px;
425 - }
426 -
427 - /* translations tables should be kept as table */
428 - .term-translations .pll-language-column,
429 - .term-translations .pll-edit-column,
430 - .term-translations .pll-translation-column {
431 - display: table-cell;
432 - }
433 -
434 - .term-translations .hidden {
435 - display: none;
436 - }
437 -
438 - /* admin bar */
439 - #wpadminbar #wp-admin-bar-languages {
440 - display: block; /*shows our menu on mobile devices */
441 - }
442 -
443 - #wpadminbar #wp-admin-bar-languages > .ab-item {
444 - width: 50px;
445 - text-align: center;
446 - }
447 -
448 - #wpadminbar #wp-admin-bar-languages > .ab-item .ab-icon:before {
449 - font: 32px/1 'dashicons';
450 - top: -1px;
451 - }
452 -
453 - #wpadminbar #wp-admin-bar-languages > .ab-item img {
454 - margin: 19px 0;
455 - }
456 -
457 - #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
458 - margin-right: 6px;
459 - font-size: 20px !important;
460 - line-height: 20px !important;
461 - }
462 -}
71 +.pll_icon_edit:hover {background-position: 0px -40px;}
72 +.pll_icon_add:hover {background-position: 16px -40px;}