diff options
author | kali <kali@leap.se> | 2012-11-28 01:11:05 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-11-28 01:11:05 +0900 |
commit | 16f19a225a922dd77f3f6c75c94194ebd229fc67 (patch) | |
tree | d77ba10cdad970b5025e75daa2b3be24e35ce0c7 /src/leap/gui/styles.py | |
parent | 862014f68fce37318f77309a8f8f9782dabc60d2 (diff) | |
parent | 3ea766452e3c4708c724509d03001c0a0314fcf6 (diff) |
Merge branch 'feature/wizard-usability' into develop
Diffstat (limited to 'src/leap/gui/styles.py')
-rw-r--r-- | src/leap/gui/styles.py | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/src/leap/gui/styles.py b/src/leap/gui/styles.py index 759817ce..b482922e 100644 --- a/src/leap/gui/styles.py +++ b/src/leap/gui/styles.py @@ -1,4 +1,16 @@ -ErrorLabelStyleSheet = """ -QLabel { color: red; - font-weight: bold} +GreenLineEdit = "QLabel {color: green; font-weight: bold}" +ErrorLabelStyleSheet = """QLabel { color: red; font-weight: bold }""" +ErrorLineEdit = """QLineEdit { border: 1px solid red; }""" + + +# XXX this is bad. +# and you should feel bad for it. +# The original style has a sort of box color +# white/beige left-top/right-bottom or something like +# that. + +RegularLineEdit = """ +QLineEdit { + border: 1px solid black; +} """ |