From 71ae5c0f075093ed6ccb06156111a4d5e86ec9ea Mon Sep 17 00:00:00 2001 From: sparkyx Date: Wed, 8 Jan 2025 19:59:32 +0100 Subject: [PATCH] Cosmetic : Set color --- html/css/style-classic7.css | 3 ++- include/class/noalyss_appearance.class.php | 4 ++-- sql/upgrade.sql | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/html/css/style-classic7.css b/html/css/style-classic7.css index c7e3804dd..54d1b3eb2 100644 --- a/html/css/style-classic7.css +++ b/html/css/style-classic7.css @@ -29,6 +29,7 @@ BODY { --accent-color:lightblue; --input-color:#4b4b91; --color-red:Crimson; + --color-blue2: cornflowerblue; } input{ font-family: 'OpenSansRegular'; @@ -523,7 +524,7 @@ tr.highlight { color: darkred !important; background-color: lightgoldenrodyellow; color: antiquewhite !important; - background-color: lightskyblue; + background-color: var(--color-blue2); padding: 2px 10px 2px 10px; } diff --git a/include/class/noalyss_appearance.class.php b/include/class/noalyss_appearance.class.php index 60fcf0a8d..0843e877d 100644 --- a/include/class/noalyss_appearance.class.php +++ b/include/class/noalyss_appearance.class.php @@ -33,7 +33,7 @@ class Noalyss_Appearance { static private $aCSSColor = ['H2' => '#9fbcd6', 'MENU1' => '#000074', - 'BODY' => '#ffffff', + 'BODY' => '#fafafa', 'MENU2' => '#3d3d87', 'MENU1-SELECTED' => '#000074', 'TR-ODD'=>'#DCE7F5', @@ -44,7 +44,7 @@ class Noalyss_Appearance 'FONT-MENU2' => '#ffffff', 'FONT-TABLE' => '#222bd0', 'FONT-DEFAULT' => '#000074', - 'FOLDER' => '#ffffff', + 'FOLDER' => '#fafafa', 'FONT-TABLE-HEADER' =>'#0C106D', 'FONT-FOLDER' => '#000074']; static private $aCSSColorName = array(); diff --git a/sql/upgrade.sql b/sql/upgrade.sql index fe37f2c7e..f4b077d71 100644 --- a/sql/upgrade.sql +++ b/sql/upgrade.sql @@ -1,3 +1,6 @@ -- change color selected menu update parm_appearance set a_value='#000074' where a_code='MENU1-SELECTED' and a_value='#7191ea'; +update parm_appearance set a_value='#FAFAFA' where a_code='BODY' and lower(a_value)='#ffffff'; +update parm_appearance set a_value='#FAFAFA' where a_code='FOLDER' and lower(a_value)='#ffffff'; + ALTER TABLE public.todo_list ALTER COLUMN tl_date drop NOT NULL;