Commits

Roger Haase committed 12e1e70

remove odd styling for global index Upload files button, make pycharm happy

  • Participants
  • Parent commits 374eb59

Comments (0)

Files changed (4)

File MoinMoin/themes/foobar/static/css/common.css

 #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}

File MoinMoin/themes/foobar/static/css/stylus/main.styl

     &:hover
         box-shadow 0px 0px 5px font_color
     input
-        border 300px solid transparent
         cursor pointer
+        height 100%
+        margin 0
         opacity 0
         position absolute
 

File MoinMoin/themes/modernized/static/css/common.css

 #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}

File MoinMoin/themes/modernized/static/css/stylus/main.styl

     color heading_color
 
 form.upload_file input
-    -moz-transform translate(-800px, 0pt) scale(10)
-    border 300px solid transparent
     cursor pointer
     height 100%
     margin 0
     right 0
     top 0
 
-form.upload_file input
-    height auto
-
 form.upload_file button
     display none