mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
Change when we switch to white text to use black a little more
This commit is contained in:
parent
ddd82175d2
commit
541bca25b4
@ -255,7 +255,7 @@ var et2_calendar_event = et2_valueWidget.extend([et2_IDetachedDOM],
|
|||||||
// Set title color based on background brightness
|
// Set title color based on background brightness
|
||||||
this.title
|
this.title
|
||||||
.css('background-color', this.div.css('background-color'))
|
.css('background-color', this.div.css('background-color'))
|
||||||
.css('color', jQuery.Color(this.div.css('background-color')).lightness() > 0.5 ? 'black':'white');
|
.css('color', jQuery.Color(this.div.css('background-color')).lightness() > 0.45 ? 'black':'white');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.icons.appendTo(this.title)
|
this.icons.appendTo(this.title)
|
||||||
|
Loading…
Reference in New Issue
Block a user