Add trigWarning() too. Update xnet CSS.
[platal.git] / htdocs / css / xnet.css
index b6bfb1d..47029e8 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   *
@@ -63,6 +63,24 @@ td    { vertical-align: top; }
 h1    { font-size: 130%; }
 h2    { font-size: 115%; }
 
+.smaller {
+    font-size: smaller;
+    font-style: italic;
+}
+
+input.error, textarea.error {
+    background-color: #faa;
+}
+
+input.valid, textarea.valid {
+    background-color: #afa;
+}
+
+input.warning, textarea.warning {
+    background-color: #fda;
+}
+
+
 /***************************************************************************
  * DEBUG
  ***************************************************************************/
@@ -159,7 +177,7 @@ td#menu {
     background-color: #d0c198;
 }
 
-#menu a {
+#menu a, #menu form {
     display: block;
     padding: 0.2em 0em 0.2em 15px;
     font-size: 89%;
@@ -170,10 +188,25 @@ td#menu {
  * CLASSES
  ***************************************************************************/
 
-div.breadcrumb {
-    font-weight: bold;
-    font-size: 90%;
-    padding: 0.5em 0em;
+.errors {
+    margin-top: 10px;
+    border: 1px solid #f00;
+    background-color: #faa;
+    width: 98%;
+}
+
+.warnings {
+    margin-top: 10px;
+    border: 1px solid #dc0;
+    background-color: #ee7;
+    width: 98%;
+}
+
+.success {
+    margin-top: 10px;
+    border: 1px solid #0d2;
+    background-color: #7fa;
+    width: 98%;
 }
 
 .erreur { color: red !important; }
@@ -335,6 +368,10 @@ td.oval2 {
 
 .oval a, .oval2 a { color: #d0c198; }
 .oval a.has_site { color: white; }
+.jone a { color: #FF9; }
+.rouje a { color: #D88; }
+.jone a.has_site { color: #FE0; }
+.rouje a.has_site { color: #D00; }
 
 #content td.oval, #content td.oval2 {
     font-size: 90%;
@@ -369,39 +406,41 @@ td.infos {
 /***************************************************************************
  ***************************************************************************/
 
-td.conteneur_tab {
-    border: none;
-    padding-top: 1em;
+.wizard {
+    margin-top: 0px;
+    margin-left: -1em;
 }
 
-#onglet {
-    display : block;
-    margin : 0;
-    padding : 0;
+.wizard .wiz_header {
+    height: 30px;
+    width: 635px;
+    padding: 0 2px;
+    background: url('../images/skins/wiz_xnet_background.png') bottom left no-repeat;
+    margin-bottom: 1em;
 }
 
-#onglet li {
-    display : block;
-    float : left;
-    border: none;
-    background: inherit;
-    width: auto;
+.wizard .wiz_header .wiz_tab {
+    height: 100%;
+    text-align: center;
+    font-size: 75%;
 }
 
-#onglet li.actif {
+.wizard .wiz_header .wiz_tab:hover {
+    color: #5c81aa;
     font-weight: bold;
 }
 
-#onglet li:before {
-    font-weight: normal;
-    content: 'ยป ';
-    padding-left: 1ex;
+.wizard .wiz_header .active, .wizard .wiz_header .active:hover {
 }
 
-#onglet li:first-child:before {
-    content: '';
+.wizard .wiz_header a {
+    color: #000;
+    text-decoration: none;
+    margin-top: 2px;
+    vertical-align: bottom;
 }
 
-#onglet li img { margin-right: 2px; }
-
+.wizard .wiz_header a.active {
+    font-weight: bold;
+}