diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index b1a19f5e3b..b046eea208 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -3,18 +3,6 @@ body { -webkit-text-size-adjust: 100%; } -button.not-a-button { - background: transparent; - border: none; - -webkit-box-shadow: none; - box-shadow: none; - -webkit-border-radius: 0; - border-radius: 0; - outline: 0; - padding: 0; - margin: 0; -} - #customize-controls a { text-decoration: none; } diff --git a/src/wp-admin/css/customize-nav-menus.css b/src/wp-admin/css/customize-nav-menus.css index f57c302aad..2daa03ccb8 100644 --- a/src/wp-admin/css/customize-nav-menus.css +++ b/src/wp-admin/css/customize-nav-menus.css @@ -199,6 +199,8 @@ width: 30px; height: 38px; margin-right: 0 !important; + -webkit-box-shadow: none; + box-shadow: none; outline: none; overflow: hidden; cursor: pointer; @@ -529,6 +531,9 @@ .menu-item-bar .item-delete:hover, .menu-item-bar .item-delete:focus { + -webkit-box-shadow: none; + box-shadow: none; + outline: none; color: #f00; } @@ -618,6 +623,9 @@ position: absolute; top: 5px; right: 5px; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; cursor: pointer; } @@ -724,6 +732,9 @@ color: #82878c; width: 30px; height: 38px; + -webkit-box-shadow: none; + box-shadow: none; + outline: none; cursor: pointer; } diff --git a/src/wp-admin/css/press-this.css b/src/wp-admin/css/press-this.css index d11ebe6a9d..3374a061fa 100644 --- a/src/wp-admin/css/press-this.css +++ b/src/wp-admin/css/press-this.css @@ -312,7 +312,6 @@ strong { * Pushing buttons is what I do. */ -.button-subtle, .scan-submit { display: inline-block; margin: 0; @@ -329,67 +328,6 @@ strong { -webkit-appearance: none; } -.button-subtle { - background: none; - border: 0; - color: #0073aa; -} - -.button-subtle:visited { - color: #0073aa; -} - -.button-subtle:focus, -.button-subtle:hover, -.button-subtle:active, -.edit-post-link:focus, -.edit-post-link:hover, -.edit-post-link:active { - color: #00a0d2; -} - -.button-subtle:focus, -.button-subtle:active, -.edit-post-link:focus, -.edit-post-link:active { - outline: 0; - text-decoration: underline; -} - -.preview-button { - margin-right: 5px; -} - -.button-reset { - margin: 0; - padding: 0; - border: 0; - background: none; - cursor: pointer; - -webkit-appearance: none; -} - -.button-reset:focus { - outline: 0; -} - -.button-link { - margin: 0; - padding: 0; - border: 0; - background: none; - color: #0073aa; - cursor: pointer; - -webkit-appearance: none; -} - -.button-link:hover, -.button-link:active, -.button-link:focus { - color: #00a0d2; - text-decoration: underline; -} - .split-button { position: relative; display: inline-block; @@ -443,6 +381,7 @@ strong { margin: 0; width: 100%; text-align: left; + line-height: 2; } .is-open .split-button-body { @@ -921,7 +860,7 @@ dd { margin: 0; } -.tagcloud-link { +.press-this .tagcloud-link { display: block; margin: 0 16px 5px; padding: 0; @@ -991,23 +930,24 @@ input[type="search"].categories-search, } } -.add-cat-toggle { +.press-this .add-cat-toggle { float: right; margin-top: -45px; line-height: 20px; padding: 12px 10px 8px; + color: #0073aa; } -.add-cat-toggle:focus { +.press-this .add-cat-toggle:focus { text-decoration: none; color: #00a0d2; } -.add-cat-toggle.is-toggled { +.press-this .add-cat-toggle.is-toggled { padding: 10px; } -.add-cat-toggle.is-toggled .dashicons:before { +.press-this .add-cat-toggle.is-toggled .dashicons:before { content: "\f179"; } @@ -1261,11 +1201,13 @@ html { color: #999; } -.adminbar button { +.press-this .adminbar button { position: absolute; top: 50%; right: 6px; margin-top: -13px; + padding: 0 10px 1px; + font-size: 13px; } @media (max-width: 320px) { @@ -1881,13 +1823,6 @@ html { } } -.edit-post-link { - font-size: 13px; - display: inline-block; - text-decoration: none; - padding: 0 10px; -} - .publish-button .saving-draft, .publish-button.is-saving .publish { display: none; @@ -2101,6 +2036,7 @@ html { outline: 0; -webkit-box-shadow: inset 5px 0 0 #00a0d2; box-shadow: inset 5px 0 0 #00a0d2; + border-color: #e5e5e5; } .is-off-screen > .post-option { @@ -2157,7 +2093,7 @@ html { } } -.modal-close { +.press-this .modal-close { display: block; width: 100%; padding: 13px 14px; @@ -2167,10 +2103,11 @@ html { text-align: left; } -.modal-close:focus { +.press-this .modal-close:focus { outline: 0; -webkit-box-shadow: inset 5px 0 0 #00a0d2; box-shadow: inset 5px 0 0 #00a0d2; + border-color: #e5e5e5; } .setting-title { diff --git a/src/wp-admin/includes/class-wp-press-this.php b/src/wp-admin/includes/class-wp-press-this.php index c749ef9619..cdc4ad79bb 100644 --- a/src/wp-admin/includes/class-wp-press-this.php +++ b/src/wp-admin/includes/class-wp-press-this.php @@ -876,7 +876,7 @@ class WP_Press_This { if ( current_user_can( $taxonomy->cap->edit_terms ) ) { ?> - diff --git a/src/wp-includes/class-wp-customize-nav-menus.php b/src/wp-includes/class-wp-customize-nav-menus.php index ddc01fd89c..0743f2f8e0 100644 --- a/src/wp-includes/class-wp-customize-nav-menus.php +++ b/src/wp-includes/class-wp-customize-nav-menus.php @@ -677,7 +677,7 @@ final class WP_Customize_Nav_Menus { - @@ -777,7 +777,7 @@ final class WP_Customize_Nav_Menus { - -

- diff --git a/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php b/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php index abd7e651de..466f214b69 100644 --- a/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php +++ b/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php @@ -72,11 +72,11 @@ class WP_Customize_Nav_Menu_Item_Control extends WP_Customize_Control { {{ data.title || wp.customize.Menus.data.l10n.untitled }} - - @@ -138,7 +138,7 @@ class WP_Customize_Nav_Menu_Item_Control extends WP_Customize_Control {

<# } #> - + diff --git a/src/wp-includes/customize/class-wp-widget-area-customize-control.php b/src/wp-includes/customize/class-wp-widget-area-customize-control.php index 6a93766595..298aece9b3 100644 --- a/src/wp-includes/customize/class-wp-widget-area-customize-control.php +++ b/src/wp-includes/customize/class-wp-widget-area-customize-control.php @@ -60,7 +60,7 @@ class WP_Widget_Area_Customize_Control extends WP_Customize_Control { -