mirror of
https://github.com/nasa/openmct.git
synced 2025-02-01 00:45:41 +00:00
[Treeview] Compatability with search
Update to hide search bar when the pane is closed. #72.
This commit is contained in:
parent
4e9348cb28
commit
cd204af71c
@ -5168,12 +5168,15 @@ input[type="text"] {
|
|||||||
/* line 35, ../sass/tree/_pane.scss */
|
/* line 35, ../sass/tree/_pane.scss */
|
||||||
.pane.left.inactive .tree-holder {
|
.pane.left.inactive .tree-holder {
|
||||||
padding-right: 0; }
|
padding-right: 0; }
|
||||||
/* line 41, ../sass/tree/_pane.scss */
|
/* line 40, ../sass/tree/_pane.scss */
|
||||||
|
.pane.left.inactive .search-holder {
|
||||||
|
display: none; }
|
||||||
|
/* line 46, ../sass/tree/_pane.scss */
|
||||||
.pane.left .create-btn.major {
|
.pane.left .create-btn.major {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
transition: all 0.35s; }
|
transition: all 0.35s; }
|
||||||
/* line 46, ../sass/tree/_pane.scss */
|
/* line 51, ../sass/tree/_pane.scss */
|
||||||
.pane.left .create-btn.major.inactivePane {
|
.pane.left .create-btn.major.inactivePane {
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
@ -5186,35 +5189,35 @@ input[type="text"] {
|
|||||||
line-height: 14px;
|
line-height: 14px;
|
||||||
left: -11px;
|
left: -11px;
|
||||||
top: 20px; }
|
top: 20px; }
|
||||||
/* line 64, ../sass/tree/_pane.scss */
|
/* line 69, ../sass/tree/_pane.scss */
|
||||||
.pane.left .create-btn.major.inactivePane span {
|
.pane.left .create-btn.major.inactivePane span {
|
||||||
display: none; }
|
display: none; }
|
||||||
|
|
||||||
/* line 74, ../sass/tree/_pane.scss */
|
/* line 79, ../sass/tree/_pane.scss */
|
||||||
.splitter-bar.left {
|
.splitter-bar.left {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transition: opacity 0.35s, visibility 0.35s;
|
transition: opacity 0.35s, visibility 0.35s;
|
||||||
top: 0; }
|
top: 0; }
|
||||||
/* line 81, ../sass/tree/_pane.scss */
|
/* line 86, ../sass/tree/_pane.scss */
|
||||||
.splitter-bar.left.inactive {
|
.splitter-bar.left.inactive {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0s, visibility 0s; }
|
transition: opacity 0s, visibility 0s; }
|
||||||
/* line 87, ../sass/tree/_pane.scss */
|
/* line 92, ../sass/tree/_pane.scss */
|
||||||
.splitter-bar.left.inactive:before {
|
.splitter-bar.left.inactive:before {
|
||||||
border-width: 0; }
|
border-width: 0; }
|
||||||
|
|
||||||
/* line 94, ../sass/tree/_pane.scss */
|
/* line 99, ../sass/tree/_pane.scss */
|
||||||
.items.pane {
|
.items.pane {
|
||||||
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 103, ../sass/tree/_pane.scss */
|
||||||
.items.pane.leftInactive {
|
.items.pane.leftInactive {
|
||||||
left: 0 !important; }
|
left: 0 !important; }
|
||||||
/* line 103, ../sass/tree/_pane.scss */
|
/* line 108, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar {
|
.items.pane .object-browse-bar {
|
||||||
position: relative; }
|
position: relative; }
|
||||||
/* line 106, ../sass/tree/_pane.scss */
|
/* line 111, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .left-pane-tabs {
|
.items.pane .object-browse-bar .left-pane-tabs {
|
||||||
position: relative;
|
position: relative;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -5227,15 +5230,15 @@ 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 128, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .left-pane-tabs.inactivePane {
|
.items.pane .object-browse-bar .left-pane-tabs.inactivePane {
|
||||||
left: -15px; }
|
left: -15px; }
|
||||||
/* line 126, ../sass/tree/_pane.scss */
|
/* line 131, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .left-pane-tabs.inactivePane:after {
|
.items.pane .object-browse-bar .left-pane-tabs.inactivePane:after {
|
||||||
content: '>'; }
|
content: '>'; }
|
||||||
/* line 130, ../sass/tree/_pane.scss */
|
/* line 135, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .left-pane-tabs.activePane:after {
|
.items.pane .object-browse-bar .left-pane-tabs.activePane:after {
|
||||||
content: '<'; }
|
content: '<'; }
|
||||||
/* line 135, ../sass/tree/_pane.scss */
|
/* line 140, ../sass/tree/_pane.scss */
|
||||||
.items.pane .object-browse-bar .items-select {
|
.items.pane .object-browse-bar .items-select {
|
||||||
margin-left: 10px; }
|
margin-left: 10px; }
|
||||||
|
@ -35,6 +35,11 @@ $transitionTime: 0.35s;
|
|||||||
.tree-holder {
|
.tree-holder {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hide the search bar when the pane is closed
|
||||||
|
.search-holder {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// When the pane is closed, move and resize the create button
|
// When the pane is closed, move and resize the create button
|
||||||
|
Loading…
x
Reference in New Issue
Block a user