Commit 654d1f93 by Torkel Ödegaard

Merge pull request #3424 from grafana/code-tag

add variable for codeTagBackground to control look for both themes.
parents df0a5cf5 477b876a
...@@ -61,7 +61,7 @@ ...@@ -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 { ...@@ -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 {
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
@grafanaTargetFuncHightlight: #444; @grafanaTargetFuncHightlight: #444;
@modalBackground: @black; @modalBackground: @black;
@codeTagBackground: #444;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
......
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
@grafanaTargetFuncHightlight: darken(@grafanaTargetBackground, 10%); @grafanaTargetFuncHightlight: darken(@grafanaTargetBackground, 10%);
@modalBackground: @bodyBackground; @modalBackground: @bodyBackground;
@codeTagBackground: #ddd;
// Scaffolding // Scaffolding
// ------------------------- // -------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment