From 43f7da4085de0635f3f4d9d2bd43b8e638d491a1 Mon Sep 17 00:00:00 2001 From: Victor Lamoine Date: Sat, 4 Aug 2018 22:40:35 +0200 Subject: [PATCH 1/1] Add dark-courgette theme --- media/dark-courgette/email.png | Bin 0 -> 472 bytes media/dark-courgette/email.svg | 70 ++++ media/dark-courgette/favicon.ico | Bin 0 -> 1150 bytes media/dark-courgette/logo-jirafeau.svg | 92 +++++ media/dark-courgette/pixel_bomb.png | Bin 0 -> 489 bytes media/dark-courgette/style.css.php | 474 +++++++++++++++++++++++++ media/dark-courgette/upload.svg | 80 +++++ 7 files changed, 716 insertions(+) create mode 100644 media/dark-courgette/email.png create mode 100644 media/dark-courgette/email.svg create mode 100644 media/dark-courgette/favicon.ico create mode 100644 media/dark-courgette/logo-jirafeau.svg create mode 100644 media/dark-courgette/pixel_bomb.png create mode 100644 media/dark-courgette/style.css.php create mode 100644 media/dark-courgette/upload.svg diff --git a/media/dark-courgette/email.png b/media/dark-courgette/email.png new file mode 100644 index 0000000000000000000000000000000000000000..3f413bd36068a516e24c493f3aa898488b4aa32d GIT binary patch literal 472 zcmV;}0Vn>6P)=xWR-sWSCJ~Vc=2N)jWvtzqT}!bidBxmw?)~1K8L8FeBnjA* zG$W}j>9t9$K+=e$edpX_V8sbZc}e|}&Lu^^4DFRPCMjpE4*@&CHE;>Uzy{FSC=JK~ ztH2vjwzHiCp8_3T@B)}@06Gqwc#CuaXBENT^E7Y^yx2wBGXMi%1$YMTfLYJ04z^m4 z-4x&$7)=2UfkW%r0{RkuZLsIf0r$X@ZPHdDJTV3nKvxy$_E!EbvGF*Nk_(NLA?XKZ;yjGohxSm O0000 + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/media/dark-courgette/favicon.ico b/media/dark-courgette/favicon.ico new file mode 100644 index 0000000000000000000000000000000000000000..c42c6969fe77d7bc768aaaeea688092ddbff3ee6 GIT binary patch literal 1150 zcma)4T}V@582(n8L>GA#lnVVw)QuKWnx#hOMFk3Zm4Ol(nVOQC()?vkWp1maY_9pk zwCQqg{;aL#Qn#s1mTt~cXQs~3@+VBZDJXn8XQm`g@jX1>`Ob5m=Y8Mrn zbGr#SJkiSLIT$2^EkTJ;262lXH`DmI7|udq7z??)7W9u!L!{`yVQ*hAXE}=bqbm<8 zw5Vw|K>5~&{Kxf(P30q-BZaDG4AzM`bXq3SYM666PiBFHTh(Mj{c97Nx`$Dx?StTj z7Cpl=_%ySKp{WH7OnifRe95Vw?n%*MgF13wYud z)Y50^9f5{AH_dCTQ=9rzIU+n$bmBSXDQ#$jfSR?kcNjXVrf%dbH1DU;Y+XbOSN&g( z%twt#WLJSDYC^GCjoLSTkm{{yqw48LXQBW29SZ9*GRjQ|y;+YF5f3-yxSAwDWO6AI zizEoU&O|y-hFaYSTFunGu`EKQTS7G3h=>dWJWr><%Rg=1f9rm!;Lw@dIC(h>VX-0y zpHNVRdru7r3JyMcDZT +image/svg+xml + + + + + + + + + + + + \ No newline at end of file diff --git a/media/dark-courgette/pixel_bomb.png b/media/dark-courgette/pixel_bomb.png new file mode 100644 index 0000000000000000000000000000000000000000..92c95ca9c1fed003e179162756f84e209abb88b1 GIT binary patch literal 489 zcmeAS@N?(olHy`uVBq!ia0vp^DIm!lvI6;RN#5=* z3>*y644HGcybuP8a29w(7Bet#1KHfdj105pNB{-dOFVsD+3&Nk@tK(9hhOJoU|>x1 zba4!+xb^myVjhztL)*oL3ptlDUA*#DDkFur!z+iE{e|wU>N>hD zsV!xb@taBCb1q+cH+|-xn@uA`S0G%hiK9uODZuIM_PrM)e{8w6^U%+*|U7VlylC1|FQk+)7Qb+0xX8rhchToVzD9`A2DWN1g81X*WP_0LnEf)P}yTudc8Ew$}gAm7242 zkNAN_n-osio~qm|S$o?$N+#;Xe9O`z>tl5!qk2=Rp0$!NkCDKwiA(u;Jn#_P;BEk-*^T>gTe~DWM4f DksH5n literal 0 HcmV?d00001 diff --git a/media/dark-courgette/style.css.php b/media/dark-courgette/style.css.php new file mode 100644 index 0000000..b39a05d --- /dev/null +++ b/media/dark-courgette/style.css.php @@ -0,0 +1,474 @@ + + * Jimmy Beauvois + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +/* + * This stylesheet is the default stylesheet for Jyraphe. + * The content is dynamically generated for easier handling. + */ + +$dark = '#8B4513'; + +header('Content-type: text/css'); + +?> + +/* ========================================================================== + Summary + + 1 = Basic Style + 2 = Copyright + 3 = Options + 4 = Upload + 5 = Terms of service + 6 = Install + 7 = Admin + 8 = Download page + + ========================================================================== */ + +/* ========================================================================== + 1 = Basic Style + ========================================================================== */ + +body { + color: #fff; + background: #212121; + font-family: Arial, sans-serif; + margin: 0; + line-height: 1.5; +} + +#content { + padding: 2em; +} + +h1 a { + display: block; + background: url(logo-jirafeau.svg) no-repeat; + background-size: 100% 100%; + text-indent: -9999px; + width: 194px; + height: 185px; + margin: 1em auto; + position: relative; + left: 0.4em; +} + +h2 { + text-align: center; + color: #fff; +} + +fieldset { + border: 0; + padding: 1.5em; + margin: 0 auto; + border-radius: 8px; + width: 20em; + border: 7px dashed #7d7d7d; + min-height: 15em; + min-width: 30em; + position: relative; +} + +legend { + padding: 0.5em 1em; + background: #212121; + color: #e5e5e5; + font-size: 1.2em; + display: block; + min-width: 8em; + text-align: center; +} + +table a { + color: #fff; +} + +table a:hover, +table a:focus { + text-decoration: none; +} + +input[type="submit"] { + background: #555; + border: 0; + padding: 0.4em 2.2em; + font-size: 1.1em; + color: #FFF; + border-bottom: 5px solid #fff; + cursor: pointer; + margin: 10px; +} + +select, +input[type="text"], +input[type="password"] { + border: 1; + padding: 5px 5px; + font-size: 1em; +} + +select { width: 100%; } + +input[type="submit"]:hover, +input[type="submit"]:focus { + border: 0; + position: relative; + top: 5px; + margin-bottom: 15px; +} + +.inner { + margin-top: 3em; +} + +#upload fieldset { + background: url(upload.svg) no-repeat center; + -webkit-transition: all 0.5s ease; + -moz-transition: all 0.5s ease; + -ms-transition: all 0.5s ease; + -o-transition: all 0.5s ease; + transition: all 0.5s ease; +} + +#upload fieldset:hover { + border-color: #e5e5e5; +} + +#upload > form { + text-align: center; +} + +#upload p { + margin: 0; +} + +#file_select { + position: relative; + width: 100%; + height: 16em; + cursor: pointer; + opacity: 0; +} + #upload.file-selected #file_select { + opacity: 1; + height: 2em; + } + #upload.file-selected fieldset { + background-image: none; + } + + +/* ========================================================================== + 2 = Copyright + ========================================================================== */ + +#copyright { + text-align: center; + font-size: 0.8em; + color: #bbb; + margin: 3em auto; +} + +#copyright a { + color: #bbb; + text-decoration: none; +} + +#copyright a:hover, +#copyright a:focus { + text-decoration: underline; +} + +/* ========================================================================== + 3 = Options + ========================================================================== */ + +#options { + color: #fff; + position: relative; + z-index: 10; + width: 100%; + height: 90%; +} + +#options tr { height: 2.7em; } + +#option_table tr:first-child { + width: 100%; + height: 100%; +} + +#option_table td:first-child { +} + +#options input[type="submit"] { + position: relative; + margin: 1em auto; +} + +/* ========================================================================== + 4 = Upload + ========================================================================== */ + +#upload_finished, +#uploading, +.message, +.info, +.error { + text-align: center; + color: #fff; + padding-left: 3em; +} + +#upload_finished > p:nth-child(1) { + color: #0D9CB2; + font-weight: bold; +} + +#upload_finished div p:nth-child(1) { + font-weight: bold; +} + +#upload_finished a { + text-decoration: none; + color: #fff; +} + +#uploading a { + font-weight: bold; + text-decoration: none; + color: #fff; +} + +#uploaded_percentage { + font-size: 2em; + font-weight: bold; +} + +#upload_finished a:hover, +#uploading a:hover, +#upload_finished a:focus, +#uploading a:focus { + text-decoration: underline; +} + +.message, +.error { + color: #d55548; + font-style: italic; + font-weight: bold; +} + +#upload_link_email { + margin-left: 10px; +} + +#upload_image_email { + padding-left: 20px; + padding-bottom: 15px; + background: url(email.png) no-repeat; +} + +/* ========================================================================== + 5 = Terms of service + ========================================================================== */ + +textarea[readonly="readonly"] { + border: 0; + color: #fff; + font-family: Arial, sans-serif; + background: none; + margin: auto; + display: block; +} + +textarea[readonly="readonly"] + p, +textarea[readonly="readonly"] + p + p { + text-align: center; + color: #fff; +} + +textarea[readonly="readonly"] + p a, +textarea[readonly="readonly"] + p + p a { + font-weight: bold; + text-decoration: none; + color: #fff; +} + +textarea[readonly="readonly"] + p a:hover, +textarea[readonly="readonly"] + p + p a:hover, +textarea[readonly="readonly"] + p a:focus, +textarea[readonly="readonly"] + p + p a:focus { + text-decoration: underline; +} + +/* ========================================================================== + 6 = Install + ========================================================================== */ + +#install fieldset, +#install + fieldset { + width: auto; + max-width: 50em; + border: 7px dashed #bcaaa4; +} + +#install table, +#install + fieldset table { + width: 100%; + border-collapse: collapse; +} + +#install td, +#install + fieldset td { + padding: 0.5em 1em; + border-bottom: 0; +} + +#install td:empty { + width: 13.1em; +} + +#install table form:nth-child(odd), +#install + fieldset tr:nth-child(odd) { + background: #bcaaa4; +} + +#install fieldset > form { + margin-top: 2em; + text-align: center; +} + +#install form { + display: table; + width: 100%; +} + +#install td:last-child { text-align: left; } + +#install .info { width: 19em; } + +#install input[type="submit"] { + min-width: 10.5em; +} + +#install + fieldset table { + font-size: 0.9em; +} + +#install + fieldset td:first-child input[type="submit"] { + background: none; + padding: 0; + color: #000; + font-weight: bold; + border-bottom: 0; +} + +#install + fieldset td:first-child input[type="submit"]:hover, +#install + fieldset td:first-child input[type="submit"]:focus { + text-decoration: underline; +} + +/* ========================================================================== + 7 = Admin + ========================================================================== */ + +#admin fieldset, +#admin + fieldset { + width: auto; + max-width: 60em; + 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; +} diff --git a/media/dark-courgette/upload.svg b/media/dark-courgette/upload.svg new file mode 100644 index 0000000..2acb67a --- /dev/null +++ b/media/dark-courgette/upload.svg @@ -0,0 +1,80 @@ + +image/svg+xml + + + + + + + + + + + + + + \ No newline at end of file -- 2.34.1