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