X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/b52b8f2af1c7a21e3bdb6808e2bacb2709b3d7e2..93711b16110928de8c696e76575f1004f2341441:/media/courgette/style.css.php diff --git a/media/courgette/style.css.php b/media/courgette/style.css.php index 0ddb35a..1c0c18a 100644 --- a/media/courgette/style.css.php +++ b/media/courgette/style.css.php @@ -38,7 +38,9 @@ header("Content-type: text/css"); 3 = Options 4 = Upload 5 = Terms of service - 6 = Admin + 6 = Install + 7 = Admin + 8 = Download page ========================================================================== */ @@ -88,7 +90,7 @@ legend { color: #663D1C; font-size: 1.2em; display: block; - width: 100%; + min-width: 8em; text-align: center; } @@ -187,7 +189,7 @@ input[type="submit"]:focus { ========================================================================== */ #options { - position: absolute; + position: relative; z-index: 10; background: #efebe9; width: 100%; @@ -252,8 +254,6 @@ input[type="submit"]:focus { 5 = Terms of service ========================================================================== */ - - textarea[readonly="readonly"] { border: 0; color: #795548; @@ -284,27 +284,25 @@ textarea[readonly="readonly"] + p + p a:focus { } /* ========================================================================== - 6 = Admin + 6 = Install ========================================================================== */ #install fieldset, #install + fieldset { width: auto; max-width: 50em; - border: 0; + border: 7px dashed #bcaaa4; } #install table, #install + fieldset table { width: 100%; border-collapse: collapse; - border-bottom: 2px solid #FFF; } #install td, #install + fieldset td { padding: 0.5em 1em; - border: 2px solid #FFF; border-bottom: 0; } @@ -327,7 +325,7 @@ textarea[readonly="readonly"] + p + p a:focus { width: 100%; } -#install td:last-child { text-align: right; } +#install td:last-child { text-align: left; } #install .info { width: 19em; } @@ -351,3 +349,88 @@ textarea[readonly="readonly"] + p + p a:focus { #install + fieldset td:first-child input[type="submit"]:focus { text-decoration: underline; } + +/* ========================================================================== + 7 = Admin + ========================================================================== */ + +#admin fieldset, +#admin + fieldset { + width: auto; + max-width: 50em; + border: 7px dashed #bcaaa4; +} + +#admin table, +#admin + fieldset table { + width: 100%; + border-collapse: collapse; + border-bottom: 2px solid #FFF; +} + +#admin td, +#admin + fieldset td { + padding: 0.5em 1em; + border: 2px solid #FFF; + border-bottom: 0; +} + +#admin td:empty { + width: 13.1em; +} + +#admin table form:nth-child(odd), +#admin + fieldset tr:nth-child(odd) { + background: #bcaaa4; +} + +#admin fieldset > form { + margin-top: 2em; + text-align: center; +} + +#admin form { + display: table; + width: 100%; +} + +#admin td:last-child { text-align: left; } + +#admin .info { width: 19em; } + +#admin input[type="submit"] { + min-width: 10.5em; +} + +#admin + fieldset table { + font-size: 0.9em; +} + +#admin + fieldset td:first-child input[type="submit"] { + background: none; + padding: 0; + color: #000; + font-weight: bold; + border-bottom: 0; +} + +#admin + fieldset td:first-child input[type="submit"]:hover, +#admin + fieldset td:first-child input[type="submit"]:focus { + text-decoration: underline; +} + +/* ========================================================================== + 8 = Download page + ========================================================================== */ + +#self_destruct { + font-weight: bold; + color: red; + background-image: url('pixel_bomb.png'); + background-size: 40px 40px; + background-repeat: no-repeat; + padding-left: 40px; + padding-top: 10px; + padding-bottom: 10px; +} +