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:
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';
|
||||
Reference in New Issue
Block a user