Toolbar: Reset CSS properties that might be inherited from the active Theme.
The Toolbar search field, when the Toolbar is displayed on the frontend, might inherit CSS properties from the active Theme stylesheet. For example, this happened with Twenty Seventeen that sets `display: block;` on all the input fields. Thus, there's the need to reset some CSS properties to avoid inheritance. Props @sagarprajapati. Fixes #40313. Built from https://develop.svn.wordpress.org/trunk@40418 git-svn-id: http://core.svn.wordpress.org/trunk@40316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c26a9a4478
commit
5599164cb7
|
@ -624,12 +624,16 @@ html:lang(he-il) .rtl #wpadminbar * {
|
|||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* The admin bar search field needs to reset many styles that might be inherited from the active Theme CSS. See ticket #40313. */
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
position: relative;
|
||||
z-index: 30;
|
||||
font-size: 13px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
line-height: 24px;
|
||||
text-indent: 0;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
max-width: none;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -624,12 +624,16 @@ html:lang(he-il) .rtl #wpadminbar * {
|
|||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
/* The admin bar search field needs to reset many styles that might be inherited from the active Theme CSS. See ticket #40313. */
|
||||
#wpadminbar > #wp-toolbar > #wp-admin-bar-top-secondary > #wp-admin-bar-search #adminbarsearch input.adminbar-input {
|
||||
display: inline-block;
|
||||
float: none;
|
||||
position: relative;
|
||||
z-index: 30;
|
||||
font-size: 13px;
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
||||
line-height: 24px;
|
||||
text-indent: 0;
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
max-width: none;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-40417';
|
||||
$wp_version = '4.8-alpha-40418';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue