From 3440242b7b1a562b418f1fed07c06dd7de29636a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 10 May 2023 11:54:33 +0000 Subject: [PATCH] Bug 33707: News vs Quote of the day styling on staff interface main page This patch makes minor adjustments to the global and staff home page CSS so that the display of news and quote-of-the-day are more consistent. To test, apply the patch and rebuild the staff interface CSS. - If necessary, add at least one news item (Tools -> News -> New entry) and at least one quote (Tools -> Quote editor -> New quote). - View the staff interface home page to confirm that the style of the news area and the quotes is consistent. Signed-off-by: Caroline Cyr La Rose Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/css/src/mainpage.scss | 6 +++--- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 8 -------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/mainpage.scss b/koha-tmpl/intranet-tmpl/prog/css/src/mainpage.scss index 5e1977176bb..153cbd8f575 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/mainpage.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/mainpage.scss @@ -1,11 +1,11 @@ @import "variables"; -#area-news { +#area-news, +#area-quote { h3 { - background-color: #EEE; margin: 0; opacity: .7; - padding: .3em; + padding: .3em .3em 0 .3em; } } diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 34719c10b8b..85b029cd5c2 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -666,14 +666,6 @@ label, padding-top: 10px; } -#area-news, #area-userblock { - color: #696969; - - h3{ - background-color: #FFFFFF; - } -} - .main { margin-bottom: $language-footer-min-height * 1.5; margin-top: 1em; -- 2.25.1