More work on dashboard tag colors

This commit is contained in:
Torkel Ödegaard
2014-08-22 09:04:28 +02:00
parent 3fec2cdfd6
commit 36882ea2a4
5 changed files with 52 additions and 43 deletions
+10 -9
View File
@@ -55,19 +55,18 @@
max-height: 600px;
overflow: auto;
display: block;
.search-result-item a {
}
line-height: 28px;
.search-result-item:hover, .search-result-item.selected {
.search-result-link, .icon {
.search-result-link, .search-result-link > .icon {
color: @grafanaListHighlight;
}
.search-result-link .label {
background-color: @blue;
.search-result-tag {
opacity: 0.70;
color: white;
}
}
.search-result-link {
color: @grafanaListMainLinkColor;
.icon {
@@ -81,7 +80,7 @@
}
.search-result-item {
padding: 6px 10px;
padding: 0px 10px;
white-space: nowrap;
border-top: 1px solid @grafanaListBorderTop;
border-bottom: 1px solid @grafanaListBorderBottom;
@@ -89,14 +88,16 @@
.search-result-tags {
float: right;
.label {
.label-tag {
margin-left: 6px;
font-size: 11px;
padding: 2px 6px;
}
}
.search-result-actions {
float: right;
padding-left: 10px;
padding-left: 20px;
}
}
+8 -2
View File
@@ -589,14 +589,20 @@ div.flot-text {
.label-tag {
background-color: @purple;
color: darken(@white, 5%);
border-radius: 2px;
text-shadow: none;
font-size: 13px;
padding: 3px 6px;
padding: 4px 6px;
.icon-tag {
position: relative;
top: 1px;
padding-right: 4px;
}
}
.label-tag:hover {
opacity: 0.85;
background-color: darken(@purple, 10%);
color: @white;
}
.annotation-editor-table {
+3 -3
View File
@@ -61,8 +61,8 @@
// Links
// -------------------------
@linkColor: @blue;
@linkColorHover: darken(@linkColor, 10%);
@linkColor: @textColor;
@linkColorHover: @blue;
// Typography
@@ -219,7 +219,7 @@
@navbarText: #666;
@navbarLinkColor: #666;
@navbarLinkColorHover: #333;
@navbarLinkColorHover: @blue;
@navbarLinkColorActive: #555;
@navbarLinkBackgroundHover: transparent;
@navbarLinkBackgroundActive: darken(@navbarBackground, 6.5%);