Просмотр исходного кода

White theme: css fix for links in annotations tooltips, Fixes #1216

Torkel Ödegaard 11 лет назад
Родитель
Сommit
5daefc8b8e

+ 3 - 2
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 {

+ 1 - 0
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;

+ 1 - 0
src/css/less/variables.light.less

@@ -289,6 +289,7 @@
 @tooltipBackground:       #000;
 @tooltipArrowWidth:       5px;
 @tooltipArrowColor:       @tooltipBackground;
+@tooltipLinkColor:        darken(@white,11%);
 
 @popoverBackground:       @white;
 @popoverArrowWidth:       15px;