first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-01-25 13:06:29 -05:00
commit 346346573f
1362 changed files with 343729 additions and 0 deletions
+183
View File
@@ -0,0 +1,183 @@
//
// _footer.scss
//
.footer {
bottom: 0;
padding: 20px calc(#{$grid-gutter-width} * 0.5);
position: absolute;
right: 0;
color: $footer-color;
left: $vertical-menu-width;
height: $footer-height;
background-color: $footer-bg;
border-top: 1px solid var(--#{$prefix}border-color-translucent);
@media (max-width: 991.98px) {
left: 0;
}
}
[data-layout="vertical"] {
&:is([data-sidebar-size="sm"], [data-sidebar-size="sm-hover"]) {
.footer {
left: $vertical-menu-width-sm;
@media (max-width: 767.98px) {
left: 0;
}
}
}
&[data-sidebar-size="md"] {
.footer {
left: $vertical-menu-width-md;
@media (max-width: 991.98px) {
left: 0;
}
}
}
}
[data-layout="horizontal"] {
.footer {
left: 0 !important;
}
}
[data-layout="vertical"][data-layout-style="detached"] {
@media (min-width: 1024.1px) {
.footer {
left: 0 !important;
background-color: transparent;
}
}
}
[data-layout="twocolumn"] {
.footer {
@media (min-width: 768.1px) {
left: calc(#{$twocolumn-menu-iconview-width} + #{$twocolumn-menu-width});
}
}
}
// Foooter Landing
.footer-landing {
border-top: 1px solid var(--#{$prefix}border-color-translucent);
.footer-desc {
color: rgba(var(--#{$prefix}secondary-color-rgb), 0.8);
}
.logo-light {
display: var(--#{$prefix}card-logo-light);
}
.logo-dark {
display: var(--#{$prefix}card-logo-dark);
}
.footer-title {
color: var(--#{$prefix}body-color);
}
.footer-link {
a {
color: rgba(var(--#{$prefix}secondary-color-rgb), 0.8);
line-height: 38px;
font-size: 14px;
transition: all 0.5s;
&:hover {
color: rgba(var(--#{$prefix}secondary-color-rgb), 1);
text-decoration: underline !important;
}
}
}
.footer-social {
i {
width: 34px;
height: 34px;
display: inline-block;
line-height: 34px;
background-color: rgba(var(--#{$prefix}secondary-color-rgb), 0.1);
color: rgba(var(--#{$prefix}secondary-color-rgb), 0.6);
font-size: 14px;
border-radius: 50%;
text-align: center;
transition: all 0.5s ease;
&:hover {
color: $white;
background-color: $primary;
}
}
}
.footer-border-alt {
padding: 30px 0px;
border-top: 1px solid rgba(var(--#{$prefix}secondary-color-rgb), 0.1);
color: rgba(var(--#{$prefix}secondary-color-rgb), 0.8);
}
}
//footer dark
[data-footer="dark"] {
.footer-landing {
background-color: $gray-900;
border-top-color: $gray-700;
.logo-light {
display: block;
}
.logo-dark {
display: none;
}
.footer-link {
a {
color: #758195;
transition: all 0.5s;
&:hover {
color: rgba($white, 0.8);
transition: all 0.5s;
text-decoration: underline !important;
}
}
}
.footer-social {
i {
background-color: rgba($white, 0.08);
color: $white;
transition: all 0.5s;
&:hover {
color: $white;
background-color: $secondary;
}
}
}
.footer-title {
color: $gray-400;
}
.footer-desc {
color: #758195;
}
.footer-border-alt {
border-top: 1px solid rgba($white, 0.15);
color: #758195;
}
}
}
+306
View File
@@ -0,0 +1,306 @@
//
// _horizontal.scss
//
[data-layout="horizontal"] {
.main-content {
margin-left: 0;
}
@media (min-width: 1024.1px) {
.top-tagbar{
max-width: 100% !important;
}
.layout-width,
.container-fluid {
max-width: 90%;
margin: 0 auto;
}
.topnav-hamburger {
visibility: hidden;
}
}
.horizontal-logo {
padding-left: calc(#{$grid-gutter-width} * 0.5);
width: auto;
@media (max-width: 1024.98px) {
padding-left: $grid-gutter-width;
}
}
.navbar-menu {
background: var(--#{$prefix}topnav-bg);
border-right-color: transparent;
padding: 0 calc(#{$grid-gutter-width} * 0.5);
box-shadow: $horizontal-menu-box-shadow;
position: fixed;
top: calc(#{$top-tagbar-height} + #{$header-height});
left: 0;
right: 0;
z-index: 100;
width: 100%;
bottom: auto;
@media (max-width:575.98px) {
.container-fluid {
padding: 0;
}
}
.navbar-nav {
flex-direction: row;
.nav-sm {
padding-left: 0;
.nav-link {
&:before {
opacity: 0 !important;
}
&:hover,
&.active {
color: $topnav-item-color-active;
}
}
}
.nav-link {
color: $topnav-item-color;
padding: $horizontal-menu-item-padding-y $horizontal-menu-item-padding-x;
i {
line-height: 1;
}
&.active {
color: $topnav-item-color-active;
&:after {
color: $topnav-item-color-active;
}
}
&[data-bs-toggle=collapse][aria-expanded=true] {
color: $topnav-item-color-active;
&:after {
color: $topnav-item-color-active;
}
}
}
>.nav-item {
>.nav-link[data-bs-toggle=collapse]:after {
right: 0px;
transform: rotate(90deg) !important;
}
}
>li:nth-of-type(2) {
>.nav-link.menu-link {
padding-left: 0;
}
}
}
.navbar-brand-box {
display: none;
}
}
.navbar-nav {
.nav-item {
position: relative;
.nav-link[data-bs-toggle=collapse]:after {
right: 10px;
transform: rotate(0deg) !important;
}
>.nav-link {
>.badge {
display: none;
}
}
&:hover {
>.nav-link {
color: $topnav-item-color-active;
&:after {
color: $topnav-item-color-active;
}
}
@media (min-width: 1024.1px) {
>.menu-dropdown {
display: block;
height: auto !important;
}
}
}
&.active {
color: $topnav-item-color-active;
}
}
}
.menu-dropdown {
position: absolute;
min-width: $horizontal-menu-dropdown-min-width;
padding: $dropdown-padding-y $dropdown-padding-x;
box-shadow: $horizontal-menu-dropdown-box-shadow;
animation-name: DropDownSlide;
animation-duration: .3s;
animation-fill-mode: both;
margin: 0;
z-index: $zindex-dropdown;
background-color: $dropdown-bg;
background-clip: padding-box;
border: $dropdown-border-width solid $dropdown-border-color;
border-radius: $dropdown-border-radius;
display: none;
.menu-dropdown {
top: 0;
left: 100%;
}
}
.mega-dropdown-menu {
width: 40rem;
}
.menu-title {
display: none;
}
.dropdown-custom-right {
left: -100% !important;
right: 100%;
}
@media (max-width: 1024px) {
.navbar-menu {
display: none;
}
}
}
[data-layout="horizontal"] {
.menu {
@media (max-width: 1024px) {
.navbar-menu {
display: block;
max-height: 360px;
overflow-y: auto;
padding-left: 0;
.navbar-nav {
flex-direction: column;
>li:nth-of-type(2)>.nav-link.menu-link {
padding-left: $vertical-menu-item-padding-x;
}
.nav-sm .nav-link:before {
opacity: 1 !important;
}
}
}
.menu-dropdown {
position: relative;
min-width: 100%;
box-shadow: none;
padding-left: 28px;
left: 0;
animation: none;
padding-top: 0;
&.show {
display: block;
}
}
.dropdown-custom-right {
left: 0 !important;
}
.nav-item .nav-link[data-bs-toggle=collapse]:after {
right: 0px;
}
.mega-dropdown-menu {
width: 100%;
}
}
}
&:is([data-topbar="dark"], [data-topbar="brand"]) {
.navbar-header {
.horizontal-logo {
.logo-dark {
display: none;
}
.logo-light {
display: block;
}
}
}
}
}
// theme dark
[data-bs-theme="dark"] {
&[data-topbar="light"] {
.navbar-header {
.horizontal-logo {
.logo-dark {
display: block;
}
.logo-light {
display: none;
}
}
.header-item{
button{
color: var(--#{$prefix}header-item-color) !important;
}
}
}
}
}
// rtl
[dir="rtl"]{
&[data-layout=horizontal] {
.navbar-menu {
.navbar-nav>.nav-item>.nav-link[data-bs-toggle=collapse]{
&:after{
transform: rotate(-90deg) !important;
}
}
}
.navbar-nav{
.nav-item {
.nav-link[data-bs-toggle=collapse]{
&:after{
transform: rotate(-180deg)!important;
}
}
}
}
}
}
+266
View File
@@ -0,0 +1,266 @@
//
// _landing-menu.scss
//
.ecommerce-navbar {
height: 70px;
transition: all 0.5s ease;
background-color: var(--#{$prefix}secondary-bg);
position: fixed;
left: 0;
right: 0;
top: 34px;
z-index: 1000;
padding: 0;
.navbar-nav {
.nav-item {
.nav-link {
color: #637790;
font-size: 15px;
font-weight: 500;
padding: 0px 14px;
height: 70px;
display: flex;
align-items: center;
justify-content: center;
&:hover,
&.active {
color: $primary;
}
}
}
}
.dropdown-menu-list {
.nav-item {
.nav-link {
height: auto;
display: inline-block;
font-size: 14px;
padding: $dropdown-item-padding-y 0px;
background-color: transparent !important;
transition: all 0.5s ease;
&::before {
content: "";
background-color: $primary;
height: 5px;
width: 5px;
border-radius: 50%;
position: absolute;
top: 15px;
left: 2px;
transition: all 0.5s ease;
opacity: 0;
}
&:hover {
padding-left: 13px;
color: $primary;
&::before {
opacity: 1;
}
}
}
}
&.submenu {
.nav-item {
.nav-link {
&::before {
left: 1.45rem;
}
&:hover {
padding-left: 37px !important;
}
}
}
}
}
.navbar-collapse {
height: 100% !important;
}
&.is-sticky {
background-color: var(--#{$prefix}secondary-bg) !important;
box-shadow: $box-shadow-lg;
}
.navbar-brand {
.logo-light {
display: var(--#{$prefix}card-logo-light);
}
.logo-dark {
display: var(--#{$prefix}card-logo-dark);
}
}
}
.dropdown-custom-right {
left: auto !important;
right: 100%;
}
@media (min-width:992px) {
.dropdown-hover {
&:hover {
>.dropdown-menu {
display: block;
}
.dropdown-toggle {
&::after {
transition: all 0.5s ease;
transform: rotate(180deg);
}
}
}
}
.dropdown-hover-end {
&:hover {
>.dropdown-menu {
display: block;
top: 70px !important;
right: 0;
}
.dropdown-toggle {
&::after {
transition: all 0.5s ease;
transform: rotate(180deg);
}
}
}
}
.dropdown-menu {
&.dropdown-menu-center {
left: 50%;
transform: translate(-50%, 0);
}
}
.navbar-nav {
.dropdown {
.dropdown-menu {
&.submenu {
width: 200px;
&.dropdown-custom-right {
left: -100% !important;
right: 100%;
}
.nav-item {
.nav-link {
width: 100%;
padding: .35rem 1.5rem;
&.dropdown-toggle::after {
float: right;
transform: rotate(-90deg);
margin-top: 3px;
}
}
&.dropdown-hover {
.dropdown-menu {
left: 100%;
top: 0;
}
}
}
}
}
}
}
}
.bg-overlay.navbar-overlay {
position: fixed;
z-index: 9;
}
.navbar-collapse:not(.show)+.navbar-overlay {
display: none;
}
@media (max-width:991.98px) {
.ecommerce-navbar {
.navbar-collapse {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
height: 100vh !important;
background-color: var(--#{$prefix}secondary-bg);
width: 250px;
z-index: 999;
overflow-y: auto;
transform: translateX(0);
transition: all 0.4s;
&:not(.show) {
transform: translateX(-250px);
}
}
.navbar-nav {
.nav-item {
.nav-link {
justify-content: flex-start;
height: 40px;
width: 100%;
&.dropdown-toggle:after {
margin-left: auto;
}
}
}
.dropdown-menu {
box-shadow: none;
position: relative;
left: auto !important;
right: auto !important;
width: 100%;
&.submenu {
padding-left: 12px;
}
}
}
.dropdown-menu-list {
.nav-item {
.nav-link {
height: auto;
padding: $dropdown-item-padding-y $dropdown-item-padding-x;
display: flex;
}
}
.menu-title {
padding: 0 $dropdown-item-padding-x;
}
}
}
}
.dropdown-mega-full {
position: static !important;
.dropdown-menu {
padding: 20px;
left: 20px !important;
right: 20px !important;
}
}
+171
View File
@@ -0,0 +1,171 @@
//
// _layouts.scss
//
[data-layout-width="boxed"] {
body {
background: $body-bg-image;
&::before {
content: "";
position: absolute;
inset: 0;
background-color: rgba(var(--#{$prefix}body-bg-rgb), 0.60);
}
}
#layout-wrapper {
max-width: $boxed-layout-width;
margin: 0 auto;
box-shadow: 0 5px 15px rgba(30, 32, 37, 0.40);
background-color: var(--#{$prefix}body-bg);
}
&[data-layout="vertical"] {
#layout-wrapper {
min-height: 100vh;
}
}
#page-topbar,
.footer {
max-width: $boxed-layout-width;
margin: 0 auto;
left: 0 !important;
}
&:is([data-sidebar-size="sm-hover"],[data-sidebar-size="sm"]) {
&[data-layout="vertical"] {
@media (min-width: 768px) {
#layout-wrapper {
min-height: 1400px;
}
}
.main-content {
@media (max-width: 767.98px) {
margin-left: 0;
}
}
}
#page-topbar,
.footer {
left: 0 !important;
max-width: calc(#{$boxed-layout-width} - #{$vertical-menu-width-sm});
@media (min-width: 768px) {
left: $vertical-menu-width-sm !important;
}
}
}
&:is([data-sidebar-size="sm-hover-active"], [data-sidebar-size="lg"]) {
#page-topbar,
.footer {
max-width: calc(#{$boxed-layout-width} - #{$vertical-menu-width});
@media (min-width: 768px) {
left: $vertical-menu-width !important;
}
}
}
&[data-sidebar-size="md"] {
#page-topbar,
.footer {
max-width: calc(#{$boxed-layout-width} - #{$vertical-menu-width-md});
@media (min-width: 768px) {
left: $vertical-menu-width-md !important;
}
}
}
// deteched
&[data-layout=vertical][data-layout-style=detached] {
body {
background-color: var(--#{$prefix}body-bg);
}
@media (min-width: 1024.1px) {
#layout-wrapper {
max-width: 1300px;
}
.top-tagbar {
.container-fluid {
max-width: 1300px;
margin: 0 auto;
padding: 0 calc(#{$grid-gutter-width} * 1) 0 calc(#{$grid-gutter-width} * 1);
}
}
.layout-width {
max-width: 1300px;
}
}
&:is([data-sidebar-size="sm-hover"], [data-sidebar-size="sm"], [data-sidebar-size="md"], [data-sidebar-size="lg"]) {
#page-topbar,
.footer {
max-width: 100%;
left: 0 !important;
}
}
}
}
// Horizontal Boxed Layout
[data-layout="horizontal"][data-layout-width="boxed"] {
#page-topbar,
#layout-wrapper,
.footer {
max-width: 100%;
}
.container-fluid,
.navbar-header {
max-width: $boxed-layout-width;
}
.navbar-header {
padding: 0 calc(#{$grid-gutter-width} * 0.5) 0 0;
}
&:is([data-sidebar-size="sm-hover"],[data-sidebar-size="sm"], [data-sidebar-size="sm-hover-active"], [data-sidebar-size="lg"]) {
#page-topbar,
.footer {
left: 0 !important;
}
}
}
// Scrollable layout
[data-layout-position="scrollable"] {
@media (min-width: 992px) {
#page-topbar,
.navbar-menu {
position: absolute;
}
}
&[data-layout="horizontal"] {
@media (min-width: 992px) {
#page-topbar,
.topnav {
position: absolute;
}
}
}
}
+55
View File
@@ -0,0 +1,55 @@
//
// _page-head.scss
//
.page-wrapper{
position: relative;
padding: 132px 0 35px;
}
.page-title-box {
padding: 0 0 20px; //$grid-gutter-width
.breadcrumb {
background-color: transparent;
padding: 0;
}
h4 {
font-weight: $font-weight-bold;
font-size: 15px!important;
text-transform: uppercase;
}
}
[data-layout="horizontal"] {
.page-title-box {
padding: 1.2rem 0;
background-color: transparent !important;
border-bottom: none;
border-top: none;
box-shadow: none;
margin: 0;
@media (min-width: 1024.1px) {
margin: -19px 0 0 0;
}
}
}
[data-layout="vertical"] {
&[data-layout-style="detached"]{
.page-title-box {
padding: 1.2rem 0;
background-color: transparent !important;
border-bottom: none;
border-top: none;
box-shadow: none;
margin: 0;
@media (min-width: 1024.1px) {
margin: -19px 0 0 0;
}
}
}
}
+457
View File
@@ -0,0 +1,457 @@
//
// _topbar.scss
.top-tagbar {
background-color: var(--#{$prefix}top-tagbar-bg);
z-index: 1001;
position: fixed;
left: 0;
right: 0;
top: 0;
height: $top-tagbar-height;
padding: 0 calc(#{$grid-gutter-width} * 0.5) 0 calc(#{$grid-gutter-width} * 0.5);
display: flex;
align-items: center;
}
.topbar-tag-dropdown {
height: $top-tagbar-height;
display: flex;
align-items: center;
.btn-icon {
height: auto;
width: auto;
}
.dropdown-menu {
top: 4px !important;
}
}
#page-topbar {
position: fixed;
top: $top-tagbar-height;
right: 0;
left: 0;
z-index: 1000;
background-color: var(--#{$prefix}header-bg);
transition: all 0.1s ease-out;
border-bottom: 1px solid var(--#{$prefix}border-color-translucent);
&.topbar-shadow {
box-shadow: rgba(0, 0, 0, 0.18) 0px 1px 3px;
}
@media (min-width: 768px) {
left: $vertical-menu-width;
}
}
.navbar-header {
display: flex;
-ms-flex-pack: justify;
justify-content: space-between;
align-items: center;
margin: 0 auto;
height: $header-height;
padding: 0 calc(#{$grid-gutter-width} * 1) 0 calc(#{$grid-gutter-width} * 1)
/*rtl: 0 0 0 calc(#{$grid-gutter-width} / 2) */
;
@media (max-width: 767.98px) {
padding: 0 calc(#{$grid-gutter-width} * 0.5) 0 calc(#{$grid-gutter-width} * 0.5);
}
.topbar-head-dropdown {
.dropdown-menu.show {
top: 13px !important;
}
.notification-actions {
display: none;
position: absolute;
background-color: var(--#{$prefix}dropdown-bg);
left: 0;
right: 0;
bottom: 0;
padding: 7px;
border-top: 1px solid var(--#{$prefix}border-color-translucent);
}
}
.btn-topbar {
height: 42px;
width: 42px;
@media (max-width: 360px) {
height: 36px;
width: 36px;
}
}
.user-name-text {
color: var(--#{$prefix}header-item-color);
}
.user-name-sub-text {
color: var(--#{$prefix}header-item-sub-color);
}
}
/* Search */
.app-search {
padding: calc(#{$header-height - 38px} / 2) 0;
.form-control {
border: none;
height: 38px;
padding-left: 40px;
padding-right: 30px;
box-shadow: none;
background-color: transparent;
transition: all 0.5s ease;
&:hover,
&:focus,
&:active {
background-color: $white;
}
}
span.search-widget-icon {
position: absolute;
z-index: 10;
font-size: 18px;
line-height: 38px;
left: 13px;
top: 0;
color: $gray-600;
cursor: pointer;
}
.search-widget-icon-close {
right: 7px;
left: auto !important;
}
@media (max-width: 1023.99px) {
padding-left: calc(#{$grid-gutter-width} / 2);
}
}
#searchModal {
top: 6px;
.form-control {
padding-left: 45px;
padding-right: 55px;
}
.search-widget-icon {
position: absolute;
left: 18px;
top: 12px;
}
.search-widget-icon-close {
right: 18px;
left: auto;
}
.dropdown-menu {
top: 94px;
width: 100%;
.list-group-item{
border: none !important;
}
}
}
// Mega menu
.megamenu-list {
li {
position: relative;
padding: 5px 0px;
a {
color: $dropdown-color;
}
}
}
@media (max-width: 767.98px) {
.logo {
span.logo-lg {
display: none;
}
span.logo-sm {
display: inline-block;
}
}
}
.header-item {
height: $header-height;
display: flex;
align-items: center;
}
.header-profile-user {
height: 32px;
width: 32px;
}
.topbar-badge-sm {
right: 0;
top: 7px !important;
}
.topbar-badge {
right: -9px;
top: 4px !important;
}
.navbar-header .topbar-user {
@media (min-width: 768px) {
background-color: var(--#{$prefix}topbar-user-bg);
}
.dropdown-menu.show {
top: 2px !important;
}
}
.notification-item {
padding: 0.75rem 1rem;
white-space: inherit;
position: relative;
.form-check-input {
position: relative;
z-index: 2;
}
.active-badge {
top: 25px;
border: 2px solid var(--#{$prefix}light);
}
&.unread-message {
background-color: rgba(var(--#{$prefix}light-rgb), 1.5);
&:active,
&.active {
background-color: rgba(var(--#{$prefix}light-rgb), 2.5);
}
}
border-bottom: 1px solid var(--#{$prefix}border-color-translucent);
&:last-child {
border-bottom: none;
}
}
// Dropdown with Icons
.dropdown-icon-item {
display: block;
border-radius: 3px;
line-height: 34px;
text-align: center;
padding: 15px 0 15px;
border: 1px solid transparent;
color: var(--#{$prefix}dropdown-link-color);
img {
height: 70px;
}
span {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
&:hover {
background-color: var(--#{$prefix}dropdown-link-hover-bg);
}
}
// Full Screen
.fullscreen-enable {
[data-toggle="fullscreen"] {
.bx-fullscreen::before {
content: "\eacb";
}
}
}
// Dark mode enable
[data-bs-theme="dark"] {
.mode-layout {
.bi-sun::before {
content: "\f497";
}
}
}
.mode-auto {
.mode-layout {
.bi-sun::before {
content: "\f496" !important;
}
}
}
@media (max-width: 600px) {
.navbar-header {
.dropdown {
position: static;
.dropdown-menu {
width: 100%;
}
}
}
}
@media (max-width: 767.98px) {
#search-dropdown-reponsive {
top: 54px !important;
}
}
[data-layout="vertical"] {
&[data-layout-style="detached"] {
@media (min-width: 1024.1px) {
#page-topbar {
left: 0 !important;
box-shadow: $box-shadow;
}
.horizontal-logo {
display: inline-block;
padding-left: 0;
width: auto;
}
.topnav-hamburger {
visibility: hidden;
}
.layout-width {
max-width: 95%;
margin: 0 auto;
}
&[data-sidebar-size="sm"],
&[data-sidebar-size="sm-hover"] {
.navbar-brand-box {
background-color: transparent !important;
position: relative;
width: auto;
text-align: left;
.logo-sm {
display: none;
}
.logo-lg {
display: block;
}
}
}
}
&[data-topbar="dark"]:is([data-sidebar="light"], [data-sidebar="dark"], [data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"],[data-sidebar="gradient-4"]),
&[data-topbar="brand"]:is([data-sidebar="light"], [data-sidebar="dark"], [data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"],[data-sidebar="gradient-4"]) {
.horizontal-logo {
.logo-dark {
display: none;
}
.logo-light {
display: block;
}
}
}
&:is([data-sidebar="dark"], [data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"], [data-sidebar="gradient-4"]) {
.horizontal-logo {
.logo-dark {
display: block;
}
.logo-light {
display: none;
}
}
}
}
}
[data-layout="horizontal"] {
#page-topbar {
left: 0;
border-bottom: 1px solid var(--#{$prefix}border-color-translucent);
@media (min-width: 1024.1px) {
&.topbar-shadow {
box-shadow: none;
}
}
}
.page-content {
@media (min-width: 1024.1px) {
margin-top: calc(#{$header-height} + #{$top-tagbar-height});
}
padding: calc(45px + #{$grid-gutter-width}) calc(#{$grid-gutter-width} * 0.5) $footer-height calc(#{$grid-gutter-width} * 0.5);
}
&[data-layout-width="boxed"] {
.page-content {
@media (min-width: 1024.1px) {
min-height: calc(100vh - #{$footer-height + $header-height});
}
}
}
}
[data-layout="vertical"] {
&:is([data-sidebar-size="sm"], [data-sidebar-size="sm-hover"]){
#page-topbar {
@media (min-width: 768px) {
left: $vertical-menu-width-sm;
}
}
}
&[data-sidebar-size="md"] {
#page-topbar {
@media (min-width: 768px) {
left: $vertical-menu-width-md;
}
}
}
}
[data-layout="twocolumn"] {
#page-topbar {
@media (min-width: 768px) {
left: calc(#{$twocolumn-menu-iconview-width} + #{$twocolumn-menu-width});
}
}
.horizontal-logo {
display: none;
}
}
+226
View File
@@ -0,0 +1,226 @@
//
// _two-column.scss
//
[data-layout="twocolumn"] {
.app-menu {
padding-bottom: 0;
width: $twocolumn-menu-width;
left: $twocolumn-menu-iconview-width;
.menu-link {
letter-spacing: .05em;
cursor: default;
font-size: 11px;
text-transform: uppercase;
color: $vertical-menu-title-color !important;
font-weight: $font-weight-semibold;
&:after {
display: none !important;
}
i {
display: none;
}
}
.navbar-nav {
height: calc(100vh - #{$header-height});
@media (max-width: 767.98px) {
padding-top: 16px;
}
>li:not(.twocolumn-item-show) {
display: none;
}
.twocolumn-item-show {
>div {
display: block !important;
height: auto !important;
}
}
>.nav-item {
>.menu-dropdown {
display: block !important;
height: auto !important;
}
}
.nav-item {
.menu-dropdown {
.row {
margin: 0;
.col-lg-4 {
width: 100%;
padding: 0;
}
}
}
}
.nav-sm {
.nav-link {
color: $vertical-menu-item-color;
&.active {
color: $vertical-menu-item-active-color;
}
}
}
}
.container-fluid {
padding: 0;
}
}
.main-content {
margin-left: calc(#{$twocolumn-menu-width} + #{$twocolumn-menu-iconview-width});
@media (max-width:767.98px) {
margin-left: $twocolumn-menu-iconview-width;
}
}
.twocolumn-iconview {
width: $twocolumn-menu-iconview-width;
background: $twocolumn-menu-iconview-bg;
height: 100%;
left: -$twocolumn-menu-iconview-width;
box-shadow: $twocolumn-menu-box-shadow;
top: 0;
position: absolute;
padding: 0;
text-align: center;
li {
position: relative;
.nav-icon {
&::after {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
}
}
.nav-icon {
width: 42px;
height: 42px;
line-height: 42px;
color: $vertical-menu-item-color;
z-index: 1;
font-size: 18px;
text-align: center;
border-radius: 3px;
margin: 5px 0;
display: inline-flex;
justify-content: center;
align-items: center;
.icon-dual {
width: 18px;
color: $vertical-menu-item-color;
}
&.active {
background-color: var(--#{$prefix}vertical-menu-item-active-bg);
color: var(--#{$prefix}vertical-menu-item-active-color);
}
}
}
.menu-title {
display: none;
}
@media (max-width: 991.98px) {
.logo {
span.logo-lg {
display: block;
}
span.logo-sm {
display: none;
}
}
}
&:is([data-sidebar="dark"],[data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"], [data-sidebar="gradient-4"]){
.app-menu {
.navbar-brand-box {
.logo-light {
display: block;
}
.logo-dark {
display: none;
}
}
}
}
.twocolumn-panel {
.app-menu {
width: 0;
border-right: 0;
@media (max-width: 575.98px) {
display: none;
}
}
.navbar-brand-box,
.navbar-nav {
display: none;
}
.main-content {
margin-left: $twocolumn-menu-iconview-width;
}
#page-topbar,
.footer {
left: $twocolumn-menu-iconview-width;
}
@media (max-width: 575.98px) {
.main-content {
margin-left: 0;
}
#page-topbar,
.footer {
left: 0;
}
}
}
#page-topbar,
.footer {
@media (max-width: 767.98px) {
left: $twocolumn-menu-iconview-width;
}
}
@media (max-width: 575.98px) {
.main-content {
margin-left: 0;
}
#page-topbar,
.footer {
left: 0;
}
}
}
+985
View File
@@ -0,0 +1,985 @@
//
// _vertical.scss
//
.app-content {
margin-left: $vertical-menu-width;
overflow: hidden;
.content {
padding: 0 15px 10px 15px;
margin-top: $header-height;
}
}
.main-content {
transition: all .1s ease-out;
@media (min-width: 768px) {
margin-left: $vertical-menu-width;
}
}
.page-content {
padding: calc(#{$header-height} + #{$top-tagbar-height} + #{$grid-gutter-width}) calc(#{$grid-gutter-width} * 0.5) $footer-height calc(#{$grid-gutter-width} * 0.5);
}
.navbar-menu {
width: $vertical-menu-width;
z-index: $vertical-menu-z-index;
background: $vertical-menu-bg;
border-right: 1px solid $vertical-menu-border;
bottom: 0;
margin-top: 0;
position: fixed;
top: $top-tagbar-height;
padding: 0 0 calc(#{$header-height} + 25px) 0;
transition: all .1s ease-out;
.navbar-nav {
.nav-link {
display: flex;
align-items: center;
padding: $vertical-menu-item-padding-y $vertical-menu-item-padding-x;
color: $vertical-menu-item-color;
font-size: $vertical-menu-item-font-size;
font-family: $vertical-menu-item-font-family;
&.active {
color: $vertical-menu-item-active-color;
}
&:hover {
color: $vertical-menu-item-hover-color;
}
i {
display: inline-block;
min-width: $vertical-menu-item-icon-width;
font-size: 16px;
line-height: inherit;
}
svg {
width: 18px;
margin-right: 0.665rem;
color: $vertical-menu-item-color;
}
.badge {
margin-left: auto;
margin-right: -2px;
z-index: 1;
}
&:hover {
color: $vertical-menu-item-hover-color;
}
&[data-bs-toggle=collapse] {
&:after {
display: block;
content: "\F0142";
font-family: 'Material Design Icons';
margin-left: auto;
transition: transform .2s;
font-size: 1.05rem;
position: absolute;
right: 18px;
color: $vertical-menu-title-color;
}
&[aria-expanded=true] {
color: $vertical-menu-item-active-color;
&:after {
transform: rotate(90deg);
color: $vertical-menu-item-active-color;
}
&:before {
opacity: 1;
background-color: $vertical-menu-item-active-color;
}
}
}
&.collapsed {
&.active {
&::after {
transform: rotate(90deg);
}
}
}
}
.nav-sm {
padding-left: $vertical-menu-item-icon-width;
.nav-link {
padding: $vertical-menu-sub-item-padding-y $vertical-menu-sub-item-padding-x !important;
color: $vertical-menu-sub-item-color;
white-space: none;
position: relative;
font-size: $vertical-menu-sub-item-font-size;
font-family: $vertical-menu-sub-item-font-family;
&:hover {
color: $vertical-menu-sub-item-hover-color;
}
&.active {
color: $vertical-menu-item-active-color;
}
}
.nav-sm {
padding-left: 15px;
.nav-link {
&:before {
height: 5px;
width: 5px;
left: 5px;
border-radius: 50%;
background-color: transparent;
border: 1px solid;
top: 16px;
}
}
}
}
}
.btn-vertical-sm-hover {
color: $text-muted;
display: none;
}
}
.navbar-brand-box {
text-align: center;
padding: 0 1.3rem;
transition: all .1s ease-out;
@media (max-width: 767.98px) {
display: none;
}
}
.hamburger-icon {
width: 20px;
height: 14px;
position: relative;
cursor: pointer;
display: inline-block;
span {
background-color: var(--#{$prefix}header-item-sub-color);
position: absolute;
border-radius: 2px;
transition: .3s cubic-bezier(.8, .5, .2, 1.4);
width: 100%;
height: 2px;
display: block;
left: 0px;
&:nth-child(1) {
top: 0;
width: 80%;
}
&:nth-child(2) {
top: 6px;
}
&:nth-child(3) {
bottom: 0;
width: 60%;
}
}
.vertical-menu-btn:hover &:not(.open) {
span {
&:nth-child(1) {
top: -1px;
}
&:nth-child(3) {
bottom: -1px;
}
}
}
&.open {
transform: rotate(-90deg);
span {
&:nth-child(1) {
left: 1px;
top: 5px;
width: 20px;
transform: rotate(90deg);
transition-delay: 150ms;
}
&:nth-child(2) {
left: 3px;
top: 13px;
width: 10px;
transform: rotate(45deg);
transition-delay: 50ms;
}
&:nth-child(3) {
left: 9px;
top: 13px;
width: 10px;
transform: rotate(-45deg);
transition-delay: 100ms;
}
}
}
}
.logo {
line-height: $header-height;
.logo-sm {
display: none;
}
}
[data-layout="vertical"] {
.app-menu {
.row {
margin: 0;
>* {
width: 100%;
padding: 0;
}
}
@media (max-width: 767.98px) {
margin-left: -100%;
padding: 10px 0 20px 0;
}
}
.navbar-menu {
.container-fluid {
padding: 0;
}
}
.navbar-brand-box {
@media (max-width: 767.98px) {
display: none;
}
}
.horizontal-logo {
display: none;
}
/********** sm-hover **********/
&[data-sidebar-size="sm-hover"] {
.main-content {
margin-left: $vertical-menu-width-sm;
@media (max-width: 767.98px) {
margin-left: 0;
}
}
.logo {
span.logo-lg {
display: none;
}
span.logo-sm {
display: inline-block;
}
}
.btn-vertical-sm-hover {
display: inline-block;
}
@media (min-width: 768px) {
.topnav-hamburger {
display: none;
}
}
// Side menu
.navbar-menu {
width: $vertical-menu-width-sm;
.btn-vertical-sm-hover {
display: none;
i {
&.ri-record-circle-line:before {
content: "\EB7D";
}
}
}
// Sidebar Menu
.navbar-nav {
.badge {
display: none;
}
.menu-title {
text-align: center;
span {
display: none;
}
i {
display: block;
line-height: 36px;
font-size: 1rem;
}
}
.nav-link {
span {
display: none;
}
i {
font-size: 18px;
&.las,
&.lar,
&.lab {
font-size: 24px;
}
}
svg {
margin-right: 0px;
}
&:after,
&:before {
display: none;
}
}
.menu-dropdown {
display: none;
}
}
&:hover {
width: $vertical-menu-width !important;
border-right: 1px solid $border-color;
@media (min-width: 1024.99px) {
.btn-vertical-sm-hover {
display: inline-block;
}
.navbar-brand-box {
text-align: left;
}
}
.navbar-nav {
.menu-dropdown.show {
display: block;
}
}
.nav-link {
i {
font-size: 18px;
}
span,
&:after,
&:before {
display: inline-block;
}
}
.logo {
span.logo-lg {
display: inline-block;
}
span.logo-sm {
display: none;
}
}
.menu-title {
text-align: left;
span {
display: inline-block;
}
i {
display: none;
}
}
}
}
}
/********** sm-hover-active **********/
&[data-sidebar-size="sm-hover-active"] {
.navbar-brand-box {
text-align: left;
}
.topnav-hamburger {
display: none;
}
.btn-vertical-sm-hover {
display: inline-block;
}
}
&:is([data-sidebar-size="sm-hover"], [data-sidebar-size="sm-hover-active"]) {
.navbar-header {
@media (min-width: 1025px) {
padding-left: $grid-gutter-width;
}
}
}
/********** sidebar sm **********/
&[data-sidebar-size="sm"] {
@media (min-width: 768px) {
min-height: 1400px;
.main-content {
margin-left: $vertical-menu-width-sm;
}
}
#page-topbar {
z-index: calc(#{$vertical-menu-z-index} + 1);
}
.logo {
span.logo-lg {
display: none;
}
span.logo-sm {
display: inline-block;
}
}
// Side menu
.navbar-menu {
position: absolute;
width: $vertical-menu-width-sm !important;
padding-top: $header-height;
.simplebar-mask,
.simplebar-content-wrapper {
overflow: visible !important;
}
.simplebar-scrollbar,
.vertical-menu-btn {
display: none !important;
}
.simplebar-offset {
bottom: 0 !important;
}
// Sidebar Menu
.navbar-nav {
.badge {
display: none !important;
}
.menu-title {
text-align: center;
font-size: 1rem;
span {
display: none;
}
i {
display: block;
line-height: 36px;
}
}
.nav-link {
span {
display: none;
}
i {
font-size: 18px;
}
svg {
margin-right: 0px;
}
&:after,
&:before {
display: none;
}
}
.menu-dropdown {
display: none;
height: auto !important;
}
.nav-item {
position: relative;
&:hover {
>a.menu-link {
position: relative;
width: calc(200px + #{$vertical-menu-width-sm});
color: $white;
background: $vertical-menu-item-hover-bg;
transition: none;
span {
display: inline-block;
padding-left: 25px;
}
&:after {
display: block;
transform: rotate(90deg);
color: $white;
}
}
>.menu-dropdown {
display: block;
left: $vertical-menu-width-sm;
position: absolute;
width: 200px;
background: $vertical-menu-bg;
height: auto !important;
padding: 0.5rem 0;
border-radius: 0 0 3px 3px;
box-shadow: $vertical-menu-dropdown-box-shadow;
}
}
}
.nav-sm {
padding: 0;
.nav-item {
&:hover {
>.nav-link {
color: $vertical-menu-item-hover-color;
&:after {
color: inherit;
}
}
}
}
.nav-link {
&:after {
display: block !important;
transform: rotate(0deg) !important;
}
}
.menu-dropdown {
left: 100% !important;
top: 0;
border-radius: 3px !important;
}
}
}
}
.navbar-brand-box {
position: fixed;
padding: 0;
width: calc(70px - 1px);
z-index: 1;
top: $top-tagbar-height;
background: $vertical-menu-bg;
}
&[data-layout-style=detached] {
.navbar-brand-box {
top: auto;
}
}
}
/********** sidebar md **********/
&[data-sidebar-size="md"] {
@media (min-width: 768px) {
.main-content {
margin-left: $vertical-menu-width-md;
}
}
.navbar-brand-box {
width: $vertical-menu-width-md;
}
// Side menu
.navbar-menu {
width: $vertical-menu-width-md !important;
// Sidebar Menu
.navbar-nav {
.nav-link {
display: block;
text-align: center;
padding: $vertical-menu-sub-item-padding-y $vertical-menu-sub-item-padding-x*0.35;
i {
display: block;
}
svg {
display: block;
margin-left: auto;
margin-right: auto;
}
&:before {
display: none !important;
}
&[data-bs-toggle=collapse]:after {
position: relative;
display: inline-block;
right: 0;
top: 3px;
}
&.menu-link {
&[data-bs-toggle=collapse]:after {
display: none;
}
}
}
.badge {
display: none !important;
}
.nav-sm {
padding-left: 0;
}
}
.menu-title {
text-align: center;
span {
text-decoration: underline;
}
}
}
}
/********** dark **********/
&:is([data-sidebar="dark"], [data-sidebar="brand"]) {
&[data-sidebar-size="sm"] {
// Side menu
.navbar-menu {
.navbar-nav {
.nav-sm {
.nav-link {
&:after {
display: block !important;
transform: rotate(0deg) !important;
}
}
.menu-dropdown {
left: 100% !important;
top: 0;
border-radius: 3px !important;
}
}
}
}
}
.logo-dark {
display: none;
}
.logo-light {
display: inline-block;
}
}
&:is([data-sidebar="gradient"], [data-sidebar="gradient-2"], [data-sidebar="gradient-3"],[data-sidebar="gradient-4"]) {
.logo-dark {
display: none;
}
.logo-light {
display: inline-block;
}
}
/********** light **********/
&[data-sidebar="light"] {
.logo-dark {
display: inline-block;
}
.logo-light {
display: none;
}
}
/********** detached **********/
&[data-layout-style="detached"] {
#layout-wrapper,
.main-content {
min-height: 100vh;
}
@media (min-width: 1024.1px) {
.main-content {
position: relative;
}
.top-tagbar {
.container-fluid {
width: 95%;
}
}
#layout-wrapper {
max-width: 95%;
margin: 0 auto;
padding-left: $grid-gutter-width;
}
.navbar-header {
padding-left: $grid-gutter-width;
}
.navbar-menu {
top: calc(#{$header-height} + calc(#{$grid-gutter-width} * 2.5));
bottom: $grid-gutter-width;
padding: 0;
border-right: $vertical-menu-bg;
border-radius: 5px;
padding: 10px 0;
z-index: 1;
.navbar-brand-box {
display: none;
}
}
}
.footer {
border-top: 1px dashed var(--#{$prefix}border-color);
}
.auth-page-wrapper {
.footer {
border-top: none;
}
}
&[data-sidebar-size="sm"] {
@media (min-width: 768px) {
#layout-wrapper,
.main-content {
min-height: 1400px;
}
}
}
}
}
.menu-title {
letter-spacing: .05em;
cursor: default;
font-size: 11px;
text-transform: uppercase;
color: $vertical-menu-title-color;
font-weight: $font-weight-semibold;
span {
padding: 12px 20px;
display: inline-block;
}
i {
display: none;
}
}
.logo-light {
display: none;
}
.vertical-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: rgba($dark, 0.35);
z-index: 1003;
display: none;
}
// Mobile Menu
.vertical-sidebar-enable {
.vertical-overlay {
display: block;
}
.app-menu {
margin-left: 0 !important;
z-index: 1004;
}
}
// rtl
[dir="rtl"] {
.navbar-menu {
.navbar-nav {
.nav-link[data-bs-toggle=collapse] {
&:after {
transform: rotate(180deg);
}
&[aria-expanded=true]:after {
transform: rotate(270deg);
}
}
}
}
}
.bg-vertical-gradient {
background: linear-gradient(to left, #{$blue-700}, #{$blue-800});
;
}
.bg-vertical-gradient-2 {
background: linear-gradient(to left, #{$purple-700}, #{$purple-800});
}
.bg-vertical-gradient-3 {
background: linear-gradient(to left, #{$green-700}, #{$green-800});
}
.bg-vertical-gradient-4 {
background: linear-gradient(to left, #{$cyan-700}, #{$cyan-800});
}
//sidebar-images
.sidebar-background {
position: absolute;
z-index: -1;
height: 100%;
width: 100%;
display: block;
top: 0;
left: 0;
background-size: cover;
background-position: 50%;
opacity: .07;
}
[data-sidebar-image="img-1"] {
.sidebar-background {
background-image: url('../images/sidebar/img-1.jpg');
}
}
[data-sidebar-image="img-2"] {
.sidebar-background {
background-image: url('../images/sidebar/img-2.jpg');
}
}
[data-sidebar-image="img-3"] {
.sidebar-background {
background-image: url('../images/sidebar/img-3.jpg');
}
}
[data-sidebar-image="img-4"] {
.sidebar-background {
background-image: url('../images/sidebar/img-4.jpg');
}
}
[data-bs-theme="dark"] {
/********** light **********/
&[data-sidebar="light"] {
.logo-dark {
display: inline-block;
}
.logo-light {
display: none;
}
}
}
[data-topbar="dark"],
[data-topbar="brand"] {
.btn-ghost-dark {
color: $gray-200;
&:hover,
&:focus,
&:active {
color: $gray-200;
background-color: rgba($gray-200, 0.1)
}
}
}
.back-btn {
position: fixed;
left: 12px;
bottom: 24px;
}