summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-14 03:01:30 +0300
committerGeorge Halkiadakis <gchalkiadakis@sklavenitis.co.gr>2023-06-14 03:01:30 +0300
commitfc3bef390c1a215f4c6110b0b6996c004436ae0b (patch)
tree4a2153c7c62fa6207af0fa2ff4771521b2991d40 /public
parenteaf1163d74e3cb06b898767192de6734808c0e9c (diff)
downloadgyraf1gov-fc3bef390c1a215f4c6110b0b6996c004436ae0b.tar.gz
gyraf1gov-fc3bef390c1a215f4c6110b0b6996c004436ae0b.tar.bz2
gyraf1gov-fc3bef390c1a215f4c6110b0b6996c004436ae0b.zip
themes added
Diffstat (limited to 'public')
-rw-r--r--public/app/views/components/info.php2
-rw-r--r--public/app/views/components/theme.php56
-rw-r--r--public/assets/css/themes/fall-10.css13
-rw-r--r--public/assets/css/themes/fall-11.css8
-rw-r--r--public/assets/css/themes/fall-12.css8
-rw-r--r--public/assets/css/themes/fall-14.css9
-rw-r--r--public/assets/css/themes/summer-10.css8
-rw-r--r--public/assets/media/do/fall-10.jpgbin0 -> 253782 bytes
-rw-r--r--public/assets/media/do/fall-11.jpgbin0 -> 121798 bytes
-rw-r--r--public/assets/media/do/fall-12.jpgbin0 -> 232441 bytes
-rw-r--r--public/assets/media/fall-10.webpbin0 -> 99972 bytes
-rw-r--r--public/assets/media/fall-11.webpbin0 -> 35814 bytes
-rw-r--r--public/assets/media/fall-12.webpbin0 -> 124672 bytes
-rw-r--r--public/assets/media/fall-14.webpbin0 -> 103830 bytes
-rw-r--r--public/assets/media/summer-10.webp (renamed from public/assets/media/summer-14.webp)bin48694 -> 48694 bytes
-rw-r--r--public/assets/media/todo/fall-18.jpgbin1275609 -> 0 bytes
-rw-r--r--public/assets/media/todo/winter-15.jpgbin793854 -> 0 bytes
-rw-r--r--public/assets/media/todo/winter-16.jpgbin2642715 -> 0 bytes
-rw-r--r--public/assets/media/winter-15.webpbin0 -> 97230 bytes
-rw-r--r--public/assets/media/winter-16.webpbin0 -> 144742 bytes
20 files changed, 80 insertions, 24 deletions
diff --git a/public/app/views/components/info.php b/public/app/views/components/info.php
index 02c13e9..4c6ca23 100644
--- a/public/app/views/components/info.php
+++ b/public/app/views/components/info.php
@@ -7,7 +7,7 @@
* @var boolen $is_admin (mandatory)
*/
?>
-<div class="info">
+<div class="info alter">
<p>&nbsp;</p>
<p>
<b><?=$user->first_name?> <?=$user->last_name?></b>
diff --git a/public/app/views/components/theme.php b/public/app/views/components/theme.php
index b144c13..7f8ca95 100644
--- a/public/app/views/components/theme.php
+++ b/public/app/views/components/theme.php
@@ -79,6 +79,12 @@ $theme_def = [
'label' => 'Willian Justen de Vasconcellos: Desert, Huacachina, Peru'
],
+ 's10' => [
+ 'css' => 'summer-10',
+ 'url' => 'https://unsplash.com/photos/Qw3w0oBH63s',
+ 'label' => 'Carolinie Cavalli: Blue Peaks in Hout Bay (Cape Town, South Africa)'
+ ],
+
# --- fall ---
'f8' => [
@@ -93,22 +99,31 @@ $theme_def = [
'label' => 'wirestock: View of a flock of birds flying into a beautiful sky during sunset'
],
- /**
- fall-12
- https://unsplash.com/photos/Kdb6POEOSiE
- Dave: Fog and Ripples (Door County, WI, USA)
+ 'f10' => [
+ 'css' => 'fall-10',
+ 'url' => 'https://unsplash.com/photos/P8VMwYFY-Es',
+ 'label' => 'Romello Williams: Turks and Caicos Islands'
+ ],
+
+ 'f11' => [
+ 'css' => 'fall-11',
+ 'url' => 'https://unsplash.com/photos/jCL98LGaeoE',
+ 'label' => 'Eberhard Grossgasteiger: Sass long, Langkofel, Sasso lungo, Val Gherdeina'
+ ],
- fall-11
- https://unsplash.com/photos/jCL98LGaeoE
- Eberhard Grossgasteiger: Sass long, Langkofel, Sasso lungo, Val Gherdeina
+ 'f12' => [
+ 'css' => 'fall-12',
+ 'url' => 'https://unsplash.com/photos/Kdb6POEOSiE',
+ 'label' => 'Dave: Fog and Ripples (Door County, WI, USA)'
+ ],
- fall-10
- https://unsplash.com/photos/P8VMwYFY-Es
- Romello Williams: Turks and Caicos Islands
+ 'f14' => [
+ 'css' => 'fall-14',
+ 'url' => 'https://unsplash.com/photos/tMvuB9se2uQ',
+ 'label' => 'Sergey Pesterev: Sunset in the mountains (Hurghada International Airport, Egypt)'
+ ],
- !!! summer-14
- https://unsplash.com/photos/Qw3w0oBH63s
- Carolinie Cavalli: Blue Peaks in Hout Bay (Cape Town, South Africa)
+ /**
!!! winter-12
https://unsplash.com/photos/RsRTIofe0HE
@@ -127,12 +142,6 @@ $theme_def = [
https://unsplash.com/photos/twukN12EN7c
Simon Berger: Altmünster am Traunsee, Neukirchen bei Altmünster, Oberösterreich, Österreich
- !!! fall-18
- https://unsplash.com/photos/tMvuB9se2uQ
- Sergey Pesterev: Sunset in the mountains (Hurghada International Airport, Egypt)
-
-
-
++++ https://unsplash.com/s/photos/landscape-nature-light?orientation=landscape
**/
@@ -191,10 +200,10 @@ $theme_def = [
$themes = [
- 'summer' => [ 's1', 's2', 's5', 's0', 'g9', 'g1', 's9' ],
+ 'summer' => [ 's1', 's2', 's5', 's0', 'g9', 'g1', 's9', 's10' ],
- 'fall' => [ 'f8', 's5', 'g4', 's2', 'f9' ],
+ 'fall' => [ 'f8', 's5', 'f9', 'f10', 'g4', 'f11', 'f12', 'f14' ],
'winter' => [ 'w3', 'w8', 'w9', 'w10' ],
@@ -211,8 +220,9 @@ if ($mo == 12) { $mo = 0; }
if ($mo == 6 && $day == 1) { $day == 2; }
$imageID = intdiv( ( ( $mo*31 + $day) % $themesLen*4 ), 4 );
-define('THEME', $theme_def[ $themes[ $season ][ $imageID ] ]);
-// testing: define('THEME', $theme_def[ $themes[ 'summer' ][ 5 ] ]);
+// define('THEME', $theme_def[ $themes[ $season ][ $imageID ] ]);
+// testing:
+define('THEME', $theme_def[ $themes[ 'fall' ][ 7 ] ]);
?>
<!-- theme overides -->
diff --git a/public/assets/css/themes/fall-10.css b/public/assets/css/themes/fall-10.css
new file mode 100644
index 0000000..7373579
--- /dev/null
+++ b/public/assets/css/themes/fall-10.css
@@ -0,0 +1,13 @@
+:root {
+ --background-image: url(/assets/media/fall-10.webp);
+ --bs-heading-color: #035;
+ --menu-hover-bgr: #dff;
+ --info-text-color: #223;
+
+ --img-credit-hover-color: #334;
+ --img-credit-bgr: transparent;
+ --img-credit-color: #145;
+}
+
+.central-form form label { color: #313; }
+tbody, td, tfoot, th, thead, tr { border-color: #def7; } \ No newline at end of file
diff --git a/public/assets/css/themes/fall-11.css b/public/assets/css/themes/fall-11.css
new file mode 100644
index 0000000..3fe7c15
--- /dev/null
+++ b/public/assets/css/themes/fall-11.css
@@ -0,0 +1,8 @@
+:root {
+ --background-image: url(/assets/media/fall-11.webp);
+ --form-layer-bgr: #cccc;
+ --bs-heading-color: #ffe;
+ --menu-hover-bgr: #f5e5e5;
+ --info-text-color: #112;
+ --img-credit-hover-color: #334;
+}
diff --git a/public/assets/css/themes/fall-12.css b/public/assets/css/themes/fall-12.css
new file mode 100644
index 0000000..2763b22
--- /dev/null
+++ b/public/assets/css/themes/fall-12.css
@@ -0,0 +1,8 @@
+:root {
+ --background-image: url(/assets/media/fall-12.webp);
+ --form-layer-bgr: #cccc;
+ --bs-heading-color: #544;
+ --menu-hover-bgr: #fff0dc;
+ --info-text-color: #112;
+ --img-credit-hover-color: #334;
+}
diff --git a/public/assets/css/themes/fall-14.css b/public/assets/css/themes/fall-14.css
new file mode 100644
index 0000000..a288ddf
--- /dev/null
+++ b/public/assets/css/themes/fall-14.css
@@ -0,0 +1,9 @@
+:root {
+ --background-image: url(/assets/media/fall-14.webp);
+ --bs-heading-color: #132;
+ --menu-hover-bgr: #fea;
+ --info-text-color: #334;
+ --img-credit-hover-color: #841;
+}
+
+.info.alter p { color: #fff !important; } \ No newline at end of file
diff --git a/public/assets/css/themes/summer-10.css b/public/assets/css/themes/summer-10.css
new file mode 100644
index 0000000..052070f
--- /dev/null
+++ b/public/assets/css/themes/summer-10.css
@@ -0,0 +1,8 @@
+:root {
+ --background-image: url(/assets/media/summer-10.webp);
+ --bs-heading-color: #230;
+ --menu-hover-bgr: #e0f0f7;
+ --info-text-color: #334;
+ --img-credit-hover-color: #334;
+ --img-credit-color: #478;
+}
diff --git a/public/assets/media/do/fall-10.jpg b/public/assets/media/do/fall-10.jpg
new file mode 100644
index 0000000..9096713
--- /dev/null
+++ b/public/assets/media/do/fall-10.jpg
Binary files differ
diff --git a/public/assets/media/do/fall-11.jpg b/public/assets/media/do/fall-11.jpg
new file mode 100644
index 0000000..9f4d913
--- /dev/null
+++ b/public/assets/media/do/fall-11.jpg
Binary files differ
diff --git a/public/assets/media/do/fall-12.jpg b/public/assets/media/do/fall-12.jpg
new file mode 100644
index 0000000..f919ec2
--- /dev/null
+++ b/public/assets/media/do/fall-12.jpg
Binary files differ
diff --git a/public/assets/media/fall-10.webp b/public/assets/media/fall-10.webp
new file mode 100644
index 0000000..3c286a6
--- /dev/null
+++ b/public/assets/media/fall-10.webp
Binary files differ
diff --git a/public/assets/media/fall-11.webp b/public/assets/media/fall-11.webp
new file mode 100644
index 0000000..bdd5305
--- /dev/null
+++ b/public/assets/media/fall-11.webp
Binary files differ
diff --git a/public/assets/media/fall-12.webp b/public/assets/media/fall-12.webp
new file mode 100644
index 0000000..5ba3685
--- /dev/null
+++ b/public/assets/media/fall-12.webp
Binary files differ
diff --git a/public/assets/media/fall-14.webp b/public/assets/media/fall-14.webp
new file mode 100644
index 0000000..97d7570
--- /dev/null
+++ b/public/assets/media/fall-14.webp
Binary files differ
diff --git a/public/assets/media/summer-14.webp b/public/assets/media/summer-10.webp
index aa84c2c..aa84c2c 100644
--- a/public/assets/media/summer-14.webp
+++ b/public/assets/media/summer-10.webp
Binary files differ
diff --git a/public/assets/media/todo/fall-18.jpg b/public/assets/media/todo/fall-18.jpg
deleted file mode 100644
index 20daa02..0000000
--- a/public/assets/media/todo/fall-18.jpg
+++ /dev/null
Binary files differ
diff --git a/public/assets/media/todo/winter-15.jpg b/public/assets/media/todo/winter-15.jpg
deleted file mode 100644
index d07325e..0000000
--- a/public/assets/media/todo/winter-15.jpg
+++ /dev/null
Binary files differ
diff --git a/public/assets/media/todo/winter-16.jpg b/public/assets/media/todo/winter-16.jpg
deleted file mode 100644
index 48003a3..0000000
--- a/public/assets/media/todo/winter-16.jpg
+++ /dev/null
Binary files differ
diff --git a/public/assets/media/winter-15.webp b/public/assets/media/winter-15.webp
new file mode 100644
index 0000000..c7007fb
--- /dev/null
+++ b/public/assets/media/winter-15.webp
Binary files differ
diff --git a/public/assets/media/winter-16.webp b/public/assets/media/winter-16.webp
new file mode 100644
index 0000000..c66b74d
--- /dev/null
+++ b/public/assets/media/winter-16.webp
Binary files differ