Commit realizando cambios en los roles de los usuarios

This commit is contained in:
Jaime Jimenez
2023-04-24 13:00:46 +02:00
parent 2d67588770
commit 8c4d77a598
6587 changed files with 365497 additions and 0 deletions

View 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;
}
}
}
}

View 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;
}
}
}
// }

View 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;
}
}
}

View 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);
}
}
}
}
}
}

View 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;
}
}

View File

@ -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;
}
}
}

View 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;
}
}
}
}
}
}
}
}
}

View 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';