Mercurial > libervia-web
changeset 852:6f0a127077c4
browser: set the background transparent when the register panel is displayed
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 16 Jan 2016 10:49:16 +0100 |
parents | 77a494f13118 |
children | fe43cf3ed7d8 |
files | src/browser/libervia_main.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/browser/libervia_main.py Sat Jan 16 10:48:31 2016 +0100 +++ b/src/browser/libervia_main.py Sat Jan 16 10:49:16 2016 +0100 @@ -324,6 +324,7 @@ def _isRegisteredCB(self, result): registered, warning = result if not registered: + self.panel.setStyleAttribute("opacity", "0.25") # set background transparency self._register_box = register.RegisterBox(self.logged) self._register_box.centerBox() self._register_box.show() @@ -340,6 +341,7 @@ self.logged() def logged(self): + self.panel.setStyleAttribute("opacity", "1") # background becomes foreground if self._register_box: self._register_box.hide() del self._register_box # don't work if self._register_box is None