[Frontend] Adjusted margin strategy in left pane elements

open #250
Changed flex-elem to use margin-bottom instead of top;
Added margin-top to .search-results element;
This commit is contained in:
Charles Hacskaylo
2015-11-09 16:21:50 -08:00
parent c0dc30edb7
commit cfc9b61e25
6 changed files with 108 additions and 100 deletions

View File

@@ -136,7 +136,7 @@
@include flex-direction(column);
.flex-elem {
min-height: 0;
&:not(:first-child) { margin-top: $interiorMarginLg; }
&.holder:not(:last-child) { margin-bottom: $interiorMarginLg; }
}
.flex-container { @include flex-direction(column); }
}

View File

@@ -148,6 +148,7 @@
.search-results {
@include trans-prop-nice((opacity, visibility), 250ms);
margin-top: $interiorMarginLg; // Always include margin here to fend off the search input
padding-right: $interiorMargin;
.hint {
margin-bottom: $interiorMarginLg;

View File

@@ -183,7 +183,6 @@
}
}
}
&.items {
.object-browse-bar {
.left.abs,
@@ -302,6 +301,7 @@
}
}
}
.pane-inspect-hidden {
.l-object-and-inspector {
.t-inspect {
@@ -318,7 +318,6 @@
.holder-all {
min-width: $ueDesktopMinW;
}
.split-layout {
.split-pane-component.pane {
//@include test(green);
@@ -335,8 +334,6 @@
}
}
}
.pane.treeview.left .tree-holder {
padding-right: $interiorMargin;
}