diff --git a/custom/favico.ico b/custom/favico.ico
new file mode 100644
index 0000000..f533a75
Binary files /dev/null and b/custom/favico.ico differ
diff --git a/custom/hangar-logo-icon.svg b/custom/hangar-logo-icon.svg
new file mode 100644
index 0000000..aebee82
--- /dev/null
+++ b/custom/hangar-logo-icon.svg
@@ -0,0 +1,72 @@
+
+
+
+
diff --git a/custom/hangar-logo.svg b/custom/hangar-logo.svg
new file mode 100644
index 0000000..fb77cf6
--- /dev/null
+++ b/custom/hangar-logo.svg
@@ -0,0 +1,58 @@
+
+
+
+
diff --git a/custom/logo-jirafeau.svg b/custom/logo-jirafeau.svg
deleted file mode 100644
index 1076fb2..0000000
--- a/custom/logo-jirafeau.svg
+++ /dev/null
@@ -1,159 +0,0 @@
-
-
-]>
-
diff --git a/custom/style.css.php b/custom/style.css.php
index 183364c..6d8814f 100644
--- a/custom/style.css.php
+++ b/custom/style.css.php
@@ -30,7 +30,7 @@ header('Content-type: text/css');
/* ==========================================================================
Summary
-
+ 0 = CSS variables
1 = Basic Style
2 = Copyright
3 = Options
@@ -42,15 +42,43 @@ header('Content-type: text/css');
========================================================================== */
+
+/* ==========================================================================
+ 0 = CSS variables
+ ========================================================================== */
+
+:root{
+ --color-hangar: rgb(0,0,255);
+ --color-body: rgb(20,20,20);
+ --color-secondary: rgb(90,90,90) ;
+ --color-background: rgb(250,250,250);
+ --color-body-invert: rgb(200,200,200);
+ --color-background-invert: rgb(10,10,10);
+ --color-black: rgb(0,0,0);
+ --color-white: rgb(255,255,255);
+ --color-grey-dark: rgb(110,110,110);
+ --color-grey-light: rgb(230,230,230);
+ --color-error: rgb(230,50,50);
+ --global-padding: 1rem;
+ --global-margin: 1rem;
+ --global-border: 0.05rem solid var(--color-grey-light);
+ --global-radius: 1rem;
+ --font-hangar: Helvetica-Rounded, arial rounded, helvetica, arial, sans-serif;
+ --logo-hangar: url('https://grafica.hangar.org/assets/img/hangar-logo.svg');
+}
+
+
+
/* ==========================================================================
1 = Basic Style
========================================================================== */
body {
- background: #efebe9;
- font-family: Arial, sans-serif;
+ background: var(--color-background);
+ font-family: var(--font-hangar);
margin: 0;
line-height: 1.5;
+ color: var(--color-body);
}
#content {
@@ -59,8 +87,10 @@ body {
h1 a {
display: block;
- background: url(logo-jirafeau.svg) no-repeat;
- background-size: 100% 100%;
+ background-image: var(--logo-hangar);
+ background-repeat: no-repeat;
+ background-size: contain;
+ background-position:center;
text-indent: -9999px;
width: 194px;
height: 185px;
@@ -71,16 +101,16 @@ h1 a {
h2 {
text-align: center;
- color: #795548;
+ color: --color-secondary;
}
fieldset {
border: 0;
padding: 1.5em;
margin: 0 auto;
- border-radius: 8px;
+ border-radius: var(--global-radius);
width: 20em;
- border: 7px dashed #bcaaa4;
+ border: var(--global-border);
min-height: 15em;
min-width: 30em;
position: relative;
@@ -88,8 +118,8 @@ fieldset {
legend {
padding: 0.5em 1em;
- background: #efebe9;
- color: #663D1C;
+ background: var(--color-background);
+ color: var(--color-hangar);
font-size: 1.2em;
display: block;
min-width: 8em;
@@ -97,7 +127,7 @@ legend {
}
table a {
- color: #000;
+ color: var(--color-body);
}
table a:hover,
@@ -106,12 +136,12 @@ table a:focus {
}
input[type="submit"] {
- background: #0D9CB2;
+ background: var(--color-seondary);
border: 0;
padding: 0.4em 2.2em;
font-size: 1.1em;
- color: #FFF;
- border-bottom: 5px solid #085B69;
+ color: var(--color-white);
+ border-bottom: var(--global-border);
cursor: pointer;
margin: 10px;
}
@@ -130,8 +160,8 @@ input[type="submit"]:hover,
input[type="submit"]:focus {
border: 0;
position: relative;
- background: #085B69;
- border-bottom: 5px solid #0D9CB2;
+ background: var(--color-grey-light);
+ border-bottom: var(--global-border);
margin-bottom: 15px;
}
@@ -149,7 +179,7 @@ input[type="submit"]:focus {
}
#upload fieldset:hover {
- border-color: #663D1C;
+ border-color: var(--color-hangar);
}
#upload > form {
@@ -183,12 +213,12 @@ input[type="submit"]:focus {
#copyright {
text-align: center;
font-size: 0.8em;
- color: #795548;
+ color: var(--color-hangar);
margin: 3em auto;
}
#copyright a {
- color: #795548;
+ color: var(--color-hangar);
text-decoration: none;
}
@@ -233,12 +263,12 @@ input[type="submit"]:focus {
.info,
.error {
text-align: center;
- color: #795548;
+ color: var(--color-hangar);
padding-left: 3em;
}
#upload_finished > p:nth-child(1) {
- color: #0D9CB2;
+ color: var(--color-seondary);
font-weight: bold;
}
@@ -248,13 +278,13 @@ input[type="submit"]:focus {
#upload_finished a {
text-decoration: none;
- color: #795548;
+ color: var(--color-hangar);
}
#uploading a {
font-weight: bold;
text-decoration: none;
- color: #795548;
+ color: var(--color-hangar);
}
#uploaded_percentage {
@@ -271,7 +301,7 @@ input[type="submit"]:focus {
.message,
.error {
- color: #d55548;
+ color: var(--color-error);
font-style: italic;
font-weight: bold;
}
@@ -283,7 +313,7 @@ input[type="submit"]:focus {
#upload_image_email {
padding-left: 20px;
padding-bottom: 15px;
- background: url(email.png) no-repeat;
+ background: url('email.png') no-repeat;
}
/* ==========================================================================
@@ -292,7 +322,7 @@ input[type="submit"]:focus {
textarea[readonly="readonly"] {
border: 0;
- color: #795548;
+ color: var(--color-hangar);
font-family: Arial, sans-serif;
background: none;
margin: auto;
@@ -302,14 +332,14 @@ textarea[readonly="readonly"] {
textarea[readonly="readonly"] + p,
textarea[readonly="readonly"] + p + p {
text-align: center;
- color: #795548;
+ color: var(--color-hangar);
}
textarea[readonly="readonly"] + p a,
textarea[readonly="readonly"] + p + p a {
font-weight: bold;
text-decoration: none;
- color: #795548;
+ color: var(--color-hangar);
}
textarea[readonly="readonly"] + p a:hover,
@@ -327,7 +357,7 @@ textarea[readonly="readonly"] + p + p a:focus {
#install + fieldset {
width: auto;
max-width: 50em;
- border: 7px dashed #bcaaa4;
+ border: var(--global-border);
}
#install table,
@@ -348,7 +378,7 @@ textarea[readonly="readonly"] + p + p a:focus {
#install table form:nth-child(odd),
#install + fieldset tr:nth-child(odd) {
- background: #bcaaa4;
+ background: var(--color-grey-light);
}
#install fieldset > form {
@@ -376,7 +406,7 @@ textarea[readonly="readonly"] + p + p a:focus {
#install + fieldset td:first-child input[type="submit"] {
background: none;
padding: 0;
- color: #000;
+ color: var(--color-body);
font-weight: bold;
border-bottom: 0;
}
@@ -394,20 +424,20 @@ textarea[readonly="readonly"] + p + p a:focus {
#admin + fieldset {
width: auto;
max-width: 60em;
- border: 7px dashed #bcaaa4;
+ border: var(--global-border);
}
#admin table,
#admin + fieldset table {
width: 100%;
border-collapse: collapse;
- border-bottom: 2px solid #FFF;
+ border-bottom: var(--global-border);
}
#admin td,
#admin + fieldset td {
padding: 0.5em 1em;
- border: 2px solid #FFF;
+ border: var(--global-border);
border-bottom: 0;
}
@@ -417,7 +447,7 @@ textarea[readonly="readonly"] + p + p a:focus {
#admin table form:nth-child(odd),
#admin + fieldset tr:nth-child(odd) {
- background: #bcaaa4;
+ background: var(--color-grey-light);
}
#admin fieldset > form {
@@ -445,7 +475,7 @@ textarea[readonly="readonly"] + p + p a:focus {
#admin + fieldset td:first-child input[type="submit"] {
background: none;
padding: 0;
- color: #000;
+ color: var(--color-body);
font-weight: bold;
border-bottom: 0;
}
diff --git a/custom/upload.svg b/custom/upload.svg
index b4c4e19..56efb54 100644
--- a/custom/upload.svg
+++ b/custom/upload.svg
@@ -1,26 +1,70 @@
-
-
-]>
-