A small CSS tweak again
[platal.git] / htdocs / css / openweb.css
index abc7680..b7b64e0 100644 (file)
@@ -89,6 +89,18 @@ 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: #369;
     font-size: 140%;
@@ -268,31 +280,70 @@ div.long td.rt { width: 65%; }
     6   Profil
         [ onglets des profils ]
 *******************************************************************************/
-  
-table.flags {
-    margin: 1em 0em 0em 0em;
+
+.wizard {
+    margin-left: -1em;
+    margin-right: -1em;
+}
+
+.wizard .wiz_header {
+    height: 32px;
+    width: 100%;
+    background: url('../images/skins/wiz_normal.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;
 }
-table.flags input { margin: 0px 2px; padding: 0px; }
 
-table.flags td.texte {
+.wizard .wiz_header a {
+    color: #000;
+    text-decoration: none;
+    vertical-align: middle;
+}
+
+.wizard .wiz_header a.active {
+    color: #fff;
+}
+
+.wizard .wiz_content {
+    margin-left: 1em;
+    margin-right: 1em;
+}
+
+.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{
@@ -369,9 +420,29 @@ div#body {
 
 #fiche em { color: purple; }
 
+#fiche .part {
+    float: left;
+    clear: left;
+    width: 70%;
+    padding: 0em;
+    margin: 0em;
+}
+
+#fiche #photo {
+    float: right;
+    padding-left: 0;
+    padding; 0;
+    margin: 0;
+    clear: right;
+    width: 30%;
+}
+
+#fiche #photo img {
+    width: 100%;
+}
+
 #fiche_identite {
     padding: 5px;
-    width: 600px;
 }
 
 #photo {
@@ -416,14 +487,28 @@ div#body {
 }
 
 div.adresse {
-    float: left;
-    width: 48%;
+    min-width: 30%;
     padding: 0px;
-    margin: 0px 1% 1ex 1%;
+    margin: 0px 2% 2ex 1%;
 }
 
 div.adresse div.titre { color: purple; }
 
+#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{
@@ -469,24 +554,37 @@ div.adresse div.titre { color: purple; }
     background: #f5f8fc;
 }
 
-#db-trace div.hide       { display: none; }
-#db-trace:hover div.hide { display: block }
-#db-trace h1 { margin: 0px; }
+.backtrace div.hide       { display: none; }
+.backtrace:hover div.hide { display: block }
+.backtrace h1 { margin: 0px; }
 
 #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; }
 
 table#body {
     color: #000;
     background: #fff;
     border: 3px solid #000;
-    
+
     width: 900px;
     margin: 1em auto;
 }