PluginProbe
Polylang / 0.7
Polylang v0.7
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
← All changes | css/admin.css +36 -385 2.8.10.7 View file →
@@ -1,421 +1,72 @@
1 -/* languages admin panel */
2 -#add-lang select {
3 - width: 95%;
1 +#term-translations table {
2 + width: 97%;
4 3 }
5 4
6 -.column-locale,
7 -.languages .column-slug {
8 - width : 15%
5 +#term-translations th {
6 + padding: 8px 10px;
9 7 }
10 8
11 -.column-default_lang {
12 - width : 5%;
9 +#term-translations td {
10 + font-size: 12px;
11 + line-height: 26px;
12 + margin-bottom: 9px;
13 + padding: 4px 10px;
13 14 }
14 15
15 -.column-term_group,
16 -.column-flag, .column-count {
17 - width : 10%;
16 +.tr-language-column {
17 + width: 35%;
18 18 }
19 19
20 -.icon-default-lang:before {
21 - font-family: 'dashicons';
22 - content: "\f155";
20 +.tr-edit-column {
21 + width: 15%;
23 22 }
24 -.pll-icon:before{
25 - display: inline-block;
23 +
24 +#post-translations table {
25 + width: 100%;
26 26 text-align: left;
27 - width: 15px;
27 + font-size: 11px;
28 + margin: 0 6px;
28 29 }
29 -.pll-circle:before{
30 - content: "\25cf";
30 +
31 +#post-translations td {
32 + font-size: 11px;
31 33 }
32 34
33 -.form-field input[type="radio"] {
35 +.form-field input.tog {
34 36 width: auto;
35 37 margin-right: 2px;
36 38 }
37 39
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 {
40 +.stringstranslations .column-name {
53 41 width: 10%;
54 42 }
55 43
56 44 .stringstranslations .column-string {
57 - width: 33%;
45 + width: 36%;
58 46 }
59 47
60 48 .translation label {
61 49 display: inline-block;
62 50 width: 23%;
63 - vertical-align: top;
64 51 }
65 52
66 -.translation input,
67 -.translation textarea {
53 +.translation input {
68 54 width: 72%;
69 55 }
70 56
71 -/* settings */
72 -.pll-settings {
73 - margin-top: 20px;
57 +.column-term_group, .column-flag, .column-count {
58 + width : 10%;
74 59 }
75 60
76 -.pll-settings .plugin-title {
77 - width: 25%;
61 +.pll_icon_add, .pll_icon_edit {
62 + display: block;
63 + width: 16px;
64 + height: 16px;
65 + background-image: url("icons.png");
78 66 }
79 67
80 -#wpbody-content .pll-settings .pll-configure tr {
81 - display: table-row;
82 -}
68 +.pll_icon_edit {background-position: 0px -24px;}
69 +.pll_icon_add {background-position: 16px -24px;}
83 70
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 -}
71 +.pll_icon_edit:hover {background-position: 0px -40px;}
72 +.pll_icon_add:hover {background-position: 16px -40px;}