freighttemplate.less 1.97 KB

.inline () {
  display: inline-block;
  *diaplay: inline;
  *zoom: 1;
}
.frtemp {
  
}
.frtt {
  margin-top: 20px;
  position: relative;
  .hint {
    color: #999;
  }
  .m-chk {
    vertical-align: middle;
    margin-top: -3px;
  }
  .add_data {
    position: absolute;
    right: 0;
    top: -7px;
  }
  .simu-checkbox {
    margin-top: -4px;
  }
}
.frbd {
  margin-top: 20px;
  table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #eee;
    td {
      width: 15%;
      text-align: center;
      height: 36px;
      line-height: 36px;
      border: solid #eee;
      border-width: 1px 0;
    }
    thead td {
      background-color: #f9f9f9;
    }
  }
}
.fancyalter {
  display: none;
  padding: 20px 0;
  table {
    border: 1px solid #ddd;
    border-collapse: collapse;
  }
  td {
    text-align: center;
    padding: 10px;
    border: solid #ddd;
    border-width: 1px 0;
  }
  thead td {
    background-color: #f9f9f9;
  }
  p.inline,
  tbody td {
    vertical-align: top;
  }
  .lipt, .sipt {
    border: 1px solid #ddd;
    height: 30px;
    line-height: 30px;
    text-indent: 5px;
  }
  .lipt {
    width: 120px;
  }
  .sipt {
    width: 80px;
  }
  .fancybottom {
    margin-top: 20px;
    text-align: center;
  }
  label.error {
    text-align: left;
    width: 80px;
    white-space: nowrap;
  }
}
.inline {
  .inline;
}
.simu-checkbox {
  .inline;
  width: 40px;
  height: 20px;
  overflow: hidden;
  text-indent: -999px;
  background-color: #dfdfdf;
  border-radius: 20px;
  position: relative;
  vertical-align: middle;
  transition: all .3s;
  >input {
    opacity: 0;
    filter: alpha(opacity=0);
  }
  >span {
    transition: left .3s;
  }
  .bechecked {
    .inline;
    width: 16px;
    height: 16px;
    background: url(../images/2.3.0/dist/pass.png) no-repeat 0 0 ;
    position: absolute;
    top: 2px;
    left: 2px;
  }
  &.on {
    background-color: #23ac38;
    .bechecked {
      left: 22px;
      background-image: url(../images/2.3.0/dist/get.png);
    }
  }
}