From f10f88266b7af19205bcd210b060dfd656945e53 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 5 Sep 2014 09:02:28 -0400 Subject: [PATCH] Bug 12863 [LESS follow-up] News in OPAC: HTML broken with nested p tags and multiple thead in same table MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This follow-up modifies the LESS file to add style to the new markup to match the previous markup. A subsequent patch will include the revised and compiled CSS. Signed-off-by: Marc Véron Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/opac-tmpl/bootstrap/less/opac.less | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less index e23ae4dacf..9e1a96469b 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/less/opac.less +++ b/koha-tmpl/opac-tmpl/bootstrap/less/opac.less @@ -219,6 +219,30 @@ td { margin : .5em 0; } +.newscontainer { + border: 1px solid #ddd; + border-bottom-width: 0; + border-top-left-radius: 5px; + border-top-right-radius: 5px; +} + +.newsheader { + background-color: #ecede6; + border-bottom: 1px solid #ddd; + margin: 0; + padding: 8px; +} + +.newsbody { + padding: 8px; +} + +.newsfooter { + border-bottom: 1px solid #ddd; + font-style: italic; + padding: 4px 8px; +} + #opacheader { background-color: #DDD; } -- 2.39.2