Moved search results from fixed dropdown to edit pane

This commit is contained in:
Torkel Ödegaard
2014-08-26 16:42:15 +02:00
parent fdffb03eba
commit 6502cff8fe
12 changed files with 91 additions and 73 deletions
-1
View File
@@ -214,7 +214,6 @@ div.subnav {
border-bottom: 1px solid @fullEditBorder;
& > li > a {
.border-radius(0);
}
+10 -6
View File
@@ -32,8 +32,11 @@
}
}
// Search
body {
overflow-y: hidden;
}
// Search
.grafana-search-panel {
.search-field-wrapper {
padding: 6px 10px;
@@ -52,7 +55,7 @@
}
.search-results-container {
max-height: 600px;
height: 500px;
overflow: auto;
display: block;
line-height: 28px;
@@ -76,14 +79,15 @@
}
.search-result-item:nth-child(odd) {
background-color: @grafanaListAccent;
background-color: lighten(@grayDarker, 2%);
}
.search-result-item {
padding: 0px 10px;
white-space: nowrap;
border-top: 1px solid @grafanaListBorderTop;
border-bottom: 1px solid @grafanaListBorderBottom;
border-top: 1px solid @grafanaListBorderTop;
border-left: 1px solid @grafanaListBorderBottom;
}
.search-result-tags {
@@ -103,8 +107,8 @@
.search-tagview-switch {
position: absolute;
top: 15px;
right: 272px;
top: 6px;
right: 24px;
color: darken(@linkColor, 30%);
&.active {
color: @linkColor;
+3 -3
View File
@@ -92,9 +92,9 @@
// Lists
@grafanaListBackground: transparent;
@grafanaListAccent: #232323;
@grafanaListBorderTop: #3E3E3E;
@grafanaListBorderBottom: #1c1919;
@grafanaListAccent: @grayDark;
@grafanaListBorderTop: @grayDark;
@grafanaListBorderBottom: @black;
@grafanaListHighlight: @blue;
@grafanaListHighlightContrast: #4F4F4F;
@grafanaListMainLinkColor: @linkColor;