Typo in css, now default.css should be valid.
[platal.git] / htdocs / css / keynote.css
index 1719523..276e590 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *  Copyright (C) 2003-2006 Polytechnique.org                              *
+ *  Copyright (C) 2003-2008 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
 
 body {
     font-family: "Arial", sans-serif;
-    background: url('../images/skins/keynote_bg.png') top left repeat-x;
-    background-attachment: fixed;
-    background-color: #525168;
+    font-size: 10pt;
+    background: url('../images/skins/keynote_bg.png') #4f4e63 top left repeat-x fixed;
     color: #fff;
 }
 
 a:link, a:visited, a:active, a:hover {
-    color: #000;
-    background: none;
+    color: #ddd;
+    background: inherit;
 }
+a:hover { color: #999; }
 
-a:hover {
-    color: #222;
-}
+img   { vertical-align: middle; }
+a img { border: 0px; }
+td    { vertical-align: top; }
+li    { padding-left: 3px; padding-right: 3px;
+        text-align: justify; }
+hr    { text-align: center; }
+dt    { font-weight: bold; }
 
 fieldset {
-    border: 1px #336699 solid;
-    background: #eeeeee;
-    color: inherit;
-
-    margin-top: 1em;
-    margin-bottom: 1em;
+    border: 1px solid #fff;
+    border-bottom: 0px;
+    border-right: 0px;
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
+    color: #000;
+    margin: 1em 0 1em 0;
+    text-align: justify;
 }
-
 legend {
-    border: 1px #336699 solid;
-    background: #f4d09c;
-    color: inherit;
+    border-bottom: 1px solid #666;
+    border-right: 1px solid #666;
+    border-top: 1px solid #fff;
+    border-left: 1px solid #fff;
+    background: url('../images/skins/keynote_bg_verylighter.png') #bbbbaa top left repeat-x fixed;
+    color: #000;
 
-    padding-left: 4px;
-    padding-right: 4px;
+    padding: 2px 4px;
 }
 
+.center  { text-align: center; }
+.right   { text-align: right; }
+.middle  { vertical-align: middle; }
+.smaller { font-size: smaller; font-style: italic; }
+.spacer  { clear: both; }
+
+.float2  { float: left; width: 49%; }
+.float3  { float: left; width: 33%; }
+
 /*******************************************************************************
     2   Styles <p>, <div>, <span>, <li>
         [ styles classiques d'effets de texte ]
 *******************************************************************************/
 
 p {
-    margin-bottom: 0.5em;
+    margin-bottom: 0.4em;
     text-align: justify;
+    text-indent: 2em;
+}
+
+p.smaller {
+    text-indent: 0;
+}
+
+.errors {
+    width: 98%;
+    border: 1px solid #f00;
+    margin-top: 10px;
+    background-color: #200;
+}
+
+.warnings {
+    width: 98%;
+    border: 1px solid #ff0;
+    margin-top: 10px;
+    background-color: #220;
+}
+
+.success {
+    width: 98%;
+    border: 1px solid #0d3;
+    margin-top: 10px;
+    background-color: #021;
 }
 
 .erreur {
     font-weight: bold;
-    color: #ff0000;
+    color: #d00;
     background: inherit;
     margin-top: 0.5em;
     margin-bottom: 0.5em;
@@ -81,23 +122,47 @@ p {
     background: inherit;
 }
 
+input.error, textarea.error {
+    background-color: #faa;
+}
+
+input.valid, textarea.valid {
+    background-color: #afa;
+}
+
+input.warning, textarea.warning {
+    background-color: #fda;
+}
+
 h1 {
-    color: #fff;
-    background: none;
+    background-color: inherit;
+    margin: 0.5em 0 0.5em -8px;
+    text-indent: 0em;
+    padding: 20px 0 0 0px;
+
+    font-size: 130%;
+    font-family: "helvetica", sans-serif;
+    font-weight: bolder;
+    text-align: left;
+
+    color: #bdf;
 }
 
 h2 {
-    padding: 0.5em 0em 0em 0em;
-    margin: 0em;
-    font-size: 100%;
+    padding: 15px 0em 0em 0em;
+    margin: 0;
+    margin-left: -8px;
+    font-size: 110%;
     font-weight: bold;
+    background: inherit;
+    color: #77c;
 }
 
 h3 {
     margin: 0em;
     font-weight: bold;
     padding: 0.25em;
-    font-size: 100%;
+    font-size: 105%;
 }
 
 p.explication, div.explication {
@@ -106,34 +171,56 @@ p.explication, div.explication {
 }
 
 li.spaced {
-    padding-top: 0.5em;
-    padding-bottom: 0.5em;
+    padding-top: 0.2em;
+    padding-bottom: 0.3em;
     text-align: justify;
 }
 
+pre {
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
+    margin: 0em 0em;
+    padding: 0.3em 1.5em;
+}
+
+.pair pre {
+    background: inherit;
+}
+
+
 /*******************************************************************************
     3   Tableaux bicolores + classes utiles
         [ Tableaux à lignes alternées, en taille normale, ou tiny ]
 *******************************************************************************/
 table.bicol, table.tinybicol {
-    background: url('../images/skins/keynote_bg_lighter.png') top left repeat-x;
-    background-attachment: fixed;
-    border: none;
-    border-top: 1px solid #fff;
-    border-left: 1px solid #fff;
-    color: #000;
+    color: inherit;
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
+    border-width: 1px 0 0 1px;
+    border-style: solid;
+    border-color: #fff;
+    border-collapse: collapse;
 }
+table.bicol     { width: 100%; margin-left: 0; }
+table.tinybicol { width: 70%; margin-left: 15%; }
 
 table.tinybicol tr.pair, table.bicol tr.pair {
-    background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x;
-    background-attachment: fixed; 
+    color: inherit;
+    background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
 }
 
 table.tinybicol th, table.bicol th {
-    color: #ffffff;
-    background: url('../images/skins/keynote_title.gif') top left repeat-x;
+    color: #fff;
+    font-weight: bold;
+    text-align: center;
+    vertical-align: middle;
+    background: none;
     background-color: #000;
 }
+
+table.tinybicol tr:first-child th, table.bicol tr:first-child th {
+    color: #fff;
+    background: url('../images/skins/keynote_title.gif') #000 top left repeat-x;
+}
+
 table.tinybicol td, table.bicol td {
     color: #000000;
     background: inherit;
@@ -142,7 +229,7 @@ table.tinybicol td, table.bicol td {
 table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; }
 
 td.half { width: 50%; padding: 4px; }
-td.titre {
+.titre {
     color: #000000;
     background: inherit;
     font-weight: bold;
@@ -155,58 +242,82 @@ td.action {
 }
 td.action a { padding: 0px 2px 0px 2px; }
 
+th.grayed {
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
+    font-style: italic;
+}
+
 /*******************************************************************************
     4   Tableau de choix de skins
         [ Styles pour les tableaux de types de ceux des skins ]
 *******************************************************************************/
 
 #skin {
-    background: url('../images/skins/keynote_bg_lighter.png') top left repeat-x;
-    background-attachment: fixed; 
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
     color: #000;
-    border-bottom: none;
     border-top: 1px solid #fff;
+    width: 100%;
 }
 #skin td {
     border-bottom: 1px solid #fff;
-    border-top: none;
     vertical-align: middle;
 }
 #skin td.skigauche {
-    background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x;
-    background-attachment: fixed;
+    background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
+    color: inherit;
+    vertical-align: middle;
+}
+#skin td.skimilieu {
+    padding-left: 1em;
+    width: 100%;
 }
+#skin td.skidroite { padding: 0; }
 
 /*******************************************************************************
     5   Contacts
         [ Styles liés à l'affichage de contacts ]
 *******************************************************************************/
 
+div.contact-list {
+    width: 98%;
+    margin-left: 1%;
+}
 div.contact-list div.contact {
     border-top: 1px solid #fff;
-    background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x;
-    background-attachment: fixed;
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
     color: #000;
 }
 
-div.grayed {
-    color: #444444;
+div.contact-list div.grayed {
     font-style: italic;
+    color: #444;
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
+}
+
+div.contact-list div.contact:hover {
+    background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
+}
+
+.contact .photo {
+    float: left;
 }
 
-div.grayed div.contact {
-    background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x;
-    background-attachment: fixed;
+.contact .photo img {
+    width: 40px;
+    margin-right: 4px;
+}
+
+div.contact div.identity {
+    float: left;
+    width: 70%;
 }
 
 div.contact div.nom {
     font-weight: bold;
-    width: 35%;
-    float: left;
+    padding-left: 2px;
 }
 
 div.contact div.appli {
-    float: left;
 }
 
 div.contact div.bits {
@@ -215,81 +326,72 @@ div.contact div.bits {
 }
 
 div.contact div.long {
-    background: url('../images/skins/keynote_bg_lighter.png') top left repeat-x;
-    background-attachment: fixed;
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
+    width: 100%;
+    clear: both;
+    color: inherit;
+    padding: 1px 0px;
 }
 
+div.long table { width: 100%; }
+div.long td.lt { width: 25%; font-style: italic; }
+div.long td.rt { width: 75%; }
+
 /*******************************************************************************
     6   Profil
         [ onglets des profils ]
 *******************************************************************************/
-  
-table.flags {
-    margin: 1em 0em 0em 0em;
-}
-table.flags input { margin: 0px 2px; padding: 0px; }
 
-table.flags td.texte, tr.flags td.texte {
-    font-size: smaller;
-    font-weight: bold;
-    padding: 3px;
+.wizard {
+    margin-left: -16px;
 }
-table.flags td.vert, tr.flags td.vert {
-    background: green;
-    padding: 3px;
-    text-align: center;
+
+.wizard .wiz_header {
+    height: 32px;
+    width: 100%;
+    background: url('../images/skins/wiz_background.png') top right repeat-x;
+    margin-bottom: 1em;
 }
-table.flags td.orange, tr.flags td.orange {
-    background: #ff9900;
-    padding: 3px;
+
+.wizard .wiz_header .wiz_tab {
+    background: url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
+    height: 100%;
     text-align: center;
+    font-size: 75%;
+    border-right: 1px solid #888;
 }
-table.flags td.rouge, tr.flags td.rouge {
-    background: red;
-    padding: 3px;
-    text-align: center;
+
+.wizard .wiz_header .wiz_tab:hover {
+    background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
+    color: #fff;
 }
 
-table.cadre_a_onglet{
-    border-width: 0;
-    padding : 0;
-    margin: 0;
+.wizard .wiz_header .active, .wizard .wiz_header .active:hover {
+    background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
+    color: #fff;
 }
 
-td.conteneur_tab {
-    border-width: 1px 1px 1px 1px;
-    border-style: solid;
-    border-color: #9c9c9c;
-    border-left-color: #eee;
-    padding: 8px 4px 4px 4px;
-    background : url('../images/skins/keynote_topborder.png') top repeat-x;
-}
-
-#onglet {
-    display : block;
-    margin : 0;
-    padding : 0;
-}
-
-#onglet li {
-    display : block;
-    float : left;
-    padding : 0.4ex;
-    margin : 0 0.3ex -1px 3px;
-    background : #ddd;
-    border: none;
-    border-bottom: 1px solid #9C9C9C;
-    width: auto;
-    height: 5ex;
-    text-align: center;
+.wizard .wiz_header a {
     color: #000;
+    text-decoration: none;
 }
 
-#onglet li:hover { background : #ccc; }
+.wizard .wiz_header a.active {
+    color: #fff;
+}
 
-#onglet li.actif {
-    background : #dedede;
-    border-bottom: 1px solid #dedede;
+.wizard .wiz_content {
+    margin-left: 16px;
+}
+
+.flags .texte {
+    font-size: smaller;
+    font-weight: bold;
+    margin-left: -6px;
+    padding: 0 12px 0 0;
+}
+.flags img {
+    padding: 0 6px 0 0;
 }
 
 /*******************************************************************************
@@ -298,28 +400,50 @@ td.conteneur_tab {
 *******************************************************************************/
 
 #fiche {
+    width: 740px;
     color: #000;
-    border: none;
     border-top: 1px solid #fff;
     border-left: 1px solid #fff;
-    background: url('../images/skins/keynote_bg_lighter.png') top left repeat-x;
-    background-attachment: fixed;
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
+    vertical-align: top;
 }
 
 #fiche em {
     color: #777;
+    background: inherit;
     font-weight: bolder;
 }
 
 #fiche h2 {
     background: url('../images/skins/keynote_title.gif') bottom repeat-x;
+    background-color: inherit;
+    border-bottom: 1px solid #202020;
     color: #fff;
-    border: none;
     height: 17px;
-    margin-right: 0;
+    margin: 0.5em 0;
+    padding-left: 0.5em;
+    font-weight: bold;
 }
 
-#photo { padding-left: 0em; }
+#fiche .part {
+    float: left;
+    clear: left;
+    width: 70%;
+    padding-right: 0em;
+    margin-right: 0em;
+}
+
+#fiche #photo {
+    float: right;
+    padding-left: 0em;
+    margin-left: 0em;
+    clear: right;
+    width: 30%;
+}
+
+#fiche #photo img {
+    width: 100%;
+}
 
 #fiche_identite div.civilite {
     text-align: center;
@@ -327,24 +451,42 @@ td.conteneur_tab {
     width: 80%;
     float: left;
     color: #fff;
+    background: inherit;
+    padding-top: 0.5ex;
+}
+
+#fiche_identite div.maj {
+    float: right;
+    width: 19%;
+    font-size: 75%;
+    text-align: right;
+    vertical-align: top;
+    padding: 0.5ex 1ex 1ex 0ex;
+    clear: right;
 }
 
 #fiche_identite div.contact {
-    border: none;
-    border-top: 1px dotted #fff;
-    border-left: 1px dotted #fff;
-    background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x;
-    background-attachment: fixed;
+    clear: both;
+    margin: 1em;
+    padding: 1ex;
+    border-width: 1px 0 0 1px;
+    border-style: dotted;
+    border-color: #fff;
+    background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
+    color: inherit;
 }
 
 #fiche_identite div.contact em {
     color: #aaa;
+    background: inherit;
 }
 
+
 #fiche_identite div.email {
     clear: left;
     float: left;
 }
+
 #fiche_identite div.mob {
     float: right;
     clear: right;
@@ -357,18 +499,51 @@ td.conteneur_tab {
 }
 
 div.adresse {
-    float: left;
-    width: 46%;
+    min-width: 30%;
     padding: 0px;
-    margin: 0px 1% 1ex 1%;
+    margin: 0px 1% 2ex 2%;
+}
+
+#fiche .medal_frame {
+    float: left;
+    width: 33%;
+}
+
+#fiche .medal_frame img {
+    float: left;
+    padding: 0ex 1ex;
+}
+
+#fiche .medal_text {
+    vertical-align: middle;
+    font-weight: bold;
 }
 
 /* only for fiche_referent.php*/
 
+#fiche_referent .part {
+    width: 100%;
+}
+
+#fiche_referent #fiche_identite div.civilite {
+    width: 100%;
+}
+
+#fiche_referent div.rubrique_referent{
+    float: left;
+    width: 30%;
+    padding: 0px;
+    margin: 0px 1% 1ex 2%;
+    text-align: justify;
+}
+
 #fiche_referent em {
     color: #777;
+    background: inherit;
     font-weight: bolder;
 }
+#fiche_referent ul { margin: 0px; padding: 0px 1em; }
+#fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; }
 
 /*******************************************************************************
     A   SKIN
@@ -376,85 +551,120 @@ div.adresse {
 *******************************************************************************/
 
 #dev {
-    width: 100%;
+    width: auto;
     text-align: center;
     padding: 1px;
 
-    color: #003399;
-    background: #e0ffff;
-
-    font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif;
-    font-size: 10pt;
+    background: url('../images/skins/keynote_bg_verylighter.png') #bbbbaa top left repeat-x fixed;
+    color: #000;
     font-weight: bold;
 }
 
-#dev a { text-decoration: underline; }
-#dev a:hover { color: #003399; background: #c0e0e0; }
+#dev a { text-decoration: none; }
 
-#db-trace div.hide       { display: none; }
-#db-trace:hover div.hide { display: block }
+.backtrace div.hide       { display: none; }
+.backtrace:hover div.hide { display: block; }
+.backtrace h1 { padding: 0; margin: 0; }
 
 #suid {
     color: red;
     background: #ffc0cb;
-    width: 100%;
+    width: auto;
     font-weight: bold;
+    text-align: center;
+}
+#suid a {
+    color: red;
+    background: inherit;
+    text-decoration: none;
+    display: block;
+}
+#suid:hover {
+    color: red;
+    background: #ffffcb;
+}
+#suid a:hover {
+    color: #ff7000;
+    background: inherit;
 }
-#suid td { padding: 2px; }
-#suid a { color: red; }
 
 #body {
-    width: 740px;
+    width: 800px;
     margin-left: auto;
     margin-right: auto;
 }
 
 #body-logo {
     width: 140px;
-    border: none;
-    padding-top: none;
+    padding-top: 0;
+    text-align: center;
 }
 
 #body-top {
-    padding: none;
-    padding-bottom: 16px;
+    padding: 0 0 16px 0;
+    text-align: center;
+    font-size: 85%;
+    border-bottom: 1px solid #fff;
 }
+#body-top table { width: 100%; padding: 4px; }
+#body-top .date-heure { text-align: left; }
+#body-top .inscrits { text-align: right; }
+
 
 #body-bottom {
-    border-top: 1px solid #fff;
+    border-top: 1px solid #aaa;
+    text-align: center;
+    padding: 4px;
+    font-size: 75%;
+    font-family: "MS Sans Serif", sans-serif;
 }
 
 #body-menu {
+    width: 140px;
+    text-align: center;
+    font-size: 85%;
+    font-weight: bold;
+    white-space: nowrap;
     border-right: 1px solid #fff;
 }
 
+#body-menu .menu_item {
+    text-align: left;
+    padding: 2px;
+}
+
 #body-menu a:link, #body-menu a:visited, #body-menu a:active, #body-meny a:hover {
     color: #fff;
+    background: inherit;
     text-decoration: none;
 }
 
 #body-menu .menu_item:hover {
+    color: inherit;
     background-color: #556;
 }
 
 #body-menu .menu_title {
     color: #fff;
     height: 17px;
-    background: url('../images/skins/keynote_title.gif') top repeat-x;
-    border: none;
-    padding: 0;
-    padding-top: 4px;
+    background: url('../images/skins/keynote_title.gif') bottom repeat-x;
+    background-color: inherit;
+    border-bottom: 1px solid #202020;
+    padding: 4px 0 0 0;
     text-align: center;
-    vertical-align: middle;
+    vertical-align: bottom;
 }
 
 #content {
-    padding-top: 0;
+    width: 600px;
+    padding: 0 0 4px 16px;
     vertical-align: top;
+    font-size: 95%;
 }
 
-#quick_search {
+.quick_search {
     color: gray;
+    background: #fff;
     text-align: right;
 }
 
@@ -467,4 +677,12 @@ div#content {
     font-size: 95%;
 }
 
+#menu-evts {
+    font-size: 85%;
+}
+
+.ac_results {
+       color:  black;
+}
+
 /* vim: set et ts=4 sts=4 sw=4: */