From 3be8059aac01064c98645c4db9aa160a3c33015b Mon Sep 17 00:00:00 2001 From: Will Budic Date: Tue, 7 Jan 2020 07:51:14 +1100 Subject: [PATCH] theme updated. --- htdocs/cgi-bin/system/modules/Settings.pm | 12 ++++++------ htdocs/cgi-bin/wsrc/main.css | 16 ++++++++++++++-- htdocs/cgi-bin/wsrc/main_earth.css | 18 +++++++++++++++++- htdocs/cgi-bin/wsrc/main_moon.css | 15 ++++++++++++++- htdocs/cgi-bin/wsrc/main_sun.css | 14 ++++++++++++++ 5 files changed, 65 insertions(+), 10 deletions(-) diff --git a/htdocs/cgi-bin/system/modules/Settings.pm b/htdocs/cgi-bin/system/modules/Settings.pm index 52600ea..8adaeb5 100644 --- a/htdocs/cgi-bin/system/modules/Settings.pm +++ b/htdocs/cgi-bin/system/modules/Settings.pm @@ -24,10 +24,10 @@ our $RTF_SIZE = 0; our $THEME = 'Standard'; ### Page specific settings Here -my $TH_CSS = 'main.css'; -my $BGCOL = '#c8fff8'; +our $TH_CSS = 'main.css'; +our $BGCOL = '#c8fff8'; #Set to 1 to get debug help. Switch off with 0. -my $DEBUG = 0; +our $DEBUG = 0; #END OF SETTINGS @@ -92,9 +92,9 @@ sub getConfiguration { sub getTheme { switch ($THEME){ - case "Sun" { $BGCOL = '#D4AF37'; $TH_CSS = "main_sun.css"; } - case "Moon" { $BGCOL = '#000000'; $TH_CSS = "main_moon.css"; } - case "Sun" { $BGCOL = 'green'; $TH_CSS = "main_earth.css"; } + case "Sun" { $BGCOL = '#D4AF37'; $TH_CSS = "main_sun.css"; } + case "Moon" { $BGCOL = '#000000'; $TH_CSS = "main_moon.css"; } + case "Earth" { $BGCOL = '#26be54'; $TH_CSS = "main_earth.css"; } else{ # Standard; $BGCOL = '#c8fff8'; diff --git a/htdocs/cgi-bin/wsrc/main.css b/htdocs/cgi-bin/wsrc/main.css index c2377e4..d78fcf9 100644 --- a/htdocs/cgi-bin/wsrc/main.css +++ b/htdocs/cgi-bin/wsrc/main.css @@ -232,10 +232,10 @@ img { a:link { - color:#5b06fa; + color:#5b06fa; } a:visited { -color: #065bfa; + color: #065bfa; } a:hover { @@ -243,3 +243,15 @@ a:hover { font-style: oblique; } +#sss_status{ + font-size: smaller; + font-style: italic; + color:darkslateblue; +} + + #sss_expired{ + font-size: large; + font-style: normal; + font-weight: bold; + color:crimson; +} \ No newline at end of file diff --git a/htdocs/cgi-bin/wsrc/main_earth.css b/htdocs/cgi-bin/wsrc/main_earth.css index 5d948af..53fd9ec 100644 --- a/htdocs/cgi-bin/wsrc/main_earth.css +++ b/htdocs/cgi-bin/wsrc/main_earth.css @@ -158,9 +158,11 @@ img { margin: 0; } + .ui-button, .ui-button-text .ui-button { font-size: 12px !important; + background: #b5e7a1 !important; } .ui-menu { @@ -239,4 +241,18 @@ a:link { } a:active { color: #ff7b00; - } \ No newline at end of file + } + + #sss_status{ + font-size: smaller; + font-style: italic; + color:lawngreen; +} + + #sss_expired{ + font-size: large; + font-style: normal; + font-weight: bold; + color:lightsalmon; + background-color: #26be54; +} \ No newline at end of file diff --git a/htdocs/cgi-bin/wsrc/main_moon.css b/htdocs/cgi-bin/wsrc/main_moon.css index 44da2d8..6700a1d 100644 --- a/htdocs/cgi-bin/wsrc/main_moon.css +++ b/htdocs/cgi-bin/wsrc/main_moon.css @@ -243,4 +243,17 @@ a:hover { } a:active { color: #ff7b00; -} \ No newline at end of file +} + +#sss_status{ + font-size: smaller; + font-style: italic; + color:gray +} + + #sss_expired{ + font-size: large; + font-style: normal; + font-weight: bold; + color:khaki; +} \ No newline at end of file diff --git a/htdocs/cgi-bin/wsrc/main_sun.css b/htdocs/cgi-bin/wsrc/main_sun.css index 7731e25..d2e0ddf 100644 --- a/htdocs/cgi-bin/wsrc/main_sun.css +++ b/htdocs/cgi-bin/wsrc/main_sun.css @@ -160,6 +160,7 @@ img { .ui-button, .ui-button-text .ui-button { font-size: 12px !important; + background-color: #93d314; } .ui-menu { @@ -224,4 +225,17 @@ img { .midnight{ color:midnightblue; +} + +#sss_status{ + font-size: smaller; + font-style: italic; + color:darkgoldenrod; +} + +#sss_expired{ + font-size: large; + font-style: normal; + font-weight: bold; + color:crimson; } \ No newline at end of file -- 2.34.1