Typo in css, now default.css should be valid.
[platal.git] / htdocs / css / default.css
index fd2dba7..b669e82 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   *
@@ -73,6 +73,27 @@ p {
     text-align: justify;
 }
 
+.errors {
+    margin-top: 10px;
+    border: 1px solid #f00;
+    background-color: #fcc;
+    width: 98%;
+}
+
+.warnings {
+    margin-top: 10px;
+    border: 1px solid #ed0;
+    background-color: #ffc;
+    width: 98%;
+}
+
+.success {
+    margin-top: 10px;
+    border: 1px solid #0d2;
+    background-color: #cfd;
+    width: 98%;
+}
+
 .erreur {
     font-weight: bold;
     color: #ff0000;
@@ -248,23 +269,28 @@ div.contact-list div.contact {
     color: inherit;
 }
 
-div.grayed {
-    color: #444444;
-    font-style: italic;
+div.contact-list div.grayed {
+   color: #444444;
+   font-style: italic;
+   background: #eee;
 }
 
-div.grayed div.contact {
-    background: #eee;
+.contact .photo {
+    float: left;
 }
 
-div.contact div.nom {
-    font-weight: bold;
-    width: 35%;
-    float: left;
+.contact .photo img {
+    width: 40px;
+    margin-right: 4px;
 }
 
-div.contact div.appli {
+div.contact div.identity {
     float: left;
+    width: 90%;
+}
+
+div.contact div.nom {
+    font-weight: bold;
 }
 
 div.contact div.bits {
@@ -282,7 +308,7 @@ div.contact div.long {
 }
 
 div.long table { width: 100%; }
-div.long td.lt { width: 35%; }
+div.long td.lt { width: 35%; font-style: italic; }
 div.long td.rt { width: 65%; }
 
 /*******************************************************************************
@@ -303,28 +329,26 @@ div.long td.rt { width: 65%; }
 }
 
 .wizard .wiz_header .wiz_tab {
-    background; url('../images/skins/wiz_normal.png') #aaa top left repeat-x;
-    vertical-align: middle;
+    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;
 }
 
-.wizard .wiz_header .active {
-    background: url('../images/skins/wiz_active.png') #444 top left repeat-x;
+.wizard .wiz_header .wiz_tab:hover {
+    background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
     color: #fff;
 }
 
-.wizard .wiz_header .wiz_tab:hover {
-    background: url('../images/skins/wiz_hover.png') #777 top left repeat-x;
+.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 {
@@ -335,87 +359,16 @@ div.long td.rt { width: 65%; }
     margin-left: 16px;
 }
 
-.flags {
-    margin: 0.5em 0 0 0;
-    padding: 0;
-}
-.flags input {
-    margin: 0px 2px;
-    padding: 0px;
-}
 .flags .texte {
     font-size: smaller;
     font-weight: bold;
-    padding: 0 8px 0 0;
+    margin-left: -6px;
+    padding: 0 12px 0 0;
 }
-.flags .vert {
-    background: url('../images/icons/flag_green.gif') top right no-repeat;
-    padding: 0 16px 0 0;
-    margin-left: 16px;
-}
-.flags .orange {
-    background: url('../images/icons/flag_orange.gif') top right no-repeat;
-    padding: 0 16px 0 0;
-    margin-left: 16px;
-}
-.flags .rouge {
-    background: url('../images/icons/flag_red.gif') top right no-repeat;
-    padding: 0 16px 0 0;
-    margin-left: 16px;
-}
-
-table.cadre_a_onglet{
-    border-width: 0;
-    padding : 0;
-    margin: 0;
-}
-
-td.conteneur_tab {
-    border-width : 1px 2px 2px 1px;
-    border-style : solid;
-    border-color : #999;
-    padding : 4px 4px 4px 4px;
-    background : #eceade;
-}
-
-#onglet {
-    display : block;
-    margin : 0;
-    padding : 0;
-}
-
-#onglet li {
-    display : block;
-    float : left;
-    padding : 0.4ex;
-    margin : 0 0.3ex -1px 0;
-    background : #D2E0E6  repeat-x 0 100%;
-    border-width : 1px 1px 0px 1px;
-    border-style : solid;
-    border-color : #999;
-    border-bottom-color : #999;
-    width: auto;
-    height: 5ex;
-    text-align: center;
-}
-
-#onglet li:hover { background : #fc3 repeat-x 0 100%; }
-
-#onglet li.actif {
-    background : #eceade;
-    border-bottom-color : #eceade;
-    font-weight: bold;
-}
-
-#onglet li a {
-    font-size: 80%;
-    font-weight : normal;
-    text-decoration : none;
-    color : #000;
+.flags img {
+    padding: 0 6px 0 0;
 }
 
-#onglet li a:hover { text-decoration: underline; }
-#onglet li img { margin-right : 2px; }
 
 /*******************************************************************************
     7   fiche.php & fiche_referent.php