From 8318a0ed4e55d96849595cc71ca000c1cbb634a6 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 (cherry picked from commit b28d329d8a403f120757c06818906b3940098b99) Signed-off-by: Pedro Amorim --- 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 5e1977176b..153cbd8f57 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 399456e137..ed2b11be39 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.20.1