From e7879de81ffa25de6709aaab4cc4cd2b0116ce09 Mon Sep 17 00:00:00 2001 From: ARNO* <arno@rezo.net> Date: Fri, 25 Mar 2005 12:53:28 +0000 Subject: [PATCH] Oups: sucre les "nouvelles" feuilles de style pour le calendrier. Ne pas interferer avec calendrier.css --- ecrire/inc_calendrier.php | 8 ++++---- ecrire/spip_style.php3 | 21 --------------------- 2 files changed, 4 insertions(+), 25 deletions(-) diff --git a/ecrire/inc_calendrier.php b/ecrire/inc_calendrier.php index e8806f35b3..2a3b8dfa32 100644 --- a/ecrire/inc_calendrier.php +++ b/ecrire/inc_calendrier.php @@ -264,11 +264,11 @@ function http_calendrier_navigation($jour, $mois, $annee, $partie_cal, $echelle, $script .= (strpos($script,'?') ? '&' : '?'); $args = "jour=$jour&mois=$mois&annee=$annee$ancre"; - $retour = "<div class='navigation-calendrier'>"; + $retour = "<div class='navigation-calendrier calendrier-moztop8' style='background-color: $couleur_foncee;'>"; if ($type != "mois") { - $retour .= "<div id='nav-cal-choix-display'>"; + $retour .= "<div style='float: $spip_lang_right; padding-left: 5px; padding-right: 5px;'>"; if ($partie_cal == "tout") $img_att = " class='calendrier-opacity'"; else $img_att = ""; $retour .= "<span$img_att>" @@ -305,8 +305,8 @@ function http_calendrier_navigation($jour, $mois, $annee, $partie_cal, $echelle, _T('info_zoom'). '+'); $retour .= "</div>"; } - - $retour .= "<div id='nav-cal-choix-calendrier'>"; + + $retour .= "<div style='float: $spip_lang_right; padding-left: 5px; padding-right: 5px;'>"; $img_att = ($type == 'jour') ? " class='calendrier-opacity'" : ''; $retour .= http_href_img(($script . "type=jour&echelle=$echelle&$args"),"cal-jour.gif", $img_att, _T('cal_par_jour')) . ""; $img_att = ($type == 'semaine') ? " class='calendrier-opacity'" : "" ; diff --git a/ecrire/spip_style.php3 b/ecrire/spip_style.php3 index 8cff57a87b..1a60c492bc 100644 --- a/ecrire/spip_style.php3 +++ b/ecrire/spip_style.php3 @@ -1219,27 +1219,6 @@ div.brouteur_rubrique_on div a { } -/* - * Calendrier - */ - -.navigation-calendrier { - background-color: <?php echo $couleur_foncee; ?>; - -moz-border-radius-topleft: 5px; - -moz-border-radius-topright: 5px; - -} -#nav-cal-choix-display { - float: <?php echo $right; ?>; - padding-<?php echo $left; ?>: 10px; -} -#nav-cal-choix-calendrier { - float: <?php echo $right; ?>; - padding-<?php echo $left; ?>: 10px; -} - - - /* * Styles generes par les raccourcis de mis en page */ -- GitLab