[Treeview] Cleanup order

Rearrange the sass so that classes appear in the
order that they appear in browse.html, with
correct nesting as well.
No changes to the actual UI from this.
This commit is contained in:
slhale
2015-08-20 14:51:32 -07:00
parent dcfcfa74bb
commit 32c7cc2424
2 changed files with 176 additions and 178 deletions

View File

@ -5133,28 +5133,13 @@ input[type="text"] {
/* line 35, ../sass/tree/_pane.scss */
.pane.left.inactive .tree-holder {
padding-right: 0; }
/* line 44, ../sass/tree/_pane.scss */
.splitter-bar.left {
opacity: 1;
transition: opacity 0.35s, visibility 0.35s;
top: 0; }
/* line 51, ../sass/tree/_pane.scss */
.splitter-bar.left.inactive {
visibility: hidden;
opacity: 0;
transition: opacity 0s, visibility 0s; }
/* line 57, ../sass/tree/_pane.scss */
.splitter-bar.left.inactive:before {
border-width: 0; }
/* line 64, ../sass/tree/_pane.scss */
.create-btn.major {
/* line 41, ../sass/tree/_pane.scss */
.pane.left .create-btn.major {
top: 0;
left: 0;
transition: all 0.35s; }
/* line 69, ../sass/tree/_pane.scss */
.create-btn.major.inactivePane {
/* line 46, ../sass/tree/_pane.scss */
.pane.left .create-btn.major.inactivePane {
top: 0;
left: 0;
position: relative;
@ -5166,10 +5151,24 @@ input[type="text"] {
line-height: 14px;
left: -11px;
top: 20px; }
/* line 87, ../sass/tree/_pane.scss */
.create-btn.major.inactivePane span {
/* line 64, ../sass/tree/_pane.scss */
.pane.left .create-btn.major.inactivePane span {
display: none; }
/* line 74, ../sass/tree/_pane.scss */
.splitter-bar.left {
opacity: 1;
transition: opacity 0.35s, visibility 0.35s;
top: 0; }
/* line 81, ../sass/tree/_pane.scss */
.splitter-bar.left.inactive {
visibility: hidden;
opacity: 0;
transition: opacity 0s, visibility 0s; }
/* line 87, ../sass/tree/_pane.scss */
.splitter-bar.left.inactive:before {
border-width: 0; }
/* line 94, ../sass/tree/_pane.scss */
.items.pane {
transition: left 0.35s;
@ -5177,12 +5176,11 @@ input[type="text"] {
/* line 98, ../sass/tree/_pane.scss */
.items.pane.leftInactive {
left: 0 !important; }
/* line 104, ../sass/tree/_pane.scss */
.object-browse-bar {
/* line 103, ../sass/tree/_pane.scss */
.items.pane .object-browse-bar {
position: relative; }
/* line 107, ../sass/tree/_pane.scss */
.object-browse-bar .left-pane-tabs {
/* line 106, ../sass/tree/_pane.scss */
.items.pane .object-browse-bar .left-pane-tabs {
position: relative;
cursor: pointer;
left: -10px;
@ -5194,15 +5192,15 @@ input[type="text"] {
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
background-color: #595959; }
/* line 124, ../sass/tree/_pane.scss */
.object-browse-bar .left-pane-tabs.inactivePane {
/* line 123, ../sass/tree/_pane.scss */
.items.pane .object-browse-bar .left-pane-tabs.inactivePane {
left: -15px; }
/* line 127, ../sass/tree/_pane.scss */
.object-browse-bar .left-pane-tabs.inactivePane:after {
/* line 126, ../sass/tree/_pane.scss */
.items.pane .object-browse-bar .left-pane-tabs.inactivePane:after {
content: '>'; }
/* line 131, ../sass/tree/_pane.scss */
.object-browse-bar .left-pane-tabs.activePane:after {
/* line 130, ../sass/tree/_pane.scss */
.items.pane .object-browse-bar .left-pane-tabs.activePane:after {
content: '<'; }
/* line 136, ../sass/tree/_pane.scss */
.object-browse-bar .items-select {
/* line 135, ../sass/tree/_pane.scss */
.items.pane .object-browse-bar .items-select {
margin-left: 10px; }

View File

@ -36,32 +36,9 @@ $transitionTime: 0.35s;
padding-right: 0;
}
}
}
// Hide the splitter bar when the left pane is closed
// Fade the splitter bar in when opening menu, but immediately fade
// out when closing menu
.splitter-bar.left {
opacity: 1;
transition: opacity $transitionTime, visibility $transitionTime;
// Make the splitter bar vertically span to the top
top: 0;
&.inactive {
visibility: hidden;
opacity: 0;
transition: opacity 0s, visibility 0s;
&:before {
border-width: 0;
}
}
}
// When the pane is closed, move and resize the create button
.create-btn.major {
// When the pane is closed, move and resize the create button
.create-btn.major {
top: 0;
left: 0;
transition: all $transitionTime;
@ -88,6 +65,29 @@ $transitionTime: 0.35s;
display: none;
}
}
}
}
// Hide the splitter bar when the left pane is closed
// Fade the splitter bar in when opening menu, but immediately fade
// out when closing menu
.splitter-bar.left {
opacity: 1;
transition: opacity $transitionTime, visibility $transitionTime;
// Make the splitter bar vertically span to the top
top: 0;
&.inactive {
visibility: hidden;
opacity: 0;
transition: opacity 0s, visibility 0s;
&:before {
border-width: 0;
}
}
}
// The main view needs to align left when the panes are moving around
@ -98,10 +98,9 @@ $transitionTime: 0.35s;
&.leftInactive {
left: 0 !important;
}
}
// Move buttons close to the splitter bar
.object-browse-bar {
// Move buttons close to the splitter bar
.object-browse-bar {
position: relative;
.left-pane-tabs {
@ -136,4 +135,5 @@ $transitionTime: 0.35s;
.items-select {
margin-left: 10px;
}
}
}