| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- $bg-color :#20222a;
- $color-white :#fff;
- $color-active :#2168fe;
- .z-header{
- height:60px;
- width:100%;
- background-color: $bg-color;
- color: $color-white;
- .logo-box{
- padding: 0 15px;
- width:265px;
- line-height: 60px;
- font-size: 1.3em;
- .user-img,.user-name{
- float: left;
- height: 60px;
- padding: 0 10px;
- line-height: 60px;
- }
- .user-name{
- overflow: hidden;
- display: inline-block;
- width: 150px;
- overflow: hidden;
- white-space: nowrap;
- text-overflow:ellipsis;
- }
- img{
- height: 30px;
- }
- .user-drop{
- cursor: pointer;
- color: #808186;
- }
- .z-drop-box{
- top:16px;
- }
- .dividing{
- float: right;
- height: 20px;
- width: 1px;
- background-color: #808186;
- margin-top: 20px;
- }
- }
- .header-menu {
- .layui-nav{
- background-color: $bg-color;
- &.layui-layout-left{
- left: 280px;
- }
- .layui-nav-bar{
- display: none;
- }
- .layui-this:after{
- display: none;
- }
- .layui-nav-item{
- text-align: center;
- line-height: 20px;
- padding: 10px 0;
- transition: 0.3s;
- a{
- padding:0 15px;
- }
- &:hover{
- background-color:#121318;
- color: $color-active;
- cursor: pointer;
- & a{
- color: $color-active;
- }
- }
- .fas{
- font-size: 1.2em;
- &.lit{
- font-size: 1em;
- }
- }
- }
- }
- }
- }
|