mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Commit realizando cambios en los roles de los usuarios
This commit is contained in:
8
httpdocs/themes/focus2/scss/layout/_layout.scss
Normal file
8
httpdocs/themes/focus2/scss/layout/_layout.scss
Normal file
@ -0,0 +1,8 @@
|
||||
@import './footer/footer';
|
||||
@import './header/header';
|
||||
@import './rtl/rtl';
|
||||
@import './sidebar/sidebar';
|
||||
@import './theme/theme';
|
||||
@import './typography/typography';
|
||||
@import './version-dark/main';
|
||||
@import './version-transparent/main';
|
||||
21
httpdocs/themes/focus2/scss/layout/footer/_footer.scss
Normal file
21
httpdocs/themes/focus2/scss/layout/footer/_footer.scss
Normal file
@ -0,0 +1,21 @@
|
||||
|
||||
|
||||
|
||||
.footer {
|
||||
padding-left: 17.1875rem;
|
||||
background-color: $body-bg;
|
||||
|
||||
.copyright {
|
||||
padding: 0.9375rem;
|
||||
p {
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
a{
|
||||
color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
245
httpdocs/themes/focus2/scss/layout/header/_header-global.scss
Normal file
245
httpdocs/themes/focus2/scss/layout/header/_header-global.scss
Normal file
@ -0,0 +1,245 @@
|
||||
/////////////////
|
||||
// Header
|
||||
/////////////////
|
||||
.header {
|
||||
// width: 100%;
|
||||
height: 5rem;
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
padding: 0rem;
|
||||
background-color: $white;
|
||||
z-index: 3;
|
||||
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
|
||||
padding-left: 17.1875rem;
|
||||
transition: all .2s ease;
|
||||
// &::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: 1.875rem;
|
||||
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: 575px) {
|
||||
padding-left: 2.375rem;
|
||||
}
|
||||
}
|
||||
.navbar {
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
.navbar-collapse {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////
|
||||
// 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: .4rem;
|
||||
position: absolute;
|
||||
background: $primary;
|
||||
right: 5px;
|
||||
top: .6rem;
|
||||
width: .4rem;
|
||||
&:after,
|
||||
&:before {
|
||||
content: '';
|
||||
@include circle(1rem);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: -.2rem;
|
||||
background-color: $primary;
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@-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: 14.375rem;
|
||||
}
|
||||
@include respond('phone-land') {
|
||||
width: 100%;
|
||||
padding-left: 3.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"] {
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 3.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="compact"] {
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 9.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="modern"] {
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 9.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
[data-header-position="fixed"] {
|
||||
.header {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
}
|
||||
.content-body {
|
||||
padding-top: 7rem;
|
||||
}
|
||||
.quixnav {
|
||||
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 {
|
||||
.header-content {
|
||||
padding-left: 15px;
|
||||
.navbar {
|
||||
max-width: 1140px;
|
||||
margin: 0 auto;
|
||||
padding: 0 15px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
105
httpdocs/themes/focus2/scss/layout/header/_header-left.scss
Normal file
105
httpdocs/themes/focus2/scss/layout/header/_header-left.scss
Normal file
@ -0,0 +1,105 @@
|
||||
.header-left {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
input {
|
||||
background: $white!important;
|
||||
min-width: 300px;
|
||||
min-height: 44px;
|
||||
border-color: transparent;
|
||||
color: $dark!important;
|
||||
border-top-right-radius: 5rem;
|
||||
border-bottom-right-radius: 5rem;
|
||||
box-shadow: none;
|
||||
@include respond('desktop') {
|
||||
// margin-top: 3px;
|
||||
}
|
||||
@at-root [direction="rtl"] & {
|
||||
// border-top-left-radius: 0;
|
||||
// border-bottom-left-radius: 0;
|
||||
border-top-right-radius: .25rem;
|
||||
border-bottom-right-radius: .25rem;
|
||||
}
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active {
|
||||
border-color: transparent;
|
||||
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%;
|
||||
.dropdown-menu {
|
||||
box-shadow: none;
|
||||
;
|
||||
}
|
||||
.search_icon {
|
||||
background: $white!important;
|
||||
height: 44px;
|
||||
padding: 5px 15px!important;
|
||||
border-top-left-radius: 5rem;
|
||||
border-bottom-left-radius: 5rem;
|
||||
i {
|
||||
font-size: 24px;
|
||||
color: $dark;
|
||||
}
|
||||
}
|
||||
@include custommq($max: 575px) {
|
||||
position: static;
|
||||
.dropdown-menu {
|
||||
width: 100vw;
|
||||
left: -98px;
|
||||
@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: 40px;
|
||||
top: -4px;
|
||||
transform: translateY(50%);
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="compact"] {
|
||||
.header-left {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
184
httpdocs/themes/focus2/scss/layout/header/_header-right.scss
Normal file
184
httpdocs/themes/focus2/scss/layout/header/_header-right.scss
Normal file
@ -0,0 +1,184 @@
|
||||
.header-right {
|
||||
height: 100%;
|
||||
.nav-item {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.nav-link {
|
||||
color: $l-ctd;
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
&>li {
|
||||
&:not(:first-child) {
|
||||
padding-left: 0.625rem;
|
||||
}
|
||||
}
|
||||
.notification_dropdown {
|
||||
@include respond('phone-land') {
|
||||
position: static;
|
||||
}
|
||||
.nav-link {
|
||||
position: relative;
|
||||
color: $l-ctd;
|
||||
i {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.badge {
|
||||
position: absolute;
|
||||
font-size: 0.625rem;
|
||||
border-radius: 50%;
|
||||
right: 0;
|
||||
top: 0;
|
||||
font-weight: normal;
|
||||
height: 17px;
|
||||
width: 17px;
|
||||
line-height: 6px;
|
||||
text-align: center;
|
||||
padding: 5px;
|
||||
}
|
||||
}
|
||||
.dropdown-item {
|
||||
&:focus,
|
||||
&:active {
|
||||
a {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
a {
|
||||
color: $dark;
|
||||
&:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown-menu {
|
||||
border-color: $border;
|
||||
box-shadow: 0px 0px 10px rgba(120, 130, 140, 0.13);
|
||||
@at-root [data-theme-version="dark"] & {
|
||||
border-color: $d-border;
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
.header-profile {
|
||||
&>a {
|
||||
i {
|
||||
font-weight: 700;
|
||||
}
|
||||
}
|
||||
.dropdown-menu {
|
||||
padding: 15px 0;
|
||||
min-width: 12.5rem;
|
||||
a {
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.active {
|
||||
color: $primary;
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
img {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 50px;
|
||||
}
|
||||
.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: 5px 24px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.notification_dropdown {
|
||||
.dropdown-menu-right {
|
||||
min-width: 275px;
|
||||
padding: 0rem 0 1rem;
|
||||
top: 60px;
|
||||
.notification_title {
|
||||
background: $primary;
|
||||
color: $white;
|
||||
padding: 10px 20px;
|
||||
h5 {
|
||||
color: $white;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
}
|
||||
.media {
|
||||
border-bottom: 1px solid $border;
|
||||
padding: 20px 25px;
|
||||
// &: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;
|
||||
&.success {
|
||||
background: #DEF2DB;
|
||||
color: #2F9B1B;
|
||||
}
|
||||
&.primary {
|
||||
background: #D3E7FE;
|
||||
color: #176AD2;
|
||||
}
|
||||
&.danger {
|
||||
background: #FFE0E0;
|
||||
color: #E24747;
|
||||
}
|
||||
}
|
||||
.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;
|
||||
}
|
||||
}
|
||||
.all-notification {
|
||||
display: block;
|
||||
padding: 15px 30px 0;
|
||||
// color: $dark;
|
||||
text-align: center;
|
||||
i {
|
||||
margin-left: 10px;
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
httpdocs/themes/focus2/scss/layout/header/_header.scss
Normal file
7
httpdocs/themes/focus2/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';
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,270 @@
|
||||
[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: 5rem;
|
||||
width: 17.1875rem;
|
||||
display: inline-block;
|
||||
text-align: left;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background-color: #343957;
|
||||
transition: all .2s ease;
|
||||
z-index: 4;
|
||||
// border-bottom: 1px solid $border;
|
||||
.logo-abbr {
|
||||
max-width: 30px;
|
||||
}
|
||||
.logo-compact {
|
||||
display: none;
|
||||
}
|
||||
@include respond('big-desktop') {
|
||||
left: 3.125rem;
|
||||
}
|
||||
@include custommq($min: 1200px, $max: 1350px) {
|
||||
width: 14.375rem;
|
||||
}
|
||||
.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: 1.25rem;
|
||||
font-weight: 700;
|
||||
// &: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: 15px;
|
||||
max-width: 75px;
|
||||
// &::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('phone-land') {
|
||||
.nav-header {
|
||||
width: 3.75rem;
|
||||
.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: -3rem;
|
||||
}
|
||||
@include respond('phone') {
|
||||
right: -2.5rem;
|
||||
}
|
||||
// @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: 5px;
|
||||
-webkit-transition: all 0.3s ease-in-out 0s;
|
||||
transition: all 0.3s ease-in-out 0s;
|
||||
width: 37px;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.hamburger .line {
|
||||
background: $primary;
|
||||
display: block;
|
||||
height: 2px;
|
||||
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: 9.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[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"] {
|
||||
.nav-header {
|
||||
.logo-abbr {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.logo-compact {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"] {
|
||||
.nav-header {
|
||||
.logo-abbr {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="compact"] {
|
||||
.nav-header {
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
.logo-compact {
|
||||
max-width: 75px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="modern"][data-layout="vertical"] {
|
||||
.nav-header {
|
||||
width: 9.375rem;
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
.logo-compact {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
@import './nav-control';
|
||||
44
httpdocs/themes/focus2/scss/layout/rtl/_rtl-footer.scss
Normal file
44
httpdocs/themes/focus2/scss/layout/rtl/_rtl-footer.scss
Normal file
@ -0,0 +1,44 @@
|
||||
html[dir="rtl"] {
|
||||
|
||||
//footer
|
||||
[direction="rtl"] {
|
||||
.footer{
|
||||
padding-right: 17.1875rem;
|
||||
padding-left: 0;
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="overlay"] {
|
||||
.footer {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
.footer {
|
||||
padding-right: 3.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-container="boxed"] {
|
||||
.footer {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="mini"]:not([data-layout="horizontal"]) {
|
||||
.footer {
|
||||
padding-right: 3.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="compact"]:not([data-layout="horizontal"]) {
|
||||
.footer {
|
||||
padding-right: 9.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
39
httpdocs/themes/focus2/scss/layout/rtl/_rtl-global.scss
Normal file
39
httpdocs/themes/focus2/scss/layout/rtl/_rtl-global.scss
Normal file
@ -0,0 +1,39 @@
|
||||
// html[dir="rtl"] {
|
||||
|
||||
//content body
|
||||
[direction="rtl"] {
|
||||
.content-body {
|
||||
margin-right: 17.1875rem;
|
||||
margin-left: auto;
|
||||
|
||||
.page-titles {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-layout="horizontal"] {
|
||||
.content-body {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="mini"]:not([data-layout="horizontal"]) {
|
||||
.content-body {
|
||||
margin-right: 3.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="compact"]:not([data-layout="horizontal"]) {
|
||||
.content-body {
|
||||
margin-right: 9.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="overlay"] {
|
||||
.content-body {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// }
|
||||
50
httpdocs/themes/focus2/scss/layout/rtl/_rtl-header.scss
Normal file
50
httpdocs/themes/focus2/scss/layout/rtl/_rtl-header.scss
Normal file
@ -0,0 +1,50 @@
|
||||
|
||||
|
||||
//header styles
|
||||
[direction="rtl"] {
|
||||
.header {
|
||||
padding: 0 0.9375rem;
|
||||
padding-right: 17.1875rem;
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
padding-right: 3.75rem;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.header-content {
|
||||
padding-left: 0;
|
||||
padding-right: 4.375rem;
|
||||
|
||||
@include custommq($max: 575px) {
|
||||
padding-right: 2.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-control {
|
||||
right: 0.4375rem;
|
||||
left: auto;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-layout="horizontal"] {
|
||||
.header {
|
||||
padding: 0 0.9375rem;
|
||||
padding-right: 9.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="mini"] {
|
||||
.header {
|
||||
padding: 0 0.9375rem;
|
||||
padding-right: 3.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="compact"] {
|
||||
.header {
|
||||
padding: 0 0.9375rem;
|
||||
padding-right: 9.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
74
httpdocs/themes/focus2/scss/layout/rtl/_rtl-nav-header.scss
Normal file
74
httpdocs/themes/focus2/scss/layout/rtl/_rtl-nav-header.scss
Normal file
@ -0,0 +1,74 @@
|
||||
|
||||
|
||||
//nav header styles
|
||||
[direction="rtl"] {
|
||||
|
||||
&:not([data-container="boxed"]) {
|
||||
.nav-header {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-container="wide-boxed"] {
|
||||
.nav-header {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-header {
|
||||
text-align: right;
|
||||
right: auto;
|
||||
|
||||
.brand-logo {
|
||||
padding-left: 0;
|
||||
padding-right: 2.5rem;
|
||||
|
||||
@at-root [data-sidebar-style="compact"]#{&},
|
||||
[data-sidebar-style="mini"]#{&} {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
// padding-left: 0;
|
||||
padding-right: 0;
|
||||
// justify-content: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-control {
|
||||
right: auto;
|
||||
left: -3.5rem;
|
||||
|
||||
@include media-breakpoint-down(sm) {
|
||||
left: -3rem;
|
||||
}
|
||||
|
||||
@include media-breakpoint-down(xs) {
|
||||
left: -2.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="overlay"] {
|
||||
.nav-header {
|
||||
.hamburger {
|
||||
&.is-active {
|
||||
right: 0;
|
||||
|
||||
.line:nth-child(1) {
|
||||
transform: translateY(0.4rem) rotate(-45deg);
|
||||
}
|
||||
|
||||
.line:nth-child(3) {
|
||||
transform: translateY(-0.4rem) rotate(45deg);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
110
httpdocs/themes/focus2/scss/layout/rtl/_rtl-reset.scss
Normal file
110
httpdocs/themes/focus2/scss/layout/rtl/_rtl-reset.scss
Normal file
@ -0,0 +1,110 @@
|
||||
|
||||
@import "../../../vendor/bootstrap-v4-rtl/scss/functions";
|
||||
@import "../../../vendor/bootstrap-v4-rtl/scss/variables";
|
||||
@import "../../../vendor/bootstrap-v4-rtl/scss/mixins";
|
||||
@import "../../../vendor/bootstrap-v4-rtl/scss/rtl";
|
||||
|
||||
.rtl {
|
||||
|
||||
// stylelint-disable declaration-no-important
|
||||
@each $breakpoint in map-keys($grid-breakpoints) {
|
||||
@include media-breakpoint-up($breakpoint) {
|
||||
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
||||
|
||||
@each $prop, $abbrev in (margin: m, padding: p) {
|
||||
@each $size, $length in $spacers {
|
||||
|
||||
// .#{$abbrev}r#{$infix}-#{$size} {
|
||||
// #{$prop}-right: 0!important;
|
||||
// #{$prop}-left: $length !important;
|
||||
// }
|
||||
|
||||
.#{$abbrev}x#{$infix}-#{$size} {
|
||||
#{$prop}-right: auto;
|
||||
#{$prop}-left: $length !important;
|
||||
}
|
||||
|
||||
// .#{$abbrev}l#{$infix}-#{$size} {
|
||||
// #{$prop}-left: 0!important;
|
||||
// #{$prop}-right: $length !important;
|
||||
// }
|
||||
|
||||
.#{$abbrev}x#{$infix}-#{$size} {
|
||||
#{$prop}-left: auto;
|
||||
#{$prop}-right: $length !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.mr#{$infix}-auto {
|
||||
margin-right: 0!important;
|
||||
margin-left: auto !important;
|
||||
}
|
||||
.mx#{$infix}-auto {
|
||||
margin-right: auto!important;
|
||||
margin-left: auto !important;
|
||||
}
|
||||
.ml#{$infix}-auto {
|
||||
margin-right: auto !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
.mx#{$infix}-auto {
|
||||
margin-right: auto !important;
|
||||
margin-left: auto!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@each $breakpoint in map-keys($grid-breakpoints) {
|
||||
@include media-breakpoint-up($breakpoint) {
|
||||
$infix: breakpoint-infix($breakpoint, $grid-breakpoints);
|
||||
|
||||
.float#{$infix}-left { @include float-right; }
|
||||
.float#{$infix}-right { @include float-left; }
|
||||
.float#{$infix}-none { @include float-none; }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//global styles
|
||||
[direction="rtl"] {
|
||||
|
||||
&[data-theme-version="dark"] {
|
||||
.border, .border-left, .border-right {
|
||||
border-color: $d-border !important;
|
||||
}
|
||||
}
|
||||
|
||||
.text-right {
|
||||
text-align: left !important;
|
||||
}
|
||||
|
||||
.text-left {
|
||||
text-align: right !important;
|
||||
}
|
||||
|
||||
.border-right {
|
||||
border-left: 1px solid $border !important;
|
||||
border-right: 0 !important;
|
||||
|
||||
}
|
||||
|
||||
.border-left {
|
||||
border-right: 1px solid $border !important;
|
||||
border-left: 0 !important;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.dropdown-menu-right {
|
||||
left: 0;
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
|
||||
|
||||
//sidebar right
|
||||
[direction="rtl"] {
|
||||
.sidebar-right {
|
||||
left: -15.625rem;
|
||||
right: auto;
|
||||
|
||||
&.show {
|
||||
left: 0;
|
||||
right: auto;
|
||||
}
|
||||
|
||||
.sidebar-right-trigger {
|
||||
left: 100%;
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
52
httpdocs/themes/focus2/scss/layout/rtl/_rtl-sidebar.scss
Normal file
52
httpdocs/themes/focus2/scss/layout/rtl/_rtl-sidebar.scss
Normal file
@ -0,0 +1,52 @@
|
||||
|
||||
|
||||
//sidebar styles
|
||||
[direction="rtl"] {
|
||||
.quixnav {
|
||||
text-align: right;
|
||||
@include respond('big-desktop') {
|
||||
right: 3.125rem;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
li.active {
|
||||
|
||||
&>.has-arrow {
|
||||
&:after {
|
||||
transform: rotate(45deg) translateY(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.has-arrow {
|
||||
&:after {
|
||||
left: 2.5rem;
|
||||
right: auto;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
&[data-sidebar-style="full"][data-layout="vertical"] {
|
||||
.menu-toggle {
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
li {
|
||||
&>ul {
|
||||
|
||||
li:hover {
|
||||
ul {
|
||||
right: 11.8125rem;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
7
httpdocs/themes/focus2/scss/layout/rtl/_rtl.scss
Normal file
7
httpdocs/themes/focus2/scss/layout/rtl/_rtl.scss
Normal file
@ -0,0 +1,7 @@
|
||||
@import './rtl-reset';
|
||||
@import './rtl-nav-header';
|
||||
@import './rtl-header';
|
||||
@import './rtl-sidebar';
|
||||
@import './rtl-global';
|
||||
@import './rtl-sidebar-right';
|
||||
@import './rtl-footer';
|
||||
434
httpdocs/themes/focus2/scss/layout/sidebar/_mega-menu.scss
Normal file
434
httpdocs/themes/focus2/scss/layout/sidebar/_mega-menu.scss
Normal file
@ -0,0 +1,434 @@
|
||||
//common mega-menu styles
|
||||
[data-sidebar-style="full"][data-layout="vertical"] .menu-toggle,
|
||||
[data-sidebar-style="mini"][data-layout="vertical"] {
|
||||
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
&>li {
|
||||
&.mega-menu {
|
||||
|
||||
&> ul.collapse:not(.in) {
|
||||
height: 252px !important;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(70vw + 3.75rem);
|
||||
}
|
||||
|
||||
&>ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
max-height: 13.75rem;
|
||||
width: 70vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-xl {
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(70vw + 3.75rem);
|
||||
}
|
||||
|
||||
&>ul {
|
||||
max-height: 21.875rem;
|
||||
width: 70vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-lg {
|
||||
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(55vw + 3.75rem);
|
||||
}
|
||||
|
||||
&>ul {
|
||||
max-height:18.125rem;
|
||||
width: 55vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-md {
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(45vw + 3.75rem);
|
||||
}
|
||||
&>ul {
|
||||
max-height: 18.75rem;
|
||||
width: 45vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-sm {
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(30vw + 3.75rem);
|
||||
}
|
||||
&>ul {
|
||||
max-height: 18.125rem;
|
||||
width: 30vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[data-sidebar-style="mini"][data-layout="vertical"][data-container="boxed"] {
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
|
||||
&>li {
|
||||
&.mega-menu {
|
||||
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(60vw + 3.75rem);
|
||||
}
|
||||
&>ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
max-height: 25rem;
|
||||
width: 60vw;
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-xl {
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(60vw + 3.75rem);
|
||||
}
|
||||
&>ul {
|
||||
max-height: 25.625rem;
|
||||
width: 60vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-lg {
|
||||
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(50vw + 3.75rem);
|
||||
}
|
||||
|
||||
&>ul {
|
||||
max-height: 16.25rem;
|
||||
width: 50vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-md {
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(40vw + 3.75rem);
|
||||
}
|
||||
&>ul {
|
||||
max-height: 18.75rem;
|
||||
width: 40vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-sm {
|
||||
&:hover {
|
||||
&>a {
|
||||
width: calc(22vw + 3.75rem);
|
||||
}
|
||||
&>ul {
|
||||
max-height: 18.125rem;
|
||||
width: 22vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//mega menu for horizontal layout
|
||||
[data-layout="horizontal"] {
|
||||
|
||||
.quixnav {
|
||||
|
||||
.metismenu {
|
||||
|
||||
&>li {
|
||||
|
||||
&.mega-menu {
|
||||
&:not(:last-child) {
|
||||
position: static;
|
||||
}
|
||||
|
||||
ul {
|
||||
left: 0;
|
||||
right: 0;
|
||||
padding: 1.25rem 2.8125rem;
|
||||
|
||||
li {
|
||||
border-right: 1px solid $border;
|
||||
padding: 0.1rem 1.25rem;
|
||||
|
||||
@at-root [data-theme-version="dark"]#{&} {
|
||||
border-color: $d-border;
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_2"]#{&} {
|
||||
border-color: darken($color_pallate_2, 20%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_3"]#{&} {
|
||||
border-color: darken($color_pallate_3, 20%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_4"]#{&} {
|
||||
border-color: darken($color_pallate_4, 20%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_5"]#{&} {
|
||||
border-color: darken($color_pallate_5, 20%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_6"]#{&} {
|
||||
border-color: darken($color_pallate_6, 20%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_7"]#{&} {
|
||||
border-color: darken($color_pallate_7, 20%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_8"]#{&} {
|
||||
border-color: darken($color_pallate_8, 20%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_9"]#{&} {
|
||||
border-color: darken($color_pallate_9, 20%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_10"]#{&} {
|
||||
border-color: darken($color_pallate_10, 20%);
|
||||
}
|
||||
|
||||
a {
|
||||
transition: all .4s ease-in-out;
|
||||
|
||||
&:hover {
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&>ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
max-height: 13.75rem;
|
||||
width: 70vw;
|
||||
z-index: 99;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
height: 100%;
|
||||
width: 1px;
|
||||
position: absolute;
|
||||
background-color: $white;
|
||||
right: 2.8125rem;
|
||||
top: 0;
|
||||
|
||||
@at-root [data-theme-version="dark"]#{&} {
|
||||
background-color: lighten($color: $d-bg, $amount: 3.2%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_2"]#{&} {
|
||||
background-color: darken($color_pallate_2, 10%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_3"]#{&} {
|
||||
background-color: darken($color_pallate_3, 10%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_4"]#{&} {
|
||||
background-color: darken($color_pallate_4, 10%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_5"]#{&} {
|
||||
background-color: darken($color_pallate_5, 10%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_6"]#{&} {
|
||||
background-color: darken($color_pallate_6, 10%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_7"]#{&} {
|
||||
background-color: darken($color_pallate_7, 10%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_8"]#{&} {
|
||||
background-color: darken($color_pallate_8, 10%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_9"]#{&} {
|
||||
background-color: darken($color_pallate_9, 10%);
|
||||
}
|
||||
|
||||
@at-root [data-sibebarbg="color_10"]#{&} {
|
||||
background-color: darken($color_pallate_10, 10%);
|
||||
}
|
||||
}
|
||||
|
||||
ul a {
|
||||
width: 101%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-xl {
|
||||
&:hover {
|
||||
&>ul {
|
||||
max-height: 25rem;
|
||||
width: 70vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-lg {
|
||||
|
||||
&:hover {
|
||||
|
||||
&>ul {
|
||||
max-height: 25rem;
|
||||
width: 60vw;
|
||||
height: 25rem !important;
|
||||
|
||||
@include custommq($min: 1200px, $max: 1500px) {
|
||||
width: 80vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-md {
|
||||
&:hover {
|
||||
&>ul {
|
||||
max-height: 20rem;
|
||||
width: 54vw;
|
||||
|
||||
@include custommq($min: 1200px, $max: 1500px) {
|
||||
width: 60vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-sm {
|
||||
&:hover {
|
||||
&>ul {
|
||||
max-height: 20rem;
|
||||
width: 25vw;
|
||||
|
||||
@include custommq($min: 1200px, $max: 1500px) {
|
||||
width: 35vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="horizontal"][data-container="boxed"] {
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
&>li {
|
||||
&.mega-menu {
|
||||
&:hover {
|
||||
&>ul {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
&-xl {
|
||||
&:hover {
|
||||
&>ul {
|
||||
max-height: 21.875rem;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-lg {
|
||||
|
||||
&:hover {
|
||||
|
||||
&>ul {
|
||||
max-height: 21.875rem;
|
||||
width: 55vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-md {
|
||||
&:hover {
|
||||
&>ul {
|
||||
max-height: 18.75rem;
|
||||
width: 45vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-sm {
|
||||
&:hover {
|
||||
&>ul {
|
||||
max-height: 18.125rem;
|
||||
width: 50vw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
[data-sibebarbg="image_3"] {
|
||||
|
||||
}
|
||||
@ -0,0 +1,66 @@
|
||||
////////////////
|
||||
// Compact Nav
|
||||
////////////////
|
||||
|
||||
@media (min-width:767px) {
|
||||
[data-sidebar-style="compact"] {
|
||||
|
||||
.quixnav {
|
||||
|
||||
.nav-user{
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
li {
|
||||
text-align: center;
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
display: block;
|
||||
margin-top: 0.3125rem;
|
||||
}
|
||||
|
||||
.nav-label {
|
||||
&.first{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-badge {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-left: 9.375rem;
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 9.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="vertical"][data-sidebar-style="compact"] {
|
||||
.quixnav {
|
||||
width: 9.375rem;
|
||||
|
||||
.metismenu {
|
||||
ul ul a {
|
||||
padding: 0.625rem 0.9375rem;
|
||||
}
|
||||
|
||||
&>li {
|
||||
&>a.has-arrow::after {
|
||||
top: 35%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
141
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-full.scss
Normal file
141
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-full.scss
Normal file
@ -0,0 +1,141 @@
|
||||
@import "../../abstracts/variable";
|
||||
@import "../../abstracts/mixin";
|
||||
[data-sidebar-style="full"][data-layout="vertical"] {
|
||||
.menu-toggle {
|
||||
.nav-header {
|
||||
width: 3.75rem;
|
||||
z-index: 999;
|
||||
.brand-logo {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
.nav-control {
|
||||
.hamburger {
|
||||
.line {
|
||||
background-color: $primary!important;
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.header {
|
||||
padding-left: 3.75rem;
|
||||
width: 100%;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding: 0 0.9375rem;
|
||||
padding-right: 3.75rem;
|
||||
}
|
||||
}
|
||||
.quixnav {
|
||||
width: 3.75rem;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
.nav-text {
|
||||
display: none;
|
||||
}
|
||||
.slimScrollDiv,
|
||||
.quixnav-scroll {
|
||||
overflow: visible !important;
|
||||
}
|
||||
.metismenu {
|
||||
li {
|
||||
position: relative;
|
||||
a {
|
||||
padding: 0.8125rem 0.9375rem;
|
||||
}
|
||||
&>ul {
|
||||
position: absolute;
|
||||
left: 3.75rem;
|
||||
top: 2.9375rem;
|
||||
width: 11.875rem;
|
||||
z-index: 1001;
|
||||
display: none;
|
||||
padding-left: 1px;
|
||||
// box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.15);
|
||||
height: auto !important;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 3.75rem;
|
||||
// box-shadow: -6px 6px 10px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
li:hover {
|
||||
ul {
|
||||
// display: block;
|
||||
left: 11.8125rem;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover>ul {
|
||||
display: block;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
}
|
||||
}
|
||||
&>li {
|
||||
transition: all 0.4s ease-in-out;
|
||||
&>a {
|
||||
&.has-arrow {
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&:nth-last-child(-n + 1) {
|
||||
&>ul {
|
||||
bottom: 2.9375rem;
|
||||
top: auto;
|
||||
box-shadow: 6px -6px 10px rgba(0, 0, 0, 0.15);
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
box-shadow: -6px -6px 10px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
}
|
||||
}
|
||||
&>a {
|
||||
width: 15.625rem;
|
||||
.nav-text {
|
||||
display: inline-block;
|
||||
padding-left: 1.6875rem;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-left: auto;
|
||||
padding-right: 1.6875rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
&>ul {
|
||||
height: auto !important;
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
margin-left: -.1rem;
|
||||
}
|
||||
ul a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 3rem;
|
||||
margin-left: -.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-label,
|
||||
.nav-badge {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
.content-body {
|
||||
margin-left: 3.75rem;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
margin-right: 3.75rem;
|
||||
margin-left: auto;
|
||||
}
|
||||
}
|
||||
&+.footer {
|
||||
padding-left: 3.75rem;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-left: 0;
|
||||
padding-right: 3.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
203
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-global.scss
Normal file
203
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-global.scss
Normal file
@ -0,0 +1,203 @@
|
||||
///////////////////////////
|
||||
// Nav Profile
|
||||
///////////////////////////
|
||||
.nav-label {
|
||||
margin: 0px 25px 0;
|
||||
padding: 1.5625rem 0 10px;
|
||||
text-transform: uppercase;
|
||||
font-size: 0.75rem;
|
||||
letter-spacing: 0.05rem;
|
||||
// border-top: 1px solid $l-border;
|
||||
// @at-root [data-theme-version="dark"] & {
|
||||
// border-color: $d-border;
|
||||
// }
|
||||
// &.first {
|
||||
// border: 0px;
|
||||
// margin-top: 0px;
|
||||
// }
|
||||
}
|
||||
|
||||
.nav-badge {
|
||||
position: absolute;
|
||||
right: 2.8125rem;
|
||||
top: 0.625rem;
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 17.1875rem;
|
||||
z-index: 0;
|
||||
transition: all .2s ease;
|
||||
@include custommq($min: 1200px, $max: 1350px) {
|
||||
margin-left: 14.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
// 38px + 60px
|
||||
///////////////
|
||||
// Sidebar
|
||||
//////////////
|
||||
.quixnav {
|
||||
width: 17.1875rem;
|
||||
padding-bottom: 112px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 5rem;
|
||||
padding-top: 0;
|
||||
z-index: 2;
|
||||
background-color: #343957;
|
||||
box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
|
||||
transition: all .2s ease;
|
||||
// border-top-left-radius: 5px;
|
||||
// border-top-right-radius: 5px;
|
||||
// @include respond('phone-land') {
|
||||
// background-color: $white;
|
||||
// box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
|
||||
// }
|
||||
// @include respond('big-desktop') {
|
||||
// left: 6rem;
|
||||
// }
|
||||
.quixnav-scroll {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
// overflow: visible!important;
|
||||
// border-top-left-radius: 5px;
|
||||
// border-top-right-radius: 5px;
|
||||
}
|
||||
@include custommq($min: 1200px, $max: 1350px) {
|
||||
width: 14.375rem;
|
||||
}
|
||||
ul {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
}
|
||||
.metismenu {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
&.fixed {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
left: 0;
|
||||
}
|
||||
&>li {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
a {
|
||||
&>i {
|
||||
//icon will get color from parent "a"
|
||||
font-size: 1.125rem;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
padding: 0 0.4375rem;
|
||||
font-weight: 700;
|
||||
position: relative;
|
||||
top: -2px;
|
||||
}
|
||||
}
|
||||
&>a {
|
||||
color: rgba($color: $body-color, $alpha: 1);
|
||||
}
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
&>a {
|
||||
background-color: lighten($color: $primary, $amount: 5%);
|
||||
color: $white;
|
||||
// @include respond('desktop') {
|
||||
// background-color: $body-bg;
|
||||
// }
|
||||
// &::after {
|
||||
// border-color: blue;
|
||||
// }
|
||||
}
|
||||
}
|
||||
&.mm-active {
|
||||
ul {
|
||||
background-color: $body-bg;
|
||||
ul {
|
||||
background-color: $body-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
li {
|
||||
position: relative;
|
||||
}
|
||||
//one step dropdown
|
||||
ul {
|
||||
background-color: darken($color: $primary, $amount: 35%);
|
||||
transition: all .2s ease-in-out;
|
||||
// @include respond('desktop') {
|
||||
// background-color: $body-bg;
|
||||
// }
|
||||
a {
|
||||
padding-left: 54px;
|
||||
font-weight: 300;
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
text-decoration: none;
|
||||
color: $white;
|
||||
}
|
||||
@at-root [direction="rtl"] & {
|
||||
padding-right: 54px;
|
||||
}
|
||||
}
|
||||
//two step dropdown
|
||||
ul {
|
||||
a {
|
||||
padding-left: 74px;
|
||||
}
|
||||
//three step dropdown
|
||||
ul {
|
||||
a {
|
||||
padding-left: 94px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
a {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 0.8125rem 1.25rem;
|
||||
outline-width: 0;
|
||||
color: rgba($color: $body-color, $alpha: 1);
|
||||
text-decoration: none;
|
||||
}
|
||||
.has-arrow {
|
||||
&:after {
|
||||
width: .35rem;
|
||||
height: .35rem;
|
||||
right: 1.5625rem;
|
||||
top: 48%;
|
||||
border-color: inherit;
|
||||
-webkit-transform: rotate(-225deg) translateY(-50%);
|
||||
transform: rotate(-225deg) translateY(-50%);
|
||||
}
|
||||
}
|
||||
.has-arrow[aria-expanded=true]:after,
|
||||
.mm-active>.has-arrow:after {
|
||||
-webkit-transform: rotate(-135deg) translateY(-50%);
|
||||
transform: rotate(-135deg) translateY(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// .metismenu .mm-active>.has-arrow:after, .metismenu .has-arrow[aria-expanded=true]:after {
|
||||
// transform: rotate(45deg) translateY(-50%);
|
||||
// }
|
||||
@media (max-width:767px) {
|
||||
.nav-header {
|
||||
width: 3.75rem;
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.footer {
|
||||
padding-left: 0;
|
||||
}
|
||||
.quixnav {
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,346 @@
|
||||
@import "../../abstracts/variable";
|
||||
|
||||
////////////////////
|
||||
// Horizontal Nav
|
||||
////////////////////
|
||||
@media (min-width: 1199px) {
|
||||
[data-layout="horizontal"] {
|
||||
|
||||
.nav-header {
|
||||
width: 9.0625rem;
|
||||
|
||||
.nav-control {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
padding-left: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 9.0625rem;
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
height: auto;
|
||||
padding-bottom: 0;
|
||||
top: 0;
|
||||
z-index: 8;
|
||||
|
||||
.slimScrollDiv {
|
||||
overflow: visible!important;
|
||||
|
||||
.quixnav-scroll {
|
||||
overflow: visible!important;
|
||||
}
|
||||
}
|
||||
|
||||
.slimScrollBar {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.nav-user,
|
||||
.nav-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
flex-direction: row;
|
||||
|
||||
.collapse.in {
|
||||
display: none;
|
||||
}
|
||||
|
||||
li {
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
|
||||
&:hover {
|
||||
&>ul {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&>ul {
|
||||
position: absolute;
|
||||
height: auto !important;
|
||||
top: 2.9375rem;
|
||||
width: 100%;
|
||||
min-width: 13.75rem;
|
||||
z-index: 999;
|
||||
left: auto;
|
||||
right: auto;
|
||||
padding: 1rem 0;
|
||||
display: none;
|
||||
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.15);
|
||||
|
||||
@at-root [data-theme-version="dark"]#{&} {
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
|
||||
}
|
||||
|
||||
li {
|
||||
padding: 0.1rem 1.25rem;
|
||||
|
||||
a {
|
||||
transition: all .4s ease-in-out;
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
margin-left: -.1rem;
|
||||
|
||||
&:hover {
|
||||
border-radius: .4rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
left: 100%;
|
||||
top: 0;
|
||||
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 1.875rem;
|
||||
margin-left: -.1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&>li {
|
||||
flex: 0 0 auto;
|
||||
position: relative;
|
||||
|
||||
&:not(:last-child) {
|
||||
border-right: 1px solid $border;
|
||||
|
||||
@at-root [data-theme-version="dark"]#{&} {
|
||||
border-color: $d-border;
|
||||
}
|
||||
}
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
&:not(:first-child) {
|
||||
border-right: lighten($color: $color-pallate-2, $amount: 10%);
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@at-root [data-theme-version="dark"]#{&} {
|
||||
border-color: $d-border;
|
||||
}
|
||||
}
|
||||
|
||||
&>a {
|
||||
padding: 0.8125rem 1.75rem;
|
||||
|
||||
i{
|
||||
padding: 0 0.4375rem 0 0;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding: 0 0 0 0.4375rem;
|
||||
}
|
||||
}
|
||||
.nav-badge {
|
||||
display: none;
|
||||
}
|
||||
&:after {
|
||||
right: 8%;
|
||||
transform: rotate(-135deg) translateY(-50%);
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
&>ul {
|
||||
display: flex !important;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
height: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
&>ul {
|
||||
&>li {
|
||||
&:hover {
|
||||
ul.collapse {
|
||||
display: block!important;
|
||||
position: absolute;
|
||||
left: auto!important;
|
||||
right: -100%!important;
|
||||
top: 0!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-last-child(-n + 5) {
|
||||
&>ul {
|
||||
left: auto;
|
||||
right: 0;
|
||||
&>li {
|
||||
&:hover {
|
||||
ul.collapse {
|
||||
right: auto!important;
|
||||
left: -100%!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
&>ul {
|
||||
ul {
|
||||
left: -100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
|
||||
&:nth-last-child(-n + 3) {
|
||||
&>ul {
|
||||
left: 0;
|
||||
right: auto;
|
||||
&>li {
|
||||
&:hover {
|
||||
ul.collapse {
|
||||
right: -100% !important;
|
||||
left: auto !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 0;
|
||||
.page-titles {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 1.875rem;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
margin-left: 0;
|
||||
margin: 0 auto;
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.sidebar-right {
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
|
||||
[data-header-position="fixed"][data-layout="horizontal"] {
|
||||
.quixnav {
|
||||
top: 5rem;
|
||||
}
|
||||
} //ok
|
||||
|
||||
[data-header-position="fixed"][data-sidebar-position="fixed"] {
|
||||
.quixnav {
|
||||
position: fixed;
|
||||
}
|
||||
} //ok
|
||||
|
||||
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"] {
|
||||
.content-body {
|
||||
padding-top: 8.3rem;
|
||||
}
|
||||
} //ok
|
||||
|
||||
[data-layout="horizontal"][data-container="boxed"] {
|
||||
|
||||
.footer {
|
||||
margin-left: 0;
|
||||
max-width: 1199px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="horizontal"][data-container="wide"] {
|
||||
.page-titles {
|
||||
margin-left: -30px;
|
||||
margin-right: -30px;
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="horizontal"][data-sidebar-style="compact"] {
|
||||
.page-titles {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
|
||||
&>li {
|
||||
&>ul {
|
||||
top: 4.5625rem;
|
||||
}
|
||||
&>a {
|
||||
padding: 0.8125rem 2.1rem;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"][data-layout="horizontal"] {
|
||||
.nav-header {
|
||||
width: 3.75rem;
|
||||
}
|
||||
|
||||
.header {
|
||||
width: 100%;
|
||||
padding-left: 3.75rem;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
&>li {
|
||||
&:hover {
|
||||
a {
|
||||
width: auto;
|
||||
.nav-text {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-header-position="fixed"][data-layout="horizontal"][data-sidebar-position="fixed"][data-sidebar-style="compact"] {
|
||||
.content-body {
|
||||
padding-top: 8.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-position="fixed"][data-layout="horizontal"] {
|
||||
.quixnav.fixed {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,163 @@
|
||||
@media (min-width: 767px) {
|
||||
|
||||
[data-sidebar-style="icon-hover"][data-layout="vertical"] {
|
||||
.nav-header {
|
||||
width: 4.38rem;
|
||||
|
||||
.brand-logo {
|
||||
padding-left: 1.6rem;
|
||||
|
||||
.logo-abbr {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-control {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
padding-left: 4.38rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-right: 4.38rem;
|
||||
padding-left: 0.9375rem;
|
||||
}
|
||||
|
||||
.header-content {
|
||||
padding-left: 1.375rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-right: 1.375rem;
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
left: -12.8125rem;
|
||||
// z-index: 1;
|
||||
|
||||
@include custommq($min: 1200px, $max: 1350px) {
|
||||
left: -10rem;
|
||||
}
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: -12.8125rem;
|
||||
}
|
||||
|
||||
.nav-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
&>li {
|
||||
&>a {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
&>i {
|
||||
order: 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
a {
|
||||
position: relative;
|
||||
|
||||
&::before {
|
||||
position: absolute;
|
||||
content: "\f764";
|
||||
right: 1.75rem;
|
||||
font-family:"Material Design Icons";
|
||||
font-size: 13px;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
right: auto;
|
||||
left: 1.75rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.has-arrow {
|
||||
&::after {
|
||||
right: 5rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
right: auto;
|
||||
left: 5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.icon-hover-toggle {
|
||||
|
||||
.nav-header {
|
||||
width: 17.1875rem;
|
||||
|
||||
.brand-logo {
|
||||
padding-left: 1.6rem;
|
||||
|
||||
.logo-abbr {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.brand-title {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header {
|
||||
padding-left: 4.38rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-right: 4.38rem;
|
||||
padding-left: 0.9375rem;
|
||||
}
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
left: 0;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 4.375rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
margin-left: 0;
|
||||
margin-right: 4.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-left: 4.375rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
margin-left: 0;
|
||||
margin-right: 4.375rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,210 @@
|
||||
@import "../../abstracts/_mixin";
|
||||
@import "../../abstracts/_variable";
|
||||
|
||||
@include custommq($min: 768px) {
|
||||
|
||||
[data-sidebar-style="mini"] {
|
||||
|
||||
.nav-header {
|
||||
width: 3.75rem;
|
||||
|
||||
.nav-control {
|
||||
z-index: -1;
|
||||
.hamburger{
|
||||
left: 3.75rem!important;
|
||||
.line{
|
||||
background-color: $dark!important;;
|
||||
}
|
||||
}
|
||||
}
|
||||
.brand-title {
|
||||
display: none;
|
||||
}
|
||||
.hamburger {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.quixnav {
|
||||
width: 3.75rem;
|
||||
overflow: visible;
|
||||
position: absolute;
|
||||
|
||||
.nav-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.slimScrollDiv,
|
||||
.quixnav-scroll {
|
||||
overflow: visible !important;
|
||||
}
|
||||
.nav-user{
|
||||
padding: 11px;
|
||||
.media-body{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
li {
|
||||
|
||||
a {
|
||||
padding: 0.8125rem 0.9375rem;
|
||||
}
|
||||
|
||||
&>ul {
|
||||
position: absolute;
|
||||
left: 3.75rem;
|
||||
top: 2.9375rem;
|
||||
width: 11.875rem;
|
||||
z-index: 1001;
|
||||
display: none;
|
||||
padding-left: 1px;
|
||||
box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.15);
|
||||
height: auto !important;
|
||||
|
||||
@at-root [direction="rtl"]:not([data-layout="horizontal"])#{&} {
|
||||
left: auto;
|
||||
right: 3.75rem;
|
||||
box-shadow: -6px 6px 10px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
}
|
||||
}
|
||||
&>li {
|
||||
|
||||
&>a {
|
||||
|
||||
&.has-arrow {
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.nav-label,
|
||||
.nav-badge {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 3.75rem;
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-left: 3.75rem;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"][data-layout="vertical"] {
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
|
||||
li {
|
||||
&:hover>ul {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
&>li {
|
||||
|
||||
&:nth-last-child(-n + 1) {
|
||||
&>ul {
|
||||
bottom: 2.93rem;
|
||||
top: auto;
|
||||
box-shadow: 6px -6px 10px rgba(0, 0, 0, 0.15);
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
box-shadow: -6px -6px 10px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include respond('tab-land') {
|
||||
&:nth-last-child(-n + 1) {
|
||||
&>ul {
|
||||
bottom: 2.93rem;
|
||||
top: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&>ul {
|
||||
overflow: visible;
|
||||
|
||||
li:hover {
|
||||
ul {
|
||||
left: 11.8125rem;
|
||||
top: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
|
||||
|
||||
&>a {
|
||||
width: 15.625rem;
|
||||
// background: #343a40;
|
||||
.nav-text {
|
||||
display: inline-block;
|
||||
padding-left: 1.6875rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
padding-left: auto;
|
||||
padding-right: 1.6875rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
&>ul {
|
||||
height: auto !important;
|
||||
overflow: visible;
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
margin-left: -1.6px;
|
||||
}
|
||||
ul a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 3rem;
|
||||
margin-left: -1.6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="mini"][data-header-position="fixed"][data-container="boxed"][data-layout="vertical"] {
|
||||
.header {
|
||||
width: 1199px;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@include respond('tab-land') {
|
||||
[data-sidebar-style="mini"] {
|
||||
.quixnav {
|
||||
|
||||
li {
|
||||
&.mm-active {
|
||||
ul {
|
||||
height: auto !important;
|
||||
}
|
||||
}
|
||||
|
||||
a.has-arrow {
|
||||
&::after {
|
||||
transform: rotate(-45deg) translateY(-50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
199
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-modern.scss
Normal file
199
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-modern.scss
Normal file
@ -0,0 +1,199 @@
|
||||
@media (min-width:767px) {
|
||||
[data-sidebar-style="modern"] {
|
||||
|
||||
.nav-header {
|
||||
width: 9.375rem;
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
|
||||
.metismenu {
|
||||
&>li {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid $border;
|
||||
|
||||
&>a {
|
||||
padding: 20px 15px 20px 15px!important;
|
||||
// font-weight: 500;
|
||||
|
||||
&::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.mm-active {
|
||||
&>a {
|
||||
background-color: lighten($color: $primary, $amount: 50%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
text-align: left;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
}
|
||||
|
||||
&>ul {
|
||||
height: auto !important;
|
||||
}
|
||||
}
|
||||
.nav-label{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.nav-text {
|
||||
display: block;
|
||||
margin-top: 0.3125rem;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
padding-left: 9.375rem;
|
||||
}
|
||||
.content-body {
|
||||
margin-left: 9.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="modern"][data-layout="vertical"] {
|
||||
|
||||
.quixnav {
|
||||
width: 9.375rem;
|
||||
left: 0;
|
||||
|
||||
.slimScrollDiv,
|
||||
.quixnav-scroll {
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.metismenu {
|
||||
&>li {
|
||||
&>a{
|
||||
i{
|
||||
font-size: 20px;
|
||||
// height: 35px;
|
||||
}
|
||||
}
|
||||
|
||||
&>ul {
|
||||
display: none;
|
||||
padding: 1.875rem 0.9375rem;
|
||||
}
|
||||
}
|
||||
|
||||
li {
|
||||
position: static;
|
||||
|
||||
a {
|
||||
padding: 0.625rem 0.9375rem 0.625rem 0.9375rem;
|
||||
}
|
||||
|
||||
ul {
|
||||
position: absolute;
|
||||
left: 105%;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
background-color: $white;
|
||||
border: 1px solid $border;
|
||||
width: 200px;
|
||||
// box-shadow: 2px 3px 10px 0px rgba(119, 119, 119, 0.1);
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 105%;
|
||||
}
|
||||
}
|
||||
|
||||
&:hover {
|
||||
&>ul {
|
||||
display: block;
|
||||
left: 100%;
|
||||
padding: 1.875rem 0;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.nav-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nav-text {
|
||||
display: block;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.3125rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.menu-toggle {
|
||||
.quixnav {
|
||||
left: -9.375rem;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: -9.375rem;
|
||||
}
|
||||
}
|
||||
|
||||
.content-body {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="modern"][data-layout="horizontal"] {
|
||||
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
|
||||
&>li {
|
||||
&>a {
|
||||
padding: 0.8125rem 2.25rem;
|
||||
}
|
||||
|
||||
&>ul {
|
||||
top: 4.5625rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&[data-container="boxed"] {
|
||||
.quixnav {
|
||||
.metismenu {
|
||||
|
||||
&>li {
|
||||
&>a {
|
||||
padding: 0.8125rem 1.25rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,49 @@
|
||||
[data-sidebar-style="overlay"] {
|
||||
.quixnav {
|
||||
left: -100%;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: -100%;
|
||||
}
|
||||
}
|
||||
.content-body {
|
||||
margin-left: 0;
|
||||
}
|
||||
.nav-header {
|
||||
position: absolute;
|
||||
.hamburger.is-active {
|
||||
left: 0;
|
||||
.line {
|
||||
background-color: $primary;
|
||||
}
|
||||
}
|
||||
}
|
||||
.menu-toggle {
|
||||
.nav-header {
|
||||
position: absolute;
|
||||
left: auto;
|
||||
}
|
||||
.quixnav {
|
||||
left: 0;
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
.footer {
|
||||
padding-left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-style="overlay"][data-header-position="fixed"] {
|
||||
.nav-header {
|
||||
position: fixed;
|
||||
}
|
||||
}
|
||||
|
||||
[data-sidebar-position="fixed"][data-header-position="fixed"] {
|
||||
.nav-header {
|
||||
position: fixed;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,75 @@
|
||||
///////////////////////////
|
||||
// Sidebar profile
|
||||
///////////////////////////
|
||||
.nav-user {
|
||||
// text-align: center;
|
||||
background: $primary;
|
||||
margin-bottom: 10px;
|
||||
padding: 20px 25px 15px;
|
||||
@include custommq($min: 768px, $max: 1199px) {
|
||||
padding: 20px 15px 15px;
|
||||
}
|
||||
img {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
@include custommq($min: 768px, $max: 1199px) {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
}
|
||||
h5 {
|
||||
margin-left: 10px;
|
||||
margin-bottom: 3px;
|
||||
color: $white;
|
||||
@include custommq($min: 768px, $max: 1199px) {
|
||||
display: none;
|
||||
}
|
||||
@at-root [data-sibebarbg="color_2"] & {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
p{
|
||||
margin-left: 10px;
|
||||
margin-bottom: 8px;
|
||||
color: #afcff7;
|
||||
@include custommq($min: 768px, $max: 1199px) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@include custommq($min: 768px, $max: 1199px) {
|
||||
i{
|
||||
margin-top: 15px;
|
||||
display: block
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.menu-toggle{
|
||||
.nav-user {
|
||||
padding: 20px 15px 15px;
|
||||
img {
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
h5,
|
||||
p {
|
||||
display: none;
|
||||
}
|
||||
i {
|
||||
margin-top: 15px;
|
||||
display: block
|
||||
}
|
||||
.dropdown-menu {
|
||||
left: 45px !important;
|
||||
top: 22px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
191
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-right.scss
Normal file
191
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar-right.scss
Normal file
@ -0,0 +1,191 @@
|
||||
// @import "../../abstracts/variable";
|
||||
|
||||
.sidebar-right {
|
||||
// display: none;
|
||||
right: -15.625rem;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 15.625rem;
|
||||
background-color: $white;
|
||||
height: calc(100% - 7.0625rem);
|
||||
margin-top: 5rem;
|
||||
transition: all .5s ease-in-out;
|
||||
padding-bottom: 1.875rem;
|
||||
box-shadow: -2px 3px 10px 0px rgba(119, 119, 119, 0.1);
|
||||
|
||||
.slimScrollDiv {
|
||||
@at-root [direction="rtl"] #{&} {
|
||||
overflow: visible !important;
|
||||
}
|
||||
}
|
||||
|
||||
.sidebar-right-trigger {
|
||||
position: absolute;
|
||||
z-index: 9;
|
||||
top: 4.75rem;
|
||||
right: 100%;
|
||||
background-color: $primary;
|
||||
color: $white;
|
||||
display: inline-block;
|
||||
height: 2.125rem;
|
||||
width: 2.125rem;
|
||||
text-align: center;
|
||||
font-size: 1.3125rem;
|
||||
line-height: 2.2rem;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
&.show {
|
||||
right: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.nav-tabs {
|
||||
justify-content: space-between;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background-color: $white;
|
||||
z-index: 2;
|
||||
|
||||
@at-root [data-theme-version="dark"] #{&} {
|
||||
background-color: $d-bg;
|
||||
}
|
||||
|
||||
|
||||
.nav-item {
|
||||
margin-bottom: 0;
|
||||
flex: 1;
|
||||
|
||||
.nav-link {
|
||||
border: 0;
|
||||
font-size: 1.125rem;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
background-color: $white;
|
||||
|
||||
&::after {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: 2px;
|
||||
content: "";
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
@at-root [data-theme-version="dark"] #{&} {
|
||||
background-color: $d-bg;
|
||||
}
|
||||
|
||||
&.active {
|
||||
|
||||
@at-root [data-theme-version="dark"] #{&} {
|
||||
border-right: none;
|
||||
border-left: none;
|
||||
border-top: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
padding: 1.25rem;
|
||||
|
||||
.tab-pane {
|
||||
|
||||
.admin-settings {
|
||||
p {
|
||||
margin-bottom: 0.3125rem;
|
||||
}
|
||||
|
||||
//All color switcher scss goes here
|
||||
input[type="radio"] {
|
||||
display: none;
|
||||
|
||||
+ label {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
cursor: pointer;
|
||||
margin: 3px 8px;
|
||||
transition: all .1s ease;
|
||||
}
|
||||
|
||||
&:checked {
|
||||
+ label {
|
||||
position: relative;
|
||||
|
||||
&::after {
|
||||
height: 12px;
|
||||
width: 12px;
|
||||
left: 50%;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
content: "";
|
||||
position: absolute;
|
||||
background-color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#nav_header,
|
||||
#header,
|
||||
#sidebar {
|
||||
|
||||
|
||||
@each $name, $color in $theme_backgrounds {
|
||||
&_#{$name} {
|
||||
+ label {
|
||||
background-color: $color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&_color_1 {
|
||||
+ label {
|
||||
border: 1px solid $muted;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@keyframes bounce {
|
||||
0% {
|
||||
transform: translateX(-8%);;
|
||||
-webkit-transform: translateX(-8%);;
|
||||
}
|
||||
50% {
|
||||
transform: translateX(8%);;
|
||||
-webkit-transform: translateX(8%);;
|
||||
}
|
||||
100% {
|
||||
transform: translateX(-8%);;
|
||||
-webkit-transform: translateX(-8%);;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes bounce {
|
||||
0% {
|
||||
transform: translateX(-8%);;
|
||||
-webkit-transform: translateX(-8%);;
|
||||
}
|
||||
50% {
|
||||
transform: translateX(8%);;
|
||||
-webkit-transform: translateX(8%);;
|
||||
}
|
||||
100% {
|
||||
transform: translateY(-8%);;
|
||||
-webkit-transform: translateY(-8%);;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
[data-sidebar-position="fixed"][data-layout="vertical"] {
|
||||
.nav-header {
|
||||
position: fixed;
|
||||
// left: auto;
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
}
|
||||
|
||||
.quixnav {
|
||||
position: fixed;
|
||||
// z-index: 0;
|
||||
.quixnav-scroll {
|
||||
border-top-left-radius: 0px;
|
||||
border-top-right-radius: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
.quixnav {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-header-position="fixed"][data-sidebar-position="fixed"][data-sidebar-style="overlay"][data-layout="vertical"][data-container="boxed"] {
|
||||
.quixnav {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
14
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar.scss
Normal file
14
httpdocs/themes/focus2/scss/layout/sidebar/_sidebar.scss
Normal file
@ -0,0 +1,14 @@
|
||||
//all sidebar css goes here
|
||||
@import './sidebar-global';
|
||||
@import './sidebar-bg';
|
||||
@import './mega-menu';
|
||||
@import './sidebar-full';
|
||||
@import './sidebar-mini-nav';
|
||||
@import './sidebar-horizontal';
|
||||
@import './sidebar-compact-nav';
|
||||
@import './sidebar-icon-hover';
|
||||
@import './sidebar-modern';
|
||||
@import './sidebar-overlay';
|
||||
@import './sidebar-vertical-nav';
|
||||
@import './sidebar-right';
|
||||
@import './sidebar-profile';
|
||||
141
httpdocs/themes/focus2/scss/layout/theme/_theme-bg.scss
Normal file
141
httpdocs/themes/focus2/scss/layout/theme/_theme-bg.scss
Normal file
@ -0,0 +1,141 @@
|
||||
//background for nav header
|
||||
@each $name, $color in $theme_backgrounds {
|
||||
[data-nav-headerbg="#{$name}"] {
|
||||
@if $name != "color_1" {
|
||||
.nav-header {
|
||||
background-color: $color;
|
||||
|
||||
.brand-logo {
|
||||
color: $white;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//background for header
|
||||
@each $name, $color in $theme_backgrounds {
|
||||
[data-headerbg="#{$name}"] {
|
||||
|
||||
@if $name != "color_1" {
|
||||
.header {
|
||||
background-color: $color;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.header-left {
|
||||
input {
|
||||
border-color: lighten($color: $color, $amount: 10%);
|
||||
background-color: lighten($color: $color, $amount: 10%);
|
||||
color: $white;
|
||||
// border-right-color: transparent;
|
||||
|
||||
&::placeholder {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
&:focus {
|
||||
border-color: darken($color: $color, $amount: 10%);
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
background-color: darken($color: $color, $amount: 10%);
|
||||
border-color: darken($color: $color, $amount: 10%);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active {
|
||||
background-color: darken($color: $color, $amount: 20%);
|
||||
border-color: darken($color: $color, $amount: 20%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header-right {
|
||||
.dropdown {
|
||||
&>a {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-control {
|
||||
background-color: darken($color: $color, $amount: 10%);
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//styles for sidebar
|
||||
@each $name, $color in $theme_backgrounds {
|
||||
//:not([data-sidebar-style="modern"])
|
||||
[data-sibebarbg="#{$name}"] {
|
||||
@if $name != "color_1" {
|
||||
.quixnav {
|
||||
background-color: $color;
|
||||
|
||||
.metismenu {
|
||||
&>li {
|
||||
&>a {
|
||||
color: darken($color: $white, $amount: 30%);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
|
||||
&>a {
|
||||
background-color: $color;
|
||||
color: $white;
|
||||
|
||||
// &::after {
|
||||
// border-color: transparent transparent $white transparent;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
@at-root [data-layout="horizontal"]#{&} {
|
||||
// &:not(:last-child) {
|
||||
border-color: lighten($color: $color, $amount: 10%);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: darken($color: $white, $amount: 30%);
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
ul {
|
||||
background-color: darken($color: $color, $amount: 10%);
|
||||
}
|
||||
|
||||
// .has-arrow {
|
||||
// &:after {
|
||||
// border-color: transparent transparent darken($color: $white, $amount: 30%) transparent;
|
||||
// }
|
||||
// }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-headerbg="transparent"]{
|
||||
.header{
|
||||
box-shadow: none;
|
||||
background: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
93
httpdocs/themes/focus2/scss/layout/theme/_theme-boxed.scss
Normal file
93
httpdocs/themes/focus2/scss/layout/theme/_theme-boxed.scss
Normal file
@ -0,0 +1,93 @@
|
||||
@media (min-width: 992px) {
|
||||
[data-container="boxed"] {
|
||||
#main-wrapper {
|
||||
max-width: 1199px;
|
||||
margin: 0 auto;
|
||||
|
||||
@at-root [direction="rtl"]#{&} {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@include custommq($min: 1350px) {
|
||||
[data-layout="vertical"][data-sidebar-style="overlay"][data-container="boxed"][data-header-position="fixed"] {
|
||||
.header {
|
||||
width: 1199px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@include custommq($min: 1200px, $max: 1349px) {
|
||||
[data-layout="vertical"][data-sidebar-style="overlay"][data-container="boxed"][data-header-position="fixed"] {
|
||||
.header {
|
||||
width: 1199px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[data-header-position="fixed"][data-layout="horizontal"][data-container="boxed"] {
|
||||
.quixnav {
|
||||
max-width: 1199px;
|
||||
}
|
||||
} //ok
|
||||
|
||||
[data-layout="horizontal"][data-container="boxed"][data-header-position="fixed"] {
|
||||
.header {
|
||||
width: 1199px;
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="horizontal"][data-container="boxed"][data-header-position="fixed"][data-sidebar-style="mini"] {
|
||||
.header {
|
||||
width: 1199px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[data-container="boxed"] {
|
||||
.metismenu.fixed {
|
||||
left: auto;
|
||||
max-width: 1199px;
|
||||
}
|
||||
|
||||
.page-titles {
|
||||
margin-bottom: 3rem;
|
||||
padding: 15px 15px;
|
||||
}
|
||||
|
||||
.content-body .container-fluid {
|
||||
padding: 0.9375rem 0.9375rem 0 0.9375rem;
|
||||
}
|
||||
}
|
||||
|
||||
[data-container="boxed"][data-layout="vertical"] {
|
||||
.page-titles {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="vertical"][data-container="boxed"][data-sidebar-position="fixed"][data-header-position="static"][data-sidebar-style="overlay"] {
|
||||
.nav-header {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.menu-toggle {
|
||||
.quixnav {
|
||||
position: absolute;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-container="boxed"][data-sidebar-position="fixed"][data-layout="horizontal"] {
|
||||
.quixnav.fixed {
|
||||
left: auto;
|
||||
max-width: 1199px;
|
||||
}
|
||||
}
|
||||
116
httpdocs/themes/focus2/scss/layout/theme/_theme-wide-boxed.scss
Normal file
116
httpdocs/themes/focus2/scss/layout/theme/_theme-wide-boxed.scss
Normal file
@ -0,0 +1,116 @@
|
||||
[data-container="wide-boxed"] {
|
||||
@media (min-width: 992px) {
|
||||
#main-wrapper {
|
||||
max-width: 1480px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-container="wide-boxed"][data-sidebar-style="full"] {
|
||||
@media (min-width: 992px) {
|
||||
.header {
|
||||
width: 100%;
|
||||
}
|
||||
.menu-toggle {
|
||||
.header {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
@at-root [data-header-position="fixed"]#{&} {
|
||||
.header {
|
||||
max-width: 1480px;
|
||||
}
|
||||
.menu-toggle {
|
||||
.header {
|
||||
max-width: 1480px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-container="wide-boxed"][data-sidebar-style="mini"] {
|
||||
@media (min-width: 992px) {
|
||||
.header {
|
||||
width: 100%;
|
||||
}
|
||||
@at-root [data-header-position="fixed"]#{&} {
|
||||
.header {
|
||||
max-width: 1480px;
|
||||
}
|
||||
}
|
||||
@at-root [data-header-position="fixed"][data-layout="horizontal"]#{&} {
|
||||
.header {
|
||||
max-width: 1480px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-container="wide-boxed"][data-sidebar-style="compact"] {
|
||||
@media (min-width: 992px) {
|
||||
.header {
|
||||
width: 100%;
|
||||
}
|
||||
@at-root [data-header-position="fixed"]#{&} {
|
||||
.header {
|
||||
max-width: 1480px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-container="wide-boxed"][data-sidebar-style="overlay"] {
|
||||
@media (min-width: 992px) {
|
||||
.header {
|
||||
width: 100%;
|
||||
}
|
||||
@at-root [data-header-position="fixed"]#{&} {
|
||||
.header {
|
||||
max-width: 1480px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="horizontal"][data-container="wide-boxed"] {
|
||||
.header {
|
||||
width: 100%;
|
||||
}
|
||||
@at-root [data-sidebar-style="full"][data-header-position="fixed"]#{&} {
|
||||
.header {
|
||||
max-width: 1480px;
|
||||
}
|
||||
}
|
||||
@at-root [data-sidebar-style="mini"]#{&} {
|
||||
.header {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="horizontal"][data-container="wide-boxed"][data-sidebar-position="fixed"] {
|
||||
.quixnav.fixed {
|
||||
max-width: 1480px;
|
||||
left: 5%;
|
||||
transition: none;
|
||||
}
|
||||
&[direction="rtl"] {
|
||||
.quixnav.fixed {
|
||||
right: 5%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[data-layout="horizontal"][data-container="wide-boxed"][data-sidebar-position="fixed"][data-header-position="fixed"] {
|
||||
.quixnav {
|
||||
max-width: 1480px;
|
||||
left: 5%;
|
||||
}
|
||||
&[direction="rtl"] {
|
||||
.quixnav {
|
||||
right: 5%;
|
||||
}
|
||||
}
|
||||
}
|
||||
3
httpdocs/themes/focus2/scss/layout/theme/_theme.scss
Normal file
3
httpdocs/themes/focus2/scss/layout/theme/_theme.scss
Normal file
@ -0,0 +1,3 @@
|
||||
@import './theme-bg';
|
||||
@import './theme-boxed';
|
||||
@import './theme-wide-boxed';
|
||||
@ -0,0 +1,8 @@
|
||||
[data-typography="helvetica"] {
|
||||
font-family: 'HelveticaNeue';
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
[data-typography="opensans"] {
|
||||
font-family: 'Open Sans', sans-serif;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
[data-typography="poppins"] {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
[data-typography="roboto"] {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,7 @@
|
||||
@import "./opensans";
|
||||
@import "./poppins";
|
||||
@import "./roboto";
|
||||
@import "./helvetica";
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,13 @@
|
||||
[data-theme-version="dark"] {
|
||||
.footer {
|
||||
background-color: transparent;
|
||||
|
||||
.copyright {
|
||||
background-color: transparent;
|
||||
|
||||
p {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
|
||||
[data-theme-version="dark"] {
|
||||
.dropdown-menu {
|
||||
background-color: $dark-card;
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
&:hover, &:focus {
|
||||
background-color: $d-bg;
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.form-control {
|
||||
background-color: $d-bg;
|
||||
border-color: $d-border;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: $dark-card;
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
[data-theme-version="dark"] {
|
||||
|
||||
.header {
|
||||
background-color: $primary;
|
||||
}
|
||||
|
||||
.header-left {
|
||||
input {
|
||||
border-color: transparent;
|
||||
color: $white;
|
||||
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
border-color: $primary;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.header-right {
|
||||
.dropdown {
|
||||
.nav-link {
|
||||
&:hover {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.notification_dropdown {
|
||||
.dropdown-item {
|
||||
a {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,67 @@
|
||||
[data-theme-version="dark"] {
|
||||
|
||||
.quixnav {
|
||||
background-color: $d-bg;
|
||||
|
||||
.metismenu {
|
||||
|
||||
|
||||
&>li {
|
||||
|
||||
&>a {
|
||||
color: darken($color: $white, $amount: 30%);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
|
||||
&>a {
|
||||
background-color: transparent;
|
||||
color: $primary;
|
||||
|
||||
&::after {
|
||||
border-color: transparent transparent $white transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.mm-active {
|
||||
ul {
|
||||
|
||||
ul {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//one step dropdown
|
||||
ul {
|
||||
background-color: $d-bg;
|
||||
|
||||
a {
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: darken($color: $white, $amount: 30%);
|
||||
}
|
||||
|
||||
.has-arrow {
|
||||
&:after {
|
||||
border-color: transparent transparent darken($color: $white, $amount: 30%) transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
[data-theme-version="dark"] {
|
||||
.nav-header,
|
||||
.nav-control {
|
||||
background-color:$primary;
|
||||
}
|
||||
|
||||
.nav-control {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
color: $white;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
[data-theme-version="dark"] {
|
||||
|
||||
#preloader {
|
||||
background: $d-bg;
|
||||
}
|
||||
|
||||
.loader {
|
||||
&__bar {
|
||||
background: $primary;
|
||||
box-shadow: 1px 1px 0 $d-border;
|
||||
}
|
||||
&__ball {
|
||||
background: $primary;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,48 @@
|
||||
@import "./../../abstracts/variable";
|
||||
|
||||
|
||||
|
||||
[data-theme-version="dark"] {
|
||||
background: $d-bg;
|
||||
color: $d-ctl;
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: $white !important;
|
||||
}
|
||||
a.link {
|
||||
color: $d-ctd;
|
||||
}
|
||||
a.link:focus,
|
||||
a.link:hover {
|
||||
color: $info;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $white;
|
||||
|
||||
&:hover {
|
||||
color: $d-ctl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Generating border classess
|
||||
@each $value in $borders {
|
||||
@if $value == "" {
|
||||
.border {
|
||||
border: 1px solid $d-border !important;
|
||||
}
|
||||
} @else {
|
||||
.border-#{$value} {
|
||||
border-#{$value}: 1px solid $d-border !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
[data-theme-version="dark"] {
|
||||
.sidebar-right {
|
||||
background-color: lighten($d-bg, 3.2%);
|
||||
|
||||
.nav-tabs {
|
||||
background-color: lighten($d-bg, 3.2%);
|
||||
border-bottom: 1px solid $d-bg;
|
||||
|
||||
.nav-link {
|
||||
&.active {
|
||||
background-color: $d-bg;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
@import "./dark-reset";
|
||||
@import "./dark-global";
|
||||
@import "./dark-header";
|
||||
@import "./dark-nav-header";
|
||||
@import "./dark-nav-header";
|
||||
@import "./dark-left-sidebar";
|
||||
@import "./dark-right-sidebar";
|
||||
@import "./dark-footer";
|
||||
@ -0,0 +1,8 @@
|
||||
@import "./_transparent-reset";
|
||||
@import "./_transparent-global";
|
||||
@import "./_transparent-header";
|
||||
@import "./_transparent-nav-header";
|
||||
@import "./_transparent-nav-header";
|
||||
@import "./_transparent-left-sidebar";
|
||||
@import "./_transparent-right-sidebar";
|
||||
@import "./_transparent-footer";
|
||||
@ -0,0 +1,13 @@
|
||||
// [data-theme-version="dark"] {
|
||||
// .footer {
|
||||
// background-color: lighten($d-bg, 3.2%);
|
||||
|
||||
// .copyright {
|
||||
// background-color: lighten($d-bg, 3.2%);
|
||||
|
||||
// p {
|
||||
// color: $white;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
@ -0,0 +1,24 @@
|
||||
|
||||
[data-theme-version="transparent"] {
|
||||
.dropdown-menu {
|
||||
background-color: $dark-card;
|
||||
}
|
||||
|
||||
.dropdown-item {
|
||||
&:hover, &:focus {
|
||||
background-color: $d-bg;
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
||||
.form-control {
|
||||
background-color: $d-bg;
|
||||
border-color: $d-border;
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.card {
|
||||
background-color: rgba(0,0,0,0.15);
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
[data-theme-version="transparent"] {
|
||||
|
||||
.header {
|
||||
background-color: rgba(0,0,0,0.15);
|
||||
}
|
||||
|
||||
|
||||
.header-left {
|
||||
input {
|
||||
border-color: $d-border;
|
||||
color: $white;
|
||||
|
||||
&:focus {
|
||||
box-shadow: none;
|
||||
border-color: $primary;
|
||||
}
|
||||
|
||||
&::placeholder {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.header-right {
|
||||
.dropdown {
|
||||
.nav-link {
|
||||
&:hover {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.notification_dropdown {
|
||||
.dropdown-item {
|
||||
a {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,70 @@
|
||||
[data-theme-version="transparent"] {
|
||||
|
||||
.quixnav {
|
||||
background-color: rgba(0,0,0,0.15)!important;
|
||||
|
||||
.metismenu {
|
||||
|
||||
|
||||
&>li {
|
||||
|
||||
&>a {
|
||||
color: rgba(0,0,0,0.15);
|
||||
}
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
|
||||
&>a {
|
||||
background-color: rgba(0,0,0,0.15)!important;
|
||||
color: $white;
|
||||
|
||||
&::after {
|
||||
border-color: transparent transparent $white transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.mm-active {
|
||||
ul {
|
||||
|
||||
ul {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//one step dropdown
|
||||
ul {
|
||||
background-color: rgba(0,0,0,0.15);
|
||||
|
||||
a {
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&.mm-active {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
color: rgba(0,0,0,0.15);
|
||||
}
|
||||
ul {
|
||||
background-color: rgba(0,0,0,0.15)!important;
|
||||
}
|
||||
|
||||
.has-arrow {
|
||||
&:after {
|
||||
border-color: transparent transparent rgba(0,0,0,0.15) transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
[data-theme-version="transparent"] {
|
||||
.nav-header,
|
||||
.nav-control {
|
||||
background-color: rgba(0,0,0,0.15)!important;
|
||||
}
|
||||
|
||||
.nav-control {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
color: $white;
|
||||
|
||||
&:hover {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
// [data-theme-version="dark"] {
|
||||
|
||||
// #preloader {
|
||||
// background: $d-bg;
|
||||
// }
|
||||
|
||||
// .loader {
|
||||
// &__bar {
|
||||
// background: $primary;
|
||||
// box-shadow: 1px 1px 0 $d-border;
|
||||
// }
|
||||
// &__ball {
|
||||
// background: $primary;
|
||||
// }
|
||||
// }
|
||||
|
||||
// }
|
||||
@ -0,0 +1,56 @@
|
||||
@import "./../../abstracts/variable";
|
||||
|
||||
|
||||
|
||||
[data-theme-version="transparent"] {
|
||||
|
||||
|
||||
background: url('../images/body/12.jpg');
|
||||
background-repeat: no-repeat;
|
||||
background-attachment: fixed;
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
position: relative;
|
||||
// background: $d-bg;s
|
||||
color: $white;
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
color: $white !important;
|
||||
}
|
||||
a.link {
|
||||
color: $d-ctd;
|
||||
}
|
||||
a.link:focus,
|
||||
a.link:hover {
|
||||
color: $info;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $white;
|
||||
|
||||
&:hover {
|
||||
color: $d-ctl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//Generating border classess
|
||||
@each $value in $borders {
|
||||
@if $value == "" {
|
||||
.border {
|
||||
border: 1px solid $d-border !important;
|
||||
}
|
||||
} @else {
|
||||
.border-#{$value} {
|
||||
border-#{$value}: 1px solid $d-border !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
// [data-theme-version="dark"] {
|
||||
// .sidebar-right {
|
||||
// background-color: lighten($d-bg, 3.2%);
|
||||
|
||||
// .nav-tabs {
|
||||
// background-color: lighten($d-bg, 3.2%);
|
||||
// border-bottom: 1px solid $d-bg;
|
||||
|
||||
// .nav-link {
|
||||
// &.active {
|
||||
// background-color: $d-bg;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user