From 9a6ff378d1d2cac589c2b995e4e1f6e2c1addac8 Mon Sep 17 00:00:00 2001 From: Bas Brands Date: Wed, 10 Jul 2019 14:17:40 +0200 Subject: [PATCH] MDL-66087 themes: use variable color for dashboard background --- theme/boost/scss/moodle/dashboard.scss | 3 ++- theme/boost/style/moodle.css | 2 +- theme/classic/style/moodle.css | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/theme/boost/scss/moodle/dashboard.scss b/theme/boost/scss/moodle/dashboard.scss index 64b657320af..70ccb26c217 100644 --- a/theme/boost/scss/moodle/dashboard.scss +++ b/theme/boost/scss/moodle/dashboard.scss @@ -1,4 +1,5 @@ // Background color change as of MDL-63042 +$dashboard-bg: darken($body-bg, 3%) !default; #page-my-index { - background-color: $gray-100; + background-color: $dashboard-bg; } \ No newline at end of file diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index bf77d330fea..016ace87ab1 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -13710,7 +13710,7 @@ body.drawer-ease { box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.08); } #page-my-index { - background-color: #f8f9fa; } + background-color: #f7f7f7; } .fp-content-center { height: 100%; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 3fa11e1c32a..012533dfa4e 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -13968,7 +13968,7 @@ body.drawer-ease { box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.08); } #page-my-index { - background-color: #f8f9fa; } + background-color: #f7f7f7; } .fp-content-center { height: 100%;