Accéder au contenu.
Menu Sympa

devel - [Devel] r248 - trunk

Objet : devel-adl

Archives de la liste

[Devel] r248 - trunk


Chronologique Discussions 
  • From: svn AT agendadulibre.org
  • To: devel AT agendadulibre.org
  • Subject: [Devel] r248 - trunk
  • Date: Sat, 3 Mar 2007 23:55:58 +0100 (CET)
  • List-archive: <http://lolut.utbm.info/pipermail/devel>
  • List-id: Developpement de l'Agenda du Libre <devel.agendadulibre.org>

Author: thomas
Date: Sat Mar 3 23:55:57 2007
New Revision: 248

Added:
trunk/calendar2.css
Modified:
trunk/funcs.inc.php

Log:
Ajout de la CSS proposée par Erwan <air1 AT imaginair.net>



Added: trunk/calendar2.css
==============================================================================
--- (empty file)
+++ trunk/calendar2.css Sat Mar 3 23:55:57 2007
@@ -0,0 +1,390 @@
+/* Copyright 2007
+ * - Erwan Leherisse <contact CHEZ imaginair POINT net>
+ * - M�lanie Bats <melanie POINT bats CHEZ utbm POINT fr>
+ * - Thomas Petazzoni <thomas POINT petazzoni CHEZ enix POINT org>
+ * - Jean-Marie Favreau <jeanmarie POINT favreau CHEZ free POINT fr>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+ * 02111-1307, USA.
+ */
+
+/* Supp des marges par defaut*/
+* {
+ margin: 0px;
+ padding: 0px;
+}
+
+body {
+ background-color: #c7e0ed;
+ font-size: 14px;
+ font-family: verdana,sans-serif;
+ color: black;
+ line-height: 24px;
+}
+
+/* Elements generaux */
+h1 {
+ margin: 5px 5px 5px 5px;
+ text-align: center;
+ font-size: 35px;
+ font-family : georgia,verdana,sans-serif;
+ letter-spacing: 2px;
+}
+h2 { margin: 40px 0px 20px;
+ text-align: center;
+ font-size: 21px;
+ font-weight: normal;
+}
+h3 {
+ margin: 15px 0px 15px;
+ font-size: 16px;
+}
+
+a:link, a:visited {
+ font-weight: bold;
+ text-decoration: none;
+ color: #336699;
+}
+a:hover, a:active {
+ color: #1280C7;
+}
+
+input,textarea,select {
+ border: 1px solid #868686;
+}
+input:focus ,textarea:focus,select:focus {
+ background: #F0F8FF;
+}
+
+ol,ul { margin: 10px 0px 10px 35px; }
+
+li { margin-left: 2em;}
+
+hr { margin: 10px 20px;}
+
+p { margin: 15px 0px;}
+
+/* Blocs principaux */
+div.main {
+ background: url('baby_gnu_adl.png') 30px 10px no-repeat white;
+ border: 1px solid #ADCCE5;
+ border-bottom-width: 0px;
+ -moz-border-radius: 20px 20px 0px 0px;
+ margin: 5px 5px 0px;
+ padding: 10px 10px 20px;
+}
+
+div.footer {
+ background-color: white;
+ border: 1px solid #ADCCE5;
+ border-top: 1px dotted #ADCCE5;
+ -moz-border-radius: 0px 0px 20px 20px ;
+ margin: 0px 5px 5px 5px;
+ padding: 2px;
+ text-align: center;
+ font-size: 13px;
+ color: black;
+}
+
+div.footer p {
+ margin: 5px;
+}
+
+div.main p {
+ text-align: justify;
+}
+
+/* Info box rss/ical */
+#important {
+ position: absolute;
+ top: 1.5em;
+ right: 1.5em;
+ width: 23%;
+ border: 1px dashed black;
+}
+
+#important p {
+ margin: 0px;
+ padding: 2px;
+ text-align: center;
+ font-size: 12px;
+}
+
+#subtitle {
+ margin-top: 10px;
+ padding-bottom: 15px;
+ text-align: center;
+ font-size: 12px;
+}
+
+p.error {
+ color: red;
+ font-weight: bold;
+}
+
+h2.calendar {
+ margin-top: 1em;
+ color : #5d6064;
+ font-size: 22px;
+ margin-bottom: 5px;
+}
+h2.calendar a {
+ font-weight: normal;
+}
+
+h3.calendar {
+ text-align: center;
+}
+/* Selection region */
+form.calendar p {
+ margin-bottom: 20px;
+ text-align: center;
+}
+h2.calendar select {
+ border: 1px solid #AAAAAA;
+ }
+
+/* Table principale */
+table.calendar {
+ width: 90%;
+ margin: 0 auto;
+}
+
+table.calendar td {
+ height: 6em;
+ width: 14%;
+ -moz-border-radius: 5px;
+ -khtml-border-radius: 5px;
+ vertical-align: top;
+ text-align: left;
+ font-size: 12px;
+ color: #444444;
+}
+
+table.calendar td h1 {
+ margin: 0px 1px 3px 1px;
+ text-align: left;
+ font-size: 9px;
+ color : #727070;
+ line-height: 1.1em;
+}
+table.calendar td:hover {
+ border-color: #AAAAAA;
+}
+table.calendar td:hover h1 {
+ color: #000;
+}
+
+table.calendar td ul {
+ padding-left: 15px;
+ margin: 0px;
+ list-style-type: circle;
+}
+
+table.calendar td ul li {
+ margin: 0px 0px 5px 0px;
+ padding: 0px 0px 0px 0px;
+ line-height: 1.1em;
+}
+
+
+
+/*
+ * These attributes apply to all cells of the agenda
+ */
+td a:link, td a:visited {
+ font-weight: normal;
+ text-decoration: none;
+ color: #444444;
+}
+
+td a:hover, td a:active {
+ color: #1274C7;
+}
+
+/*
+ * These attributes apply to the cells that correspond to the days
+ * already past in the current month.
+ */
+td.past_month {
+ background: #C9E2F5;
+ border: 1px solid #ADCCE5;
+}
+
+td.past_month a:hover, td.past_month a:active {
+ color: #000;
+}
+
+/*
+ * These attributes apply to the cells that correspond to the future
+ * days in the current month.
+ */
+td.current_month {
+ background: #D1EAFF;/*e0faff--e6fbff--e5f6ff*/
+ border : 1px solid #B4DDFF;
+}
+
+/*
+ * These attributes apply to the cell corresponding to the current day
+ */
+td.today {
+ background: #FFFCD2;
+ border: 1px #E3C9AF solid;
+}
+
+table.calendar td.today h1 {
+ font-size: 11px;
+ color : #000;
+}
+table.calendar td.today a {
+ color : #000;
+}
+table.calendar td.today a:hover {
+ color : #1274C7;
+}
+
+/*
+ * These attributes apply to the cells that correspond to days in the
+ * previous or next month of the current month
+ */
+td.other_month {
+ background: #ededed;
+}
+
+td.other_month a:link, td.other_month a:visited {
+ color: #777777;
+}
+
+td.other_month a:hover, td.other_month a:active {
+ color: #000;
+}
+
+/* Carte evenements/lugs */
+
+#region-map {
+ border: 0px;
+ margin-left: 16em;
+}
+
+dl.region-map-event {
+ position: absolute;
+ background: #FFFCD2;
+ border: 1px outset #000;
+ -moz-border-radius: 10px;
+ -khtml-border-radius: 10px;
+ margin: 0.5em 0 0 0;
+ padding: 3px;
+ width: 16em;
+ z-index: 2;
+ text-align: left;
+ overflow: hidden;
+ list-style: none;
+}
+
+dl.region-map-event dt {
+ border-bottom: 1px solid black;
+ padding: 0;
+ margin: 0;
+ margin-bottom: 0.2em;
+ font-size: 13px;
+}
+
+dl.region-map-event dd {
+ border: none;
+ padding: 0;
+ margin-bottom: 0.3em;
+ font-weight: normal;
+ font-size: 12px;
+}
+
+dl.region-map-event ul {
+ line-height: 1.2em;
+}
+dl.region-map-event li {
+ margin-left: 0px;
+}
+/*
+ * Advises for event submission. (used only in submit.php)
+ */
+#advises {
+ background-color: #FFFCD2;
+ border: 1px solid #ddd;
+ -moz-border-radius: 20px;
+ -khtml-border-radius: 20px;
+ margin: 10px 100px 20px 100px;
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
+#advises h1 {
+ font-size: 20px;
+ font-family: verdana,sans-serif;
+ font-weight: normal;
+ text-decoration: underline;
+}
+
+/*
+ * Statistics (used only by stats.php)
+ */
+
+table.stats {
+ width: 60%;
+}
+
+table.stats tr.odd {
+ background-color: #D1EAFF;
+}
+
+table.stats tr.even {
+ background-color: #C9E2F5;
+}
+
+table.stats td.item {
+ width: 90%;
+}
+
+table.stats td.value {
+ text-align: right;
+}
+
+/*
+ * Lug list (used only by showevent.php)
+ */
+#lug-list {
+ float: right;
+ background: #FDFFDD;/*#FDFFDD*/
+ border-top: 1px solid #ccc;
+ border-left: 1px solid #ccc;
+ border-right: 1px solid #666;
+ border-bottom: 1px solid #666;
+ -moz-border-radius: 10px;
+ -khtml-border-radius: 10px;
+ margin: 8em 1.2em 0px;
+ padding: 5px;
+ width: 15em;
+ font-size: 12px;
+}
+
+#lug-list h1 {
+ border-bottom: 1px black solid;
+ padding-bottom: 2px;
+ font-size: 12px;
+ font-family: verdana,sans-serif;
+}
+
+#lug-list ul {
+ line-height: 1.2em;
+ margin-left:1em;
+}

Modified: trunk/funcs.inc.php
==============================================================================
--- trunk/funcs.inc.php (original)
+++ trunk/funcs.inc.php Sat Mar 3 23:55:57 2007
@@ -70,6 +70,7 @@
<title>L'Agenda du Libre - <?php echo $title;?></title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"/>
<link rel="stylesheet" type="text/css" href="calendar.css"
title="Officielle" />
+ <link rel="alternate stylesheet" type="text/css"
href="calendar2.css" title="Nouvelle" />
<link rel="alternate stylesheet" type="text/css" href="air1.css"
title="Air1" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<?php





Archives gérées par MHonArc 2.6.16.

Haut de le page