commit 1a046dd7d07e0d89a4dacd0671489ed7e17c6606
parent 53ffc6bf47e3584b0cf84c8e7e0d50aad4b8aadc
Author: Jan Dankert <develop@jandankert.de>
Date: Tue, 10 Nov 2020 00:35:56 +0100
Navigation gets same color as the view.
Diffstat:
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/modules/cms/base/DefaultConfig.class.php b/modules/cms/base/DefaultConfig.class.php
@@ -690,8 +690,8 @@ class DefaultConfig {
'title_background_color' => '#edf7f2',
'title_text_color' => '#005f52',
'text_color' => 'black',
- 'background_color' => 'white',
- 'inactive_background_color' => '#edf7f2',
+ 'background_color' => '#edf7f2',
+ 'inactive_background_color' => 'white',
],
'dark' =>
[
diff --git a/modules/cms/ui/themes/default/style/theme/openrat-theme.less b/modules/cms/ui/themes/default/style/theme/openrat-theme.less
@@ -178,19 +178,19 @@ html.or-theme-@{cms-theme-id} {
&-navigation {
//background-color: @cms-title-background-color;
//color: @cms-title-text-color;
- background-color: @cms-title-text-color;
- .box-shadow(10px, 0px, 25px, @cms-title-text-color);
- background-image: linear-gradient(to right, lighten(@cms-title-text-color, 10%), @cms-title-text-color);
+ background-color: @cms-background-color;
+ .box-shadow(10px, 0px, 25px, @cms-background-color);
+ background-image: linear-gradient(to right, lighten(@cms-background-color, 10%), @cms-background-color);
}
&-navigation,
&-navigation .or-link {
- color: @cms-title-background-color;
+ color: @cms-text-color;
}
&-title {
background-color: @cms-title-background-color;
- background-image: linear-gradient(to bottom, lighten(@cms-title-background-color, 10%), @cms-title-background-color 90%, @cms-background-color);
+ background-image: linear-gradient(to bottom, lighten(@cms-title-background-color, 10%), @cms-title-background-color 90%, @cms-inactive-background-color);
color: @cms-title-text-color;
.or-toolbar-icon > a {