PluginProbe
Polylang / 2.7
Polylang v2.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
polylang / css / admin.css

admin.css in Polylang 2.7, at css/admin.css

464 lines 7.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 {
17 width : 10%;
18 }
19
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 .form-field input[type="radio"] {
34 width: auto;
35 margin-right: 2px;
36 }
37
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 {
53 width: 10%;
54 }
55
56 .stringstranslations .column-string {
57 width: 33%;
58 }
59
60 .translation label {
61 display: inline-block;
62 width: 23%;
63 vertical-align: top;
64 }
65
66 .translation input,
67 .translation textarea {
68 width: 72%;
69 }
70
71 /* 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 {
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 {
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 }
463 }
464