PluginProbe
Polylang / 3.2
Polylang v3.2
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 / build / admin.css

admin.css in Polylang 3.2, at css/build/admin.css

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