Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make discover sidebar UI more consistent #7958

Merged
merged 2 commits into from
Dec 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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