updated some hard-coded colors to variables so they work well on light theme

This commit is contained in:
Trent White 2015-07-31 15:51:31 -04:00
parent 50895c7e37
commit 6b6b102079
3 changed files with 8 additions and 7 deletions

View File

@ -65,7 +65,7 @@
margin: 15px;
background: @grafanaPanelBackground;
position: relative;
border: 1px solid @grayDark;
border: @grafanaPanelBorder;
padding: 20px 20px 60px 49px;
h2 {

View File

@ -184,11 +184,11 @@
position : absolute;
top: -1000;
left: 0;
color: #c8c8c8;
color: @tooltipColor;
padding: 10px;
font-size: 11pt;
font-weight : 200;
background-color: rgb(58, 57, 57);
background-color: @tooltipBackground;
border-radius: 5px;
z-index: 9999;
max-width: 800px;

View File

@ -112,6 +112,7 @@
@grafanaListMainLinkColor: @textColor;
// Tables
// -------------------------
@tableBackground: transparent; // overall background-color
@ -145,8 +146,8 @@
@btnDangerBackground: lighten(@red, 5%);
@btnDangerBackgroundHighlight: darken(@red, 5%);
@btnInverseBackground: @gray;
@btnInverseBackgroundHighlight: darken(@gray, 10%);
@btnInverseBackground: @white;
@btnInverseBackgroundHighlight: darken(@grayLight, 15%);
@iconContainerBackground: @white;
@iconContainerBackgroundHighlight: lighten(@white, 5%);
@ -296,8 +297,8 @@
// Tooltips and popovers
// -------------------------
@tooltipColor: #fff;
@tooltipBackground: #333;
@tooltipColor: @grayDark;
@tooltipBackground: darken(@white,3%);
@tooltipArrowWidth: 5px;
@tooltipArrowColor: @tooltipBackground;
@tooltipLinkColor: darken(@white,11%);