From e0635da0397661283c950b514c9eb92a2ee37a96 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Fri, 20 Dec 2019 08:40:37 +0100 Subject: [PATCH] Bug 24282: SCSS conversion broke style in search results item status Before SCSS conversion, there was a style for search results item status : #searchresults span.status { Conversion to SCSS added ul : #searchresults ul span.status { Now style does not apply anymore. You can see that items on loan are not red anymore. To test, apply the patch and regenerate your CSS (https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). Clear your browser cache if necessary. All rules using #searchresults in 17.11 : font-size : 90%; list-style: url(../img/item-bullet.gif); padding : .2em 0; clear : left; } clear : left; color : #900; display : block; } clear : left; display : block; } display : block; } float : left; margin : 3px 5px 3px -5px; } vertical-align : top; } Apply patch update intranet CSS file and check you see the same rules. Signed-off-by: Lucas Gass Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson (cherry picked from commit 1f1ad0ddf980610e9cf6766b9e056334b904a63b) Signed-off-by: Lucas Gass --- .../prog/css/src/staff-global.scss | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) 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 1b5c762cef..6c04d6bd60 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -2332,24 +2332,24 @@ li { margin: 3px 5px 3px -5px; } } + } - span { - &.status { - clear: left; - color: #900; - display: block; - } + span { + &.status { + clear: left; + color: #900; + display: block; + } - &.unavailable { - clear: left; - display: block; - } + &.unavailable { + clear: left; + display: block; } + } - table { - td { - vertical-align: top; - } + table { + td { + vertical-align: top; } } -- 2.39.5