mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-24 01:57:53 +01:00
11d4f1b3bf
Props: ironprogrammer, petitphp, hellofromTonya, azaozz. Fixes: #57891. Built from https://develop.svn.wordpress.org/trunk@55494 git-svn-id: http://core.svn.wordpress.org/trunk@55027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
31 lines
1.2 KiB
CSS
31 lines
1.2 KiB
CSS
.wp-block-navigation-submenu{
|
|
display:block;
|
|
}
|
|
.wp-block-navigation-submenu .wp-block-navigation__submenu-container{
|
|
z-index:28;
|
|
}
|
|
.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container{
|
|
height:auto !important;
|
|
min-width:200px !important;
|
|
opacity:1 !important;
|
|
position:absolute;
|
|
right:-1px;
|
|
top:100%;
|
|
visibility:visible !important;
|
|
width:auto !important;
|
|
}
|
|
@media (min-width:782px){
|
|
.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container{
|
|
right:100%;
|
|
top:-1px;
|
|
}
|
|
.wp-block-navigation-submenu.has-child-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before,.wp-block-navigation-submenu.is-selected>.wp-block-navigation__submenu-container .wp-block-navigation__submenu-container:before{
|
|
background:transparent;
|
|
content:"";
|
|
display:block;
|
|
height:100%;
|
|
left:100%;
|
|
position:absolute;
|
|
width:.5em;
|
|
}
|
|
} |