X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fcss%2Fdefault.css;h=21e353796b379da5b7012d79b66be8f2c7baf6ec;hb=8a43972f58f0a77015ae9e509f1c073d188874d2;hp=47c28713223d6fb9cb680d49b1193b88518b7d52;hpb=868e1370016669582b0845cb90a80e87f412f205;p=platal.git diff --git a/htdocs/css/default.css b/htdocs/css/default.css index 47c2871..abe4e46 100644 --- a/htdocs/css/default.css +++ b/htdocs/css/default.css @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2003-2006 Polytechnique.org * + * Copyright (C) 2003-2009 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 { @@ -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; @@ -86,6 +107,22 @@ p { background: inherit; } +.hinted { + border-bottom: 1px dashed black; +} + +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'); @@ -136,8 +173,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 +198,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; @@ -182,6 +228,18 @@ td.action { } td.action a { padding: 0px 2px 0px 2px; } +div.titre { + color: #000000; + background: inherit; + font-weight: bold; +} + +span.titre { + color: #000000; + background: inherit; + font-weight: bold; +} + /******************************************************************************* 4 Tableau de choix de skins [ Styles pour les tableaux de types de ceux des skins ] @@ -227,28 +285,34 @@ 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: 85%; +} + +div.contact div.nom { + font-weight: bold; } div.contact div.bits { text-align: right; float: right; + width: 14%; } div.contact div.long { @@ -261,92 +325,67 @@ 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: 18%; font-style: italic; } +div.long td.rt { width: 82%; } /******************************************************************************* 6 Profil [ onglets des profils ] *******************************************************************************/ - -table.flags { - margin: 1em 0em 0em 0em; -} -table.flags input { margin: 0px 2px; padding: 0px; } -table.flags td.texte, tr.flags td.texte { - font-size: smaller; - font-weight: bold; - padding: 3px; -} -table.flags td.vert, tr.flags td.vert { - background: green; - padding: 3px; - text-align: center; +.wizard { + margin-top: -4px; + margin-left: -16px; } -table.flags td.orange, tr.flags td.orange { - background: #ff9900; - padding: 3px; - text-align: center; + +.wizard .wiz_header { + height: 32px; + width: 100%; + background: url('../images/skins/wiz_background.png') top right repeat-x; + margin-bottom: 1em; } -table.flags td.rouge, tr.flags td.rouge { - background: red; - padding: 3px; + +.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; } -table.cadre_a_onglet{ - border-width: 0; - padding : 0; - margin: 0; +.wizard .wiz_header .wiz_tab:hover { + background: url('../images/skins/wiz_hover.png') #777 top left repeat-x; + color: #fff; } -td.conteneur_tab { - border-width : 1px 2px 2px 1px; - border-style : solid; - border-color : #999; - padding : 4px 4px 4px 4px; - background : #eceade; +.wizard .wiz_header .active, .wizard .wiz_header .active:hover { + background: url('../images/skins/wiz_active.png') #444 top left repeat-x; + color: #fff; } -#onglet { - display : block; - margin : 0; - padding : 0; +.wizard .wiz_header a { + color: #000; + text-decoration: none; } -#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; +.wizard .wiz_header a.active { + color: #fff; } -#onglet li:hover { background : #fc3 repeat-x 0 100%; } +.wizard .wiz_content { + margin-left: 16px; +} -#onglet li.actif { - background : #eceade; - border-bottom-color : #eceade; +.flags .texte { + font-size: smaller; font-weight: bold; + margin-left: -6px; + padding: 0 12px 0 0; } - -#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 @@ -371,13 +410,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 +449,7 @@ td.conteneur_tab { font-size: 75%; text-align: right; clear: right; + padding-bottom: 1ex; } #fiche_identite div.contact { @@ -416,20 +475,36 @@ td.conteneur_tab { } div.adresse { - float: left; - width: 48%; + min-width: 30%; padding: 0px; - margin: 0px 0.5% 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%; } @@ -438,7 +513,7 @@ div.adresse strong { width: 31%; padding: 0px; margin: 0px 1% 1ex 1%; - + text-align: justify; } #fiche_referent em{color: purple;} @@ -466,17 +541,30 @@ div.adresse strong { #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; @@ -530,6 +618,10 @@ div.adresse strong { text-align: left; } +#body-menu .menu_item a { + text-decoration:none; +} + #body-menu .menu_title { color: gray; background: #eeeeee; @@ -547,7 +639,7 @@ div.adresse strong { vertical-align: top; } -#quick_search { +.quick_search { color: gray; text-align: right; } @@ -561,4 +653,8 @@ div#content { font-size: 95%; } +#menu-evts { + font-size: 85%; +} + /* vim: set et ts=4 sts=4 sw=4: */