update
This commit is contained in:
@@ -1,44 +0,0 @@
|
||||
|
||||
const RowExpand = (function (){
|
||||
|
||||
const $status_expand_all = $("#js-row-expand-all");
|
||||
|
||||
let track_open_rows = [];
|
||||
|
||||
function open_child_row(child_class_name){
|
||||
const $children = $(`.${child_class_name}`);
|
||||
|
||||
if(!track_open_rows.includes(child_class_name)) {
|
||||
$children.css('display', 'table-row');
|
||||
track_open_rows.push(child_class_name);
|
||||
}else{
|
||||
$children.css('display', 'none');
|
||||
track_open_rows = [...Util.removeItemFromArray(track_open_rows, child_class_name)];
|
||||
}
|
||||
}
|
||||
|
||||
function open_all_row(){
|
||||
if(!track_open_rows.includes('expand_all')) {
|
||||
$(".row").css('display', 'table-row');
|
||||
track_open_rows.push('expand_all');
|
||||
|
||||
$status_expand_all.html("[-]");
|
||||
|
||||
}else{
|
||||
// collapse all
|
||||
$(".row").css('display', 'none');
|
||||
// open only first parent
|
||||
$(".parent_0").css('display', 'table-row');
|
||||
|
||||
track_open_rows = [];
|
||||
|
||||
$status_expand_all.html("[+]");
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
open_child: open_child_row,
|
||||
open_all: open_all_row
|
||||
}
|
||||
|
||||
})();
|
||||
File diff suppressed because one or more lines are too long
@@ -1,915 +0,0 @@
|
||||
@charset "UTF-8";
|
||||
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css";
|
||||
:root {
|
||||
--p: 0.48 0.25 263.47;
|
||||
}
|
||||
|
||||
*,
|
||||
::after,
|
||||
::before {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
button,
|
||||
select {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
outline: none;
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
color: #000;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
input::-webkit-outer-spin-button,
|
||||
input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
input[type=number] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
input[type=date]::-webkit-calendar-picker-indicator {
|
||||
background: transparent;
|
||||
bottom: 0;
|
||||
color: transparent;
|
||||
cursor: pointer;
|
||||
height: auto;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
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;
|
||||
min-height: 100vh;
|
||||
min-width: 1200px;
|
||||
}
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table td,
|
||||
table th {
|
||||
padding: 8px !important;
|
||||
border: 1px solid #ececec;
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.icons {
|
||||
background: url(../images/global-sprite.png) no-repeat;
|
||||
background-size: 400px 400px;
|
||||
background-position: 0 40px;
|
||||
}
|
||||
|
||||
.admin-global-container {
|
||||
margin: auto;
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.admin-menu-container {
|
||||
position: relative;
|
||||
background: #004180;
|
||||
color: #fff;
|
||||
width: 245px;
|
||||
padding: 20px 0;
|
||||
line-height: 20px;
|
||||
height: 100vh;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.admin-menu-container.active {
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
.admin-menu-container.show {
|
||||
position: fixed;
|
||||
display: block;
|
||||
z-index: 999;
|
||||
}
|
||||
.admin-menu-container a {
|
||||
color: #fff;
|
||||
}
|
||||
.admin-menu-container .menu-logo {
|
||||
display: table;
|
||||
margin-bottom: 25px;
|
||||
margin-left: 16px;
|
||||
}
|
||||
.admin-menu-container .menu-logo img {
|
||||
height: 22px;
|
||||
}
|
||||
.admin-menu-container svg {
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
transition: 0.3s all;
|
||||
}
|
||||
.admin-menu-container .item.active {
|
||||
background: #22a2ff;
|
||||
}
|
||||
.admin-menu-container .item.active .icons {
|
||||
filter: brightness(100);
|
||||
}
|
||||
.admin-menu-container .item:hover {
|
||||
background: #22a2ff;
|
||||
}
|
||||
.admin-menu-container .item:hover .icons {
|
||||
filter: brightness(100);
|
||||
}
|
||||
.admin-menu-container .item:hover .hover-menu {
|
||||
display: block;
|
||||
}
|
||||
.admin-menu-container .item .icons {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 13px;
|
||||
}
|
||||
.admin-menu-container .title-main {
|
||||
width: 100%;
|
||||
}
|
||||
.admin-menu-container .box-item:hover .hover-menu {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
left: calc(100% + 10px);
|
||||
}
|
||||
.admin-menu-container .box-item:hover .hover-menu::before {
|
||||
display: block;
|
||||
}
|
||||
.admin-menu-container .sub-menu {
|
||||
position: relative;
|
||||
display: none;
|
||||
}
|
||||
.admin-menu-container .sub-menu a {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
margin-left: 25px;
|
||||
position: relative;
|
||||
}
|
||||
.admin-menu-container .sub-menu a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.admin-menu-container .sub-menu a.current {
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
background: #22a2ff;
|
||||
border-radius: 4px;
|
||||
}
|
||||
.admin-menu-container .sub-menu a:last-child::after {
|
||||
display: none;
|
||||
}
|
||||
.admin-menu-container .sub-menu a::before {
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #79b0e2;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: -16px;
|
||||
z-index: 9;
|
||||
}
|
||||
.admin-menu-container .sub-menu a::after {
|
||||
content: "";
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: -12px;
|
||||
}
|
||||
.admin-menu-container .sub-menu.active {
|
||||
display: block;
|
||||
}
|
||||
.admin-menu-container .hover-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;
|
||||
z-index: -1;
|
||||
transition: 0.2s all;
|
||||
position: absolute;
|
||||
left: calc(100% + 30px);
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
min-width: 200px;
|
||||
z-index: 999;
|
||||
max-height: 400px;
|
||||
overflow: auto;
|
||||
}
|
||||
.admin-menu-container .hover-menu.bottom {
|
||||
bottom: -30px;
|
||||
top: unset;
|
||||
}
|
||||
.admin-menu-container .hover-menu::before {
|
||||
position: absolute;
|
||||
left: -15px;
|
||||
top: 0;
|
||||
width: 30px;
|
||||
height: 100%;
|
||||
content: "";
|
||||
display: none;
|
||||
}
|
||||
.admin-menu-container .hover-menu a {
|
||||
display: block;
|
||||
line-height: 18px;
|
||||
position: relative;
|
||||
padding-bottom: 12px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
.admin-menu-container .hover-menu a::before {
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #79b0e2;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 0;
|
||||
z-index: 9;
|
||||
}
|
||||
.admin-menu-container .hover-menu a::after {
|
||||
content: "";
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
}
|
||||
.admin-menu-container .hover-menu a:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.admin-menu-container .hover-menu a:last-child::after {
|
||||
display: none;
|
||||
}
|
||||
.admin-menu-container .hover-menu a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.admin-menu-container .icon-home {
|
||||
background-position: -9px -7px;
|
||||
}
|
||||
.admin-menu-container .box-hover {
|
||||
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;
|
||||
position: fixed;
|
||||
left: 240px;
|
||||
top: 0;
|
||||
display: none;
|
||||
min-width: 200px;
|
||||
z-index: 999;
|
||||
max-height: 400px;
|
||||
overflow: auto;
|
||||
}
|
||||
.admin-menu-container .box-hover.active {
|
||||
display: block;
|
||||
}
|
||||
.admin-menu-container .box-hover::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
left: -29px;
|
||||
top: 0;
|
||||
width: 37px;
|
||||
height: 100%;
|
||||
}
|
||||
.admin-menu-container .box-hover a {
|
||||
display: block;
|
||||
line-height: 18px;
|
||||
position: relative;
|
||||
padding-bottom: 12px;
|
||||
padding-left: 20px;
|
||||
}
|
||||
.admin-menu-container .box-hover a::before {
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #79b0e2;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 0;
|
||||
z-index: 9;
|
||||
}
|
||||
.admin-menu-container .box-hover a::after {
|
||||
content: "";
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
}
|
||||
.admin-menu-container .box-hover a:last-child {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.admin-menu-container .box-hover a:last-child::after {
|
||||
display: none;
|
||||
}
|
||||
.admin-menu-container .box-hover a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.admin-menu-container .icon-order {
|
||||
background-position: -45px -7px;
|
||||
}
|
||||
.admin-menu-container .icon-product {
|
||||
background-position: -81px -8px;
|
||||
}
|
||||
.admin-menu-container .icon-customer {
|
||||
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;
|
||||
}
|
||||
.admin-menu-container .icon-close {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
|
||||
.admin-content-container {
|
||||
width: calc(100% - 245px);
|
||||
overflow: auto;
|
||||
}
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
.icons.icon-edit {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -114px -89px;
|
||||
}
|
||||
.icons.icon-view {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -187px -88px;
|
||||
}
|
||||
.icons.icon-remove {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -151px -88px;
|
||||
}
|
||||
.icons.icon-hide {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -224px -88px;
|
||||
}
|
||||
.icons.icon-upload {
|
||||
background-position: -2px -43px;
|
||||
transform: rotate(-90deg);
|
||||
filter: invert(60%) sepia(90%) saturate(6183%) hue-rotate(228deg) brightness(92%) contrast(101%);
|
||||
}
|
||||
.icons.icon-feature {
|
||||
width: 18px;
|
||||
height: 16px;
|
||||
background-position: -259px -88px;
|
||||
}
|
||||
.icons.icon-copy {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background-position: -330px -88px;
|
||||
}
|
||||
|
||||
/* Bán hàng */
|
||||
.page-input {
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
padding: 0 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #d8d8d8;
|
||||
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.is-close-btn {
|
||||
background: #ececec !important;
|
||||
border-radius: 50%;
|
||||
top: 10px !important;
|
||||
right: 10px !important;
|
||||
color: #9e9e9e !important;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
#js-form-search [type=search]:focus::before {
|
||||
position: absolute;
|
||||
content: "\f00d";
|
||||
font-family: "Font Awesome 6 Free";
|
||||
font-weight: 900;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.autocomplete-suggestions {
|
||||
height: 334px;
|
||||
overflow-y: auto;
|
||||
z-index: 999;
|
||||
}
|
||||
.autocomplete-suggestions .item {
|
||||
padding: 10px 15px;
|
||||
border-bottom: 1px solid #ededed;
|
||||
}
|
||||
.autocomplete-suggestions .item:hover {
|
||||
font-weight: 700;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
|
||||
.input-file {
|
||||
position: relative;
|
||||
}
|
||||
.input-file input {
|
||||
opacity: 0;
|
||||
position: relative;
|
||||
z-index: 999;
|
||||
}
|
||||
.input-file .title {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.input-file .btn-input-file {
|
||||
width: 120px;
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #0041e8;
|
||||
color: #0041e8;
|
||||
cursor: pointer;
|
||||
margin-right: 10px;
|
||||
}
|
||||
.input-file .btn-input-file:hover {
|
||||
background: #0041e8;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.modal .brand-letters a {
|
||||
width: 11.1111111111%;
|
||||
text-transform: capitalize;
|
||||
color: #0041e8;
|
||||
}
|
||||
.modal .brand-letters a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.input-date {
|
||||
position: relative;
|
||||
}
|
||||
.input-date::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 15px;
|
||||
transform: translate(0, -50%);
|
||||
content: "\f133";
|
||||
font-family: "Font Awesome 6 Free";
|
||||
}
|
||||
|
||||
.checkbox-success {
|
||||
--chkbg: #0041e8;
|
||||
--chkfg: #fff;
|
||||
border-color: #000 !important;
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.checkbox-success:checked,
|
||||
.checkbox-success[aria-checked=true] {
|
||||
background-color: #0041e8;
|
||||
border-color: #0041e8 !important;
|
||||
}
|
||||
|
||||
.radio {
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
}
|
||||
|
||||
.box-note {
|
||||
position: relative;
|
||||
}
|
||||
.box-note i {
|
||||
cursor: pointer;
|
||||
}
|
||||
.box-note .content {
|
||||
position: absolute;
|
||||
left: 30px;
|
||||
top: 6px;
|
||||
width: 250px;
|
||||
display: none;
|
||||
font-size: 12px;
|
||||
background: #e4b200;
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1490196078);
|
||||
border-radius: 6px;
|
||||
z-index: 9;
|
||||
}
|
||||
.box-note .content::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
left: -14px;
|
||||
top: 0;
|
||||
width: 20px;
|
||||
height: 15px;
|
||||
-webkit-clip-path: polygon(0 0, 100% 100%, 100% 0);
|
||||
clip-path: polygon(0 0, 100% 100%, 100% 0);
|
||||
background: #e4b200;
|
||||
border-radius: 5px 0 0 0;
|
||||
}
|
||||
.box-note:hover .content {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.order-detail-page .select2-container {
|
||||
width: 100% !important;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#overlay {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
z-index: 999;
|
||||
display: none;
|
||||
}
|
||||
#overlay.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.status-notificatiom {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background: #fff;
|
||||
width: 550px;
|
||||
height: 240px;
|
||||
box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.1019607843);
|
||||
border-radius: 15px;
|
||||
display: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
.status-notificatiom.active {
|
||||
display: block;
|
||||
}
|
||||
.status-notificatiom .icon-close {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: #ececec;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.status-notificatiom .content {
|
||||
height: 100%;
|
||||
}
|
||||
.status-notificatiom .fa-check {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
background: #52c41a;
|
||||
color: #fff;
|
||||
font-size: 50px;
|
||||
text-align: center;
|
||||
line-height: 70px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.status-notificatiom b {
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
margin-top: 5px;
|
||||
}
|
||||
.status-notificatiom p {
|
||||
color: rgba(0, 0, 0, 0.4509803922);
|
||||
}
|
||||
.status-notificatiom .fa-triangle-exclamation {
|
||||
font-size: 70px;
|
||||
color: #ffc53d;
|
||||
}
|
||||
|
||||
.table a {
|
||||
color: #0041e8;
|
||||
}
|
||||
.table .btn {
|
||||
color: #fff;
|
||||
padding: 0;
|
||||
}
|
||||
.table select {
|
||||
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;
|
||||
font-weight: 400;
|
||||
}
|
||||
.table .icons {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 1px solid #ececec;
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.table .icon-edit {
|
||||
background-color: #f5f7ff;
|
||||
background-position: -108px -82px;
|
||||
}
|
||||
.table .icon-delete {
|
||||
background-position: -145px -82px;
|
||||
}
|
||||
.table .icon-view {
|
||||
background-position: -180px -82px;
|
||||
}
|
||||
.table .icon-feature {
|
||||
background-position: -255px -82px;
|
||||
}
|
||||
|
||||
.home-report-holder {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.not-border td {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.not-padding td {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 2560px) {
|
||||
body {
|
||||
font-size: 18px;
|
||||
}
|
||||
.text-custom-14 {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
.text-custom-16 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
.text-custom-22 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
.text-custom-28 {
|
||||
font-size: 28px !important;
|
||||
}
|
||||
.admin-menu-container {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.template-edit .tab-edit ul {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.template-edit .tab-edit .item {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.template-edit .tab-edit li {
|
||||
list-style: inside;
|
||||
line-height: 24px;
|
||||
color: #6b7280;
|
||||
}
|
||||
.template-edit .tab-edit li.active {
|
||||
color: #0041e8;
|
||||
}
|
||||
|
||||
.monaco-editor .margin {
|
||||
border: 1px solid #ececec;
|
||||
}
|
||||
|
||||
.monaco-editor .margin-view-overlays .line-numbers {
|
||||
text-align: center !important;
|
||||
color: #000 !important;
|
||||
}/*# sourceMappingURL=extension_daisyui.css.map */
|
||||
File diff suppressed because one or more lines are too long
@@ -1,929 +0,0 @@
|
||||
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css";
|
||||
|
||||
:root {
|
||||
--p: 0.48 0.25 263.47;
|
||||
}
|
||||
|
||||
*,
|
||||
::after,
|
||||
::before {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
button,
|
||||
select {
|
||||
cursor: pointer;
|
||||
}
|
||||
button,
|
||||
input {
|
||||
overflow: visible;
|
||||
}
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
outline: none;
|
||||
margin: 0;
|
||||
font-family: inherit;
|
||||
font-size: inherit;
|
||||
line-height: inherit;
|
||||
color: #000;
|
||||
border-radius: 0;
|
||||
}
|
||||
input::-webkit-outer-spin-button,
|
||||
input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
input[type="number"] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
input[type="date"]::-webkit-calendar-picker-indicator {
|
||||
background: transparent;
|
||||
bottom: 0;
|
||||
color: transparent;
|
||||
cursor: pointer;
|
||||
height: auto;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: auto;
|
||||
}
|
||||
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;
|
||||
min-height: 100vh;
|
||||
min-width: 1200px;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
table td,
|
||||
table th {
|
||||
padding: 8px !important;
|
||||
border: 1px solid #ececec;
|
||||
}
|
||||
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;
|
||||
}
|
||||
.icons {
|
||||
background: url(../images/global-sprite.png) no-repeat;
|
||||
background-size: 400px 400px;
|
||||
background-position: 0 40px;
|
||||
}
|
||||
.admin-global-container {
|
||||
margin: auto;
|
||||
display: flex;
|
||||
}
|
||||
.admin-menu-container {
|
||||
position: relative;
|
||||
background: #004180;
|
||||
color: #fff;
|
||||
width: 245px;
|
||||
padding: 20px 0;
|
||||
line-height: 20px;
|
||||
height: 100vh;
|
||||
left: 0;
|
||||
top: 0;
|
||||
&.active {
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
&.show {
|
||||
position: fixed;
|
||||
display: block;
|
||||
z-index: 999;
|
||||
}
|
||||
a {
|
||||
color: #fff;
|
||||
}
|
||||
.menu-logo {
|
||||
display: table;
|
||||
margin-bottom: 25px;
|
||||
margin-left: 16px;
|
||||
img {
|
||||
height: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
svg {
|
||||
position: absolute;
|
||||
right: 16px;
|
||||
transition: 0.3s all;
|
||||
}
|
||||
.item {
|
||||
&.active {
|
||||
background: #22a2ff;
|
||||
.icons {
|
||||
filter: brightness(100);
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
background: #22a2ff;
|
||||
.icons {
|
||||
filter: brightness(100);
|
||||
}
|
||||
.hover-menu {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.icons {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin-right: 13px;
|
||||
}
|
||||
}
|
||||
.title-main {
|
||||
width: 100%;
|
||||
}
|
||||
.box-item {
|
||||
&:hover {
|
||||
.hover-menu {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
left: calc(100% + 10px);
|
||||
&::before {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.sub-menu {
|
||||
position: relative;
|
||||
display: none;
|
||||
a {
|
||||
display: block;
|
||||
padding: 10px;
|
||||
margin-left: 25px;
|
||||
position: relative;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
&.current {
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
background: #22a2ff;
|
||||
border-radius: 4px;
|
||||
}
|
||||
&:last-child {
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&::before {
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #79b0e2;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: -16px;
|
||||
z-index: 9;
|
||||
}
|
||||
&::after {
|
||||
content: "";
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: -12px;
|
||||
}
|
||||
}
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.hover-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;
|
||||
z-index: -1;
|
||||
transition: 0.2s all;
|
||||
position: absolute;
|
||||
left: calc(100% + 30px);
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
min-width: 200px;
|
||||
z-index: 999;
|
||||
max-height: 400px;
|
||||
overflow: auto;
|
||||
&.bottom {
|
||||
bottom: -30px;
|
||||
top: unset;
|
||||
}
|
||||
&::before {
|
||||
position: absolute;
|
||||
left: -15px;
|
||||
top: 0;
|
||||
width: 30px;
|
||||
height: 100%;
|
||||
content: "";
|
||||
display: none;
|
||||
}
|
||||
a {
|
||||
display: block;
|
||||
line-height: 18px;
|
||||
position: relative;
|
||||
padding-bottom: 12px;
|
||||
padding-left: 20px;
|
||||
&::before {
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #79b0e2;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 0;
|
||||
z-index: 9;
|
||||
}
|
||||
&::after {
|
||||
content: "";
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
}
|
||||
&:last-child {
|
||||
padding-bottom: 0;
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icon-home {
|
||||
background-position: -9px -7px;
|
||||
}
|
||||
|
||||
.box-hover {
|
||||
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;
|
||||
position: fixed;
|
||||
left: 240px;
|
||||
top: 0;
|
||||
display: none;
|
||||
min-width: 200px;
|
||||
z-index: 999;
|
||||
max-height: 400px;
|
||||
overflow: auto;
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
&::after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
left: -29px;
|
||||
top: 0;
|
||||
width: 37px;
|
||||
height: 100%;
|
||||
}
|
||||
a {
|
||||
display: block;
|
||||
line-height: 18px;
|
||||
position: relative;
|
||||
padding-bottom: 12px;
|
||||
padding-left: 20px;
|
||||
&::before {
|
||||
content: "";
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #79b0e2;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 0;
|
||||
z-index: 9;
|
||||
}
|
||||
&::after {
|
||||
content: "";
|
||||
width: 1px;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 4px;
|
||||
}
|
||||
&:last-child {
|
||||
padding-bottom: 0;
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icon-order {
|
||||
background-position: -45px -7px;
|
||||
}
|
||||
.icon-product {
|
||||
background-position: -81px -8px;
|
||||
}
|
||||
.icon-customer {
|
||||
background-position: -117px -8px;
|
||||
}
|
||||
.icon-marketing {
|
||||
background-position: -154px -8px;
|
||||
}
|
||||
.icon-content {
|
||||
background-position: -187px -8px;
|
||||
}
|
||||
.icon-stats {
|
||||
background-position: -224px -8px;
|
||||
}
|
||||
.icon-system {
|
||||
background-position: -262px -8px;
|
||||
}
|
||||
.icon-settings {
|
||||
background-position: -297px -8px;
|
||||
}
|
||||
.icon-support {
|
||||
background-position: -332px -7px;
|
||||
}
|
||||
.icon-account {
|
||||
background-position: -367px -9px;
|
||||
}
|
||||
.icon-logout {
|
||||
background-position: -9px -45px;
|
||||
}
|
||||
.icon-close {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
}
|
||||
.icon-investor_relation {
|
||||
background-position: -9px -126px;
|
||||
}
|
||||
.icon-job {
|
||||
background-position: -52px -126px;
|
||||
}
|
||||
.icon-pcbuilder {
|
||||
background-position: -99px -126px;
|
||||
}
|
||||
.icon-payinstall {
|
||||
background-position: -142px -125px;
|
||||
}
|
||||
.icon-distributor {
|
||||
background-position: -187px -126px;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-content-container {
|
||||
width: calc(100% - 245px);
|
||||
overflow: auto;
|
||||
.note-list {
|
||||
min-width: 144px;
|
||||
a {
|
||||
display: block;
|
||||
padding: 0 10px;
|
||||
line-height: 35px;
|
||||
transition: 0.2s all;
|
||||
&:hover {
|
||||
background: #f5f7ff;
|
||||
color: #0041e8;
|
||||
font-weight: 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
.content-holder {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.admin-home-tab {
|
||||
overflow: auto;
|
||||
a {
|
||||
color: #a0a8b5;
|
||||
padding: 9px 7.7px;
|
||||
text-align: center;
|
||||
border-right: 1px solid #dde1eb;
|
||||
white-space: nowrap;
|
||||
&:last-child {
|
||||
border: 0;
|
||||
}
|
||||
&:hover,
|
||||
&.current {
|
||||
background: #0041e8;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icons {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
display: block;
|
||||
&.icon-search {
|
||||
background-position: -71px -40px;
|
||||
}
|
||||
&.header-support {
|
||||
height: 33px;
|
||||
background-position: -116px -42px;
|
||||
}
|
||||
&.icon-notification {
|
||||
height: 33px;
|
||||
background-position: -165px -42px;
|
||||
}
|
||||
&.icon-cart {
|
||||
background-position: -210px -36px;
|
||||
}
|
||||
&.icon-contact {
|
||||
background-position: -246px -36px;
|
||||
}
|
||||
&.icon-pay {
|
||||
background-position: -284px -36px;
|
||||
}
|
||||
&.icon-installment {
|
||||
background-position: -318px -36px;
|
||||
}
|
||||
&.icon-increase {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-position: -6px -85px;
|
||||
}
|
||||
&.icon-reduce {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-position: -43px -83px;
|
||||
}
|
||||
&.icon-edit {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -114px -89px;
|
||||
}
|
||||
&.icon-view {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -187px -88px;
|
||||
}
|
||||
&.icon-remove {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -151px -88px;
|
||||
}
|
||||
&.icon-hide {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-position: -224px -88px;
|
||||
}
|
||||
&.icon-upload {
|
||||
background-position: -2px -43px;
|
||||
transform: rotate(-90deg);
|
||||
filter: invert(60%) sepia(90%) saturate(6183%) hue-rotate(228deg) brightness(92%) contrast(101%);
|
||||
}
|
||||
&.icon-feature {
|
||||
width: 18px;
|
||||
height: 16px;
|
||||
background-position: -259px -88px;
|
||||
}
|
||||
&.icon-copy {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
background-position: -330px -88px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Bán hàng */
|
||||
.page-input {
|
||||
width: 100%;
|
||||
height: 36px;
|
||||
padding: 0 10px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #d8d8d8;
|
||||
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
.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;
|
||||
&:hover,
|
||||
&.current,
|
||||
&.active {
|
||||
background: #0041e8;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.is-close-btn {
|
||||
background: #ececec !important;
|
||||
border-radius: 50%;
|
||||
top: 10px !important;
|
||||
right: 10px !important;
|
||||
color: #9e9e9e !important;
|
||||
}
|
||||
|
||||
.paging {
|
||||
margin: 30px 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
line-height: 28px;
|
||||
a {
|
||||
margin: 0 3px;
|
||||
min-width: 28px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
padding: 0 10px;
|
||||
border-radius: 4px;
|
||||
&:hover,
|
||||
&.current,
|
||||
&.active {
|
||||
background: #0041e8;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
.global-breadcrumb-container {
|
||||
padding: 16px;
|
||||
line-height: 20px;
|
||||
a {
|
||||
display: inline-block;
|
||||
&:hover {
|
||||
color: #0041e8;
|
||||
}
|
||||
&::after {
|
||||
content: "\f054";
|
||||
font-family: Fontawesome;
|
||||
font-size: 10px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
&:last-child {
|
||||
color: #0041e8;
|
||||
&::after {
|
||||
content: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#js-form-search [type="search"]:focus::before {
|
||||
position: absolute;
|
||||
content: "\f00d";
|
||||
font-family: "Font Awesome 6 Free";
|
||||
font-weight: 900;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.autocomplete-suggestions {
|
||||
height: 334px;
|
||||
overflow-y: auto;
|
||||
z-index: 999;
|
||||
.item {
|
||||
padding: 10px 15px;
|
||||
border-bottom: 1px solid #ededed;
|
||||
&:hover {
|
||||
font-weight: 700;
|
||||
background: #f6f6f6;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input-file {
|
||||
position: relative;
|
||||
input {
|
||||
opacity: 0;
|
||||
position: relative;
|
||||
z-index: 999;
|
||||
}
|
||||
.title {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.btn-input-file {
|
||||
width: 120px;
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
border-radius: 4px;
|
||||
border: 1px solid #0041e8;
|
||||
color: #0041e8;
|
||||
cursor: pointer;
|
||||
margin-right: 10px;
|
||||
&:hover {
|
||||
background: #0041e8;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
.modal {
|
||||
.brand-letters {
|
||||
a {
|
||||
width: calc(100% / 9);
|
||||
text-transform: capitalize;
|
||||
color: #0041e8;
|
||||
&:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.input-date {
|
||||
position: relative;
|
||||
&::before {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 15px;
|
||||
transform: translate(0, -50%);
|
||||
content: "\f133";
|
||||
font-family: "Font Awesome 6 Free";
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox-success {
|
||||
--chkbg: #0041e8;
|
||||
--chkfg: #fff;
|
||||
border-color: #000 !important;
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.checkbox-success:checked,
|
||||
.checkbox-success[aria-checked="true"] {
|
||||
background-color: #0041e8;
|
||||
border-color: #0041e8 !important;
|
||||
}
|
||||
|
||||
.radio {
|
||||
width: 1.2rem;
|
||||
height: 1.2rem;
|
||||
}
|
||||
|
||||
.box-note {
|
||||
position: relative;
|
||||
i {
|
||||
cursor: pointer;
|
||||
}
|
||||
.content {
|
||||
position: absolute;
|
||||
left: 30px;
|
||||
top: 6px;
|
||||
width: 250px;
|
||||
display: none;
|
||||
font-size: 12px;
|
||||
background: #e4b200;
|
||||
color: #fff;
|
||||
padding: 10px;
|
||||
box-shadow: 0px 1px 1px 0px #00000026;
|
||||
border-radius: 6px;
|
||||
z-index: 9;
|
||||
&::before {
|
||||
position: absolute;
|
||||
content: "";
|
||||
left: -14px;
|
||||
top: 0;
|
||||
width: 20px;
|
||||
height: 15px;
|
||||
clip-path: polygon(0 0, 100% 100%, 100% 0);
|
||||
background: #e4b200;
|
||||
border-radius: 5px 0 0 0;
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
.content {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.order-detail-page .select2-container {
|
||||
width: 100% !important;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
#overlay {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
z-index: 999;
|
||||
display: none;
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.status-notificatiom {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
background: #fff;
|
||||
width: 550px;
|
||||
height: 240px;
|
||||
box-shadow: 0px 1px 1px 0px #0000001a;
|
||||
border-radius: 15px;
|
||||
display: none;
|
||||
z-index: 9999;
|
||||
&.active {
|
||||
display: block;
|
||||
}
|
||||
.icon-close {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: #ececec;
|
||||
line-height: 30px;
|
||||
text-align: center;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.content {
|
||||
height: 100%;
|
||||
}
|
||||
.fa-check {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
background: #52c41a;
|
||||
color: #fff;
|
||||
font-size: 50px;
|
||||
text-align: center;
|
||||
line-height: 70px;
|
||||
border-radius: 50%;
|
||||
}
|
||||
b {
|
||||
font-size: 24px;
|
||||
font-weight: 400;
|
||||
margin-top: 5px;
|
||||
}
|
||||
p {
|
||||
color: #00000073;
|
||||
}
|
||||
.fa-triangle-exclamation {
|
||||
font-size: 70px;
|
||||
color: #ffc53d;
|
||||
}
|
||||
}
|
||||
|
||||
.table {
|
||||
a {
|
||||
color: #0041e8;
|
||||
}
|
||||
.btn {
|
||||
color: #fff;
|
||||
padding: 0;
|
||||
}
|
||||
select {
|
||||
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;
|
||||
font-weight: 400;
|
||||
}
|
||||
.icons {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 1px solid #ececec;
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.icon-edit {
|
||||
background-color: #f5f7ff;
|
||||
background-position: -108px -82px;
|
||||
}
|
||||
.icon-delete {
|
||||
background-position: -145px -82px;
|
||||
}
|
||||
.icon-view {
|
||||
background-position: -180px -82px;
|
||||
}
|
||||
.icon-feature {
|
||||
background-position: -255px -82px;
|
||||
}
|
||||
}
|
||||
.home-report-holder {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.not-border td {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.not-padding td {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 2560px) {
|
||||
body {
|
||||
font-size: 18px;
|
||||
}
|
||||
.text-custom-14 {
|
||||
font-size: 14px !important;
|
||||
}
|
||||
.text-custom-16 {
|
||||
font-size: 16px !important;
|
||||
}
|
||||
.text-custom-22 {
|
||||
font-size: 22px !important;
|
||||
}
|
||||
.text-custom-28 {
|
||||
font-size: 28px !important;
|
||||
}
|
||||
.admin-menu-container {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.template-edit {
|
||||
.tab-edit {
|
||||
ul {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.item {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
li {
|
||||
list-style: inside;
|
||||
line-height: 24px;
|
||||
color: #6b7280;
|
||||
&.active {
|
||||
color: #0041e8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.monaco-editor .margin {
|
||||
border: 1px solid #ececec;
|
||||
}
|
||||
|
||||
.monaco-editor .margin-view-overlays .line-numbers {
|
||||
text-align: center !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
179
assets/script/main.js
Normal file
179
assets/script/main.js
Normal file
@@ -0,0 +1,179 @@
|
||||
class LayoutCustomizer {
|
||||
constructor() {
|
||||
this.defaultConfig = {
|
||||
theme: "system",
|
||||
direction: "ltr",
|
||||
fontFamily: "default",
|
||||
sidebarTheme: "light",
|
||||
fullscreen: false,
|
||||
}
|
||||
const configCache = localStorage.getItem("__NEXUS_CONFIG_v3.0__")
|
||||
if (configCache) {
|
||||
this.config = JSON.parse(configCache)
|
||||
} else {
|
||||
this.config = { ...this.defaultConfig }
|
||||
}
|
||||
this.html = document.documentElement
|
||||
this.sidebar = document.getElementById("layout-sidebar")
|
||||
|
||||
window.config = this.config
|
||||
}
|
||||
|
||||
updateTheme = () => {
|
||||
localStorage.setItem("__NEXUS_CONFIG_v3.0__", JSON.stringify(this.config))
|
||||
|
||||
if (this.config.theme === "system") {
|
||||
this.html.removeAttribute("data-theme")
|
||||
} else {
|
||||
this.html.setAttribute("data-theme", this.config.theme)
|
||||
}
|
||||
|
||||
if (this.sidebar) {
|
||||
if (
|
||||
this.config.sidebarTheme === "dark" &&
|
||||
["light", "contrast"].includes(this.config.theme)
|
||||
) {
|
||||
this.sidebar.setAttribute("data-theme", this.config.sidebarTheme)
|
||||
} else {
|
||||
this.sidebar.removeAttribute("data-theme")
|
||||
}
|
||||
}
|
||||
|
||||
this.html.setAttribute("data-sidebar-theme", this.config.sidebarTheme)
|
||||
this.html.dir = this.config.direction
|
||||
|
||||
if (this.config.fullscreen) {
|
||||
this.html.setAttribute("data-fullscreen", "")
|
||||
} else {
|
||||
this.html.removeAttribute("data-fullscreen")
|
||||
}
|
||||
|
||||
if (this.config.fontFamily !== "default") {
|
||||
this.html.setAttribute("data-font-family", config.fontFamily)
|
||||
} else {
|
||||
this.html.removeAttribute("data-font-family")
|
||||
}
|
||||
}
|
||||
|
||||
initEventListener = () => {
|
||||
const themeControls = document.querySelectorAll("[data-theme-control]")
|
||||
themeControls.forEach((control) => {
|
||||
control.addEventListener("click", () => {
|
||||
let theme = control.getAttribute("data-theme-control") ?? "light"
|
||||
if (theme === "toggle") {
|
||||
theme = this.config.theme === "light" ? "dark" : "light"
|
||||
}
|
||||
this.config.theme = theme
|
||||
this.updateTheme()
|
||||
})
|
||||
})
|
||||
|
||||
const sidebarThemeControls = document.querySelectorAll("[data-sidebar-theme-control]")
|
||||
sidebarThemeControls.forEach((control) => {
|
||||
control.addEventListener("click", () => {
|
||||
this.config.sidebarTheme =
|
||||
control.getAttribute("data-sidebar-theme-control") ?? "light"
|
||||
this.updateTheme()
|
||||
})
|
||||
})
|
||||
|
||||
const fontFamilyControls = document.querySelectorAll("[data-font-family-control]")
|
||||
fontFamilyControls.forEach((control) => {
|
||||
control.addEventListener("click", () => {
|
||||
this.config.fontFamily =
|
||||
control.getAttribute("data-font-family-control") ?? "default"
|
||||
this.updateTheme()
|
||||
})
|
||||
})
|
||||
|
||||
const dirControls = document.querySelectorAll("[data-dir-control]")
|
||||
dirControls.forEach((control) => {
|
||||
control.addEventListener("click", () => {
|
||||
this.config.direction = control.getAttribute("data-dir-control") ?? "ltr"
|
||||
this.updateTheme()
|
||||
})
|
||||
})
|
||||
|
||||
const fullscreenControls = document.querySelectorAll("[data-fullscreen-control]")
|
||||
fullscreenControls.forEach((control) => {
|
||||
control.addEventListener("click", () => {
|
||||
if (document.fullscreenElement != null) {
|
||||
this.config.fullscreen = false
|
||||
document.exitFullscreen()
|
||||
} else {
|
||||
this.config.fullscreen = true
|
||||
this.html.requestFullscreen()
|
||||
}
|
||||
this.updateTheme()
|
||||
})
|
||||
})
|
||||
|
||||
const resetControls = document.querySelectorAll("[data-reset-control]")
|
||||
resetControls.forEach((control) => {
|
||||
control.addEventListener("click", () => {
|
||||
this.config = { ...this.defaultConfig }
|
||||
if (document.fullscreenElement != null) {
|
||||
document.exitFullscreen()
|
||||
}
|
||||
this.updateTheme()
|
||||
})
|
||||
})
|
||||
|
||||
const fullscreenMedia = window.matchMedia("(display-mode: fullscreen)")
|
||||
const fullscreenListener = () => {
|
||||
this.config.fullscreen = fullscreenMedia.matches
|
||||
this.updateTheme()
|
||||
}
|
||||
fullscreenMedia.addEventListener("change", fullscreenListener)
|
||||
fullscreenListener()
|
||||
}
|
||||
|
||||
initLeftmenu = () => {
|
||||
const initMenuActivation = () => {
|
||||
const menuItems = document.querySelectorAll(".sidebar-menu-activation a")
|
||||
let currentURL = window.location.href
|
||||
if (window.location.pathname === "/") {
|
||||
currentURL += "dashboards-ecommerce.html"
|
||||
}
|
||||
menuItems.forEach((item) => {
|
||||
if (item.href === currentURL) {
|
||||
item.classList.add("active")
|
||||
const parentElement1 = item.parentElement.parentElement
|
||||
if (parentElement1.classList.contains("collapse-content")) {
|
||||
const inputElement1 = parentElement1.parentElement.querySelector("input")
|
||||
if (inputElement1) {
|
||||
inputElement1.checked = true
|
||||
}
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
const scrollToActiveMenu = () => {
|
||||
const simplebarEl = document.querySelector("#layout-sidebar [data-simplebar]")
|
||||
const activatedItem = document.querySelector("#layout-sidebar .menu a.active")
|
||||
if (simplebarEl && activatedItem) {
|
||||
const simplebar = new SimpleBar(simplebarEl)
|
||||
const top = activatedItem?.getBoundingClientRect().top
|
||||
if (top && top !== 0) {
|
||||
simplebar.getScrollElement().scrollTo({ top: top - 300, behavior: "smooth" })
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
initMenuActivation()
|
||||
scrollToActiveMenu()
|
||||
}
|
||||
|
||||
afterInit = () => {
|
||||
this.initEventListener()
|
||||
this.initLeftmenu()
|
||||
}
|
||||
|
||||
init = () => {
|
||||
this.updateTheme()
|
||||
window.addEventListener("DOMContentLoaded", this.afterInit)
|
||||
}
|
||||
}
|
||||
|
||||
new LayoutCustomizer().init()
|
||||
16451
assets/script/style.css
Normal file
16451
assets/script/style.css
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user