PluginProbe
Polylang / 2.8
Polylang v2.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 / admin.css

admin.css in Polylang 2.8, at css/admin.css

422 lines 6.8 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 /* language and translations in edit-tags.php */
232 .pll-translation-flag { /* also for media */
233 margin-right: 14px;
234 }
235
236 #select-add-term-language .pll-select-flag {
237 padding: 11px;
238 margin-right: 13px;
239 }
240
241 #select-edit-term-language .pll-select-flag {
242 padding: 11px;
243 margin-right: 4px;
244 }
245
246 #term-translations p {
247 /* same style as label */
248 font-weight: 400;
249 font-style: normal;
250 padding: 2px;
251 color: #23282d;
252 }
253
254 #add-term-translations,
255 #edit-term-translations {
256 width: 95%;
257 }
258
259 #term-translations .pll-language-column {
260 line-height: 28px;
261 width: 20%;
262 }
263
264 #term-translations .pll-edit-column,
265 #add-term-translations .pll-language-column {
266 width: 20px;
267 }
268
269 #edit-term-translations .pll-language-column {
270 padding: 15px 10px;
271 font-weight: normal;
272 }
273
274 /* icon fonts */
275 .pll_icon_add:before {
276 content: "\f132";
277 }
278
279 .pll_icon_edit:before {
280 content: "\f464";
281 }
282
283 [class^="pll_icon_"] {
284 font: 20px/1 'dashicons';
285 vertical-align: middle;
286 }
287
288 /* admin bar */
289 #wpadminbar #wp-admin-bar-languages .ab-item img {
290 margin: 0 8px 0 2px;
291 }
292
293 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
294 float: none;
295 top: 4px;
296 }
297
298 #wpadminbar #wp-admin-bar-languages .ab-icon:before {
299 content: "\f326";
300 top: 1px;
301 }
302
303 /* Notices */
304 .pll-notice.notice {
305 padding-right: 38px;
306 position: relative;
307 }
308
309 .pll-notice a.notice-dismiss {
310 text-decoration: none;
311 }
312
313 .pll-notice .button {
314 margin-right: 10px;
315 }
316
317 @media screen and ( max-width: 782px ) {
318 /* settings */
319 #wpbody-content .pll-settings .pll-configure > td {
320 padding: 20px;
321 }
322
323 #wpbody-content .pll-settings #cb {
324 padding: 20px 9px;
325 }
326
327 /* settings URL modifications */
328 .pll-inline-block {
329 width: auto;
330 }
331
332 .pll-settings-url-col {
333 display: block;
334 width: 100%;
335 }
336
337 /* settings licenses */
338 #wpbody-content .pll-settings #pll-licenses-table td {
339 display: block;
340 }
341
342 .pll-configure .pll-deactivate-license {
343 margin: 10px 0 5px;
344 }
345
346 /* strings translations table */
347 .stringstranslations .column-context,
348 .stringstranslations .column-name {
349 display: none; /* backward compatibility WP < 4.3 */
350 }
351
352 .translation label {
353 display: block;
354 width: 95%;
355 padding-left: 0;
356 }
357
358 .translation input {
359 width: 95%;
360 }
361
362 /* hide selected language flag and translations language name */
363 #select-add-term-language .pll-select-flag,
364 #select-edit-term-language .pll-select-flag,
365 #edit-term-translations .pll-language-name {
366 display: none;
367 }
368
369 #edit-term-translations {
370 width: 100%;
371 }
372
373 #add-term-translations .pll-language-column {
374 line-height: 38px;
375 }
376
377 #edit-term-translations td {
378 padding: 8px 10px;
379 }
380
381 #edit-term-translations .pll-language-column,
382 #edit-term-translations .pll-edit-column {
383 width: 20px;
384 }
385
386 /* translations tables should be kept as table */
387 .term-translations .pll-language-column,
388 .term-translations .pll-edit-column,
389 .term-translations .pll-translation-column {
390 display: table-cell;
391 }
392
393 .term-translations .hidden {
394 display: none;
395 }
396
397 /* admin bar */
398 #wpadminbar #wp-admin-bar-languages {
399 display: block; /*shows our menu on mobile devices */
400 }
401
402 #wpadminbar #wp-admin-bar-languages > .ab-item {
403 width: 50px;
404 text-align: center;
405 }
406
407 #wpadminbar #wp-admin-bar-languages > .ab-item .ab-icon:before {
408 font: 32px/1 'dashicons';
409 top: -1px;
410 }
411
412 #wpadminbar #wp-admin-bar-languages > .ab-item img {
413 margin: 19px 0;
414 }
415
416 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
417 margin-right: 6px;
418 font-size: 20px !important;
419 line-height: 20px !important;
420 }
421 }
422