左侧栏
This commit is contained in:
		
							parent
							
								
									f8522bdf51
								
							
						
					
					
						commit
						ae382f7064
					
				@ -10,7 +10,8 @@
 | 
			
		||||
  .sidebar-container {
 | 
			
		||||
    transition: width 0.28s;
 | 
			
		||||
    width: $sideBarWidth !important;
 | 
			
		||||
    background-color: $menuBg;
 | 
			
		||||
    // background-color: $menuBg;
 | 
			
		||||
    background: -webkit-linear-gradient(bottom, #3d6df8, #5b8cff);
 | 
			
		||||
    height: 100%;
 | 
			
		||||
    position: fixed;
 | 
			
		||||
    font-size: 0px;
 | 
			
		||||
@ -27,6 +28,8 @@
 | 
			
		||||
 | 
			
		||||
    .scrollbar-wrapper {
 | 
			
		||||
      overflow-x: hidden !important;
 | 
			
		||||
      background: url('~@/assets/common/leftnavBg.png') no-repeat 0 100%;
 | 
			
		||||
      // ~@ 表示相对于@的路径
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    .el-scrollbar__bar.is-vertical {
 | 
			
		||||
@ -66,6 +69,29 @@
 | 
			
		||||
      border: none;
 | 
			
		||||
      height: 100%;
 | 
			
		||||
      width: 100% !important;
 | 
			
		||||
      a{
 | 
			
		||||
        li{
 | 
			
		||||
          .svg-icon{
 | 
			
		||||
            color: #fff;
 | 
			
		||||
            font-size: 18px;
 | 
			
		||||
            vertical-align: middle;
 | 
			
		||||
            .icon{
 | 
			
		||||
              color:#fff;
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
          span{
 | 
			
		||||
            color: #fff;
 | 
			
		||||
          }
 | 
			
		||||
          &:hover{
 | 
			
		||||
            .svg-icon{
 | 
			
		||||
              color: #43a7fe
 | 
			
		||||
            }
 | 
			
		||||
            span{
 | 
			
		||||
              color: #43a7fe;
 | 
			
		||||
            }
 | 
			
		||||
          }
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    // menu hover
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user