| @@ -1,36 +1,9 @@ | ||
| 1 | 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 { | |
| 2 | +.column-term_group, .column-flag, .column-count { | |
| 17 | 3 | width : 10%; |
| 18 | 4 | } |
| 19 | 5 | |
| 20 | -.icon-default-lang:before { | |
| 21 | - font-family: 'dashicons'; | |
| 22 | - content: "\f155"; | |
| 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 | - | |
| 33 | 6 | .form-field input[type="radio"] { |
| 34 | 7 | width: auto; |
| 35 | 8 | margin-right: 2px; |
| 36 | 9 | } |
| @@ -35,14 +8,13 @@ | ||
| 35 | 8 | margin-right: 2px; |
| 36 | 9 | } |
| 37 | 10 | |
| 38 | 11 | /* about Polylang metabox */ |
| 39 | -#pll-about-box p, | |
| 40 | -#pll-recommended p { | |
| 12 | +#pll_about_box p { | |
| 41 | 13 | text-align: justify; |
| 42 | 14 | } |
| 43 | 15 | |
| 44 | -#pll-about-box input { | |
| 16 | +#pll_about_box input { | |
| 45 | 17 | margin: 0; |
| 46 | 18 | padding: 0; |
| 47 | 19 | float: right; |
| 48 | 20 | } |
| @@ -47,10 +19,13 @@ | ||
| 47 | 19 | float: right; |
| 48 | 20 | } |
| 49 | 21 | |
| 50 | 22 | /* strings translation table */ |
| 51 | -.stringstranslations .column-name, | |
| 52 | -.stringstranslations .column-context { | |
| 23 | +#string-translation .search-box { | |
| 24 | + margin: 16px 0 8px 0; | |
| 25 | +} | |
| 26 | + | |
| 27 | +.stringstranslations .column-name, .stringstranslations .column-context { | |
| 53 | 28 | width: 10%; |
| 54 | 29 | } |
| 55 | 30 | |
| 56 | 31 | .stringstranslations .column-string { |
| @@ -62,140 +37,41 @@ | ||
| 62 | 37 | width: 23%; |
| 63 | 38 | vertical-align: top; |
| 64 | 39 | } |
| 65 | 40 | |
| 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 | -.translation input, | |
| 78 | -.translation textarea { | |
| 41 | +.translation input, .translation textarea { | |
| 79 | 42 | 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 | 43 | } |
| 83 | 44 | |
| 84 | 45 | /* settings */ |
| 85 | -.pll-settings { | |
| 86 | - margin-top: 20px; | |
| 87 | -} | |
| 88 | - | |
| 89 | -.pll-settings .plugin-title { | |
| 90 | - width: 25%; | |
| 91 | -} | |
| 92 | - | |
| 93 | -#wpbody-content .pll-settings .pll-configure tr { | |
| 94 | - display: table-row; | |
| 95 | -} | |
| 96 | - | |
| 97 | -#wpbody-content .pll-settings .pll-configure td { | |
| 98 | - display: table-cell; | |
| 99 | -} | |
| 100 | - | |
| 101 | -#wpbody-content .pll-settings .pll-configure > td { | |
| 102 | - padding: 20px 20px 20px 40px; | |
| 103 | -} | |
| 104 | - | |
| 105 | -.pll-configure legend { | |
| 106 | - font-size: 14px; | |
| 107 | - font-weight: 600; | |
| 108 | - margin-bottom: 0.5em; | |
| 109 | -} | |
| 110 | - | |
| 111 | -.pll-configure td .description { | |
| 112 | - margin-top: 2px; | |
| 113 | - margin-bottom: 0.5em; | |
| 114 | -} | |
| 115 | - | |
| 116 | -.pll-configure p.submit { | |
| 117 | - margin-top: 20px; | |
| 118 | -} | |
| 119 | - | |
| 120 | -.pll-configure .button { | |
| 121 | - margin-right: 20px; | |
| 122 | -} | |
| 123 | - | |
| 124 | -.pll-configure fieldset { | |
| 125 | - margin-bottom: 1.5em; | |
| 126 | -} | |
| 127 | - | |
| 128 | -.pll-inline-block-list { | |
| 46 | +.pll_inline_block { | |
| 129 | 47 | margin: 0; |
| 130 | 48 | } |
| 131 | 49 | |
| 132 | -.pll-inline-block-list li { | |
| 50 | +.pll_inline_block li { | |
| 133 | 51 | display: inline-block; |
| 134 | 52 | margin: 0; |
| 135 | 53 | width: 250px; |
| 136 | 54 | } |
| 137 | 55 | |
| 138 | -/* settings URL modifications */ | |
| 139 | 56 | #pll-domains-table td { |
| 140 | 57 | padding: 2px 2px 2px 1.5em; |
| 141 | - -webkit-box-shadow: none; | |
| 142 | - box-shadow: none; | |
| 143 | - border: none; | |
| 144 | 58 | } |
| 145 | 59 | |
| 146 | -.pll-settings-url-col { | |
| 147 | - display: inline-block; | |
| 148 | - width: 49%; | |
| 149 | - vertical-align: top; | |
| 60 | +#pll-force-lang .description { | |
| 61 | + margin-top: 0; | |
| 62 | + margin-bottom: 0.5em; | |
| 150 | 63 | } |
| 151 | 64 | |
| 152 | -/* settings Activation keys */ | |
| 153 | -#pll-licenses-table td { | |
| 154 | - vertical-align: top; | |
| 155 | -} | |
| 156 | - | |
| 157 | -#pll-licenses-table label { | |
| 158 | - font-size: 1em; | |
| 159 | - font-weight: 600; | |
| 160 | -} | |
| 161 | - | |
| 162 | -.pll-configure .pll-deactivate-license { | |
| 163 | - margin: 0 0 0 20px; | |
| 164 | -} | |
| 165 | - | |
| 166 | 65 | /* 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_'] { | |
| 169 | - width: 1.5em; | |
| 170 | - box-sizing: content-box; /* Override ACF 5.9.0 styles */ | |
| 66 | +th[class*='column-language_'] { | |
| 67 | + width: 2em; | |
| 171 | 68 | } |
| 172 | 69 | |
| 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 | - | |
| 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 | 70 | /* languages metabox in post.php */ |
| 190 | -#post-translations p { | |
| 191 | - float: left; | |
| 192 | -} | |
| 193 | - | |
| 194 | 71 | #post-translations table { |
| 195 | 72 | table-layout: fixed; |
| 196 | 73 | width: 100%; |
| 197 | - clear: both; | |
| 198 | 74 | } |
| 199 | 75 | |
| 200 | 76 | #post-translations a { |
| 201 | 77 | text-decoration: none; |
| @@ -200,23 +76,17 @@ | ||
| 200 | 76 | #post-translations a { |
| 201 | 77 | text-decoration: none; |
| 202 | 78 | } |
| 203 | 79 | |
| 204 | -#post-translations .pll-language-column, | |
| 205 | -#post-translations .pll-column-icon { | |
| 206 | - width: 20px; | |
| 80 | +#post-translations .pll-language-column, #post-translations .pll-edit-column { | |
| 81 | + width: 10%; | |
| 207 | 82 | } |
| 208 | 83 | |
| 209 | -#post-translations .tr_lang { | |
| 210 | - width: 100%; | |
| 211 | -} | |
| 212 | - | |
| 213 | 84 | #post-translations td { |
| 214 | 85 | padding: 2px; |
| 215 | 86 | } |
| 216 | 87 | |
| 217 | -#post-translations .spinner, | |
| 218 | -#term-translations .spinner { | |
| 88 | +#post-translations .spinner, #term-translations .spinner { | |
| 219 | 89 | float: none; |
| 220 | 90 | margin: 0; |
| 221 | 91 | background-position: center; |
| 222 | 92 | width: auto; |
| @@ -221,82 +91,60 @@ | ||
| 221 | 91 | background-position: center; |
| 222 | 92 | width: auto; |
| 223 | 93 | } |
| 224 | 94 | |
| 225 | -.pll-column-icon { | |
| 95 | +.pll-edit-column { | |
| 226 | 96 | text-align: center; |
| 227 | 97 | } |
| 228 | 98 | |
| 229 | -#select-post-language .pll-select-flag { | |
| 230 | - padding: 4px; | |
| 231 | - margin-right: 32px; | |
| 99 | +/* specific case for media */ | |
| 100 | +#post-translations .pll-media-language-column { | |
| 101 | + width: 60%; | |
| 232 | 102 | } |
| 233 | 103 | |
| 234 | -/* specific cases for media */ | |
| 235 | -#select-media-language .pll-select-flag { | |
| 236 | - padding: 4px; | |
| 237 | - margin-right: 10px; | |
| 104 | +/* language and translations in edit-tags.php */ | |
| 105 | +#term-translations table { | |
| 106 | + width: 95%; | |
| 238 | 107 | } |
| 239 | 108 | |
| 240 | -.pll-media-edit-column { | |
| 241 | - float: right; | |
| 109 | +#term-translations .pll-language-column { | |
| 110 | + line-height: 28px; | |
| 111 | + width: 20%; | |
| 242 | 112 | } |
| 243 | 113 | |
| 244 | -/* language and translations in edit-tags.php */ | |
| 245 | -.pll-translation-flag { /* also for media */ | |
| 246 | - margin-right: 14px; | |
| 114 | +#term-translations .pll-edit-column { | |
| 115 | + width: 10%; | |
| 247 | 116 | } |
| 248 | 117 | |
| 249 | -#select-add-term-language .pll-select-flag { | |
| 250 | - padding: 11px; | |
| 251 | - margin-right: 13px; | |
| 118 | +/* icon fonts */ | |
| 119 | +/* backward compatibility WP < 3.8 */ | |
| 120 | +/* use same policy as WP for dashicons for font order and file vs embedded */ | |
| 121 | +@font-face { | |
| 122 | + font-family: 'polylang'; | |
| 123 | + src: url('polylang.eot'); | |
| 252 | 124 | } |
| 253 | 125 | |
| 254 | -#select-edit-term-language .pll-select-flag { | |
| 255 | - padding: 11px; | |
| 256 | - margin-right: 4px; | |
| 257 | -} | |
| 258 | - | |
| 259 | -#term-translations p { | |
| 260 | - /* same style as label */ | |
| 261 | - font-weight: 400; | |
| 126 | +@font-face { | |
| 127 | + font-family: 'polylang'; | |
| 128 | + src: url(data:application/x-font-woff;charset=utf-8;base64,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) format('woff'), | |
| 129 | + url('polylang.ttf') format('truetype'), | |
| 130 | + url('polylang.svg#polylang') format('svg'); | |
| 131 | + font-weight: normal; | |
| 262 | 132 | font-style: normal; |
| 263 | - padding: 2px; | |
| 264 | - color: #23282d; | |
| 265 | 133 | } |
| 266 | 134 | |
| 267 | -#add-term-translations, | |
| 268 | -#edit-term-translations { | |
| 269 | - width: 95%; | |
| 135 | +.pll_icon_tick:before { | |
| 136 | + content: "\e600"; | |
| 270 | 137 | } |
| 271 | - | |
| 272 | -#term-translations .pll-language-column { | |
| 273 | - line-height: 28px; | |
| 274 | - width: 20%; | |
| 275 | -} | |
| 276 | - | |
| 277 | -#term-translations .pll-edit-column, | |
| 278 | -#add-term-translations .pll-language-column { | |
| 279 | - width: 20px; | |
| 280 | -} | |
| 281 | - | |
| 282 | -#edit-term-translations .pll-language-column { | |
| 283 | - padding: 15px 10px; | |
| 284 | - font-weight: normal; | |
| 285 | -} | |
| 286 | - | |
| 287 | -/* icon fonts */ | |
| 288 | 138 | .pll_icon_add:before { |
| 289 | - content: "\f132"; | |
| 139 | + content: "\e601"; | |
| 290 | 140 | } |
| 291 | - | |
| 292 | 141 | .pll_icon_edit:before { |
| 293 | - content: "\f464"; | |
| 142 | + content: "\e602"; | |
| 294 | 143 | } |
| 295 | 144 | |
| 296 | -[class^="pll_icon_"] { | |
| 297 | - font: 20px/1 'dashicons'; | |
| 298 | - vertical-align: middle; | |
| 145 | +[class^="pll_icon_"], #wpadminbar #wp-admin-bar-languages .ab-icon:before { | |
| 146 | + font-family: 'polylang'; | |
| 299 | 147 | } |
| 300 | 148 | |
| 301 | 149 | /* admin bar */ |
| 302 | 150 | #wpadminbar #wp-admin-bar-languages .ab-item img { |
| @@ -307,156 +155,16 @@ | ||
| 307 | 155 | float: none; |
| 308 | 156 | top: 4px; |
| 309 | 157 | } |
| 310 | 158 | |
| 159 | +/* backward compatibility WP < 3.8 */ | |
| 311 | 160 | #wpadminbar #wp-admin-bar-languages .ab-icon:before { |
| 312 | - content: "\f326"; | |
| 161 | + font: 20px/1 'polylang'; | |
| 162 | + content: "\e603"; | |
| 313 | 163 | top: 1px; |
| 314 | 164 | } |
| 315 | 165 | |
| 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 | -@media screen and ( max-width: 782px ) { | |
| 350 | - /* settings */ | |
| 351 | - #wpbody-content .pll-settings .pll-configure > td { | |
| 352 | - padding: 20px; | |
| 353 | - } | |
| 354 | - | |
| 355 | - #wpbody-content .pll-settings #cb { | |
| 356 | - padding: 20px 9px; | |
| 357 | - } | |
| 358 | - | |
| 359 | - /* settings URL modifications */ | |
| 360 | - .pll-inline-block { | |
| 361 | - width: auto; | |
| 362 | - } | |
| 363 | - | |
| 364 | - .pll-settings-url-col { | |
| 365 | - display: block; | |
| 366 | - width: 100%; | |
| 367 | - } | |
| 368 | - | |
| 369 | - /* settings licenses */ | |
| 370 | - #wpbody-content .pll-settings #pll-licenses-table td { | |
| 371 | - display: block; | |
| 372 | - } | |
| 373 | - | |
| 374 | - .pll-configure .pll-deactivate-license { | |
| 375 | - margin: 10px 0 5px; | |
| 376 | - } | |
| 377 | - | |
| 378 | - /* strings translations table */ | |
| 379 | - .stringstranslations .column-context, | |
| 380 | - .stringstranslations .column-name { | |
| 381 | - display: none; /* backward compatibility WP < 4.3 */ | |
| 382 | - } | |
| 383 | - | |
| 384 | - .translation label { | |
| 385 | - display: block; | |
| 386 | - width: 95%; | |
| 387 | - padding-left: 0; | |
| 388 | - } | |
| 389 | - | |
| 390 | - .translation input, | |
| 391 | - .translation textarea { | |
| 392 | - width: 95%; | |
| 393 | - } | |
| 394 | - | |
| 395 | - /* Metaboxes holder in Strings translations screen */ | |
| 396 | - .languages_page_mlang_strings .metabox-holder > div { | |
| 397 | - flex-direction: column; | |
| 398 | - } | |
| 399 | - .languages_page_mlang_strings .metabox-holder > div > div:nth-child(2n) { | |
| 400 | - margin-left: 0; | |
| 401 | - } | |
| 402 | - | |
| 403 | - /* hide selected language flag and translations language name */ | |
| 404 | - #select-add-term-language .pll-select-flag, | |
| 405 | - #select-edit-term-language .pll-select-flag, | |
| 406 | - #edit-term-translations .pll-language-name { | |
| 407 | - display: none; | |
| 408 | - } | |
| 409 | - | |
| 410 | - #edit-term-translations { | |
| 411 | - width: 100%; | |
| 412 | - } | |
| 413 | - | |
| 414 | - #add-term-translations .pll-language-column { | |
| 415 | - line-height: 38px; | |
| 416 | - } | |
| 417 | - | |
| 418 | - #edit-term-translations td { | |
| 419 | - padding: 8px 10px; | |
| 420 | - } | |
| 421 | - | |
| 422 | - #edit-term-translations .pll-language-column, | |
| 423 | - #edit-term-translations .pll-edit-column { | |
| 424 | - width: 20px; | |
| 425 | - } | |
| 426 | - | |
| 427 | - /* translations tables should be kept as table */ | |
| 428 | - .term-translations .pll-language-column, | |
| 429 | - .term-translations .pll-edit-column, | |
| 430 | - .term-translations .pll-translation-column { | |
| 431 | - display: table-cell; | |
| 432 | - } | |
| 433 | - | |
| 434 | - .term-translations .hidden { | |
| 435 | - display: none; | |
| 436 | - } | |
| 437 | - | |
| 438 | - /* admin bar */ | |
| 439 | - #wpadminbar #wp-admin-bar-languages { | |
| 440 | - display: block; /*shows our menu on mobile devices */ | |
| 441 | - } | |
| 442 | - | |
| 443 | - #wpadminbar #wp-admin-bar-languages > .ab-item { | |
| 444 | - width: 50px; | |
| 445 | - text-align: center; | |
| 446 | - } | |
| 447 | - | |
| 448 | - #wpadminbar #wp-admin-bar-languages > .ab-item .ab-icon:before { | |
| 449 | - font: 32px/1 'dashicons'; | |
| 450 | - top: -1px; | |
| 451 | - } | |
| 452 | - | |
| 453 | - #wpadminbar #wp-admin-bar-languages > .ab-item img { | |
| 454 | - margin: 19px 0; | |
| 455 | - } | |
| 456 | - | |
| 457 | - #wpadminbar #wp-admin-bar-languages #wp-admin-bar-all .ab-item .ab-icon { | |
| 458 | - margin-right: 6px; | |
| 459 | - font-size: 20px !important; | |
| 460 | - line-height: 20px !important; | |
| 461 | - } | |
| 166 | +/* backward compatibility WP < 3.8 */ | |
| 167 | +#wpadminbar #wp-admin-bar-languages .ab-item .ab-icon { | |
| 168 | + margin: 0 6px 0 0; | |
| 169 | + padding: 4px 0; | |
| 462 | 170 | } |