fancyalert.less 1.44 KB

.inline () {
  display: inline-block;
  *diaplay: inline;
  *zoom: 1;
}
.tspace {
  margin-top: 20px;
}
.tsp {
  margin-top: 10px;
}
.fancyalert {
  display: none;
  width: 960px;
  .fancyhd {
    font-size: 18px;
    padding: 10px 20px;
    background: #eee;
  }
  .fancybd {
    padding: 0 20px;
    h3 {
      font-size: 14px;
    }
  }
  td.bg {
    background: #f9f9f9;
    border: solid #f0f0f0;
    border-width: 1px 0;
  }
  td.first {
    border: 1px solid #f0f0f0;
  }
  td.line {
    border-right: 1px solid #f0f0f0;
  }
  .fancytab {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #f0f0f0;
    td {
      padding: 8px;
      text-align: center;
    }
  }
  .fancytext {
    width: 100%;
    height: 128px;
    resize: none;
    padding: 0;
    border: 1px solid #f0f0f0;
  }
  label >input {
    vertical-align: middle;
    margin: -3px 3px 0 0;
  }
  i.has, i.not {
    .inline;
    width: 20px;
    height: 20px;
    background: url(../images/alertr.png) 0 0 no-repeat;
    vertical-align: middle;
  }
  i.has.not {
    background-image: url(../images/alertx.png);
  }
  .btnarea {
    text-align: center;
  }
  .btnupload, .btnupdown {
    .inline;
    width: 80px;
    height: 30px;
    line-height: 30px;
    border: 1px solid transparent;
    background: #1f98ca;
    color: #fff;
    border-radius: 3px;
    margin: 0 10px 20px 10px;
    &:hover, &:active {
      opacity: .8;
    }
  }
  .btnupdown {
    background: #999;
  }
}