mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
add variable for codeTagBackground to control look for both themes. Fixes #3399
This commit is contained in:
parent
db9c288050
commit
477b876a1f
@ -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 {
|
||||
|
@ -42,6 +42,7 @@
|
||||
@grafanaTargetFuncHightlight: #444;
|
||||
|
||||
@modalBackground: @black;
|
||||
@codeTagBackground: #444;
|
||||
|
||||
// Scaffolding
|
||||
// -------------------------
|
||||
|
@ -55,6 +55,7 @@
|
||||
@grafanaTargetFuncHightlight: darken(@grafanaTargetBackground, 10%);
|
||||
|
||||
@modalBackground: @bodyBackground;
|
||||
@codeTagBackground: #ddd;
|
||||
|
||||
// Scaffolding
|
||||
// -------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user