// 在线编码
.code-css-outer{
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;  overflow: hidden;
  padding-top: 49px;

  .inner-bar{position: relative; width: 100%; height: 100%;}

  #toolbox{
    width: 300px;  position: absolute;  background-color: #FFF;  z-index: 800;  overflow-y: scroll;
    border-left: #EEE 1px solid;   top: 41px;    right: -300px;    height: 654px;
    
    select{ width: 100%;}
    
    
    ul{
      margin: 0; padding: 0;
      li{
        list-style: none; display: block; padding: 0px 10px; 
        &.level-1{
          padding: 5px 10px;border-bottom: #F5F5F5 1px solid; cursor: pointer;
          & > ul{
            display: none;
          }
        }
        &.level-2{
          display: none;
        }
        &.level-3{
          font-size: 12px; color: #8A8A8A;
        }
      }
    }
  }

  
  
}


.csss-info-wraper {
  .cate-label {
    border: #DDD 1px solid;
    padding: 4px 9px;
    margin: 0 10px;
    cursor: pointer;

    &.active {
      background-color: #DDD;
    }
  }
}



.code-css-editor{
  width: 100%; 
  height: 100%;
  border: #EEE 2px solid; margin: 0 auto;  border-left: #EEE 1px solid; border-right: #EEE 1px solid;
  position: relative; overflow: hidden;
  padding-left: 40px;

  
  .toolbar{
    width: 40px;
    border-right: #EEE 1px solid;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    text-align: center;
    line-height: 18px;
    z-index: 200;
    background-color: #FFF;
    & > a{
      cursor: pointer;
      text-decoration: none;
      display: block;
      border-bottom: #EEE 1px solid;
      padding: 12px 0;
      &:visited, &:link{color: #BBB}
      &:hover, &:active{color: #444}

      &.favor.active-true {
        color: rgb(239, 66, 69)
      }
      
    }
    .tx{width: 20px; height: 20px; border-radius: 100%; margin-right: 5px;}

    .fold-btn{
      cursor: pointer; color: #B9B9B9;
      &.right{margin-top: 13px;}
    }
  }

  

  .p1, .p2, .p3, .p4{
    float: left;position: relative;  -webkit-user-select: none; -moz-user-select: none; -khtml-user-select: none;  
    -ms-user-select: none; -o-user-select: none;  user-select: none;
  }
  .p4,.p3{float: none;}

  .splitx{
    width: 5px; border: 0; float: left; border-left: #EEE 1px solid; cursor: move;
    &:hover{ border-left: #DDD 1px dashed;}
  }
  .splity{
    height: 5px; border: 0;  border-top: #EEE 1px solid; cursor: move;
    &:hover{ border-top: #DDD 1px dashed;}
  }

  .code-preview{
    width: 100%; height: 100%; border: 0;
  }

  .window-cover{position: absolute; width: 100%; height: 100%;  top: 0; display: none}
  .online-label{ border: solid 1px #F1F1F1;background: #fff;display: inline-block;height: 22px;padding: 0 6px;line-height: 22px;position: absolute;top: 7px;right: 6px;text-align: center;font-size: 12px;color: #777;border-radius: 1px;z-index: 30; opacity: 0.5}
  textarea{border: none;}

  .loading{
    position: absolute; top: 50px;    width: 100%;    color: #676767;
    left: 0;    padding: 10px;    text-align: center;
  }
}

.comment-bar {
  position: absolute;
  top: 0;
  left: -560px;
  bottom: 0;
  width: 600px;
  background-color: #eceff1;
  z-index: 100;
  overflow-y: scroll;
  padding-top: 50px;

  .inner {
    position: relative;
  }

  .fa-close   {
    font-size: 30px;
    position: absolute;
    color: #DDD;
    top: 10px;
    right: 10px;
    cursor: pointer;
  }
}

