web-bayern impress privacy

This commit is contained in:
Rainer Gümpelein 2022-03-24 14:58:12 +01:00
parent 1503e52196
commit d67f354bb4
3 changed files with 11 additions and 7 deletions

View file

@ -21,7 +21,7 @@ function change_contrast(){
if(bgcol == ('rgb(0, 141, 210)')){ //008dd2 (blue)
element[i].style.backgroundColor = "rgb(63, 63, 63)";//3f3f3f (black)
element[i].style.color = "rgb(255, 255, 254)";//white
element[i].style.color = "rgb(255, 255, 254)";//fffffe (white)
}
if(bgcol == ('rgb(63, 63, 63)')){ //black
element[i].style.backgroundColor = "rgb(0, 141, 210)";
@ -43,6 +43,10 @@ function change_contrast(){
element[i].style.color = "rgb(63, 63, 63)";
element[i].style.backgroundColor = "rgb(255, 255, 255)";
}
if(fgcol == ('rgb(63, 63, 63)') && bgcol == ('rgb(255, 255, 254)')){ //black
element[i].style.color = "rgb(255, 255, 254)";
element[i].style.backgroundColor = "rgb(3, 101, 149)";
}
if(fgcol == ('rgb(63, 63, 63)') && bgcol == ('rgb(255, 255, 255)')){ //black
element[i].style.color = "rgb(0, 141, 210)";
element[i].style.backgroundColor = "rgb(255, 255, 255)";