PluginProbe
Polylang / 3.8.8
Polylang v3.8.8
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.8.8, at css/build/admin.css

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