PluginProbe
Polylang / 2.7.4
Polylang v2.7.4
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.4, at css/admin.css

465 lines 7.4 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 .wp-list-table th[class*='column-language_'],
155 .wp-list-table td[class*='column-language_'] {
156 width: 1.5em;
157 box-sizing: content-box; /* Override ACF 5.9.0 styles */
158 }
159
160 /* Text direction in post.php and edit-tags.php */
161 .pll-dir-rtl textarea,
162 .pll-dir-rtl input[type="text"] {
163 direction: rtl;
164 }
165
166 .pll-dir-ltr textarea,
167 .pll-dir-ltr input[type="text"] {
168 direction: ltr;
169 }
170
171 .pll-dir-ltr .tr_lang,
172 .pll-dir-rtl .tr_lang {
173 direction: inherit;
174 }
175
176 /* languages metabox in post.php */
177 #post-translations p {
178 float: left;
179 }
180
181 #post-translations table {
182 table-layout: fixed;
183 width: 100%;
184 clear: both;
185 }
186
187 #post-translations a {
188 text-decoration: none;
189 }
190
191 #post-translations .pll-language-column,
192 #post-translations .pll-column-icon {
193 width: 20px;
194 }
195
196 #post-translations .tr_lang {
197 width: 100%;
198 }
199
200 #post-translations td {
201 padding: 2px;
202 }
203
204 #post-translations .spinner,
205 #term-translations .spinner {
206 float: none;
207 margin: 0;
208 background-position: center;
209 width: auto;
210 }
211
212 .pll-column-icon {
213 text-align: center;
214 }
215
216 #select-post-language .pll-select-flag {
217 padding: 4px;
218 margin-right: 32px;
219 }
220
221 /* specific cases for media */
222 #select-media-language .pll-select-flag {
223 padding: 4px;
224 margin-right: 10px;
225 }
226
227 .pll-media-edit-column {
228 float: right;
229 }
230
231 /* Languages metabox buttons */
232 .pll-button {
233 padding: 0;
234 height: 20px;
235 background: none;
236 border: none;
237 font-size: 20px;
238 cursor: pointer;
239 }
240
241 .pll-button:not(.wp-ui-text-highlight) {
242 color: #DDDDDD;
243 }
244
245 #pll-duplicate {
246 float: right;
247 margin: 13px 7px;
248 }
249
250 /* language and translations in edit-tags.php */
251 .pll-translation-flag { /* also for media */
252 margin-right: 14px;
253 }
254
255 #select-add-term-language .pll-select-flag {
256 padding: 11px;
257 margin-right: 13px;
258 }
259
260 #select-edit-term-language .pll-select-flag {
261 padding: 11px;
262 margin-right: 4px;
263 }
264
265 #term-translations p {
266 /* same style as label */
267 font-weight: 400;
268 font-style: normal;
269 padding: 2px;
270 color: #23282d;
271 }
272
273 #add-term-translations,
274 #edit-term-translations {
275 width: 95%;
276 }
277
278 #term-translations .pll-language-column {
279 line-height: 28px;
280 width: 20%;
281 }
282
283 #term-translations .pll-edit-column,
284 #add-term-translations .pll-language-column {
285 width: 20px;
286 }
287
288 #edit-term-translations .pll-language-column {
289 padding: 15px 10px;
290 font-weight: normal;
291 }
292
293 /* icon fonts */
294 .pll_icon_tick:before {
295 content: "\f147";
296 }
297
298 .pll_icon_add:before {
299 content: "\f132";
300 }
301
302 .pll_icon_edit:before {
303 content: "\f464";
304 }
305
306 [class^="pll_icon_"] {
307 font: 20px/1 'dashicons';
308 vertical-align: middle;
309 }
310
311 /* admin bar */
312 #wpadminbar #wp-admin-bar-languages .ab-item img {
313 margin: 0 8px 0 2px;
314 }
315
316 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
317 float: none;
318 top: 4px;
319 }
320
321 #wpadminbar #wp-admin-bar-languages .ab-icon:before {
322 content: "\f326";
323 top: 1px;
324 }
325
326 /* Notices */
327 .pll-notice.notice {
328 padding-right: 38px;
329 position: relative;
330 }
331
332 .pll-notice a.notice-dismiss {
333 text-decoration: none;
334 }
335
336 .pll-notice .button {
337 margin-right: 10px;
338 }
339
340 /* Bulk translate */
341 .bulk-translate-save .button {
342 margin-right: 20px;
343 }
344
345 #wpbody-content #pll-translate fieldset {
346 display: inline-block;
347 width: 300px;
348 }
349
350 #pll-translate .pll-translation-flag {
351 margin-right: 0.3em;
352 }
353
354 #pll-translate .title {
355 display: block;
356 margin: 0.2em 0;
357 line-height: 2.5;
358 }
359
360 @media screen and ( max-width: 782px ) {
361 /* settings */
362 #wpbody-content .pll-settings .pll-configure > td {
363 padding: 20px;
364 }
365
366 #wpbody-content .pll-settings #cb {
367 padding: 20px 9px;
368 }
369
370 /* settings URL modifications */
371 .pll-inline-block {
372 width: auto;
373 }
374
375 .pll-settings-url-col {
376 display: block;
377 width: 100%;
378 }
379
380 /* settings licenses */
381 #wpbody-content .pll-settings #pll-licenses-table td {
382 display: block;
383 }
384
385 .pll-configure .pll-deactivate-license {
386 margin: 10px 0 5px;
387 }
388
389 /* strings translations table */
390 .stringstranslations .column-context,
391 .stringstranslations .column-name {
392 display: none; /* backward compatibility WP < 4.3 */
393 }
394
395 .translation label {
396 display: block;
397 width: 95%;
398 padding-left: 0;
399 }
400
401 .translation input {
402 width: 95%;
403 }
404
405 /* hide selected language flag and translations language name */
406 #select-add-term-language .pll-select-flag,
407 #select-edit-term-language .pll-select-flag,
408 #edit-term-translations .pll-language-name {
409 display: none;
410 }
411
412 #edit-term-translations {
413 width: 100%;
414 }
415
416 #add-term-translations .pll-language-column {
417 line-height: 38px;
418 }
419
420 #edit-term-translations td {
421 padding: 8px 10px;
422 }
423
424 #edit-term-translations .pll-language-column,
425 #edit-term-translations .pll-edit-column {
426 width: 20px;
427 }
428
429 /* translations tables should be kept as table */
430 .term-translations .pll-language-column,
431 .term-translations .pll-edit-column,
432 .term-translations .pll-translation-column {
433 display: table-cell;
434 }
435
436 .term-translations .hidden {
437 display: none;
438 }
439
440 /* admin bar */
441 #wpadminbar #wp-admin-bar-languages {
442 display: block; /*shows our menu on mobile devices */
443 }
444
445 #wpadminbar #wp-admin-bar-languages > .ab-item {
446 width: 50px;
447 text-align: center;
448 }
449
450 #wpadminbar #wp-admin-bar-languages > .ab-item .ab-icon:before {
451 font: 32px/1 'dashicons';
452 top: -1px;
453 }
454
455 #wpadminbar #wp-admin-bar-languages > .ab-item img {
456 margin: 19px 0;
457 }
458
459 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
460 margin-right: 6px;
461 font-size: 20px !important;
462 line-height: 20px !important;
463 }
464 }
465