common.less 3.3 KB
@import "reset";
@import "one-border";
@import "util";
@import "header";
@import "slider";
@import "section";
@import "list-view";
@import "goods-items";
@import "photo-wall";
@import "tab";

@import "icon.css";
@import "icon_admin.css";


//自定义 非合并图
//
// body{
//   max-width: 640px;
//   margin: 0 auto;
// }

.tablight {
  background: #f00 url(../images/dist/light.png) no-repeat 0 0;
  background-size: 100% 100%;
  padding: 0 20px;
  >ul {
    text-align: center;
    li {
      position: relative;
      a {
        display: block;
        >span {
          position: absolute;
          top: 50%; 
          left: 0;
          width: 55px;
          height: 26px;
          line-height: 26px;
          font-size: 13px;
          margin-top: -14px;
          color: #660604;
          text-align: center;
          width: 100%;
        }
        &.on {
          .lighton {
            background-image: url(../images/src/wap/highlight.png);
          }
        }
      }
      display: inline-block;
      *display: inline;
      *zoom: 1;
    }
  }
  .lighton {
    display: inline-block;
    width: 55px;
    height: 73px;
    background: url(../images/src/wap/normal.png) no-repeat 0 0;
    background-size: 55px; 
  }
}
.redtheme {
  background: #660705 url(../images/dist/redthemeline.png) repeat-y 0 0;
  background-size: contain;
  padding: 0 35px;
  overflow: hidden;
  li {
    clear: both;
  }
  img {
    max-width: 100%;
  }
  .spec2 {
    width: 50%;
    float: left;
    height: 150px;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .redrow {
    height: 150px;
    padding: 8px;
    background: #fff1d6;
    border-radius: 8px;
    margin: 5px 0 10px 0;
    .rtitle {
      background-color: #e0ce8d;
      color: #7e0907;
      margin-left: 10px;
      padding: 20px 5px;
      >span {
        display: block;
        overflow: hidden;
        height: 40px;
        font-size: 14px;
      }
    }
    .rprice {
      background-color: #7e0907;
      color: #fff;
      margin-left: 10px;
      line-height: 40px;
      font-size: 15px;
      text-align: right;
      padding-right: 10px;
      .big {
        font-size: 24px;
      }
    }
    .icon_link {
      background: url(../images/src/wap/linkbig.png) no-repeat 0 0;
      background-size: 72px;
      width: 72px;
      height: 17px;
      display: inline-block;
    }
    .linkword {
      text-align: right;
      margin-top: 10px;
      padding-right: 5px;
    }
  }
  .redline {
    height: 250px;
    margin-left: -10px;
    .lineimg {
      margin-left: 10px;
      background: #fff1d6;
      padding: 8px;
      border-radius: 8px;
    }
    .innerimg {
      height: 150px;
    }
    .icon_link {
      background: url(../images/src/wap/linklittle.png) no-repeat 0 0;
      background-size: 64px;
      width: 64px;
      height: 16px;
      display: inline-block;
    }
    .rtitle {
      font-size: 13px;
      color: #333;
      height: 20px;
      line-height: 20px;
      overflow: hidden;
      background: url(../images/dist/bor.png) 0 bottom no-repeat;
      background-size: contain;
    }
    .rprice {
      text-align: center;
      color: #d50902;
      font-size: 15px;
      text-align: center;
      .big {
        font-size: 24px;
      }
    }
    .linkword {
      text-align: center;
      position: relative;
      top: 5px;
    }
  }
}