Files

1377 lines
32 KiB
SCSS
Raw Permalink Normal View History

2021-03-24 10:47:36 +07:00
body{
color:#222;
font-family: 'Roboto', sans-serif;
background:#f5f5f5;
position:relative;
min-width: 1220px;
font-size: 14px;
}
a{
color: #222;
text-decoration: none;
transition: all .3s ease;
}
a:hover {
text-decoration: none;
transition: all .3s ease;
color: #f58634;
}
.ul, .ol {
margin: 0;
padding: 0;
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
b{
font-weight: bold;
}
.clearfix{
&::after {
content: '';
clear: both;
display: block;
}
}
.clear {
clear: both;
}
button, input, select {
outline: none !important;
}
table{
width: 100% !important;
-webkit-overflow-scrolling: touch;
}
@media screen and (-webkit-min-device-pixel-ratio: 0){
select, textarea, input {
font-size: 16px;
}
}
@media(min-width: 1200px){
select, textarea, input {
font-size: 14px;
}
}
iframe {
max-width: 100%;
width: 100%;
display: block;
}
.text-10{
font-size: 10px;
}
.text-11{
font-size: 11px;
}
.text-12{
font-size: 12px;
}
.text-13{
font-size: 13px;
}
.text-14{
font-size: 14px;
}
.text-15{
font-size: 15px;
}
.text-16{
font-size: 16px;
}
.text-17{
font-size: 17px;
}
.text-18{
font-size: 18px;
}
.text-20{
font-size: 20px;
}
.text-22{
font-size: 22px;
}
.text-24{
font-size: 24px;
}
.green{
color: #00a551;
}
.red{
color: #e20505;
}
.grey{
color: #999;
}
.orange{
color: #f58634;
}
.bg-orange {
background: #f58634;
}
.bg-green{
background: #00a551;
}
.font-300{
font-weight: 300;
}
.font-500{
font-weight: 500;
}
.font-600{
font-weight: 600;
}
.underline{
text-decoration: underline;
}
.fit-img{
width: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
max-height: 100%;
margin: auto;
display: block;
}
@keyframes tada{
0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1) }
10%,20%{-webkit-transform:scale(.9) rotate(-8deg);-ms-transform:scale(.9) rotate(-8deg);transform:scale(.9) rotate(-8deg) }
30%,50%,70%{-webkit-transform:scale(1.3) rotate(8deg);-ms-transform:scale(1.3) rotate(8deg);transform:scale(1.3) rotate(8deg) }
40%,60%{-webkit-transform:scale(1.3) rotate(-8deg);-ms-transform:scale(1.3) rotate(-8deg);transform:scale(1.3) rotate(-8deg) }
100%,80%{-webkit-transform:scale(1) rotate(0);-ms-transform:scale(1) rotate(0);transform:scale(1) rotate(0) }
}
@-webkit-keyframes phonering {
0% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
}
10% {
-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
}
20% {
-webkit-transform: rotate(25deg) scale(1) skew(1deg);
}
30% {
-webkit-transform: rotate(-25deg) scale(1) skew(1deg);
}
40% {
-webkit-transform: rotate(25deg) scale(1) skew(1deg);
}
50% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
}
100% {
-webkit-transform: rotate(0) scale(1) skew(1deg);
}
}
// checkbox
.label-container{display:block;position:relative;padding-left:30px;margin-bottom:14px;cursor:pointer;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
.label-container input{position:absolute;opacity:0;cursor:pointer;height:0;width:0;}
.label-container .checkmark{position:absolute;top:2px;left:0;height:15px;width:15px;border:1px solid #bbb;background-color:#fff;border-radius:3px;}
.label-container:hover input ~ .checkmark{border-color:#14903f;}
.label-container input:checked ~ .checkmark{background-color:#d58430;border-color:#d58430;}
.checkmark:after{content:"";position:absolute;display:none;}
.label-container input:checked ~ .checkmark:after{display:block;}
.label-container .checkmark:after{left: 4px;top: 1px;width: 6px;height: 9px;border:solid white;border-width:0 3px 3px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}
// radio
.radio-container{position:relative;padding-left:25px;cursor:pointer;user-select:none;margin:0 40px 0 0;}
.radio-container input{position:absolute;opacity:0;cursor:pointer;}
.radio-container .checkmark{position:absolute;top:2px;left:0px;height:16px;width:16px;background-color:#fff;border-radius:50%;border:2px solid #999;}
.radio-container input:checked ~ .checkmark{background-color:#fff;border:2px solid #008445;}
.checkmark:after{content:"";position:absolute;display:none;}
.radio-container input:checked ~ .checkmark:after{display:block;}
.radio-container .checkmark:after{top:3px;left:3px;width:6px;height:6px;border-radius:50%;background:#008445;}
.bg-popup{display: none;position: fixed;top:0;left: 0;right: 0;bottom: 0;cursor: grab;background: rgba(0, 0, 0, 0.5);z-index: 99}
.autocomplete-suggestions{position:absolute;width: 100%;;border:solid 1px #ddd;right:0;margin-top:2px;max-height:300px;overflow:auto;display:none;background:#fff;z-index:999;}
.autocomplete-suggestions a{display:block;padding:10px;overflow:hidden;}
.autocomplete-suggestions a img{width:60px;float:left;}
.autocomplete-suggestions a .info{display:block;margin-left:65px;}
.autocomplete-suggestions a .info .name{display:block;color:#333;}
.autocomplete-suggestions a .info .price{color:#ec1c24;}
.autocomplete-suggestions a:hover{background-color:#f5f5f5;}
.autocomplete-suggestions::-webkit-scrollbar-track{-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);background-color: #f1f1f1;border-radius: 10px;}
.autocomplete-suggestions::-webkit-scrollbar{width: 6px;background-color: #f1f1f1;}
.autocomplete-suggestions::-webkit-scrollbar-thumb{border-radius: 10px;background-color: #ccc;}
.icon-star{background-image:url(../images/star_sprite.png);width: 96px;height: 19px;vertical-align:text-bottom;display:inline-block;background-repeat:no-repeat;}
.icon-star.star-0{background-position:0 -109px;}
.icon-star.star-1{background-position:0 -88px;}
.icon-star.star-2{background-position:0 -66px;}
.icon-star.star-3{background-position:0 -42px;}
.icon-star.star-4{background-position:0 -21px;}
.icon-star.star-5{background-position:0 0}
.hover-img {
a{
position:relative;
overflow:hidden;
display: block;
&::before{
content:"";
position:absolute;
top:0;
left:-15%;
bottom:0;
width:0;
height:100%;
background-color:rgba(255, 255, 255, 0.5);
transition:none;
transform:skewX(-25deg);
}
&:hover::before{
width:120%;
background-color:rgba(255, 255, 255, 0);
transition:all .45s ease-out;
z-index:2;
}
}
}
.container {
padding: 0 12px;
max-width: 1224px;
min-width: 1224px;
}
.row {
margin: 0 -12px;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
padding: 0 10px;
}
#breadcrumb{
margin: 0 0 12px 0;
position: relative;
font-size: 13px;
li{
float: left;
position: relative;
z-index: 1;
&::after{
content:'/';
padding: 0 8px;
}
&:last-child{
a{
color: #848484;
}
&::after{
content: none;
}
}
a{
color: #0083FF;
font-weight: 500;
font-size: 15px;
line-height: 18px;
}
}
h1{
font-size: inherit;
font-weight: inherit;
margin: 0;
line-height: inherit;
}
}
.paging {
text-align: center;
margin: 16px 0 26px 0;
a{
display: inline-block;
margin-right: 3px;
width: 35px;
height: 31px;
line-height: 31px;
border-radius: 5px;
border: 1px solid #edeef2;
color: #888;
background: #fff;
&:hover, &.current{
color: #fff;
background: #f58634;
border-color: #f58634;
}
}
}
.global-fixed-right {
position: fixed;
top: 50%;
transform: translateY(-50%);
right: -100%;
transition: .4s all;
z-index: 2;
&.active{
right: 5px;
transition: .4s all;
}
a {
display: block;
text-align: center;
margin-bottom: 5px;
width: 40px;
height: 40px;
line-height: 40px;
border-radius: 50%;
background: #4267b2;
color: #fff;
font-size: 20px;
&:nth-child(2){
background: #ff0000;
}
&:nth-child(3), &:nth-child(5){
background: #3754a5;
}
&:nth-child(4){
background: #ff4900;
}
&:nth-child(6){
background: #00a551;
}
&:hover i{
animation: tada 1.5s infinite ease-in-out;
}
}
.fa-youtube {
color: #fff !important;
}
}
.orange-linear {
background: repeating-linear-gradient(to right,#f27213, #ffae3b, #f58735);
width: 100%;
background-size: 200% auto;
background-position: 0 100%;
animation: gradient 2s infinite;
animation-fill-mode: forwards;
animation-timing-function: linear;
}
@keyframes gradient{0%{background-position:0 0}100%{background-position:-200% 0}}
.splice{
background: url(../images/pc_xanh_splice.png) no-repeat;
}
header{
background: #fff;
.header-top-container {
background: #000;
position: relative;
border-bottom: 1px solid #f58634;
}
}
.top-item {
background: #000;
position: relative;
a {
color: #fff;
display: block;
&:hover i{
bottom: 3px;
transition: .3s all;
}
}
i{
position: relative;
bottom: 0;
transition: .3s all;
}
.sub-item{
display: none;
background: #fff;
position: absolute;
box-shadow: 0px 0px 5px 0px rgba(0,0,0,.5);
padding: 15px;
top: 100%;
border-radius: 4px;
z-index: 9;
}
.item{
float: left;
margin-right: 18px;
line-height: 28px;
padding: 7px 0;
&:hover{
.sub-item{
display: block;
}
}
}
.orange-linear{
padding: 0 13px;
border-radius: 40px;
}
.fa{
padding-right: .15rem;
}
.header-banhang .online-title {
color: #ffffff;
font-size: 18px;
padding: 5px 10px;
background: #f58735;
font-weight: 500;
}
.header-banhang .online-content {
border-top: 1px solid #e1e1e1;
padding-top: 7px;
font-size: 14px;
}
.header-banhang p {
margin-bottom: 10px;
}
}
.header-middle-container{
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 10px 0 18px 0;
a{
color: #fff;
display: block;
}
.header-logo{
width: 190px;
margin-right: 12px;
}
.header-search{
width: 493px;
margin-right: 12px;
position: relative;
}
.header-middle-right{
width: 493px;
padding: 0 9px 0 5px;
display: flex;
align-items: center;
justify-content: space-between;
.text{
white-space: nowrap;
}
}
.search-select-container {
width: 145px;
}
select{
width: 100%;
height: 38px;
border: 0;
padding-left: 8px;
}
.text-search {
border: 0;
margin: 0;
padding: 0 0 0 10px;
height: 38px;
width: calc(100% - 190px);
}
.btn-search {
position: absolute;
top: 0;
bottom: 0;
right: 0;
background: 0;
border: 0;
width: 38px;
padding: 0;
}
form{
overflow: hidden;
border-radius: 5px;
}
.item{
color: #fff;
position: relative;
@extend .clearfix;
&:hover .splice{
transition: .3s all;
bottom: 5px;
}
a{
&:hover{ color: #f58634; }
}
}
.splice{
width: 33px;
height: 33px;
display: block;
margin-right: 8px;
float: left;
position: relative;
transition: .3s all;
bottom: 0;
}
.text{
width: calc(100% - 41px);
float: left;
}
.icon-phone{
background-position: -7px 0;
animation: phonering 1.8s infinite ease-in-out;
}
.icon-buildpc{
background-position: -54px -1px;
width: 38px;
}
.icon-user{
background-position: -108px -1px;
}
.icon-cart{
background-position: -160px 0px;
margin: 0;
}
.item-buildpc{
.text{
width: calc(100% - 46px);
}
}
.cart-count{
width: 18px;
height: 18px;
text-align: center;
line-height: 18px;
color: #222;
background: #f58634;
font-size: 12px;
font-weight: bold;
position: absolute;
border-radius: 50%;
top: -5px;
right: -8px;
}
}
.header-bottom-container {
box-shadow: 0px 2px 8px 0px rgba(0,0,0,.2);
position: relative;
}
.header-menu-group{
width: 190px;
margin-right: 12px;
float: left;
.title{
background: #f58634;
color: #fff;
text-align: center;
line-height: 38px;
cursor: pointer;
}
.cat-list-group {
position: absolute;
background: #fff;
z-index: 2;
top: 100%;
width: 190px;
height: 488px;
&:hover{
z-index: 2;
}
}
.item{
height: calc(100% / 14);
padding: 0 3px 0 7px;
&:hover{
background: #f58634;
>a{
color: #fff;
}
.cat-thumb {
filter: invert(1);
}
}
>a{
display: flex;
align-items: center;
height: 100%;
transition: unset;
}
&:hover .sub-menu-group {
transition: .25s all;
left: 190px;
opacity: 1;
visibility: visible;
}
}
.sub-menu-group {
position: absolute;
top: 0;
left: 200px;
height: 488px;
background: #fff;
z-index: 3;
width: calc(1200px - 190px);
box-shadow: 0px 0px 3px 0px rgba(0,0,0,.3);
padding: 15px;
transition: .25s all;
opacity: 0;
visibility: hidden;
overflow: auto;
@extend .clearfix;
}
a{
display: block;
}
.box-item {
width: 25%;
margin-bottom: 20px;
float: left;
a {
margin-bottom: 5px;
}
}
.cat-2 {
color: #f58634;
font-weight: bold;
}
.cat-title {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 13px;
font-weight: lighter;
width: calc(100% - 25px);
}
.cat-thumb{
width: 20px;
height: 20px;
margin-right: 5px;
display: block;
background-position: center;
background-size: 100%;
background-repeat: no-repeat;
}
}
.header-bottom-right{
float: left;
width: calc(100% - 202px);
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: space-between;
padding: 4px 0;
.item{
margin-right: 12px;
width: calc(100% / 5 - 10px);
border: 1px solid #b7b7b7;
border-radius: 5px;
padding: 3px 0;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
transition: .1s all;
&:last-child{
margin-right: 0;
}
&:hover{
transition: .1s all;
color: #fff;
background: #f58634;
border-color: #f58634;
.splice{
filter: brightness(10);
}
}
}
.splice{
width: 23px;
height: 22px;
margin-right: 8px;
}
.text{
font-weight: 500;
}
.icon-1{
background-position: -6px -50px;
}
.icon-2{
background-position: -43px -48px;
}
.icon-3{
background-position: -81px -48px;
width: 29px;
}
.icon-4{
background-position: -124px -50px;
}
.icon-5{
background-position: -168px -50px;
}
}
.custom-dots {
.owl-dots {
margin: 0 !important;
position: absolute;
bottom: 10px;
left: 0;
right: 0;
}
.owl-dots .owl-dot.active span, .owl-dots .owl-dot:hover span {
background: #f58634;
}
.owl-dots .owl-dot span {
margin: 0 12px 0 0;
background: #787480;
}
}
.homepage{
padding-top: 12px;
.slider-home{
min-height: 351px;
}
.home-banner-container {
width: calc(100% - 202px);
margin: auto 0 20px auto;
}
.home-banner-left {
width: 695px;
margin-right: 12px;
float: left;
}
.home-banner-right{
float: left;
width: 291px;
}
.banner-under-group {
margin-top: 12px;
min-height: 112px;
}
.banner-under-group a {
display: block;
margin-right: 12px;
width: calc(100% / 3 - 8px);
float: left;
}
.banner-under-group a:last-child {
margin-right: 0;
}
.banner-video-group{
margin-top: 12px;
min-height: 173px;
iframe{
height: 173px;
}
}
.video-holder{
position: relative;
cursor: pointer;
transition: .2s all;
&::before{
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,.3);
transition: .2s all;
}
&::after{
content: '\f144';
font-family: FontAwesome;
font-size: 48px;
color: #ffff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
transition: .2s all;
opacity: .5;
line-height: 1;
}
&:hover{
transition: .2s all;
&::before, &::after{
transition: .2s all;
opacity: 1;
}
}
&.active{
&::before,&::after{
content: none;
}
}
}
}
.home-top-article-group{
.title-group {
border-bottom: 1px solid #f58634;
height: 38px;
}
.title {
padding: 0px 3px 0px 11px;
line-height: 38px;
position: relative;
&::after{
content: '';
border-bottom: 38px solid #f58634;
border-right: 25px solid transparent;
position: absolute;
top: 0;
bottom: 0;
right: -25px;
}
}
.art-item{
display: block;
padding: 8.6px 12px;
border-bottom: 1px solid #f5f5f5;
font-size: 13px;
@extend .clearfix;
}
.art-img{
display: block;
width: 77px;
margin-right: 12px;
float: left;
min-height: 45px;
}
.art-text{
width: calc(100% - 89px);
float: left;
height: 40px;
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
}
}
.home-collection-container{
margin: 20px 0 25px 0;
border-radius: 22px 22px 0 0;
overflow: hidden;
.bg-title{
padding-bottom: 82px;
background-size: 100% 102%;
background-repeat: no-repeat;
}
.collection-product-group{
padding: 0 10px 10px 10px;
}
}
.p-item-2021 {
padding: 18px 8px 10px 8px;
&:hover img{
transition: .3s all;
transform: scale(1.2);
}
.p-name {
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
line-height: 18px;
margin: 10px 0;
}
.p-sku {
font-size: 12px;
color: #656565;
text-transform: uppercase;
position: absolute;
top: 0;
left: 0;
}
.p-discount-2021 {
background: url(../images/sale-off.png);
background-position: center;
background-size: 47px 47px;
color: #fff;
font-weight: 600;
width: 47px;
height: 47px;
line-height: 47px;
text-align: center;
position: absolute;
top: 10px;
right: 0;
}
.p-img{
padding-top: calc(100% + 13px);
overflow: hidden;
}
img {
max-width: 100%;
max-height: 100%;
transition: .3s all;
transform: scale(1);
}
.p-type {
position: absolute;
bottom: 0;
left: 0;
}
.icon-new {
display: inline-block;
width: 30px;
height: 17px;
margin-right: 3px;
background: url(../images/icon-new.png) no-repeat;
background-position: center;
background-size: 30px 17px;
}
.icon-hot {
display: inline-block;
background: url(../images/icon-hot.png) no-repeat;
width: 30px;
height: 30px;
background-position: center;
background-size: 30px 30px;
}
.p-price-group {
height: 63px;
margin-bottom: 7px;
}
.p-buy{
cursor: pointer;
height: 18px;
background-position: -250px -16px;
padding-left: 20px;
color: #222;
}
.p-button {
display: flex;
align-items: center;
justify-content: space-between;
}
.p-sale-off{
color: #d82a29;
}
.p-old-price {
margin: 1px 0;
}
}
.product-box-group{
margin: 25px 0;
.box-title{
position: relative;
@extend .clearfix;
&::before{
content: '';
position: absolute;
left: 0;
right: 0;
bottom: 0;
height: 2px;
background: #f58634;
}
}
.title{
text-transform: uppercase;
margin: 0;
font-weight: 600;
position: relative;
font-size: 22px;
background: #f58634;
color: #fff;
display: inline-block;
padding: 14px 5px 14px 20px;
line-height: 1.4;
float: left;
&::after{
content:'';
background: url(../images/box-title-bg.png) no-repeat;
position: absolute;
top: 0;
bottom: 0;
right: -55px;
width: 56px;
}
}
.children-lists{
float: left;
line-height: 56px;
margin-left: 48px;
font-size: 13px;
a{
margin-right: 30px;
vertical-align: sub;
&:last-child{
margin-right: 0;
}
}
}
.view-all{
line-height: 58px;
float: right;
}
}
.collection-tab-group{
background: #fff;
.title {
padding-left: 70px;
position: relative;
&::before{
content:'';
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 60px;
background: url(../images/pc_xanh_splice.png) no-repeat;
background-position: -199px 0px;
animation: phonering 1.8s infinite ease-in-out;
}
}
.title-rigt-group{
float: right;
display: flex;
align-items: center;
a{
line-height: inherit;
margin: 0 0 0 7px;
}
.view-all{
margin: 0 0 0 13px;
padding-right: 8px;
}
}
.children-lists{
margin-left: 0;
a{
color: #555555;
font-weight: 600;
font-size: 14px;
background: #ebebeb;
padding: 11.5px 18px;
border-radius: 5px;
transition: unset;
&:hover, &.active{
background: #f58634;
color: #fff;
transition: unset;
}
}
}
}
.home-article-container{
margin: 28px 0;
padding: 13px 9px;
.box-title{
width: 170px;
margin-right: 23px;
float: left;
max-height: 350px;
overflow: auto;
a{
display: block;
margin-bottom: 7px;
font-weight: 600;
background: #ebebeb;
border-radius: 30px;
text-align: center;
text-transform: uppercase;
line-height: 38px;
padding: 0 13px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
transition: unset;
&:hover,&.active{
background: #f58634;
color: #fff;
transition: unset;
}
}
}
.box-holder{
width: calc(100% - 193px);
float: left;
}
.art-big {
width: 595px;
margin-right: 12px;
position: relative;
float: left;
}
.art-list-group {
width: calc(100% - 607px);
float: left;
}
.art-big-text{
padding: 16px;
position: absolute;
left: 0;
bottom: 0;
right: 0;
background: rgba(0,0,0,0.4);
color: #fff;
.art-title{
font-size: 24px;
overflow: hidden;
max-height: 75px;
margin: 0 0 5px 0;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
font-weight: 600;
line-height: 1.3;
}
}
time{
color: #ababab;
display: block;
line-height: 1;
&::before{
content: '\f017';
font-family: FontAwesome;
padding-right: 2px;
}
}
.art-item {
margin-bottom: 15px;
&:last-child{
margin-bottom: 0;
}
@extend .clearfix;
a{
display: block;
}
}
.art-img{
margin-right: 11px;
float: left;
width: 130px;
}
.art-text{
float: left;
width: calc(100% - 141px);
a{
overflow: hidden;
max-height: 42px;
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
margin-bottom: 5px;
font-weight: 600;
}
time{
font-size: 12px;
}
}
}
footer{
.item-title{
padding: 27px 0 22px 0;
margin: 0;
font-size: 1.17em;
font-weight: 500;
line-height: 1.2;
}
.footer-info-group{
background: #111;
color: #fff;
padding-bottom: 10px;
a{
display: block;
margin-bottom: 8px;
color: #fff;
&:hover{
text-decoration: underline;
}
}
}
.info-item-group{
width: calc(100% / 4);
float: left;
}
.social{
i{
font-size: 14px;
color: #fff;
width: 24px;
height: 24px;
line-height: 24px;
border-radius: 50%;
margin-right: 10px;
text-align: center;
}
}
.fa-facebook {
background: #485894;
}
.fa-youtube-play {
background: #ce0707;
}
.fa-users {
background: #222222;
}
.view-mobile{
color: #da251c ;
background: #fff;
border-radius: 5px;
max-width: 128px;
text-align: center;
padding: 9px 0px;
font-weight: bold;
margin: 10px 0;
}
.footer-newsletter-container {
padding: 40px 0 30px 0;
p{
margin-bottom: 20px;
font-size: 1.5em;
font-weight: 500;
line-height: 1.2;
}
}
.registor-form-group{
border: 1px solid #ddd;
border-radius: 5px;
position: relative;
background: #fff;
width: 600px;
margin: auto;
height: 40px;
overflow: hidden;
box-shadow: 0px 0px 7px 0px rgba(0,0,0,.3);
input{
padding: 0 140px 0 10px;
outline: none;
border: none;
background: #fff;
border-radius: 3px;
width: 100%;
height: 100%;
}
a{
color: #fff;
position: absolute;
right: 0;
top: 0;
bottom: 0;
background: #f58634;
line-height: 40px;
padding: 0 55px;
}
}
}
@media(min-width: 1624px){
.container {
max-width: 1624px;
min-width: 1624px;
}
.header-menu-group {
width: 256px;
.title {
text-align: left;
padding-left: 12px;
line-height: 40px;
}
.cat-list-group {
width: 256px;
height: 642px;
}
.item{
padding: 0 10px 0 15px;
&:hover .sub-menu-group{
left: 256px;
width: calc(1600px - 256px);
}
}
.sub-menu-group{
height: 642px;
}
.cat-thumb {
margin-right: 10px;
}
.cat-title {
width: calc(100% - 30px);
font-size: 14px;
font-weight: normal;
}
}
.header-middle-container {
.header-logo{
width: 256px;
text-align: center;
}
.header-search {
width: 658px;
}
.header-middle-right {
width: calc(100% - 938px);
padding: 0;
justify-content: space-evenly;
}
}
.header-bottom-right {
width: calc(100% - 268px);
padding: 5px 0;
height: 40px;
}
.homepage {
.home-banner-container {
width: calc(100% - 268px);
}
.slider-home {
min-height: 467px;
}
.home-banner-left {
width: 926px;
}
.banner-under-group{
min-height: 151px;
}
.home-banner-right{
width: 390px;
}
.banner-video-group iframe {
height: 232px;
}
}
.home-top-article-group {
.art-item {
padding: 11px 12px;
font-size: 14px;
font-weight: normal;
}
.art-img {
width: 110px;
height: 64px;
}
.art-text {
width: calc(100% - 122px);
}
}
.home-collection-container {
margin: 25px 0;
.bg-title {
padding-bottom: 113px;
}
}
.home-article-container{
padding: 13px 13px 13px 0;
.box-title{
width: 256px;
margin-right: 12px;
padding: 0 28px;
}
.box-holder{
width: calc(100% - 268px);
}
.art-big {
width: 792px;
}
.art-list-group {
width: calc(100% - 804px);
}
.art-item{
margin-bottom: 12px;
}
.art-img{
width: 184px;
margin-right: 15px;
height: 107px;
}
.art-text{
width: calc(100% - 199px);
}
}
}