Skip to content

Commit

Permalink
[5.5] [Discover] Hide the whole filter div instead of just the icons
Browse files Browse the repository at this point in the history
Backports PR elastic#11819
  • Loading branch information
weltenwort committed Jun 9, 2017
1 parent 0c9aafb commit 800f068
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/core_plugins/kibana/public/discover/styles/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,6 @@
}
}

.discover-table-row--highlight td {
background-color: #E2F1F6;
}

.shard-failures {
color: @discover-shard-failures-color;
background-color: @discover-shard-failures-bg !important;
Expand Down
16 changes: 9 additions & 7 deletions src/ui/public/doc_table/doc_table.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ doc-table {

.table-cell-filter {
position: absolute;
background-color: @panel-bg;
white-space: nowrap;
right: 0;
}
Expand All @@ -53,6 +52,13 @@ doc-table {
}
}

.discover-table-row--highlight {
td,
.docTableRowFilterButton {
background-color: #E2F1F6;
}
}

.loading {
opacity: @loading-opacity;
}
Expand All @@ -74,18 +80,14 @@ doc-table {
*/
.docTableRowFilterButton {
appearance: none;
background-color: transparent;
background-color: @panel-bg;
border: none;
padding: 0;
padding: 0 3px;
font-size: 14px;
line-height: 1; /* 1 */
display: inline-block;
opacity: 0; /* 2 */

& + & {
margin-left: 5px;
}

&:focus {
opacity: 1; /* 3 */
}
Expand Down

0 comments on commit 800f068

Please sign in to comment.