summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorDaniel Napora <napcok@gmail.com>2015-05-09 18:56:27 +0200
committerDaniel Napora <napcok@gmail.com>2015-05-09 18:56:27 +0200
commitcfa9f9103c1e5735ee7690a77aec5066c3485fb4 (patch)
tree18e0782ad269db40c182fe78f45160c20522978d /usr
parentb5b35f5f124b8b9a3df4c2376f5e8bdd84f9d9f5 (diff)
downloadmageiawelcome-cfa9f9103c1e5735ee7690a77aec5066c3485fb4.tar
mageiawelcome-cfa9f9103c1e5735ee7690a77aec5066c3485fb4.tar.gz
mageiawelcome-cfa9f9103c1e5735ee7690a77aec5066c3485fb4.tar.bz2
mageiawelcome-cfa9f9103c1e5735ee7690a77aec5066c3485fb4.tar.xz
mageiawelcome-cfa9f9103c1e5735ee7690a77aec5066c3485fb4.zip
v 0.8.18 fix bug #15882 - window too big0.8.18
Diffstat (limited to 'usr')
-rw-r--r--usr/share/mageiawelcome/css/style.css14
-rw-r--r--usr/share/mageiawelcome/webgui.py4
2 files changed, 9 insertions, 9 deletions
diff --git a/usr/share/mageiawelcome/css/style.css b/usr/share/mageiawelcome/css/style.css
index 9980883..1221b3f 100644
--- a/usr/share/mageiawelcome/css/style.css
+++ b/usr/share/mageiawelcome/css/style.css
@@ -5,21 +5,21 @@ a:focus, button:focus{outline:none;-webkit-tap-highlight-color: rgba(0, 0, 0, 0)
p a.weblink{color:#FFF;font-weight:bold; text-decoration:none;}
p a.weblink:hover{text-decoration:underline;}
body {background: #0C3A6D; color:#FFF;margin:0;padding:0;font-size:12px;cursor:default;text-shadow: 1px 0 2px #000;}
-header{padding:0 6px;height:90px;position:relative;color:#FFF;
+header{padding:0 6px;height:66px;position:relative;color:#FFF;
}
h1,h2,ul,div{margin:0;padding:0;}
h2#welcome{font-size:26px;}
-div#hdrinfo{position:absolute;top:2px;right:8px;background:rgba(255, 255, 255, 0.2); padding:8px;border-radius:8px;font-size:10px;margin:0;}
-div#close{position:fixed;bottom:8px;right:8px;background:rgba(255, 255, 255, 0.1); padding:3px;border-radius:8px;font-size:11px; z-index:200;}
+div#hdrinfo{position:absolute;top:0;right:0;background:rgba(255, 255, 255, 0.2); padding:8px;border-radius:0 0 0 8px;font-size:10px;margin:0;}
+div#close{position:fixed;bottom:0;right:8px;padding:3px;font-size:11px; z-index:200;}
header h2{text-shadow: 0 1px 2px #000;font-size:32px;margin-left:20px;margin-top:1px; margin-bottom:-5px;}
header span{font-size:10px;text-shadow: 0 1px 2px #000;margin-left:20px;margin-top:-14px;}
button.cmd {margin-bottom:4px;}
/* Menu */
-header nav {width:100%;text-align:center;margin-top:54px;z-index:100;cursor: pointer;float:left;}
+header nav {width:100%;text-align:center;margin-top:34px;z-index:100;cursor: pointer;float:left;}
-#logo {margin-top: -90px;margin-left: -10px; height:90px;float:left;}
+#logo {margin-top: -70px;margin-left: -10px; height:70px;float:left;}
#logoright {width:200px;height:240px; position:absolute;right:16px; bottom:50px; background-image:url('../img/mga_bg.png');background-repeat:no-repeat;
background-position:bottom left;
}
@@ -99,7 +99,7 @@ ul.list li.urpme:hover {background-color:rgba(0, 0, 0, 0.3);}
ul.list li span.label{position:absolute; top:2px; right:56px;}
.chkbox {float:left;width:30px;height:54px;}
.chkbox input[type='checkbox']{margin-top: 14px;}
-#selectedRPMS{position:absolute;bottom:46px;left:2px;background:rgba(0, 0, 0, 0.6); padding:3px;border-radius:3px;font-size:11px; z-index:200;width:165px;}
-#install_all {position:absolute;bottom:14px;left:22px;}
+#selectedRPMS{position:absolute;bottom:30px;left:2px;background:rgba(0, 0, 0, 0.6); padding:3px;border-radius:3px;font-size:11px; z-index:200;width:165px;}
+#install_all {position:absolute;bottom:3px;left:32px;}
#rpmdrake_info a {cursor:pointer; text-decoration:underline;color: #111;}
#rpmdrake_info a:hover{font-weight:bold;}
diff --git a/usr/share/mageiawelcome/webgui.py b/usr/share/mageiawelcome/webgui.py
index 6ba0475..a53e131 100644
--- a/usr/share/mageiawelcome/webgui.py
+++ b/usr/share/mageiawelcome/webgui.py
@@ -86,8 +86,8 @@ def launch_browser(html, quit_function=None, echo=True):
window.set_icon_name('preferences-desktop-personal')
window.set_title(_('Welcome to Mageia!'))
window.set_position(gtk.WIN_POS_CENTER)
- window.set_default_size(800, 540)
- window.set_size_request(800, 540)
+ window.set_default_size(800, 500)
+ window.set_size_request(800, 500)
window.set_resizable(False)
window.show_all()