PluginProbe
Polylang / 2.6.5
Polylang v2.6.5
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.6.5, at css/admin.css

452 lines 7.2 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
25 .form-field input[type="radio"] {
26 width: auto;
27 margin-right: 2px;
28 }
29
30 /* about Polylang metabox */
31 #pll-about-box p,
32 #pll-recommended p {
33 text-align: justify;
34 }
35
36 #pll-about-box input {
37 margin: 0;
38 padding: 0;
39 float: right;
40 }
41
42 /* strings translation table */
43 .stringstranslations .column-name,
44 .stringstranslations .column-context {
45 width: 10%;
46 }
47
48 .stringstranslations .column-string {
49 width: 33%;
50 }
51
52 .translation label {
53 display: inline-block;
54 width: 23%;
55 vertical-align: top;
56 }
57
58 .translation input,
59 .translation textarea {
60 width: 72%;
61 }
62
63 /* settings */
64 .pll-settings {
65 margin-top: 20px;
66 }
67
68 .pll-settings .plugin-title {
69 width: 25%;
70 }
71
72 #wpbody-content .pll-settings .pll-configure tr {
73 display: table-row;
74 }
75
76 #wpbody-content .pll-settings .pll-configure td {
77 display: table-cell;
78 }
79
80 #wpbody-content .pll-settings .pll-configure > td {
81 padding: 20px 20px 20px 40px;
82 }
83
84 .pll-configure legend {
85 font-size: 14px;
86 font-weight: 600;
87 margin-bottom: 0.5em;
88 }
89
90 .pll-configure td .description {
91 margin-top: 2px;
92 margin-bottom: 0.5em;
93 }
94
95 .pll-configure p.submit {
96 margin-top: 20px;
97 }
98
99 .pll-configure .button {
100 margin-right: 20px;
101 }
102
103 .pll-configure fieldset {
104 margin-bottom: 1.5em;
105 }
106
107 .pll-inline-block-list {
108 margin: 0;
109 }
110
111 .pll-inline-block-list li {
112 display: inline-block;
113 margin: 0;
114 width: 250px;
115 }
116
117 /* settings URL modifications */
118 #pll-domains-table td {
119 padding: 2px 2px 2px 1.5em;
120 -webkit-box-shadow: none;
121 box-shadow: none;
122 border: none;
123 }
124
125 .pll-settings-url-col {
126 display: inline-block;
127 width: 49%;
128 vertical-align: top;
129 }
130
131 /* settings Activation keys */
132 #pll-licenses-table td {
133 vertical-align: top;
134 }
135
136 #pll-licenses-table label {
137 font-size: 1em;
138 font-weight: 600;
139 }
140
141 .pll-configure .pll-deactivate-license {
142 margin: 0 0 0 20px;
143 }
144
145 /* language columns in edit.php and edit-tags.php */
146 th[class*='column-language_'],
147 td[class*='column-language_'] {
148 width: 1.5em;
149 }
150
151 /* Text direction in post.php and edit-tags.php */
152 .pll-dir-rtl textarea,
153 .pll-dir-rtl input[type="text"] {
154 direction: rtl;
155 }
156
157 .pll-dir-ltr textarea,
158 .pll-dir-ltr input[type="text"] {
159 direction: ltr;
160 }
161
162 .pll-dir-ltr .tr_lang,
163 .pll-dir-rtl .tr_lang {
164 direction: inherit;
165 }
166
167 /* languages metabox in post.php */
168 #post-translations p {
169 float: left;
170 }
171
172 #post-translations table {
173 table-layout: fixed;
174 width: 100%;
175 clear: both;
176 }
177
178 #post-translations a {
179 text-decoration: none;
180 }
181
182 #post-translations .pll-language-column,
183 #post-translations .pll-column-icon {
184 width: 20px;
185 }
186
187 #post-translations .tr_lang {
188 width: 100%;
189 }
190
191 #post-translations td {
192 padding: 2px;
193 }
194
195 #post-translations .spinner,
196 #term-translations .spinner {
197 float: none;
198 margin: 0;
199 background-position: center;
200 width: auto;
201 }
202
203 .pll-column-icon {
204 text-align: center;
205 }
206
207 #select-post-language .pll-select-flag {
208 padding: 4px;
209 margin-right: 32px;
210 }
211
212 /* specific cases for media */
213 #select-media-language .pll-select-flag {
214 padding: 4px;
215 margin-right: 10px;
216 }
217
218 .pll-media-edit-column {
219 float: right;
220 }
221
222 /* Languages metabox buttons */
223 .pll-button {
224 padding: 0;
225 height: 20px;
226 background: none;
227 border: none;
228 font-size: 20px;
229 cursor: pointer;
230 }
231
232 .pll-button:not(.wp-ui-text-highlight) {
233 color: #DDDDDD;
234 }
235
236 #pll-duplicate {
237 float: right;
238 margin: 13px 7px;
239 }
240
241 /* language and translations in edit-tags.php */
242 .pll-translation-flag { /* also for media */
243 margin-right: 14px;
244 }
245
246 #select-add-term-language .pll-select-flag {
247 padding: 11px;
248 margin-right: 13px;
249 }
250
251 #select-edit-term-language .pll-select-flag {
252 padding: 11px;
253 margin-right: 4px;
254 }
255
256 #term-translations p {
257 /* same style as label */
258 font-weight: 400;
259 font-style: normal;
260 padding: 2px;
261 color: #23282d;
262 }
263
264 #add-term-translations,
265 #edit-term-translations {
266 width: 95%;
267 }
268
269 #term-translations .pll-language-column {
270 line-height: 28px;
271 width: 20%;
272 }
273
274 #term-translations .pll-edit-column,
275 #add-term-translations .pll-language-column {
276 width: 20px;
277 }
278
279 #edit-term-translations .pll-language-column {
280 padding: 15px 10px;
281 font-weight: normal;
282 }
283
284 /* icon fonts */
285 .pll_icon_tick:before {
286 content: "\f147";
287 }
288
289 .pll_icon_add:before {
290 content: "\f132";
291 }
292
293 .pll_icon_edit:before {
294 content: "\f464";
295 }
296
297 [class^="pll_icon_"] {
298 font: 20px/1 'dashicons';
299 vertical-align: middle;
300 }
301
302 /* admin bar */
303 #wpadminbar #wp-admin-bar-languages .ab-item img {
304 margin: 0 8px 0 2px;
305 }
306
307 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
308 float: none;
309 top: 4px;
310 }
311
312 #wpadminbar #wp-admin-bar-languages .ab-icon:before {
313 content: "\f326";
314 top: 1px;
315 }
316
317 /* Notices */
318 .pll-notice.notice {
319 padding-right: 38px;
320 position: relative;
321 }
322
323 .pll-notice a.notice-dismiss {
324 text-decoration: none;
325 }
326
327 /* Bulk translate */
328 .bulk-translate-save .button {
329 margin-right: 20px;
330 }
331
332 #wpbody-content #pll-translate fieldset {
333 display: inline-block;
334 width: 300px;
335 }
336
337 #pll-translate .pll-translation-flag {
338 margin-right: 0.3em;
339 }
340
341 #pll-translate .title {
342 display: block;
343 margin: 0.2em 0;
344 line-height: 2.5;
345 }
346
347 @media screen and ( max-width: 782px ) {
348 /* settings */
349 #wpbody-content .pll-settings .pll-configure > td {
350 padding: 20px;
351 }
352
353 #wpbody-content .pll-settings #cb {
354 padding: 20px 9px;
355 }
356
357 /* settings URL modifications */
358 .pll-inline-block {
359 width: auto;
360 }
361
362 .pll-settings-url-col {
363 display: block;
364 width: 100%;
365 }
366
367 /* settings licenses */
368 #wpbody-content .pll-settings #pll-licenses-table td {
369 display: block;
370 }
371
372 .pll-configure .pll-deactivate-license {
373 margin: 10px 0 5px;
374 }
375
376 /* strings translations table */
377 .stringstranslations .column-context,
378 .stringstranslations .column-name {
379 display: none; /* backward compatibility WP < 4.3 */
380 }
381
382 .translation label {
383 display: block;
384 width: 95%;
385 padding-left: 0;
386 }
387
388 .translation input {
389 width: 95%;
390 }
391
392 /* hide selected language flag and translations language name */
393 #select-add-term-language .pll-select-flag,
394 #select-edit-term-language .pll-select-flag,
395 #edit-term-translations .pll-language-name {
396 display: none;
397 }
398
399 #edit-term-translations {
400 width: 100%;
401 }
402
403 #add-term-translations .pll-language-column {
404 line-height: 38px;
405 }
406
407 #edit-term-translations td {
408 padding: 8px 10px;
409 }
410
411 #edit-term-translations .pll-language-column,
412 #edit-term-translations .pll-edit-column {
413 width: 20px;
414 }
415
416 /* translations tables should be kept as table */
417 .term-translations .pll-language-column,
418 .term-translations .pll-edit-column,
419 .term-translations .pll-translation-column {
420 display: table-cell;
421 }
422
423 .term-translations .hidden {
424 display: none;
425 }
426
427 /* admin bar */
428 #wpadminbar #wp-admin-bar-languages {
429 display: block; /*shows our menu on mobile devices */
430 }
431
432 #wpadminbar #wp-admin-bar-languages > .ab-item {
433 width: 50px;
434 text-align: center;
435 }
436
437 #wpadminbar #wp-admin-bar-languages > .ab-item .ab-icon:before {
438 font: 32px/1 'dashicons';
439 top: -1px;
440 }
441
442 #wpadminbar #wp-admin-bar-languages > .ab-item img {
443 margin: 19px 0;
444 }
445
446 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
447 margin-right: 6px;
448 font-size: 20px !important;
449 line-height: 20px !important;
450 }
451 }
452