mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-29 12:37:57 +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
86 lines
2.4 KiB
CSS
86 lines
2.4 KiB
CSS
.wp-block-navigation .block-list-appender{
|
|
position:relative;
|
|
}
|
|
.wp-block-navigation .has-child{
|
|
cursor:pointer;
|
|
}
|
|
.wp-block-navigation .has-child .wp-block-navigation__submenu-container{
|
|
z-index:28;
|
|
}
|
|
.wp-block-navigation .has-child:hover .wp-block-navigation__submenu-container{
|
|
z-index:29;
|
|
}
|
|
.wp-block-navigation .has-child.has-child-selected>.wp-block-navigation__submenu-container,.wp-block-navigation .has-child.is-selected>.wp-block-navigation__submenu-container{
|
|
height:auto !important;
|
|
min-width:200px !important;
|
|
opacity:1 !important;
|
|
overflow:visible !important;
|
|
visibility:visible !important;
|
|
width:auto !important;
|
|
}
|
|
.wp-block-navigation-item .wp-block-navigation-item__content{
|
|
cursor:text;
|
|
}
|
|
.wp-block-navigation-item.is-editing,.wp-block-navigation-item.is-selected{
|
|
min-width:20px;
|
|
}
|
|
.wp-block-navigation-item .block-list-appender{
|
|
margin:16px 16px 16px auto;
|
|
}
|
|
|
|
.wp-block-navigation-link__invalid-item{
|
|
color:#000;
|
|
}
|
|
|
|
.wp-block-navigation-link__missing_text-tooltip{
|
|
height:1px;
|
|
margin:-1px;
|
|
overflow:hidden;
|
|
padding:0;
|
|
position:absolute;
|
|
width:1px;
|
|
}
|
|
.wp-block-navigation-link__placeholder{
|
|
background-image:none !important;
|
|
box-shadow:none !important;
|
|
position:relative;
|
|
text-decoration:none !important;
|
|
}
|
|
.wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{
|
|
--wp-underline-color:var(--wp-admin-theme-color);
|
|
background-image:linear-gradient(-45deg, transparent 20%, var(--wp-underline-color) 30%, var(--wp-underline-color) 36%, transparent 46%), linear-gradient(-135deg, transparent 54%, var(--wp-underline-color) 64%, var(--wp-underline-color) 70%, transparent 80%);
|
|
background-position:100% 100%;
|
|
background-repeat:repeat-x;
|
|
background-size:6px 3px;
|
|
padding-bottom:.1em;
|
|
}
|
|
.is-dark-theme .wp-block-navigation-link__placeholder .wp-block-navigation-link__placeholder-text span{
|
|
--wp-underline-color:#fff;
|
|
}
|
|
.wp-block-navigation-link__placeholder.wp-block-navigation-item__content{
|
|
cursor:pointer;
|
|
}
|
|
.link-control-transform{
|
|
border-top:1px solid #ccc;
|
|
padding:0 16px 8px;
|
|
}
|
|
|
|
.link-control-transform__subheading{
|
|
color:#1e1e1e;
|
|
font-size:11px;
|
|
font-weight:500;
|
|
margin-bottom:1.5em;
|
|
text-transform:uppercase;
|
|
}
|
|
|
|
.link-control-transform__items{
|
|
display:flex;
|
|
justify-content:space-between;
|
|
}
|
|
|
|
.link-control-transform__item{
|
|
flex-basis:33%;
|
|
flex-direction:column;
|
|
gap:8px;
|
|
height:auto;
|
|
} |