X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fcss%2Fkeynote.css;h=a9d35bb65252372f53280fa2753ab1fdb665995f;hb=db270710fa0b3244697299d77a4a44951c0d2484;hp=711226e7eb54542fd51ccc346299657376508253;hpb=09ad0df641f4f9f93a1dd9a099ee5951ff0029ef;p=platal.git diff --git a/htdocs/css/keynote.css b/htdocs/css/keynote.css index 711226e..a9d35bb 100644 --- a/htdocs/css/keynote.css +++ b/htdocs/css/keynote.css @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2003-2006 Polytechnique.org * + * Copyright (C) 2003-2008 Polytechnique.org * * http://opensource.polytechnique.org/ * * * * This program is free software; you can redistribute it and/or modify * @@ -25,7 +25,7 @@ body { font-family: "Arial", sans-serif; - font-size: 90%; + font-size: 10pt; background: url('../images/skins/keynote_bg.png') #4f4e63 top left repeat-x fixed; color: #fff; } @@ -39,24 +39,29 @@ a:hover { color: #999; } img { vertical-align: middle; } a img { border: 0px; } td { vertical-align: top; } -li { padding-left: 3px; padding-right: 3px; +li { padding-left: 3px; padding-right: 3px; text-align: justify; } hr { text-align: center; } +dt { font-weight: bold; } fieldset { - border-top: 1px solid #fff; - border-left: 1px solid #fff; + border: 1px solid #fff; + border-bottom: 0px; + border-right: 0px; background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed; color: #000; margin: 1em 0 1em 0; + text-align: justify; } legend { - border: 1px solid #fff; + border-bottom: 1px solid #666; + border-right: 1px solid #666; + border-top: 1px solid #fff; + border-left: 1px solid #fff; background: url('../images/skins/keynote_bg_verylighter.png') #bbbbaa top left repeat-x fixed; color: #000; - padding-left: 4px; - padding-right: 4px; + padding: 2px 4px; } .center { text-align: center; } @@ -76,6 +81,11 @@ legend { p { margin-bottom: 0.4em; text-align: justify; + text-indent: 2em; +} + +p.smaller { + text-indent: 0; } .erreur { @@ -91,25 +101,37 @@ 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 { - background: url('../images/skins/keynote_titlepuce2.gif') top left no-repeat; background-color: inherit; - margin: 0.5em 0 0.5em 0; - text-indent: 0.2em; - padding: 6px 0 0 24px; + margin: 0.5em 0 0.5em -8px; + text-indent: 0em; + padding: 20px 0 0 0px; - font-size: 120%; + font-size: 130%; font-family: "helvetica", sans-serif; font-weight: bolder; text-align: left; - color: #bbf; + color: #bdf; } h2 { - padding: 0.5em 0em 0em 0em; + padding: 15px 0em 0em 0em; margin: 0; - font-size: 100%; + margin-left: -8px; + font-size: 110%; font-weight: bold; background: inherit; color: #77c; @@ -119,7 +141,7 @@ h3 { margin: 0em; font-weight: bold; padding: 0.25em; - font-size: 100%; + font-size: 105%; } p.explication, div.explication { @@ -133,6 +155,17 @@ li.spaced { text-align: justify; } +pre { + background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed; + margin: 0em 0em; + padding: 0.3em 1.5em; +} + +.pair pre { + background: inherit; +} + + /******************************************************************************* 3 Tableaux bicolores + classes utiles [ Tableaux à lignes alternées, en taille normale, ou tiny ] @@ -145,7 +178,7 @@ table.bicol, table.tinybicol { border-color: #fff; border-collapse: collapse; } -table.bicol { width: 98%; margin-left: 1%; } +table.bicol { width: 100%; margin-left: 0; } table.tinybicol { width: 70%; margin-left: 15%; } table.tinybicol tr.pair, table.bicol tr.pair { @@ -158,8 +191,15 @@ table.tinybicol th, table.bicol th { font-weight: bold; text-align: center; vertical-align: middle; + background: none; + background-color: #000; +} + +table.tinybicol tr:first-child th, table.bicol tr:first-child th { + color: #fff; background: url('../images/skins/keynote_title.gif') #000 top left repeat-x; } + table.tinybicol td, table.bicol td { color: #000000; background: inherit; @@ -168,7 +208,7 @@ table.tinybicol td, table.bicol td { table.tinybicol td, table.bicol td, table.tinybicol tr, table.bicol tr { padding: 4px; } td.half { width: 50%; padding: 4px; } -td.titre { +.titre { color: #000000; background: inherit; font-weight: bold; @@ -181,6 +221,11 @@ td.action { } td.action a { padding: 0px 2px 0px 2px; } +th.grayed { + background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed; + font-style: italic; +} + /******************************************************************************* 4 Tableau de choix de skins [ Styles pour les tableaux de types de ceux des skins ] @@ -190,8 +235,7 @@ td.action a { padding: 0px 2px 0px 2px; } background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed; color: #000; border-top: 1px solid #fff; - width: 98%; - margin-left: 1%; + width: 100%; } #skin td { border-bottom: 1px solid #fff; @@ -235,6 +279,7 @@ div.contact div.nom { font-weight: bold; width: 35%; float: left; + padding-left: 2px; } div.contact div.appli { @@ -251,8 +296,7 @@ div.contact div.long { width: 100%; clear: both; color: inherit; - padding-top: 1px; - padding-bottom: 1px; + padding: 1px 0px; } div.long table { width: 100%; } @@ -263,89 +307,58 @@ div.long td.rt { width: 65%; } 6 Profil [ onglets des profils ] *******************************************************************************/ - -table.flags, tr.flags { - margin: 0.5em 0 0 0; - padding: 0; -} -table.flags input { margin: 0px 2px; padding: 0px; } -table.flags td.texte, tr.flags td.texte { - font-size: smaller; - font-weight: bold; - padding: 0 8px 0 0; -} -table.flags td.vert, tr.flags td.vert { - background: url('../images/icons/flag_green.gif') top right no-repeat; - padding: 0 16px 0 0; -} -table.flags td.orange, tr.flags td.orange { - background: url('../images/icons/flag_orange.gif') top right no-repeat; - padding: 0 16px 0 0; +.wizard { + margin-left: -16px; } -table.flags td.rouge, tr.flags td.rouge { - background: url('../images/icons/flag_red.gif') top right no-repeat; - padding: 0 16px 0 0; + +.wizard .wiz_header { + height: 32px; + width: 100%; + background: url('../images/skins/wiz_background.png') top right repeat-x; + margin-bottom: 1em; } -table.cadre_a_onglet{ - border-width: 0; - padding : 0; - margin: 0; +.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; } -td.conteneur_tab { - border: 1px solid #9c9c9c; - border-left-color: #eee; - padding: 8px 4px 4px 4px; - background : url('../images/skins/keynote_topborder.png') top repeat-x; +.wizard .wiz_header .wiz_tab:hover { + background: url('../images/skins/wiz_hover.png') #777 top left repeat-x; + color: #fff; } -#onglet { - display : block; - margin : 0; - padding : 0; +.wizard .wiz_header .active, .wizard .wiz_header .active:hover { + background: url('../images/skins/wiz_active.png') #444 top left repeat-x; + color: #fff; } -#onglet li { - display : block; - float : left; - padding : 0.4ex; - margin : 0 0.3ex -1px 3px; - border: 1px solid #9c9c9c; - border-right: none; - background: #cecece; - width: auto; - height: 5ex; - text-align: center; +.wizard .wiz_header a { color: #000; - font-size: 80%; + text-decoration: none; } -#onglet li:hover { - color: #000; - background : #adadad; +.wizard .wiz_header a.active { + color: #fff; } -#onglet li.actif { - color: #000; - background : #dedede; - border: 1px solid #f0f0f0; - border-right: none; - border-bottom-color: #dedede; - font-weight: bold; +.wizard .wiz_content { + margin-left: 16px; } -#onglet li a { - font-weight: normal; - text-decoration: none; - color: #000; - background: inherit; +.flags .texte { + font-size: smaller; + font-weight: bold; + margin-left: -6px; + padding: 0 12px 0 0; } -#onglet li a:hover { - text-decoration: underline; +.flags img { + padding: 0 6px 0 0; } -#onglet li img { margin-right: 2px; } /******************************************************************************* 7 fiche.php & fiche_referent.php @@ -370,6 +383,7 @@ td.conteneur_tab { #fiche h2 { background: url('../images/skins/keynote_title.gif') bottom repeat-x; background-color: inherit; + border-bottom: 1px solid #202020; color: #fff; height: 17px; margin: 0.5em 0; @@ -377,12 +391,25 @@ td.conteneur_tab { font-weight: bold; } -#fiche_identite { - padding: 5px; - width: 600px; +#fiche .part { + float: left; + clear: left; + width: 70%; + padding-right: 0em; + margin-right: 0em; +} + +#fiche #photo { + float: right; + padding-left: 0em; + margin-left: 0em; + clear: right; + width: 30%; } -#photo { padding-left: 0em; } +#fiche #photo img { + width: 100%; +} #fiche_identite div.civilite { text-align: center; @@ -391,14 +418,16 @@ td.conteneur_tab { float: left; color: #fff; background: inherit; + padding-top: 0.5ex; } #fiche_identite div.maj { - float: left; - width: 20%; + float: right; + width: 19%; font-size: 75%; text-align: right; vertical-align: top; + padding: 0.5ex 1ex 1ex 0ex; clear: right; } @@ -418,10 +447,12 @@ td.conteneur_tab { background: inherit; } + #fiche_identite div.email { clear: left; float: left; } + #fiche_identite div.mob { float: right; clear: right; @@ -434,25 +465,42 @@ td.conteneur_tab { } div.adresse { - float: left; - width: 46%; + min-width: 30%; padding: 0px; - margin: 0px 1% 1ex 1%; + margin: 0px 1% 2ex 2%; +} + +#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{ - padding: 10px; +#fiche_referent .part { + width: 100%; +} + +#fiche_referent #fiche_identite div.civilite { width: 100%; } #fiche_referent div.rubrique_referent{ float: left; - width: 31%; + width: 30%; padding: 0px; - margin: 0px 1% 1ex 1%; - + margin: 0px 1% 1ex 2%; + text-align: justify; } #fiche_referent em { @@ -474,27 +522,40 @@ div.adresse { padding: 1px; background: url('../images/skins/keynote_bg_verylighter.png') #bbbbaa top left repeat-x fixed; - color: #000; font-weight: bold; } #dev a { text-decoration: none; } -#db-trace div.hide { display: none; } -#db-trace:hover div.hide { display: block } +.backtrace div.hide { display: none; } +.backtrace:hover div.hide { display: block; } +.backtrace h1 { padding: 0; margin: 0; } #suid { color: red; background: #ffc0cb; 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; background: inherit; } #body { - width: 740px; + width: 800px; margin-left: auto; margin-right: auto; } @@ -506,8 +567,7 @@ div.adresse { } #body-top { - padding: 0; - padding-bottom: 16px; + padding: 0 0 16px 0; text-align: center; font-size: 85%; border-bottom: 1px solid #fff; @@ -518,7 +578,7 @@ div.adresse { #body-bottom { - border-top: 1px solid #fff; + border-top: 1px solid #aaa; text-align: center; padding: 4px; font-size: 75%; @@ -528,7 +588,7 @@ div.adresse { #body-menu { width: 140px; text-align: center; - font-size: 78%; + font-size: 85%; font-weight: bold; white-space: nowrap; border-right: 1px solid #fff; @@ -553,11 +613,12 @@ div.adresse { #body-menu .menu_title { color: #fff; height: 17px; - background: url('../images/skins/keynote_title.gif') top repeat-x; + background: url('../images/skins/keynote_title.gif') bottom repeat-x; background-color: inherit; + border-bottom: 1px solid #202020; padding: 4px 0 0 0; text-align: center; - vertical-align: middle; + vertical-align: bottom; } #content { @@ -567,7 +628,7 @@ div.adresse { font-size: 95%; } -#quick_search { +.quick_search { color: gray; background: #fff; text-align: right; @@ -582,4 +643,16 @@ div#content { font-size: 95%; } +#menu-evts { + font-size: 85%; +} + +.ac_results { + font-size: 90%; + background: #fff; +} + +.ac_results li.over { + color: #777; +} /* vim: set et ts=4 sts=4 sw=4: */