X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=css%2Fyopyop.css;h=5f5e1bf4b698fffdae33db5b0679445fce77aa50;hb=2a499b47db2419a221fed7cc0e9b899b2505d26f;hp=122c0d82745bd5a3cf0f771704fcf751297974ba;hpb=5994f8f0dab3e0f66bd8107536e9cbccd208be40;p=pompage.git diff --git a/css/yopyop.css b/css/yopyop.css index 122c0d8..5f5e1bf 100644 --- a/css/yopyop.css +++ b/css/yopyop.css @@ -1,4 +1,4 @@ -* { +* { margin: 0; padding: 0; border-width: 0; @@ -12,6 +12,7 @@ html { a { text-decoration: none; + cursor: pointer; } a:link { color: #51874A; @@ -42,11 +43,6 @@ h1 { margin-left: 40px; } -th { - font-size: 14pt; - font-weight: bold; -} - td { vertical-align:top; } @@ -54,10 +50,12 @@ td { div.entete { width: 90%; position: fixed; + z-index: 5; background-color: #65A35D; height: 50px; color: #8DDD83; -moz-border-radius: 0px 0px 20px 20px; + min-width: 630px; } div.entete img { @@ -67,10 +65,18 @@ div.entete img { } div.entete h1 { - float: left; + float: left; margin-top: 8px; } +div.entete div#nbFilms { + position: absolute; + left: 280px; + top: 33px; + font-size: 9pt; + color: black; +} + div.entete form { float: right; padding-right: 10px; @@ -116,75 +122,152 @@ 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: 630px; } table#liste { - width: 100%; - border-spacing: 0px 0px; + width: 100%; + border-spacing: 0px 0px; margin-bottom:50px; + margin-top: 10px; +} + +table#liste .listeFichiers img { + position: absolute; + left: -9px; + top: -18px; } -table#liste th { - background-color: #8DDD83; +table#liste td { + background-color: #7BC671; + color: #20531A; padding: 3px; - font-size: 13pt; } -table#liste th.titre { - text-align: left; +table#liste td.titre { + font-weight: bold; + cursor: pointer; } -table#liste th.annee { +table#liste td.annee { + text-align: right; width: 50px; - text-align: center; } -table#liste th.duree { +table#liste td.duree { + text-align: right; width: 80px; - text-align: center; } -table#liste th.lien { - width: 50px; +table#liste td.lien { text-align: center; + width: 15px; } -table#liste th.fichier { - width: 50px; +table#liste td.lien div { + position: absolute; +} + +table#liste td.lien a { + position: absolute; + width: 15px; + height: 19px; + display: block; + z-index: 1; + background-image: url(../img/pomme1.png) +} + +table#liste td.lien a:hover { + width: 30px; + height: 38px; + left: -7px; + top: -9px; + z-index: 10; + background-image: url(../img/pomme2.png) +} + +table#liste td.fichier { text-align: center; + width: 12px; } -table#liste td { - background-color: #7BC671; - color: #20531A; - padding: 3px; +table#liste td.fichier div { + position: absolute; } -table#liste td.titre { - font-weight: bold; +table#liste td.fichier div ul { + display: block; + position: absolute; + left: 5px; + top: 3px; + padding: 2px; } -table#liste td.annee { - text-align: right; +table#liste td.fichier div ul:hover { + z-index: 4; + background-color: #4F8749; } -table#liste td.duree { - text-align: right; +table#liste td.fichier div ul > a { + position: absolute; + left: -3px; + top: -4px; + width: 12px; + height: 20px; + display: block; + z-index: 3; + background-image: url(../img/poire1.png); } -table#liste td.lien { - text-align: center; +table#liste td.fichier div ul:hover > a { + width: 24px; + height: 40px; + left: -8px; + top: -14px; + z-index: 10; + background-image: url(../img/poire2.png); } -table#liste td.fichier { - text-align: center; +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;