[Mobile] CleanUp/Tests

Added tests inside spec files
for the QueryService, TreeNodeController,
and InfoGesture. Also cleaned up the
tree so that padding is used between
buttons instead of margins.
This commit is contained in:
Shivam Dave
2015-07-23 13:19:58 -07:00
parent b3bc8b6876
commit 143e3eeb6c
8 changed files with 31 additions and 18 deletions

View File

@@ -321,19 +321,22 @@ ul.tree {
ul.tree li span.tree-item {
height: 38px;
line-height: 38px;
margin-top: 3px; }
/* line 34, ../sass/mobile/_tree.scss */
padding-top: 3px;
padding-bottom: 3px;
margin-bottom: 0px; }
/* line 36, ../sass/mobile/_tree.scss */
ul.tree li span.tree-item .view-control {
position: absolute;
right: 13px;
font-size: 1.8em; }
/* line 40, ../sass/mobile/_tree.scss */
/* line 42, ../sass/mobile/_tree.scss */
ul.tree li span.tree-item .label {
left: 3px;
font-size: 1.2em; }
/* line 47, ../sass/mobile/_tree.scss */
/* line 49, ../sass/mobile/_tree.scss */
ul.tree li span.tree-item .label .title-label {
right: 16.9px; }
/* line 56, ../sass/mobile/_tree.scss */
/* line 58, ../sass/mobile/_tree.scss */
ul.tree ul.tree {
margin-left: 3px; } }
margin-left: 0px;
padding-left: 3px; } }

View File

@@ -21,7 +21,7 @@
*****************************************************************************/
// Wrapper of the entire 2 panes, only enacted on
// phone and tablet. Also for the panes
// phone and tablet.
.browse-wrapper,
.mobile-pane {
@include phoneandtablet {

View File

@@ -30,7 +30,9 @@ ul.tree {
// Adds some space to the top of each tree item
height: $mobile-treeHeight;
line-height: $mobile-treeHeight;
margin-top: $interiorMarginSm;
padding-top: $interiorMarginSm;
padding-bottom: $interiorMarginSm;
margin-bottom: 0px;
.view-control {
position: absolute;
right: $mobile-treeRight;
@@ -54,7 +56,8 @@ ul.tree {
// Sets the margin on the left, which causes the
// running indentation after each folder is made
ul.tree {
margin-left: $mobile-treeLeft;
margin-left: 0px;
padding-left: $mobile-treeLeft;
}
}
}