Giao dien PC

This commit is contained in:
2023-04-06 14:19:39 +07:00
parent 930ec14440
commit 29b0f5b718
94 changed files with 10451 additions and 0 deletions

View File

@@ -0,0 +1,748 @@
body{
color:#000;
font-family: 'Inter', sans-serif;
background: #fff;
position: relative;
font-size:14px;
font-weight:400;
line-height:1.5;
text-align:left;
max-width: 650px;
margin: auto;
word-break: break-word;
counter-reset: section;
overflow: auto;
}
a{
text-decoration: none;
outline: none;
}
b{
font-weight: bold;
}
.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;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 0;
margin-bottom: .5rem;
}
.h1, h1 {font-size: 2em}
.h2, h2 {font-size: 1.5em}
.h3, h3 {font-size: 1.17em}
.h4, h4, .h5, h5, .h6, h6 {font-size: initial}
.h1, h1,.h2, h2,.h3, h3,.h4, h4,.h5, h5,.h6, h6 {font-weight: bold}
.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, select {
outline: none !important;
color: #000;
}
textarea {font-family: inherit;}
table{
width: 100% !important;
-webkit-overflow-scrolling: touch;
border-collapse: collapse;
}
@media screen and (-webkit-min-device-pixel-ratio: 0){
select, textarea, input {
font-size: 16px;
}
}
iframe {
max-width: 100%;
display: block;
border: 0;
width: 100%;
margin: auto;
}
.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-19{
font-size: 19px;
}
.text-20{
font-size: 20px;
}
.text-21{
font-size: 21px;
}
.text-22{
font-size: 22px;
}
.text-24{
font-size: 24px;
}
.text-28{
font-size: 28px;
}
.text-30{
font-size: 30px;
}
.text-36{
font-size: 36px;
}
.line-height-2{
line-height: 2;
}
.line-22{
line-height: 22px;
}
.blue{
color: #005BAD;
}
.blue-2{
color: #1988EC;
}
.blue-light{
color: #00FFF0;
}
.orange{
color: #FE7801;
}
.red{
color: #EE6A6A;
}
.grey{
color: #999;
}
.yellow{
color: #fdb813;
}
.color-main{
color: #FF848D;
}
.black{
color: #222;
}
.green{
color: #29A07E;
}
.bg-blue{
background: #005BAD;
}
.bg-red{
background: #D91605;
}
.bg-green{
background: #29A07E;
}
.bg-main{
background: #FF848D;
}
.blue-light{
color: #31c6fe;
}
.text-white{
color: #fff;
}
.bg-white{
background: #fff !important;
}
.font-weight-lighter{
font-weight: 300;
}
.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;
}
.text-capitalize{
text-transform: capitalize;
}
.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;
}
.mt-2{
margin-top: .5rem!important
}
.mt-3 {
margin-top: 1rem!important;
}
.mb-2{
margin-bottom: .5rem!important
}
.mb-3 {
margin-bottom: 1rem!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;;
}
.pt-2, .py-2 {
padding-top: .5rem!important;
}
.pt-3, .py-3 {
padding-top: 1rem!important;
}
.border-0{
border: 0 !important;
}
.p-15{
padding: 0 15px;
}
.font-weight-bold{
font-weight: bold;
}
.form-control {
display: block;
width: calc(100% - 1.5rem - 2px);
height: calc(1.5em + 0.75rem + 2px);
padding: 0.375rem 0.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: 0.25rem;
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.bg-orange{
background: #ff9219;
}
.font-100{
font-weight: 100;
}
.font-200{
font-weight: 200;
}
.font-300{
font-weight: 300;
}
.font-400{
font-weight: 400;
}
.font-500{
font-weight: 500;
}
.font-600{
font-weight: 600;
}
.font-700{
font-weight: 700;
}
.font-800{
font-weight: 800;
}
.font-900{
font-weight: 900;
}
.text-underline{
text-decoration: underline;
}
.font-italic{
font-style: italic;
}
.border-bottom{
border-bottom: 1px solid #ccc;
}
.pb-1, .py-1 {
padding-bottom: 0.25rem!important;
}
.fit-img{
width: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
max-width: 100%;
max-height: 100%;
margin: auto;
display: block;
}
.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:9;top: 100%;}
.autocomplete-suggestions a{display: flex;align-items: flex-start;padding:10px;overflow:hidden;}
.autocomplete-suggestions a img{width:60px;float:left;margin-right: 12px;}
.autocomplete-suggestions a .info{width: calc(100% - 72px);}
.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.png);width: 59px;height: 13px;display: inline-block;background-repeat: no-repeat;background-size: 60px 77px;vertical-align: sub;}
.icon-star.star-0{background-position: -1px -64px;}
.icon-star.star-1{background-position: -1px -51.5px;}
.icon-star.star-2{background-position: -1px -38.5px;}
.icon-star.star-3{background-position: -1px -25.5px;}
.icon-star.star-4{background-position: -1px -13px;}
.icon-star.star-5, .icon-star.star-0{background-position: -1px -0.5px;}
.success-checkmark .check-icon .icon-circle {border-color: #0542b7;opacity: .5;}
.success-checkmark .check-icon .icon-line {background-color: #0542b7;}
.success-checkmark .check-icon{border-color: #0542b7 }
.content-container{max-width: calc(100% - 60px);}
.bg-content{
overflow: hidden;
position: relative;
&::before{
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(#fff));
background: linear-gradient(transparent, #fff);
height: 300px;
}
}
.bg-linear{
background:linear-gradient(180deg, #EE1B25 0%, #FF7E85 100%);
}
.inherit{
font-size: inherit;
font-weight: inherit;
line-height: inherit;
margin: 0;
}
.line-clamp-2{
text-overflow: ellipsis;
-webkit-line-clamp: 2;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3{
text-overflow: ellipsis;
-webkit-line-clamp: 3;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-4{
text-overflow: ellipsis;
-webkit-line-clamp: 4;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-5{
text-overflow: ellipsis;
-webkit-line-clamp: 5;
display: -webkit-box;
-webkit-box-orient: vertical;
overflow: hidden;
}
.fancybox-slide--video {
padding: 10px;
}
.fancybox-thumbs__list a {height: 90px;background-size: 80%;background-color: #fff;transition: unset}
.fancybox-thumbs__list a:before {border: 3px solid #FF848D}
.btn-html-content{
text-align: center;
padding: 16px;
a{
display: none;
line-height: 36px;
background: #FFFFFF;
color: #1988EC;
box-shadow: 0px 0px 0px 1px #1988EC;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
margin: auto;
max-width: 126px;
width: 100%;
transition: .15s all;
font-size: 13px;
&:hover{
background: #1988EC;
color: #fff;
}
i{
margin-left: 4px;
}
}
}
.bg-popup {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.4);
z-index: 99;
cursor: pointer;
}
.p-10{
padding-left: 10px;
padding-right: 10px;
}
.container{
padding: 0 10px;
}
.global-breadcrumb{
font-size: 12px;
line-height: 15px;
padding: 6px 0 10px 0;
border-bottom: 1px solid #EBEBEB;
a{
color: #000000;
}
ol, ul{
display: flex;
align-items: center;
flex-wrap: wrap;
}
li{
display: flex;
align-items: center;
&::after{
content:'/';
padding: 0 5px;
color: #A3A3A3;
}
&:last-child{
&::after{
content: none;
}
a{
@extend .color-main;
}
}
}
h1{
@extend .inherit;
}
}
.paging{
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
padding: 12px;
font-weight: 600;
font-size: 15px;
a{
width: 40px;
height: 40px;
line-height: 40px;
text-align: center;
border-radius: 50%;
border: 1px dashed #D9D9D9;
color: #7A7A7A;
background: #fff;
margin: 0 6px;
&.current{
@extend .bg-main;
color: #fff;
border-color: transparent;
}
}
}
.icons{
background: url(../images/sprite.png) no-repeat;
background-size: 250px 250px;
}
.custom-nav{
.owl-nav {
margin: 0;
button{
position: absolute;
top: 50%;
transform: translateY(-50%);
margin: 0 !important;
background: unset !important;
}
.owl-prev {
left: -18px;
}
.owl-next {
right: -18px;
}
.arrow{
width: 35px;
height: 35px;
border-radius: 50%;
display: block;
background: url(../images/arrow-left.png) no-repeat;
background-position: center;
background-size: 9px 14px;
background-color: #fff;
box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.25);
transition: .2s all;
}
.arrow-right{
transform: rotate(180deg);
}
}
}
.custom-dots{
.owl-dots {
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 20px;
right: 5%;
margin: 0 !important;
.owl-dot {
span{
margin: 0 7px;
width: 8px;
height: 8px;
border-radius: 50px;
background: transparent;
transition: .2s all;
border: 1px solid #FFFFFF;
}
&.active,&:hover{
span{
background: #A50E43;
border-color: transparent;
}
}
}
}
}
.p-item{
background: #FFFFFF;
border-radius: 12px;
overflow: hidden;
font-size: 12px;
line-height: 16px;
position: relative;
p{
margin: 0
}
img{
@extend .fit-img;
transition: .5s all;
transform: scale(1);
}
.p-img{
display: block;
position: relative;
padding-bottom: 100%;
border-radius: 12px;
overflow: hidden;
}
.p-text{
padding: 10px 10px 16px 10px;
}
.p-discount{
background: url(../images/p-discount.png) no-repeat center;
background-size: 100% 100%;
line-height: 21px;
font-weight: 700;
font-size: 12px;
position: absolute;
top: 10px;
left: 8px;
z-index: 1;
color: #fff;
min-width: 38px;
height: 24px;
text-align: center;
}
.p-name{
display: block;
color: #000;
height: 32px;
line-height: 16px;
margin-bottom: 4px;
*{
@extend .inherit;
@extend .line-clamp-2;
}
}
.p-price-group{
margin-bottom: 5px;
height: 38px;
line-height: 18px;
}
.p-price{
font-weight: 600;
font-size: 14px;
margin: 0 0 2px 0;
@extend .color-main;
}
.p-old-price{
font-size: 12px;
del{
color: #7A7A7A;
}
}
.p-btn{
display: block;
text-align: center;
background: #FFFFFF;
border: 1px dashed #FF848D;
border-radius: 5px;
font-weight: 600;
font-size: 12px;
line-height: 27px;
margin: 12px 0 0 0;
@extend .color-main;
}
.p-deal-group{
font-size: 10px;
line-height: 18px;
margin: 5px 0 10px 0;;
}
.p-sale-quantity{
margin-bottom: 2px;
}
.p-line-holder{
background: #D9D9D9;
border-radius: 3px;
overflow: hidden;
height: 4px;
position: relative;
}
.p-line{
position: absolute;
left: 0;
top: 0;
bottom: 0;
max-width: 100%;
border-radius: inherit;
@extend .bg-main;
}
}