diff --git a/ecrire/inc_layer.php3 b/ecrire/inc_layer.php3 index 182d4ba04c8294978e5caf56dbf01c6f2143f42b..21ebef1ae9b14ec3898545bf3f9a575a9dfb8b28 100644 --- a/ecrire/inc_layer.php3 +++ b/ecrire/inc_layer.php3 @@ -93,7 +93,7 @@ function bouton_block_invisible($nom_block) { $javasc .= "swap_couche(\\'".$numero_block[$nom_block]."\\', \\'$spip_lang_rtl\\');"; } $retour = "\n<script type='text/javascript'><!--\n"; - $retour .= "document.write('<a href=\"javascript:$javasc\"><img name=\"triangle".$numero_block["$nom_block"]."\" src=\"".$dir_ecrire."img_pack/deplierhaut$spip_lang_rtl.gif\" alt=\"\" title=\"".addslashes(_T('info_deplier'))."\" width=\"10\" height=\"10\" border=\"0\"></a>');\n"; + $retour .= "document.write('<a class=\"triangle_block\" href=\"javascript:$javasc\"><img name=\"triangle".$numero_block["$nom_block"]."\" src=\"".$dir_ecrire."img_pack/deplierhaut$spip_lang_rtl.gif\" alt=\"\" title=\"".addslashes(_T('info_deplier'))."\" width=\"10\" height=\"10\" border=\"0\"></a>');\n"; $retour .= "//-->\n"; $retour .= "</script>\n"; @@ -114,7 +114,7 @@ function bouton_block_visible($nom_block){ $numero_block["$nom_block"] = $compteur_block; } - return "<a href=\"javascript:swap_couche('".$numero_block["$nom_block"]."', '$spip_lang_rtl')\"><IMG name='triangle".$numero_block["$nom_block"]."' src='".$dir_ecrire."img_pack/deplierbas.gif' alt='' title='".addslashes(_T('info_deplier'))."' width='10' height='10' border='0'></a>"; + return "<a class=\"triangle_block\" href=\"javascript:swap_couche('".$numero_block["$nom_block"]."', '$spip_lang_rtl')\"><IMG name='triangle".$numero_block["$nom_block"]."' src='".$dir_ecrire."img_pack/deplierbas.gif' alt='' title='".addslashes(_T('info_deplier'))."' width='10' height='10' border='0'></a>"; } } diff --git a/ecrire/naviguer.php3 b/ecrire/naviguer.php3 index 4ace7ff9f78d4f445e51407f019e06d56db00168..ada10e42189b608d388658087551f982eeb0bd9f 100644 --- a/ecrire/naviguer.php3 +++ b/ecrire/naviguer.php3 @@ -54,8 +54,8 @@ function enfant($collection){ $hash = calculer_action_auteur ("reduire $w $h"); // $les_enfants.= "<img src='../spip_image_reduite.php3?img="._DIR_IMG."$fichier&taille_x=$w&taille_y=$h&hash=$hash&hash_id_auteur=$connect_id_auteur' width='$w' height='$h' align='right' />"; - $les_enfants.= "<div style='position: absolute; right: 0px; top: 0px; width: ".$w."px;'><img src='../spip_image_reduite.php3?img="._DIR_IMG."$fichier&taille_x=$w&taille_y=$h&hash=$hash&hash_id_auteur=$connect_id_auteur' width='$w' height='$h' align='right' /></div>"; - $les_enfants.= "<img src='img_pack/rien.gif' width='$w' height='$h' align='right' />"; + $les_enfants.= "<div style='position: absolute; $spip_lang_right: 0px; top: 0px; width: ".$w."px;'><img src='../spip_image_reduite.php3?img="._DIR_IMG."$fichier&taille_x=$w&taille_y=$h&hash=$hash&hash_id_auteur=$connect_id_auteur' width='$w' height='$h' /></div>"; + $les_enfants.= "<img src='img_pack/rien.gif' width='$w' height='$h' align='$spip_lang_right' />"; } } diff --git a/ecrire/spip_style.php3 b/ecrire/spip_style.php3 index 15a8686cf745c48c0e9d6cd8b23c08869bbf753f..56c380d63e566e55f08ef5ce5df4d2544c4adc66 100644 --- a/ecrire/spip_style.php3 +++ b/ecrire/spip_style.php3 @@ -1308,6 +1308,16 @@ div.spip_poesie div { a.boutonlien:hover {color:#454545; text-decoration: none;} a.boutonlien {color:#808080; text-decoration: none;} +a.triangle_block { + margin-top: -3px; + margin-bottom: -3px; + margin-<?php echo $right; ?>: -3px; +} +a.triangle_block:hover { + margin-<?php echo $left; ?>: 1px; + margin-<?php echo $right; ?>: -4px; +} + h3.spip { margin-top : 40px; margin-bottom : 40px;