mirror of
https://github.com/nasa/openmct.git
synced 2024-12-29 09:28:52 +00:00
[Inspector] Left pane close works again
Moved ng-class up to a parent so that the left position would be correct relative to the left split overall. #73.
This commit is contained in:
parent
d9a65a1844
commit
71207d643a
@ -51,12 +51,12 @@
|
|||||||
ng-class="{inactive: !paneModel.leftPane}">
|
ng-class="{inactive: !paneModel.leftPane}">
|
||||||
</mct-splitter>
|
</mct-splitter>
|
||||||
|
|
||||||
<div class='split-pane-component secondary-split pane right'>
|
<div class='split-pane-component secondary-split pane right'
|
||||||
|
ng-class='{leftInactive: !paneModel.leftPane}'>
|
||||||
<mct-split-pane class='contents abs'
|
<mct-split-pane class='contents abs'
|
||||||
anchor='right'>
|
anchor='right'>
|
||||||
|
|
||||||
<div class='split-pane-component items pane'
|
<div class='split-pane-component items pane'>
|
||||||
ng-class='{leftInactive: !paneModel.leftPane}'>
|
|
||||||
<div class='holder abs'
|
<div class='holder abs'
|
||||||
id='content-area'>
|
id='content-area'>
|
||||||
<mct-representation key="'browse-object'"
|
<mct-representation key="'browse-object'"
|
||||||
|
@ -5170,17 +5170,18 @@ input[type="text"] {
|
|||||||
border-width: 0; }
|
border-width: 0; }
|
||||||
|
|
||||||
/* line 94, ../sass/tree/_pane.scss */
|
/* line 94, ../sass/tree/_pane.scss */
|
||||||
.items.pane {
|
.split-pane-component.secondary-split.pane.right {
|
||||||
transition: left 0.35s;
|
transition: left 0.35s;
|
||||||
transition-timing-function: ease-out; }
|
transition-timing-function: ease-out; }
|
||||||
/* line 98, ../sass/tree/_pane.scss */
|
/* line 98, ../sass/tree/_pane.scss */
|
||||||
.items.pane.leftInactive {
|
.split-pane-component.secondary-split.pane.right.leftInactive {
|
||||||
left: 0 !important; }
|
left: 0 !important; }
|
||||||
/* line 103, ../sass/tree/_pane.scss */
|
|
||||||
.items.pane .object-browse-bar {
|
/* line 104, ../sass/tree/_pane.scss */
|
||||||
|
.object-browse-bar {
|
||||||
position: relative; }
|
position: relative; }
|
||||||
/* line 106, ../sass/tree/_pane.scss */
|
/* line 107, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .left-pane-tabs {
|
.object-browse-bar .left-pane-tabs {
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
@ -5192,17 +5193,17 @@ input[type="text"] {
|
|||||||
border-top-right-radius: 2px;
|
border-top-right-radius: 2px;
|
||||||
border-bottom-right-radius: 2px;
|
border-bottom-right-radius: 2px;
|
||||||
background-color: #595959; }
|
background-color: #595959; }
|
||||||
/* line 123, ../sass/tree/_pane.scss */
|
/* line 124, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .left-pane-tabs.inactivePane {
|
.object-browse-bar .left-pane-tabs.inactivePane {
|
||||||
left: -15px; }
|
left: -15px; }
|
||||||
/* line 126, ../sass/tree/_pane.scss */
|
/* line 127, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .left-pane-tabs.inactivePane:after {
|
.object-browse-bar .left-pane-tabs.inactivePane:after {
|
||||||
content: '>'; }
|
content: '>'; }
|
||||||
/* line 130, ../sass/tree/_pane.scss */
|
/* line 131, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .left-pane-tabs.activePane:after {
|
.object-browse-bar .left-pane-tabs.activePane:after {
|
||||||
content: '<'; }
|
content: '<'; }
|
||||||
/* line 135, ../sass/tree/_pane.scss */
|
/* line 136, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .items-select {
|
.object-browse-bar .items-select {
|
||||||
margin-left: 10px; }
|
margin-left: 10px; }
|
||||||
|
|
||||||
/* line 141, ../sass/tree/_pane.scss */
|
/* line 141, ../sass/tree/_pane.scss */
|
||||||
|
@ -90,16 +90,17 @@ $transitionTime: 0.35s;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// The main view needs to align left when the panes are moving around
|
// The main view needs to align left when the left pane is moving around
|
||||||
.items.pane {
|
.split-pane-component.secondary-split.pane.right {
|
||||||
transition: left $transitionTime;
|
transition: left $transitionTime;
|
||||||
transition-timing-function: ease-out;
|
transition-timing-function: ease-out;
|
||||||
|
|
||||||
&.leftInactive {
|
&.leftInactive {
|
||||||
left: 0 !important;
|
left: 0 !important;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Move buttons close to the splitter bar
|
// Move left tab buttons close to the left splitter bar
|
||||||
.object-browse-bar {
|
.object-browse-bar {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
@ -136,7 +137,6 @@ $transitionTime: 0.35s;
|
|||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
.splitter-bar.right {
|
.splitter-bar.right {
|
||||||
// Make the splitter bar vertically span to the top
|
// Make the splitter bar vertically span to the top
|
||||||
|
Loading…
Reference in New Issue
Block a user