From 32f79e8defa5d3283e002eed999c682df152415c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 5 Sep 2014 09:02:28 -0400 Subject: [PATCH] [PASSED QA] 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=UTF-8 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 --- 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 e23ae4d..9e1a964 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; } -- 1.9.1