Set CSS theme for text

This commit is contained in:
Cédric Krier committed 2018-08-11 16:34:55 +02:00
1 parent d6fcb2dce3
commit d949cfe35f
1 file changed
+3 -3
+3 -3
View File
@@ -17,13 +17,13 @@ from tryton.gui.window.dblogin import DBLogin
def main():
CSS = b"""
.readonly entry {
.readonly entry, .readonly text {
background-color: @insensitive_bg_color;
}
.required entry {
.required entry, .required text {
border-color: darker(@unfocused_borders);
}
.invalid entry, entry.invalid {
.invalid entry, entry.invalid, .invalid text, text.invalid {
border-color: @error_color;
}
"""