Files
Homepage_PC_Xanh_2021/scss/mobile_css.scss

2469 lines
55 KiB
SCSS
Raw Normal View History

2021-03-24 10:47:36 +07:00
body{
color:#222;
font-family: 'Roboto', sans-serif;
background:#fff;
position:relative;
font-size:14px;
font-weight:400;
line-height:1.4;
text-align:left;
max-width: 650px;
margin: auto;
overflow: auto;
}
a{
color: #222;
text-decoration: none;
transition: all .3s ease;
outline: none;
}
b{
font-weight: bold;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
margin-bottom: .5rem;
font-weight: 500;
line-height: 1.2;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: .5rem;
}
.h1, h1 {
font-size: 2.5rem;
}
.h2, h2 {
font-size: 2rem;
}
.h3, h3 {
font-size: 1.75rem;
}
.h4, h4 {
font-size: 1.5rem;
}
.h5, h5 {
font-size: 1.25rem;
}
h6, h6 {
font-size: 1rem;
}
.ul {
margin: 0;
padding: 0;
list-style: none;
}
img {
max-width: 100%;
height: auto;
}
.clearfix::after {
content: '';
clear: both;
display: block;
}
.clear {
clear: both;
}
button, input {
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;
}
}
iframe {
max-width: 100%;
display: block;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: .5rem;
font-weight: 500;
line-height: 1.2;
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
.text-white {
color: #fff;
}
.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;
}
.font-300{
font-weight: 300;
}
.font-500{
font-weight: 500;
}
.font-600{
font-weight: 600;
}
.text-700{
font-weight: 700;
}
.line-height-2{
line-height: 2;
}
.line-22{
line-height: 22px;
}
.blue{
color: #0083FF;
}
.grey{
color: #999;
}
.red{
color: #df0009;
}
.orange{
color: #F27A00;
}
.white{
color: #fff;
}
.bg-blue{
background: #0083FF;
}
.bg-white{
background: #fff !important;
}
.font-weight-lighter{
font-weight: 300 !important;
}
.flex-wrap{
flex-wrap: wrap;
}
.d-flex{
display: flex !important;
}
.d-block{
display: block !important;
}
.d-none{
display: none !important;
}
.d-inline-block{
display: inline-block !important;
}
.align-items-center{
align-items: center;
}
.align-items-baseline{
align-items: baseline;
}
.justify-content-between{
justify-content: space-between;
}
.justify-content-center{
justify-content: center;
}
.overflow-hidden{
overflow: hidden !important;
}
.overflow-auto{
overflow: auto;
}
.float-left{
float: left;
}
.float-right{
float: right;
}
.float-none{
float: none;
}
.position-relative{
position: relative;
}
.text-white {
color: #fff;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-uppercase{
text-transform: uppercase;
}
.w-100{
width: 100% !important;
}
.w-50{
width: 50% !important;
}
.w-auto{
width: auto !important;
}
.h-100{
height: 100% !important;
}
.h-auto{
height: auto !important;
}
.m-0{
margin: 0 !important;
}
.mb-0{
margin-bottom: 0 !important;
}
.mt-0{
margin-top: 0 !important;
}
.ml-0{
margin-left: 0 !important;
}
.mr-0{
margin-right: 0 !important;
}
.p-0{
padding: 0 !important;
}
.pt-0{
padding-top: 0 !important;
}
.pb-0{
padding-bottom: 0 !important;;
}
.pl-0{
padding-left: 0 !important;
}
.pr-0{
padding-right: 0 !important;;
}
.border-0{
border: 0 !important;
}
.p-15{
padding: 0 15px;
}
.font-weight-bold{
font-weight: bold;
}
.btn {
display: inline-block;
font-weight: 400;
color: #212529;
text-align: center;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background-color: transparent;
border: 1px solid transparent;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
border-radius: .25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-control {
display: block;
width: 100%;
height: calc(1.5em + .75rem + 2px);
padding: .375rem .75rem;
font-size: 1rem;
font-weight: 400;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: .25rem;
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.fit-img{
width: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
max-height: 100%;
margin: auto;
}
@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) }
}
@keyframes gradient{0%{background-position:0 0;}
100%{background-position:-200% 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:22px;cursor:pointer;font-size:14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
.label-container:first-child{margin-top:14px;}
.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:#F27A00;}
.label-container input:checked ~ .checkmark{background-color:#F27A00;border-color:#F27A00;}
.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:8px;border:solid white;border-width:0 2px 2px 0;-webkit-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;}
.autocomplete-suggestions{position:absolute;width: 100%;;border:solid 1px #ddd;right:0;max-height:300px;overflow:auto;display:none;background:#fff;z-index:999;left: 0;border-top: 0;}
.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: 93px;height: 17px;vertical-align:top;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}
#breadcrumb{
margin: 10px 0 14px 0;
padding: 0 5px;
position: relative;
li{
float: left;
position: relative;
z-index: 1;
&::after{
content: '';
margin: 0 8px 1px 0px;
display: inline-block;
border: 2px solid #848484;
height: 6px;
width: 6px;
border-left: 0;
border-bottom: 0;
transform: rotate(45deg);
}
&:last-child{
a{
color: #848484;
}
&::after{
content: none;
}
}
a{
color: #0083FF;
font-weight: 500;
font-size: 12px;
}
}
h1{
font-size: inherit;
font-weight: inherit;
margin: 0;
line-height: inherit;
}
}
.paging {
text-align: center;
margin: 16px 0;
a{
display: inline-block;
margin-right: 7px;
width: 35px;
height: 31px;
line-height: 31px;
border-radius: 5px;
color: #888;
background: #fff;
&:hover, &.current{
color: #fff;
background: #0083FF;
border-color: #0083FF;
}
}
}
.custom-dots{
.owl-nav.disabled+.owl-dots{
margin: 0;
position: absolute;
left: 0;
right: 0;
bottom: 20px;
span{
margin: 0 5px;
background: #fff;
width: 10px;
height: 10px;
}
}
.owl-dots .owl-dot.active span{
background: #0083FF;
}
}
.custom-nav{
.owl-nav{
margin: 0;
button{
margin: 0 !important;
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 2;
background: 0 !important;
}
.owl-prev{
left: -7px;
}
.owl-next{ right: -7px}
}
.icon-right{
display: block;
width: 20px;
height: 20px;
background-color: rgba(0,0,0,.6);
position: relative;
border-radius: 50%;
&::before{
content: '';
border: 2px solid #fff;
width: 7px;
height: 7px;
display: block;
position: absolute;
left: 4px;
top: 5px;
border-left: 0;
border-bottom: 0;
transform: rotate(45deg);
border-radius: 1.5px;
}
}
.icon-left{
&::before{
border-right: 0;
border-top: 0;
border-left: 2px solid #fff;
border-bottom: 2px solid #fff;
left: 7px;
}
}
}
header{
position: fixed;
left: 0;
right: 0;
top: 0;
z-index: 12;
box-shadow: 0px 0px 4px 0px rgba(0,0,0,.4);
padding: 8px 10px 8px 8px;
.header-left{
width: 82px;
a, img{
display: block;
}
}
.header-right{
width: calc(100% - 82px);
justify-content: flex-end;
}
.icon-search{
background: url(../images/icon-search.png) no-repeat;
margin-right: 7px;
}
.icon-cart{
background: url(../images/icon-cart.png) no-repeat;
position: relative;
}
.icon-search, .icon-cart{
height: 20px;
width: 20px;
display: block;
background-size: contain;
}
.cart-count{
position: absolute;
top: -11px;
right: -12px;
width: 18px;
height: 18px;
line-height: 18px;
border-radius: 50%;
text-align: center;
color: #fff;
background: #E43A30;
font-weight: 500;
font-size: 12px;
}
.header-search-group {
position: absolute;
top: calc(80%);
right: 5px;
left: 5px;
width: calc(100% - 10px);
transition: .2s all;
opacity: 0;
visibility: hidden;
&.active{
transition: .2s all;
opacity: 1;
visibility: visible;
top: calc(100% + 5px);
}
}
.search-form {
background: #fff;
border-radius: 5px;
box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.4);
z-index: 1;
overflow: hidden;
padding-left: 8px;
button{
background-color: #0083FF;
position: absolute;
top: 0;
right: 0;
bottom: 0;
height: 100%;
width: 40px;
background-position: center;
border: 0;
background-size: 25px 23px;
margin: 0;
border-radius: 0 5px 5px 0;
}
}
.search-input {
height: 36px;
width: calc(100% - 45px);
border: 0;
}
.remove-icon {
background: unset;
position: relative;
overflow: hidden;
}
.icon-close::before, .icon-close::after {content: '';width: 2px;height: 20px;background: #fff;position: absolute;transition: .3s all;top: 0;right: 11px;opacity: 0;visibility: hidden;overflow: hidden;left: 10px;}
.remove-icon::before {
transform: rotate(45deg);left: unset;
}
.remove-icon::after {
transform: rotate(-45deg);left: unset;
}
.remove-icon::before, .remove-icon::after {
opacity: 1;
visibility: visible;
}
.icon-menu{
display: block;
width: 21px;
height: 14px;
margin-left: 22px;
position: relative;
span{
display: block;
width: 100%;
height: 2px;
background: #fff;
position: absolute;
left: 0;
right:0;
border-radius: 5px;
top: 0;
&:nth-child(2){
top: 6px;
}
&:nth-child(3){
top: 12px;
}
}
}
}
.header-menu {
position: fixed;
background: #0083FF;
left: -100%;
top: 0;
bottom: 0;
width: calc(78% - 66px);
z-index: 15;
overflow: auto;
padding: 25px 33px;
text-align: center;
transition: .5s all;
&.active{
left: 0;
transition: .5s all;
}
a{
display: block;
}
.item {
margin: 25px 0;
text-transform: uppercase;
a{
color: #fff;
font-weight: 500;
line-height: 16px;
}
}
.cat-thumb {
display: block;
width: 26px;
height: 26px;
margin: auto auto 5px auto;
background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.menu-search {
padding-left: 10px;
background: #fff;
position: relative;
}
.search-input {
height: 31px;
width: calc(100% - 40px);
display: block;
}
.icon-search {
background-color: #000;
border: 0;
width: 33px;
margin: 0;
position: absolute;
top: 0;
bottom: 0;
right: 0;
height: auto;
background-size: 20px;
background-position: center;
}
}
.bg-menu {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 13;
background: rgba(0,0,0,.5);
display: none;
}
.cart-bg{
background: #f5f5f5
}
.bg-grey{
background: #E5E5E5;
}
.page-content{
padding-top: 47px;
}
.popup-inbox-container {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
z-index: 100;
background: #fff;
width: calc(100% - 50px);
box-shadow: 0px 0px 14px 0px rgba(0,0,0,0.3);
border-radius: 5px;
padding: 15px;
transition: .4s all;
transform-origin: center;
opacity: 1;
visibility: visible;
&.hide-content{
transition: .4s all;
transform: translate(-50%, -50%) scaleX(1.2) scaleY(1.2);
opacity: 0;
visibility: hidden;
}
.inbox-content {
padding: 15px;
background: #ebebeb;
}
.close-popup {
position: absolute;
top: 5px;
right: 10px;
font-size: 24px;
}
input, textarea {
width: calc(100% - 30px);
padding: 0px 15px;
border: 0;
outline: none;
resize: none;
height: 42px;
}
textarea{
padding: 10px 15px;
}
.item {
margin-bottom: 20px;
}
.btn-submit-inbox {
border: none;
margin: auto;
padding: 10px 20px;
background: #0d9fd0;
text-transform: uppercase;
font-weight: 600;
font-size: 16px;
display: block;
cursor: pointer;
box-shadow: 0 3px 0 #dedede;
width: 120px;
color: #fff !important;
text-align: center;
}
}
.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}
.footer-social-container{
margin: 10px 0;
padding: 24px 7px 0px 7px ;
.title{
font-weight: 500;
font-size: 18px;
line-height: 160%;
text-align: center;
position: relative;
margin-bottom: 30px;
&::after{
content: '';
position: absolute;
width: 77px;
height: 4px;
margin: auto;
top: 100%;
background: #0083FF;
left: 50%;
transform: translateX(-50%);
}
}
h3{
font-weight: 500;
font-size: 12px;
line-height: 14px;
text-align: center;
color: #000000;
margin: 0;
padding-right: 10px;
}
.item{
margin: 0 0 22px 0px;
width: calc(100% / 3);
i{
width: 47px;
height: 47px;
display: block;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
transition: .35s all;
margin: 0 auto 5px auto;
}
}
.icon-1{
background-image: url(../images/footer-1.png);
}
.icon-2{
background-image: url(../images/footer-2.png);
}
.icon-3{
background-image: url(../images/footer-3.png);
}
.icon-4{
background-image: url(../images/footer-4.png);
}
.icon-5{
background-image: url(../images/footer-5.png);
}
}
.newsletter-container {
padding: 10px 7px 23px 7px;
margin-bottom: 5px;
.item-left {
background: #969696;
border-radius: 24px;
padding: 14px 10px 16px 10px;
margin-bottom: 30px;
}
.item-left p {
font-weight: bold;
font-size: 16px;
line-height: 19px;
text-align: center;
color: #FEE042;
margin-bottom: 20px;
}
textarea,input[type="text"] {
width: 100%;
resize: none;
border: 0;
outline: none;
background: transparent;
color: #fff;
height: 52px;
display: block;
padding: 0;
&::placeholder{
color: #fff;
font-weight: bold;
line-height: 21px;
}
}
textarea{
height: 109px;
}
.input-item{
margin-bottom: 13px;
background: #969696;
border-radius: 15px;
padding: 0 20px;
}
.newsletter-submit{
background: #FEE042;
border-radius: 10px;
color: #0083FF;
font-weight: bold;
font-size: 18px;
line-height: 21px;
max-width: 170px;
width: 100%;
height: 41px;
line-height: 41px;
text-align: center;
margin: auto;
display: block;
}
.input-textarea{
padding: 16px 20px;
margin-bottom: 17px;
}
}
.footer-info-container {
background: radial-gradient(50% 50% at 50% 50%, #0083FF 0%, #005CB3 100%);
color: #fff;
padding: 20px 7px;
a{
color: #fff;
display: block;
&:hover{
text-decoration: underline;
}
&::after{
content:'';
display: block;
clear: both;
}
}
.title{
font-weight: bold;
line-height: 16px;
margin: 0 0 14px 0;
font-size: 13px;
}
.info-address {
white-space: pre-line;
margin: 14px 0 20px 0;
line-height: 2;
}
.info-content{
a{
margin-bottom: 13px;
position: relative;
padding-left: 15px;
&::before{
content: '';
border: 1px solid #fff;
border-left: 0;
border-bottom: 0;
position: absolute;
top: 4px;
left: 0;
height: 6px;
width: 6px;
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
}
}
.icon-right{
border: 1px solid #fff;
width: 4px;
height: 8px;
display: inline-block;
}
}
.list-info-left{
margin-top: 12px;
li{
margin: 11px 0;
&::after{
content:'';
display: block;
clear: both;
}
}
.icon{
width: 19px;
height: 19px;
margin-right: 10px;
display: block;
float: left;
background-size: contain;
}
span{
width: calc(100% - 29px);
display: block;
float: left;
}
}
.info-content {
padding-top: 25px;
font-size: 12px;
}
.media-social-list{
background: #fff;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 4px 8px;
max-width: 134px;
width: 100%;
a{
padding: 0;
margin: 0;
width: 24px;
height: 24px;
&::before{
content: none;
}
}
img {
display: block;
}
}
.icon-phone{
background:url(../images/footer-phone.png) no-repeat;
}
.icon-mail{
background:url(../images/footer-mail.png) no-repeat;
}
.icon-map{
background:url(../images/footer-map.png) no-repeat;
}
}
.global-header-banner{
.banner-left{
margin-bottom: 6px;
}
.banner-right, .thumbs-button{
display: flex;
flex-wrap: wrap;
a{
display: block;
margin: 0 6px 6px 0;
width: calc(50% - 3px);
&:nth-child(even){
margin-right: 0;
}
}
img{
display: block;
}
}
.button-item{
border: 1px solid #C4C4C4;
display: flex !important;
align-items: center;
justify-content: center;
text-align: center;
overflow: hidden;
padding: 7px 12px;
font-size: 12px;
background: #fff;
width: calc(50% - 29px) !important;
min-height: 48px;
span{
display: block;
overflow: hidden;
max-height: 53px;
}
}
}
.box-pro-group{
padding: 14px 7px;
margin-bottom: 5px;
.group-title{
margin: 0;
font-weight: 500;
font-size: 14px;
line-height: 16px;
text-transform: uppercase;
}
.view-detail{
color: #848484;
font-size: 12px;
}
}
.pt-15{
padding-top: 15px;
}
.p-item{
transition: .4s all;
border: 1px solid #E9E9E9;
&:hover {
.p-button{
transition: .4s all;
bottom: 0;
}
img{
transition: .4s all !important;
transform: scale(1.2);
}
}
a, img{
display: block;
}
img{
transition: .4s all !important;
transform: scale(1);
}
p {
margin: 0;
}
h2,h3 {
margin: inherit;
font-size: inherit;
font-weight: inherit;
line-height: inherit;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.p-img{
position: relative;
padding-bottom: 100%;
overflow: hidden;
}
.p-button {
background: rgba(0, 131, 255, 0.6);
position: absolute;
left: 0;
right: 0;
bottom: -100%;
color: #fff;
text-align: center;
padding: 10px;
line-height: 16px;
z-index: 4;
transition: .4s all;
font-size: 12px;
p{
margin-top: 8px;
display: flex;
justify-content: center;
align-items: center;
}
}
.icon-eye,.icon-cart{
display: inline-block;
width: 28px;
height: 25px;
background-repeat: no-repeat;
background-position: center;
background-size: contain;
}
.icon-eye{
margin-right: 22px;
background-image: url(../images/icon-eye.png);
}
.icon-cart{
background-image: url(../images/icon-cart.png);
}
.icon-visit{
background: url(../images/icon-viewed.png) no-repeat;
background-position: center;
background-size: contain;
display: block;
width: 17px;
height: 17px;
margin-right: 6px;
}
.p-icon-type {
position: absolute;
top: 0;
left: 19px;
display: flex;
span {
width: 35px;
height: 41px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 12px;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
}
.icon-new {
line-height: 16px;
color: #005CB3;
background-image: url(../images/bg-new.png);
font-weight: bold;
text-align: center;
font-size: 12px;
}
.icon-bestsale {
background-image: url(../images/bg-bestsale.png);
font-weight: 500;
font-size: 10px;
line-height: 10px;
color: #FFFFFF;
text-align: center;
}
.icon-discount {
position: absolute;
left: 0;
right: 0;
bottom: 14px;
margin: auto;
font-weight: 500;
color: #FFFFFF;
background: linear-gradient(90deg, #FFC700 0%, #E43A30 100%);
border-radius: 15px;
width: 64px;
height: 20px;
padding-left: 26px;
line-height: 20px;
font-size: 12px;
&::before, &::after{
content:'';
width: 21px;
height: 20px;
position: absolute;
top: 0;
bottom: 0;
left: 0;
z-index: 1;
border-radius: 50%;
}
&::before{
background: url(../images/icon-discount.png) no-repeat;
background-position: center;
background-size: 10px 14px;
z-index: 2;
}
&::after{
background: #E43A30;
}
}
.p-text{
padding: 14px 2px 17px 2px;
font-size: 12px;
background: #fff;
}
.p-name {
font-weight: 500;
}
.p-price {
margin: 5px 0;
}
.inbox-form{
font-size: 10px;
}
}
.global-solid-bottom{
position: relative;
&::after{
content:'';
position: absolute;
width: 77px;
height: 4px;
left: 50%;
transform: translateX(-50%);
bottom: 0;
background: #0083FF;
}
}
.home-about-container{
padding-bottom: 20px;
margin-bottom:5px;
.home-description{
font-size: 12px;
line-height: 19px;
padding: 0 7px;
}
h3{
font-size: 18px;
}
.global-solid-bottom{
font-weight: 500;
font-size: 18px;
line-height: 21px;
text-align: center;
padding: 13px 36px 8px 36px;
margin-bottom: 18px;
}
.btn-view-more {
text-align: center;
background: #0083FF;
border-radius: 5px;
width: 74px;
height: 21px;
line-height: 21px;
margin: 18px auto 0 auto;
font-size: 12px;
}
.btn-view-more a {
display: block;
color: #fff;
}
}
.home-news-container{
margin: 10px 0;
padding: 16px 0;
.group-title {
font-weight: 500;
font-size: 18px;
padding-bottom: 8px;
line-height: 29px;
margin: 0;
}
.home-news-items{
padding: 0 7px;
}
.art-item{
display: flex;
border-top: 1px solid #C4C4C4;
padding: 25px 0;
&:first-child{
border-top: 0;
}
}
time{
display: block;
color: #666;
font-size: 12px;
}
.art-title{
font-weight: 500;
line-height: 16px;
font-size: 14px;
margin-bottom: 7px;
}
.btn-view{
width: 120px;
padding: 7px;
text-align: center;
background: #0083FF;
border-radius: 10px;
color: #fff;
font-weight: 500;
font-size: 12px;
display: block;
}
.art-img{
display: block;
margin-right: 10px;
width: 41%;
height: 100%;
img{
display: block;
}
}
.art-text{
width: calc(59% - 10px);
}
}
.global-fixed-right{
position: fixed;
right: -100%;
top: 50%;
transform: translateY(-50%);
transition: .4s all;
z-index: 2;
&.active{
right: 8px;
transition: .4s all;
}
a{
display: flex;
align-items: center;
background: #fff;
padding: 5px;
border-radius: 100px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.25);
overflow: hidden;
margin: auto 0 8px auto;
}
.icon-phone{
background-image: url(../images/global-phone.png);
}
.icon-mess{
background-image: url(../images/global-mess.png);
}
.icon-zalo{
background-image: url(../images/icon-zalo.png);
}
.icon-map{
background-image: url(../images/icon-map.png);
}
i{
display: block;
width: 22px;
height: 22px;
background-size: contain;
background-position: center;
background-repeat: no-repeat;
}
}
.product-category-page {
padding: 0 7px;
.page-title{
font-weight: bold;
font-size: 14px;
line-height: 16px;
margin-right: 17px;
text-transform: uppercase;
vertical-align: sub;
margin-bottom: 22px;
}
.filter a {
font-size: 12px;
line-height: 14px;
text-align: center;
margin: 0 7px 7px 0;
background: #0083FF;
border-radius: 5px;
color: #fff;
padding: 8px 12px;
display: block;
float: left;
}
.static-html{
margin-top: 11px;
font-size: 12px;
line-height: 19px;
border-bottom: 1px solid #C4C4C4;
margin-bottom: 20px;
padding-bottom: 17px;
}
.page-title-group {
margin-top: 15px;
}
}
.p-container{
.p-item{
margin: 0 11px 11px 0;
width: calc(100% / 2 - 7.5px);
&:nth-child(even){
margin-right: 0;
}
}
}
.product-detail-page{
padding: 0 7px;
.proName {
font-weight: 500;
font-size: 18px;
line-height: 21px;
}
.p-inStock{
&::before{
content:'';
background: url(../images/check.png) no-repeat;
background-color: #39B54A;
background-position: center;
background-size: 8px;
display: inline-block;
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 5px;
vertical-align: text-top;
}
}
.big-img-group a {
display: block;
position: relative;
padding-bottom: 100%;
}
.big-img-group img {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
max-height: 100%;
margin: auto;
display: block;
}
.small-img-group .item {
margin: 4px 4px 4px 0;
width: calc(100% / 5 - 6px);
}
.small-img-group .item:nth-child(5n) {
margin-right: 0;
}
.small-img-group {
display: flex;
flex-wrap: wrap;
}
.small-img-group a {
display: block;
border: 1px solid #ccc;
position: relative;
padding-bottom: 97%;
&.active{
border-color: #0083FF;
}
}
.pro-info-container{
margin-top: 22px;
}
.p-info-price {
font-weight: bold;
font-size: 25px;
line-height: 29px;
color: #E43A30;
margin-bottom: 15px;
}
.p-summary{
line-height: 177.69%;
margin-bottom: 26px;
span{
display: block;
position: relative;
padding-left: 12px;
&::before{
content:'';
width: 5px;
height: 5px;
border-radius: 50%;
background: #D83131;
position: absolute;
left: 0;
top: 9px;
}
}
}
.btn-buynow{
color: #fff;
display: block;
background: #E43A30;
border-radius: 5px;
font-weight: 500;
position: relative;
text-align: center;
padding: 13px;
margin: 26px 0;
&:hover{
background: #ba2f27;
}
&::before{
content:'';
display: inline-block;
background: url(../images/icon-shopping-bag.png) no-repeat;
width: 16px;
height: 16px;
margin-right: 3px;
background-position: center;
background-size: contain;
vertical-align: text-top;
}
}
.p-offer-group{
span{
display: block;
position: relative;
padding-left: 7px;
margin-bottom: 15px;
font-weight: 500;
&::before{
content:'';
width: 32px;
height: 28px;
background: url(../images/icon-offer.png) no-repeat;
display: inline-block;
background-position: center;
background-size: 28px;
vertical-align: middle;
margin-right: 10px;
}
}
}
.desc-content-container {
margin: 20px 0;
}
.desc-content{
position: relative;
&::after{
content:'';
position: absolute;
left: 0;
bottom: 0;
right: 0;
height: 320px;
background: linear-gradient(transparent, #fff);
}
&.show{
&::after{
content: none;
}
}
}
.btn-showdesc{
a{
color: #0083FF;
display: none;
&::after{
content: '';
display: inline-block;
margin-left: 7px;
width: 14px;
height: 14px;
background: url(../images/arrow-down-circle.png) no-repeat;
background-position: center;
background-size: 16px;
vertical-align: text-top;
}
}
#js-show-less{
&::after{
transform: rotate(-180deg);
}
}
}
.pro-tags {
margin-bottom: 30px;
}
}
.product-detail-related-container{
position: relative;
margin-bottom: 30px;
.title{
padding: 14px;
margin-bottom: 0;
}
.p-item{
&:nth-child(n+3){
display: none;
}
}
.show-pro {
position: absolute;
bottom: -9px;
left: 50%;
transform: translateX(-50%);
background: #fff;
z-index: 1;
font-size: 15px;
line-height: 18px;
padding: 0 5px;
}
.p-related-container{
padding: 14px 0;
border: 1px solid #A7A6AB;
border-top: 0;
&.show-all-pro{
.p-item:nth-child(n+3){
display: block;
}
}
}
}
.pro-history-container{
margin: 30px 0;
.title{
font-weight: 500;
font-size: 18px;
padding-bottom: 9px;
margin-bottom: 16px;
line-height: 160%;
}
}
.p-comment-container{
border-top: 1px solid #C4C4C4;
padding: 0 0 18px 0;
.title-count{
padding-top: 38px;
}
}
.artilce-page{
padding: 0 7px;
.art-group-title{
font-weight: 500;
font-size: 18px;
line-height: 21px;
margin-bottom: 19px;
}
.art-title{
font-weight: 500;
font-size: 14px;
line-height: 16px;
}
time{
font-size: 12px;
line-height: 14px;
display: block;
margin-top: 6px;
}
.home-news-container {
padding: 0;
margin: 0;
border-top: 1px solid #C4C4C4;
}
.time-group {
margin: 15px 0;
line-height: 14px;
color: #666666;
font-size: 12px;
}
.icon-time,.icon-user, .icon-art-visit, .icon-foler{
margin-right: 20px;
&::before{
content:'';
display: inline-block;
width: 12px;
height: 12px;
margin-right: 2px;
background-position: center;
background-size: 12px;
background-repeat: no-repeat;
vertical-align: text-top;
}
&:last-child{
margin-right: 0;
}
}
.icon-time{
&::before{
background-image: url(../images/icon-clock.png);
}
}
.icon-user{
&::before{
background-image: url(../images/icon-user.png);
}
}
.icon-art-visit{
display: none;
&::before{
background-image: url(../images/icon-visit.png);
}
}
.icon-foler{
&::before{
background-image: url(../images/icon-folder.png);
}
}
}
.art-home-item{
display: flex;
flex-wrap: wrap;
.art-item{
margin: 0 9px 25px 0;
width: calc(100% / 2 - 4.5px);
&:nth-child(1){
margin-right: 0;
width: 100%;
}
&:nth-child(2n+3){
margin-right: 0;
}
}
.art-img{
display: block;
margin-bottom: 10px;
}
}
.article-detail-page{
.art-detial-title{
margin: 0 0 11px 0;
font-size: 29px;
line-height: 34px;
}
.art-detail-content {
margin: 32px 0 22px 0;
}
}
.art-comment-container{
border-top: 1px solid #C4C4C4;
margin-top: 25px;
.item{
border-bottom: 1px solid #C4C4C4;
padding: 14px 0 21px 0;
&::after{
content:'';
display: block;
clear: both;
}
}
.avatar{
width: 63px;
height: 63px;
border-radius: 50%;
background: #C4C4C4;
margin-right: 6px;
float: left;
color: #fff;
font-size: 30px;
text-align: center;
line-height: 63px;
}
.title{
line-height: 21px;
margin: 15px 0;
span{
color: #666;
}
*{
font-size: 12px;
}
b{
margin-bottom: 0 !important;
}
}
.comment-content{
font-weight: 500;
font-size: 12px;
line-height: 19px;
color: #666666;
}
.btn-reply{
font-weight: 500;
color: #666666;
width: 59px;
height: 25px;
line-height: 25px;
background: #EEEEEE;
text-align: center;
display: block;
&:hover{
@extend .bg-blue;
color: #fff;
}
}
}
.comment-form-comtainer{
padding: 24px 0 27px 0;
border-bottom: 1px solid #C4C4C4;
>p{
font-size: 14px !important;
line-height: 16px !important;
margin-bottom: 25px !important;
}
.input-text{
width: 100%;
border: 1px solid #777777;
border-radius: 5px;
overflow: hidden;
margin-bottom: 12px;
}
input[type="text"]{
height: 34px;
width: calc(100% - 10px);
border: 0;
font-weight: 500;
padding-left: 10px;
}
textarea {
width: 100%;
resize: none;
height: 113px;
display: block;
border: 0;
font-weight: 500;
outline: none;
}
.input-area {
max-width: 100%;
padding: 11px 10px
}
.btn-send-cmt {
display: block;
max-width: 150px;
width: 100%;
height: 39px;
background: #0083FF;
border-radius: 10px;
color: #fff;
border: 0;
margin: auto;
font-weight: 500;
font-size: 14px;
line-height: 16px;
}
}
.article-same-cat-container{
padding: 13px 0 20px 0;
.title{
padding-bottom: 9px;
margin: 0;
}
.home-news-container{
border: 0;
}
.art-item{
padding: 27px 0;
}
}
.static-h1{
font-weight: 500;
font-size: 18px;
line-height: 21px;
color: #0083FF;
margin: 10px 0;
}
.faq-page, .static-page, .error-page, .contact-page{
padding: 0 7px;
font-size: 12px;
line-height: 19px;
}
.question-list{
.item{
margin: 17px 0;
a{
display: block;
font-weight: 500;
font-size: 14px;
line-height: 16px;
padding-left: 20px;
position: relative;
&::before, &::after{
content:'';
width: 12px;
height: 4px;
background: #000;
position: absolute;
left: 0;
top: 5px;
}
&::after{
transform: rotate(90deg);
}
&.active::after{
transform: rotate(0deg);
}
}
}
.answer-text{
white-space: pre-line;
display: none;
}
}
.error-page{
font-size: 14px;
.artilce-page{
padding: 0;
margin: 0;
}
.error-top {
max-width: 596px;
margin: 50px auto 18px auto;
a{
position: relative;
&::before{
content:'';
display: inline-block;
border: 2px solid #0083FF;
border-left: 0;
border-bottom: 0;
transform: rotate(45deg);
width: 6px;
height: 6px;
vertical-align: middle;
margin-right: 3px;
}
}
}
.search-container {
margin: 40px 0 20px 0;
button{
width: 100%;
max-width: 110px;
height: 41px;
background: #0083FF;
border-radius: 5px;
font-weight: 500;
font-size: 12px;
color: #FFFFFF;
border: 0;
margin: 16px 0 0 0;
}
}
.search-input{
width: 100%;
height: 40px;
border: 1px solid #848484;
box-sizing: border-box;
border-radius: 5px;
padding: 0 13px;
color: #848484;
}
}
.contact-page{
.contact-info{
margin: 25px auto 30px auto;
}
.title{
font-weight: 500;
font-size: 18px;
line-height: 21px;
margin-bottom: 25px;
}
.text{
margin: 25px 0;
font-size: 14px;
white-space: pre-line;
padding-left: 13px;
}
.icon-address, .icon-email{
font-weight: 500;
font-size: 14px;
line-height: 16px;
display: block;
position: relative;
&::before{
content:'';
background-repeat: no-repeat;
background-size: contain;
background-position: center;
display: inline-block;
vertical-align: middle;
}
}
.icon-address {
&::before{
background-image: url(../images/map-black.png);
width: 18px;
height: 18px;
margin-right: 5px;
}
}
.icon-email{
&::before{
background-image: url(../images/email-black.png);
width: 20px;
height: 20px;
margin-right: 10px;
}
}
}
.cart-bg{
background: #f5f5f5
}
.cart-page{
padding: 18px 7px;
.p-item{
width: 150px;
margin-right: 11px;
}
.cart-items-group{
line-height: 19px;
position: relative;
}
.tbl-group{
background: #FFFFFF;
border: 1px solid #E2E2E2;
box-sizing: border-box;
border-radius: 5px;
margin-bottom: 10px;
display: flex;
flex-wrap: wrap;
}
.cart-item{
display: flex;
flex-wrap: wrap;
align-items: center;
padding: 14px 10px 21px 10px;
border-bottom: 1px solid #BDBCC0;
word-break: break-word;
line-height: 14px;
overflow: hidden;
width: 100%;
}
.tbl-col-1 {
width: 20px;
}
.tbl-col-2 {
width: calc(100% - 20px);
&::after{
content:'';
display: block;
clear: both;
}
}
.tbl-col-3 {
width: 100%;
padding-left: 50px;
margin-top: 15px;
display: flex;
align-items: center;
justify-content: space-between;
}
.tbl-title{
padding: 25px 10px;
}
.total-items-price{
padding: 18px 17px 23px 0;
}
.item-img {
width: 60px;
margin-right: 10px;
display: block;
float: left;
img{
display: block;
}
}
.item-text {
width: calc(100% - 70px);
float: left;
padding-top: 5px;
}
.item-name{
margin-bottom: 10px;
display: block;
}
.item-price{
display: block;
color: #F12626;
font-weight: bold;
}
.quantity-item {
width: 27px;
height: 26px;
line-height: 26px;
display: block;
text-align: center;
color: #666666;
font-weight: 500;
border: 1px solid #CCCCCC;
float: left;
}
.buy-quantity {
width: 38px;
input{
width: 100%;
border: 0;
text-align: center;
height: 100%;
padding: 0;
}
}
.minus {
border-right: 0;
}
.plus {
border-left: 0;
}
.related-pro {
display: block;
position: relative;
}
.related-pro-container {
max-width: 77px;
text-align: center;
}
.pro-history-container {
margin: 10px 0;
padding: 20px 0 30px 0;
.title{
margin-bottom: 20px;
}
}
.related-pro-holder{
background: #fff;
padding: 20px 7px;
text-align: left;
display: flex;
width: 100%;
}
.related-pro-group{
overflow-x: scroll;
border: 1px solid #0083FF;
white-space: nowrap;
margin-top: 16px;
display: none;
position: relative;
&::before{
content:'';
}
}
.p-item .p-icon-type span, .p-item .p-name{
white-space: break-spaces;
}
}
.cart-customer-info{
border: 1px solid #E2E2E2;
border-radius: 5px;
padding: 18px 0 21px 0;
td{
vertical-align: top;
}
.title{
background: #ECECEC;
font-weight: bold;
padding: 10px 7px;
margin-bottom: 18px;
}
.input-item{
border: 1px solid #C4C4C4;
border-radius: 5px;
margin-bottom: 19px;
overflow: hidden;
input, textarea{
outline: none;
resize: none;
height: 34px;
display: block;
border: 0;
padding-left: 10px;
width: calc(100% - 10px);
}
textarea{
height: 47px;
padding: 10px 0 10px 10px;
}
}
.cart-button-buy{
margin-top: 30px;
a, button{
display: block;
background: #0083FF;
color: #fff;
font-weight: 500;
width: 100%;
text-align: center;
margin-bottom: 4px ;
padding: 10px;
border-radius: 5px;
border: 0;
&:nth-child(1){
margin-right: 5px;
}
&:nth-child(1), &:nth-child(2){
width: calc(50% - 23px);
}
}
button{
background: #E43A30;
}
}
.content{
padding: 0 7px 10px 7px;
line-height: 19px;
}
.item-right{
.title{
margin-bottom: 11px;
}
.price{
margin-bottom: 24px;
}
}
}
.ceo-page{
padding: 0 7px 10px 7px;
.ceo-info{
.name {
font-weight: bold;
font-size: 24px;
line-height: 38px;
text-align: justify;
margin: 24px 0 2px 0;
}
}
.ceo-social-media{
margin: 24px 0 72px 0;
a{
display: inline-block;
margin-right: 10px;
width: 28px;
height: 28px;
border-radius: 50%;
overflow: hidden;
background-repeat: no-repeat;
background-size: 28px;
background-position: center;
}
}
.ceo-twitter{
background-image: url(../images/ceo-twitter.png);
}
.ceo-facebook{
background-image: url(../images/ceo-facebook.png);
}
.ceo-pinterest{
background-image: url(../images/ceo-p.png);
}
.ceo-linkedin {
background-image: url(../images/ceo-linked.png);
}
}
.p-7{
padding: 0 7px;
}
.about-page{
h1{
color: #222;
margin: 13px 0 10px 0;
}
img{
display: block;
}
.bg-f6{
background: #F6F6F6;
}
.about-item{
padding: 14px 7px;
}
.text-title{
font-weight: 500;
font-size: 18px;
margin-bottom: 12px;
line-height: 130%;
}
.pre-line{
white-space: pre-line;
line-height: 22px;
text-align: justify;
}
.line-right {
position: relative;
font-size: 14px;
line-height: 26px;
margin-bottom: 10px;
line-height: 26px;
&::after {
content: '';
position: absolute;
width: 18px;
height: 2px;
background: #0083FF;
margin-left: 11px;
top: 12px;
}
}
.about-icon-group {
border-top: 1px solid #C4C4C4;
margin: 20px 0;
padding-top: 15px;
}
.number {
line-height: 160%;
}
.about-icon-phone{
width: 30px;
height: 30px;
border-radius: 50%;
margin-right: 15px;
display: block;
background: #E9E9E9;
background-image: url(../images/about-phone.png);
background-repeat: no-repeat;
background-position: center;
background-size: 17px;
animation: phonering 1.2s infinite ease-in-out;
}
}
.evolution-stage-container{
white-space: nowrap;
display: flex;
overflow-x: scroll;
padding: 0 2px;
.item{
position: relative;
padding-right: 35px;
display: flex;
flex-wrap: wrap;
height: 100%;
&:nth-child(odd){
.text{
max-height: 48px;
display: flex;
align-items: center;
}
}
&:nth-child(2n){
.year{
background: #4BBBD7;
margin-top: 53px;
&::before, &::after{
background: #4BBBD7;
}
}
.text{
order: 1;
border-color: #4BBBD7;
&::before, &::after{
background: #4BBBD7;
}
}
}
&:last-child{
.year{
&::before{
background: unset;
}
}
}
}
.text{
margin: 0;
font-size: 8px;
line-height: 160%;
min-height: 48px;
position: relative;
padding-left: 5px;
white-space: break-spaces;
width: 145px;
border-left: 1px solid #0083FF;
&::before, &::after{
content:'';
position: absolute;
left: -2.5px;
width: 4px;
height: 4px;
border-radius: 50%;
background: #0083FF;
}
&::before{
top: 0;
}
&::after{
bottom: 0;
}
}
.year{
display: block;
position: relative;
margin: 5px 0;
font-weight: bold;
font-size: 18px;
background: #0083FF;
text-align: center;
color: #fff;
width: calc(100% - 20px);
height: 37px;
line-height: 37px;
&::before{
content: '';
position: absolute;
width: 38px;
height: 1px;
background: #0083FF;
top: 50%;
transform: translateY(-50%);
right: -55px;
}
&::after{
content: '';
height: 26px;
width: 26px;
background: #0083FF;
position: absolute;
transform: rotate(45deg);
right: -13px;
top: 5.5px;
z-index: -1;
}
}
}
@media(max-width: 319px){
.footer-info-container{
.item-1, .item-2{
width: 100%;
}
}
}