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

460 lines 7.7 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-licenses-table 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: #a03f3f;
339 }
340
341 #wpadminbar #wp-admin-bar-languages.pll-filtered-languages span.ab-label{ /* Enforce white color for WordPress admin light theme. */
342 color: #fff;
343 }
344
345 /* Notices */
346 .pll-notice.notice {
347 padding-right: 38px;
348 position: relative;
349 }
350
351 .pll-notice a.notice-dismiss {
352 text-decoration: none;
353 }
354
355 .pll-notice .button {
356 margin-right: 10px;
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 .translation label {
390 display: block;
391 width: 95%;
392 padding-left: 0;
393 }
394
395 .translation input,
396 .translation textarea {
397 width: 95%;
398 }
399
400 /* hide selected language flag and translations language name */
401 #select-add-term-language .pll-select-flag,
402 #select-edit-term-language .pll-select-flag,
403 #edit-term-translations .pll-language-name {
404 display: none;
405 }
406
407 #edit-term-translations {
408 width: 100%;
409 }
410
411 #add-term-translations .pll-language-column {
412 line-height: 38px;
413 }
414
415 #edit-term-translations td {
416 padding: 8px 10px;
417 }
418
419 #edit-term-translations .pll-language-column,
420 #edit-term-translations .pll-edit-column {
421 width: 20px;
422 }
423
424 /* translations tables should be kept as table */
425 .term-translations .pll-language-column,
426 .term-translations .pll-edit-column,
427 .term-translations .pll-translation-column {
428 display: table-cell;
429 }
430
431 .term-translations .hidden {
432 display: none;
433 }
434
435 /* admin bar */
436 #wpadminbar #wp-admin-bar-languages {
437 display: block; /*shows our menu on mobile devices */
438 }
439
440 #wpadminbar #wp-admin-bar-languages > .ab-item {
441 width: 50px;
442 text-align: center;
443 }
444
445 #wpadminbar #wp-admin-bar-languages > .ab-item .ab-icon:before {
446 font: 32px/1 'dashicons';
447 top: -1px;
448 }
449
450 #wpadminbar #wp-admin-bar-languages > .ab-item img {
451 margin: 19px 0;
452 }
453
454 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
455 margin-right: 6px;
456 font-size: 20px !important;
457 line-height: 20px !important;
458 }
459 }
460