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 +35 -426 2.70.7 View file →
@@ -1,463 +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 input,
67 -.translation textarea {
53 +.translation input {
68 54 width: 72%;
69 55 }
70 56
71 -/* settings */
72 -.pll-settings {
73 - margin-top: 20px;
57 +.column-term_group, .column-flag, .column-count {
58 + width : 10%;
74 59 }
75 60
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 {
116 - margin: 0;
117 -}
118 -
119 -.pll-inline-block-list li {
120 - display: inline-block;
121 - margin: 0;
122 - width: 250px;
123 -}
124 -
125 -/* settings URL modifications */
126 -#pll-domains-table td {
127 - padding: 2px 2px 2px 1.5em;
128 - -webkit-box-shadow: none;
129 - box-shadow: none;
130 - border: none;
131 -}
132 -
133 -.pll-settings-url-col {
134 - display: inline-block;
135 - width: 49%;
136 - vertical-align: top;
137 -}
138 -
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 -/* language columns in edit.php and edit-tags.php */
154 -th[class*='column-language_'],
155 -td[class*='column-language_'] {
156 - width: 1.5em;
157 -}
158 -
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 -/* languages metabox in post.php */
176 -#post-translations p {
177 - float: left;
178 -}
179 -
180 -#post-translations table {
181 - table-layout: fixed;
182 - width: 100%;
183 - clear: both;
184 -}
185 -
186 -#post-translations a {
187 - text-decoration: none;
188 -}
189 -
190 -#post-translations .pll-language-column,
191 -#post-translations .pll-column-icon {
192 - width: 20px;
193 -}
194 -
195 -#post-translations .tr_lang {
196 - width: 100%;
197 -}
198 -
199 -#post-translations td {
200 - padding: 2px;
201 -}
202 -
203 -#post-translations .spinner,
204 -#term-translations .spinner {
205 - float: none;
206 - margin: 0;
207 - background-position: center;
208 - width: auto;
209 -}
210 -
211 -.pll-column-icon {
212 - text-align: center;
213 -}
214 -
215 -#select-post-language .pll-select-flag {
216 - padding: 4px;
217 - margin-right: 32px;
218 -}
219 -
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 -/* language and translations in edit-tags.php */
250 -.pll-translation-flag { /* also for media */
251 - margin-right: 14px;
252 -}
253 -
254 -#select-add-term-language .pll-select-flag {
255 - padding: 11px;
256 - margin-right: 13px;
257 -}
258 -
259 -#select-edit-term-language .pll-select-flag {
260 - padding: 11px;
261 - margin-right: 4px;
262 -}
263 -
264 -#term-translations p {
265 - /* same style as label */
266 - font-weight: 400;
267 - font-style: normal;
268 - padding: 2px;
269 - color: #23282d;
270 -}
271 -
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;
289 - font-weight: normal;
290 -}
291 -
292 -/* icon fonts */
293 -.pll_icon_tick:before {
294 - content: "\f147";
295 -}
296 -
297 -.pll_icon_add:before {
298 - content: "\f132";
299 -}
300 -
301 -.pll_icon_edit:before {
302 - content: "\f464";
303 -}
304 -
305 -[class^="pll_icon_"] {
306 - font: 20px/1 'dashicons';
307 - vertical-align: middle;
308 -}
309 -
310 -/* admin bar */
311 -#wpadminbar #wp-admin-bar-languages .ab-item img {
312 - margin: 0 8px 0 2px;
313 -}
314 -
315 -#wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
316 - float: none;
317 - top: 4px;
318 -}
319 -
320 -#wpadminbar #wp-admin-bar-languages .ab-icon:before {
321 - content: "\f326";
322 - top: 1px;
323 -}
324 -
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 {
61 +.pll_icon_add, .pll_icon_edit {
354 62 display: block;
355 - margin: 0.2em 0;
356 - line-height: 2.5;
63 + width: 16px;
64 + height: 16px;
65 + background-image: url("icons.png");
357 66 }
358 67
359 -@media screen and ( max-width: 782px ) {
360 - /* settings */
361 - #wpbody-content .pll-settings .pll-configure > td {
362 - padding: 20px;
363 - }
68 +.pll_icon_edit {background-position: 0px -24px;}
69 +.pll_icon_add {background-position: 16px -24px;}
364 70
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 - }
463 -}
71 +.pll_icon_edit:hover {background-position: 0px -40px;}
72 +.pll_icon_add:hover {background-position: 16px -40px;}