X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fcss%2Fxnet.css;h=e181a5ada22773aaee05f31a791e041ecfb6f0ab;hb=ceb2a271a647d92967fa0f0810181b06733d3472;hp=9998cace0153d40909047662e7bbcd92f1dc81f7;hpb=7da24d533d043cf2ffdfb11332dfacc299b7e5f4;p=platal.git diff --git a/htdocs/css/xnet.css b/htdocs/css/xnet.css index 9998cac..e181a5a 100644 --- a/htdocs/css/xnet.css +++ b/htdocs/css/xnet.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 * @@ -39,6 +39,21 @@ tt,pre { font-size: 10pt; } +fieldset { + border: 1px gray solid; + + margin-top: 1em; + margin-bottom: 1em; +} + +legend { + border: 1px gray solid; + background: #e9e0aa; + color: inherit; + + padding: 2px 4px; +} + a, a:link, a:visited { text-decoration: none ; color: #5c81aa; } a img { border: none; } @@ -48,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 ***************************************************************************/ @@ -61,9 +94,9 @@ h2 { font-size: 115%; } font-weight: bold; } -#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; } /*************************************************************************** * LAYOUT @@ -101,7 +134,7 @@ td#perso div { padding: 2px 1em; } -td#perso a.gp { +td#perso .gp { display: block; margin: 2px 1em; font-weight: bold; @@ -128,6 +161,7 @@ td#body { td#menu { width: 130px; padding-right: 0; + padding-top: 0.5em; font-family: "Trebuchet MS", "Arial",sans-serif; font-weight: bold; } @@ -136,7 +170,7 @@ td#menu { padding: 0.3em 0em 0.4em 0em; margin-top: 0.7em; margin-bottom: 0.3em; - font-size: 85%; + font-size: 89%; text-align: center; width: 130px; background: url('../images/barre_small.png') bottom left no-repeat; @@ -146,7 +180,7 @@ td#menu { #menu a { display: block; padding: 0.2em 0em 0.2em 15px; - font-size: 85%; + font-size: 89%; background: url('../images/puce.png') no-repeat center left; } @@ -154,10 +188,10 @@ td#menu { * CLASSES ***************************************************************************/ -div.breadcrumb { +.breadcrumb { font-weight: bold; font-size: 90%; - padding: 0.5em 0em; + padding: 0.5em 0em 0em 0.2em; } .erreur { color: red !important; } @@ -232,6 +266,15 @@ table.tinybicol .pair, table.bicol .pair { table.normal td { border: none; } th { background: #d0c198; } +th.grayed { + background: #d0cbb0; + color: #666; +} + +a.popup2 { + color: #4c618a; + background-color: inherit; +} /*************************************************************************** * Special pages @@ -299,16 +342,21 @@ td.oval, td.oval2 { td.oval { background: url("../images/oval.png") no-repeat top center; width: 130px; - padding: 4px 12px; + padding: 0px 35px; } td.oval2 { background: url("../images/oval2.png") no-repeat top center; width: 160px; - padding: 4px 10px; + padding: 0px 12px; } .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%; @@ -340,3 +388,42 @@ td.infos { color: #505050; } +/*************************************************************************** + ***************************************************************************/ + +td.conteneur_tab { + border: none; + padding-top: 1em; +} + +#onglet { + display : block; + margin : 0; + padding : 0; +} + +#onglet li { + display : block; + float : left; + border: none; + background: inherit; + width: auto; +} + +#onglet li.actif { + font-weight: bold; +} + +#onglet li:before { + font-weight: normal; + content: 'ยป '; + padding-left: 1ex; +} + +#onglet li:first-child:before { + content: ''; +} + +#onglet li img { margin-right: 2px; } + +