X-Git-Url: http://git.euphorik.ch/?p=pompage.git;a=blobdiff_plain;f=css%2Fyopyop.css;h=e2fd860a619aada4f776b1953eb35c5130682ba2;hp=6f9e440f6639a08f0ddbbcdd6f9f7c46cfd00417;hb=461c0b1456b2086b3318dffcfd17c29e7e1d1778;hpb=6a3e9e285bd76141ce1475f3ecc0c3f220a5c968 diff --git a/css/yopyop.css b/css/yopyop.css index 6f9e440..e2fd860 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,131 +67,242 @@ div.entete img { } div.entete h1 { - float: left; - margin-top: 10px; + float: left; + margin-top: 8px; } -div.pied { - position: fixed; - bottom: 0px; - height: 50px; - width: 90%; - background-image: url(../img/collines.png) +div.entete div#nbFilms { + position: absolute; + left: 280px; + top: 33px; + font-size: 9pt; + color: black; } -div form { - float: right; +div.entete form { + float: right; padding-right: 10px; padding-top: 5px; + margin-right: 30px; } -div form input { +div.entete form input { font-size: 16pt; background-color: #B1F1A9; + margin: 0px; + padding: 0px; } -div form button { +div.entete form button { position: relative; - top: -5px; height: 25px; width: 25px; - margin: 2px; - background-color: #B1F1A9; border: 0px; + background-color: #B1F1A9; background-image: url(../img/clear.png); background-position: center; background-repeat: no-repeat; + vertical-align: top; +} + +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; + padding: 3px; background-color: #B1F1A9; } table#liste table.detail td.titreDetail { - font-weight: bold; + font-weight: bold; } +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 +}