first commit
This commit is contained in:
262
public/style/scss/layout/header/_header-global.scss
Normal file
262
public/style/scss/layout/header/_header-global.scss
Normal file
@ -0,0 +1,262 @@
|
||||
/////////////////
|
||||
// Header
|
||||
/////////////////
|
||||
.header {
|
||||
// width: 100%;
|
||||
height: 7.5rem;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
padding: 0rem;
|
||||
background-color: $white;
|
||||
z-index: 4;
|
||||
// box-shadow: 0 0 1rem $l-border;
|
||||
padding-left: 21.563rem;
|
||||
transition: all .2s ease;
|
||||
@include respond('laptop'){
|
||||
padding-left: 17rem;
|
||||
}
|
||||
// &::before {
|
||||
// content: "";
|
||||
// height: 168px;
|
||||
// top: 0;
|
||||
// left: 0;
|
||||
// width: 100%;
|
||||
// position: absolute;
|
||||
// z-index: 997;
|
||||
// background: rgba(116, 104, 240,0.85)
|
||||
// }
|
||||
.header-content {
|
||||
height: 100%;
|
||||
padding-left: 5.3125rem;
|
||||
padding-right: 2.4rem;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
|
||||
// box-shadow: $shadow;
|
||||
// @include respond('desktop') {
|
||||
// padding-left: 15px;
|
||||
// padding-right:15px;
|
||||
// max-width: 1140px;
|
||||
// margin: 0 auto;
|
||||
// }
|
||||
// @include respond('tab-land') {
|
||||
// padding-left: 15px;
|
||||
// padding-right:15px;
|
||||
// max-width: 960px;
|
||||
// margin: 0 auto;
|
||||
// }
|
||||
// @include respond('tab-port') {
|
||||
// padding-left: 15px;
|
||||
// padding-right:15px;
|
||||
// max-width: 720px;
|
||||
// margin: 0 auto;
|
||||
// }
|
||||
// @include respond('phone-land') {
|
||||
// padding-left: 60px;
|
||||
// padding-right:15px;
|
||||
// }
|
||||
@include custommq($max: 767px) {
|
||||
padding-left: 3.75rem;
|
||||
padding-right: 0.938rem;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
}
|
||||
.navbar {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
.navbar-collapse {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@include respond('tab-land'){
|
||||
height:5rem;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////
|
||||
// CSS Pulse Effect
|
||||
////////////////////////
|
||||
@mixin circle($circleSize) {
|
||||
width: $circleSize;
|
||||
height: $circleSize;
|
||||
border-radius: $circleSize/2;
|
||||
}
|
||||
|
||||
|
||||
/* pulse in SVG */
|
||||
|
||||
svg.pulse-svg {
|
||||
overflow: visible;
|
||||
.first-circle {
|
||||
-webkit-transform: scale(0.3);
|
||||
transform: scale(0.3);
|
||||
-webkit-transform-origin: center center;
|
||||
transform-origin: center center;
|
||||
-webkit-animation: pulse-me 3s linear infinite;
|
||||
animation: pulse-me 3s linear infinite;
|
||||
fill: $primary;
|
||||
}
|
||||
.second-circle {
|
||||
@extend .first-circle;
|
||||
-webkit-animation-delay: 1s;
|
||||
animation-delay: 1s;
|
||||
}
|
||||
.third-circle {
|
||||
@extend .first-circle;
|
||||
-webkit-animation-delay: 2s;
|
||||
animation-delay: 2s;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* pulse in CSS */
|
||||
|
||||
.pulse-css {
|
||||
@include circle(1rem);
|
||||
border-radius: 3.5rem;
|
||||
height: 1rem;
|
||||
position: absolute;
|
||||
background:$warning;
|
||||
right: 0px;
|
||||
top: 0px;
|
||||
width: 1rem;
|
||||
&:after,
|
||||
&:before {
|
||||
content: '';
|
||||
@include circle(1rem);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: -.2rem;
|
||||
background-color: $warning;
|
||||
margin: auto;
|
||||
-webkit-transform: scale(0.3);
|
||||
transform: scale(0.3);
|
||||
-webkit-transform-origin: center center;
|
||||
transform-origin: center center;
|
||||
-webkit-animation: pulse-me 3s linear infinite;
|
||||
animation: pulse-me 3s linear infinite;
|
||||
@at-root [direction="rtl"] & {
|
||||
left: auto;
|
||||
right: -.2rem;
|
||||
}
|
||||
}
|
||||
@include respond ('laptop'){
|
||||
height:0.5rem;
|
||||
width:0.5rem;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@-webkit-keyframes pulse-me {
|
||||
0% {
|
||||
-webkit-transform: scale(0.3);
|
||||
transform: scale(0.3);
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.1;
|
||||
}
|
||||
70% {
|
||||
opacity: 0.09;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(3);
|
||||
transform: scale(3);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes pulse-me {
|
||||
0% {
|
||||
-webkit-transform: scale(0.3);
|
||||
transform: scale(0.3);
|
||||
opacity: 0;
|
||||
}
|
||||
50% {
|
||||
opacity: 0.1;
|
||||
}
|
||||
70% {
|
||||
opacity: 0.09;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(3);
|
||||
transform: scale(3);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="full"],
|
||||
[data-sidebar-style="overlay"] {
|
||||
.header {
|
||||
width: 100%;
|
||||
@include custommq($min: 1200px, $max: 1350px) {
|
||||
width: 100%;
|
||||
padding-left: 17rem;
|
||||
}
|
||||
@include respond('tab-land') {
|
||||
width: 100%;
|
||||
padding-left: 5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"] {
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 5rem;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="compact"] {
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 15rem;
|
||||
.header-content{
|
||||
padding-left: 2.4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-header-position="fixed"] {
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.content-body {
|
||||
padding-top: 7.5rem;
|
||||
@include respond('tab-land'){
|
||||
padding-top: 5rem;
|
||||
}
|
||||
}
|
||||
.deznav {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
[data-sidebar-style="compact"][data-header-position="fixed"][data-container="boxed"][data-layout="vertical"] {
|
||||
.header {
|
||||
width: 1199px;
|
||||
}
|
||||
}
|
||||
[data-sidebar-style="modern"] {
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 9.375rem;
|
||||
|
||||
|
||||
}
|
||||
&[data-layout="horizontal"] {
|
||||
.nav-header .brand-logo{
|
||||
justify-content: start;
|
||||
}
|
||||
.header .header-content{
|
||||
padding-left: 30px;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
156
public/style/scss/layout/header/_header-left.scss
Normal file
156
public/style/scss/layout/header/_header-left.scss
Normal file
@ -0,0 +1,156 @@
|
||||
.header-left {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.dashboard_bar {
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
color:$black;
|
||||
@include respond('laptop') {
|
||||
font-size: 24px;
|
||||
}
|
||||
@include respond('phone-land') {
|
||||
display:none;
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
background: $body-bg !important;
|
||||
min-width: 170px;
|
||||
min-height: 40px;
|
||||
color: $dark!important;
|
||||
border-top-left-radius: $radius;
|
||||
border-bottom-left-radius: $radius;
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
box-shadow: none;
|
||||
padding: 10px 20px;
|
||||
font-size: 16px;
|
||||
border-right-width:0!important;
|
||||
border: 1px solid #ebebeb;
|
||||
border-width: 1px;
|
||||
font-weight: 300;
|
||||
|
||||
@include respond('desktop') {
|
||||
// margin-top: 3px;
|
||||
}
|
||||
@at-root [direction="rtl"] & {
|
||||
border-top-right-radius: $radius;
|
||||
border-bottom-right-radius: $radius;
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active {
|
||||
border-color: #ebebeb;
|
||||
box-shadow: none;
|
||||
}
|
||||
&::-webkit-input-placeholder {
|
||||
/* Edge */
|
||||
color: $dark;
|
||||
}
|
||||
&:-ms-input-placeholder {
|
||||
/* Internet Explorer */
|
||||
color: $dark;
|
||||
}
|
||||
&::placeholder {
|
||||
color: $dark;
|
||||
}
|
||||
}
|
||||
// .btn {
|
||||
// border-top-left-radius: 0;
|
||||
// border-bottom-left-radius: 0;
|
||||
// height: 45px;
|
||||
// @at-root [direction="rtl"] & {
|
||||
// border-top-right-radius: 0;
|
||||
// border-bottom-right-radius: 0;
|
||||
// border-top-left-radius: .25rem;
|
||||
// border-bottom-left-radius: .25rem;
|
||||
// }
|
||||
// }
|
||||
.search_bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
@include respond('phone-land') {
|
||||
display:none;
|
||||
}
|
||||
.dropdown-menu {
|
||||
box-shadow: none;
|
||||
|
||||
|
||||
}
|
||||
.search_icon {
|
||||
background: $body-bg !important;
|
||||
height: 56px;
|
||||
line-height:22px;
|
||||
padding: 15px 20px 15px 0 !important;
|
||||
border-top-right-radius: $radius;
|
||||
border-bottom-right-radius: $radius;
|
||||
border: 1px solid #ebebeb;
|
||||
border-width: 1px;
|
||||
border-left-width:0;
|
||||
|
||||
i {
|
||||
font-size: 24px;
|
||||
color: $dark;
|
||||
line-height: 1;
|
||||
}
|
||||
@include respond('laptop') {
|
||||
height: 41px;
|
||||
padding: 8px 15px 8px 0 !important;
|
||||
svg{
|
||||
width:18px;
|
||||
height:18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@include custommq($max: 767px) {
|
||||
position: static;
|
||||
.dropdown-menu {
|
||||
width: 300px;
|
||||
left: -15vw;
|
||||
box-shadow: 0px 5px 10px 0 rgba(0,0,0,0.1);
|
||||
border-radius: 4px !important;
|
||||
@include respond('phone') {
|
||||
width: 250px;
|
||||
left: -25vw;
|
||||
}
|
||||
.form-control{
|
||||
border-radius: 4px !important;
|
||||
width:100%;
|
||||
}
|
||||
@at-root [direction="rtl"] & {
|
||||
right: -98px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// .form-inline {
|
||||
// flex-flow: row nowrap;
|
||||
// }
|
||||
.dropdown-menu,
|
||||
.dropdown-menu.show {
|
||||
// box-shadow: 0px 0px 10px rgba(120, 130, 140, 0.13);
|
||||
border: 0px;
|
||||
background-color: transparent;
|
||||
border-top-right-radius: 5rem;
|
||||
border-bottom-right-radius: 5rem;
|
||||
@include custommq($min: 768px) {
|
||||
left: 0;
|
||||
top: 0;
|
||||
transform: none;
|
||||
display: block;
|
||||
position: unset;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="compact"] {
|
||||
.header-left {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
343
public/style/scss/layout/header/_header-right.scss
Normal file
343
public/style/scss/layout/header/_header-right.scss
Normal file
@ -0,0 +1,343 @@
|
||||
.header-right {
|
||||
height: 100%;
|
||||
|
||||
|
||||
|
||||
.nav-item {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.nav-link {
|
||||
color: $l-ctd;
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
.right-sidebar{
|
||||
margin-right:-30px;
|
||||
a{
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-left: 1px solid $light;
|
||||
}
|
||||
}
|
||||
&>li {
|
||||
&:not(:first-child) {
|
||||
padding-left:2rem;
|
||||
@include respond ('mid-desktop'){
|
||||
padding-left: 1.3rem;
|
||||
}
|
||||
@include respond('laptop') {
|
||||
padding-left:1rem;
|
||||
}
|
||||
@include respond('phone') {
|
||||
padding-left:0.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
.notification_dropdown {
|
||||
@include respond('phone-land') {
|
||||
position: static;
|
||||
}
|
||||
.nav-link {
|
||||
position: relative;
|
||||
color: $primary;
|
||||
background: rgba($primary,0.1);
|
||||
border-radius: $radius;
|
||||
padding: 12px;
|
||||
//border:1px solid $primary;
|
||||
line-height: 1;
|
||||
@include respond('laptop') {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
&.secondary{
|
||||
background:$secondary-light;
|
||||
color: $secondary;
|
||||
[fill] {
|
||||
fill: $secondary;
|
||||
}
|
||||
|
||||
}
|
||||
&.primary{
|
||||
background:$primary-light;
|
||||
color: $primary;
|
||||
[fill] {
|
||||
fill: $primary;
|
||||
}
|
||||
}
|
||||
&.warning{
|
||||
background:$warning-light;
|
||||
color: $warning;
|
||||
[fill] {
|
||||
fill: $warning;
|
||||
}
|
||||
}
|
||||
&.success{
|
||||
background:$success-light;
|
||||
color: $success;
|
||||
[fill] {
|
||||
fill: $success;
|
||||
}
|
||||
}
|
||||
i {
|
||||
font-size: 24px;
|
||||
@include respond('laptop') {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
}
|
||||
svg{
|
||||
@include respond('laptop') {
|
||||
width:24px;
|
||||
height:24px;
|
||||
}
|
||||
}
|
||||
.badge {
|
||||
position: absolute;
|
||||
font-size: 14px;
|
||||
border-radius: 40px;
|
||||
right: -1px;
|
||||
top: 3px;
|
||||
box-shadow:0px 0px 10px 3px rgba($primary,0.2);
|
||||
font-weight: normal;
|
||||
height: 26px;
|
||||
width: 26px;
|
||||
line-height: 26px;
|
||||
text-align: center;
|
||||
padding: 0px;
|
||||
@include respond('laptop') {
|
||||
right: 3px;
|
||||
top: 3px;
|
||||
font-size: 12px;
|
||||
height: 18px;
|
||||
width: 18px;
|
||||
line-height: 18px;
|
||||
}
|
||||
@include respond ('phone'){
|
||||
right:-1px;
|
||||
height:15px;
|
||||
width:15px;
|
||||
font-size:10px;
|
||||
line-height:15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown-item {
|
||||
&:focus,
|
||||
&:active {
|
||||
a {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
a {
|
||||
color: $dark;
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown-menu {
|
||||
border-width:0;
|
||||
box-shadow: 0 0 37px rgba(8,21,66,0.05);
|
||||
@at-root [data-theme-version="dark"] & {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
.header-profile {
|
||||
&>a.nav-link {
|
||||
padding: 0 0 0 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: $radius 28px 28px $radius;
|
||||
@include respond('phone') {
|
||||
background: transparent;
|
||||
padding: 0 ;
|
||||
}
|
||||
i {
|
||||
font-weight: 700;
|
||||
}
|
||||
.header-info{
|
||||
text-align: left;
|
||||
padding-left:15px;
|
||||
@include respond('tab-land') {
|
||||
padding-left:15px;
|
||||
}
|
||||
@include respond('phone') {
|
||||
display:none;
|
||||
}
|
||||
span{
|
||||
font-size:16px;
|
||||
display: block;
|
||||
font-weight: 400;
|
||||
}
|
||||
strong{
|
||||
font-weight: 600;
|
||||
}
|
||||
small{
|
||||
display:block;
|
||||
font-size: 13px;
|
||||
color:$muted;
|
||||
font-weight:400;
|
||||
line-height: 1.2;
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown-menu {
|
||||
padding: 15px 0;
|
||||
min-width: 12.5rem;
|
||||
a {
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.active {
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
img {
|
||||
width: 57px;
|
||||
height: 57px;
|
||||
border-radius: 60px;
|
||||
|
||||
@include respond('laptop') {
|
||||
width: 39px;
|
||||
height: 39px;
|
||||
}
|
||||
}
|
||||
.dropdown-toggle {
|
||||
i {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
span {
|
||||
@include respond('phone') {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.profile_title {
|
||||
background: $primary;
|
||||
color: $white;
|
||||
padding: 10px 20px;
|
||||
h5 {
|
||||
color: $white;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
}
|
||||
// .dropdown-toggle::after{
|
||||
// display: none;
|
||||
// }
|
||||
.dropdown-item {
|
||||
padding: 8px 24px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
.dz-fullscreen{
|
||||
#icon-minimize{
|
||||
display:none;
|
||||
}
|
||||
&.active{
|
||||
#icon-full{
|
||||
display:none;
|
||||
}
|
||||
#icon-minimize{
|
||||
display:inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
.notification_dropdown {
|
||||
.dropdown-menu-right {
|
||||
min-width: 310px;
|
||||
padding: 0rem 0 1rem;
|
||||
top: 100%;
|
||||
|
||||
.notification_title {
|
||||
background: $primary;
|
||||
color: $white;
|
||||
padding: 10px 20px;
|
||||
h5 {
|
||||
color: $white;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
}
|
||||
.media {
|
||||
width: 45px !important;
|
||||
height: 45px !important;
|
||||
font-size: 18px !important;
|
||||
|
||||
// &:last-child{
|
||||
// border-bottom: 0px;
|
||||
// }
|
||||
@at-root [data-theme-version="dark"] & {
|
||||
border-color: $d-border;
|
||||
}
|
||||
&>span {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
border-radius: 50px;
|
||||
display: inline-block;
|
||||
padding: 7px 9px;
|
||||
margin-right: 10px;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
margin-right: 0;
|
||||
margin-left: 10px
|
||||
}
|
||||
&.success {
|
||||
background: $success-light;
|
||||
color: $success;
|
||||
[fill] {
|
||||
fill: $success;
|
||||
}
|
||||
}
|
||||
&.primary {
|
||||
background: $primary-light;
|
||||
color: $primary;
|
||||
svg [fill] {
|
||||
fill: $primary;
|
||||
}
|
||||
}
|
||||
&.danger {
|
||||
background: $danger-light;
|
||||
color: $danger;
|
||||
[fill] {
|
||||
fill: $danger;
|
||||
}
|
||||
}
|
||||
[fill] {
|
||||
fill: $primary;
|
||||
}
|
||||
}
|
||||
.notify-time {
|
||||
width: 100%!important;
|
||||
margin-right: 0!important;
|
||||
color: $l-ctl;
|
||||
}
|
||||
p {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
max-width: 200px;
|
||||
margin-bottom: 0;
|
||||
margin-top: 5px;
|
||||
@include respond('phone') {
|
||||
max-width: 100px;
|
||||
}
|
||||
}
|
||||
}
|
||||
.all-notification {
|
||||
display: block;
|
||||
padding: 15px 30px 0;
|
||||
// color: $dark;
|
||||
text-align: center;
|
||||
border-top: 1px solid $light;
|
||||
|
||||
i {
|
||||
margin-left: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
7
public/style/scss/layout/header/_header.scss
Normal file
7
public/style/scss/layout/header/_header.scss
Normal file
@ -0,0 +1,7 @@
|
||||
@import './nav-header/nav-header';
|
||||
@import './header-global';
|
||||
@import './header-left';
|
||||
@import './header-right';
|
||||
|
||||
|
||||
|
288
public/style/scss/layout/header/nav-header/_nav-control.scss
Normal file
288
public/style/scss/layout/header/nav-header/_nav-control.scss
Normal file
@ -0,0 +1,288 @@
|
||||
[data-sidebar-style="mini"],
|
||||
[data-layout="horizontal"] {
|
||||
.nav-control {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="overlay"] {
|
||||
@include respond('phone-land') {
|
||||
.nav-header .logo-abbr {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-header-position="fixed"] {
|
||||
.nav-header {
|
||||
position: fixed;
|
||||
left: auto;
|
||||
// @include respond('big-desktop') {
|
||||
// left: 6rem;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
.nav-header {
|
||||
height: 7.5rem;
|
||||
width: 21.563rem;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background-color: $white;
|
||||
transition: all .2s ease;
|
||||
z-index: 5;
|
||||
// border-bottom: 1px solid $border;
|
||||
|
||||
.logo-abbr {
|
||||
max-width: 52px;
|
||||
@include respond('phone') {
|
||||
max-width: 40px;
|
||||
}
|
||||
|
||||
}
|
||||
.logo-compact {
|
||||
display: none;
|
||||
}
|
||||
// @include respond('big-desktop') {
|
||||
// left: 3.125rem;
|
||||
// }
|
||||
@include custommq($min: 1200px, $max: 1400px) {
|
||||
width: 17rem;
|
||||
}
|
||||
.brand-logo {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
font-size: 1.125rem;
|
||||
color: $white;
|
||||
text-decoration: none;
|
||||
padding-left: 50px;
|
||||
padding-right: 50px;
|
||||
font-weight: 700;
|
||||
@include respond('laptop') {
|
||||
padding-left: 25px;
|
||||
padding-right: 25px;
|
||||
}
|
||||
|
||||
// &:hover {
|
||||
// color: $primary;
|
||||
// }
|
||||
|
||||
|
||||
[data-sidebar-style="compact"] &,
|
||||
[data-sidebar-style="mini"] & {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
@include respond('phone-land') {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
.brand-title {
|
||||
margin-left: 10px;
|
||||
max-width: 120px;
|
||||
margin-top: 0px;
|
||||
// &::first-letter{
|
||||
// background: $white;
|
||||
// color: $primary;
|
||||
// padding: 1px 10px;
|
||||
// margin-right: 5px;
|
||||
// border-radius: 3px;
|
||||
// }
|
||||
@at-root [data-theme-version="dark"] & {
|
||||
background-position: 0 120%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include respond('tab-land') {
|
||||
.nav-header {
|
||||
width: 5rem;
|
||||
height:5rem;
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-control {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
right: -4.0625rem;
|
||||
text-align: center;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
z-index: 9999;
|
||||
// color: $primary;
|
||||
font-size: 1.4rem;
|
||||
// line-height: 2rem;
|
||||
padding: 2px 0.5rem 0;
|
||||
// margin-top: 5px;
|
||||
border-radius: 2px;
|
||||
@include respond('phone-land') {
|
||||
right: -2.75rem;
|
||||
}
|
||||
@include respond('phone') {
|
||||
right: -2.75rem;
|
||||
}
|
||||
// @include respond('desktop') {
|
||||
// right: -3.125rem;
|
||||
// }
|
||||
@include custommq($min: 1200px, $max: 1500px) {
|
||||
// right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////
|
||||
// Humbuger Icon
|
||||
////////////////////
|
||||
.hamburger {
|
||||
// background-color: $white;
|
||||
display: inline-block;
|
||||
left: 0px;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
-webkit-transition: all 0.3s ease-in-out 0s;
|
||||
transition: all 0.3s ease-in-out 0s;
|
||||
width: 26px;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.hamburger .line {
|
||||
background: $primary;
|
||||
display: block;
|
||||
height: 3px;
|
||||
border-radius: 3px;;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
margin-left: auto;
|
||||
// width: 22px;
|
||||
-webkit-transition: all 0.3s ease-in-out;
|
||||
transition: all 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.hamburger .line:nth-child(1) {
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.hamburger .line:nth-child(2) {
|
||||
width: 26px;
|
||||
}
|
||||
|
||||
.hamburger .line:nth-child(3) {
|
||||
width: 22px;
|
||||
}
|
||||
|
||||
.hamburger:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.hamburger:hover .line {
|
||||
width: 26px;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
.hamburger.is-active {
|
||||
left: 60px;
|
||||
}
|
||||
*/
|
||||
|
||||
.hamburger.is-active .line:nth-child(1),
|
||||
.hamburger.is-active .line:nth-child(3) {
|
||||
width: 10px;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
.hamburger.is-active .line:nth-child(2) {
|
||||
-webkit-transform: translateX(-0px);
|
||||
transform: translateX(-0px);
|
||||
width: 22px;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
.hamburger.is-active .line:nth-child(1) {
|
||||
-webkit-transform: translateY(4px) rotate(45deg);
|
||||
transform: translateY(4px) rotate(45deg);
|
||||
}
|
||||
|
||||
.hamburger.is-active .line:nth-child(3) {
|
||||
-webkit-transform: translateY(-4px) rotate(-45deg);
|
||||
transform: translateY(-4px) rotate(-45deg);
|
||||
}
|
||||
|
||||
@media (min-width:767px) {
|
||||
|
||||
[data-sidebar-style="compact"] {
|
||||
.nav-control {
|
||||
display: none;
|
||||
}
|
||||
.nav-header {
|
||||
width: 15rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="full"][data-layout="vertical"] {
|
||||
.menu-toggle {
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
.nav-header {
|
||||
.logo-abbr {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="full"][data-layout="horizontal"] {
|
||||
.logo-compact {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"] {
|
||||
.nav-header {
|
||||
.logo-abbr {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="compact"][data-layout="vertical"] {
|
||||
.nav-header {
|
||||
.brand-title {
|
||||
/* display: none; */
|
||||
}
|
||||
.logo-compact {
|
||||
max-width: 75px;
|
||||
}
|
||||
}
|
||||
}
|
||||
[data-sidebar-style="compact"][data-layout="horizontal"] {
|
||||
.nav-header .brand-logo {
|
||||
padding-left: 30px;
|
||||
padding-right: 30px;
|
||||
justify-content: start;
|
||||
}
|
||||
}
|
||||
[data-sidebar-style="modern"][data-layout="vertical"] {
|
||||
.nav-header {
|
||||
width: 9.375rem;
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
.logo-compact {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1 @@
|
||||
@import './nav-control';
|
Reference in New Issue
Block a user