X-Git-Url: http://git.euphorik.ch/?p=pompage.git;a=blobdiff_plain;f=css%2Fyopyop.css;h=c56b4ce9cb682e922eb705a36d08017d425bac2a;hp=122c0d82745bd5a3cf0f771704fcf751297974ba;hb=HEAD;hpb=5994f8f0dab3e0f66bd8107536e9cbccd208be40 diff --git a/css/yopyop.css b/css/yopyop.css index 122c0d8..c56b4ce 100644 --- a/css/yopyop.css +++ b/css/yopyop.css @@ -1,17 +1,19 @@ -* { +* { margin: 0; padding: 0; border-width: 0; } html { - background-color: #8DDD83; + background-color: #8DDD83; height: auto; font: normal 12pt Arial, Verdana, Helvetica, sans-serif; + height: 100%; } a { text-decoration: none; + cursor: pointer; } a:link { color: #51874A; @@ -33,31 +35,29 @@ body { margin-right: auto; margin-top: 0px; text-align: left; + height: 100%; } h1 { - font-size: 20pt; - font-style: italic; - font-weight: bold; - margin-left: 40px; -} - -th { - font-size: 14pt; - font-weight: bold; + 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: 630px; } div.entete img { @@ -67,10 +67,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; @@ -91,123 +99,237 @@ div.entete form button { width: 25px; border: 0px; background-color: #B1F1A9; - background-image: url(../img/clear.png); background-position: center; background-repeat: no-repeat; vertical-align: top; + margin-left: 2px; +} +div.entete form button:hover { + background-color: #E3FBE0; +} +div.entete form button:active { + background-color: #FFFFFF; } -div.entete form p { - color: black; - font-size: 7pt; - margin-top: 1px; +div.entete form button#boutonViderRecherche { + background-image: url(../img/clear.png); } -div.entete form p label { - margin-right: 4px; +div.entete form button#boutonToutOuvrir { + background-image: url(../img/ouvrir.png); } -div.entete form input[type='checkbox'] { - border:2px solid red; +div.entete form button#boutonAuHasard { + background-image: url(../img/random.png); } -div.pied { - position: fixed; - bottom: 0px; - height: 50px; - width: 90%; - background-image: url(../img/collines.png) +div.entete form p { + color: black; + font-size: 7pt; + margin-top: 1px; +} + +div.entete form p label { + margin-right: 4px; } div.contenu { - padding-top: 50px; + min-width: 630px; + min-height: 100%; + background-color: #7BC671; } table#liste { - width: 100%; - border-spacing: 0px 0px; - margin-bottom:50px; + width: 100%; + border-spacing: 0px 0px; + margin-bottom:40px; + margin-top: 50px; } -table#liste th { - background-color: #8DDD83; - padding: 3px; - font-size: 13pt; +table#liste .listeFichiers img { + position: absolute; + left: -9px; + top: -18px; } -table#liste th.titre { - text-align: left; +table#liste td { + background-color: #7BC671; + color: #20531A; + padding: 3px; } -table#liste th.annee { - width: 50px; - text-align: center; +table#liste td.titre { + font-weight: bold; + cursor: pointer; } -table#liste th.duree { - width: 80px; - text-align: center; +table#liste td.annee { + text-align: right; + width: 50px; } -table#liste th.lien { - width: 50px; - text-align: center; +table#liste td.duree { + text-align: right; + width: 80px; } -table#liste th.fichier { - width: 50px; - text-align: center; +table#liste td.lien { + text-align: center; + width: 15px; } -table#liste td { - background-color: #7BC671; - color: #20531A; - padding: 3px; +table#liste td.lien div { + position: absolute; } -table#liste td.titre { - font-weight: bold; +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.annee { - text-align: right; +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.duree { - text-align: right; +table#liste td.fichier { + text-align: center; + width: 12px; } -table#liste td.lien { - text-align: center; +table#liste td.fichier div { + position: absolute; } -table#liste td.fichier { - text-align: center; +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: 3; + background-image: url(../img/poire1.png); +} + +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 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; background-color: #B1F1A9; + padding: 5px 5px 5px 5px; } +table#liste table.detail td.affichette { + width: 0px; + padding: 4px; +} table#liste table.detail td.titreDetail { - font-weight: bold; + font-weight: bold; + width: 0px; +} +table#liste table.detail td.detail { + width: 100%; + padding-left: 10px; +} + +div.pied { + position: fixed; + bottom: 0px; + height: 20px; + width: 90%; + z-index: 5; + min-width: 630px; + padding-top: 10px; + background-color: #65A35D; + font-size: 10pt; + -moz-border-radius: 20px 20px 0px 0px; +} + +div.pied span#tempsRecherche, div.pied span#by { + margin-left: 10px; + margin-right: 10px } +div.pied a { + margin-left: 10px; + margin-right: 10px +}