Skip to content

Commit

Permalink
Make discover sidebar UI more consistent (#7958)
Browse files Browse the repository at this point in the history
* Make discover sidebar UI more consistent

* Remove unused code
  • Loading branch information
jimmyjones2 authored and cjcenizal committed Dec 27, 2016
1 parent 886204b commit 6014a07
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
<ul class="list-unstyled sidebar-item index-pattern-selection">
<li css-truncate class="sidebar-item-title" title="{{id}}" ng-repeat="id in indexPatternList | orderBy" ng-show="indexPattern.id != id" ng-click="setIndexPattern(id)">{{id}}</li>
</ul>
<div ng-click="showIndexPatternSelection = !showIndexPatternSelection" class="discover-field-details-close">
<i class="fa fa-chevron-up"></i>
</div>
</div>
</div>
<div ng-hide="indexPatternList.length > 1">
Expand Down Expand Up @@ -49,9 +46,6 @@ <h5>Available Fields
</div>

<div class="sidebar-item" ng-show="showFilter">
<div ng-click="showFilter = !showFilter" class="discover-field-details-close">
<i aria-hidden="true" class="fa fa-chevron-up"></i>
</div>
<form role="form" class="discover-field-details">
<div class="form-group">
<label>
Expand Down
12 changes: 0 additions & 12 deletions src/core_plugins/kibana/public/discover/styles/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,6 @@
color: @discover-field-details-color;
}

.discover-field-details-close {
text-align: center;
border-top: 1px solid;
border-color: @discover-field-details-close-border;
background-color: @discover-field-details-close-bg;

&:hover {
background-color: @discover-field-details-close-hover-bg;
color: @discover-field-details-close-hover-color;
}
}

.discover-field-details-count {
white-space: nowrap;
}
Expand Down
4 changes: 0 additions & 4 deletions src/ui/public/styles/variables/for-theme.less
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@
@discover-field-details-border: @kibanaGray4;
@discover-field-details-color: @kibanaGray2;
@discover-field-details-bg: @kibanaGray5;
@discover-field-details-close-border: @well-border;
@discover-field-details-close-bg: @well-bg;
@discover-field-details-close-hover-bg: @sidebar-hover-bg;
@discover-field-details-close-hover-color: @sidebar-hover-color;
@discover-field-details-progress-bar-bg: @gray;


Expand Down

0 comments on commit 6014a07

Please sign in to comment.