openrat-cms

OpenRat Content Management System
git clone http://git.code.weiherhei.de/openrat-cms.git
Log | Files | Refs | README

commit baa0788d860d8e4b2f899568f721911d94314ccf
parent 9b7389da356da2843e6aa273e693e8ee1d5a27c4
Author: Jan Dankert <develop@jandankert.de>
Date:   Sat, 13 Feb 2021 00:15:21 +0100

Fix: Disable background-image. It is not used now.

Diffstat:
Mmodules/cms/ui/themes/default/style/theme/openrat-theme.less | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/modules/cms/ui/themes/default/style/theme/openrat-theme.less b/modules/cms/ui/themes/default/style/theme/openrat-theme.less @@ -396,9 +396,12 @@ html.or-theme-@{cms-theme-id} { } body { + background-color: @cms-main-background-color; &:before { - filter: hue-rotate(unit(hue(@cms-inactive-background-color),deg)) saturate(saturation(@cms-inactive-background-color)) brightness(lightness(@cms-inactive-background-color) ); - background-image: url(@cms-background-image); + + // background image is not displayed now. So we should not use it here, the browser should not download it. + //filter: hue-rotate(unit(hue(@cms-inactive-background-color),deg)) saturate(saturation(@cms-inactive-background-color)) brightness(lightness(@cms-inactive-background-color) ); + //background-image: url(@cms-background-image); } } }