mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2026-04-25 05:28:02 +08:00
采用ACE界面
This commit is contained in:
51
OpenAuth.Mvc/Content/ace/css/less/sidebar/sub-arrow.less
Normal file
51
OpenAuth.Mvc/Content/ace/css/less/sidebar/sub-arrow.less
Normal file
@@ -0,0 +1,51 @@
|
||||
//the arrow connecting "LI" to ".SUBMENU"
|
||||
//-li > .arrow
|
||||
.nav-list li {
|
||||
> .arrow {
|
||||
display: none;
|
||||
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 1px;
|
||||
|
||||
z-index: @zindex-submenu + 1;
|
||||
|
||||
&:before, &:after {
|
||||
border: 1px solid transparent;
|
||||
display: block;
|
||||
height: 0;
|
||||
width: 0;
|
||||
|
||||
position: absolute;
|
||||
left: -19px;
|
||||
top: 0;
|
||||
right: auto;
|
||||
bottom: auto;
|
||||
|
||||
content: "";
|
||||
|
||||
border-width: 10px;
|
||||
}
|
||||
|
||||
&:before {
|
||||
z-index: 1;//above .submenu
|
||||
left: -20px;
|
||||
}
|
||||
&:after {
|
||||
z-index: 2;//above .arrow:before
|
||||
}
|
||||
}
|
||||
|
||||
//don't display when there's no submenu
|
||||
&:hover > a + .arrow , &.hover-show > a + .arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: @screen-hover-menu) {
|
||||
&.hover:hover > a.dropdown-toggle + .arrow,
|
||||
&.hover.hover-show > a.dropdown-toggle + .arrow
|
||||
{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user