Files
mua_hang_theo_nhom/assets/css/style_mobile.scss
2023-12-29 11:40:36 +07:00

1324 lines
30 KiB
SCSS

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
:root {
--color-global: #f32a1d;
}
::-webkit-scrollbar-track {
background-color: #c5c5c5;
border-radius: 10px;
}
::-webkit-scrollbar {
width: 8px;
border-radius: 30px;
background-color: #c5c5c5;
}
::-webkit-scrollbar-thumb {
background: #5d5d5d;
border-radius: 30px;
background-image: -webkit-gradient(
linear,
0 0,
0 100%,
color-stop(0.7, #5d5d5d),
color-stop(0.5, transparent),
to(transparent)
);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Inter", sans-serif;
}
body {
color: #000;
font-family: "Inter", sans-serif;
margin: 0 auto;
background: #d62323;
background-size: cover;
font-weight: normal;
font-size: 14px;
&.active {
overflow: hidden;
}
}
html {
font-size: 100%;
font-family: "Inter", sans-serif;
}
img {
max-width: 100%;
height: auto;
}
a {
text-decoration: none !important;
color: var(--text-black);
}
.clearfix {
content: "";
clear: both;
}
ul,
li {
list-style: none;
}
table {
border-collapse: collapse;
width: 100%;
}
.ul,
.ol {
margin: 0;
padding: 0;
list-style: none;
}
.d-flex {
display: flex !important;
}
.d-block {
display: block;
}
.flex-wrap {
flex-wrap: wrap !important;
}
.text-center {
text-align: center !important;
}
.align-items {
align-items: center !important;
}
.space-between {
justify-content: space-between !important;
}
.space-center {
justify-content: center !important;
}
.d-block {
display: block !important;
}
.flex-direction {
flex-direction: column;
}
.line-clamp-1 {
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-2 {
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-3 {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-4 {
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
overflow: hidden;
}
.line-clamp-5 {
display: -webkit-box;
-webkit-line-clamp: 5;
-webkit-box-orient: vertical;
overflow: hidden;
}
.container {
width: 100%;
padding: 0 10px;
margin: 0 auto;
overflow: hidden;
}
.container-mb {
max-width: 480px;
margin: 0 auto;
padding: 0;
}
.icon_2023 {
background: url(../images/icon_2023.png) no-repeat;
background-size: 280px 185px;
display: block;
}
.header {
background: #fff;
padding: 5px 0;
.icon_2023 {
width: 15px;
height: 16px;
&.thele {
background-position: 2px -2px;
}
&.muahang {
background-position: -20px -2px;
}
&.phone {
background-position: -42px -2px;
}
&.user {
background-position: -66px -2px;
}
}
.header-right {
.item {
margin-left: 10px;
i {
margin-right: 5px;
}
}
i.fa-caret-down {
color: #cacaca;
}
}
}
.homepage {
.banner {
margin: 10px 0;
width: 100%;
display: block;
}
.box-quytrinh {
background: #fff;
padding: 20px 0;
border-radius: 12px;
.icon_2023 {
width: 50px;
height: 50px;
&.group {
background-position: -1px -43px;
}
&.share {
background-position: -77px -44px;
}
&.cart {
background-position: -154px -43px;
}
&.check {
background-position: -230px -43px;
}
}
.item {
margin-right: 40px;
text-align: center;
position: relative;
.icon_2023 {
margin: 0 auto;
position: relative;
&::before {
position: absolute;
content: "";
left: 55px;
top: 50%;
width: 45px;
height: 1px;
background: #cb1616;
}
}
.txt {
text-align: center;
display: block;
margin-top: 7px;
font-size: 12px;
}
&:last-child {
margin-right: 0;
.icon_2023::before {
display: none;
}
}
}
}
.box-combo-sold-out {
margin: 10px 0;
.product-item {
width: 100%;
margin-right: 0;
}
}
.box-group-user {
.title {
font-size: 16px;
color: #d60a00;
font-weight: 800;
text-transform: uppercase;
padding: 15px 0;
text-align: center;
}
.product-item {
width: 100%;
margin-right: 0;
border: 1px solid #f5f5f5;
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1);
padding: 15px;
.product-image {
width: 110px;
height: 110px;
}
.product-info {
width: calc(100% - 120px);
}
.add-member {
width: 130px;
}
}
}
.group-list-product {
margin: 10px 0;
}
.box-list-product {
margin-bottom: 10px;
display: none;
&.active {
display: block;
}
.product-item {
width: 100%;
margin-right: 0;
}
.product-image {
width: 110px;
height: auto;
}
.product-info {
width: calc(100% - 120px);
}
.product-time-holder b {
font-size: 12px;
}
.add-group {
width: 110px;
height: 30px;
line-height: 30px;
}
.add-group span {
font-size: 10px;
margin: 0 2px;
}
.add-group i {
font-size: 20px;
}
.add-member {
font-size: 12px;
width: 110px;
height: 30px;
line-height: 30px;
}
.list-memeber .note {
font-size: 12px;
}
.product-name {
font-size: 13px;
}
.product-item .red {
font-size: 12px;
}
}
.list-category {
margin-bottom: 15px;
.item-cate {
padding: 0 10px;
border: 1px solid #fff;
border-radius: 5px;
color: #fff;
margin-right: 10px;
height: 35px;
line-height: 35px;
text-align: center;
&.active,
&:hover {
background: linear-gradient(180deg, #03b49f 0%, #146863 100%);
border: none;
}
}
}
}
.background-white {
background: #fff;
border-radius: 15px;
}
.product-item {
width: 100%;
margin-right: 0;
margin-bottom: 15px;
border-radius: 10px;
background: #fff;
padding: 10px;
.product-image {
width: 150px;
height: 150px;
display: block;
border-radius: 8px;
position: relative;
overflow: hidden;
img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
&.sold::before {
position: absolute;
content: "";
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 1;
}
.icon-sold {
position: absolute;
background: url(../images/icon_sold-out.png) no-repeat;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 96px;
height: 50px;
z-index: 9;
}
.soluongnhom {
position: absolute;
top: 5px;
left: 5px;
border-radius: 3px;
padding: 2px 5px;
text-align: center;
font-size: 11px;
color: #fff;
background: linear-gradient(90deg, #e11010 -5.98%, #f3501d 100%);
}
}
.product-info {
width: calc(100% - 160px);
margin-left: 10px;
}
.product-name {
font-weight: 400;
margin-bottom: 5px;
&:hover {
color: var(--color-global);
font-weight: 500;
}
}
.retail_price {
font-size: 15px;
color: #f32a1d;
font-weight: 700;
}
.price-old {
color: #cacaca;
margin-left: 5px;
font-weight: 500;
}
.box-price {
margin: 5px 0;
}
.total-group {
display: flex;
align-items: center;
.icon_2023 {
width: 25px;
height: 23px;
&.group {
background-position: -154px 0;
background-size: 310px 220px;
}
}
span {
font-size: 13px;
color: #f32a1d;
font-weight: 500;
margin-left: 2px;
}
}
.box-memeber {
.item {
width: 20px;
height: 20px;
text-align: center;
background: #8c8c8c;
line-height: 19px;
color: #fff;
border-radius: 50%;
font-size: 12px;
margin-left: 2px;
z-index: 2;
&.add {
background: #fff;
border: 1.5px dashed #8c8c8c;
color: #8c8c8c;
line-height: 18px;
margin-left: -5px;
z-index: 1;
}
}
}
.list-memeber {
margin-top: 10px;
margin-bottom: 17px;
.note {
margin-left: 5px;
}
}
.box-sold {
margin: 10px 0;
width: 100%;
height: 16px;
position: relative;
border-radius: 7px;
background: linear-gradient(0deg, #ffeee3 0%, #ffeee3 100%), #ffeee3;
.quantity-sold {
font-size: 11px;
color: #fff;
font-weight: 600;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
white-space: nowrap;
}
.icon_2023 {
width: 20px;
height: 26px;
position: absolute;
left: 0;
bottom: 0;
z-index: 9;
&.hot {
background-position: -112px 4px;
}
}
.line-deal {
position: absolute;
content: "";
left: 0;
top: 0;
height: 100%;
border-radius: 7px 0px 0px 7px;
background: linear-gradient(90deg, #f32a1d -5.98%, #ff6d1b 100%);
}
}
.icon_2023 {
width: 15px;
height: 15px;
&.time {
background-position: -240px -10px;
background-size: 395px 254px;
}
}
.product-time-holder {
display: flex;
align-items: center;
margin-left: 5px;
color: #6c6c6c;
b {
position: relative;
margin-right: 7px;
&::before {
position: absolute;
right: -5px;
top: -1px;
content: ":";
color: #6c6c6c;
}
&:last-child {
margin-right: 0;
&::before {
display: none;
}
}
}
}
.add-member {
width: 170px;
height: 35px;
border-radius: 17px;
background: linear-gradient(90deg, #10d18c -5.98%, #a7e15e 100%);
text-align: center;
line-height: 35px;
color: #fff;
font-weight: 700;
.fa-plus {
font-size: 13px;
border-radius: 50%;
border: 2px solid #fff;
width: 20px;
height: 20px;
line-height: 19px;
font-weight: 400;
display: inline-block;
}
}
.note-leader {
margin-top: 5px;
.icon_2023 {
width: 14px;
height: 14px;
&.bell {
background-position: -90px 0;
display: inline-block;
}
}
span {
font-size: 11px;
color: #858585;
font-style: italic;
}
}
.red {
color: #f32a1d;
font-size: 13px;
margin-left: 5px;
font-weight: 500;
}
.price-banle {
margin: 10px 0 17px 0;
color: #6c6c6c;
font-weight: 500;
}
.add-group {
width: 150px;
height: 35px;
line-height: 35px;
border-radius: 17px;
background: linear-gradient(90deg, #e11010 -5.98%, #f3501d 100%);
text-align: center;
color: #fff;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
i {
font-size: 25px;
background: linear-gradient(90deg, #fff -11.54%, rgba(255, 255, 255, 0.17) 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
span {
margin: 0 3px;
}
}
}
.box-successful-purchase {
background: url(../images/background-successful-purchase-mb.png) no-repeat;
background-size: cover;
border-radius: 15px;
padding: 10px;
margin-bottom: 10px;
.title {
font-size: 16px;
font-weight: 700;
color: #d60a00;
text-align: center;
text-transform: uppercase;
padding: 15px 0 15px 0;
display: block;
}
.content {
padding: 0 10px 10px 10px;
overflow: auto;
height: 400px;
margin-right: 5px;
}
.item-success {
width: 100%;
margin-bottom: 5px;
padding: 10px;
.avatar {
width: 26px;
height: 26px;
display: block;
text-align: center;
line-height: 26px;
font-size: 16px;
font-weight: 700;
background: #8c8c8c;
margin-right: 10px;
border-radius: 50%;
color: #fff;
text-transform: uppercase;
}
.info {
width: calc(100% - 36px);
}
.name-pro {
margin-bottom: 3px;
}
.time {
color: #848484;
font-size: 13px;
}
&:nth-child(2n - 1) {
background: #f9f4f1;
border-radius: 8px;
}
}
}
.box-thele {
background: url(../images/background-thele-mb.png) no-repeat;
background-size: cover;
border-radius: 15px;
padding: 10px;
.title {
font-size: 16px;
font-weight: 700;
text-transform: uppercase;
color: #d60a00;
text-align: center;
padding: 10px 0 10px 0;
}
.content {
background: #fff;
width: 100%;
border-radius: 12px;
padding: 10px;
}
.item {
margin-bottom: 6px;
.number {
font-size: 20px;
color: #d60a00;
font-weight: 700;
margin-right: 10px;
}
ul {
margin-bottom: 0;
}
.txt {
margin-top: 5px;
font-size: 13px;
p {
margin-bottom: 0;
}
li {
list-style: inside;
margin-left: 5px;
}
}
}
}
.box-questions {
padding: 15px;
margin: 15px 0;
.title {
font-size: 24px;
color: #d60a00;
text-transform: uppercase;
text-align: center;
font-weight: 700;
margin: 10px 0 20px 0;
}
.item {
width: 100%;
margin-right: 0;
margin-bottom: 10px;
.number {
color: #d60a00;
font-size: 16px;
font-weight: 700;
margin-right: 10px;
}
}
.card {
border-radius: 10px;
background: #ffeee3;
border: 0;
span {
color: #000;
font-size: 14px;
}
}
.card-header {
border-radius: 10px;
border-bottom: 0;
background: #ffeee3;
padding: 10px;
}
.card-body {
background: #fff;
padding: 7px 10px;
}
[data-toggle="collapse"].collapsed .fa:before {
content: "\f0da";
font-size: 20px;
}
[data-toggle="collapse"] .fa:before {
content: "\f0d7";
font-size: 20px;
}
a:hover {
color: #000;
}
}
.footer {
background: #fff;
.footer-main-content {
padding: 25px 0;
}
.item-footer {
width: 100%;
margin-bottom: 20px;
p {
margin-bottom: 5px;
}
}
.icon_social {
background: url(../images/icon_social.png) no-repeat;
width: 32px;
height: 32px;
display: block;
margin-right: 5px;
&.youtobe {
background-position: -4px -6px;
}
&.tiktok {
background-position: -41px -6px;
}
&.facebook {
background-position: -80px -6px;
}
&.zalo {
background-position: -118px -6px;
}
&.map {
background-position: -158px -6px;
}
}
span {
margin-right: 5px;
}
a {
font-weight: 700;
}
.footer-bottom {
background: #fafafa;
padding: 20px 0;
.logo {
height: 55px;
width: 160px;
margin: 0 auto;
display: block;
}
.content-right {
width: 100%;
margin-top: 10px;
p {
margin-bottom: 5px;
font-size: 13px;
}
}
}
}
.background-group-form {
background: url(../images/background-popup.png) no-repeat;
background-size: 100% 100%;
position: relative;
padding: 10px;
border-radius: 12px;
}
.box-login {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 95%;
z-index: 9999;
display: none;
.content {
background: #fff;
padding-bottom: 20px;
border-radius: 12px;
.title {
font-size: 16px;
font-weight: 700;
text-align: center;
margin: 0 50px;
padding: 15px 0;
}
}
.btn-login {
width: 242px;
height: 35px;
border-radius: 5px;
background: linear-gradient(90deg, #1270e1 -5.98%, #26a7f8 100%);
display: flex;
align-items: center;
margin: 0 auto 20px auto;
.icon {
width: 35px;
height: 35px;
border-right: 1px solid #ffffff80;
display: flex;
align-items: center;
text-align: center;
justify-content: center;
i {
font-size: 18px;
color: #fff;
}
}
.txt {
width: calc(100% - 35px);
text-align: center;
color: #fff;
font-weight: 700;
}
&.google {
background: linear-gradient(90deg, #ea4335 -5.98%, #ff6a5e 100%);
}
}
.btn-close {
position: absolute;
right: 0;
top: 0;
width: 30px;
height: 30px;
background: #2f2f2f;
color: #fff;
line-height: 25px;
text-align: center;
border: 2px solid #fff;
box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.25);
border-radius: 50%;
i {
font-size: 15px;
}
}
}
.overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.6);
z-index: 99;
display: none;
}
.overlay.active {
display: block;
}
.global-popup {
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 95%;
z-index: 9999;
display: none;
&.active {
display: block;
}
.btn-close {
position: absolute;
right: 0;
top: 0;
width: 30px;
height: 30px;
background: #2f2f2f;
color: #fff;
line-height: 25px;
text-align: center;
border: 2px solid #fff;
box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.25);
border-radius: 50%;
i {
font-size: 15px;
}
}
.content {
background: #fff;
padding-bottom: 20px;
border-radius: 12px;
padding: 10px;
.title {
font-size: 16px;
font-weight: 700;
text-align: center;
margin: 0 auto;
padding: 15px 0 5px 0;
}
.note {
margin: 0 auto;
text-align: center;
font-size: 14px;
}
}
.box-share-link {
margin: 15px 0;
}
.info-link {
width: calc(100% - 91px);
margin-right: 10px;
height: 40px;
border-radius: 5px;
border: 1px solid #f4f4f4;
background: #edf4ff;
box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
text-align: center;
display: flex;
span {
white-space: nowrap;
display: inline-block;
margin-right: 5px;
}
.blue {
color: rgba(0, 133, 255, 0.8);
font-weight: 500;
}
}
.btn-copy {
width: 81px;
height: 40px;
border-radius: 5px;
border: 1px solid #f4f4f4;
background: #edf4ff;
box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
text-align: center;
line-height: 40px;
color: #000;
font-weight: 500;
}
.list-btn-share {
margin-bottom: 10px;
b {
text-transform: uppercase;
margin-right: 10px;
}
a {
margin-right: 10px;
}
img {
width: 26px;
height: 26px;
display: block;
}
}
.form-add-email {
input {
width: 100%;
height: 40px;
padding: 0 10px;
border-radius: 5px;
border: 1px solid #f4f4f4;
background: #fff;
box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
outline: none;
margin-bottom: 15px;
&::placeholder {
font-size: 13px;
color: rgba(172, 172, 172, 0.8);
}
&:focus {
border: 1px solid rgba(0, 0, 0, 0.1);
}
}
}
.content-email {
max-height: 210px;
overflow: auto;
}
.add-email {
text-align: center;
color: rgba(0, 133, 255, 0.8);
font-weight: 500;
display: block;
margin: 10px 0;
}
.btn-add-member {
display: flex;
align-items: center;
justify-content: space-evenly;
margin: 15px auto;
width: 180px;
height: 30px;
line-height: 30px;
text-align: center;
border-radius: 17px;
background: linear-gradient(90deg, #0090f9 -5.98%, #00b2ff 100%);
color: #fff;
font-weight: 700;
}
.product-item {
width: 100%;
margin-right: 0;
.product-image {
width: 115px;
height: 115px;
}
.product-info {
width: calc(100% - 125px);
}
.note-member {
margin-left: 10px;
font-size: 13px;
}
.box-qnt {
position: absolute;
bottom: 0;
left: 50%;
width: 100%;
transform: translate(-50%, 0);
color: #222;
.sl {
width: 40px;
height: 20px;
line-height: 20px;
border-radius: 3px;
background: rgba(0, 0, 0, 0.5);
text-align: center;
color: #fff;
font-size: 10px;
margin-right: 5px;
}
.conlai {
width: 53px;
height: 20px;
line-height: 20px;
border-radius: 3px;
background: linear-gradient(90deg, rgba(249, 60, 0, 0.85) -5.98%, rgba(255, 122, 0, 0.85) 100%);
text-align: center;
color: #fff;
font-size: 10px;
}
}
}
.avatar-leader {
position: absolute;
left: 50%;
top: -30px;
transform: translate(-50%, 0);
width: 60px;
height: 60px;
border-radius: 50%;
z-index: 99;
background: #8c8c8c;
color: #fff;
text-align: center;
font-size: 36px;
font-weight: 700;
line-height: 55px;
border: 3px solid #fff;
box-shadow: 0px 2px 1px rgba(0, 0, 0, 0.1);
}
.title-member {
display: block;
margin: 20px auto 10px auto;
font-size: 16px;
font-weight: 700;
}
.btn-member-add-group {
width: 210px;
height: 46px;
border-radius: 17px;
background: linear-gradient(90deg, #10d18c -5.98%, #a7e15e 100%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin: 10px auto;
color: #fff;
text-align: center;
b {
font-weight: 700;
}
.product-time-holder {
b {
margin-right: 10px;
position: relative;
&::before {
position: absolute;
content: ":";
right: -8px;
top: -1px;
}
&:last-child {
margin-right: 0;
&::before {
display: none;
}
}
}
}
}
.txt {
padding: 10px 0;
}
.name-leader {
padding-bottom: 10px;
display: block;
}
.btn-blue {
text-align: center;
margin: 0 auto;
padding: 7px 0;
display: block;
width: 100px;
font-size: 14px;
text-transform: uppercase;
color: #fff;
font-weight: 700;
border-radius: 17px;
background: linear-gradient(90deg, #0090f9 -5.98%, #00b2ff 100%);
}
.info-pay {
border-radius: 12px;
border: 1px solid #dadada;
padding: 10px;
margin: 10px 0;
.title {
margin: 0 auto 5px auto;
padding: 0;
text-transform: uppercase;
font-size: 13px;
}
.left {
width: 86px;
height: 86px;
}
.right {
margin-left: 15px;
width: calc(100% - 96px);
span {
display: block;
}
}
}
.box-timeout-pay {
margin-bottom: 5px;
.product-time-holder {
margin-left: 5px;
b {
margin-right: 10px;
position: relative;
&::before {
position: absolute;
content: ":";
right: -8px;
top: -1px;
}
&:last-child {
margin-right: 0;
&::before {
display: none;
}
}
}
}
}
.box-cskh {
border-radius: 5px;
border: 1px solid #f4f4f4;
background: #edf4ff;
box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
padding: 10px 40px;
text-align: center;
margin-bottom: 10px;
}
.name-group {
width: 100%;
box-shadow: 0px 2px 1px 0px rgba(0, 0, 0, 0.1);
border-radius: 5px;
border: 1px solid #f4f4f4;
height: 40px;
padding: 0 10px;
margin: 10px 0;
outline: none;
&::placeholder {
font-size: 13px;
color: rgba(172, 172, 172, 0.8);
}
&:focus {
border: 1px solid rgba(0, 0, 0, 0.1);
}
}
.vd {
font-size: 14px;
font-style: italic;
display: block;
}
.btn-add-group {
display: flex;
align-items: center;
justify-content: space-evenly;
margin: 15px auto;
width: 120px;
height: 30px;
line-height: 30px;
text-align: center;
border-radius: 17px;
background: var(--gadien1, linear-gradient(90deg, #f93c00 -5.98%, #ff7a00 100%));
color: #fff;
font-weight: 700;
i {
background: linear-gradient(90deg, #fff -11.54%, rgba(255, 255, 255, 0.17) 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 25px;
}
}
}
.tab-list {
margin: 20px 30px 10px 30px;
display: flex;
align-items: center;
.item {
width: calc(100% / 2);
height: 40px;
font-size: 16px;
font-weight: 700;
color: #fff;
text-transform: uppercase;
line-height: 40px;
text-align: center;
border-radius: 20px 20px 0px 0px;
background: linear-gradient(180deg, #a8a8a8 0%, #dadada 100%);
margin-right: 10px;
&:last-child {
margin-right: 0;
}
&.active {
background: var(--Gadien-9, linear-gradient(90deg, #f98600 -5.98%, #ffe500 100%));
}
a:hover {
color: #fff;
}
}
}
@media (max-width: 414px) {
.header .logo {
width: 100px;
}
.header .header-right .item .txt {
font-size: 11px;
}
}