Skip to content
Extraits de code Groupes Projets
Valider f2f6e5aa rédigé par ARNO*'s avatar ARNO*
Parcourir les fichiers

Ergonomie du calendrier: rejeter les elements de navigation a droite. D'ou:...

Ergonomie du calendrier: rejeter les elements de navigation a droite. D'ou: deux nouvelles feuilles de style.
parent 8e6d6bfb
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -264,9 +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' style='background-color: $couleur_foncee'>";
$retour = "<div class='navigation-calendrier'>";
if ($type != "mois") {
$retour .= "<div id='nav-cal-choix-display'>";
if ($partie_cal == "tout") $img_att = " class='calendrier-opacity'";
else $img_att = "";
$retour .= "<span$img_att>"
......@@ -301,15 +303,17 @@ function http_calendrier_navigation($jour, $mois, $annee, $partie_cal, $echelle,
"loupe-plus.gif",
'',
_T('info_zoom'). '+');
$retour .= "&nbsp;";
$retour .= "</div>";
}
$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')) . "&nbsp;";
$retour .= "<div id='nav-cal-choix-calendrier'>";
$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'" : "" ;
$retour .= http_href_img($script . "type=semaine&echelle=$echelle&$args", "cal-semaine.gif", $img_att, _T('cal_par_semaine')) . "&nbsp;";;
$retour .= http_href_img($script . "type=semaine&echelle=$echelle&$args", "cal-semaine.gif", $img_att, _T('cal_par_semaine')) . "";;
$img_att = ($type == 'mois') ? " class='calendrier-opacity'" : "" ;
$retour .= http_href_img($script . "type=mois&echelle=$echelle&$args","cal-mois.gif", $img_att, _T('cal_par_mois'));
$retour .= "</div>";
$today=getdate(time());
$jour_today = $today["mday"];
......
......@@ -1218,6 +1218,28 @@ div.brouteur_rubrique_on div a {
z-index: 1;
}
/*
* 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
*/
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter