mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Toolbar: Allow submenus to be closed with a second tap on touch devices.
Also closes submenus when the admin menu is toggled open, as it opens below and thus can be obscured. props stephdau, seanchayes. see #29906. git-svn-id: https://develop.svn.wordpress.org/trunk@33056 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -207,17 +207,17 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
right: 100%;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
|
||||
#wpadminbar .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar:not(.mobile) .ab-top-menu > li:hover > .ab-item,
|
||||
#wpadminbar .ab-top-menu > li.hover > .ab-item {
|
||||
background: #32373c;
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
#wpadminbar > #wp-toolbar li:hover span.ab-label,
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
|
||||
#wpadminbar > #wp-toolbar li.hover span.ab-label,
|
||||
#wpadminbar > #wp-toolbar a:focus span.ab-label {
|
||||
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
@@ -287,6 +287,16 @@ html:lang(he-il) .rtl #wpadminbar * {
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
#wpadminbar.mobile .quicklinks .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .ab-item:before {
|
||||
color: #b4b9be;
|
||||
}
|
||||
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
|
||||
#wpadminbar.mobile .quicklinks .hover .ab-item:before {
|
||||
color: #00b9eb;
|
||||
}
|
||||
|
||||
#wpadminbar .menupop .menupop > .ab-item:before,
|
||||
#wpadminbar .ab-top-secondary .menupop .menupop > .ab-item:before {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user