Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
move buttons up
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Dec 9, 2015
1 parent a85cb1d commit b16d5a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/ui/public/vislib/styles/_legend.less
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ visualize-legend {
&-full {
white-space: normal;
word-break: break-all;
background-color: @sidebar-bg;
background-color: @sidebar-hover-bg;
}

&-details {
Expand Down
10 changes: 5 additions & 5 deletions src/ui/public/visualize/visualize_legend.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@
<i class="fa fa-circle" ng-style="{color: getColor(legendData.label)}"></i> {{legendData.label}}
</div>


<div ng-if="showDetails" class="legend-value-details">
<div ng-show="canFilter(legendData)">
<button class="btn btn-xs filter-button" ng-click="filter(legendData, false)"><i class="fa fa-search-plus"></i></button>
<button class="btn btn-xs filter-button" ng-click="filter(legendData, true)"><i class="fa fa-search-minus"></i></button>
</div>

<div class="legend-value-color-picker">
<i ng-repeat="choice in colors"
ng-click="setColor(legendData.label, choice)"
Expand All @@ -29,10 +33,6 @@
</i>
</div>

<div ng-show="canFilter(legendData)">
<button class="btn btn-xs filter-button" ng-click="filter(legendData, false)"><i class="fa fa-search-plus"></i></button>
<button class="btn btn-xs filter-button" ng-click="filter(legendData, true)"><i class="fa fa-search-minus"></i></button>
</div>
</div>
</div>

Expand Down

0 comments on commit b16d5a3

Please sign in to comment.