initial commit
This commit is contained in:
@@ -0,0 +1,195 @@
|
||||
// ----------------------------------------------
|
||||
// Header Style
|
||||
// ----------------------------------------------
|
||||
|
||||
.app-header {
|
||||
position: relative;
|
||||
z-index: 50;
|
||||
width: 100%;
|
||||
background: $white;
|
||||
padding: 0 25px;
|
||||
|
||||
.container-fluid {
|
||||
max-width: $boxed-width;
|
||||
margin: 0 auto;
|
||||
padding: 0 30px;
|
||||
}
|
||||
|
||||
.navbar {
|
||||
min-height: $header-height;
|
||||
padding: 0;
|
||||
|
||||
.navbar-nav {
|
||||
.nav-item {
|
||||
.nav-link {
|
||||
padding: $navlink-padding;
|
||||
line-height: $header-height;
|
||||
height: $header-height;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
|
||||
font-size: 20px;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
&.quick-links {
|
||||
.nav-item {
|
||||
.nav-link {
|
||||
font-size: $font-size-base;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
.nav-link {
|
||||
transition: all 0.1s ease-in-out;
|
||||
color: $primary !important;
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: 36px;
|
||||
width: 100%;
|
||||
border-radius: $border-radius;
|
||||
background: $light-primary;
|
||||
z-index: -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-icon-hover {
|
||||
transition: all .3s ease-in-out;
|
||||
|
||||
&:hover {
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
height: 40px;
|
||||
width: 40px;
|
||||
z-index: -1;
|
||||
border-radius: 100px;
|
||||
transition: all .3s ease-in-out;
|
||||
background-color: $light-primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-nav .dropdown-menu {
|
||||
position: absolute;
|
||||
min-width: 200px;
|
||||
|
||||
.dropdown-item {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.notification {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 22px;
|
||||
right: 9px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
.app-header {
|
||||
.navbar {
|
||||
flex-wrap: nowrap;
|
||||
|
||||
.navbar-nav {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.navbar-nav .dropdown-menu {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.navbar-nav .nav-item.dropdown {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes animation-dropdown-menu-move-up-scroll {
|
||||
from {
|
||||
top: 71px;
|
||||
}
|
||||
|
||||
to {
|
||||
top: 70px;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes animation-dropdown-menu-move-up-scroll {
|
||||
from {
|
||||
top: 71px;
|
||||
}
|
||||
|
||||
to {
|
||||
top: 70px;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes animation-dropdown-menu-fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes animation-dropdown-menu-fade-in {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.dropdown-menu-animate-up {
|
||||
-webkit-animation: animation-dropdown-menu-fade-in 0.5s ease 1, animation-dropdown-menu-move-up 0.5s ease-out 1;
|
||||
animation: animation-dropdown-menu-fade-in 0.5s ease 1, animation-dropdown-menu-move-up 0.5s ease-out 1;
|
||||
}
|
||||
|
||||
|
||||
@keyframes fadeInUp {
|
||||
from {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(0, 100%, 0);
|
||||
transform: translate3d(0, 100%, 0);
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
-webkit-transform: none;
|
||||
transform: none;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(lg) {
|
||||
.w-xs-100 {
|
||||
width: 100% !important;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
// ----------------------------------------------
|
||||
// Layout Style
|
||||
// ----------------------------------------------
|
||||
|
||||
.page-wrapper {
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.body-wrapper {
|
||||
position: relative;
|
||||
|
||||
>.container-fluid {
|
||||
max-width: $boxed-width;
|
||||
margin: 0 auto;
|
||||
padding: $grid-gutter-width;
|
||||
transition: 0.2s ease-in;
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(md) {
|
||||
.body-wrapper {
|
||||
>.container-fluid {
|
||||
padding: 30px 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.simplebar-scrollbar:before {
|
||||
background: rgba(0, 0, 0, 0.5) !important;
|
||||
}
|
||||
|
||||
#main-wrapper[data-layout="vertical"] {
|
||||
|
||||
// Sidebar position
|
||||
&[data-sidebar-position="fixed"] {
|
||||
.left-sidebar {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Header position
|
||||
&[data-header-position="fixed"] {
|
||||
.app-header {
|
||||
position: fixed;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.body-wrapper {
|
||||
>.container-fluid {
|
||||
padding-top: calc(#{$header-height} + 15px);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(xl) {
|
||||
#main-wrapper[data-layout="vertical"] {
|
||||
|
||||
// Fixed Header + Minisidebar
|
||||
&[data-header-position="fixed"][data-sidebartype="mini-sidebar"] {
|
||||
.app-header {
|
||||
width: calc(100%);
|
||||
}
|
||||
}
|
||||
|
||||
// Header position
|
||||
&[data-header-position="fixed"] {
|
||||
.app-header {
|
||||
width: calc(100% - #{$sidebar-width-full});
|
||||
}
|
||||
}
|
||||
|
||||
// Full Sidebar
|
||||
&[data-sidebartype="full"] {
|
||||
.body-wrapper {
|
||||
margin-left: $sidebar-width-full;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//
|
||||
// Responsive view (below desktop view)
|
||||
//
|
||||
@media (max-width: 1199px) {
|
||||
#main-wrapper[data-layout="vertical"] {
|
||||
|
||||
&[data-sidebartype="mini-sidebar"],
|
||||
&[data-sidebartype="full"] {
|
||||
.left-sidebar {
|
||||
left: -$sidebar-width-full;
|
||||
}
|
||||
|
||||
&.show-sidebar {
|
||||
.left-sidebar {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
// ----------------------------------------------
|
||||
// SideBar Style
|
||||
// ----------------------------------------------
|
||||
|
||||
.left-sidebar {
|
||||
width: $sidebar-width-full;
|
||||
background-color: $white;
|
||||
position: absolute;
|
||||
transition: .2s ease-in;
|
||||
height: 100%;
|
||||
z-index: 11;
|
||||
border-right: 1px solid rgb(229, 234, 239);
|
||||
|
||||
.scroll-sidebar {
|
||||
overflow-y: auto;
|
||||
padding: $sidebar-spacing-x;
|
||||
height: calc(100vh - 80px);
|
||||
border-radius: $border-radius;
|
||||
|
||||
.simplebar-track.simplebar-horizontal {
|
||||
visibility: hidden !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
min-height: $header-height;
|
||||
padding: $sidebar-spacing-x;
|
||||
}
|
||||
|
||||
.unlimited-access {
|
||||
padding: 18px 22px 25px;
|
||||
margin: 0 -5px;
|
||||
|
||||
.unlimited-access-img {
|
||||
margin: -35px -5px 0 -43px;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-small-cap {
|
||||
margin-top: 24px;
|
||||
color: $dark;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
padding: 3px 12px;
|
||||
line-height: 26px;
|
||||
text-transform: uppercase;
|
||||
|
||||
.nav-small-cap-icon {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-nav {
|
||||
ul {
|
||||
.sidebar-item {
|
||||
.sidebar-link {
|
||||
color: $sidebar-text;
|
||||
display: flex;
|
||||
font-size: 14px;
|
||||
white-space: nowrap;
|
||||
align-items: center;
|
||||
line-height: 25px;
|
||||
position: relative;
|
||||
margin: 0px 0px 2px;
|
||||
padding: 10px;
|
||||
border-radius: 7px;
|
||||
gap: 15px;
|
||||
font-weight: $font-weight-normal;
|
||||
|
||||
span:first-child {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.ti {
|
||||
flex-shrink: 0;
|
||||
font-size: 21px;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
background-color: rgba($primary, 0.1);
|
||||
color: $primary;
|
||||
|
||||
&.has-arrow::after {
|
||||
border-color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-link.active {
|
||||
&:hover {
|
||||
&.has-arrow::after {
|
||||
border-color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.link-disabled {
|
||||
opacity: $link-disabled;
|
||||
}
|
||||
|
||||
&.selected>.sidebar-link.active,
|
||||
&.selected>.sidebar-link,
|
||||
>.sidebar-link.active {
|
||||
background-color: $primary;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-list {
|
||||
.sidebar-list-item {
|
||||
padding: 8px 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.collapse.in {
|
||||
display: block;
|
||||
}
|
||||
Reference in New Issue
Block a user