Un-hide dropdown submenus at responsive sizes, make submenus within dropdowns appear as inline lists at mobile device sizes. See #25972.
Built from https://develop.svn.wordpress.org/trunk@26687 git-svn-id: http://core.svn.wordpress.org/trunk@26577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e509a66071
commit
6202106205
|
@ -293,7 +293,8 @@ ul#adminmenu > li.current > a.current:after {
|
|||
background: $menu-submenu-background;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: $menu-submenu-background-alt;
|
||||
}
|
||||
|
||||
|
|
|
@ -186,7 +186,7 @@ ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.curre
|
|||
#wpadminbar .menupop .ab-sub-wrapper {
|
||||
background: #4796b3; }
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #75b7cd; }
|
||||
|
||||
#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -186,7 +186,7 @@ ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.curre
|
|||
#wpadminbar .menupop .ab-sub-wrapper {
|
||||
background: #4796b3; }
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #75b7cd; }
|
||||
|
||||
#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -186,7 +186,7 @@ ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.curre
|
|||
#wpadminbar .menupop .ab-sub-wrapper {
|
||||
background: white; }
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #f7f7f7; }
|
||||
|
||||
#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -186,7 +186,7 @@ ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.curre
|
|||
#wpadminbar .menupop .ab-sub-wrapper {
|
||||
background: white; }
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #f7f7f7; }
|
||||
|
||||
#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -186,7 +186,7 @@ ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.curre
|
|||
#wpadminbar .menupop .ab-sub-wrapper {
|
||||
background: #26292c; }
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #4b4c4d; }
|
||||
|
||||
#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -186,7 +186,7 @@ ul#adminmenu a.wp-has-current-submenu:after, ul#adminmenu > li.current > a.curre
|
|||
#wpadminbar .menupop .ab-sub-wrapper {
|
||||
background: #26292c; }
|
||||
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary {
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #4b4c4d; }
|
||||
|
||||
#wpadminbar .ab-submenu .ab-item, #wpadminbar .quicklinks .menupop ul li a, #wpadminbar .quicklinks .menupop.hover ul li a, #wpadminbar-nojs .quicklinks .menupop:hover ul li a {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -309,13 +309,16 @@
|
|||
position: relative;
|
||||
left: auto;
|
||||
margin: 0;
|
||||
background: #4b4b4b;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li:hover > a,
|
||||
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li.hover > a,
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #4b4b4b;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover,
|
||||
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a {
|
||||
color: #2ea2cc;
|
||||
}
|
||||
|
@ -909,7 +912,8 @@
|
|||
}
|
||||
|
||||
/* Allow dropdown list items to appear normally */
|
||||
#wpadminbar li:hover ul li {
|
||||
#wpadminbar li:hover ul li,
|
||||
#wpadminbar li:hover ul li:hover ul li {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
|
@ -1008,6 +1012,24 @@
|
|||
#wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
top: auto;
|
||||
right: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper .ab-item {
|
||||
font-size: 16px;
|
||||
padding: 6px 30px 19px 15px;
|
||||
}
|
||||
|
||||
#wpadminbar li:hover ul li ul li {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
#wpadminbar li#wp-admin-bar-wp-logo,
|
||||
#wpadminbar li#wp-admin-bar-updates {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -309,13 +309,16 @@
|
|||
position: relative;
|
||||
right: auto;
|
||||
margin: 0;
|
||||
background: #4b4b4b;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li:hover > a,
|
||||
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li.hover > a,
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary,
|
||||
#wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu {
|
||||
background: #4b4b4b;
|
||||
}
|
||||
|
||||
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover,
|
||||
#wpadminbar .quicklinks .menupop .ab-sub-secondary > li .ab-item:focus a {
|
||||
color: #2ea2cc;
|
||||
}
|
||||
|
@ -909,7 +912,8 @@
|
|||
}
|
||||
|
||||
/* Allow dropdown list items to appear normally */
|
||||
#wpadminbar li:hover ul li {
|
||||
#wpadminbar li:hover ul li,
|
||||
#wpadminbar li:hover ul li:hover ul li {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
|
@ -1008,6 +1012,24 @@
|
|||
#wpadminbar #wp-admin-bar-wp-logo.menupop .ab-sub-wrapper {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
top: auto;
|
||||
left: auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#wpadminbar .ab-top-menu > .menupop li > .ab-sub-wrapper .ab-item {
|
||||
font-size: 16px;
|
||||
padding: 6px 15px 19px 30px;
|
||||
}
|
||||
|
||||
#wpadminbar li:hover ul li ul li {
|
||||
display: list-item;
|
||||
}
|
||||
|
||||
#wpadminbar li#wp-admin-bar-wp-logo,
|
||||
#wpadminbar li#wp-admin-bar-updates {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue