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
+177 -32

No files matched your search

+154 -24
View File
@@ -23,6 +23,7 @@ Table of Index
*/
/* Genral*/
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css");
body {
font-size: 14px;
font-family: "Noto Sans", sans-serif;
@@ -51,11 +52,13 @@ input::placeholder {
transform: translate3d(0, 6px, 0);
opacity: 0;
}
to {
transform: translate3d(0, 0, 0);
opacity: 1;
}
}
/*header*/
.top-header .navbar {
background-color: #ffffff;
@@ -68,17 +71,22 @@ input::placeholder {
z-index: 10;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
}
.top-header .navbar .search-bar {
width: auto;
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;
border: 1px solid var(--bs-border-color);
}
.top-header .navbar .search-bar .search-close {
display: none;
}
.top-header .navbar .search-bar .search-popup {
display: none;
position: absolute;
@@ -92,15 +100,18 @@ input::placeholder {
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;
}
.top-header .navbar .search-bar .search-popup .card {
border: 1px solid #dee2e6;
box-shadow: none;
margin-bottom: 0;
}
.top-header .navbar .search-bar .search-popup .search-content {
position: relative;
height: 24.3rem;
}
.top-header .navbar .search-bar .search-popup .search-title {
font-size: 13px;
font-weight: 500;
@@ -108,6 +119,7 @@ input::placeholder {
color: #939aa0;
margin-bottom: 1rem;
}
.top-header .navbar .search-bar .search-popup .kewords {
font-size: 12.5px;
font-weight: 500;
@@ -121,19 +133,23 @@ input::placeholder {
transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
gap: 0.5rem;
}
.top-header .navbar .search-bar .search-popup .kewords:hover {
color: #efefef;
background-color: #28292d;
}
.top-header .navbar .search-bar .search-popup .search-list-item {
padding: 0.4rem 0.7rem;
border-radius: 0.25rem;
transition: 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.top-header .navbar .search-bar .search-popup .search-list-item:hover {
color: #3a3a3a;
background-color: #f8f8f8;
}
.top-header .navbar .search-bar .search-popup .search-list-item .list-icon {
display: flex;
align-items: center;
@@ -143,14 +159,17 @@ input::placeholder {
border-radius: 50%;
background-color: #edecec;
}
.top-header .navbar .search-bar .search-popup .search-list-item .search-list-title {
font-size: 14px;
}
.top-header .navbar .nav-item {
height: 70px;
display: flex;
align-items: center;
}
.top-header .navbar .nav-item .mega-menu {
width: 100%;
height: -moz-fit-content;
@@ -158,9 +177,11 @@ input::placeholder {
background-color: #ffffff;
border-radius: 0%;
}
.top-header .navbar .nav-item .mega-menu::after {
display: none;
}
.top-header .navbar .nav-item .mega-menu .mega-menu-icon {
display: flex;
align-items: center;
@@ -170,34 +191,42 @@ input::placeholder {
border-radius: 50%;
background-color: #f8f8f8;
}
.top-header .navbar .nav-item .mega-menu .card {
cursor: pointer;
transition: 0.2s all;
}
.top-header .navbar .nav-item .mega-menu .card:hover {
background-color: #f8f8f8;
}
.top-header .navbar .nav-item .dropdown-apps {
width: 320px;
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
border-radius: 1rem;
}
.top-header .navbar .nav-item .dropdown-apps .app-name {
font-size: 14px;
}
.top-header .navbar .nav-item .dropdown-apps .app-wrapper {
padding: 1rem;
background-color: #ffffff;
border-radius: 0rem;
cursor: pointer;
}
.top-header .navbar .nav-item .dropdown-apps .app-wrapper:hover {
background-color: #f8f8f8;
}
.top-header .navbar .nav-item .dropdown-notify {
width: 360px;
border-radius: 1rem;
}
.top-header .navbar .nav-item .dropdown-notify .option {
font-size: 1rem;
color: #494949;
@@ -211,21 +240,26 @@ input::placeholder {
align-items: center;
justify-content: center;
}
.top-header .navbar .nav-item .dropdown-notify .option:hover {
background-color: #efefef;
}
.top-header .navbar .nav-item .dropdown-notify .notiy-title {
font-size: 1rem;
}
.top-header .navbar .nav-item .dropdown-notify .dropdown-option {
font-size: 14px;
}
.top-header .navbar .nav-item .dropdown-notify .notify-title {
color: rgba(var(--bs-dark-rgb));
font-size: 15px;
font-weight: 500;
margin-bottom: 0.2rem;
}
.top-header .navbar .nav-item .dropdown-notify .notify-desc {
color: rgba(var(--bs-body-color-rgb), var(--bs-text-opacity)) !important;
font-size: 13px;
@@ -235,12 +269,15 @@ input::placeholder {
overflow: hidden;
text-overflow: ellipsis;
}
.top-header .navbar .nav-item .dropdown-notify .notify-time {
color: #939aa0;
font-size: 12px;
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;
height: 45px;
font-size: 20px;
@@ -252,19 +289,23 @@ input::placeholder {
justify-content: center;
flex-shrink: 0;
}
.top-header .navbar .nav-item .dropdown-notify .notify-close {
width: 20px;
height: 20px;
background-color: #efefef;
visibility: hidden;
}
.top-header .navbar .nav-item .dropdown-notify .notify-list {
position: relative;
height: 390px;
}
.top-header .navbar .nav-item .dropdown-notify .dropdown-item:hover .notify-close {
visibility: visible;
}
.top-header .navbar .nav-item .badge-notify {
position: absolute;
top: 2px;
@@ -279,11 +320,13 @@ input::placeholder {
justify-content: center;
background-color: #f01414;
}
.top-header .navbar .dropdown-menu {
border-radius: 1rem;
border: 0;
animation: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s normal forwards 1 animdropdown;
}
.top-header .navbar .dropdown-menu::after {
content: "";
width: 13px;
@@ -296,6 +339,7 @@ input::placeholder {
border-top: 1px solid #ddd;
border-left: 1px solid #ddd;
}
.top-header .btn-toggle a {
display: flex;
align-items: center;
@@ -306,9 +350,12 @@ input::placeholder {
border-radius: 50%;
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;
}
.top-header .nav-right-links .nav-link {
display: flex;
align-items: center;
@@ -319,7 +366,9 @@ input::placeholder {
border-radius: 50%;
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;
}
@@ -343,6 +392,7 @@ input::placeholder {
transition: 0.3s all;
box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.08);
}
.mini-sidebar .user {
display: flex;
align-items: center;
@@ -354,6 +404,7 @@ input::placeholder {
cursor: pointer;
background-color: #fff;
}
.mini-sidebar .user .user-icon {
display: flex;
align-items: center;
@@ -364,9 +415,12 @@ input::placeholder {
border-radius: 50%;
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;
}
.mini-sidebar .quick-menu .nav-link {
display: flex;
align-items: center;
@@ -377,9 +431,12 @@ input::placeholder {
border-radius: 50%;
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;
}
.mini-sidebar .mini-footer {
display: flex;
align-items: center;
@@ -391,6 +448,7 @@ input::placeholder {
cursor: pointer;
background-color: #fff;
}
.mini-sidebar .mini-footer .footer-icon {
display: flex;
align-items: center;
@@ -401,23 +459,29 @@ input::placeholder {
border-radius: 50%;
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;
}
.mini-sidebar .ps__rail-x {
height: 0px;
}
.mini-sidebar .ps__rail-y {
width: 0px;
}
.mini-sidebar .ps__rail-x.ps--clicking .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:focus>.ps__thumb-x,
.mini-sidebar .ps__rail-x:hover>.ps__thumb-x {
height: 7px;
}
.mini-sidebar .ps__rail-y.ps--clicking .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:focus>.ps__thumb-y,
.mini-sidebar .ps__rail-y:hover>.ps__thumb-y {
width: 7px;
}
@@ -438,6 +502,7 @@ input::placeholder {
transition: all 0.3s linear;
box-shadow: none;
}
.chip img {
float: left;
width: 32px;
@@ -451,32 +516,45 @@ input::placeholder {
line-height: 42px;
border-radius: 21px;
}
.chip.chip-md img {
height: 42px;
width: 42px;
}
/* main content */
footer {
height: 50px;
}
.main-wrapper {
position: relative;
height: calc(100vh - 70px);
/* overflow: hidden; */
margin-top: 70px;
margin-left: 70px;
}
.main-wrapper .main-content {
padding: 1.5rem;
}
.main-wrapper .main-content .breadcrumb-title {
font-size: 20px;
border-right: 1.5px solid #aaa4a4;
}
.main-wrapper .main-content .page-breadcrumb .breadcrumb li.breadcrumb-item {
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;
padding-right: 0.5rem;
font-family: "Material Icons Outlined";
content: "\e88a";
}
.main-wrapper .main-content .badge-icon {
display: flex;
align-items: center;
@@ -486,6 +564,7 @@ input::placeholder {
background-color: #f2f2f3;
cursor: pointer;
}
.main-wrapper .main-content .badge-icon .badge-number {
width: 20px;
height: 20px;
@@ -498,6 +577,7 @@ input::placeholder {
font-size: 10px;
padding: 1px;
}
.main-wrapper .main-content .sharelink {
display: flex;
align-items: center;
@@ -508,9 +588,12 @@ input::placeholder {
border-radius: 50%;
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;
}
.main-wrapper .main-content .options {
display: flex;
align-items: center;
@@ -523,58 +606,73 @@ input::placeholder {
width: 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;
}
.main-wrapper .main-content .dropdown-menu-share {
width: -moz-max-content;
width: max-content;
}
.main-wrapper .main-content .vertical-pills button {
width: 100%;
text-align: left;
border-radius: 0%;
}
.main-wrapper .main-content .vertical-pills .nav-link {
border-bottom: 1px solid #dee2e6;
color: #5d5d5d;
}
.main-wrapper .main-content .vertical-pills .nav-link:last-child {
border-bottom: 0px solid #dee2e6;
}
.main-wrapper .main-content .vertical-pills .nav-link.active {
color: #ffffff;
}
.main-wrapper .main-content .customer-notes {
height: 480px;
position: relative;
overflow-y: scroll;
}
.main-wrapper .main-content .lable-table {
text-transform: uppercase;
padding: 1px 8px;
}
.main-wrapper .main-content .customer-table table thead {
font-size: 0.8rem;
text-transform: uppercase;
font-weight: 400;
}
.main-wrapper .main-content .customer-table table .customer-name {
color: #000000;
}
.main-wrapper .main-content .product-table table thead {
font-size: 0.8rem;
text-transform: uppercase;
font-weight: 400;
}
.main-wrapper .main-content .product-table table .product-category {
font-size: 0.8rem;
color: #878d96;
}
.main-wrapper .main-content .product-table table .product-title {
font-size: 0.97rem;
color: #2f353c;
}
.main-wrapper .main-content .product-table table .product-tags {
max-width: 220px;
display: flex;
@@ -582,6 +680,7 @@ input::placeholder {
gap: 0.3rem;
flex-wrap: wrap;
}
.main-wrapper .main-content .product-table table .product-tags .btn-tags {
font-size: 0.75rem;
background-color: #f6f6f6;
@@ -591,6 +690,7 @@ input::placeholder {
font-weight: 500;
border-radius: 2px;
}
.main-wrapper .main-content .product-table table .product-rating {
font-size: 0.8rem;
background-color: #ffffff;
@@ -605,11 +705,13 @@ input::placeholder {
display: flex;
align-items: center;
}
.separator .line {
height: 1px;
flex: 1;
background-color: #dee2e6;
}
.separator p {
padding: 0 1rem;
}
@@ -618,7 +720,8 @@ input::placeholder {
width: 400px;
}
.auth-cover-left, .auth-cover-right {
.auth-cover-left,
.auth-cover-right {
display: flex;
background-color: #ffffff;
min-height: 100vh;
@@ -646,7 +749,9 @@ input::placeholder {
transition: all 0.3s;
cursor: pointer;
}
.order-delete:hover, .order-delete:focus {
.order-delete:hover,
.order-delete:focus {
background-color: #efefef;
}
@@ -687,25 +792,31 @@ input::placeholder {
list-style: none;
background: 0 0;
}
.sidebar-nav .metismenu {
background: 0 0;
display: flex;
flex-direction: column;
}
.sidebar-nav .metismenu li + li {
.sidebar-nav .metismenu li+li {
margin-top: 5px;
}
.sidebar-nav .metismenu li:first-child {
margin-top: 5px;
}
.sidebar-nav .metismenu li:last-child {
margin-bottom: 5px;
}
.sidebar-nav .metismenu > li {
.sidebar-nav .metismenu>li {
display: flex;
flex-direction: column;
position: relative;
}
.sidebar-nav .metismenu a {
position: relative;
display: flex;
@@ -721,46 +832,57 @@ input::placeholder {
border-radius: 0.25rem;
transition: all 0.3s ease-out;
}
.sidebar-nav .metismenu a .parent-icon {
font-size: 24px;
line-height: 1;
}
.sidebar-nav .metismenu a .menu-title {
margin-left: 10px;
}
.sidebar-nav .metismenu a:active {
color: #008cff;
text-decoration: none;
background-color: rgba(0, 140, 255, 0.05);
}
.sidebar-nav .metismenu a:focus {
color: #008cff;
text-decoration: none;
background-color: rgba(0, 140, 255, 0.05);
}
.sidebar-nav .metismenu a:hover {
color: #008cff;
text-decoration: none;
background-color: rgba(0, 140, 255, 0.05);
}
.sidebar-nav .metismenu ul {
background-color: #fff;
}
.sidebar-nav .metismenu ul a {
padding: 6px 15px 6px 20px;
font-size: 15px;
border: 0;
}
.sidebar-nav .metismenu ul a i {
margin-right: 14px;
}
.sidebar-nav .metismenu ul ul a {
padding: 8px 15px 8px 30px;
}
.sidebar-nav .metismenu ul ul ul a {
padding: 8px 15px 8px 45px;
}
.sidebar-nav .metismenu .mm-active > a {
.sidebar-nav .metismenu .mm-active>a {
color: #008cff;
text-decoration: none;
background-color: rgba(0, 140, 255, 0.05);
@@ -805,7 +927,9 @@ input::placeholder {
border-radius: 50%;
transition: all 0.3s;
}
.primaery-menu-close:hover, .primaery-menu-close:focus {
.primaery-menu-close:hover,
.primaery-menu-close:focus {
background-color: #efefef;
}
@@ -984,7 +1108,10 @@ form select.error:focus {
}
/* 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-attachment: fixed;
background-repeat: no-repeat;
@@ -1009,6 +1136,9 @@ form select.error:focus {
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;
}/*# sourceMappingURL=main.css.map */
}
/*# sourceMappingURL=main.css.map */