mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
Merge pull request #3424 from grafana/code-tag
add variable for codeTagBackground to control look for both themes.
This commit is contained in:
commit
654d1f939e
@ -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