A small CSS tweak again
[platal.git] / htdocs / css / default.css
index 2211035..cfe5c39 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   *
@@ -35,14 +35,14 @@ a img { border: 0px; }
 td    { vertical-align: top; }
 li    { padding-left: 3px; padding-right: 3px; text-align: justify; }
 hr    { width: 90%; text-align: center }
+dt    { font-weight: bold; }
 
 fieldset {
     border: 1px #336699 solid;
     background: #eeeeee;
     color: inherit;
 
-    margin-top: 1em;
-    margin-bottom: 1em;
+    margin: 1em 0 1em 0;
 }
 
 legend {
@@ -86,9 +86,21 @@ 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: #555555;
-    background: url('/images/skins/default_titre.gif');
+    background: url('../images/skins/default_titre.gif');
     background-repeat: no-repeat;
 
     text-indent: 0.2em;
@@ -136,8 +148,8 @@ table.bicol {
     background: #eeeeee;
     border: 1px solid #336699;
     border-collapse: collapse;
-    width: 98%;
-    margin-left: 1%;
+    width: 100%;
+    margin-left: 0;
 }
 table.tinybicol {
     color: inherit;
@@ -161,6 +173,15 @@ table.tinybicol th, table.bicol th {
     text-align: center;
     vertical-align: middle;
 }
+
+table.tinybicol th a:link, table.tinybicol th a:visited,
+table.tinybicol th a:active, table.tinybicol th a:hover,
+table.bicol th a:link, table.bicol th a:visited,
+table.bicol th a:active, table.bicol th a:hover {
+    color: #9999FF;
+    background: inherit;
+}
+
 table.tinybicol td, table.bicol td {
     color: #000000;
     background: inherit;
@@ -268,31 +289,69 @@ div.long td.rt { width: 65%; }
     6   Profil
         [ onglets des profils ]
 *******************************************************************************/
-  
-table.flags {
-    margin: 1em 0em 0em 0em;
+
+.wizard {
+    margin-top: -4px;
+    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;
 }
-table.flags input { margin: 0px 2px; padding: 0px; }
 
-table.flags td.texte, tr.flags td.texte {
+.wizard .wiz_content {
+    margin-left: 16px;
+}
+
+.flags input {
+    padding: 0 0px 0 16px;
+    width: 32px;
+}
+.flags .texte {
     font-size: smaller;
     font-weight: bold;
-    padding: 3px;
+    padding: 0 8px 0 0;
 }
-table.flags td.vert, tr.flags td.vert {
-    background: green;
-    padding: 3px;
-    text-align: center;
+.flags .vert {
+    background: url('../images/icons/flag_green.gif') top right no-repeat;
 }
-table.flags td.orange, tr.flags td.orange {
-    background: #ff9900;
-    padding: 3px;
-    text-align: center;
+.flags .orange {
+    background: url('../images/icons/flag_orange.gif') top right no-repeat;
 }
-table.flags td.rouge, tr.flags td.rouge {
-    background: red;
-    padding: 3px;
-    text-align: center;
+.flags .rouge {
+    background: url('../images/icons/flag_red.gif') top right no-repeat;
 }
 
 table.cadre_a_onglet{
@@ -371,13 +430,32 @@ td.conteneur_tab {
     border-bottom: 1px dotted #369;
 }
 
+#fiche .part {
+    float: left;
+    clear: left;
+    width: 70%;
+    padding-left: 0;
+    padding-right: 0;
+    margin-left: 0;
+    margin-right: 0;
+}
+
+#fiche #photo {
+    float: right;
+    width: 30%;
+    padding-left: 0;
+    margin-left: 0;
+    clear: right;
+}
+
+#fiche #photo img {
+    width: 100%;
+}
+
 #fiche_identite {
     padding: 5px;
-    width: 600px;
 }
 
-#photo { padding-left: 1em; }
-
 #fiche_identite div.civilite {
     text-align: center;
     font-weight: bold;
@@ -391,6 +469,7 @@ td.conteneur_tab {
     font-size: 75%;
     text-align: right;
     clear: right;
+    padding-bottom: 1ex;
 }
 
 #fiche_identite div.contact {
@@ -416,16 +495,36 @@ td.conteneur_tab {
 }
 
 div.adresse {
-    float: left;
-    width: 46%;
+    min-width: 30%;
     padding: 0px;
-    margin: 0px 1% 1ex 1%;
+    margin: 0px 2% 1ex 1%;
+}
+
+div.adresse strong {
+    font-size: 90%;
+}
+
+#fiche .medal_frame {
+    float: left;
+    width: 33%;
+}
+
+#fiche .medal_frame img {
+    float: left;
+    padding: 0ex 1ex;
 }
 
 /* only for fiche_referent.php*/
 
+#fiche_referent .part {
+    width: 100%;
+}
+
+#fiche_referent #fiche_identite div.civilite {
+    width: 100%;
+}
+
 #fiche_referent{
-    padding: 10px;
     width: 100%;
 }
 
@@ -434,7 +533,7 @@ div.adresse {
     width: 31%;
     padding: 0px;
     margin: 0px 1% 1ex 1%;
-
+    text-align: justify;
 }
 
 #fiche_referent em{color: purple;}
@@ -447,7 +546,7 @@ div.adresse {
 *******************************************************************************/
 
 #dev {
-    width: 100%;
+    width: auto;
     text-align: center;
     padding: 1px;
 
@@ -462,17 +561,30 @@ div.adresse {
 #dev a { text-decoration: underline; }
 #dev a:hover { color: #003399; background: #c0e0e0; }
 
-#db-trace div.hide       { display: none; }
-#db-trace:hover div.hide { display: block }
+.backtrace div.hide       { display: none; }
+.backtrace:hover div.hide { display: block }
 
 #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;
@@ -526,6 +638,10 @@ div.adresse {
     text-align: left;
 }
 
+#body-menu .menu_item a {
+               text-decoration:none;
+}
+
 #body-menu .menu_title {
     color: gray;
     background: #eeeeee;
@@ -543,7 +659,7 @@ div.adresse {
     vertical-align: top;
 }
 
-#quick_search {
+.quick_search {
     color: gray;
     text-align: right;
 }
@@ -557,4 +673,8 @@ div#content {
     font-size: 95%;
 }
 
+#menu-evts {
+    font-size: 85%;
+}
+
 /* vim: set et ts=4 sts=4 sw=4: */