_common.scss 8.86 KB
@mixin  fontstyle{
  font-family: "helvetica","Arial","黑体";
}
@mixin blockwh($width:auto,$height:auto){
  display:block;
  width:$width;
  height:$height;  
}
@mixin borderradius($radius)
{
   -moz-border-radius: $radius; /* Firefox */
   -webkit-border-radius: $radius; /* Safari 和 Chrome */
   border-radius: $radius; /* Opera 10.5+, 以及使用了IE-CSS3的IE浏览器 */
}
@mixin noradius()
{
   -moz-border-radius: 0; /* Firefox */
   -webkit-border-radius: 0; /* Safari 和 Chrome */
   border-radius: 0; /* Opera 10.5+, 以及使用了IE-CSS3的IE浏览器 */
}
$hack_safair_begin:'[;';
$hack_safair_end:';]';
.enterprise-header-content{
  width:100%;
  height:36px;
  border-bottom:1px solid #f0f0f0;
  background:#f5f5f5;
  .enterprise-header{
      margin:0 auto;
      list-style:none;
      height:36px;
      line-height:36px;
      padding:0;
      @include fontstyle;
      
      li a:link {color:#777777;}
      li a:hover{color:#777777;}
      li a:visited {color:#777777;}
      li a:active{color:#777777;}
      .first{margin-left:10px;}
      .item{width:100px;cursor:pointer;color:#777777;position:relative;float:left;height:37px;line-height:37px;text-align:center;font-size:12px;
            span{@include blockwh(100%,100%);line-height:37px;text-align:center;color:#777777;}
            a{@include blockwh(100%,100%);line-height:37px;text-align:center;color:#000000;display:none;}
      }
      .item:hover{
        span{display:none;}
        a{display:block;color:#000;}
      }
      .item-choosen{position:relative;cursor:pointer;border-right:1px solid #f0f0f0;border-left:1px solid #f0f0f0;width:100px;color:#777777;float:left;height:38px;line-height:38px;text-align:center;font-size:12px;background:#fff;}
      /*.item:hover{cursor:pointer;border-right:1px solid #f0f0f0;border-left:1px solid #f0f0f0;width:100px;color:#777777;float:left;height:38px;line-height:38px;text-align:center;font-size:12px;background:#fff;}
     */
      .jianfan{width:100px;float:right;font-size:18px;
        a{cursor:pointer;}
        a.unchoosen{color:#999;}
        a.choosen{color:#000;}
      }
     
  }
  
}
.enterprise{
  .icons{
    float: left;

    @include blockwh(30px,30px);
    cursor: pointer;
    font-size: 23px;
    line-height: 30px;
    text-align: center;
    position: relative;
    margin-top:19px;
  }

}


.iconfont{
  font-family: "iconfont";
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0;
  -moz-font-smoothing: grayscale
}

/*css reset*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td , i{
  margin:0;
  padding:0;
  border:0;
  font-weight:inherit;
  font-style:inherit;
  font-size:100%;
  font-family:inherit;
  vertical-align:baseline;
}
body {line-height:1.5;}
table {border-collapse: collapse;border-spacing:0;}
caption, th, td ,b,strong{text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}  
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none;}
em,cite{font-style:normal;}


body { background:#fff; font: 12px/1.5 "helvetica","Arial","黑体";color:#000;width:100%;height:100%;padding:0;margin:0;}
html{width:100%;height:100%;padding:0;margin:0;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
a {text-decoration:none;cursor:pointer;}
dl, dt, dd, ol, ul, li{ list-style:none;}

/*some common class*/
.left{float:left;}
.right{float:right;}

.home-search-button{
  position: relative;
  float:left;
  @include blockwh(20px,20px);
  background:url(../images/searchbutton.png);
  cursor:pointer;
  margin:3px;
}



/**
* 闭合浮动
* @Doc: http://nicolasgallagher.com/micro-clearfix-hack/
*/

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix { 
    *zoom: 1; /* IE6-7 触发 hasLayout */
}

.return-to-top{
      position:fixed;
      bottom:92px;
      right:50px;
      background:url(../images/returntop.png) no-repeat;
      cursor:pointer;
      filter:alpha(opacity=0); /*IE滤镜,透明度50%*/
      -moz-opacity:0; /*Firefox私有,透明度50%*/
      opacity:0;/*其他,透明度50%*/
      @include blockwh(61px,64px);
}



.map-city-content{
  width:100%;
  position:relative;
  overflow:hidden;
  .city-map{
    position:absolute;
    cursor:pointer;
    right:0;
    top:0;
    display:table;
  }  
}


  .mark{
    background:url(../images/map/mark.png) center no-repeat;
    @include blockwh(20px,28px);
    position:absolute;
    cursor:pointer;
    .mark-tips{
      background:url(../images/map/small-bubble.png) no-repeat;
      position: absolute; 
      width: 250px;
      height: 120px;
      display:none;
      z-index:20;
      @include fontstyle;
      .content{
        /*display:table-cell;*/

        vertical-align: middle;
      height:120px;padding:20px;
      h3{font-size:21px;line-height:21px;font-weight:bold;text-align:left;} 
      p{font-size:21px;line-height:21px;padding-left:12px;text-align:left;} }
      a{
        @include blockwh(100%,100%);
      }
    }
    
    .right{
      background-position: 0 -100px;
      right: -161px;
      bottom: 30px;
    }
    .left{
      background-position: 0 0;
      left: 9px;
      top: -113px;
    }
  }
  .mark:hover{
    .mark-tips{display:block;}
  }
.china-area{
      .mark-tip{
      background:url(../images/map/small-bubble.png) no-repeat;
      position: absolute;
      width: 250px;
      height: 120px;
      display:none;
      @include fontstyle;
      .tip-content{
        vertical-align: middle;
        height:120px;
     padding:20px;
      h3{font-size:21px;font-weight:bold;text-align:left;} 
      p{font-size:21px;padding-left:12px;text-align:left;} }
      display:none;
     /*display:block;*/
    }
        .right{
      background-position: 0 -100px;
      right: -161px;
      bottom: 30px;
    }
    .left{
      background-position: 0 0;
      left: 9px;
      top: -113px;
    }
}
  .china-area:hover{
    .mark-tips{display:table;}
  }
.map-city-content{
  .big-mark-pad{
    width:10px;
    height:10px;
    position:absolute;
    img{
      width:0;
      height:0;
    }
    .mark-tips{
      background:url(../images/map/small-bubble.png) no-repeat;
      position: absolute;
      width: 250px;
      height: 120px;
      display:none;
      z-index:15;
      
      @include fontstyle;
      h3{font-size:22px;line-height:18px;padding:20px;text-align:left;height:100%;vertical-align: middle;}
      p{font-size:21px;line-height:18px;}
      
    }
    
    .right{
      background-position: 0 -120px;
      right: -4px;
      bottom: 2px;
    }
    .left{
      background-position: 0 0;
      left: 9px;
      top: -113px;
    }
    .right-bottom{
      background-position: 0 -240px;
      right: -6px;
      bottom: -110px;
      padding-top:40px;
    }
    .left-bottom{
      background-position: 0 -360px;
      left: 4px;
      top: 2px;
      padding-top:20px;
    }
  }
  .big-mark-pad:hover{
    .mark-tips{display:block;}
  }
  
  
  
    .big-mark{
    width:133px;
    height:87px;
    position:absolute;
    img{
      width:133px;
      height:87px;
    }
    .mark-tips{
      background:url(../images/map/small-bubble.png);
      position: absolute;
      width: 250px;
      height: 120px;
      display:none;
      z-index:15;
      @include fontstyle;
      h3{font-size:22px;padding:20px;text-align:left;height:100%;vertical-align: middle;}
      p{font-size:21px;}
      
    }
    
    .right{
      background-position: 0 -120px;
      right: 60px;
      bottom: 78px;
    }
    .left{
      background-position: 0 0;
      left: -100px;
      top: -80px;
    }
  }
  .big-mark:hover{
    .mark-tips{display:table-cell;}
  }
  
  
  
}

@font-face{
  font-family:'MyWebFont';
  src: url('../fonts/pager/webfont.eot');
  src: url('../fonts/pager/webfont.eot?#iefix') format('embedded-opentype'),
       url('../fonts/pager/webfont.woff') format('woff'),
       url('../fonts/pager/webfont.ttf') format('truetype'),
       url('../fonts/pager/webfont.svg#webfont') format('svg');
}

//公共搜索
.search-suggest {
    background: #fff;
    position: absolute;   
    left: 10px;
    top: 23px;
    display: none;
    border: 1px solid #B4B4B5;
    border-top: 0;
    width: 249px;
    margin-top:1px;
    padding: 5px 0;
    z-index: 9999;
    li {
        float: none !important;
        padding-left: 15px !important;
        line-height: 32px !important;
    }
    li:hover{
      background:#d4d4d4;
    }
    a {
        display: block;
        color: #000 !important;
        font-size: 18px !important;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

.pagination-content{
  width:100%;
  left:0;
  bottom:0;
  height:30px;
  position:absolute;
  z-index:15;
}
.ac_over{
  background: #ddd;
}