aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRael <rael.gc@gmail.com>2015-09-30 23:14:53 -0300
committerRael <rael.gc@gmail.com>2015-09-30 23:14:53 -0300
commitbdd5b82b868ded4a4494bf74c933faefd1bac482 (patch)
tree5746d0b1f04edd680476a49b9ecf05664fee202a
parent773942430fa8fd342d8aa6eb27d5a1b76e27b9f2 (diff)
downloadscudcloud-bdd5b82b868ded4a4494bf74c933faefd1bac482.zip
scudcloud-bdd5b82b868ded4a4494bf74c933faefd1bac482.tar.gz
scudcloud-bdd5b82b868ded4a4494bf74c933faefd1bac482.tar.bz2
Fixing fonts (Fixes #245)
-rw-r--r--scudcloud-1.0/lib/wrapper.py4
-rw-r--r--scudcloud-1.0/resources/login.css1
-rw-r--r--scudcloud-1.0/resources/resources.css2
3 files changed, 4 insertions, 3 deletions
diff --git a/scudcloud-1.0/lib/wrapper.py b/scudcloud-1.0/lib/wrapper.py
index f21ed69..035fbdb 100644
--- a/scudcloud-1.0/lib/wrapper.py
+++ b/scudcloud-1.0/lib/wrapper.py
@@ -83,8 +83,8 @@ class Wrapper(QWebView):
return self.page().currentFrame().evaluateJavaScript("ScudCloud."+function+"("+arg+");")
def loadStarted(self):
- # Let's hide login header and footer links for clean UX
- self.settings().setUserStyleSheetUrl(QUrl.fromLocalFile(Resources.get_path("login.css")))
+ # Some custom CSS to clean/fix UX
+ self.settings().setUserStyleSheetUrl(QUrl.fromLocalFile(Resources.get_path("resources.css")))
def urlChanged(self, qUrl):
url = qUrl.toString()
diff --git a/scudcloud-1.0/resources/login.css b/scudcloud-1.0/resources/login.css
deleted file mode 100644
index b705d1e..0000000
--- a/scudcloud-1.0/resources/login.css
+++ /dev/null
@@ -1 +0,0 @@
-nav.top, footer {display: none !important;}
diff --git a/scudcloud-1.0/resources/resources.css b/scudcloud-1.0/resources/resources.css
new file mode 100644
index 0000000..3d1279a
--- /dev/null
+++ b/scudcloud-1.0/resources/resources.css
@@ -0,0 +1,2 @@
+nav.top, footer {display: none !important;}
+* {font-family: Lato,"Helvetica Neue",Helvetica,"Segoe UI",Tahoma,Arial,sans-serif;}