6cd48f09 by 杨威

二级菜单吸顶

1 parent d9e8979a
......@@ -89,25 +89,33 @@ ol, ul { list-style:none; }
}
//二级菜单样式
.tabs{
>.is-top>.is-top>.el-tabs__nav-scroll{
height: 50px;
background-color: #ffffff;
box-sizing: border-box;
padding-left: 20px;
.el-tabs__active-bar{
display: none;
}
>.el-tabs__nav{
>.el-tabs__item{
border: 1px solid #DEDEDE;
height: 30px;
line-height: 30px;
padding: 0 20px;
margin: 9px 10px 9px 0;
>.is-top{
position: -webkit-fixed;
position: fixed;
top: 60px;
z-index: 999;
width: 100%;
margin-bottom: 0;
>.is-top>.el-tabs__nav-scroll{
height: 50px;
background-color: #ffffff;
box-sizing: border-box;
padding-left: 20px;
.el-tabs__active-bar{
display: none;
}
.is-active{
color: #006CFF;
background-color: #ffffff;
>.el-tabs__nav{
>.el-tabs__item{
border: 1px solid #DEDEDE;
height: 30px;
line-height: 30px;
padding: 0 20px;
margin: 9px 10px 9px 0;
}
.is-active{
color: #006CFF;
background-color: #ffffff;
}
}
}
}
......@@ -123,6 +131,7 @@ ol, ul { list-style:none; }
}
.el-tabs__content{
position: unset;
margin-top: 50px;
}
// 自定义右键菜单样式
.contextmenu {
......