X-Git-Url: http://git.euphorik.ch/?p=pompage.git;a=blobdiff_plain;f=css%2Fyopyop.css;h=c56b4ce9cb682e922eb705a36d08017d425bac2a;hp=399d9d1dba7e9cae3443ac90db12fc4f5d0466cc;hb=HEAD;hpb=432db4dbac80ae1025ad53db71b7ecbd0de0f053 diff --git a/css/yopyop.css b/css/yopyop.css index 399d9d1..c56b4ce 100644 --- a/css/yopyop.css +++ b/css/yopyop.css @@ -1,109 +1,335 @@ -* { - margin: 0; - padding: 0; - border-width: 0; - font: normal 12pt Arial, Verdana, Helvetica, sans-serif; - color: #000000; +* { + margin: 0; + padding: 0; + border-width: 0; +} + +html { + 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; +} +a:visited { + color: #51874A; +} +a:hover { + color: #5DDF4C; +} +a:active { + color: #5DDF4C; } body { - background-color: #DDDDDD; + width: 90%; + height: auto; + margin-left: auto; + margin-right: auto; + margin-top: 0px; + text-align: left; + height: 100%; } 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; } -th { - font-size: 14pt; - font-weight: bold; +td { + vertical-align:top; } -td { - vertical-align:top; +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; } -table#liste { - width: 100%; - border-spacing: 0px 0px; +div.entete img { + position: absolute; + left: 180px; + top: -3px; +} + +div.entete h1 { + float: left; + margin-top: 8px; } -table#liste th { - background-color: #9999DD; - padding: 3px; +div.entete div#nbFilms { + position: absolute; + left: 280px; + top: 33px; + font-size: 9pt; + color: black; } -table#liste th.titre { - text-align: left; +div.entete form { + float: right; + padding-right: 10px; + padding-top: 5px; + margin-right: 30px; } -table#liste th.annee { - width: 50px; +div.entete form input { + font-size: 16pt; + background-color: #B1F1A9; + margin: 0px; + padding: 0px; } -table#liste th.duree { - width: 80px; +div.entete form button { + position: relative; + height: 25px; + width: 25px; + border: 0px; + background-color: #B1F1A9; + 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; } -table#liste th.lien { - width: 50px; +div.entete form button#boutonViderRecherche { + background-image: url(../img/clear.png); } -table#liste th.fichier { - width: 50px; +div.entete form button#boutonToutOuvrir { + background-image: url(../img/ouvrir.png); +} + +div.entete form button#boutonAuHasard { + background-image: url(../img/random.png); +} + +div.entete form p { + color: black; + font-size: 7pt; + margin-top: 1px; +} + +div.entete form p label { + margin-right: 4px; +} + +div.contenu { + min-width: 630px; + min-height: 100%; + background-color: #7BC671; +} + +table#liste { + width: 100%; + border-spacing: 0px 0px; + margin-bottom:40px; + margin-top: 50px; +} + +table#liste .listeFichiers img { + position: absolute; + left: -9px; + top: -18px; } table#liste td { - background-color: #BBBBEE; - padding: 3px; + background-color: #7BC671; + color: #20531A; + padding: 3px; } table#liste td.titre { - font-weight: bold; + font-weight: bold; + cursor: pointer; } table#liste td.annee { - text-align: right; + text-align: right; + width: 50px; } table#liste td.duree { - text-align: right; + text-align: right; + width: 80px; } table#liste td.lien { - text-align: center; + text-align: center; + width: 15px; +} + +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; + text-align: center; + width: 12px; +} + +table#liste td.fichier div { + position: absolute; +} + +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: #CCCCFF; - padding: 3px; + background-color: #B1F1A9; + padding: 3px; } table#liste td.detail { - background-color: #FFFFFF; - padding: 0px 0px 5px 5px; + background-color: #8DDD83; + padding: 0px 0px 0px 0px; } table#liste table.detail { - visibility:hidden; - position:absolute; - border-spacing: 0px 0px; + display: none; + width: 100%; + padding-bottom: 10px; + border-spacing: 0px 0px; } table#liste table.detail td { - padding: 3px; - background-color: #DDDDFF; + 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 +}