You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/08/01 18:07:54 UTC

[4/5] allura git commit: Readd old attachment css

Readd old attachment css


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/8e026079
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/8e026079
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/8e026079

Branch: refs/heads/master
Commit: 8e026079f476bae5f3dffe3b8cb762dfa4552b34
Parents: ecf45dc
Author: Rohan Verma <ro...@gmail.com>
Authored: Wed Jul 13 04:21:22 2016 +0530
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Mon Aug 1 14:02:27 2016 -0400

----------------------------------------------------------------------
 Allura/allura/nf/allura/css/site_style.css | 41 +++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/8e026079/Allura/allura/nf/allura/css/site_style.css
----------------------------------------------------------------------
diff --git a/Allura/allura/nf/allura/css/site_style.css b/Allura/allura/nf/allura/css/site_style.css
index 366a5f8..dbfb555 100644
--- a/Allura/allura/nf/allura/css/site_style.css
+++ b/Allura/allura/nf/allura/css/site_style.css
@@ -2204,6 +2204,47 @@ a.sidebar-disabled:focus {
 
 /* Attachments */
 
+.attachment_images {
+  overflow: auto;
+}
+
+div.attachment_thumb {
+  float: left;
+  margin: .5em;
+  margin-right: 1.5em;
+  position: relative;
+  padding: 10px;
+}
+div.attachment_thumb .delete_attachment .pic {
+  position: absolute;
+  top: 0;
+  left: 100px;
+}
+div.attachment_thumb .file {
+    position: absolute;
+    top: 0;
+    right: -40px;
+}
+div.attachment_thumb .file_type {
+  border: 1px solid #ccc;
+  display: block;
+  height: 100px;
+  width: 100px;
+  position: relative;
+  text-transform: uppercase;
+  text-align: center;
+  font-weight: bold;
+  font-size: 1.2em;
+  margin-bottom: .5em;
+  background: #ccc;
+  background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, to(#cccccc), from(white));
+  background-image: -moz-linear-gradient(100% 100% 90deg, #cccccc, white 100%);
+}
+div.attachment_thumb .file_type span {
+  display: block;
+  margin-top: 45px;
+  color: #666;
+}
 
 div.attachment_holder {
     padding-left: 5px;