changeset 1681:f9d9282ed2cc

modernized theme searchbar width fix
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Mon, 13 Aug 2012 20:18:19 +0530
parents 63aa4ed9b6c6
children 71f843bae0eb
files MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/main.styl
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/modernized/static/css/common.css	Mon Aug 13 19:58:31 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/common.css	Mon Aug 13 20:18:19 2012 +0530
@@ -450,14 +450,14 @@
 a.moin-nonexistent:hover{color:#1f9ae0;text-decoration:underline}
 .current-link{color:inherit !important}
 #moin-header{margin:0;padding:0 0 10px 0;background:#708090;color:#fff;line-height:1.12em;border-bottom-left-radius:9px;border-bottom-right-radius:9px}
-#moin-searchform{margin:8px .5em;padding:0;font-size:.82em;float:right;text-align:right}
+#moin-searchform{margin:8px .5em;padding:0;font-size:.82em;float:right;text-align:right;width:15em}
 #moin-searchform input{font-size:100%;vertical-align:middle;background-color:#fff;border:1px solid #4e7da9}
 #moin-searchform #moin-search-submit{text-indent:-9000%;margin-left:-26px;width:20px;height:16px;background:url("../img/moin-search.png") center center no-repeat;background-size:16px 16px;border:none;overflow:hidden;vertical-align:middle;cursor:pointer;padding:0;box-shadow:none}
 #moin-searchform #moin-search-query{padding-right:20px}
 #moin-searchform div{margin:0 5px 0 0}
 #moin-long-searchform{padding:0;font-size:.82em;text-align:left}
 #moin-long-searchform div{margin:0}
-#moin-search-query{width:98%}
+#moin-search-query{width:80%}
 #moin-logo{float:left;margin:5px 10px;padding:0;font-size:1.4em;line-height:1em;font-weight:bold}
 #moin-logo img{vertical-align:middle}
 #moin-logo a{color:#fff;text-decoration:none}
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Mon Aug 13 19:58:31 2012 +0530
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Mon Aug 13 20:18:19 2012 +0530
@@ -1214,6 +1214,7 @@
     font-size 0.82em
     float right
     text-align right
+    width 15em
 
 #moin-searchform input
     font-size 100%
@@ -1250,7 +1251,7 @@
     margin 0
 
 #moin-search-query
-    width 98%
+    width 80%
 
 #moin-logo
     float left