Fix doc table fade out gradient in dark theme (#10167)

* Fix doc table fade out gradient in dark theme

* Update dark theme source row labels
This commit is contained in:
Lukas Olson 2017-02-03 15:52:12 -07:00
parent 18451e5ed8
commit 932b787912
2 changed files with 13 additions and 19 deletions

View file

@ -272,7 +272,7 @@
.agg-table-paginated {
tr:hover td {
background-color: @table-row-hover-bg;
.table-cell-filter {
background-color: @table-row-hover-bg;
}
@ -583,6 +583,18 @@
color: @dark-button-font;
}
.truncate-by-height:before {
background: linear-gradient(to bottom, transparent 0%, @dashboard-bg 100%) !important;
}
kbn-table, .kbn-table, tbody[kbn-rows] {
dl.source {
dt {
background: #5f5f5f;
color: #ffffff;
}
}
}
// /src/ui/public/doc_table/doc_table.less
.discover-table-row {
@ -593,4 +605,3 @@
}
}
}

View file

@ -15,23 +15,6 @@
height: 15px; // copied into index.html!
position: absolute;
left: 0;
// FF3.6+
background: -moz-linear-gradient(top, @truncate1 0%, @truncate2 1%, @truncate3 99%, @truncate4 100%);
// Chrome,Safari4+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, @truncate1), color-stop(1%, @truncate2), color-stop(99%, @truncate3), color-stop(100%, @truncate4));
// Chrome10+,Safari5.1+
background: -webkit-linear-gradient(top, @truncate1 0%, @truncate2 1%, @truncate3 99%, @truncate4 100%);
// Opera 11.10+
background: -o-linear-gradient(top, @truncate1 0%, @truncate2 1%, @truncate3 99%, @truncate4 100%);
// IE10+
background: -ms-linear-gradient(top, @truncate1 0%, @truncate2 1%, @truncate3 99%, @truncate4 100%);
// W3C
background: linear-gradient(to bottom, @truncate1 0%, @truncate2 1%, @truncate3 99%, @truncate4 100%);
}
}