A small CSS tweak again
[platal.git] / htdocs / css / keynote.css
index 82c6b80..334b8fe 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *  Copyright (C) 2003-2006 Polytechnique.org                              *
+ *  Copyright (C) 2003-2007 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -25,7 +25,7 @@
 
 body {
     font-family: "Arial", sans-serif;
-    font-size: 90%;
+    font-size: 10pt;
     background: url('../images/skins/keynote_bg.png') #4f4e63 top left repeat-x fixed;
     color: #fff;
 }
@@ -39,24 +39,29 @@ a:hover { color: #999; }
 img   { vertical-align: middle; }
 a img { border: 0px; }
 td    { vertical-align: top; }
-li    { padding-left: 3px; padding-right: 3px; 
+li    { padding-left: 3px; padding-right: 3px;
         text-align: justify; }
 hr    { text-align: center; }
+dt    { font-weight: bold; }
 
 fieldset {
-    border-top: 1px solid #fff;
-    border-left: 1px solid #fff;
+    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 solid #fff;
+    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; }
@@ -76,6 +81,11 @@ legend {
 p {
     margin-bottom: 0.4em;
     text-align: justify;
+    text-indent: 2em;
+}
+
+p.smaller {
+    text-indent: 0;
 }
 
 .erreur {
@@ -91,25 +101,37 @@ 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 {
-    background: url('../images/skins/keynote_titlepuce2.gif') top left no-repeat;
     background-color: inherit;
-    margin: 0.5em 0 0.5em 0;
-    text-indent: 0.2em;
-    padding: 6px 0 0 24px;
+    margin: 0.5em 0 0.5em -8px;
+    text-indent: 0em;
+    padding: 20px 0 0 0px;
 
-    font-size: 120%;
+    font-size: 130%;
     font-family: "helvetica", sans-serif;
     font-weight: bolder;
     text-align: left;
 
-    color: #bbf;
+    color: #bdf;
 }
 
 h2 {
-    padding: 0.5em 0em 0em 0em;
+    padding: 15px 0em 0em 0em;
     margin: 0;
-    font-size: 100%;
+    margin-left: -8px;
+    font-size: 110%;
     font-weight: bold;
     background: inherit;
     color: #77c;
@@ -119,7 +141,7 @@ h3 {
     margin: 0em;
     font-weight: bold;
     padding: 0.25em;
-    font-size: 100%;
+    font-size: 105%;
 }
 
 p.explication, div.explication {
@@ -133,6 +155,12 @@ li.spaced {
     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;
+}
+
 /*******************************************************************************
     3   Tableaux bicolores + classes utiles
         [ Tableaux à lignes alternées, en taille normale, ou tiny ]
@@ -145,7 +173,7 @@ table.bicol, table.tinybicol {
     border-color: #fff;
     border-collapse: collapse;
 }
-table.bicol     { width: 98%; margin-left: 1%; }
+table.bicol     { width: 100%; margin-left: 0; }
 table.tinybicol { width: 70%; margin-left: 15%; }
 
 table.tinybicol tr.pair, table.bicol tr.pair {
@@ -158,8 +186,15 @@ table.tinybicol th, table.bicol th {
     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;
@@ -168,7 +203,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;
@@ -181,6 +216,11 @@ 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 ]
@@ -190,8 +230,7 @@ td.action a { padding: 0px 2px 0px 2px; }
     background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
     color: #000;
     border-top: 1px solid #fff;
-    width: 98%;
-    margin-left: 1%;
+    width: 100%;
 }
 #skin td {
     border-bottom: 1px solid #fff;
@@ -263,29 +302,68 @@ div.long td.rt { width: 65%; }
     6   Profil
         [ onglets des profils ]
 *******************************************************************************/
-  
-table.flags, tr.flags {
-    margin: 0.5em 0 0 0;
-    padding: 0;
+
+.wizard {
+    margin-left: -16px;
+}
+
+.wizard .wiz_header {
+    height: 32px;
+    width: 100%;
+    background: url('../images/skins/wiz_background.png') top right repeat-x;
+    margin-bottom: 1em;
+}
+
+.wizard .wiz_header .wiz_tab {
+    background; url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
+    vertical-align: middle;
+    height: 100%;
+    text-align: center;
+    font-size: 75%;
+    border-right: 1px solid #888;
+}
+
+.wizard .wiz_header .wiz_tab:hover {
+    background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
+    color: #fff;
+}
+
+.wizard .wiz_header .active, .wizard .wiz_header .active:hover {
+    background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
+    color: #fff;
+}
+
+.wizard .wiz_header a {
+    color: #000;
+    text-decoration: none;
+    vertical-align: middle;
+}
+
+.wizard .wiz_header a.active {
+    color: #fff;
+}
+
+.wizard .wiz_content {
+    margin-left: 16px;
 }
-table.flags input { margin: 0px 2px; padding: 0px; }
 
-table.flags td.texte, tr.flags td.texte {
+.flags input {
+    padding: 0 0px 0 16px;
+    width: 32px;
+}
+.flags .texte {
     font-size: smaller;
     font-weight: bold;
     padding: 0 8px 0 0;
 }
-table.flags td.vert, tr.flags td.vert {
+.flags .vert {
     background: url('../images/icons/flag_green.gif') top right no-repeat;
-    padding: 0 16px 0 0;
 }
-table.flags td.orange, tr.flags td.orange { 
+.flags .orange {
     background: url('../images/icons/flag_orange.gif') top right no-repeat;
-    padding: 0 16px 0 0;
 }
-table.flags td.rouge, tr.flags td.rouge {
+.flags .rouge {
     background: url('../images/icons/flag_red.gif') top right no-repeat;
-    padding: 0 16px 0 0;
 }
 
 table.cadre_a_onglet{
@@ -311,7 +389,7 @@ td.conteneur_tab {
     display : block;
     float : left;
     padding : 0.4ex;
-    margin : 0 0.3ex -1px 3px;
+    margin: 0 0.3ex -1px 3px;
     border: 1px solid #9c9c9c;
     border-right: none;
     background: #cecece;
@@ -341,9 +419,9 @@ td.conteneur_tab {
     text-decoration: none;
     color: #000;
     background: inherit;
-}
-#onglet li a:hover {
-    text-decoration: underline;
+    display: block;
+    width: 100%;
+    height: 100%;
 }
 #onglet li img { margin-right: 2px; }
 
@@ -378,12 +456,25 @@ td.conteneur_tab {
     font-weight: bold;
 }
 
-#fiche_identite {
-    padding: 5px;
-    width: 600px;
+#fiche .part {
+    float: left;
+    clear: left;
+    width: 70%;
+    padding-right: 0em;
+    margin-right: 0em;
 }
 
-#photo { padding-left: 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;
@@ -392,14 +483,16 @@ td.conteneur_tab {
     float: left;
     color: #fff;
     background: inherit;
+    padding-top: 0.5ex;
 }
 
 #fiche_identite div.maj {
-    float: left;
-    width: 20%;
+    float: right;
+    width: 19%;
     font-size: 75%;
     text-align: right;
     vertical-align: top;
+    padding: 0.5ex 1ex 1ex 0ex;
     clear: right;
 }
 
@@ -419,10 +512,12 @@ td.conteneur_tab {
     background: inherit;
 }
 
+
 #fiche_identite div.email {
     clear: left;
     float: left;
 }
+
 #fiche_identite div.mob {
     float: right;
     clear: right;
@@ -435,25 +530,42 @@ 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{
-    padding: 10px;
+#fiche_referent .part {
+    width: 100%;
+}
+
+#fiche_referent #fiche_identite div.civilite {
     width: 100%;
 }
 
 #fiche_referent div.rubrique_referent{
     float: left;
-    width: 31%;
+    width: 30%;
     padding: 0px;
-    margin: 0px 1% 1ex 1%;
-
+    margin: 0px 1% 1ex 2%;
+    text-align: justify;
 }
 
 #fiche_referent em {
@@ -475,27 +587,40 @@ div.adresse {
     padding: 1px;
 
     background: url('../images/skins/keynote_bg_verylighter.png') #bbbbaa top left repeat-x fixed;
-    
     color: #000;
     font-weight: bold;
 }
 
 #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: 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; background: inherit; }
 
 #body {
-    width: 740px;
+    width: 800px;
     margin-left: auto;
     margin-right: auto;
 }
@@ -518,7 +643,7 @@ div.adresse {
 
 
 #body-bottom {
-    border-top: 1px solid #fff;
+    border-top: 1px solid #aaa;
     text-align: center;
     padding: 4px;
     font-size: 75%;
@@ -528,7 +653,7 @@ div.adresse {
 #body-menu {
     width: 140px;
     text-align: center;
-    font-size: 78%;
+    font-size: 85%;
     font-weight: bold;
     white-space: nowrap;
     border-right: 1px solid #fff;
@@ -568,7 +693,7 @@ div.adresse {
     font-size: 95%;
 }
 
-#quick_search {
+.quick_search {
     color: gray;
     background: #fff;
     text-align: right;
@@ -583,4 +708,16 @@ div#content {
     font-size: 95%;
 }
 
+#menu-evts {
+    font-size: 85%;
+}
+
+.ac_results {
+    font-size: 90%;
+    background: #fff;
+}
+
+.ac_results li.over {
+    color: #777;
+}
 /* vim: set et ts=4 sts=4 sw=4: */