2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-15 03:59:11 +00:00

*.css: add .changed a { color:red; } (Forum #31293)

git-svn-id: https://svn.fhem.de/fhem/trunk@7617 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-01-18 14:33:42 +00:00
parent e1ebb4eeb1
commit f9957d9fd8
6 changed files with 8 additions and 8 deletions

View File

@ -2268,10 +2268,10 @@ FW_Notify($$)
if( $dev->{NAME} eq "global" ) {
my $n = "#FHEMWEB:$ntfy->{NAME}";
if( grep(m/^SAVE|INITIALIZED|REREADCFG|SHUTDOWN$/, @{$dev->{CHANGED}}) ) {
FW_directNotify($n, '$(".Save_config a").removeClass("changed")', '');
FW_directNotify($n, '$(".Save_config").removeClass("changed")', '');
} elsif( grep(m/^DEFINED|MODIFIED|DELETED|ATTR|DELETEATTR$/,
@{$dev->{CHANGED}}) ) {
FW_directNotify($n, '$(".Save_config a").addClass("changed")', '');
FW_directNotify($n, '$(".Save_config").addClass("changed")', '');
}
}

View File

@ -89,7 +89,7 @@ g.on { fill:red; }
border-color: transparent; }
.rc_button img:active { border-color: gray; }
.changed { color:red; }
.changed a, .changed { color:red; }
div.dname, div.dval {
width: 152px;

View File

@ -92,7 +92,7 @@ g.on { fill:red; }
border-color: transparent; }
.rc_button img:active { border-color: gray; }
.changed { color:red; }
.changed a, .changed { color:red; }
.colorpicker_ct .slider { background: url(../jscolor/ct_background.svg); }

View File

@ -19,7 +19,7 @@ table { border-radius:8px; }
table.room { border:1px solid gray; width: 100%; background: #D7FFFF; }
table.room tr.sel { background: #A0FFFF; }
tr.column td { padding:0; vertical-align:top;}
.changed { color:red; }
.changed a, .changed { color:red; }
.col2 { text-align:center; }
/* Documentation */

View File

@ -469,7 +469,7 @@ table.room tr.sel a:hover svg {
background-color:#333333;
}
.changed { color:red; }
.changed a, .changed { color:red; }
.dname {
}
@ -612,4 +612,4 @@ background:#C8C8B0; font-size:6px;}
.rc_button { padding: 5px 7px;}
.rc_button img { border-style:solid; border-width:1px;
border-color:transparent; }
.rc_button img:active { border-color: gray; }
.rc_button img:active { border-color: gray; }

View File

@ -143,7 +143,7 @@ select { margin-left:5px; margin-right:5px; background: #fff; border:0px; }
/* timepicker */
.set .set { margin-bottom:2px; margin-top:3px; }
.changed { color:#fc3e39; }
.changed a, .changed { color:#fc3e39; }
.handle { position:relative; cursor:pointer; width:50px;
height:20px; line-height:20px;