aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-13 21:14:04 -0700
committerfriendica <info@friendica.com>2013-10-13 21:14:04 -0700
commitdb42e4d2f92dacb02662dc298871300dfea75651 (patch)
tree3a1345c05a18870674f476d9f2746742bc707f35 /view
parent454aa6bff38ee540b7467f3caa3d6651b70f14ef (diff)
downloadvolse-hubzilla-db42e4d2f92dacb02662dc298871300dfea75651.tar.gz
volse-hubzilla-db42e4d2f92dacb02662dc298871300dfea75651.tar.bz2
volse-hubzilla-db42e4d2f92dacb02662dc298871300dfea75651.zip
attachment icons revisited
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css15
-rw-r--r--view/tpl/item_attach.tpl6
2 files changed, 21 insertions, 0 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index fc84cbf57..0c5c916ae 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -3459,3 +3459,18 @@ a .drop-icons {
color: #FF0000;
}
+.attachlink {
+ float: left;
+ border: 1px solid black;
+ padding: 5px;
+ margin-right: 8px;
+}
+
+.attach-icons {
+ font-size: 1.4em;
+}
+
+.attach-clip {
+ margin-right: 3px;
+ font-size: 1.8em;
+} \ No newline at end of file
diff --git a/view/tpl/item_attach.tpl b/view/tpl/item_attach.tpl
new file mode 100644
index 000000000..25c127a15
--- /dev/null
+++ b/view/tpl/item_attach.tpl
@@ -0,0 +1,6 @@
+<div class="body-attach">
+{{foreach $attaches as $a}}
+<a href="{{$a.url}}" title="{{$a.title}}" class="attachlink" ><i class="icon-paper-clip attach-icons attach-clip"></i><i class="{{$a.icon}} attach-icons"></i></a>
+{{/foreach}}
+<div class="clear"></div>
+</div>