PluginProbe
Polylang / 1.7.11
Polylang v1.7.11
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.7.11, at css/admin.css

241 lines 4.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /* languages admin panel */
2 .column-term_group, .column-flag, .column-count {
3 width : 10%;
4 }
5
6 .form-field input[type="radio"] {
7 width: auto;
8 margin-right: 2px;
9 }
10
11 /* about Polylang metabox */
12 #pll_about_box p, #pll_recommended p {
13 text-align: justify;
14 }
15
16 #pll_about_box input {
17 margin: 0;
18 padding: 0;
19 float: right;
20 }
21
22 /* strings translation table */
23 #string-translation .search-box {
24 margin: 16px 0 8px 0;
25 }
26
27 .stringstranslations .column-name, .stringstranslations .column-context {
28 width: 10%;
29 }
30
31 .stringstranslations .column-string {
32 width: 33%;
33 }
34
35 .translation label {
36 display: inline-block;
37 width: 23%;
38 vertical-align: top;
39 }
40
41 .translation input, .translation textarea {
42 width: 72%;
43 }
44
45 /* settings */
46 .pll_inline_block {
47 margin: 0;
48 }
49
50 .pll_inline_block li {
51 display: inline-block;
52 margin: 0;
53 width: 250px;
54 }
55
56 #pll-domains-table td {
57 padding: 2px 2px 2px 1.5em;
58 }
59
60 #pll-force-lang .description {
61 margin-top: 0;
62 margin-bottom: 0.5em;
63 }
64
65 /* language columns in edit.php and edit-tags.php */
66 th[class*='column-language_'], td[class*='column-language_'] {
67 width: 2em;
68 }
69
70
71 /* languages metabox in post.php */
72 #post-translations table {
73 table-layout: fixed;
74 width: 100%;
75 }
76
77 #post-translations a {
78 text-decoration: none;
79 }
80
81 #post-translations .pll-language-column, #post-translations .pll-edit-column {
82 width: 20px;
83 }
84
85 #post-translations td {
86 padding: 2px;
87 }
88
89 #post-translations .spinner, #term-translations .spinner {
90 float: none;
91 margin: 0;
92 background-position: center;
93 width: auto;
94 }
95
96 .pll-edit-column {
97 text-align: center;
98 }
99
100 #select-post-language .pll-select-flag {
101 padding: 4px;
102 margin-right: 32px;
103 }
104
105 /* specific cases for media */
106 #select-media-language .pll-select-flag {
107 padding: 4px;
108 margin-right: 10px;
109 }
110
111 .pll-media-edit-column {
112 float: right;
113 }
114
115 /* language and translations in edit-tags.php */
116 .pll-translation-flag { /* also for media */
117 margin-right: 14px;
118 }
119
120 #select-add-term-language .pll-select-flag {
121 padding: 11px;
122 margin-right: 13px;
123 }
124
125 #select-edit-term-language .pll-select-flag {
126 padding: 11px;
127 margin-right: 4px;
128 }
129
130 #add-term-translations, #edit-term-translations {
131 width: 95%;
132 }
133
134 #term-translations .pll-language-column {
135 line-height: 28px;
136 width: 20%;
137 }
138
139 #term-translations .pll-edit-column, #add-term-translations .pll-language-column {
140 width: 20px;
141 }
142
143 /* icon fonts */
144 .pll_icon_tick:before {
145 content: "\f147";
146 }
147 .pll_icon_add:before {
148 content: "\f132";
149 }
150 .pll_icon_edit:before {
151 content: "\f464";
152 }
153
154 [class^="pll_icon_"] {
155 font: 20px/1 'dashicons';
156 vertical-align: middle;
157 }
158
159 /* admin bar */
160 #wpadminbar #wp-admin-bar-languages .ab-item img {
161 margin: 0 8px 0 2px;
162 }
163
164 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
165 float: none;
166 top: 4px;
167 }
168
169 #wpadminbar #wp-admin-bar-languages .ab-icon:before {
170 content: "\f326";
171 top: 1px;
172 }
173
174 @media screen and ( max-width: 782px ) {
175 /* strings translations table */
176 .stringstranslations .column-context,
177 .stringstranslations .column-name {
178 display: none;
179 }
180
181 /* hide selected language flag and translations language name */
182 #select-add-term-language .pll-select-flag,
183 #select-edit-term-language .pll-select-flag,
184 #edit-term-translations .pll-language-name {
185 display: none;
186 }
187
188 #edit-term-translations {
189 width: 100%;
190 }
191
192 #add-term-translations .pll-language-column {
193 line-height: 38px;
194 }
195
196 #edit-term-translations td {
197 padding: 8px 10px;
198 }
199
200 #edit-term-translations .pll-language-column,
201 #edit-term-translations .pll-edit-column {
202 width: 20px;
203 }
204
205 /* translations tables should be kept as table */
206 .term-translations .pll-language-column,
207 .term-translations .pll-edit-column,
208 .term-translations .pll-translation-column {
209 display: table-cell;
210 }
211
212 .term-translations .hidden {
213 display: none;
214 }
215
216 /* admin bar */
217 #wpadminbar li#wp-admin-bar-languages {
218 display: block; /*shows our menu on mobile devices */
219 }
220
221 #wpadminbar #wp-admin-bar-languages > .ab-item {
222 width: 50px;
223 text-align: center;
224 }
225
226 #wpadminbar #wp-admin-bar-languages > .ab-item .ab-icon:before {
227 font: 32px/1 'dashicons';
228 top: -1px;
229 }
230
231 #wpadminbar #wp-admin-bar-languages > .ab-item img {
232 margin: 19px 0;
233 }
234
235 #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon {
236 margin-right: 6px;
237 font-size: 20px !important;
238 line-height: 20px !important;
239 }
240 }
241