diff --git a/dist/style_prive.html b/dist/style_prive.html index 7180d55747c79708ea49360a44ab6690e487f598..191f1184ee5943c3411967339511d9987e95de44 100644 --- a/dist/style_prive.html +++ b/dist/style_prive.html @@ -449,7 +449,9 @@ a.ical { background: url(#EVAL{ _DIR_IMG_PACK}wrapper.php?file=synchro-24.gif) n /* Titre d'une boite */ .titrem { font-weight: bold; } -div.titrem { display: block; padding-top: 6px; padding-bottom: 4px; background-repeat: no-repeat; background-position: [(#GET{left})] 6px; padding-#GET{left}: 16px; } +div.titrem { display: block; padding-top: 6px; padding-bottom: 4px; background-repeat: no-repeat;position:relative;padding-[(#GET{left})]:16px;} +div.titrem a.titremancre {padding:15px 0 0 16px;background-position: [(#GET{left})] top;background-repeat: no-repeat; position:absolute;[(#GET{left})]:0;} + .cadre-couleur-foncee .titrem { background-color: #GET{foncee};color: #FFF; } .cadre-couleur-foncee .cadre_padding .titrem {color: #000; } .cadre-trait-couleur .titrem { background-color: #GET{foncee};color: #FFF; } @@ -487,9 +489,9 @@ div.titrem { display: block; padding-top: 6px; padding-bottom: 4px; background-r .iconifier div div label {text-align: #GET{left};display: block; } /* Deplier / Replier */ -.replie, .deplie.hoverwait { background-image: url(#EVAL{ _DIR_IMG_PACK}wrapper.php?file=deplierhaut[(#ENV{ltr}|choixsiegal{#GET{left},'',_rtl})].gif); } +.replie a.titremancre, .deplie.hoverwait a.titremancre { background-image: url(#EVAL{ _DIR_IMG_PACK}wrapper.php?file=deplierhaut[(#ENV{ltr}|choixsiegal{left,'',_rtl})].gif); } .hover { background-color: #GET{claire}; } -.deplie, .replie.hoverwait { background-image: url(#EVAL{ _DIR_IMG_PACK}wrapper.php?file=deplierbas.gif); } +.deplie a.titremancre, .replie.hoverwait a.titremancre { background-image: url(#EVAL{ _DIR_IMG_PACK}wrapper.php?file=deplierbas.gif); } .impliable {} .blocreplie { display: none; } .blocdeplie { display: block; background: none; } diff --git a/ecrire/inc/layer.php b/ecrire/inc/layer.php index 552f941ee601de7a6950315bb74bd73b68054a05..9faab61e5526d1ac9a80502e047487ed34a0e011 100644 --- a/ecrire/inc/layer.php +++ b/ecrire/inc/layer.php @@ -79,7 +79,7 @@ function bouton_block_depliable($texte,$deplie,$ids=""){ ?"" :" onmouseover=\"jQuery(this).depliant('$cible');\"" ) - .">$texte</div>" + ."><a href=\"#\" onclick=\"jQuery(this).parent().toggleother('$cible')\" class='titremancre'></a>$texte</div>" .http_script( ($deplie==='incertain') ? "jQuery(document).ready(function(){if (jQuery('$cible').is(':visible')) $('#$bouton_id').addClass('deplie').removeClass('replie');});" : ''); diff --git a/ecrire/inc/presentation.php b/ecrire/inc/presentation.php index 56423f3ebdde187c128355709cd5f6a96c379fcb..981c71490e464d6e2b269875ba377cc51567a207 100644 --- a/ecrire/inc/presentation.php +++ b/ecrire/inc/presentation.php @@ -106,7 +106,7 @@ function debut_cadre($style, $icone = "", $fonction = "", $titre = "", $id="", $ ."'$style_cadre>"; if ($spip_display != 1 AND $spip_display != 4 AND strlen($icone) > 1) { - $ret .= "\n<div style='position: absolute; top: -16px; $spip_lang_left: 10px;'>"; + $ret .= "\n<div style='position: absolute; top: -16px; $spip_lang_left: 10px;z-index:100;'>"; if ($fonction) { $ret .= "\n<div " . http_style_background($icone, "no-repeat; padding: 0px; margin: 0px") . ">" . http_img_pack($fonction, "", "")