Merge pull request #3424 from grafana/code-tag

add variable for codeTagBackground to control look for both themes.
This commit is contained in:
Torkel Ödegaard 2015-12-04 18:17:24 +01:00
commit 654d1f939e
3 changed files with 6 additions and 2 deletions

View File

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

View File

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

View File

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