From af546b9c71880ca1fb9b0f858b505a9a7e17d0be Mon Sep 17 00:00:00 2001
From: Liz Rea <liz@catalyst.net.nz>
Date: Mon, 25 Feb 2013 14:46:55 +1300
Subject: [PATCH] [SIGNED-OFF] Bug 8979 - simple addition of news to CCSR
 theme

Nothing fancy, just displays the news in the mobile view.

To test:

enable CCSR theme
ensure you have a news item that will be displayed on the home page
browse to your test site with a mobile phone - news item should be displayed (without the patch it will not be displayed)

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Comment: Works as described. No errors.

Note: Perhaps 'Persona' login could be hidden in movile view.
---
 koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css b/koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css
index 58da8bd..c59ecd7 100644
--- a/koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css
+++ b/koha-tmpl/opac-tmpl/ccsr/en/css/mobile.css
@@ -10,7 +10,6 @@ body#opac-main #login,
 body#opac-main #login~div,
 body#opac-main #opacnav,
 body#opac-main #opacmainuserblock,
-body#opac-main #news,
 body#results #facetcontainer,
 body#opac-detail #ulactioncontainer>:not(#action),
 body#opac-detail #ulactioncontainer #action a:not(.reserve),
@@ -109,6 +108,11 @@ body#opac-main #opacmainuserblockmobile {
     display: block;
 }
 
+#news.container {
+    display: block;
+    margin: 0em;
+}
+
 
 
 /* Results */
-- 
1.7.9.5