X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=css%2Fyopyop.css;h=bb631fd8310f17a2f299ad2443d75d204a5e969f;hb=1d1d04cb3cd7f38fe64202f5c98a026136bf12b5;hp=94ce67ed8f911961eee6e4eeb928e838dde8c135;hpb=758f0146355cf0b6c0745d1e73c94c060fc6405c;p=pompage.git diff --git a/css/yopyop.css b/css/yopyop.css index 94ce67e..bb631fd 100644 --- a/css/yopyop.css +++ b/css/yopyop.css @@ -1,11 +1,11 @@ -* { +* { margin: 0; padding: 0; border-width: 0; } html { - background-color: #8DDD83; + background-color: #8DDD83; height: auto; font: normal 12pt Arial, Verdana, Helvetica, sans-serif; } @@ -37,25 +37,25 @@ body { } h1 { - font-size: 20pt; - font-style: italic; - font-weight: bold; - margin-left: 40px; + font-size: 20pt; + font-style: italic; + font-weight: bold; + margin-left: 40px; } td { - vertical-align:top; + vertical-align:top; } div.entete { width: 90%; - position: fixed; + position: fixed; z-index: 5; background-color: #65A35D; height: 50px; color: #8DDD83; -moz-border-radius: 0px 0px 20px 20px; - min-width: 650px; + min-width: 630px; } div.entete img { @@ -104,17 +104,17 @@ div.entete form button { } div.entete form p { - color: black; - font-size: 7pt; - margin-top: 1px; + color: black; + font-size: 7pt; + margin-top: 1px; } div.entete form p label { - margin-right: 4px; + margin-right: 4px; } div.entete form input[type='checkbox'] { - border:2px solid red; + border:2px solid red; } div.pied { @@ -122,12 +122,14 @@ div.pied { bottom: 0px; height: 50px; width: 90%; - background-image: url(../img/collines.png) + background-image: url(../img/collines.png); + z-index: 5; + min-width: 630px; } div.contenu { padding-top: 50px; - min-width: 650px; + min-width: 630px; } table#liste { @@ -137,30 +139,36 @@ table#liste { margin-top: 10px; } +table#liste .listeFichiers img { + position: absolute; + left: -9px; + top: -18px; +} + table#liste td { - background-color: #7BC671; + background-color: #7BC671; color: #20531A; - padding: 3px; + padding: 3px; } table#liste td.titre { - font-weight: bold; - cursor: pointer; + font-weight: bold; + cursor: pointer; } table#liste td.annee { - text-align: right; - width: 50px; + text-align: right; + width: 50px; } table#liste td.duree { - text-align: right; - width: 80px; + text-align: right; + width: 80px; } table#liste td.lien { - text-align: center; - width: 15px; + text-align: center; + width: 15px; } table#liste td.lien div { @@ -186,55 +194,104 @@ table#liste td.lien a:hover { } table#liste td.fichier { - text-align: center; - width: 12px; + text-align: center; + width: 12px; } table#liste td.fichier div { position: absolute; } -table#liste td.fichier a { +table#liste td.fichier div ul { + display: block; position: absolute; + left: 5px; + top: 3px; + padding: 2px; +} + +table#liste td.fichier div ul:hover { + z-index: 4; + background-color: #4F8749; +} + +table#liste td.fichier div ul > a { + position: absolute; + left: -3px; + top: -4px; width: 12px; height: 20px; display: block; - z-index: 1; - background-image: url(../img/poire1.png) + z-index: 3; + background-image: url(../img/poire1.png); } -table#liste td.fichier a:hover { +table#liste td.fichier div ul:hover > a { width: 24px; height: 40px; - left: -6px; - top: -10px; + left: -8px; + top: -14px; z-index: 10; - background-image: url(../img/poire2.png) + background-image: url(../img/poire2.png); } +table#liste td.fichier div ul li { + display: none; +} + +table#liste td.fichier div ul li a { + color: #8DDD83; +} + +table#liste td.fichier div ul li a:hover { + color: #BFF6B8; +} + +table#liste td.fichier div ul:hover li { + display: block; + z-index: 4; + padding: 3px 8px 3px 17px; + text-align: left; + white-space: nowrap; + color: #8DDD83; + background-color: #2D5728; + font-size: 10pt; +} + +table#liste td.fichier div ul:hover li:hover { + background-color: #43773D; +} + +/* Pourquoi ca ne marche pas ? */ +/* +table#liste td.fichier div ul:hover li:first-child { + margin-top: 10px; +}*/ + table#liste td.titre:hover { - background-color: #B1F1A9; - padding: 3px; + background-color: #B1F1A9; + padding: 3px; } table#liste td.detail { - background-color: #8DDD83; - padding: 0px 0px 0px 0px; + background-color: #8DDD83; + padding: 0px 0px 0px 0px; } table#liste table.detail { - display:none; + display:none; + width:100%; padding-bottom: 10px; - border-spacing: 0px 0px; + border-spacing: 0px 0px; } table#liste table.detail td { - padding: 3px; + padding: 3px; background-color: #B1F1A9; } table#liste table.detail td.titreDetail { - font-weight: bold; + font-weight: bold; }