X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fcss%2Fkeynote.css;h=334b8fe8f7020c73576c0c287d66b8f1437785e8;hb=3be64a1586fc6c744a888e2e882d7b9330fe2d73;hp=e554227374e1f3fa39046b7c0c35dfb94c437e80;hpb=3c20ef0239a5112c103f107e0c898dfaf9f3fb7c;p=platal.git diff --git a/htdocs/css/keynote.css b/htdocs/css/keynote.css index e554227..334b8fe 100644 --- a/htdocs/css/keynote.css +++ b/htdocs/css/keynote.css @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2003-2006 Polytechnique.org * + * Copyright (C) 2003-2007 Polytechnique.org * * http://opensource.polytechnique.org/ * * * * This program is free software; you can redistribute it and/or modify * @@ -25,41 +25,54 @@ body { font-family: "Arial", sans-serif; - font-size: 90%; - background: url('../images/skins/keynote_bg.png') top left repeat-x; - - background-attachment: fixed; - background-color: #4f4e63; + font-size: 10pt; + background: url('../images/skins/keynote_bg.png') #4f4e63 top left repeat-x fixed; color: #fff; } a:link, a:visited, a:active, a:hover { color: #ddd; - background: none; + background: inherit; } +a:hover { color: #999; } -a:hover { - color: #999; -} +img { vertical-align: middle; } +a img { border: 0px; } +td { vertical-align: top; } +li { padding-left: 3px; padding-right: 3px; + text-align: justify; } +hr { text-align: center; } +dt { font-weight: bold; } fieldset { - border: 1px #336699 solid; - background: #eeeeee; - color: inherit; - - margin-top: 1em; - margin-bottom: 1em; + 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 #336699 solid; - background: #f4d09c; - color: inherit; + 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; } +.right { text-align: right; } +.middle { vertical-align: middle; } +.smaller { font-size: smaller; font-style: italic; } +.spacer { clear: both; } + +.float2 { float: left; width: 49%; } +.float3 { float: left; width: 33%; } + /******************************************************************************* 2 Styles

,

, ,
  • [ styles classiques d'effets de texte ] @@ -68,11 +81,16 @@ legend { p { margin-bottom: 0.4em; text-align: justify; + text-indent: 2em; +} + +p.smaller { + text-indent: 0; } .erreur { font-weight: bold; - color: #ff0000; + color: #d00; background: inherit; margin-top: 0.5em; margin-bottom: 0.5em; @@ -83,30 +101,47 @@ p { background: inherit; } -h1 { - color: #fff; - background: url('../images/skins/keynote_titlepuce2.gif') top left no-repeat; - height: 24px; - margin: 0.5em 0 0 0; - padding: 6px 0 0 24px; +input.error, textarea.error { + background-color: #faa; +} + +input.valid, textarea.valid { + background-color: #afa; +} + +input.warning, textarea.warning { + background-color: #fda; } -h1:hover { - background: url('../images/skins/keynote_titlepuce.gif') top left no-repeat; +h1 { + background-color: inherit; + margin: 0.5em 0 0.5em -8px; + text-indent: 0em; + padding: 20px 0 0 0px; + + font-size: 130%; + font-family: "helvetica", sans-serif; + font-weight: bolder; + text-align: left; + + 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; } h3 { margin: 0em; font-weight: bold; padding: 0.25em; - font-size: 100%; + font-size: 105%; } p.explication, div.explication { @@ -120,31 +155,46 @@ 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; +} + /******************************************************************************* 3 Tableaux bicolores + classes utiles [ Tableaux à lignes alternées, en taille normale, ou tiny ] *******************************************************************************/ table.bicol, table.tinybicol { - background: url('../images/skins/keynote_bg_lighter.png') top left repeat-x; - background-attachment: fixed; - background-color: #848495; - border: none; - border-top: 1px solid #fff; - border-left: 1px solid #fff; + color: inherit; + background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed; + border-width: 1px 0 0 1px; + border-style: solid; + border-color: #fff; + border-collapse: collapse; } +table.bicol { width: 100%; margin-left: 0; } +table.tinybicol { width: 70%; margin-left: 15%; } table.tinybicol tr.pair, table.bicol tr.pair { - background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x; - background-attachment: fixed; - background-color: #bbbbca; + color: inherit; + background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed; } table.tinybicol th, table.bicol th { color: #fff; - background: url('../images/skins/keynote_title.gif') top left repeat-x; + font-weight: bold; + text-align: center; + vertical-align: middle; + background: none; background-color: #000; - height: 17px; } + +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; @@ -153,7 +203,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; @@ -166,58 +216,65 @@ 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 ] *******************************************************************************/ #skin { - background: url('../images/skins/keynote_bg_lighter.png') top left repeat-x; - background-attachment: fixed; - background-color: #848495; + background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed; color: #000; - border-bottom: none; border-top: 1px solid #fff; + width: 100%; } #skin td { border-bottom: 1px solid #fff; - border-top: none; vertical-align: middle; } #skin td.skigauche { - background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x; - background-attachment: fixed; - background-color: #bbbbca; + background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed; + color: inherit; + vertical-align: middle; +} +#skin td.skimilieu { + padding-left: 1em; + width: 100%; } +#skin td.skidroite { padding: 0; } /******************************************************************************* 5 Contacts [ Styles liés à l'affichage de contacts ] *******************************************************************************/ +div.contact-list { + width: 98%; + margin-left: 1%; +} div.contact-list div.contact { border-top: 1px solid #fff; - background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x; - background-attachment: fixed; - background-color: #bbbbca; + background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed; color: #000; } div.grayed { - color: #444444; font-style: italic; } - div.grayed div.contact { - background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x; - background-attachment: fixed; - background-color: #bbbbca; + color: #444; + background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed; } div.contact div.nom { font-weight: bold; width: 35%; float: left; + padding-left: 2px; } div.contact div.appli { @@ -230,37 +287,83 @@ div.contact div.bits { } div.contact div.long { - background: url('../images/skins/keynote_bg_lighter.png') top left repeat-x; - background-attachment: fixed; - background-color: #848495; + background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed; + width: 100%; + clear: both; + color: inherit; + padding: 1px 0px; } +div.long table { width: 100%; } +div.long td.lt { width: 35%; } +div.long td.rt { width: 65%; } + /******************************************************************************* 6 Profil [ onglets des profils ] *******************************************************************************/ - -table.flags, tr.flags { - margin: 0; + +.wizard { + margin-left: -16px; +} + +.wizard .wiz_header { + height: 32px; + width: 100%; + background: url('../images/skins/wiz_background.png') top right repeat-x; + margin-bottom: 1em; } -table.flags input { margin: 0px 2px; padding: 0px; } -table.flags td.texte, tr.flags td.texte { +.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; +} + +.wizard .wiz_header a { + color: #000; + text-decoration: none; + vertical-align: middle; +} + +.wizard .wiz_header a.active { + color: #fff; +} + +.wizard .wiz_content { + margin-left: 16px; +} + +.flags input { + padding: 0 0px 0 16px; + width: 32px; +} +.flags .texte { font-size: smaller; font-weight: bold; padding: 0 8px 0 0; } -table.flags td.vert, tr.flags td.vert { +.flags .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 { +.flags .orange { background: url('../images/icons/flag_orange.gif') top right no-repeat; - padding: 0 16px 0 0; } -table.flags td.rouge, tr.flags td.rouge { +.flags .rouge { background: url('../images/icons/flag_red.gif') top right no-repeat; - padding: 0 16px 0 0; } table.cadre_a_onglet{ @@ -270,9 +373,7 @@ table.cadre_a_onglet{ } td.conteneur_tab { - border-width: 1px 1px 1px 1px; - border-style: solid; - border-color: #9c9c9c; + border: 1px solid #9c9c9c; border-left-color: #eee; padding: 8px 4px 4px 4px; background : url('../images/skins/keynote_topborder.png') top repeat-x; @@ -288,52 +389,92 @@ td.conteneur_tab { display : block; float : left; padding : 0.4ex; - margin : 0 0.3ex -1px 3px; - background : #cecece; - border: none; - border-bottom: 1px solid #9C9C9C; + margin: 0 0.3ex -1px 3px; + border: 1px solid #9c9c9c; + border-right: none; + background: #cecece; width: auto; height: 5ex; text-align: center; color: #000; + font-size: 80%; } -#onglet li:hover { background : #bdbdbd; } +#onglet li:hover { + color: #000; + background : #adadad; +} #onglet li.actif { + color: #000; background : #dedede; - border-bottom: 1px solid #dedede; + border: 1px solid #f0f0f0; + border-right: none; + border-bottom-color: #dedede; + font-weight: bold; } +#onglet li a { + font-weight: normal; + text-decoration: none; + color: #000; + background: inherit; + display: block; + width: 100%; + height: 100%; +} +#onglet li img { margin-right: 2px; } + /******************************************************************************* 7 fiche.php & fiche_referent.php [ cas de la fiche ] *******************************************************************************/ #fiche { + width: 740px; color: #000; - border: none; border-top: 1px solid #fff; border-left: 1px solid #fff; - background: url('../images/skins/keynote_bg_lighter.png') top left repeat-x; - background-attachment: fixed; - background-color: #848495; + background: url('../images/skins/keynote_bg_lighter.png') #848495 top left repeat-x fixed; + vertical-align: top; } #fiche em { color: #777; + background: inherit; font-weight: bolder; } #fiche h2 { background: url('../images/skins/keynote_title.gif') bottom repeat-x; + background-color: inherit; + border-bottom: 1px solid #202020; color: #fff; - border: none; height: 17px; - margin-right: 0; + margin: 0.5em 0; + padding-left: 0.5em; + font-weight: bold; +} + +#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; @@ -341,25 +482,42 @@ td.conteneur_tab { width: 80%; float: left; color: #fff; + background: inherit; + padding-top: 0.5ex; +} + +#fiche_identite div.maj { + float: right; + width: 19%; + font-size: 75%; + text-align: right; + vertical-align: top; + padding: 0.5ex 1ex 1ex 0ex; + clear: right; } #fiche_identite div.contact { - border: none; - border-top: 1px dotted #fff; - border-left: 1px dotted #fff; - background: url('../images/skins/keynote_bg_verylighter.png') top left repeat-x; - background-color: #bbbbca; - background-attachment: fixed; + clear: both; + margin: 1em; + padding: 1ex; + border-width: 1px 0 0 1px; + border-style: dotted; + border-color: #fff; + background: url('../images/skins/keynote_bg_verylighter.png') #bbbbca top left repeat-x fixed; + color: inherit; } #fiche_identite div.contact em { color: #aaa; + background: inherit; } + #fiche_identite div.email { clear: left; float: left; } + #fiche_identite div.mob { float: right; clear: right; @@ -372,18 +530,51 @@ 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 .part { + width: 100%; +} + +#fiche_referent #fiche_identite div.civilite { + width: 100%; +} + +#fiche_referent div.rubrique_referent{ + float: left; + width: 30%; + padding: 0px; + margin: 0px 1% 1ex 2%; + text-align: justify; +} + #fiche_referent em { color: #777; + background: inherit; font-weight: bolder; } +#fiche_referent ul { margin: 0px; padding: 0px 1em; } +#fiche_referent li { font-weight: bold; margin: 0px; padding: 0px; text-align: left; } /******************************************************************************* A SKIN @@ -391,85 +582,120 @@ div.adresse { *******************************************************************************/ #dev { - width: 100%; + width: auto; text-align: center; padding: 1px; - color: #003399; - background: #e0ffff; - - font-family: 'Bauhaus Md BT','Bitstream Vera',sans-serif; - font-size: 10pt; + background: url('../images/skins/keynote_bg_verylighter.png') #bbbbaa top left repeat-x fixed; + color: #000; font-weight: bold; } -#dev a { text-decoration: underline; } -#dev a:hover { color: #003399; background: #c0e0e0; } +#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: 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; + width: 800px; margin-left: auto; margin-right: auto; } #body-logo { width: 140px; - border: none; padding-top: 0; + text-align: center; } #body-top { - padding: 0; - padding-bottom: 16px; + padding: 0 0 16px 0; + text-align: center; + font-size: 85%; + border-bottom: 1px solid #fff; } +#body-top table { width: 100%; padding: 4px; } +#body-top .date-heure { text-align: left; } +#body-top .inscrits { text-align: right; } + #body-bottom { - border-top: 1px solid #fff; + border-top: 1px solid #aaa; + text-align: center; + padding: 4px; + font-size: 75%; + font-family: "MS Sans Serif", sans-serif; } #body-menu { + width: 140px; + text-align: center; + font-size: 85%; + font-weight: bold; + white-space: nowrap; border-right: 1px solid #fff; } +#body-menu .menu_item { + text-align: left; + padding: 2px; +} + #body-menu a:link, #body-menu a:visited, #body-menu a:active, #body-meny a:hover { color: #fff; + background: inherit; text-decoration: none; } #body-menu .menu_item:hover { + color: inherit; background-color: #556; } #body-menu .menu_title { color: #fff; height: 17px; - background: url('../images/skins/keynote_title.gif') top repeat-x; - border: none; - padding: 0; - padding-top: 4px; + 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 { - padding-top: 0; + width: 600px; + padding: 0 0 4px 16px; vertical-align: top; + font-size: 95%; } -#quick_search { +.quick_search { color: gray; + background: #fff; text-align: right; } @@ -482,4 +708,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: */