From 580a1a53a549f361810f508ca7b532bfbc8f5771 Mon Sep 17 00:00:00 2001
From: llaffont <llaffont@git-test.afi-sa.fr>
Date: Fri, 7 Jun 2013 14:46:57 +0000
Subject: [PATCH] Stylisation des morceaux notices dans les onglets

---
 .../ZendAfi/View/Helper/Notice/Onglets.php    |  3 ++-
 public/opac/css/global.css                    | 19 +++++++++++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/library/ZendAfi/View/Helper/Notice/Onglets.php b/library/ZendAfi/View/Helper/Notice/Onglets.php
index eac8818fa4f..551c73d3e65 100644
--- a/library/ZendAfi/View/Helper/Notice/Onglets.php
+++ b/library/ZendAfi/View/Helper/Notice/Onglets.php
@@ -66,7 +66,8 @@ class ZendAfi_View_Helper_Notice_Onglets extends ZendAfi_View_Helper_Notice_Abst
 															$onglet["titre"]);
 
 			// Boite contenu
-			$html_contenu.=sprintf('<div id="%s_contenu_row">%s</div>', 
+			$html_contenu.=sprintf('<div class="%s" id="%s_contenu_row">%s</div>', 
+														 $type,
 														 $id_onglet, 
 														 sprintf('<div id="%s_contenu" class="onglet">%s</div>', 
 																		 $id_onglet, 
diff --git a/public/opac/css/global.css b/public/opac/css/global.css
index bb7fd11adef..e42a3696e53 100644
--- a/public/opac/css/global.css
+++ b/public/opac/css/global.css
@@ -1834,6 +1834,25 @@ button.vodeclic_link + img {
 /** morceaux */
 .morceaux ul li>div:first-child {
 		float: right;
+}
+
+.morceaux ul {
+		padding-left: 0px;
+}
+
+.morceaux ul li {
+		list-style: none;
+		padding: 5px;
+    -moz-transition: all 0.3s ease-out;
+    -webkit-transition: all 0.3s ease-out;
+}
+
+.morceaux ul li:hover {
+		border-radius: 5px;
+		background-color: rgba(100,100,100,0.2);
+}
+
+.morceaux ul li div:first-child img  {
 		margin-right: 5px;
 }
 
-- 
GitLab