add variable for codeTagBackground to control look for both themes. Fixes #3399

This commit is contained in:
Trent White 2015-12-04 11:55:20 -05:00
parent db9c288050
commit 477b876a1f
3 changed files with 6 additions and 2 deletions

View File

@ -61,7 +61,7 @@
} }
code, pre { code, pre {
background-color: @grayLighter; background-color: @codeTagBackground;
} }
div.editor-row { div.editor-row {
@ -578,8 +578,10 @@ div.flot-text {
// pre // pre
code, pre { code, pre {
background-color: @grafanaPanelBackground; background-color: @codeTagBackground;
color: @textColor; color: @textColor;
border: 1px solid darken(@codeTagBackground, 15%);
padding: 2px;
} }
.dropdown-menu { .dropdown-menu {

View File

@ -42,6 +42,7 @@
@grafanaTargetFuncHightlight: #444; @grafanaTargetFuncHightlight: #444;
@modalBackground: @black; @modalBackground: @black;
@codeTagBackground: #444;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------

View File

@ -55,6 +55,7 @@
@grafanaTargetFuncHightlight: darken(@grafanaTargetBackground, 10%); @grafanaTargetFuncHightlight: darken(@grafanaTargetBackground, 10%);
@modalBackground: @bodyBackground; @modalBackground: @bodyBackground;
@codeTagBackground: #ddd;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------