@import url("https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); /* thay đổi màu sắc */ :root { --main-color: #166dd8; /* màu chính */ --color-bg-title-1: #ea3e00; /* màu nền chữ đỏ */ --color-bg-title-2: #f1b510; /* màu nền chữ vàng */ --color-box-auction: #166dd8; /* màu nền đấu giá kịch tính */ --color-bg-footer: #110e83; /* màu nền footer */ --bg-header: #166dd8; /* màu nền header */ --bg-top-auction: #ea3e00; /* màu nền tiêu đề top đấu giá sôi động */ --bg-list-auction: #166dd8; /* màu nền danh sách đấu giá */ --color-list-auction: #f1b510; /* màu nền tiều đề danh sách đấu giá */ --bg-deal: #ea3e00; /* màu nền box deal */ --border-faq: #110e83; /* màu border câu hỏi thường gặp */ --color-faq: #110e83; /* màu chữ tiêu đề câu hỏi thường gặp */ --title-faq: #f8f8f8; /* màu nền tiêu đề câu hỏi */ --bg-time-auction: #166dd8; /* màu nền ngày hội đấu giá */ --bg-timeout-detail: #ea3e00; /* màu nền thời gian đếm ngược đấu giá */ --bg-user-win: #ffe0ac; /* màu nền người chiến thắng đấu giá */ --bg-btn-auction: #f00000; /* màu nền nút tham gia đấu giá */ --bg-time-deal: #ee4d2d; /* màu nền thời gian đếm ngược deal */ --bg-btn-deal: #166dd8; /* màu nền nút mua sp deal */ --bg-list-deal-ongoing: #ee4d2d; /* màu nền danh sách sản phẩm đang diễn ra chi tiết deal */ } ::-webkit-scrollbar-track { background-color: #f5f5f5; border-radius: 10px; } ::-webkit-scrollbar { width: 7px; height: 5px; background-color: #f5f5f5; } ::-webkit-scrollbar-thumb { background: #a4a4a4; border-radius: 20px; background-image: -webkit-gradient( linear, 0 0, 0 100%, color-stop(0.7, #a4a4a4), color-stop(0.5, transparent), to(transparent) ); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Kanit", sans-serif; } body { color: #222; font-family: "Kanit", sans-serif; font-size: 15px; margin: 0 auto; background: #fff; } html { font-size: 100%; font-family: "Kanit", sans-serif; } img { max-width: 100%; height: auto; } a { text-decoration: none; color: #000; } .clearfix { content: ""; clear: both; } li, ul { list-style: none; } table { border-collapse: collapse; width: 100%; } .ol, .ul { margin: 0; padding: 0; list-style: none; } .container { padding: 0 10px; width: 1210px !important; margin: 0 auto; } .icon_auction { background: url(../images/icon-auction.png) no-repeat; width: 14px; height: 14px; display: block; background-size: contain; } .icon-deal { display: block; width: 29px; height: 29px; background: url(../images/icon-flash.png) no-repeat; background-size: contain; } .icon-star { background: url(../images/icon-star.png) no-repeat; width: 80px; height: 12px; display: block; background-size: 100%; } .icon-star.star5 { background-position: 0 0; } .icon-star.star4 { background-position: 0 -17px; } .icon-star.star3 { background-position: 0 -34px; } .icon-star.star2 { background-position: 0 -50px; } .icon-star.star1 { background-position: 0 -67px; } .icon-star.star0 { background-position: 0 -84px; } .icon.auction { background: url(../images/icon-auction.png) no-repeat; background-size: contain; width: 15px; height: 15px; display: block; margin-right: 3px; } .icon.time { background: url(../images/icon-fire-time.png) no-repeat; background-size: contain; display: block; width: 20px; height: 20px; margin-right: 3px; } .icon-cup { background: url(../images/icon-cup.png) no-repeat; background-size: contain; width: 16px; height: 16px; display: block; margin-right: 10px; } .background-blue { background: var(--main-color) !important; } .background-red { background: var(--color-bg-title-1) !important; } .background-yellow { background: var(--color-bg-title-2) !important; } .background-footer { background: var(--color-bg-footer) !important; } .hover\:text-blue:hover { color: var(--main-color) !important; } .hover\:background-blue:hover { background: var(--main-color) !important; } .hover\:background-yellow:hover { background: var(--color-bg-title-2) !important; } .hover\:background-white:hover { background: #fff !important; } .hover\:text-yellow:hover { color: var(--color-bg-title-2) !important; } .hover\:text-red:hover { color: #f00000 !important; } .hover\:border-red:hover { border: 1px solid #f00000 !important; } .hover\:border-blue:hover { border: 1px solid var(--main-color) !important; } .hover\:border-yellow:hover { border: 1px solid var(--color-bg-title-2) !important; } .text-red { color: #f00000; } .btn-add { width: 140px; height: 32px; line-height: 30px; text-align: center; background: #f00000; color: #fff; text-align: center; border-radius: 26px; display: block; margin-top: 10px; } .btn-add:hover { border: 1px solid #f00000; color: #f00000; background: #fff; } .btn-add.continue { background: #5f00b1; } .btn-add.continue:hover { border: 1px solid #5f00b1; color: #5f00b1; background: #fff; } .box-time { display: flex; align-items: center; } .box-time .item-time { margin-left: 12px; display: flex; flex-wrap: wrap; justify-content: center; text-align: center; flex-direction: column; } .box-time .item-time b { width: 16px; height: 16px; line-height: 16px; text-align: center; color: #fff; font-weight: 700; position: relative; border-radius: 5px; } .box-time .item-time b::after { content: ":"; position: absolute; right: -8px; color: #fff; top: 0; } .box-time .item-time:first-child { margin-left: 0; } .box-time .item-time:last-child b { margin: 0; } .box-time .item-time:last-child b::after { content: none; } .tab-list .box-time b { background: #000; width: 26px; height: 26px; line-height: 26px; text-align: center; color: #fff; font-weight: 700; position: relative; border-radius: 5px; } .more-all { width: 110px; height: 32px; line-height: 31px; display: block; border-radius: 5px; border: 1px solid #fff; margin: 10px auto auto auto; text-align: center; color: #fff; } .more-all:hover { background: #fff; color: var(--main-color); } .saleoff { width: 42px; height: 20px; line-height: 20px; padding-left: 10px; background: #f00000; font-size: 12px; color: #fff; border-radius: 5px; font-weight: 600; position: relative; } .saleoff::before { position: absolute; left: -6px; top: 0; width: 15px; height: 20px; content: ""; background: url(../images/icon-flash.png) no-repeat; background-size: cover; } .box-faq .item.active .content { display: block; } .box-thumbImage .swiper-button-next::after { font-size: 16px; color: #000; font-weight: 700; } .box-thumbImage .swiper-button-next { position: absolute; top: 468px; transform: rotate(90deg); left: 35%; } .box-thumbImage .swiper-button-prev { position: absolute; top: 0; transform: rotate(90deg); left: 35%; } .box-thumbImage .swiper-button-prev::after { font-size: 16px; color: #000; font-weight: 700; } .box-thumbImage .swiper-slide { cursor: pointer; } .box-thumbImage img { width: 100%; height: 100%; object-fit: contain; } .box-thumbImage .swiper-slide-thumb-active img { opacity: 1; border: 1px solid transparent; border-image: linear-gradient( 359.53deg, #3935c8 82.81%, #1355f0 92%, #0caaf9 99.12% ); border-image-slice: 1; border-radius: 10px; } .item-tab.active { background: var(--main-color); color: #fff; } .item-tab:hover { background: var(--main-color); color: #fff; } .tab-history .item-tab.active, .tab-history .item-tab:hover { background: #fff; box-shadow: 0px 4px 4px 0px #00000040; color: #000; border-radius: 20px; } .active { display: block !important; } .table-tab thead { background: #fff; } .table-tab th { position: sticky; top: 0; width: 30%; height: 35px; background: #fff; border-bottom: 1px solid #dfdfdf; } .table-tab td { width: 30%; height: 35px; border-bottom: 1px solid #dfdfdf; } .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; } .box-popup { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 2px solid var(--color-bg-title-2); width: 590px; border-radius: 30px; padding: 15px; background: #fff; z-index: 999; display: none; &.active { display: block; } } .input-checkbox { margin-top: 12px; display: block; position: relative; padding-left: 30px; margin-bottom: 12px; cursor: pointer; font-size: 14px; font-weight: 500; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .input-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } .input-checkbox input:checked ~ .checkmark { background-color: #3194fc; } .input-checkbox .checkmark { position: absolute; top: 0; left: 0; height: 20px; width: 20px; background-color: #eee; border-radius: 15px; } .input-checkbox .checkmark:after { content: ""; position: absolute; display: block; } .input-checkbox:hover input ~ .checkmark { background-color: #3194fc; } .input-checkbox input:checked ~ .checkmark:after { display: block; } .input-checkbox .checkmark:after { left: 8px; top: 4px; width: 5px; height: 10px; border: solid white; border-width: 0 3px 3px 0; transform: rotate(45deg); } .radio-checkbox { display: block; position: relative; padding-left: 30px; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; user-select: none; line-height: 20px; } .radio-checkbox input { position: absolute; opacity: 0; cursor: pointer; } .radio-checkbox .checkmark { position: absolute; top: 0; left: 0; height: 20px; width: 20px; background-color: #eee; border-radius: 50%; } .radio-checkbox:hover input ~ .checkmark { background-color: #ccc; } .radio-checkbox input:checked ~ .checkmark { background-color: var(--main-color); } .radio-checkbox .checkmark:after { content: ""; position: absolute; display: none; } .radio-checkbox input:checked ~ .checkmark:after { display: block; } .radio-checkbox .checkmark:after { top: 6px; left: 5.5px; width: 9px; height: 9px; border-radius: 50%; background: white; } .popup-success::before { position: absolute; content: ""; background: url(../images/background-firework.png) no-repeat; background-size: contain; width: 120px; height: 85px; left: 0; top: 20px; } .popup-success::after { position: absolute; content: ""; background: url(../images/background-firework.png) no-repeat; background-size: contain; width: 120px; height: 85px; right: 0; top: 20px; transform: scaleX(-1); } .item-input.error .note-error { color: #f00000; font-size: 12px; } .table-history thead { position: sticky; top: 0; } .table-history th { background: #e2e2e2; height: 40px; padding: 0 10px; } .table-history td { height: 40px; padding: 0 10px; } .table-history .status.ship { color: #17c967; } .table-history .status.cancel { color: #d00000; } .table-history .status.processing { color: #f48320; } .table-history .status.success { color: #0caaf9; } .tab-list.auction .item.active, .tab-list.auction .item:hover { background: var(--color-bg-title-2); display: flex !important; } .box-deal-hot .item.active, .box-deal-hot .item:hover { background: var(--main-color); display: flex !important; } .mode-edit { top: -50px; left: 0; z-index: 1000; width: 100%; display: block; transition: 0.3s; } .mode-edit.fixed { position: fixed; top: 0; } #toggleEditMode { background: #2578e7; height: 30px; color: #fff; border-radius: 5px; display: block; white-space: nowrap; } .editable-element { position: relative; } .edit-button { display: none; position: absolute; top: -25px; right: 0; background-color: #2578e7; color: white; padding: 5px; border-radius: 4px; cursor: pointer; font-size: 12px; } .editable-element.editable { border: 1px solid #ddd; } .editable-element.editable .edit-button { display: block; } .tab-bar { display: none; margin-top: 10px; padding: 15px; border-radius: 5px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); position: fixed; right: 10px; top: 50px; width: 400px; height: 520px; overflow: auto; background: #fff; } .editable-container { position: relative; } .apply-button { background-color: #28a745; color: white; padding: 5px 10px; border-radius: 3px; cursor: pointer; transition: background-color 0.3s ease; } .apply-button:hover { background-color: #218838; } .cancel-button { background-color: rgba(255, 0, 0, 0.951); color: white; padding: 5px 10px; border-radius: 3px; cursor: pointer; transition: background-color 0.3s ease; margin-left: 10px; } .cancel-button:hover { background-color: rgba(255, 0, 0, 0.951); } .edit-position.active { border: 1px solid #2578e7; background: #2578e7; color: #fff; } .box-faq .editable-element.editable { border: 2px solid #110e83; } .or { display: flex; align-items: center; text-align: center; margin: 20px 0; } .or::before, .or::after { content: ""; flex: 1; border-bottom: 1px solid #f1f1f1; } .or:not(:empty)::before { margin-right: 10px; } .or:not(:empty)::after { margin-left: 10px; } .box-spec td { padding: 5px !important; text-align: left !important; } .box-spec .content { overflow: hidden; max-height: 630px; } .box-spec .content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100px; background: -webkit-gradient( linear, left top, left bottom, from(transparent), to(#fff) ); background: linear-gradient(transparent, #fff); } .box-spec tr:nth-child(2n) { background: #f5f5f5; } #content-desciption::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 100px; background: -webkit-gradient( linear, left top, left bottom, from(transparent), to(#fff) ); background: linear-gradient(transparent, #fff); } #content-desciption.active { height: 100% !important; } #content-desciption.active::after { display: none; }