PluginProbe
Polylang / 1.8.2
Polylang v1.8.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 / admin.css

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

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