Files
admin_hura_8/assets/script/pc_style.css
2025-02-14 16:17:58 +07:00

810 lines
15 KiB
CSS

@charset "UTF-8";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css";
*,
::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;
}
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;
}
.admin-menu-container.active {
overflow-y: auto;
overflow-x: hidden;
}
.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 10px 10px 45px;
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 {
margin: 0;
}
.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 .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% - 50px);
}
.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;
}
.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;
}
.admin-header-container .menu-hide {
margin-left: 30px;
}
/* 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.6);
z-index: 9;
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;
}
.home-report-holder {
display: none;
}
.not-border td {
border: 0;
}
.not-padding td {
padding: 0;
}
@media screen and (min-width: 2560px) {
body {
font-size: 18px;
}
.admin-menu-container {
width: 300px;
}
.admin-content-container {
margin-left: 300px !important;
}
.menu-list .item {
line-height: 50px !important;
}
.admin-menu-container .sub-menu a {
font-size: 16px;
}
.admin-menu-container .hover-menu a {
line-height: 30px;
}
}
@media (min-width: 1920px) {
.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;
}
}/*# sourceMappingURL=pc_style.css.map */