changeset 1482:9d8a3a91aefd

Foobar theme upload content styling
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Fri, 22 Jun 2012 21:02:27 +0530
parents 1dd4cd0e278f
children 999b51018931
files MoinMoin/themes/foobar/static/css/common.css MoinMoin/themes/foobar/static/css/stylus/main.styl MoinMoin/themes/foobar/static/img/moin-conflict.png
diffstat 3 files changed, 66 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/foobar/static/css/common.css	Fri Jun 22 20:54:33 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/common.css	Fri Jun 22 21:02:27 2012 +0530
@@ -187,6 +187,18 @@
 .popup-body label{margin:5px}
 .popup-body input{margin:8px 5px}
 .popup-container{margin:0;border:5px solid #2c2c2a;border-radius:6px 6px 0 0}
+#moin-upload-cont{min-height:10px}
+#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 button{display:none}
+form.upload_file{display:block}
+.file_upload_template .file_upload_start{visibility:hidden;border-width:0;padding:0}
+.file_upload_template .file_upload_start button{width:0}
+.upload-form{display:none}
+.moin-drag{font-size:.7em;color:#9d9d9b}
+a.moin-conflict:before{content:url("../img/moin-conflict.png");margin:0 .2em}
 .moin-tab-titles{margin:-.5em;list-style:none}
 a{text-decoration:none;}
 a:link{color:#4fa8fa}
--- a/MoinMoin/themes/foobar/static/css/stylus/main.styl	Fri Jun 22 20:54:33 2012 +0530
+++ b/MoinMoin/themes/foobar/static/css/stylus/main.styl	Fri Jun 22 21:02:27 2012 +0530
@@ -248,6 +248,60 @@
     border 5px solid header_bg_color
     border-radius 6px 6px 0px 0px 
 
+// upload content
+#moin-upload-cont
+  min-height: 10px
+
+#file_upload
+  margin-top: 2em
+
+form.upload_file
+  background-color: base_color
+  border border_style
+  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: 0px 0px 5px shadow_color
+  &:hover
+    box-shadow: 0px 0px 5px font_color
+  input
+      border: 300px solid transparent
+      cursor: pointer
+      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: 0px
+  padding: 0px
+
+.file_upload_template .file_upload_start button
+  width: 0px
+
+.upload-form
+  display: none
+
+.moin-drag
+  font-size: 0.7em
+  color: shadow_color
+
+a.moin-conflict:before
+  content: url(../img/moin-conflict.png)
+  margin: 0 0.2em
+
 // tabs
 .moin-tab-titles
     margin:-.5em 
Binary file MoinMoin/themes/foobar/static/img/moin-conflict.png has changed