implemented perfect scrollbar

This commit is contained in:
X4Lo committed 2024-05-18 15:29:33 +01:00
1 parent 06be888123
commit 16b86b4ca5
6 files changed
+168 -23

No files matched your search

+1 -2
View File
@@ -28,7 +28,6 @@
"frontend/src/assets/css/bootstrap.min.css", "frontend/src/assets/css/bootstrap.min.css",
"frontend/src/assets/css/bootstrap-extended.css", "frontend/src/assets/css/bootstrap-extended.css",
"frontend/src/assets/plugins/perfect-scrollbar/css/perfect-scrollbar.css",
"frontend/src/assets/plugins/metismenu/metisMenu.min.css", "frontend/src/assets/plugins/metismenu/metisMenu.min.css",
"frontend/src/assets/plugins/metismenu/mm-vertical.css", "frontend/src/assets/plugins/metismenu/mm-vertical.css",
"frontend/src/assets/plugins/simplebar/css/simplebar.css", "frontend/src/assets/plugins/simplebar/css/simplebar.css",
@@ -42,7 +41,7 @@
"frontend/src/assets/sass/bordered-theme.css", "frontend/src/assets/sass/bordered-theme.css",
"node_modules/ngx-toastr/toastr.css", "node_modules/ngx-toastr/toastr.css",
"node_modules/perfect-scrollbar/css/perfect-scrollbar.css",
"node_modules/flatpickr/dist/flatpickr.min.css", "node_modules/flatpickr/dist/flatpickr.min.css",
"frontend/src/assets/sass/responsive.css" "frontend/src/assets/sass/responsive.css"
+3 -2
View File
@@ -1,9 +1,10 @@
<app-navbar></app-navbar> <app-navbar></app-navbar>
<app-sidebar></app-sidebar> <app-sidebar></app-sidebar>
<main class="main-wrapper"> <main class="main-wrapper" id="main-wrapper" #scrollContainer>
<div class="main-content"> <div class="main-content" id="main-content">
<router-outlet></router-outlet> <router-outlet></router-outlet>
</div> </div>
<footer></footer>
</main> </main>
<script> <script>
+11 -3
View File
@@ -1,10 +1,18 @@
import { Component } from '@angular/core'; import { AfterViewInit, Component, ElementRef, ViewChild } from '@angular/core';
import PerfectScrollbar from 'perfect-scrollbar';
@Component({ @Component({
selector: 'app-root', selector: 'app-root',
templateUrl: './app.component.html', templateUrl: './app.component.html',
styleUrl: './app.component.css' styleUrl: './app.component.css',
}) })
export class AppComponent { export class AppComponent implements AfterViewInit {
@ViewChild('scrollContainer', { static: true }) scrollContainer!: ElementRef;
private ps!: PerfectScrollbar;
title = 'ShowZ'; title = 'ShowZ';
ngAfterViewInit() {
this.ps = new PerfectScrollbar(this.scrollContainer.nativeElement);
}
} }
+146 -16
View File
@@ -23,6 +23,7 @@ Table of Index
*/ */
/* Genral*/ /* Genral*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css"); @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");
body { body {
font-size: 14px; font-size: 14px;
font-family: "Noto Sans", sans-serif; font-family: "Noto Sans", sans-serif;
@@ -51,11 +52,13 @@ input::placeholder {
transform: translate3d(0, 6px, 0); transform: translate3d(0, 6px, 0);
opacity: 0; opacity: 0;
} }
to { to {
transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0);
opacity: 1; opacity: 1;
} }
} }
/*header*/ /*header*/
.top-header .navbar { .top-header .navbar {
background-color: #ffffff; background-color: #ffffff;
@@ -68,17 +71,22 @@ input::placeholder {
z-index: 10; z-index: 10;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08); box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
} }
.top-header .navbar .search-bar { .top-header .navbar .search-bar {
width: auto; width: auto;
cursor: pointer; cursor: pointer;
} }
.top-header .navbar .search-bar .search-control:focus, .top-header .navbar .search-bar .mobile-search-control:focus {
.top-header .navbar .search-bar .search-control:focus,
.top-header .navbar .search-bar .mobile-search-control:focus {
box-shadow: none; box-shadow: none;
border: 1px solid var(--bs-border-color); border: 1px solid var(--bs-border-color);
} }
.top-header .navbar .search-bar .search-close { .top-header .navbar .search-bar .search-close {
display: none; display: none;
} }
.top-header .navbar .search-bar .search-popup { .top-header .navbar .search-bar .search-popup {
display: none; display: none;
position: absolute; position: absolute;
@@ -92,15 +100,18 @@ input::placeholder {
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
animation: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s normal forwards 1 animdropdown; animation: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s normal forwards 1 animdropdown;
} }
.top-header .navbar .search-bar .search-popup .card { .top-header .navbar .search-bar .search-popup .card {
border: 1px solid #dee2e6; border: 1px solid #dee2e6;
box-shadow: none; box-shadow: none;
margin-bottom: 0; margin-bottom: 0;
} }
.top-header .navbar .search-bar .search-popup .search-content { .top-header .navbar .search-bar .search-popup .search-content {
position: relative; position: relative;
height: 24.3rem; height: 24.3rem;
} }
.top-header .navbar .search-bar .search-popup .search-title { .top-header .navbar .search-bar .search-popup .search-title {
font-size: 13px; font-size: 13px;
font-weight: 500; font-weight: 500;
@@ -108,6 +119,7 @@ input::placeholder {
color: #939aa0; color: #939aa0;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.top-header .navbar .search-bar .search-popup .kewords { .top-header .navbar .search-bar .search-popup .kewords {
font-size: 12.5px; font-size: 12.5px;
font-weight: 500; font-weight: 500;
@@ -121,19 +133,23 @@ input::placeholder {
transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1); transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
gap: 0.5rem; gap: 0.5rem;
} }
.top-header .navbar .search-bar .search-popup .kewords:hover { .top-header .navbar .search-bar .search-popup .kewords:hover {
color: #efefef; color: #efefef;
background-color: #28292d; background-color: #28292d;
} }
.top-header .navbar .search-bar .search-popup .search-list-item { .top-header .navbar .search-bar .search-popup .search-list-item {
padding: 0.4rem 0.7rem; padding: 0.4rem 0.7rem;
border-radius: 0.25rem; border-radius: 0.25rem;
transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1); transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
} }
.top-header .navbar .search-bar .search-popup .search-list-item:hover { .top-header .navbar .search-bar .search-popup .search-list-item:hover {
color: #3a3a3a; color: #3a3a3a;
background-color: #f8f8f8; background-color: #f8f8f8;
} }
.top-header .navbar .search-bar .search-popup .search-list-item .list-icon { .top-header .navbar .search-bar .search-popup .search-list-item .list-icon {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -143,14 +159,17 @@ input::placeholder {
border-radius: 50%; border-radius: 50%;
background-color: #edecec; background-color: #edecec;
} }
.top-header .navbar .search-bar .search-popup .search-list-item .search-list-title { .top-header .navbar .search-bar .search-popup .search-list-item .search-list-title {
font-size: 14px; font-size: 14px;
} }
.top-header .navbar .nav-item { .top-header .navbar .nav-item {
height: 70px; height: 70px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.top-header .navbar .nav-item .mega-menu { .top-header .navbar .nav-item .mega-menu {
width: 100%; width: 100%;
height: -moz-fit-content; height: -moz-fit-content;
@@ -158,9 +177,11 @@ input::placeholder {
background-color: #ffffff; background-color: #ffffff;
border-radius: 0%; border-radius: 0%;
} }
.top-header .navbar .nav-item .mega-menu::after { .top-header .navbar .nav-item .mega-menu::after {
display: none; display: none;
} }
.top-header .navbar .nav-item .mega-menu .mega-menu-icon { .top-header .navbar .nav-item .mega-menu .mega-menu-icon {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -170,34 +191,42 @@ input::placeholder {
border-radius: 50%; border-radius: 50%;
background-color: #f8f8f8; background-color: #f8f8f8;
} }
.top-header .navbar .nav-item .mega-menu .card { .top-header .navbar .nav-item .mega-menu .card {
cursor: pointer; cursor: pointer;
transition: 0.2s all; transition: 0.2s all;
} }
.top-header .navbar .nav-item .mega-menu .card:hover { .top-header .navbar .nav-item .mega-menu .card:hover {
background-color: #f8f8f8; background-color: #f8f8f8;
} }
.top-header .navbar .nav-item .dropdown-apps { .top-header .navbar .nav-item .dropdown-apps {
width: 320px; width: 320px;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important; box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
border-radius: 1rem; border-radius: 1rem;
} }
.top-header .navbar .nav-item .dropdown-apps .app-name { .top-header .navbar .nav-item .dropdown-apps .app-name {
font-size: 14px; font-size: 14px;
} }
.top-header .navbar .nav-item .dropdown-apps .app-wrapper { .top-header .navbar .nav-item .dropdown-apps .app-wrapper {
padding: 1rem; padding: 1rem;
background-color: #ffffff; background-color: #ffffff;
border-radius: 0rem; border-radius: 0rem;
cursor: pointer; cursor: pointer;
} }
.top-header .navbar .nav-item .dropdown-apps .app-wrapper:hover { .top-header .navbar .nav-item .dropdown-apps .app-wrapper:hover {
background-color: #f8f8f8; background-color: #f8f8f8;
} }
.top-header .navbar .nav-item .dropdown-notify { .top-header .navbar .nav-item .dropdown-notify {
width: 360px; width: 360px;
border-radius: 1rem; border-radius: 1rem;
} }
.top-header .navbar .nav-item .dropdown-notify .option { .top-header .navbar .nav-item .dropdown-notify .option {
font-size: 1rem; font-size: 1rem;
color: #494949; color: #494949;
@@ -211,21 +240,26 @@ input::placeholder {
align-items: center; align-items: center;
justify-content: center; justify-content: center;
} }
.top-header .navbar .nav-item .dropdown-notify .option:hover { .top-header .navbar .nav-item .dropdown-notify .option:hover {
background-color: #efefef; background-color: #efefef;
} }
.top-header .navbar .nav-item .dropdown-notify .notiy-title { .top-header .navbar .nav-item .dropdown-notify .notiy-title {
font-size: 1rem; font-size: 1rem;
} }
.top-header .navbar .nav-item .dropdown-notify .dropdown-option { .top-header .navbar .nav-item .dropdown-notify .dropdown-option {
font-size: 14px; font-size: 14px;
} }
.top-header .navbar .nav-item .dropdown-notify .notify-title { .top-header .navbar .nav-item .dropdown-notify .notify-title {
color: rgba(var(--bs-dark-rgb)); color: rgba(var(--bs-dark-rgb));
font-size: 15px; font-size: 15px;
font-weight: 500; font-weight: 500;
margin-bottom: 0.2rem; margin-bottom: 0.2rem;
} }
.top-header .navbar .nav-item .dropdown-notify .notify-desc { .top-header .navbar .nav-item .dropdown-notify .notify-desc {
color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important; color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important;
font-size: 13px; font-size: 13px;
@@ -235,12 +269,15 @@ input::placeholder {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.top-header .navbar .nav-item .dropdown-notify .notify-time { .top-header .navbar .nav-item .dropdown-notify .notify-time {
color: #939aa0; color: #939aa0;
font-size: 12px; font-size: 12px;
margin-top: 0.2rem; margin-top: 0.2rem;
} }
.top-header .navbar .nav-item .dropdown-notify .user-wrapper, .top-header .navbar .nav-item .dropdown-notify .notify-close {
.top-header .navbar .nav-item .dropdown-notify .user-wrapper,
.top-header .navbar .nav-item .dropdown-notify .notify-close {
width: 45px; width: 45px;
height: 45px; height: 45px;
font-size: 20px; font-size: 20px;
@@ -252,19 +289,23 @@ input::placeholder {
justify-content: center; justify-content: center;
flex-shrink: 0; flex-shrink: 0;
} }
.top-header .navbar .nav-item .dropdown-notify .notify-close { .top-header .navbar .nav-item .dropdown-notify .notify-close {
width: 20px; width: 20px;
height: 20px; height: 20px;
background-color: #efefef; background-color: #efefef;
visibility: hidden; visibility: hidden;
} }
.top-header .navbar .nav-item .dropdown-notify .notify-list { .top-header .navbar .nav-item .dropdown-notify .notify-list {
position: relative; position: relative;
height: 390px; height: 390px;
} }
.top-header .navbar .nav-item .dropdown-notify .dropdown-item:hover .notify-close { .top-header .navbar .nav-item .dropdown-notify .dropdown-item:hover .notify-close {
visibility: visible; visibility: visible;
} }
.top-header .navbar .nav-item .badge-notify { .top-header .navbar .nav-item .badge-notify {
position: absolute; position: absolute;
top: 2px; top: 2px;
@@ -279,11 +320,13 @@ input::placeholder {
justify-content: center; justify-content: center;
background-color: #f01414; background-color: #f01414;
} }
.top-header .navbar .dropdown-menu { .top-header .navbar .dropdown-menu {
border-radius: 1rem; border-radius: 1rem;
border: 0; border: 0;
animation: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s normal forwards 1 animdropdown; animation: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s normal forwards 1 animdropdown;
} }
.top-header .navbar .dropdown-menu::after { .top-header .navbar .dropdown-menu::after {
content: ""; content: "";
width: 13px; width: 13px;
@@ -296,6 +339,7 @@ input::placeholder {
border-top: 1px solid #ddd; border-top: 1px solid #ddd;
border-left: 1px solid #ddd; border-left: 1px solid #ddd;
} }
.top-header .btn-toggle a { .top-header .btn-toggle a {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -306,9 +350,12 @@ input::placeholder {
border-radius: 50%; border-radius: 50%;
transition: all 0.3s; transition: all 0.3s;
} }
.top-header .btn-toggle a:hover, .top-header .btn-toggle a:focus {
.top-header .btn-toggle a:hover,
.top-header .btn-toggle a:focus {
background-color: #efefef; background-color: #efefef;
} }
.top-header .nav-right-links .nav-link { .top-header .nav-right-links .nav-link {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -319,7 +366,9 @@ input::placeholder {
border-radius: 50%; border-radius: 50%;
transition: all 0.3s; transition: all 0.3s;
} }
.top-header .nav-right-links .nav-link:hover, .top-header .nav-right-links .nav-link:focus {
.top-header .nav-right-links .nav-link:hover,
.top-header .nav-right-links .nav-link:focus {
background-color: #efefef; background-color: #efefef;
} }
@@ -343,6 +392,7 @@ input::placeholder {
transition: 0.3s all; transition: 0.3s all;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08); box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
} }
.mini-sidebar .user { .mini-sidebar .user {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -354,6 +404,7 @@ input::placeholder {
cursor: pointer; cursor: pointer;
background-color: #fff; background-color: #fff;
} }
.mini-sidebar .user .user-icon { .mini-sidebar .user .user-icon {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -364,9 +415,12 @@ input::placeholder {
border-radius: 50%; border-radius: 50%;
transition: all 0.3s; transition: all 0.3s;
} }
.mini-sidebar .user .user-icon:hover, .mini-sidebar .user .user-icon:focus {
.mini-sidebar .user .user-icon:hover,
.mini-sidebar .user .user-icon:focus {
background-color: #efefef; background-color: #efefef;
} }
.mini-sidebar .quick-menu .nav-link { .mini-sidebar .quick-menu .nav-link {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -377,9 +431,12 @@ input::placeholder {
border-radius: 50%; border-radius: 50%;
transition: all 0.3s; transition: all 0.3s;
} }
.mini-sidebar .quick-menu .nav-link:hover, .mini-sidebar .quick-menu .nav-link:focus {
.mini-sidebar .quick-menu .nav-link:hover,
.mini-sidebar .quick-menu .nav-link:focus {
background-color: #efefef; background-color: #efefef;
} }
.mini-sidebar .mini-footer { .mini-sidebar .mini-footer {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -391,6 +448,7 @@ input::placeholder {
cursor: pointer; cursor: pointer;
background-color: #fff; background-color: #fff;
} }
.mini-sidebar .mini-footer .footer-icon { .mini-sidebar .mini-footer .footer-icon {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -401,20 +459,26 @@ input::placeholder {
border-radius: 50%; border-radius: 50%;
transition: all 0.3s; transition: all 0.3s;
} }
.mini-sidebar .mini-footer .footer-icon:hover, .mini-sidebar .mini-footer .footer-icon:focus {
.mini-sidebar .mini-footer .footer-icon:hover,
.mini-sidebar .mini-footer .footer-icon:focus {
background-color: #efefef; background-color: #efefef;
} }
.mini-sidebar .ps__rail-x { .mini-sidebar .ps__rail-x {
height: 0px; height: 0px;
} }
.mini-sidebar .ps__rail-y { .mini-sidebar .ps__rail-y {
width: 0px; width: 0px;
} }
.mini-sidebar .ps__rail-x.ps--clicking .ps__thumb-x, .mini-sidebar .ps__rail-x.ps--clicking .ps__thumb-x,
.mini-sidebar .ps__rail-x:focus>.ps__thumb-x, .mini-sidebar .ps__rail-x:focus>.ps__thumb-x,
.mini-sidebar .ps__rail-x:hover>.ps__thumb-x { .mini-sidebar .ps__rail-x:hover>.ps__thumb-x {
height: 7px; height: 7px;
} }
.mini-sidebar .ps__rail-y.ps--clicking .ps__thumb-y, .mini-sidebar .ps__rail-y.ps--clicking .ps__thumb-y,
.mini-sidebar .ps__rail-y:focus>.ps__thumb-y, .mini-sidebar .ps__rail-y:focus>.ps__thumb-y,
.mini-sidebar .ps__rail-y:hover>.ps__thumb-y { .mini-sidebar .ps__rail-y:hover>.ps__thumb-y {
@@ -438,6 +502,7 @@ input::placeholder {
transition: all 0.3s linear; transition: all 0.3s linear;
box-shadow: none; box-shadow: none;
} }
.chip img { .chip img {
float: left; float: left;
width: 32px; width: 32px;
@@ -451,32 +516,45 @@ input::placeholder {
line-height: 42px; line-height: 42px;
border-radius: 21px; border-radius: 21px;
} }
.chip.chip-md img { .chip.chip-md img {
height: 42px; height: 42px;
width: 42px; width: 42px;
} }
/* main content */ footer {
height: 50px;
}
.main-wrapper { .main-wrapper {
position: relative;
height: calc(100vh - 70px);
/* overflow: hidden; */
margin-top: 70px; margin-top: 70px;
margin-left: 70px; margin-left: 70px;
} }
.main-wrapper .main-content { .main-wrapper .main-content {
padding: 1.5rem; padding: 1.5rem;
} }
.main-wrapper .main-content .breadcrumb-title { .main-wrapper .main-content .breadcrumb-title {
font-size: 20px; font-size: 20px;
border-right: 1.5px solid #aaa4a4; border-right: 1.5px solid #aaa4a4;
} }
.main-wrapper .main-content .page-breadcrumb .breadcrumb li.breadcrumb-item { .main-wrapper .main-content .page-breadcrumb .breadcrumb li.breadcrumb-item {
font-size: 16px; font-size: 16px;
} }
.main-wrapper .main-content .page-breadcrumb .breadcrumb-item+.breadcrumb-item::before { .main-wrapper .main-content .page-breadcrumb .breadcrumb-item+.breadcrumb-item::before {
display: inline-block; display: inline-block;
padding-right: 0.5rem; padding-right: 0.5rem;
font-family: "Material Icons Outlined"; font-family: "Material Icons Outlined";
content: "\e88a"; content: "\e88a";
} }
.main-wrapper .main-content .badge-icon { .main-wrapper .main-content .badge-icon {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -486,6 +564,7 @@ input::placeholder {
background-color: #f2f2f3; background-color: #f2f2f3;
cursor: pointer; cursor: pointer;
} }
.main-wrapper .main-content .badge-icon .badge-number { .main-wrapper .main-content .badge-icon .badge-number {
width: 20px; width: 20px;
height: 20px; height: 20px;
@@ -498,6 +577,7 @@ input::placeholder {
font-size: 10px; font-size: 10px;
padding: 1px; padding: 1px;
} }
.main-wrapper .main-content .sharelink { .main-wrapper .main-content .sharelink {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -508,9 +588,12 @@ input::placeholder {
border-radius: 50%; border-radius: 50%;
transition: all 0.3s; transition: all 0.3s;
} }
.main-wrapper .main-content .sharelink:hover, .main-wrapper .main-content .sharelink:focus {
.main-wrapper .main-content .sharelink:hover,
.main-wrapper .main-content .sharelink:focus {
background-color: #efefef; background-color: #efefef;
} }
.main-wrapper .main-content .options { .main-wrapper .main-content .options {
display: flex; display: flex;
align-items: center; align-items: center;
@@ -523,58 +606,73 @@ input::placeholder {
width: 30px; width: 30px;
height: 30px; height: 30px;
} }
.main-wrapper .main-content .options:hover, .main-wrapper .main-content .options:focus {
.main-wrapper .main-content .options:hover,
.main-wrapper .main-content .options:focus {
background-color: #efefef; background-color: #efefef;
} }
.main-wrapper .main-content .dropdown-menu-share { .main-wrapper .main-content .dropdown-menu-share {
width: -moz-max-content; width: -moz-max-content;
width: max-content; width: max-content;
} }
.main-wrapper .main-content .vertical-pills button { .main-wrapper .main-content .vertical-pills button {
width: 100%; width: 100%;
text-align: left; text-align: left;
border-radius: 0%; border-radius: 0%;
} }
.main-wrapper .main-content .vertical-pills .nav-link { .main-wrapper .main-content .vertical-pills .nav-link {
border-bottom: 1px solid #dee2e6; border-bottom: 1px solid #dee2e6;
color: #5d5d5d; color: #5d5d5d;
} }
.main-wrapper .main-content .vertical-pills .nav-link:last-child { .main-wrapper .main-content .vertical-pills .nav-link:last-child {
border-bottom: 0px solid #dee2e6; border-bottom: 0px solid #dee2e6;
} }
.main-wrapper .main-content .vertical-pills .nav-link.active { .main-wrapper .main-content .vertical-pills .nav-link.active {
color: #ffffff; color: #ffffff;
} }
.main-wrapper .main-content .customer-notes { .main-wrapper .main-content .customer-notes {
height: 480px; height: 480px;
position: relative; position: relative;
overflow-y: scroll; overflow-y: scroll;
} }
.main-wrapper .main-content .lable-table { .main-wrapper .main-content .lable-table {
text-transform: uppercase; text-transform: uppercase;
padding: 1px 8px; padding: 1px 8px;
} }
.main-wrapper .main-content .customer-table table thead { .main-wrapper .main-content .customer-table table thead {
font-size: 0.8rem; font-size: 0.8rem;
text-transform: uppercase; text-transform: uppercase;
font-weight: 400; font-weight: 400;
} }
.main-wrapper .main-content .customer-table table .customer-name { .main-wrapper .main-content .customer-table table .customer-name {
color: #000000; color: #000000;
} }
.main-wrapper .main-content .product-table table thead { .main-wrapper .main-content .product-table table thead {
font-size: 0.8rem; font-size: 0.8rem;
text-transform: uppercase; text-transform: uppercase;
font-weight: 400; font-weight: 400;
} }
.main-wrapper .main-content .product-table table .product-category { .main-wrapper .main-content .product-table table .product-category {
font-size: 0.8rem; font-size: 0.8rem;
color: #878d96; color: #878d96;
} }
.main-wrapper .main-content .product-table table .product-title { .main-wrapper .main-content .product-table table .product-title {
font-size: 0.97rem; font-size: 0.97rem;
color: #2f353c; color: #2f353c;
} }
.main-wrapper .main-content .product-table table .product-tags { .main-wrapper .main-content .product-table table .product-tags {
max-width: 220px; max-width: 220px;
display: flex; display: flex;
@@ -582,6 +680,7 @@ input::placeholder {
gap: 0.3rem; gap: 0.3rem;
flex-wrap: wrap; flex-wrap: wrap;
} }
.main-wrapper .main-content .product-table table .product-tags .btn-tags { .main-wrapper .main-content .product-table table .product-tags .btn-tags {
font-size: 0.75rem; font-size: 0.75rem;
background-color: #f6f6f6; background-color: #f6f6f6;
@@ -591,6 +690,7 @@ input::placeholder {
font-weight: 500; font-weight: 500;
border-radius: 2px; border-radius: 2px;
} }
.main-wrapper .main-content .product-table table .product-rating { .main-wrapper .main-content .product-table table .product-rating {
font-size: 0.8rem; font-size: 0.8rem;
background-color: #ffffff; background-color: #ffffff;
@@ -605,11 +705,13 @@ input::placeholder {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.separator .line { .separator .line {
height: 1px; height: 1px;
flex: 1; flex: 1;
background-color: #dee2e6; background-color: #dee2e6;
} }
.separator p { .separator p {
padding: 0 1rem; padding: 0 1rem;
} }
@@ -618,7 +720,8 @@ input::placeholder {
width: 400px; width: 400px;
} }
.auth-cover-left, .auth-cover-right { .auth-cover-left,
.auth-cover-right {
display: flex; display: flex;
background-color: #ffffff; background-color: #ffffff;
min-height: 100vh; min-height: 100vh;
@@ -646,7 +749,9 @@ input::placeholder {
transition: all 0.3s; transition: all 0.3s;
cursor: pointer; cursor: pointer;
} }
.order-delete:hover, .order-delete:focus {
.order-delete:hover,
.order-delete:focus {
background-color: #efefef; background-color: #efefef;
} }
@@ -687,25 +792,31 @@ input::placeholder {
list-style: none; list-style: none;
background: 0 0; background: 0 0;
} }
.sidebar-nav .metismenu { .sidebar-nav .metismenu {
background: 0 0; background: 0 0;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
} }
.sidebar-nav .metismenu li+li { .sidebar-nav .metismenu li+li {
margin-top: 5px; margin-top: 5px;
} }
.sidebar-nav .metismenu li:first-child { .sidebar-nav .metismenu li:first-child {
margin-top: 5px; margin-top: 5px;
} }
.sidebar-nav .metismenu li:last-child { .sidebar-nav .metismenu li:last-child {
margin-bottom: 5px; margin-bottom: 5px;
} }
.sidebar-nav .metismenu>li { .sidebar-nav .metismenu>li {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
} }
.sidebar-nav .metismenu a { .sidebar-nav .metismenu a {
position: relative; position: relative;
display: flex; display: flex;
@@ -721,45 +832,56 @@ input::placeholder {
border-radius: 0.25rem; border-radius: 0.25rem;
transition: all 0.3s ease-out; transition: all 0.3s ease-out;
} }
.sidebar-nav .metismenu a .parent-icon { .sidebar-nav .metismenu a .parent-icon {
font-size: 24px; font-size: 24px;
line-height: 1; line-height: 1;
} }
.sidebar-nav .metismenu a .menu-title { .sidebar-nav .metismenu a .menu-title {
margin-left: 10px; margin-left: 10px;
} }
.sidebar-nav .metismenu a:active { .sidebar-nav .metismenu a:active {
color: #008cff; color: #008cff;
text-decoration: none; text-decoration: none;
background-color: rgba(0, 140, 255, 0.05); background-color: rgba(0, 140, 255, 0.05);
} }
.sidebar-nav .metismenu a:focus { .sidebar-nav .metismenu a:focus {
color: #008cff; color: #008cff;
text-decoration: none; text-decoration: none;
background-color: rgba(0, 140, 255, 0.05); background-color: rgba(0, 140, 255, 0.05);
} }
.sidebar-nav .metismenu a:hover { .sidebar-nav .metismenu a:hover {
color: #008cff; color: #008cff;
text-decoration: none; text-decoration: none;
background-color: rgba(0, 140, 255, 0.05); background-color: rgba(0, 140, 255, 0.05);
} }
.sidebar-nav .metismenu ul { .sidebar-nav .metismenu ul {
background-color: #fff; background-color: #fff;
} }
.sidebar-nav .metismenu ul a { .sidebar-nav .metismenu ul a {
padding: 6px 15px 6px 20px; padding: 6px 15px 6px 20px;
font-size: 15px; font-size: 15px;
border: 0; border: 0;
} }
.sidebar-nav .metismenu ul a i { .sidebar-nav .metismenu ul a i {
margin-right: 14px; margin-right: 14px;
} }
.sidebar-nav .metismenu ul ul a { .sidebar-nav .metismenu ul ul a {
padding: 8px 15px 8px 30px; padding: 8px 15px 8px 30px;
} }
.sidebar-nav .metismenu ul ul ul a { .sidebar-nav .metismenu ul ul ul a {
padding: 8px 15px 8px 45px; padding: 8px 15px 8px 45px;
} }
.sidebar-nav .metismenu .mm-active>a { .sidebar-nav .metismenu .mm-active>a {
color: #008cff; color: #008cff;
text-decoration: none; text-decoration: none;
@@ -805,7 +927,9 @@ input::placeholder {
border-radius: 50%; border-radius: 50%;
transition: all 0.3s; transition: all 0.3s;
} }
.primaery-menu-close:hover, .primaery-menu-close:focus {
.primaery-menu-close:hover,
.primaery-menu-close:focus {
background-color: #efefef; background-color: #efefef;
} }
@@ -984,7 +1108,10 @@ form select.error:focus {
} }
/* authentication */ /* authentication */
.bg-login, .bg-reset-password, .bg-forgot-password, .bg-register { .bg-login,
.bg-reset-password,
.bg-forgot-password,
.bg-register {
/* background-image: url(../assets/images/auth/bg-login.png); */ /* background-image: url(../assets/images/auth/bg-login.png); */
background-attachment: fixed; background-attachment: fixed;
background-repeat: no-repeat; background-repeat: no-repeat;
@@ -1009,6 +1136,9 @@ form select.error:focus {
height: auto; height: auto;
} }
.form-check-label-highlighter .form-check-input:checked[type=checkbox] ~ .form-check-label, .form-check-label-highlighter .form-check-input:checked[type=radio] ~ .form-check-label { .form-check-label-highlighter .form-check-input:checked[type=checkbox]~.form-check-label,
.form-check-label-highlighter .form-check-input:checked[type=radio]~.form-check-label {
border-color: #377dff; border-color: #377dff;
}/*# sourceMappingURL=main.css.map */ }
/*# sourceMappingURL=main.css.map */
+6
View File
@@ -29,6 +29,7 @@
"mysql2": "^3.9.3", "mysql2": "^3.9.3",
"ngx-bootstrap": "^12.0.0", "ngx-bootstrap": "^12.0.0",
"ngx-toastr": "^18.0.0", "ngx-toastr": "^18.0.0",
"perfect-scrollbar": "^1.5.5",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"sequelize": "^6.37.1", "sequelize": "^6.37.1",
"tslib": "^2.3.0", "tslib": "^2.3.0",
@@ -14159,6 +14160,11 @@
"integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==",
"dev": true "dev": true
}, },
"node_modules/perfect-scrollbar": {
"version": "1.5.5",
"resolved": "https://registry.npmjs.org/perfect-scrollbar/-/perfect-scrollbar-1.5.5.tgz",
"integrity": "sha512-dzalfutyP3e/FOpdlhVryN4AJ5XDVauVWxybSkLZmakFE2sS3y3pc4JnSprw8tGmHvkaG5Edr5T7LBTZ+WWU2g=="
},
"node_modules/pg-connection-string": { "node_modules/pg-connection-string": {
"version": "2.6.2", "version": "2.6.2",
"resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.6.2.tgz", "resolved": "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.6.2.tgz",
+1
View File
@@ -41,6 +41,7 @@
"mysql2": "^3.9.3", "mysql2": "^3.9.3",
"ngx-bootstrap": "^12.0.0", "ngx-bootstrap": "^12.0.0",
"ngx-toastr": "^18.0.0", "ngx-toastr": "^18.0.0",
"perfect-scrollbar": "^1.5.5",
"rxjs": "~7.8.0", "rxjs": "~7.8.0",
"sequelize": "^6.37.1", "sequelize": "^6.37.1",
"tslib": "^2.3.0", "tslib": "^2.3.0",