Files
admin_hura_8/assets/script/pc_style.css

835 lines
16 KiB
CSS
Raw Normal View History

2024-01-24 17:01:14 +07:00
@charset "UTF-8";
2024-01-17 14:08:14 +07:00
*,
::after,
::before {
box-sizing: border-box;
}
button,
input,
select {
outline: none !important;
color: #000;
border-radius: 0;
}
button,
input {
overflow: visible;
}
button,
input,
optgroup,
select,
textarea {
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
border-radius: 0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type=number] {
-moz-appearance: textfield;
}
body {
color: #000;
font-family: "Inter", sans-serif;
background: #fafafb;
position: relative;
font-size: 14px;
word-break: break-word;
counter-reset: section;
font-weight: 400;
line-height: 1.5;
margin: auto;
}
img {
max-width: 100%;
height: auto;
}
a {
text-decoration: none;
}
::-webkit-scrollbar-track {
background: #f5f5f5;
}
::-webkit-scrollbar-thumb {
background: grey;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #ccc;
}
::-webkit-scrollbar {
width: 8px;
height: 10px;
}
.clearfix::after {
content: "";
clear: both;
display: block;
}
.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;
}
.icons {
background: url(../images/global-sprite.png) no-repeat;
background-size: 400px 400px;
2024-01-24 17:01:14 +07:00
background-position: 0 40px;
2024-01-17 14:08:14 +07:00
}
.admin-global-container {
max-width: 1720px;
margin: auto;
display: flex;
}
.admin-menu-container {
position: relative;
overflow: auto;
background: #004e99;
color: #fff;
2024-01-27 11:19:25 +07:00
width: 18%;
2024-01-17 14:08:14 +07:00
padding: 20px 0;
line-height: 20px;
}
.admin-menu-container a {
color: #fff;
}
.admin-menu-container .menu-logo {
display: table;
margin-bottom: 50px;
margin-left: 16px;
}
.admin-menu-container .menu-logo img {
height: 22px;
}
.admin-menu-container .menu-list {
margin: 50px 0;
}
.admin-menu-container details[open] svg {
transform: rotate(90deg);
}
.admin-menu-container details[open] summary {
background: #81b5e4;
}
.admin-menu-container details[open] summary a {
font-weight: 700;
}
.admin-menu-container details[open] .icons {
filter: brightness(100);
}
2024-01-24 17:01:14 +07:00
.admin-menu-container details[open] .fa-angle-right {
transform: rotate(90deg);
}
2024-01-17 14:08:14 +07:00
.admin-menu-container summary {
display: flex;
align-items: center;
justify-content: space-between;
cursor: pointer;
padding-right: 16px;
border-radius: 4px;
position: relative;
transition: 0.3s all;
}
.admin-menu-container summary a {
padding: 8px 16px;
display: flex;
align-items: center;
}
.admin-menu-container svg {
position: absolute;
right: 16px;
transition: 0.3s all;
}
.admin-menu-container .item {
display: flex;
align-items: center;
padding: 0 16px;
line-height: 36px;
transition: 0.3s all;
border-radius: 4px;
}
.admin-menu-container .item:hover {
background: #81b5e4;
}
.admin-menu-container .item:hover .icons {
filter: brightness(100);
}
2024-01-24 17:01:14 +07:00
.admin-menu-container .item .icons {
width: 20px;
height: 20px;
margin-right: 13px;
}
2024-01-17 14:08:14 +07:00
.admin-menu-container .title {
width: calc(100% - 33px);
}
.admin-menu-container .sub-menu {
padding: 13px 13px 13px 45px;
position: relative;
}
.admin-menu-container .sub-menu::before {
content: "";
width: 1px;
height: calc(100% - 39px);
background: #79b0e2;
position: absolute;
left: 20px;
top: 20px;
}
.admin-menu-container .sub-menu a {
display: block;
margin-bottom: 15px;
position: relative;
}
.admin-menu-container .sub-menu a:hover {
text-decoration: underline;
}
2024-01-24 17:01:14 +07:00
.admin-menu-container .sub-menu a.current {
font-weight: 700;
text-decoration: none;
}
2024-01-17 14:08:14 +07:00
.admin-menu-container .sub-menu a::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: #79b0e2;
position: absolute;
top: 6px;
left: -28px;
}
.admin-menu-container .sub-menu a:last-child {
margin: 0;
}
.admin-menu-container .icon-home {
background-position: -9px -7px;
}
2024-01-24 10:07:21 +07:00
.admin-menu-container .icon-order {
2024-01-17 14:08:14 +07:00
background-position: -45px -7px;
}
.admin-menu-container .icon-product {
background-position: -81px -8px;
}
2024-01-24 10:07:21 +07:00
.admin-menu-container .icon-customer {
2024-01-17 14:08:14 +07:00
background-position: -117px -8px;
}
.admin-menu-container .icon-marketing {
background-position: -154px -8px;
}
.admin-menu-container .icon-content {
background-position: -187px -8px;
}
.admin-menu-container .icon-stats {
background-position: -224px -8px;
}
.admin-menu-container .icon-system {
background-position: -262px -8px;
}
.admin-menu-container .icon-settings {
background-position: -297px -8px;
}
.admin-menu-container .icon-support {
background-position: -332px -7px;
}
.admin-menu-container .icon-account {
background-position: -367px -9px;
}
.admin-menu-container .icon-logout {
background-position: -9px -45px;
}
2024-01-19 15:21:00 +07:00
.admin-menu-container .icon-close {
position: absolute;
right: 10px;
}
2024-01-24 17:01:14 +07:00
.admin-menu-container .icon-investor_relation {
background-position: -9px -126px;
}
.admin-menu-container .icon-job {
background-position: -52px -126px;
}
.admin-menu-container .icon-pcbuilder {
background-position: -99px -126px;
}
.admin-menu-container .icon-payinstall {
background-position: -142px -125px;
}
.admin-menu-container .icon-distributor {
background-position: -187px -126px;
}
2024-01-17 14:08:14 +07:00
.admin-menu {
color: #fff;
z-index: 1;
}
.admin-menu .item {
display: flex;
align-items: center;
transition: 0.3s all;
position: relative;
}
.admin-menu .item:hover {
background: #81b5e4;
}
.admin-menu .item:hover .icons {
filter: brightness(100);
}
.admin-menu .item:hover .sub-menu {
left: calc(100% + 8px);
opacity: 1;
visibility: inherit;
}
2024-01-20 10:47:38 +07:00
.admin-menu .item:hover::before {
display: block;
}
.admin-menu .item.bottom .sub-menu {
top: unset;
}
2024-01-19 15:21:00 +07:00
.admin-menu .item.bottom:hover .sub-menu {
top: auto;
bottom: 0;
}
2024-01-20 10:47:38 +07:00
.admin-menu .item::before {
position: absolute;
content: "";
width: 50px;
right: -20px;
height: 41px;
display: none;
}
2024-01-24 17:01:14 +07:00
.admin-menu .item:nth-child(n+13) .sub-menu {
top: unset;
}
2024-01-17 14:08:14 +07:00
.admin-menu .sub-menu {
padding: 10px 22px 10px 15px;
border-radius: 6px;
background: #004e99;
box-shadow: 0px 2px 2px 0px rgba(0, 0, 0, 0.25);
white-space: nowrap;
min-width: 150px;
z-index: -1;
transition: 0.2s all;
position: absolute;
left: calc(100% + 30px);
top: 0;
opacity: 0;
visibility: hidden;
min-width: 200px;
}
.admin-menu .sub-menu a {
display: block;
margin-bottom: 12px;
line-height: 18px;
position: relative;
}
.admin-menu .sub-menu a:hover {
text-decoration: underline;
}
2024-01-24 17:01:14 +07:00
.admin-menu .sub-menu a.current {
font-weight: 700;
text-decoration: none;
}
2024-01-17 14:08:14 +07:00
.admin-menu .sub-menu a::before {
content: "";
width: 8px;
height: 8px;
border-radius: 50%;
background: #79b0e2;
position: absolute;
top: 6px;
2024-01-20 10:47:38 +07:00
left: -16px;
2024-01-17 14:08:14 +07:00
}
.admin-menu .sub-menu a:last-child {
margin: 0;
}
.admin-menu .menu-list {
padding-left: 16px;
margin-top: 10px;
position: relative;
2024-01-20 10:47:38 +07:00
max-height: 350px;
overflow-y: auto;
padding-right: 10px;
margin-right: -12px;
2024-01-17 14:08:14 +07:00
}
.admin-menu .menu-list::before {
content: "";
width: 1.5px;
background: #79b0e2;
position: absolute;
2024-01-20 10:47:38 +07:00
left: 3px;
2024-01-17 14:08:14 +07:00
top: 7px;
bottom: 7px;
}
2024-01-20 10:47:38 +07:00
.admin-menu .menu-list::-webkit-scrollbar-thumb {
background: #fff;
}
.admin-menu .menu-list::-webkit-scrollbar-track {
background: transparent;
}
2024-01-17 14:08:14 +07:00
.admin-menu .icons {
width: 50px;
height: 40px;
}
.admin-menu .icon-home {
background-position: 7px 3px;
}
.admin-menu .icon-sell {
background-position: -29px 3px;
}
.admin-menu .icon-product {
background-position: -66px 3px;
}
.admin-menu .icon-user {
background-position: -103px 3px;
}
.admin-menu .icon-marketing {
background-position: -139px 3px;
}
.admin-menu .icon-content {
background-position: -172px 3px;
}
.admin-menu .icon-stats {
background-position: -208px 3px;
}
.admin-menu .icon-system {
background-position: -247px 3px;
}
.admin-menu .icon-settings {
background-position: -282px 2px;
margin-left: -1px;
}
.admin-menu .icon-support {
background-position: -318px 3px;
}
.admin-menu .icon-account {
background-position: -354px 2px;
}
.admin-menu .icon-logout {
background-position: 6px -34px;
}
2024-01-24 17:01:14 +07:00
.admin-menu .icon-investor_relation {
background-position: 6px -115px;
}
.admin-menu .icon-job {
background-position: -37px -114px;
}
.admin-menu .icon-pcbuilder {
background-position: -83px -114px;
}
.admin-menu .icon-payinstall {
background-position: -128px -114px;
}
.admin-menu .icon-distributor {
background-position: -173px -114px;
}
2024-01-20 10:47:38 +07:00
.admin-menu .logo {
position: relative;
}
2024-01-19 15:21:00 +07:00
.admin-menu .icon-close {
position: absolute;
2024-01-20 10:47:38 +07:00
top: 0;
2024-01-19 15:21:00 +07:00
right: -30px;
height: 30px;
width: 30px;
2024-01-24 10:07:21 +07:00
display: block;
2024-01-19 15:21:00 +07:00
background-color: rgb(0 78 153/var(--tw-bg-opacity));
}
.admin-menu .icon-close i {
display: block;
margin: 0 auto;
text-align: center;
margin-top: 6px;
line-height: 20px;
}
2024-01-17 14:08:14 +07:00
2024-01-27 11:19:25 +07:00
.admin-content-container {
width: calc(100% - 50px);
}
.admin-content-container.show-large-menu {
width: 82%;
}
2024-01-17 14:08:14 +07:00
.admin-content-container .note-list {
min-width: 144px;
}
.admin-content-container .note-list a {
display: block;
padding: 0 10px;
line-height: 35px;
transition: 0.2s all;
}
.admin-content-container .note-list a:hover {
background: #f5f7ff;
color: #0041e8;
font-weight: 600;
}
.admin-content-container .content-holder {
padding: 16px 0 16px 16px;
}
.table-fixed {
text-align: center;
}
.table-fixed td {
padding: 13px 8px;
border: 1px solid #ececec;
}
.table-fixed tbody td {
padding: 5px 8px;
}
.table-fixed tbody td:nth-child(2), .table-fixed tbody td:nth-child(3) {
text-align: left;
}
.table-fixed tbody td:nth-child(2) {
color: #0041e8;
}
.admin-home-tab {
overflow: auto;
}
.admin-home-tab a {
color: #a0a8b5;
padding: 9px 7.7px;
text-align: center;
border-right: 1px solid #dde1eb;
white-space: nowrap;
}
.admin-home-tab a:last-child {
border: 0;
}
.admin-home-tab a:hover, .admin-home-tab a.current {
background: #0041e8;
color: #fff;
}
.home-report-holder {
display: none;
}
.home-report-holder table {
width: 100%;
line-height: 20px;
text-align: center;
}
.home-report-holder thead {
background: #f6f6f6;
font-weight: 500;
}
.home-report-holder td {
border: 1px solid #ececec;
padding: 14px 5px;
}
.home-report-holder td a {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.home-report-holder td:nth-child(2) {
text-align: left;
}
.home-todo-list td {
padding: 0 4px;
color: #000 !important;
}
.home-todo-list td:nth-child(1), .home-todo-list td:nth-child(3), .home-todo-list td:nth-child(4) {
white-space: nowrap;
}
.product-list th {
padding: 10px;
border: 1px solid #ececec;
background: #f6f6f6;
}
.product-list td {
padding: 8px;
border: 1px solid #ececec;
}
.product-sale-info td {
padding: 14px;
border: 1px solid #ececec;
}
input[type=radio] {
position: absolute;
}
input[type=radio]:before {
content: "";
background: #fff;
border-radius: 100%;
border: 1.5px solid #0041e8;
display: inline-block;
width: 20px;
height: 20px;
position: relative;
top: -0.2em;
margin-right: 1em;
vertical-align: top;
cursor: pointer;
text-align: center;
transition: all 250ms ease;
}
input[type=radio]:checked:before {
background-color: #0041e8;
box-shadow: inset 0 0 0 4px #fff;
}
input[type=radio]:focus:before {
outline: none;
border-color: #0041e8;
}
.table-seo td {
padding: 14px;
border: 1px solid #ececec;
}
.product-specifications td {
padding: 14px;
border: 1px solid #ececec;
}
.table-config th {
padding: 10px 5px;
background: #f6f6f6;
border: 1px solid #ececec;
}
.table-config td {
padding: 10px;
border: 1px solid #ececec;
}
.accessory th {
padding: 10px 5px;
background: #f6f6f6;
border: 1px solid #ececec;
}
.accessory td {
padding: 10px 6px;
border: 1px solid #ececec;
2024-01-23 10:40:23 +07:00
}
.icons {
width: 30px;
height: 30px;
display: block;
}
.icons.icon-search {
background-position: -71px -40px;
}
.icons.header-support {
height: 33px;
background-position: -116px -42px;
}
.icons.icon-notification {
height: 33px;
background-position: -165px -42px;
}
.icons.icon-cart {
background-position: -210px -36px;
}
.icons.icon-contact {
background-position: -246px -36px;
}
.icons.icon-pay {
background-position: -284px -36px;
}
.icons.icon-installment {
background-position: -318px -36px;
}
.icons.icon-increase {
width: 20px;
height: 20px;
background-position: -6px -85px;
}
.icons.icon-reduce {
width: 20px;
height: 20px;
background-position: -43px -83px;
2024-01-24 10:07:21 +07:00
}
.admin-header-container .menu-hide {
margin-left: 30px;
2024-01-24 17:01:14 +07:00
}
/* Bán hàng */
.order-page .order-page-title a {
margin: 0 2px 0 0;
border-radius: 4px 4px 0px 0px;
background: #F6F6F6;
color: #919699;
font-weight: 500;
padding: 0 24px;
}
.order-page .order-page-title a:hover, .order-page .order-page-title a.current, .order-page .order-page-title a.active {
background: #0041E8;
color: #fff;
}
.order-page .order-page-table {
text-align: center;
}
2024-01-26 11:51:46 +07:00
.order-page .order-page-table thead td {
padding: 8px;
}
.order-page .order-page-table td {
padding: 14px 8px;
}
2024-01-27 11:19:25 +07:00
.order-page .order-page-table td:nth-child(4), .order-page .order-page-table td:nth-child(10) {
text-align: left;
}
2024-01-26 11:51:46 +07:00
.order-page .order-page-table .icons {
width: 30px;
height: 30px;
border: 1px solid #ECECEC;
background-color: #F9F9F9;
border-radius: 5px;
}
.order-page .order-page-table .icon-edit {
border: 1px solid #0041E8;
background-color: #F5F7FF;
background-position: -108px -82px;
margin-right: 6px;
}
.order-page .order-page-table .icon-delete {
background-position: -145px -82px;
}
.order-page-table {
line-height: 20px;
}
.order-page-table a {
2024-01-24 17:01:14 +07:00
color: #0041E8;
}
2024-01-26 11:51:46 +07:00
.order-page-table a:hover {
2024-01-24 17:01:14 +07:00
text-decoration: underline;
}
2024-01-26 11:51:46 +07:00
.order-page-table table {
2024-01-24 17:01:14 +07:00
width: 100%;
}
2024-01-26 11:51:46 +07:00
.order-page-table thead {
2024-01-24 17:01:14 +07:00
background: #F6F6F6;
font-weight: 600;
2024-01-27 11:19:25 +07:00
text-align: center;
2024-01-24 17:01:14 +07:00
}
2024-01-26 11:51:46 +07:00
.order-page-table thead td {
2024-01-24 17:01:14 +07:00
padding: 8px;
}
2024-01-26 11:51:46 +07:00
.order-page-table td {
padding: 10px;
2024-01-24 17:01:14 +07:00
border: 1px solid #ECECEC;
text-transform: capitalize;
}
2024-01-26 11:51:46 +07:00
.order-page-table td * {
2024-01-24 17:01:14 +07:00
display: inline-block;
}
2024-01-26 11:51:46 +07:00
.order-page-table select {
2024-01-24 17:01:14 +07:00
border-radius: 4px;
border: 1px solid #D8D8D8;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
height: 32px;
display: block;
width: 100%;
padding: 0 0 0 5px;
}
2024-01-27 10:41:35 +07:00
.is-close-btn {
background: #ECECEC !important;
border-radius: 50%;
top: 10px !important;
right: 10px !important;
color: #9E9E9E !important;
}
2024-01-24 17:01:14 +07:00
.paging {
margin: 30px 0;
display: flex;
align-items: center;
justify-content: center;
line-height: 28px;
}
.paging a {
margin: 0 3px;
min-width: 28px;
text-align: center;
font-size: 16px;
padding: 0 10px;
border-radius: 4px;
}
.paging a:hover, .paging a.current, .paging a.active {
background: #0041E8;
color: #fff;
2024-01-26 10:41:49 +07:00
}
.global-breadcrumb-container {
padding: 16px;
line-height: 20px;
}
.global-breadcrumb-container a {
display: inline-block;
}
.global-breadcrumb-container a:hover {
color: #0041E8;
}
.global-breadcrumb-container a::after {
content: "\f054";
font-family: Fontawesome;
font-size: 10px;
margin: 0 5px;
}
.global-breadcrumb-container a:last-child {
color: #0041E8;
}
.global-breadcrumb-container a:last-child::after {
content: none;
2024-01-17 14:08:14 +07:00
}/*# sourceMappingURL=pc_style.css.map */