From 5daefc8b8eeb6d259249bcaf47b954b3b642e68a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 15 Dec 2014 10:53:37 +0100 Subject: [PATCH] White theme: css fix for links in annotations tooltips, Fixes #1216 --- src/css/less/grafana.less | 5 +++-- src/css/less/variables.dark.less | 1 + src/css/less/variables.light.less | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/css/less/grafana.less b/src/css/less/grafana.less index 55b86dccbe5..3056b2ec92b 100644 --- a/src/css/less/grafana.less +++ b/src/css/less/grafana.less @@ -437,6 +437,9 @@ select.grafana-target-segment-input { max-height: 600px; overflow: hidden; line-height: 14px; + a { + color: @tooltipLinkColor; + } } .grafana-tooltip hr { @@ -444,8 +447,6 @@ select.grafana-target-segment-input { color: #c8c8c8; margin: 0px; border-bottom:0px solid #c8c8c8; - /*height:0px; - background-color: rgb(58, 57, 57);*/ } .tooltip.in { diff --git a/src/css/less/variables.dark.less b/src/css/less/variables.dark.less index dc0e2ba4da0..6dbe943e0c2 100644 --- a/src/css/less/variables.dark.less +++ b/src/css/less/variables.dark.less @@ -280,6 +280,7 @@ @tooltipBackground: rgb(58, 57, 57); @tooltipArrowWidth: 5px; @tooltipArrowColor: @tooltipBackground; +@tooltipLinkColor: @linkColor; @popoverBackground: @heroUnitBackground; @popoverArrowWidth: 10px; diff --git a/src/css/less/variables.light.less b/src/css/less/variables.light.less index 0e78514cea0..a745fafd978 100644 --- a/src/css/less/variables.light.less +++ b/src/css/less/variables.light.less @@ -289,6 +289,7 @@ @tooltipBackground: #000; @tooltipArrowWidth: 5px; @tooltipArrowColor: @tooltipBackground; +@tooltipLinkColor: darken(@white,11%); @popoverBackground: @white; @popoverArrowWidth: 15px;