common.less 4.41 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;
    .rbox {
      background: url(../images/dist/boxbor.png) no-repeat right top;
      background-size: 155px;
    }
    .rtitle {
      text-align: center;
      margin-left: 10px;
      padding: 10px 5px;
      background: url(../images/dist/bor.png) 0 bottom no-repeat;
      background-size: 134px;
      >span {
        display: block;
        overflow: hidden;
        height: 40px;
        font-size: 14px;
      }
    }
    .rrt {
      background-color: #de0010;
      color: #fff1d6;
      height: 18px;
      line-height: 18px;
      text-align: center;
      margin: 5px 5px 0 10px;
      letter-spacing: 5px;
    }
    .rprice {
      color: #d50902;
      margin-left: 10px;
      line-height: 38px;
      font-size: 16px;
      text-align: center;
      .big {
        font-size: 30px;
      }
    }
    .icon_link {
      background: url(../images/src/wap/linkbig.png) no-repeat 0 0;
      background-size: 90px;
      width: 90px;
      height: 18px;
      display: inline-block;
    }
    .linkword {
      text-align: center;
      padding: 5px 5px 0 0;
      background: url(../images/dist/bor.png) 0 top no-repeat;
      background-size: 134px;
      margin-left: 10px;
    }
  }
  .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 {
      color: #d50902;
      font-size: 14px;
      text-align: right;
      padding-right: 5px;
      position: relative;
      height: 36px;
      line-height: 36px;
      .big {
        font-size: 24px;
      }
      >.rrt {
        position: absolute;
        color: #fadcc3;
        left: 0;
        top: 8px;
        font-size: 12px;
        padding: 0 3px;
        background: url(../images/dist/sp.jpg) no-repeat 0 0;
        background-size: 42px;
        line-height: 20px;
      }
    }
    .linkword {
      text-align: center;
      position: relative;
      top: 5px;
    }
  }
}

@media screen and (max-device-width: 340px) { 
  .redtheme .redline .rprice {
    font-size: 12px;
  }
  .redtheme .redline .rprice .big {
    font-size: 13px;
  }
}

@media screen and (min-device-width: 341px) and (max-device-width: 400px) { 
  .redtheme .redline .rprice {
    font-size: 14px;
  }
  .redtheme .redline .rprice .big {
    font-size: 18px;
  }
}