changeset 2001:12e1e70fbbe1

remove odd styling for global index Upload files button, make pycharm happy
author Roger Haase <crosseyedpenguin@yahoo.com>
date Wed, 13 Feb 2013 12:37:00 -0700
parents 374eb595d6ba
children d14e00087697
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl MoinMoin/themes/modernized/static/css/common.css MoinMoin/themes/modernized/static/css/stylus/main.styl
diffstat 4 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Wed Feb 13 08:09:26 2013 -0700
+++ b/MoinMoin/themes/foobar/static/css/common.css	Wed Feb 13 12:37:00 2013 -0700
@@ -275,7 +275,7 @@
 #file_upload{margin-top:2em}
 form.upload_file{background-color:#d6d5d0;border:1px solid #ccc;cursor:pointer;direction:ltr;font-weight:bold;height:2.5em;line-height:2.5em;overflow:hidden;position:relative;text-align:center;width:15em;box-shadow:0 0 5px #9d9d9b;}
 form.upload_file:hover{box-shadow:0 0 5px #000}
-form.upload_file input{border:300px solid transparent;cursor:pointer;opacity:0;position:absolute}
+form.upload_file input{cursor:pointer;height:100%;margin:0;opacity:0;position:absolute}
 form.upload_file button{display:none}
 form.upload_file{display:block}
 .file_upload_template .file_upload_start{visibility:hidden;border-width:0;padding:0}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Wed Feb 13 08:09:26 2013 -0700
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Wed Feb 13 12:37:00 2013 -0700
@@ -525,8 +525,9 @@
     &:hover
         box-shadow 0px 0px 5px font_color
     input
-        border 300px solid transparent
         cursor pointer
+        height 100%
+        margin 0
         opacity 0
         position absolute
 
--- a/MoinMoin/themes/modernized/static/css/common.css	Wed Feb 13 08:09:26 2013 -0700
+++ b/MoinMoin/themes/modernized/static/css/common.css	Wed Feb 13 12:37:00 2013 -0700
@@ -393,8 +393,7 @@
 #file_upload{margin-top:2em}
 form.upload_file{background-color:#708090;border:1px solid #4e7da9;color:#cfcfcf;cursor:pointer;direction:ltr;font-weight:bold;height:2.5em;line-height:2.5em;overflow:hidden;position:relative;text-align:center;width:15em;box-shadow:0 0 5px #708090}
 form.upload_file:hover{color:#fff}
-form.upload_file input{-moz-transform:translate(-800px,0) scale(10);border:300px solid transparent;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;right:0;top:0}
-form.upload_file input{height:auto}
+form.upload_file input{cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;right:0;top:0}
 form.upload_file button{display:none}
 form.upload_file{display:block}
 .file_upload_template .file_upload_start{visibility:hidden;border-width:0;padding:0}
--- a/MoinMoin/themes/modernized/static/css/stylus/main.styl	Wed Feb 13 08:09:26 2013 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/main.styl	Wed Feb 13 12:37:00 2013 -0700
@@ -961,8 +961,6 @@
     color heading_color
 
 form.upload_file input
-    -moz-transform translate(-800px, 0pt) scale(10)
-    border 300px solid transparent
     cursor pointer
     height 100%
     margin 0
@@ -971,9 +969,6 @@
     right 0
     top 0
 
-form.upload_file input
-    height auto
-
 form.upload_file button
     display none