Cleanup css

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2018-07-25 20:56:13 +02:00
parent 725ba6ff72
commit c33783ac81
2 changed files with 17 additions and 20 deletions

View File

@@ -4,6 +4,10 @@
#app-content { #app-content {
flex-grow: 1; flex-grow: 1;
height: 100%; height: 100%;
&.details-visible {
margin-right: 500px;
}
} }
#app-sidebar { #app-sidebar {
@@ -18,21 +22,14 @@
} }
} }
#app-content {
&.details-visible {
margin-right: 500px;
}
}
#content[class*='app-'] * { #content[class*='app-'] * {
box-sizing: border-box; box-sizing: border-box;
} }
body:not(.snapjs-left) { body:not(.snapjs-left) {
.app-navigation-hide { .app-navigation-hide {
#app-content { #app-content {
margin-left: 0 !important; /* overwrite margin since we want the translateX to handle it*/ margin-left: 0 !important;
} }
#app-navigation { #app-navigation {
display: none; display: none;

View File

@@ -73,27 +73,27 @@ input.input-inline {
/** /**
* Generic app layout * Generic app layout
*/ */
.app.app-deck {
width: 100%;
height: 100%;
display: flex;
}
#app-content {
display: flex;
flex-direction: column;
}
#content-wrapper { #content-wrapper {
overflow: hidden; overflow: hidden;
position: fixed; position: fixed;
width: 100%; width: 100%;
height: 100%; height: 100%;
#content { #content {
height: calc(100% - 50px); height: calc(100% - 50px);
min-height: initial; min-height: initial;
} }
.app.app-deck {
width: 100%;
height: 100%;
display: flex;
}
#app-content {
display: flex;
flex-direction: column;
}
} }
/** /**