Skip to content

Commit

Permalink
[Frontend] Tree styles in left pane and selector-list
Browse files Browse the repository at this point in the history
Fixes #1047
  • Loading branch information
charlesh88 committed Jul 29, 2016
1 parent af36b99 commit b72d82b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
12 changes: 11 additions & 1 deletion platform/commonUI/general/res/sass/mobile/_tree.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ body.touch {
}
.tree-item,
.search-result-item {
@include containerSubtle($bg: pullForward($colorMobilePaneLeft, 2%), $gradRatio: 2%);
height: $mobileTreeItemH !important;
line-height: $mobileTreeItemH !important;
.view-control {
Expand All @@ -55,4 +54,15 @@ body.touch {
}
}
}

.pane.treeview {
.tree-item,
.search-result-item {
@include containerSubtle($bg: $colorMobilePaneLeftTreeItemBg, $gradRatio: 2%);
}
}

.selector-list .tree-item {
@include containerBase($bg: $colorMobileSelectListTreeItemBg);
}
}
2 changes: 2 additions & 0 deletions platform/commonUI/themes/espresso/res/sass/_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ $colorMiniTabFgHov: #fff;

// Mobile
$colorMobilePaneLeft: darken($colorBodyBg, 5%);
$colorMobilePaneLeftTreeItemBg: pullForward($colorMobilePaneLeft, 3%);
$colorMobileSelectListTreeItemBg: rgba(#fff, 0.05);

// Datetime Picker
$colorCalCellHovBg: $colorKey;
Expand Down
2 changes: 2 additions & 0 deletions platform/commonUI/themes/snow/res/sass/_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,8 @@ $colorMiniTabFgHov: #fff;

// Mobile
$colorMobilePaneLeft: darken($colorBodyBg, 2%);
$colorMobilePaneLeftTreeItemBg: pullForward($colorMobilePaneLeft, 3%);
$colorMobileSelectListTreeItemBg: rgba(#000, 0.05);

// Datetime Picker, Calendar
$colorCalCellHovBg: $colorKey;
Expand Down

0 comments on commit b72d82b

Please sign in to comment.