| @@ -1,4 +1,90 @@ | ||
| 1 | +/* By default Polylang dialog box use WordPress jQuery UI dialog styles. | |
| 2 | + However WooCommerce loads its own jQuery UI dialog styles and we need to override them by ours | |
| 3 | + to revert to the default WordPress ones. | |
| 4 | +*/ | |
| 5 | +.pll-confirmation-modal.ui-widget, | |
| 6 | +.pll-confirmation-modal.ui-widget .ui-widget, | |
| 7 | +.pll-confirmation-modal .ui-widget { | |
| 8 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 9 | + font-size: 13px; | |
| 10 | +} | |
| 11 | +.pll-confirmation-modal.ui-dialog { | |
| 12 | + padding: 0; | |
| 13 | + z-index: 100102; | |
| 14 | + background: #fff; | |
| 15 | + border: 0; | |
| 16 | + color: #444; | |
| 17 | + border-radius: 0; /* Override WooCommerce dialog styles - jQuery UI 1.11.4 - WP < 5.6 */ | |
| 18 | +} | |
| 19 | +.ui-dialog.pll-confirmation-modal .ui-dialog-titlebar { | |
| 20 | + background: #fcfcfc; | |
| 21 | + border-radius: 0; | |
| 22 | + border: 0; | |
| 23 | + border-bottom: 1px solid #dfdfdf; | |
| 24 | + height: 36px; | |
| 25 | + font-size: 18px; | |
| 26 | + font-weight: 600; | |
| 27 | + line-height: 2; | |
| 28 | + padding: 0 36px 0 16px; | |
| 29 | + color: #444; | |
| 30 | + position: static; | |
| 31 | +} | |
| 32 | +.ui-dialog.pll-confirmation-modal .ui-dialog-title { | |
| 33 | + float: none; | |
| 34 | + width: auto; | |
| 35 | + margin: 0; | |
| 36 | +} | |
| 37 | +.pll-confirmation-modal .ui-widget-header .ui-icon { | |
| 38 | + background: none; | |
| 39 | + position: static; | |
| 40 | +} | |
| 41 | +.pll-confirmation-modal .ui-button.ui-dialog-titlebar-close { | |
| 42 | + padding: 0; | |
| 43 | + margin: 0; | |
| 44 | + top: 0; | |
| 45 | + right: 0; | |
| 46 | + width: 36px; | |
| 47 | + height: 36px; | |
| 48 | + border: 0; /* Override WooCommerce dialog styles - jQuery UI 1.11.4 - WP < 5.6 */ | |
| 49 | + background: none; /* Override WooCommerce dialog styles - jQuery UI 1.11.4 - WP < 5.6 */ | |
| 50 | +} | |
| 51 | +.ui-dialog.pll-confirmation-modal .ui-dialog-content { | |
| 52 | + border: 0; | |
| 53 | + padding: 16px; | |
| 54 | + color: #444; | |
| 55 | + position: static; | |
| 56 | + box-sizing: border-box; | |
| 57 | +} | |
| 58 | +.ui-dialog.pll-confirmation-modal .ui-dialog-buttonpane{ | |
| 59 | + margin: 0; | |
| 60 | + padding: 16px; | |
| 61 | + border: 0; | |
| 62 | + background: #fcfcfc; | |
| 63 | + border-top: 1px solid #dfdfdf; | |
| 64 | +} | |
| 65 | +.ui-dialog.pll-confirmation-modal .ui-dialog-buttonpane .ui-button{ | |
| 66 | + margin: 0 0 0 16px; | |
| 67 | + padding: 0 10px 1px; | |
| 68 | + background: #f7f7f7; | |
| 69 | + border: 1px solid #cccccc; | |
| 70 | + border-radius: 3px; | |
| 71 | + position: static; | |
| 72 | + line-height: 2; | |
| 73 | + vertical-align: top; | |
| 74 | +} | |
| 75 | +.ui-dialog.pll-confirmation-modal .ui-button:hover, | |
| 76 | +.ui-dialog.pll-confirmation-modal .ui-button:focus { | |
| 77 | + background: #fafafa; | |
| 78 | + border-color: #999; | |
| 79 | + color: #23282d; | |
| 80 | +} | |
| 81 | +.pll-confirmation-modal + .ui-widget-overlay { | |
| 82 | + background: #000; | |
| 83 | + opacity: 0.7; | |
| 84 | + z-index: 100101; | |
| 85 | +} | |
| 86 | + | |
| 1 | 87 | /* languages admin panel */ |
| 2 | 88 | #add-lang select { |
| 3 | 89 | width: 95%; |
| 4 | 90 | } |
| @@ -369,8 +455,52 @@ | ||
| 369 | 455 | } |
| 370 | 456 | |
| 371 | 457 | .pll-notice .button { |
| 372 | 458 | margin-right: 10px; |
| 459 | +} | |
| 460 | + | |
| 461 | +/* Widgets */ | |
| 462 | +.polylang-language-switcher-widget-content { | |
| 463 | + width: 100%; | |
| 464 | + border-collapse: collapse; | |
| 465 | +} | |
| 466 | +.polylang-language-switcher-widget-content h4 { | |
| 467 | + padding: 1em 15px .33em; | |
| 468 | + border-top: 1px solid #c3c4c7; /* Acts as a separator. */ | |
| 469 | + margin: 0 -15px; /* Makes the separator full widget width. */ | |
| 470 | +} | |
| 471 | +.polylang-language-switcher-widget-content th { | |
| 472 | + width: 10em; | |
| 473 | + padding: 0 10px 10px 0; | |
| 474 | + text-align: start; | |
| 475 | +} | |
| 476 | +body.rtl .polylang-language-switcher-widget-content th { | |
| 477 | + padding: 0 0 10px 10px; | |
| 478 | +} | |
| 479 | +.polylang-language-switcher-widget-content td { | |
| 480 | + padding: 0 0 10px 0; | |
| 481 | +} | |
| 482 | +[class*="pll-hidden-by-"] { | |
| 483 | + display: none; | |
| 484 | +} | |
| 485 | +.polylang-language-switcher-widget-content label { | |
| 486 | + font-weight: normal; | |
| 487 | +} | |
| 488 | +.polylang-language-switcher-widget-content + p { | |
| 489 | + padding: 1em 15px .33em; | |
| 490 | + border-top: 1px solid #c3c4c7; /* Acts as a separator. */ | |
| 491 | + margin: 1em -15px; /* Makes the separator full width. */ | |
| 492 | +} | |
| 493 | + | |
| 494 | +/* Nav menus */ | |
| 495 | +.polylang-language-switcher-menu-content fieldset { | |
| 496 | + padding: 0 10px .67em; | |
| 497 | + border-bottom: 1px solid #c3c4c7; /* Acts as a separator. */ | |
| 498 | + margin: 0 -10px; /* Makes the separator full width. */ | |
| 499 | +} | |
| 500 | +.polylang-language-switcher-menu-content legend { | |
| 501 | + padding: .67em 10px; | |
| 502 | + margin: 0 -10px; /* Makes the separator full width. */ | |
| 373 | 503 | } |
| 374 | 504 | |
| 375 | 505 | @media screen and ( max-width: 782px ) { |
| 376 | 506 | /* settings */ |