Bg color fixed…
This commit is contained in:
parent
95a1e266ae
commit
d14630769a
|
@ -569,7 +569,7 @@ var orbitDesktop = function(dom){
|
||||||
$("tr#color_inputs input").each(function(){
|
$("tr#color_inputs input").each(function(){
|
||||||
colors[$(this).attr("for")] = $(this).val();
|
colors[$(this).attr("for")] = $(this).val();
|
||||||
})
|
})
|
||||||
var dhtml ="<style> .thmc1 { background: "+colors['thmc1']+"; }.thmc2 { background: "+colors['thmc2']+"; }.thmc3 { background: #FFFFFF; }.thmc4 { background: "+colors['thmc4']+"; }.thmtxt { color: "+colors['thmtxt']+"; }.thmtxth { color: "+colors['thmtxth']+"; }.g_sep { border-color: "+colors['g_sep']+"; #thmbackground{background-color: "+colors['background']+"} }</style>";
|
var dhtml ="<style> .thmc1 { background: "+colors['thmc1']+"; }.thmc2 { background: "+colors['thmc2']+"; }.thmc3 { background: #FFFFFF; }.thmc4 { background: "+colors['thmc4']+"; }.thmtxt { color: "+colors['thmtxt']+"; }.thmtxth { color: "+colors['thmtxth']+"; }.g_sep { border-color: "+colors['g_sep']+";} body{background-color: "+colors['background']+"} </style>";
|
||||||
$("head").find("#dyn_css").remove();
|
$("head").find("#dyn_css").remove();
|
||||||
$("head").append(dhtml);
|
$("head").append(dhtml);
|
||||||
$.post("/desktop/save_desktop_settings",{"save":"customtheme","desktopid":o.desktopId,"theme":dhtml},function(result,status){
|
$.post("/desktop/save_desktop_settings",{"save":"customtheme","desktopid":o.desktopId,"theme":dhtml},function(result,status){
|
||||||
|
|
Loading…
Reference in New Issue