Set CSS theme for text
This commit is contained in:
1 parent
d6fcb2dce3
commit
d949cfe35f
1 file changed
+3
-3
+3
-3
@@ -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;
|
||||
}
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user