Files
chuong_trinh_dau_gia_truc_t…/assets/css/style.scss
2023-12-25 13:51:24 +07:00

806 lines
19 KiB
SCSS

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");
::-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: #fff;
font-weight: normal;
font-size: 14px;
}
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: 1220px;
padding: 0 10px;
margin: 0 auto;
}
.header {
background: #fff;
box-shadow: 3px 0px 11.4px 0px rgba(0, 0, 0, 0.25);
.logo {
padding: 8px 0;
}
.box-user {
display: flex;
align-items: center;
.txt {
font-size: 16px;
color: #555;
}
.fa-user-circle-o {
color: #555;
font-size: 23px;
margin-left: 7px;
}
}
}
.homepage {
.ground-list-product {
margin: 30px 0;
}
.box-list-product {
margin-bottom: 40px;
.title {
font-size: 36px;
font-weight: 700;
text-transform: uppercase;
background: var(--Linear, linear-gradient(0deg, #8b0009 0%, #f80009 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
padding-bottom: 26px;
position: relative;
&::before {
position: absolute;
content: "";
width: 173px;
height: 1.5px;
background: linear-gradient(0deg, #8b0009 0%, #f80009 100%);
left: 50%;
bottom: 23px;
transform: translate(-50%, 0);
}
}
}
}
.box-questions {
margin-bottom: 40px;
.content-questions {
border-radius: 12px;
box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.25);
}
.title {
font-size: 24px;
font-weight: 600;
color: #1f8cff;
text-align: center;
text-transform: uppercase;
padding: 13px 0;
}
.content {
padding: 10px;
}
[data-toggle="collapse"].collapsed .fa:before {
content: "\f105";
font-size: 20px;
}
[data-toggle="collapse"] .fa:before {
content: "\f107";
font-size: 20px;
}
.card {
margin-bottom: 12px;
border-radius: 5px;
border: 1px solid #b8b8b8;
background: #fff;
}
.card-header {
background: #fff;
border-radius: 5px;
border-bottom: 0;
padding: 10px 10px 5px 10px;
font-size: 18px;
font-weight: 500;
color: #3a3a3a;
}
.card-body {
padding: 0 10px 10px 10px;
}
.card-link.collapsed {
.card-header {
padding-bottom: 10px;
}
}
}
.product-item {
margin-right: 12px;
margin-bottom: 20px;
width: calc(100% / 5 - 12px);
.product-image {
display: block;
width: 100%;
height: 230px;
border: 1px solid #eaeaea;
margin-bottom: 10px;
position: relative;
img {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
display: block;
margin: auto;
}
}
.product-name {
font-size: 16px;
font-weight: 600;
height: 45px;
text-align: center;
margin-bottom: 10px;
}
.product-cost {
text-align: center;
font-size: 14px;
font-weight: 400;
color: #343434;
margin-bottom: 10px;
}
.starting-price {
display: block;
color: #e70000;
font-size: 16px;
font-weight: 700;
text-align: center;
margin-bottom: 10px;
}
.deal-time-holder {
margin-bottom: 10px;
}
.product-time-holder {
display: flex;
align-items: center;
.item-time {
margin-left: 10px;
display: flex;
flex-wrap: wrap;
justify-content: center;
text-align: center;
flex-direction: column;
border: 0.559px solid var(--Linear, #ff3d00);
border-radius: 2.238px;
background: #fff;
b {
width: 25px;
height: 23px;
line-height: 23px;
text-align: center;
color: #fff;
font-weight: 700;
position: relative;
font-size: 14px;
background: var(--Linear, linear-gradient(90deg, #ff3d00 3.91%, #ffa800 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
&::after {
content: ":";
position: absolute;
right: -8px;
background: var(--Linear, linear-gradient(90deg, #ff3d00 3.91%, #ffa800 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
&:last-child b {
margin: 0;
&::after {
content: none;
}
}
}
}
.btn-auction {
display: block;
border-radius: 24px;
border: 1px solid #3194fc;
height: 40px;
line-height: 38px;
text-align: center;
color: #3194fc;
font-size: 18px;
font-weight: 700;
&:hover {
background: #3194fc;
color: #fff;
}
}
.deal-time-holder.end .txt {
border-radius: 25px;
background: #ededed;
height: 24px;
padding: 0 15px;
line-height: 24px;
font-weight: 700;
}
}
.footer {
background: #f3f3f3;
.main-content-footer {
padding: 40px 0;
}
.footer-left {
width: 53%;
h3,
p {
font-size: 14px;
font-weight: 400;
margin-bottom: 2px;
line-height: 20px;
}
}
.footer-right {
a {
width: 280px;
border-radius: 25px;
position: relative;
text-decoration: none;
}
.txt {
height: 50px;
display: flex;
flex-direction: column;
justify-content: center;
padding: 10px 50px 10px 20px;
color: #1c4a10;
font-size: 15px;
font-weight: 600;
line-height: 17px;
position: relative;
background: #f2ffea;
background-clip: padding-box;
-webkit-background-clip: padding-box;
border: 2px solid transparent;
margin: auto;
border-radius: 25px;
border: 1px solid #03ae00;
&::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
margin: -3px;
border-radius: inherit;
background-image: linear-gradient(to right, #03ae00, #f2ffea);
}
}
img {
position: absolute;
right: 10px;
}
}
}
// breadcrumb
.breadcrumb {
background: #fff;
padding: 0;
margin-top: 10px;
}
.breadcrumb ol {
width: 100%;
float: left;
padding: 0;
margin: 0;
background: none;
}
.breadcrumb ol li {
float: left;
list-style: none;
}
.breadcrumb ol li a span {
font-size: 14px;
line-height: 45px;
float: left;
display: flex;
align-items: center;
color: #000;
}
.breadcrumb ol li a span:hover {
color: var(--color-hover);
}
.breadcrumb ol li a:last-child {
color: #222;
}
.breadcrumb ol li h1 {
font-size: 15px;
line-height: 40px;
float: left;
font-weight: 400;
margin: 0;
}
.breadcrumb ol li i {
margin-left: 10px;
margin-right: 10px;
float: left;
line-height: 45px;
}
.breadcrumb ol li:last-child i {
display: none;
}
.breadcrumb i {
color: #333;
font-size: 12px;
}
.background-white {
background: #fff;
padding: 10px;
border-radius: 12px;
box-shadow: 0px 0px 16px 0px rgba(141, 141, 141, 0.25);
}
.page-product-detail {
.box-product-info {
margin-bottom: 12px;
}
.product-image {
width: 50%;
margin-right: 15px;
height: 540px;
overflow: hidden;
border: 1px solid #eaeaea;
img {
height: 100%;
width: 100%;
display: block;
margin: 0 auto;
}
}
.info-right {
width: calc(50% - 15px);
.name {
font-size: 24px;
font-weight: 600;
margin-bottom: 12px;
}
.box-price-normal {
font-size: 16px;
}
.name-price {
margin-right: 5px;
font-size: 16px;
}
.current-highest-price {
margin: 10px 0;
b {
font-size: 24px;
font-weight: 700;
color: #e70000;
}
}
.qt-view {
margin-bottom: 10px;
font-size: 16px;
b {
color: #0061d3;
font-size: 18px;
}
}
.box-time {
margin-bottom: 10px;
span {
font-size: 16px;
}
.item-time {
position: relative;
margin-left: 20px;
display: flex;
flex-wrap: wrap;
justify-content: center;
text-align: center;
flex-direction: column;
border: 1.5px solid transparent;
background: #fff;
background-clip: padding-box;
border-radius: 5px;
&::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
margin: -1.5px;
border-radius: inherit;
background: linear-gradient(to right, #ff3d00, #ffa800);
}
b {
width: 38px;
height: 35px;
line-height: 35px;
text-align: center;
color: #000;
font-weight: 700;
position: relative;
font-size: 20px;
&::after {
content: ":";
position: absolute;
right: -15px;
font-size: 24px;
background: var(--Linear, linear-gradient(90deg, #ff3d00 3.91%, #ffa800 100%));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
&:last-child b {
margin: 0;
&::after {
content: none;
}
}
}
}
.box-input-price {
margin-bottom: 10px;
span {
margin-right: 5px;
}
.input-price {
height: 50px;
width: 135px;
border: 1px solid #b1b1b1;
border-radius: 4px;
font-size: 20px;
color: #e70000;
text-align: center;
text-transform: uppercase;
font-weight: 700;
}
a {
display: block;
width: 50px;
height: 50px;
margin-left: 6px;
line-height: 50px;
text-align: center;
border: 1px solid #b1b1b1;
border-radius: 4px;
i {
color: #777474;
}
&.plus-price {
position: relative;
border: 1.5px solid transparent;
background: #fff;
background-clip: padding-box;
border-radius: 5px;
&::before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -1;
margin: -1.5px;
border-radius: inherit;
background: linear-gradient(to right, #ff3d00, #ffa800);
}
i {
color: #ff4d00;
}
}
}
}
.btn-add-auction {
display: block;
width: 100%;
height: 65px;
background: var(--Linear, linear-gradient(0deg, #8b0009 0%, #f80009 100%));
border-radius: 30px;
margin: 20px 0;
text-align: center;
line-height: 65px;
font-size: 24px;
font-weight: 600;
color: #fff;
}
}
.box-spec-deposit {
margin-bottom: 40px;
}
.box-specification {
width: 50%;
margin-right: 15px;
}
.box-auction-deposit {
width: calc(50% - 15px);
}
.box-participant-list {
.title {
font-size: 20px;
color: #e70000;
font-weight: 700;
padding-bottom: 10px;
border-bottom: 1px solid #7a7a7a;
}
td {
border-bottom: 1px solid #e6e6e6;
padding: 10px;
font-weight: 500;
}
tr:first-child {
td {
img {
margin-right: 5px;
}
span {
color: #2546bb;
}
}
}
.content {
max-height: 180px;
overflow-x: auto;
}
}
.box-specification {
.title {
font-size: 20px;
color: #e70000;
font-weight: 700;
padding-bottom: 10px;
border-bottom: 1px solid #dadada;
}
.content {
position: relative;
height: 287px;
overflow: hidden;
&::after {
position: absolute;
content: "";
background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
width: 100%;
height: 65px;
z-index: 1;
bottom: 0;
left: 0;
}
}
.more {
display: block;
width: 110px;
height: 30px;
line-height: 30px;
margin: 0 auto;
text-align: center;
border: 1px solid #3e5ed0;
border-radius: 30px;
color: #3e5ed0;
font-weight: 500;
}
}
.box-auction-deposit {
.title {
font-size: 20px;
color: #e70000;
font-weight: 700;
padding-bottom: 10px;
border-bottom: 1px solid #dadada;
}
.content {
p {
margin-bottom: 5px;
line-height: 23px;
}
img {
height: 120px;
margin-right: 10px;
}
}
}
.btn-add-auction.coming {
display: flex !important;
align-items: center;
justify-content: center;
position: relative;
background: linear-gradient(269deg, #ff3d00 3.91%, #ffa800 100%) !important;
}
.btn-add-auction.coming img {
width: 50px;
height: 50px;
position: absolute;
left: 10px;
}
.btn-add-auction.coming span {
margin-right: 10px;
}
.btn-add-auction.coming .item-time {
position: relative;
margin-right: 12px;
}
.btn-add-auction.coming .item-time::before {
position: absolute;
content: ":";
right: -9px;
top: -2px;
}
.btn-add-auction.coming .item-time:last-child::before {
display: none;
}
.btn-add-auction.ending {
background: linear-gradient(0deg, #8e8e8e 0%, #d5d5d5 100%);
color: #343434;
}
.price-win {
margin: 12px 0;
b {
color: #e70000;
font-size: 16px;
}
}
.user-win {
margin-bottom: 12px;
.name {
font-size: 16px;
font-weight: 400;
margin-bottom: 0;
}
span {
color: #0061d3;
font-weight: 700;
font-size: 18px;
margin-left: 5px;
}
}
}