sifatbaho
This commit is contained in:
66
resources/scss/structure/_footer.scss
vendored
Executable file
66
resources/scss/structure/_footer.scss
vendored
Executable file
@@ -0,0 +1,66 @@
|
||||
//
|
||||
// _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;
|
||||
|
||||
@media (max-width: 991.98px) {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="vertical"] {
|
||||
|
||||
&[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});
|
||||
}
|
||||
}
|
||||
}
|
||||
0
resources/scss/structure/_general.scss
vendored
Executable file
0
resources/scss/structure/_general.scss
vendored
Executable file
302
resources/scss/structure/_horizontal.scss
vendored
Executable file
302
resources/scss/structure/_horizontal.scss
vendored
Executable file
@@ -0,0 +1,302 @@
|
||||
//
|
||||
// _horizontal.scss
|
||||
//
|
||||
|
||||
[data-layout="horizontal"] {
|
||||
|
||||
.main-content {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
@media (min-width: 1024.1px) {
|
||||
|
||||
.layout-width,
|
||||
.container-fluid {
|
||||
max-width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.topnav-hamburger {
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.horizontal-logo {
|
||||
padding-left: calc(#{$grid-gutter-width} / 2);
|
||||
|
||||
@media (max-width: 1024.98px) {
|
||||
padding-left: $grid-gutter-width;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-menu {
|
||||
background: $topnav-bg;
|
||||
border-right-color: transparent;
|
||||
padding: 0 calc(#{$grid-gutter-width} / 2);
|
||||
box-shadow: $horizontal-menu-box-shadow;
|
||||
margin-top: $header-height;
|
||||
position: fixed;
|
||||
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;
|
||||
}
|
||||
.icon-dual {
|
||||
color: $topnav-item-color-active;
|
||||
fill: rgba($primary, 0.10);
|
||||
}
|
||||
}
|
||||
|
||||
&[data-bs-toggle=collapse][aria-expanded=true] {
|
||||
color: $topnav-item-color-active;
|
||||
|
||||
.icon-dual {
|
||||
color: $topnav-item-color-active;
|
||||
fill: rgba($primary, 0.10);
|
||||
}
|
||||
|
||||
&:after {
|
||||
color: $topnav-item-color-active;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.icon-dual {
|
||||
color: $topnav-item-color-active;
|
||||
fill: rgba($primary, 0.10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
>.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;
|
||||
|
||||
.icon-dual {
|
||||
color: $topnav-item-color-active;
|
||||
fill: rgba($primary, 0.10);
|
||||
}
|
||||
|
||||
&: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: var(--#{$prefix}choices-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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// theme dark
|
||||
[data-layout-mode="dark"] {
|
||||
&[data-topbar="light"] {
|
||||
.navbar-header {
|
||||
.horizontal-logo {
|
||||
.logo-dark {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.logo-light {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
164
resources/scss/structure/_layouts.scss
vendored
Executable file
164
resources/scss/structure/_layouts.scss
vendored
Executable file
@@ -0,0 +1,164 @@
|
||||
//
|
||||
// _layouts.scss
|
||||
//
|
||||
|
||||
[data-layout-width="boxed"] {
|
||||
body {
|
||||
background-color: $boxed-body-bg;
|
||||
}
|
||||
|
||||
#layout-wrapper {
|
||||
max-width: $boxed-layout-width;
|
||||
margin: 0 auto;
|
||||
box-shadow: $box-shadow;
|
||||
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;
|
||||
}
|
||||
|
||||
&[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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[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;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.layout-width {
|
||||
max-width: 1300px;
|
||||
}
|
||||
}
|
||||
|
||||
&[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} / 2) 0 0;
|
||||
}
|
||||
|
||||
&[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
resources/scss/structure/_page-head.scss
vendored
Executable file
55
resources/scss/structure/_page-head.scss
vendored
Executable file
@@ -0,0 +1,55 @@
|
||||
//
|
||||
// _page-head.scss
|
||||
//
|
||||
|
||||
.page-title-box {
|
||||
padding: 10px $grid-gutter-width;
|
||||
background-color: var(--#{$prefix}card-bg-custom);
|
||||
box-shadow: $page-title-box-shadow;
|
||||
border-bottom: 1px solid $page-title-border;
|
||||
border-top: 1px solid $page-title-border;
|
||||
margin: -23px (-$grid-gutter-width * 1) $grid-gutter-width (-$grid-gutter-width * 1);
|
||||
|
||||
.breadcrumb {
|
||||
background-color: transparent;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-weight: 700;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
395
resources/scss/structure/_topbar.scss
vendored
Executable file
395
resources/scss/structure/_topbar.scss
vendored
Executable file
@@ -0,0 +1,395 @@
|
||||
//
|
||||
// _topbar.scss
|
||||
//
|
||||
|
||||
#page-topbar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: 1002;
|
||||
background-color: $header-bg;
|
||||
transition: all 0.1s ease-out;
|
||||
|
||||
&.topbar-shadow {
|
||||
box-shadow: $box-shadow;
|
||||
}
|
||||
|
||||
@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 $grid-gutter-width 0 calc(#{$grid-gutter-width} / 2)
|
||||
/*rtl: 0 0 0 calc(#{$grid-gutter-width} / 2) */
|
||||
;
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
padding: 0 calc(#{$grid-gutter-width} / 2) 0 calc(#{$grid-gutter-width} / 2);
|
||||
}
|
||||
|
||||
.topbar-head-dropdown {
|
||||
.dropdown-menu.show {
|
||||
top: 13px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-topbar {
|
||||
height: 42px;
|
||||
width: 42px;
|
||||
|
||||
@media (max-width: 360px) {
|
||||
height: 36px;
|
||||
width: 36px;
|
||||
}
|
||||
}
|
||||
|
||||
.user-name-text {
|
||||
color: var(--#{$prefix}gray-700);
|
||||
}
|
||||
}
|
||||
|
||||
/* Search */
|
||||
|
||||
.app-search {
|
||||
padding: calc(#{$header-height - 38px} / 2) 0;
|
||||
|
||||
.form-control {
|
||||
border: none;
|
||||
height: 38px;
|
||||
padding-left: 40px;
|
||||
padding-right: 30px;
|
||||
background-color: $topbar-search-bg;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
span.search-widget-icon {
|
||||
position: absolute;
|
||||
z-index: 10;
|
||||
font-size: 18px;
|
||||
line-height: 38px;
|
||||
left: 13px;
|
||||
top: 0;
|
||||
color: $gray-600;
|
||||
}
|
||||
|
||||
.search-widget-icon-close {
|
||||
right: 7px;
|
||||
left: auto !important;
|
||||
}
|
||||
|
||||
@media (max-width: 1023.99px) {
|
||||
padding-left: calc(#{$grid-gutter-width} / 2);
|
||||
}
|
||||
}
|
||||
|
||||
// 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;
|
||||
}
|
||||
|
||||
.topbar-user {
|
||||
@media (min-width: 768px) {
|
||||
background-color: $topbar-user-bg;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
top: 6px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.notification-item {
|
||||
padding: 0.75rem 1rem;
|
||||
white-space: inherit;
|
||||
position: relative;
|
||||
|
||||
.form-check-input {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
// Dropdown with Icons
|
||||
.dropdown-icon-item {
|
||||
display: block;
|
||||
border-radius: 3px;
|
||||
line-height: 34px;
|
||||
text-align: center;
|
||||
padding: 15px 0 9px;
|
||||
border: 1px solid transparent;
|
||||
color: var(--#{$prefix}dropdown-link-color);
|
||||
|
||||
img {
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
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-layout-mode="dark"] {
|
||||
.light-dark-mode {
|
||||
.bx-moon::before {
|
||||
content: "\ec34";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-topbar="dark"] {
|
||||
#page-topbar {
|
||||
background-color: $header-bg-dark;
|
||||
border-color: $header-bg-dark;
|
||||
}
|
||||
|
||||
.navbar-header {
|
||||
.btn-topbar {
|
||||
color: $header-item-color-dark;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: rgba($white, 0.07);
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.topbar-user {
|
||||
@media (min-width: 767.99px) {
|
||||
background-color: $topbar-user-bg-dark;
|
||||
}
|
||||
|
||||
.user-name-text {
|
||||
color: rgba($white, 0.85) !important;
|
||||
}
|
||||
|
||||
.user-name-sub-text {
|
||||
color: $header-item-color-dark !important;
|
||||
}
|
||||
}
|
||||
|
||||
.logo-dark {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.logo-light {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.app-search {
|
||||
.form-control {
|
||||
background-color: rgba($white, 0.05);
|
||||
color: $white;
|
||||
}
|
||||
|
||||
span.search-widget-icon,
|
||||
input.form-control::-webkit-input-placeholder {
|
||||
color: rgba($white, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
.hamburger-icon {
|
||||
span {
|
||||
background-color: $gray-300;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
|
||||
.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"] {
|
||||
.horizontal-logo {
|
||||
.logo-dark {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.logo-light {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="horizontal"] {
|
||||
#page-topbar {
|
||||
left: 0;
|
||||
border-bottom: 1px solid var(--#{$prefix}gray-300);
|
||||
|
||||
@media (min-width: 1024.1px) {
|
||||
&.topbar-shadow {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.page-content {
|
||||
@media (min-width: 1024.1px) {
|
||||
margin-top: $header-height;
|
||||
}
|
||||
|
||||
padding: calc(45px + #{$grid-gutter-width}) calc(#{$grid-gutter-width} / 2) $footer-height calc(#{$grid-gutter-width} / 2);
|
||||
}
|
||||
|
||||
&[data-layout-width="boxed"] {
|
||||
.page-content {
|
||||
@media (min-width: 1024.1px) {
|
||||
min-height: calc(100vh - #{$footer-height + $header-height});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="vertical"] {
|
||||
|
||||
&[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;
|
||||
}
|
||||
}
|
||||
378
resources/scss/structure/_two-column.scss
vendored
Executable file
378
resources/scss/structure/_two-column.scss
vendored
Executable file
@@ -0,0 +1,378 @@
|
||||
//
|
||||
// _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-color: $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: 22px;
|
||||
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: rgba($primary, 0.15);
|
||||
color: $primary;
|
||||
|
||||
.icon-dual {
|
||||
color: $primary;
|
||||
fill: rgba($primary, 0.10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.menu-title {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 991.98px) {
|
||||
.logo {
|
||||
|
||||
span.logo-lg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
span.logo-sm {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar="light"] {
|
||||
.app-menu {
|
||||
.navbar-brand-box {
|
||||
.logo-light {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.logo-dark {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar="dark"] {
|
||||
.twocolumn-iconview {
|
||||
background-color: $twocolumn-menu-iconview-bg-dark;
|
||||
|
||||
.nav-icon {
|
||||
color: $twocolumn-menu-item-color-dark;
|
||||
|
||||
&.active {
|
||||
color: $twocolumn-menu-item-active-color-dark;
|
||||
background-color: $twocolumn-menu-item-active-bg-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.app-menu {
|
||||
background-color: $twocolumn-menu-bg-dark;
|
||||
border-right-color: $twocolumn-menu-border-dark;
|
||||
|
||||
.navbar-brand-box {
|
||||
.logo-light {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.logo-dark {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-nav {
|
||||
.nav-sm {
|
||||
.nav-link {
|
||||
color: $twocolumn-menu-item-color-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-menu {
|
||||
.navbar-nav {
|
||||
.nav-sm {
|
||||
.nav-link {
|
||||
|
||||
&:hover,
|
||||
&.active {
|
||||
color: $twocolumn-menu-item-active-color-dark;
|
||||
|
||||
&::before {
|
||||
background-color: $twocolumn-menu-item-active-color-dark !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
&[data-bs-toggle=collapse][aria-expanded=true] {
|
||||
color: $twocolumn-menu-item-active-color-dark;
|
||||
|
||||
&:before {
|
||||
background-color: $twocolumn-menu-item-active-color-dark;
|
||||
}
|
||||
|
||||
&::after {
|
||||
color: $twocolumn-menu-item-active-color-dark !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar="gradient"], &[data-sidebar="gradient-2"], &[data-sidebar="gradient-3"], &[data-sidebar="gradient-4"] {
|
||||
.twocolumn-iconview {
|
||||
background-color: $twocolumn-menu-iconview-bg-dark;
|
||||
|
||||
.nav-icon {
|
||||
color: $twocolumn-menu-item-color-gradient;
|
||||
|
||||
&.active {
|
||||
color: $twocolumn-menu-item-active-color-dark;
|
||||
background-color: $twocolumn-menu-item-active-bg-dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.app-menu {
|
||||
background-color: $twocolumn-menu-bg-dark;
|
||||
border-right-color: $twocolumn-menu-border-dark;
|
||||
|
||||
.navbar-brand-box {
|
||||
.logo-light {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.logo-dark {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-nav {
|
||||
.nav-sm {
|
||||
.nav-link {
|
||||
color: $twocolumn-menu-item-color-gradient;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-menu {
|
||||
.navbar-nav {
|
||||
.nav-sm {
|
||||
.nav-link {
|
||||
|
||||
&:hover,
|
||||
&.active {
|
||||
color: $twocolumn-menu-item-active-color-dark;
|
||||
|
||||
&::before {
|
||||
background-color: $twocolumn-menu-item-active-color-dark !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-link {
|
||||
&[data-bs-toggle=collapse][aria-expanded=true] {
|
||||
color: $twocolumn-menu-item-active-color-dark;
|
||||
|
||||
&:before {
|
||||
background-color: $twocolumn-menu-item-active-color-dark;
|
||||
}
|
||||
|
||||
&::after {
|
||||
color: $twocolumn-menu-item-active-color-dark !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[data-layout-mode="dark"] {
|
||||
.app-menu {
|
||||
border-right-color: $gray-700;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
1317
resources/scss/structure/_vertical.scss
vendored
Executable file
1317
resources/scss/structure/_vertical.scss
vendored
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user