Files
admin_hura_8/assets/script/pc_style.scss

846 lines
17 KiB
SCSS
Raw Normal View History

2025-02-10 16:51:19 +07:00
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css";
2025-02-20 16:27:50 +07:00
:root {
--p: 0.48 0.25 263.47;
}
2024-01-17 14:08:14 +07:00
*,
::after,
::before {
box-sizing: border-box;
}
button,
select {
2024-02-17 10:17:47 +07:00
cursor: pointer;
2024-01-17 14:08:14 +07:00
}
button,
input {
overflow: visible;
}
button,
input,
optgroup,
select,
textarea {
2024-02-21 09:53:08 +07:00
outline: none;
2024-01-17 14:08:14 +07:00
margin: 0;
font-family: inherit;
font-size: inherit;
line-height: inherit;
2024-02-21 09:53:08 +07:00
color: #000;
2024-01-17 14:08:14 +07:00
border-radius: 0;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"] {
-moz-appearance: textfield;
}
2024-02-01 11:10:26 +07:00
input[type="date"]::-webkit-calendar-picker-indicator {
2024-01-31 09:34:00 +07:00
background: transparent;
bottom: 0;
color: transparent;
cursor: pointer;
height: auto;
left: 0;
position: absolute;
right: 0;
top: 0;
width: auto;
}
2024-01-17 14:08:14 +07:00
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;
2024-02-06 13:13:29 +07:00
min-height: 100vh;
2024-01-17 14:08:14 +07:00
}
img {
max-width: 100%;
height: auto;
}
2024-01-31 11:59:25 +07:00
table {
2024-01-30 08:45:44 +07:00
width: 100%;
}
2025-02-11 16:22:18 +07:00
table td,
table th {
padding: 8px !important;
border: 1px solid #ececec;
}
2024-01-17 14:08:14 +07:00
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;
}
2024-05-16 11:38:34 +07:00
2024-01-17 14:08:14 +07:00
.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;
2024-01-24 17:01:14 +07:00
background-position: 0 40px;
2024-01-17 14:08:14 +07:00
}
.admin-global-container {
margin: auto;
display: flex;
}
.admin-menu-container {
position: relative;
2024-05-07 13:34:07 +07:00
background: #004180;
2024-01-17 14:08:14 +07:00
color: #fff;
2025-02-13 15:45:32 +07:00
width: 245px;
2024-01-17 14:08:14 +07:00
padding: 20px 0;
line-height: 20px;
2025-02-10 16:51:19 +07:00
&.active {
overflow-y: auto;
overflow-x: hidden;
}
2025-02-17 16:51:08 +07:00
&.show {
display: block;
z-index: 999;
}
2024-01-17 14:08:14 +07:00
a {
color: #fff;
}
.menu-logo {
display: table;
2025-02-10 16:51:19 +07:00
margin-bottom: 25px;
2024-01-17 14:08:14 +07:00
margin-left: 16px;
img {
height: 22px;
}
}
2025-02-08 19:27:15 +07:00
2024-01-17 14:08:14 +07:00
svg {
position: absolute;
right: 16px;
transition: 0.3s all;
}
.item {
2024-05-07 13:34:07 +07:00
&.active {
background: #22a2ff;
2024-01-17 14:08:14 +07:00
.icons {
filter: brightness(100);
}
2024-01-29 15:22:13 +07:00
}
2025-02-08 19:27:15 +07:00
&:hover {
background: #22a2ff;
.icons {
filter: brightness(100);
}
2025-02-10 16:51:19 +07:00
.hover-menu {
2025-02-08 19:27:15 +07:00
display: block;
}
}
2024-01-24 17:01:14 +07:00
.icons {
width: 20px;
height: 20px;
margin-right: 13px;
2024-01-17 14:08:14 +07:00
}
}
2025-02-08 19:27:15 +07:00
.title-main {
width: 100%;
2024-01-17 14:08:14 +07:00
}
2025-02-10 16:51:19 +07:00
.box-item {
&:hover {
.hover-menu {
visibility: visible;
opacity: 1;
left: calc(100% + 10px);
&::before {
display: block;
}
}
}
}
2024-01-17 14:08:14 +07:00
.sub-menu {
position: relative;
2025-02-10 16:51:19 +07:00
display: none;
2024-01-17 14:08:14 +07:00
a {
display: block;
2024-05-13 13:30:57 +07:00
padding: 10px 10px 10px 45px;
2024-01-17 14:08:14 +07:00
position: relative;
&:hover {
text-decoration: underline;
}
2024-01-24 17:01:14 +07:00
&.current {
font-weight: 700;
text-decoration: none;
2024-05-13 13:30:57 +07:00
background: #22a2ff;
border-radius: 4px;
2024-01-24 17:01:14 +07:00
}
2024-01-17 14:08:14 +07:00
&:last-child {
margin: 0;
}
}
2025-02-11 16:22:18 +07:00
&.active {
display: block;
}
2024-01-29 15:22:13 +07:00
}
2025-02-10 16:51:19 +07:00
.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;
}
}
}
2024-01-17 14:08:14 +07:00
.icon-home {
background-position: -9px -7px;
}
2024-01-24 10:07:21 +07:00
.icon-order {
2024-01-17 14:08:14 +07:00
background-position: -45px -7px;
}
.icon-product {
background-position: -81px -8px;
}
2024-01-24 10:07:21 +07:00
.icon-customer {
2024-01-17 14:08:14 +07:00
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;
}
2024-01-19 15:21:00 +07:00
.icon-close {
position: absolute;
right: 10px;
}
2024-01-24 17:01:14 +07:00
.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;
}
2024-01-17 14:08:14 +07:00
}
2025-02-08 19:27:15 +07:00
2024-01-17 14:08:14 +07:00
.admin-content-container {
2024-01-27 11:19:25 +07:00
width: calc(100% - 50px);
2024-01-17 14:08:14 +07:00
.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 {
2025-02-18 16:30:26 +07:00
padding: 16px;
2024-01-17 14:08:14 +07:00
}
}
2025-02-11 16:22:18 +07:00
2024-01-17 14:08:14 +07:00
.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;
}
}
}
2024-01-23 10:40:23 +07:00
.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;
}
2024-01-29 15:22:13 +07:00
&.icon-edit {
width: 16px;
height: 16px;
background-position: -114px -89px;
}
2024-01-30 09:35:11 +07:00
&.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;
}
2024-03-09 11:54:26 +07:00
&.icon-upload {
background-position: -2px -43px;
transform: rotate(-90deg);
filter: invert(60%) sepia(90%) saturate(6183%) hue-rotate(228deg) brightness(92%) contrast(101%);
}
2024-02-27 13:31:27 +07:00
&.icon-feature {
width: 18px;
height: 16px;
background-position: -259px -88px;
}
2024-05-06 15:55:58 +07:00
&.icon-copy {
width: 15px;
height: 15px;
background-position: -330px -88px;
}
2024-01-23 10:40:23 +07:00
}
2024-01-24 10:07:21 +07:00
2024-01-29 15:22:13 +07:00
/* Bán hàng */
2024-02-21 09:53:08 +07:00
.page-input {
width: 100%;
height: 36px;
padding: 0 10px;
border-radius: 4px;
2024-02-27 13:35:20 +07:00
border: 1px solid #d8d8d8;
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
2024-02-21 09:53:08 +07:00
}
2024-01-24 17:01:14 +07:00
.order-page {
2024-01-29 15:22:13 +07:00
.order-page-title {
2024-01-24 17:01:14 +07:00
a {
margin: 0 2px 0 0;
border-radius: 4px 4px 0px 0px;
2024-01-29 15:22:13 +07:00
background: #f6f6f6;
2024-01-24 17:01:14 +07:00
color: #919699;
font-weight: 500;
padding: 0 24px;
2024-01-29 15:22:13 +07:00
&:hover,
&.current,
&.active {
background: #0041e8;
2024-01-24 17:01:14 +07:00
color: #fff;
}
}
}
2024-01-26 11:51:46 +07:00
}
2025-02-12 16:13:51 +07:00
2024-01-27 10:41:35 +07:00
.is-close-btn {
2024-01-29 15:22:13 +07:00
background: #ececec !important;
2024-01-27 10:41:35 +07:00
border-radius: 50%;
top: 10px !important;
right: 10px !important;
2024-01-29 15:22:13 +07:00
color: #9e9e9e !important;
2024-01-27 10:41:35 +07:00
}
2025-02-13 15:45:32 +07:00
2024-01-24 17:01:14 +07:00
.paging {
margin: 30px 0;
display: flex;
align-items: center;
justify-content: center;
line-height: 28px;
2024-01-29 15:22:13 +07:00
a {
2024-01-24 17:01:14 +07:00
margin: 0 3px;
min-width: 28px;
text-align: center;
font-size: 16px;
padding: 0 10px;
border-radius: 4px;
2024-01-29 15:22:13 +07:00
&:hover,
&.current,
&.active {
background: #0041e8;
2024-01-24 17:01:14 +07:00
color: #fff;
}
}
2024-01-26 10:41:49 +07:00
}
.global-breadcrumb-container {
padding: 16px;
line-height: 20px;
2024-01-29 15:22:13 +07:00
a {
2024-01-26 10:41:49 +07:00
display: inline-block;
2024-01-29 15:22:13 +07:00
&:hover {
color: #0041e8;
2024-01-26 10:41:49 +07:00
}
2024-01-29 15:22:13 +07:00
&::after {
content: "\f054";
2024-01-26 10:41:49 +07:00
font-family: Fontawesome;
font-size: 10px;
margin: 0 5px;
}
2024-01-29 15:22:13 +07:00
&:last-child {
color: #0041e8;
&::after {
2024-01-26 10:41:49 +07:00
content: none;
}
}
}
2024-01-29 15:22:13 +07:00
}
2024-03-09 11:58:48 +07:00
2024-05-07 15:42:55 +07:00
#js-form-search [type="search"]:focus::before {
position: absolute;
content: "\f00d";
font-family: "Font Awesome 6 Free";
font-weight: 900;
left: 0;
top: 0;
}
2024-01-31 11:59:25 +07:00
.autocomplete-suggestions {
2024-05-07 15:42:55 +07:00
height: 334px;
overflow-y: auto;
z-index: 999;
2024-01-31 11:59:25 +07:00
.item {
2024-05-07 15:42:55 +07:00
padding: 10px 15px;
2024-01-31 11:59:25 +07:00
border-bottom: 1px solid #ededed;
2024-05-07 15:42:55 +07:00
&:hover {
font-weight: 700;
background: #f6f6f6;
2024-01-31 11:59:25 +07:00
}
}
}
2024-02-01 11:10:26 +07:00
2024-02-27 13:31:27 +07:00
.input-file {
position: relative;
input {
opacity: 0;
2025-02-11 16:22:18 +07:00
position: relative;
z-index: 999;
2024-02-27 13:31:27 +07:00
}
.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;
}
}
}
2024-02-27 13:35:20 +07:00
.modal {
2024-02-21 09:53:08 +07:00
.brand-letters {
2024-02-27 13:35:20 +07:00
a {
2024-02-21 09:53:08 +07:00
width: calc(100% / 9);
text-transform: capitalize;
2024-02-27 13:35:20 +07:00
color: #0041e8;
&:hover {
2024-02-21 09:53:08 +07:00
text-decoration: underline;
}
}
}
2024-02-27 13:35:20 +07:00
}
2024-02-29 14:49:03 +07:00
2024-03-05 14:55:28 +07:00
.input-date {
position: relative;
&::before {
position: absolute;
top: 50%;
right: 15px;
transform: translate(0, -50%);
content: "\f133";
font-family: "Font Awesome 6 Free";
}
}
2024-03-18 12:03:24 +07:00
2025-02-11 16:22:18 +07:00
.checkbox-success {
--chkbg: #0041e8;
--chkfg: #fff;
border-color: #000 !important;
width: 1.2rem;
height: 1.2rem;
border-radius: 3px;
2024-05-04 09:29:34 +07:00
}
2025-02-11 16:22:18 +07:00
.checkbox-success:checked,
.checkbox-success[aria-checked="true"] {
2024-05-04 09:29:34 +07:00
background-color: #0041e8;
2025-02-11 16:22:18 +07:00
border-color: #0041e8 !important;
2024-05-04 09:29:34 +07:00
}
2025-02-11 16:22:18 +07:00
.radio {
width: 1.2rem;
height: 1.2rem;
2024-05-04 09:29:34 +07:00
}
2024-05-06 15:55:58 +07:00
.box-note {
position: relative;
i {
cursor: pointer;
}
.content {
position: absolute;
left: 30px;
top: 6px;
2025-02-08 19:27:15 +07:00
width: 250px;
2024-05-06 15:55:58 +07:00
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;
}
}
}
2024-05-07 15:42:55 +07:00
.order-detail-page .select2-container {
width: 100% !important;
margin-top: 10px;
}
2024-05-13 13:30:57 +07:00
#overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
2025-02-17 16:51:08 +07:00
background: rgba(0, 0, 0, 0.2);
2024-05-13 13:30:57 +07:00
z-index: 9;
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;
}
}
2025-02-11 16:22:18 +07:00
.table {
a {
color: #0041e8;
}
.btn {
color: #fff;
padding: 0;
}
2025-02-12 16:13:51 +07:00
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;
}
2025-02-18 16:30:26 +07:00
.icon-feature {
background-position: -255px -82px;
}
2025-02-11 16:22:18 +07:00
}
2025-02-13 15:45:32 +07:00
.home-report-holder {
display: none;
}
.not-border td {
border: 0;
}
.not-padding td {
padding: 0;
}
2025-02-14 16:17:58 +07:00
@media screen and (min-width: 2560px) {
body {
font-size: 18px;
}
}
@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;
}
}
2025-02-18 16:30:26 +07:00
2025-02-19 14:55:19 +07:00
@media (max-width: 800px) {
#js-form-search {
width: 300px;
}
}
2025-02-18 16:30:26 +07:00
@media (max-width: 675px) {
.admin-menu-container {
display: none;
}
.admin-content-container {
width: 100%;
2025-02-20 16:27:50 +07:00
margin-left: 0;
2025-02-18 16:30:26 +07:00
.content-holder {
padding: 10px;
}
.item-stat {
grid-column: span 2 / span 2;
}
.item-chart {
grid-column: span 4 / span 4;
}
}
2025-02-19 14:55:19 +07:00
#js-form-search {
width: 250px;
}
}
@media (max-width: 540px) {
#js-form-search {
display: none;
2025-02-18 16:30:26 +07:00
}
2025-02-20 16:27:50 +07:00
.admin-content-container {
margin-left: 0;
}
2025-02-18 16:30:26 +07:00
}