replaced fake spaces with real spaces

pull/2630/head
REJack 2020-04-01 13:49:55 +02:00
parent 0643791d8d
commit ed6ae4dbb2
7 changed files with 36 additions and 36 deletions

View File

@ -107,7 +107,7 @@ const CardRefresh = (($) => {
this.load() this.load()
}) })
if (this._settings.loadOnInit) { if (this._settings.loadOnInit) {
this.load() this.load()
} }
} }

View File

@ -77,7 +77,7 @@ const Layout = (($) => {
fixLayoutHeight(extra = null) { fixLayoutHeight(extra = null) {
let control_sidebar = 0 let control_sidebar = 0
if ($('body').hasClass(ClassName.CONTROL_SIDEBAR_SLIDE_OPEN) || $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || extra == 'control_sidebar') { if ($('body').hasClass(ClassName.CONTROL_SIDEBAR_SLIDE_OPEN) || $('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) || extra == 'control_sidebar') {
control_sidebar = $(Selector.CONTROL_SIDEBAR_CONTENT).height() control_sidebar = $(Selector.CONTROL_SIDEBAR_CONTENT).height()
} }
@ -92,7 +92,7 @@ const Layout = (($) => {
const max = this._max(heights) const max = this._max(heights)
let offset = this._config.panelAutoHeight let offset = this._config.panelAutoHeight
if (offset === true) { if (offset === true) {
offset = 0; offset = 0;
} }
@ -198,7 +198,7 @@ const Layout = (($) => {
$(this).data(DATA_KEY, data) $(this).data(DATA_KEY, data)
} }
if (config === 'init' || config === '') { if (config === 'init' || config === '') {
data['_init']() data['_init']()
} else if (config === 'fixLayoutHeight' || config === 'fixLoginRegisterHeight') { } else if (config === 'fixLayoutHeight' || config === 'fixLoginRegisterHeight') {
data[config]() data[config]()

View File

@ -127,7 +127,7 @@
} }
} }
&.expanding-card { &.expanding-card {
.card-header { .card-header {
.nav-tabs { .nav-tabs {
.nav-item { .nav-item {
@ -180,7 +180,7 @@
} }
} }
&.expanding-card { &.expanding-card {
.card-header { .card-header {
.nav-tabs { .nav-tabs {
.nav-item { .nav-item {

View File

@ -33,10 +33,10 @@ body,
} }
} }
.layout-fixed & .sidebar { .layout-fixed & .sidebar {
height: calc(100vh - (#{$main-header-height-inner} + #{$main-header-bottom-border-width})); height: calc(100vh - (#{$main-header-height-inner} + #{$main-header-bottom-border-width}));
} }
.layout-fixed.text-sm & .sidebar { .layout-fixed.text-sm & .sidebar {
height: calc(100vh - (#{$main-header-height-sm-inner} + #{$main-header-bottom-border-width})); height: calc(100vh - (#{$main-header-height-sm-inner} + #{$main-header-bottom-border-width}));
} }
@ -91,7 +91,7 @@ body,
.main-sidebar { .main-sidebar {
margin-top: calc(#{$main-header-height} / -1); margin-top: calc(#{$main-header-height} / -1);
.sidebar { .sidebar {
margin-top: $main-header-height; margin-top: $main-header-height;
} }
} }
@ -101,7 +101,7 @@ body,
.main-sidebar { .main-sidebar {
margin-top: calc(#{$main-header-height-sm} / -1); margin-top: calc(#{$main-header-height-sm} / -1);
.sidebar { .sidebar {
margin-top: $main-header-height-sm; margin-top: $main-header-height-sm;
} }
} }
@ -302,7 +302,7 @@ body,
.main-sidebar { .main-sidebar {
margin-top: calc(#{$main-header-height} / -1); margin-top: calc(#{$main-header-height} / -1);
.sidebar { .sidebar {
margin-top: $main-header-height; margin-top: $main-header-height;
} }
} }
@ -312,7 +312,7 @@ body,
.main-sidebar { .main-sidebar {
margin-top: calc(#{$main-header-height-sm} / -1); margin-top: calc(#{$main-header-height-sm} / -1);
.sidebar { .sidebar {
margin-top: $main-header-height-sm; margin-top: $main-header-height-sm;
} }
} }

View File

@ -310,7 +310,7 @@
.nav-flat { .nav-flat {
.nav-item { .nav-item {
.nav-treeview { .nav-treeview {
.nav-treeview { .nav-treeview {
border-color: $sidebar-light-submenu-active-bg; border-color: $sidebar-light-submenu-active-bg;
} }
@ -437,7 +437,7 @@
.nav-flat { .nav-flat {
.nav-item { .nav-item {
.nav-treeview { .nav-treeview {
.nav-treeview { .nav-treeview {
border-color: $sidebar-dark-submenu-active-bg; border-color: $sidebar-dark-submenu-active-bg;
} }
@ -490,17 +490,17 @@
border-radius: 0; border-radius: 0;
margin-bottom: 0; margin-bottom: 0;
> .nav-icon { > .nav-icon {
margin-left: .55rem; margin-left: .55rem;
} }
} }
} }
&:not(.nav-child-indent) { &:not(.nav-child-indent) {
.nav-treeview { .nav-treeview {
.nav-item { .nav-item {
> .nav-link { > .nav-link {
> .nav-icon { > .nav-icon {
margin-left: .4rem; margin-left: .4rem;
} }
} }
@ -512,29 +512,29 @@
.nav-treeview { .nav-treeview {
padding-left: 0; padding-left: 0;
.nav-icon { .nav-icon {
margin-left: .85rem; margin-left: .85rem;
} }
.nav-treeview { .nav-treeview {
border-left: .2rem solid; border-left: .2rem solid;
.nav-icon { .nav-icon {
margin-left: 1.15rem; margin-left: 1.15rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: 1.45rem; margin-left: 1.45rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: 1.75rem; margin-left: 1.75rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: 2.05rem; margin-left: 2.05rem;
} }
} }
@ -544,9 +544,9 @@
} }
} }
.sidebar-collapse &.nav-child-indent { .sidebar-collapse &.nav-child-indent {
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: .55rem; margin-left: .55rem;
} }
@ -555,22 +555,22 @@
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: .35rem; margin-left: .35rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: .15rem; margin-left: .15rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: -.15rem; margin-left: -.15rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: -.35rem; margin-left: -.35rem;
} }
} }
@ -585,33 +585,33 @@
.sidebar-mini .main-sidebar.sidebar-focused &, .sidebar-mini .main-sidebar.sidebar-focused &,
.sidebar-mini-md .main-sidebar.sidebar-focused & { .sidebar-mini-md .main-sidebar.sidebar-focused & {
&.nav-compact.nav-sidebar .nav-treeview { &.nav-compact.nav-sidebar .nav-treeview {
.nav-icon { .nav-icon {
margin-left: .4rem; margin-left: .4rem;
} }
} }
&.nav-sidebar.nav-child-indent .nav-treeview { &.nav-sidebar.nav-child-indent .nav-treeview {
.nav-icon { .nav-icon {
margin-left: .85rem; margin-left: .85rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: 1.15rem; margin-left: 1.15rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: 1.45rem; margin-left: 1.45rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: 1.75rem; margin-left: 1.75rem;
} }
.nav-treeview { .nav-treeview {
.nav-icon { .nav-icon {
margin-left: 2.05rem; margin-left: 2.05rem;
} }
} }

View File

@ -447,7 +447,7 @@ blockquote {
// Badge BTN Style // Badge BTN Style
.badge-btn { .badge-btn {
border-radius: $button-border-radius-xs; border-radius: $button-border-radius-xs;
font-size: $button-font-size-xs; font-size: $button-font-size-xs;
font-weight: 400; font-weight: 400;

View File

@ -123,7 +123,7 @@
} }
.pace-activity::after, .pace-activity::after,
.pace-activity::before { .pace-activity::before {
border: 5px solid color-yiq($color); border: 5px solid color-yiq($color);
} }