Add user photo to the "minifiche".
[platal.git] / htdocs / css / keynote.css
index 2147954..7461091 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *  Copyright (C) 2003-2007 Polytechnique.org                              *
+ *  Copyright (C) 2003-2008 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -39,7 +39,7 @@ 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; }
@@ -81,6 +81,11 @@ legend {
 p {
     margin-bottom: 0.4em;
     text-align: justify;
+    text-indent: 2em;
+}
+
+p.smaller {
+    text-indent: 0;
 }
 
 .erreur {
@@ -96,11 +101,23 @@ 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-color: inherit;
-    margin: 0.5em 0 0.5em 0;
+    margin: 0.5em 0 0.5em -8px;
     text-indent: 0em;
-    padding: 6px 0 0 0px;
+    padding: 20px 0 0 0px;
 
     font-size: 130%;
     font-family: "helvetica", sans-serif;
@@ -111,9 +128,10 @@ h1 {
 }
 
 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;
@@ -123,7 +141,7 @@ h3 {
     margin: 0em;
     font-weight: bold;
     padding: 0.25em;
-    font-size: 100%;
+    font-size: 105%;
 }
 
 p.explication, div.explication {
@@ -137,6 +155,17 @@ 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;
+}
+
+.pair pre {
+    background: inherit;
+}
+
+
 /*******************************************************************************
     3   Tableaux bicolores + classes utiles
         [ Tableaux à lignes alternées, en taille normale, ou tiny ]
@@ -167,7 +196,7 @@ table.tinybicol th, table.bicol th {
 }
 
 table.tinybicol tr:first-child th, table.bicol tr:first-child th {
-    color: #fff; 
+    color: #fff;
     background: url('../images/skins/keynote_title.gif') #000 top left repeat-x;
 }
 
@@ -179,7 +208,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;
@@ -192,6 +221,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 ]
@@ -229,27 +263,44 @@ div.contact-list {
 }
 div.contact-list div.contact {
     border-top: 1px solid #fff;
-    background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed;
+    background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed;
     color: #000;
 }
 
-div.grayed {
+div.contact-list div.grayed {
     font-style: italic;
-}
-div.grayed div.contact {
     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;
+}
+
+.contact .photo img {
+    width: 40px;
+    margin-right: 4px;
+}
+
+.contact .profile_content {
+    float: left;
+}
+
+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 {
@@ -266,96 +317,65 @@ div.contact div.long {
 }
 
 div.long table { width: 100%; }
-div.long td.lt { width: 35%; }
-div.long td.rt { width: 65%; }
+div.long td.lt { width: 25%; font-style: italic; }
+div.long td.rt { width: 75%; }
 
 /*******************************************************************************
     6   Profil
         [ onglets des profils ]
 *******************************************************************************/
-  
-table.flags, tr.flags {
-    margin: 0.5em 0 0 0;
-    padding: 0;
-}
-table.flags input { margin: 0px 2px; padding: 0px; }
 
-table.flags td.texte, tr.flags td.texte {
-    font-size: smaller;
-    font-weight: bold;
-    padding: 0 8px 0 0;
+.wizard {
+    margin-left: -16px;
 }
-table.flags td.vert, tr.flags td.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 { 
-    background: url('../images/icons/flag_orange.gif') top right no-repeat;
-    padding: 0 16px 0 0;
-}
-table.flags td.rouge, tr.flags td.rouge {
-    background: url('../images/icons/flag_red.gif') top right no-repeat;
-    padding: 0 16px 0 0;
+
+.wizard .wiz_header {
+    height: 32px;
+    width: 100%;
+    background: url('../images/skins/wiz_background.png') top right repeat-x;
+    margin-bottom: 1em;
 }
 
-table.cadre_a_onglet{
-    border-width: 0;
-    padding : 0;
-    margin: 0;
+.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;
 }
 
-td.conteneur_tab {
-    border: 1px solid #9c9c9c;
-    border-left-color: #eee;
-    padding: 8px 4px 4px 4px;
-    background : url('../images/skins/keynote_topborder.png') top repeat-x;
+.wizard .wiz_header .wiz_tab:hover {
+    background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
+    color: #fff;
 }
 
-#onglet {
-    display : block;
-    margin : 0;
-    padding : 0;
+.wizard .wiz_header .active, .wizard .wiz_header .active:hover {
+    background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
+    color: #fff;
 }
 
-#onglet li {
-    display : block;
-    float : left;
-    padding : 0.4ex;
-    margin: 0 0.3ex -1px 3px;
-    border: 1px solid #9c9c9c;
-    border-right: none;
-    background: #cecece;
-    width: auto;
-    height: 5ex;
-    text-align: center;
+.wizard .wiz_header a {
     color: #000;
-    font-size: 80%;
+    text-decoration: none;
 }
 
-#onglet li:hover {
-    color: #000;
-    background : #adadad;
+.wizard .wiz_header a.active {
+    color: #fff;
 }
 
-#onglet li.actif {
-    color: #000;
-    background : #dedede;
-    border: 1px solid #f0f0f0;
-    border-right: none;
-    border-bottom-color: #dedede;
-    font-weight: bold;
+.wizard .wiz_content {
+    margin-left: 16px;
 }
 
-#onglet li a {
-    font-weight: normal;
-    text-decoration: none;
-    color: #000;
-    background: inherit;
-    display: block;
-    width: 100%;
-    height: 100%;
+.flags .texte {
+    font-size: smaller;
+    font-weight: bold;
+    margin-left: -6px;
+    padding: 0 12px 0 0;
+}
+.flags img {
+    padding: 0 6px 0 0;
 }
-#onglet li img { margin-right: 2px; }
 
 /*******************************************************************************
     7   fiche.php & fiche_referent.php
@@ -388,12 +408,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;
@@ -402,14 +435,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;
 }
 
@@ -429,10 +464,12 @@ td.conteneur_tab {
     background: inherit;
 }
 
+
 #fiche_identite div.email {
     clear: left;
     float: left;
 }
+
 #fiche_identite div.mob {
     float: right;
     clear: right;
@@ -445,25 +482,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 {
@@ -485,7 +539,6 @@ div.adresse {
     padding: 1px;
 
     background: url('../images/skins/keynote_bg_verylighter.png') #bbbbaa top left repeat-x fixed;
-    
     color: #000;
     font-weight: bold;
 }
@@ -493,7 +546,8 @@ div.adresse {
 #dev a { text-decoration: none; }
 
 .backtrace div.hide       { display: none; }
-.backtrace:hover div.hide { display: block }
+.backtrace:hover div.hide { display: block; }
+.backtrace h1 { padding: 0; margin: 0; }
 
 #suid {
     color: red;
@@ -591,7 +645,7 @@ div.adresse {
     font-size: 95%;
 }
 
-#quick_search {
+.quick_search {
     color: gray;
     background: #fff;
     text-align: right;
@@ -610,4 +664,12 @@ div#content {
     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: */