| @@ -20,16 +20,8 @@ | ||
| 20 | 20 | .icon-default-lang:before { |
| 21 | 21 | font-family: 'dashicons'; |
| 22 | 22 | content: "\f155"; |
| 23 | 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 | 24 | |
| 33 | 25 | .form-field input[type="radio"] { |
| 34 | 26 | width: auto; |
| 35 | 27 | margin-right: 2px; |
| @@ -62,24 +54,11 @@ | ||
| 62 | 54 | width: 23%; |
| 63 | 55 | vertical-align: top; |
| 64 | 56 | } |
| 65 | 57 | |
| 66 | -.translation { | |
| 67 | - display: flex; /* fix #691 to remove default margin bottom */ | |
| 68 | -} | |
| 69 | -@media screen and (max-width: 782px) { /* reset default display property for small device */ | |
| 70 | - .translation{ | |
| 71 | - display: block; | |
| 72 | - } | |
| 73 | -} | |
| 74 | -.translation textarea{ | |
| 75 | - display: block; /* fix #691 to remove default margin bottom */ | |
| 76 | -} | |
| 77 | 58 | .translation input, |
| 78 | 59 | .translation textarea { |
| 79 | 60 | width: 72%; |
| 80 | - box-sizing: border-box; /* to be sure field don't overrun outside their wrapper */ | |
| 81 | - margin-bottom: 4px; /* fix #691 set the same margin bottom for both textarea and input tags */ | |
| 82 | 61 | } |
| 83 | 62 | |
| 84 | 63 | /* settings */ |
| 85 | 64 | .pll-settings { |
| @@ -163,30 +142,14 @@ | ||
| 163 | 142 | margin: 0 0 0 20px; |
| 164 | 143 | } |
| 165 | 144 | |
| 166 | 145 | /* language columns in edit.php and edit-tags.php */ |
| 167 | -.wp-list-table th[class*='column-language_'], | |
| 168 | -.wp-list-table td[class*='column-language_'] { | |
| 146 | +th[class*='column-language_'], | |
| 147 | +td[class*='column-language_'] { | |
| 169 | 148 | width: 1.5em; |
| 170 | - box-sizing: content-box; /* Override ACF 5.9.0 styles */ | |
| 171 | 149 | } |
| 172 | 150 | |
| 173 | -/* Text direction in post.php and edit-tags.php */ | |
| 174 | -.pll-dir-rtl textarea, | |
| 175 | -.pll-dir-rtl input[type="text"] { | |
| 176 | - direction: rtl; | |
| 177 | -} | |
| 178 | 151 | |
| 179 | -.pll-dir-ltr textarea, | |
| 180 | -.pll-dir-ltr input[type="text"] { | |
| 181 | - direction: ltr; | |
| 182 | -} | |
| 183 | - | |
| 184 | -.pll-dir-ltr .tr_lang, | |
| 185 | -.pll-dir-rtl .tr_lang { | |
| 186 | - direction: inherit; | |
| 187 | -} | |
| 188 | - | |
| 189 | 152 | /* languages metabox in post.php */ |
| 190 | 153 | #post-translations p { |
| 191 | 154 | float: left; |
| 192 | 155 | } |
| @@ -257,9 +220,9 @@ | ||
| 257 | 220 | } |
| 258 | 221 | |
| 259 | 222 | #term-translations p { |
| 260 | 223 | /* same style as label */ |
| 261 | - font-weight: 400; | |
| 224 | + font-size: 12px; | |
| 262 | 225 | font-style: normal; |
| 263 | 226 | padding: 2px; |
| 264 | 227 | color: #23282d; |
| 265 | 228 | } |
| @@ -284,12 +247,14 @@ | ||
| 284 | 247 | font-weight: normal; |
| 285 | 248 | } |
| 286 | 249 | |
| 287 | 250 | /* icon fonts */ |
| 251 | +.pll_icon_tick:before { | |
| 252 | + content: "\f147"; | |
| 253 | +} | |
| 288 | 254 | .pll_icon_add:before { |
| 289 | 255 | content: "\f132"; |
| 290 | 256 | } |
| 291 | - | |
| 292 | 257 | .pll_icon_edit:before { |
| 293 | 258 | content: "\f464"; |
| 294 | 259 | } |
| 295 | 260 | |
| @@ -312,41 +277,8 @@ | ||
| 312 | 277 | content: "\f326"; |
| 313 | 278 | top: 1px; |
| 314 | 279 | } |
| 315 | 280 | |
| 316 | -/* Notices */ | |
| 317 | -.pll-notice.notice { | |
| 318 | - padding-right: 38px; | |
| 319 | - position: relative; | |
| 320 | -} | |
| 321 | - | |
| 322 | -.pll-notice a.notice-dismiss { | |
| 323 | - text-decoration: none; | |
| 324 | -} | |
| 325 | - | |
| 326 | -.pll-notice .button { | |
| 327 | - margin-right: 10px; | |
| 328 | -} | |
| 329 | - | |
| 330 | -/* Metaboxes holder in Strings translations screen */ | |
| 331 | -.languages_page_mlang_strings .metabox-holder > div { | |
| 332 | - display: flex; | |
| 333 | -} | |
| 334 | -.languages_page_mlang_strings .metabox-holder > div > div { | |
| 335 | - flex-grow: 1; | |
| 336 | -} | |
| 337 | -.languages_page_mlang_strings .metabox-holder > div > div:nth-child(2n) { | |
| 338 | - margin-left: 1rem; | |
| 339 | -} | |
| 340 | -.languages_page_mlang_strings .metabox-holder > div > div.closed { | |
| 341 | - border:0; | |
| 342 | - background: none; | |
| 343 | -} | |
| 344 | -.languages_page_mlang_strings .metabox-holder > div > div.closed .postbox-header{ | |
| 345 | - border: 1px solid #ccd0d4; | |
| 346 | - background: #fff; | |
| 347 | -} | |
| 348 | - | |
| 349 | 281 | @media screen and ( max-width: 782px ) { |
| 350 | 282 | /* settings */ |
| 351 | 283 | #wpbody-content .pll-settings .pll-configure > td { |
| 352 | 284 | padding: 20px; |
| @@ -375,8 +307,13 @@ | ||
| 375 | 307 | margin: 10px 0 5px; |
| 376 | 308 | } |
| 377 | 309 | |
| 378 | 310 | /* strings translations table */ |
| 311 | + .stringstranslations .column-context, | |
| 312 | + .stringstranslations .column-name { | |
| 313 | + display: none; /* backward compatibility WP < 4.3 */ | |
| 314 | + } | |
| 315 | + | |
| 379 | 316 | .translation label { |
| 380 | 317 | display: block; |
| 381 | 318 | width: 95%; |
| 382 | 319 | padding-left: 0; |
| @@ -381,19 +318,10 @@ | ||
| 381 | 318 | width: 95%; |
| 382 | 319 | padding-left: 0; |
| 383 | 320 | } |
| 384 | 321 | |
| 385 | - .translation input, | |
| 386 | - .translation textarea { | |
| 322 | + .translation input { | |
| 387 | 323 | width: 95%; |
| 388 | - } | |
| 389 | - | |
| 390 | - /* Metaboxes holder in Strings translations screen */ | |
| 391 | - .languages_page_mlang_strings .metabox-holder > div { | |
| 392 | - flex-direction: column; | |
| 393 | - } | |
| 394 | - .languages_page_mlang_strings .metabox-holder > div > div:nth-child(2n) { | |
| 395 | - margin-left: 0; | |
| 396 | 324 | } |
| 397 | 325 | |
| 398 | 326 | /* hide selected language flag and translations language name */ |
| 399 | 327 | #select-add-term-language .pll-select-flag, |