PluginProbe
Polylang / 2.0.5
Polylang v2.0.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.0.5, at css/admin.css

386 lines 6.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 #string-translation .search-box {
44 margin: 16px 0 8px 0;
45 }
46
47 .stringstranslations .column-name,
48 .stringstranslations .column-context {
49 width: 10%;
50 }
51
52 .stringstranslations .column-string {
53 width: 33%;
54 }
55
56 .translation label {
57 display: inline-block;
58 width: 23%;
59 vertical-align: top;
60 }
61
62 .translation input,
63 .translation textarea {
64 width: 72%;
65 }
66
67 /* settings */
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
152 /* languages metabox in post.php */
153 #post-translations p {
154 float: left;
155 }
156
157 #post-translations table {
158 table-layout: fixed;
159 width: 100%;
160 clear: both;
161 }
162
163 #post-translations a {
164 text-decoration: none;
165 }
166
167 #post-translations .pll-language-column,
168 #post-translations .pll-edit-column {
169 width: 20px;
170 }
171
172 #post-translations .tr_lang {
173 width: 100%;
174 }
175
176 #post-translations td {
177 padding: 2px;
178 }
179
180 #post-translations .spinner,
181 #term-translations .spinner {
182 float: none;
183 margin: 0;
184 background-position: center;
185 width: auto;
186 }
187
188 .pll-edit-column {
189 text-align: center;
190 }
191
192 #select-post-language .pll-select-flag {
193 padding: 4px;
194 margin-right: 32px;
195 }
196
197 /* specific cases for media */
198 #select-media-language .pll-select-flag {
199 padding: 4px;
200 margin-right: 10px;
201 }
202
203 .pll-media-edit-column {
204 float: right;
205 }
206
207 /* language and translations in edit-tags.php */
208 .pll-translation-flag { /* also for media */
209 margin-right: 14px;
210 }
211
212 #select-add-term-language .pll-select-flag {
213 padding: 11px;
214 margin-right: 13px;
215 }
216
217 #select-edit-term-language .pll-select-flag {
218 padding: 11px;
219 margin-right: 4px;
220 }
221
222 #term-translations p {
223 /* same style as label */
224 font-size: 12px;
225 font-style: normal;
226 padding: 2px;
227 color: #23282d;
228 }
229
230 #add-term-translations,
231 #edit-term-translations {
232 width: 95%;
233 }
234
235 #term-translations .pll-language-column {
236 line-height: 28px;
237 width: 20%;
238 }
239
240 #term-translations .pll-edit-column,
241 #add-term-translations .pll-language-column {
242 width: 20px;
243 }
244
245 #edit-term-translations .pll-language-column {
246 padding: 15px 10px;
247 font-weight: normal;
248 }
249
250 /* icon fonts */
251 .pll_icon_tick:before {
252 content: "\f147";
253 }
254 .pll_icon_add:before {
255 content: "\f132";
256 }
257 .pll_icon_edit:before {
258 content: "\f464";
259 }
260
261 [class^="pll_icon_"] {
262 font: 20px/1 'dashicons';
263 vertical-align: middle;
264 }
265
266 /* admin bar */
267 #wpadminbar #wp-admin-bar-languages .ab-item img {
268 margin: 0 8px 0 2px;
269 }
270
271 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
272 float: none;
273 top: 4px;
274 }
275
276 #wpadminbar #wp-admin-bar-languages .ab-icon:before {
277 content: "\f326";
278 top: 1px;
279 }
280
281 @media screen and ( max-width: 782px ) {
282 /* settings */
283 #wpbody-content .pll-settings .pll-configure > td {
284 padding: 20px;
285 }
286
287 #wpbody-content .pll-settings #cb {
288 padding: 20px 9px;
289 }
290
291 /* settings URL modifications */
292 .pll-inline-block {
293 width: auto;
294 }
295
296 .pll-settings-url-col {
297 display: block;
298 width: 100%;
299 }
300
301 /* settings licenses */
302 #wpbody-content .pll-settings #pll-licenses-table td {
303 display: block;
304 }
305
306 .pll-configure .pll-deactivate-license {
307 margin: 10px 0 5px;
308 }
309
310 /* strings translations table */
311 .stringstranslations .column-context,
312 .stringstranslations .column-name {
313 display: none; /* backward compatibility WP < 4.3 */
314 }
315
316 .translation label {
317 display: block;
318 width: 95%;
319 padding-left: 0;
320 }
321
322 .translation input {
323 width: 95%;
324 }
325
326 /* hide selected language flag and translations language name */
327 #select-add-term-language .pll-select-flag,
328 #select-edit-term-language .pll-select-flag,
329 #edit-term-translations .pll-language-name {
330 display: none;
331 }
332
333 #edit-term-translations {
334 width: 100%;
335 }
336
337 #add-term-translations .pll-language-column {
338 line-height: 38px;
339 }
340
341 #edit-term-translations td {
342 padding: 8px 10px;
343 }
344
345 #edit-term-translations .pll-language-column,
346 #edit-term-translations .pll-edit-column {
347 width: 20px;
348 }
349
350 /* translations tables should be kept as table */
351 .term-translations .pll-language-column,
352 .term-translations .pll-edit-column,
353 .term-translations .pll-translation-column {
354 display: table-cell;
355 }
356
357 .term-translations .hidden {
358 display: none;
359 }
360
361 /* admin bar */
362 #wpadminbar #wp-admin-bar-languages {
363 display: block; /*shows our menu on mobile devices */
364 }
365
366 #wpadminbar #wp-admin-bar-languages > .ab-item {
367 width: 50px;
368 text-align: center;
369 }
370
371 #wpadminbar #wp-admin-bar-languages > .ab-item .ab-icon:before {
372 font: 32px/1 'dashicons';
373 top: -1px;
374 }
375
376 #wpadminbar #wp-admin-bar-languages > .ab-item img {
377 margin: 19px 0;
378 }
379
380 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
381 margin-right: 6px;
382 font-size: 20px !important;
383 line-height: 20px !important;
384 }
385 }
386