_product.scss 2.71 KB
.mainwrapper .toggle-table tr {
    cursor: pointer;
}

.mainwrapper .toggle-table tr.level1 td:nth-of-type(1) {
    text-indent: 2px;
}

.mainwrapper .toggle-table tr.level2 td:nth-of-type(1) {
    text-indent: 15px;
}

.mainwrapper .toggle-table tr.level3 td:nth-of-type(1) {
    text-indent: 30px;
}
.mainwrapper .toggle-table tr.level4 td:nth-of-type(1) {
    text-indent: 45px;
}
.pattrscroll {

    background: #F7F7F7;

    ul {
        padding-left: 0;
    }

    li {
        cursor: pointer;
    }
}

.mainwrapper .list-group-item.level1 {
    text-indent: 2px;
}
.mainwrapper .list-group-item.level2 {
    text-indent: 15px;
}
.mainwrapper .list-group-item.level3 {
    text-indent: 30px;
}
.mainwrapper .list-group-item.level4 {
    text-indent: 45px;
}


.attr-item-active {
    background: #428bca;
    color: #fff;
}
.pannel-scroll {
    height: 500px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.attr-select {
    display: block;
    height: 40px;
    line-height: 40px;
    border: 1px solid #ccc;
    border-radius: 3px;
}


// 限购商品
#limit-table-box {

   table {
       vertical-align: middle;

       th, td {
           text-align: center;
           vertical-align: middle;
       }

       div.checkbox label{
           height: 13px;
       }

       .cover-img {
           width: 100px;
       }

       .width50 {
           width: 50px;
           text-align: center;
       }
   }
}

.height40 {
    height: 40px;
    line-height: 40px;
}

.edit-cover-img {
    width: 100px;
    margin: 0 15px;
    float: left;
}
.quota-text,.quota-img,.quota-video {
    width: 300px;
    margin-bottom: 15px;

    img {
        width: 100%;
    }
}

#text-editor {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    height: 300px;
    max-height: 300px;
    min-height: 300px;
}

.product-detail {
  input[type="text"] {
    width: 100px;
  }
}

.main-table {
  -display: none;
}

.bulk-import {
  display: none;
}

.excel-upload-wrap {
  display:inline-block; 
  position: relative;

  .excel-upload {
    display: inline-block;
    position: static;
    opacity: 1;
    width: auto;
    height: auto;
  }
  
  #upload-input {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    opacity: 0;
  } 

  .file-name {
    display: inline-block;
    width: 302px;
    height: 38px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

}
  
.excel-model {
  display: inline-block;
  width: 110px;
  height: 48px;
  line-height: 48px;
  padding: 0 0 0 50px;
  margin: 0 200px;
  background: url(../assets/images/excel.png) no-repeat left center;
}

.load {
    background-image: url(../assets/images/loading.gif);
    background-repeat: no-repeat;
    background-position: center center;
}