From 6eba4d5e1d0b275244d53ce29be6d5eeb00781d5 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 22 May 2024 09:01:58 +0000 Subject: [PATCH] f18.js: fix uzsu coloring (Forum #138294) git-svn-id: https://svn.fhem.de/fhem/trunk@28896 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/f18.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/fhem/www/pgm2/f18.js b/fhem/www/pgm2/f18.js index ef4641caf..adb8d93b7 100644 --- a/fhem/www/pgm2/f18.js +++ b/fhem/www/pgm2/f18.js @@ -59,7 +59,7 @@ $(document).ready(function(){ f18_attr["Pinned.menu"] = false; } - var f18_aCol = "rgb(39, 135, 39)"; + var f18_aCol = "rgb(39, 135, 39)"; // green if($("a").length) f18_aCol = getComputedStyle($("a").get(0),null).getPropertyValue('color'); f18_loadIcons(); @@ -790,6 +790,12 @@ f18_setCss(why) style += "button.ui-button { background:#"+col("oddrow")+"!important; "+ "border:1px solid #"+col("link")+"!important; }\n"; + // uzsu, #138294 + style += ".ui-state-default "+bg(col("bg")+"!important"); + style += ".ui-state-active { border:1px solid #"+col("link")+"}\n"; + style += ".ui-state-active>.ui-button-text "+fg(col("link")+"!important"); + style += ".ui-selectmenu-text "+fg(col("fg")); + if(typeof DashboardDraggable != "undefined") { var db = "#dashboard "; style += db+".dashboard_widgetheader "+bg(col("header"));