mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-25 03:44:52 +00:00
f18.js: fix uzsu coloring (Forum #138294)
git-svn-id: https://svn.fhem.de/fhem/trunk@28896 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8ede19b02c
commit
6eba4d5e1d
@ -59,7 +59,7 @@ $(document).ready(function(){
|
|||||||
f18_attr["Pinned.menu"] = false;
|
f18_attr["Pinned.menu"] = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var f18_aCol = "rgb(39, 135, 39)";
|
var f18_aCol = "rgb(39, 135, 39)"; // green
|
||||||
if($("a").length)
|
if($("a").length)
|
||||||
f18_aCol = getComputedStyle($("a").get(0),null).getPropertyValue('color');
|
f18_aCol = getComputedStyle($("a").get(0),null).getPropertyValue('color');
|
||||||
f18_loadIcons();
|
f18_loadIcons();
|
||||||
@ -790,6 +790,12 @@ f18_setCss(why)
|
|||||||
style += "button.ui-button { background:#"+col("oddrow")+"!important; "+
|
style += "button.ui-button { background:#"+col("oddrow")+"!important; "+
|
||||||
"border:1px solid #"+col("link")+"!important; }\n";
|
"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") {
|
if(typeof DashboardDraggable != "undefined") {
|
||||||
var db = "#dashboard ";
|
var db = "#dashboard ";
|
||||||
style += db+".dashboard_widgetheader "+bg(col("header"));
|
style += db+".dashboard_widgetheader "+bg(col("header"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user