aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2012-02-15 11:10:02 +0100
committerFabio Comuni <fabrix.xm@gmail.com>2012-02-15 11:10:02 +0100
commitfe3e8ee8547dbb7dab5b756056d688d2b8bfbd5f (patch)
treebbd0c2dadb9a3fa76f0d575ce958d7ead96dcd92
parent7140e56d1f01ce8448fa432411c10b9212fc8a66 (diff)
downloadvolse-hubzilla-fe3e8ee8547dbb7dab5b756056d688d2b8bfbd5f.tar.gz
volse-hubzilla-fe3e8ee8547dbb7dab5b756056d688d2b8bfbd5f.tar.bz2
volse-hubzilla-fe3e8ee8547dbb7dab5b756056d688d2b8bfbd5f.zip
quattro: icons for attachments
-rw-r--r--images/icons/10/audio.pngbin0 -> 470 bytes
-rw-r--r--images/icons/10/image.pngbin0 -> 455 bytes
-rw-r--r--images/icons/10/text.pngbin0 -> 435 bytes
-rw-r--r--images/icons/10/video.pngbin0 -> 454 bytes
-rw-r--r--images/icons/10/zip.pngbin0 -> 468 bytes
-rw-r--r--images/icons/16/audio.pngbin0 -> 599 bytes
-rw-r--r--images/icons/16/image.pngbin0 -> 667 bytes
-rw-r--r--images/icons/16/text.pngbin0 -> 503 bytes
-rw-r--r--images/icons/16/video.pngbin0 -> 527 bytes
-rw-r--r--images/icons/16/zip.pngbin0 -> 623 bytes
-rw-r--r--images/icons/22/audio.pngbin0 -> 713 bytes
-rw-r--r--images/icons/22/image.pngbin0 -> 916 bytes
-rw-r--r--images/icons/22/text.pngbin0 -> 583 bytes
-rw-r--r--images/icons/22/video.pngbin0 -> 616 bytes
-rw-r--r--images/icons/22/zip.pngbin0 -> 785 bytes
-rw-r--r--images/icons/48/audio.pngbin0 -> 1307 bytes
-rw-r--r--images/icons/48/image.pngbin0 -> 2229 bytes
-rw-r--r--images/icons/48/text.pngbin0 -> 972 bytes
-rw-r--r--images/icons/48/video.pngbin0 -> 1022 bytes
-rw-r--r--images/icons/48/zip.pngbin0 -> 1659 bytes
-rwxr-xr-ximages/icons/Makefile3
-rw-r--r--images/icons/audio.pngbin0 -> 7975 bytes
-rw-r--r--images/icons/image.pngbin0 -> 13987 bytes
-rw-r--r--images/icons/text.pngbin0 -> 6177 bytes
-rw-r--r--images/icons/video.pngbin0 -> 6151 bytes
-rw-r--r--images/icons/zip.pngbin0 -> 9829 bytes
-rwxr-xr-xinclude/text.php4
-rwxr-xr-xview/theme/quattro/icons.less5
-rwxr-xr-xview/theme/quattro/style.css60
29 files changed, 69 insertions, 3 deletions
diff --git a/images/icons/10/audio.png b/images/icons/10/audio.png
new file mode 100644
index 000000000..cfc2fdcbd
--- /dev/null
+++ b/images/icons/10/audio.png
Binary files differ
diff --git a/images/icons/10/image.png b/images/icons/10/image.png
new file mode 100644
index 000000000..dce827bbe
--- /dev/null
+++ b/images/icons/10/image.png
Binary files differ
diff --git a/images/icons/10/text.png b/images/icons/10/text.png
new file mode 100644
index 000000000..a9995ea4d
--- /dev/null
+++ b/images/icons/10/text.png
Binary files differ
diff --git a/images/icons/10/video.png b/images/icons/10/video.png
new file mode 100644
index 000000000..4a3dacf96
--- /dev/null
+++ b/images/icons/10/video.png
Binary files differ
diff --git a/images/icons/10/zip.png b/images/icons/10/zip.png
new file mode 100644
index 000000000..b90ab104a
--- /dev/null
+++ b/images/icons/10/zip.png
Binary files differ
diff --git a/images/icons/16/audio.png b/images/icons/16/audio.png
new file mode 100644
index 000000000..f2b99981f
--- /dev/null
+++ b/images/icons/16/audio.png
Binary files differ
diff --git a/images/icons/16/image.png b/images/icons/16/image.png
new file mode 100644
index 000000000..c52b9730d
--- /dev/null
+++ b/images/icons/16/image.png
Binary files differ
diff --git a/images/icons/16/text.png b/images/icons/16/text.png
new file mode 100644
index 000000000..1f3433a56
--- /dev/null
+++ b/images/icons/16/text.png
Binary files differ
diff --git a/images/icons/16/video.png b/images/icons/16/video.png
new file mode 100644
index 000000000..bd1a7bb57
--- /dev/null
+++ b/images/icons/16/video.png
Binary files differ
diff --git a/images/icons/16/zip.png b/images/icons/16/zip.png
new file mode 100644
index 000000000..f0fbc0dbf
--- /dev/null
+++ b/images/icons/16/zip.png
Binary files differ
diff --git a/images/icons/22/audio.png b/images/icons/22/audio.png
new file mode 100644
index 000000000..dbf4675cf
--- /dev/null
+++ b/images/icons/22/audio.png
Binary files differ
diff --git a/images/icons/22/image.png b/images/icons/22/image.png
new file mode 100644
index 000000000..f00e3a290
--- /dev/null
+++ b/images/icons/22/image.png
Binary files differ
diff --git a/images/icons/22/text.png b/images/icons/22/text.png
new file mode 100644
index 000000000..d35e45ff8
--- /dev/null
+++ b/images/icons/22/text.png
Binary files differ
diff --git a/images/icons/22/video.png b/images/icons/22/video.png
new file mode 100644
index 000000000..eca481ff1
--- /dev/null
+++ b/images/icons/22/video.png
Binary files differ
diff --git a/images/icons/22/zip.png b/images/icons/22/zip.png
new file mode 100644
index 000000000..4d4ecbe9a
--- /dev/null
+++ b/images/icons/22/zip.png
Binary files differ
diff --git a/images/icons/48/audio.png b/images/icons/48/audio.png
new file mode 100644
index 000000000..23f49b54d
--- /dev/null
+++ b/images/icons/48/audio.png
Binary files differ
diff --git a/images/icons/48/image.png b/images/icons/48/image.png
new file mode 100644
index 000000000..cc0c86872
--- /dev/null
+++ b/images/icons/48/image.png
Binary files differ
diff --git a/images/icons/48/text.png b/images/icons/48/text.png
new file mode 100644
index 000000000..502394547
--- /dev/null
+++ b/images/icons/48/text.png
Binary files differ
diff --git a/images/icons/48/video.png b/images/icons/48/video.png
new file mode 100644
index 000000000..dde02f600
--- /dev/null
+++ b/images/icons/48/video.png
Binary files differ
diff --git a/images/icons/48/zip.png b/images/icons/48/zip.png
new file mode 100644
index 000000000..08a9330c4
--- /dev/null
+++ b/images/icons/48/zip.png
Binary files differ
diff --git a/images/icons/Makefile b/images/icons/Makefile
index 00c4fa4c2..bfb5927df 100755
--- a/images/icons/Makefile
+++ b/images/icons/Makefile
@@ -2,7 +2,8 @@
IMAGES=add.png edit.png gear.png info.png menu.png \
notify_off.png star.png delete.png feed.png group.png \
lock.png notice.png notify_on.png user.png link.png \
- play.png plugin.png unlock.png
+ play.png plugin.png unlock.png zip.png audio.png video.png \
+ image.png text.png
DESTS=10/ 16/ 22/ 48/ \
$(addprefix 10/, $(IMAGES)) \
diff --git a/images/icons/audio.png b/images/icons/audio.png
new file mode 100644
index 000000000..1e1561266
--- /dev/null
+++ b/images/icons/audio.png
Binary files differ
diff --git a/images/icons/image.png b/images/icons/image.png
new file mode 100644
index 000000000..cec105bfd
--- /dev/null
+++ b/images/icons/image.png
Binary files differ
diff --git a/images/icons/text.png b/images/icons/text.png
new file mode 100644
index 000000000..c20190ce2
--- /dev/null
+++ b/images/icons/text.png
Binary files differ
diff --git a/images/icons/video.png b/images/icons/video.png
new file mode 100644
index 000000000..467a2123e
--- /dev/null
+++ b/images/icons/video.png
Binary files differ
diff --git a/images/icons/zip.png b/images/icons/zip.png
new file mode 100644
index 000000000..df961dd49
--- /dev/null
+++ b/images/icons/zip.png
Binary files differ
diff --git a/include/text.php b/include/text.php
index 798e809d1..6beb5c9b2 100755
--- a/include/text.php
+++ b/include/text.php
@@ -799,10 +799,10 @@ function prepare_body($item,$attach = false) {
case 'audio':
case 'image':
case 'text':
- $icon = '<div class="attachtype type-' . $icontype . '"></div>';
+ $icon = '<div class="attachtype icon s22 type-' . $icontype . '"></div>';
break;
default:
- $icon = '<div class="attachtype type-unkn"></div>';
+ $icon = '<div class="attachtype icon s22 type-unkn"></div>';
break;
}
$title = ((strlen(trim($matches[4]))) ? escape_tags(trim($matches[4])) : escape_tags($matches[1]));
diff --git a/view/theme/quattro/icons.less b/view/theme/quattro/icons.less
index f87327703..e314fba1f 100755
--- a/view/theme/quattro/icons.less
+++ b/view/theme/quattro/icons.less
@@ -13,6 +13,11 @@
&.link { background-image: url("../../../images/icons/@{size}/link.png"); }
&.lock { background-image: url("../../../images/icons/@{size}/lock.png"); }
&.unlock { background-image: url("../../../images/icons/@{size}/unlock.png"); }
+ &.type-unkn { background-image: url("../../../images/icons/@{size}/zip.png"); }
+ &.type-audio{ background-image: url("../../../images/icons/@{size}/audio.png"); }
+ &.type-video{ background-image: url("../../../images/icons/@{size}/video.png"); }
+ &.type-image{ background-image: url("../../../images/icons/@{size}/image.png"); }
+ &.type-text { background-image: url("../../../images/icons/@{size}/text.png"); }
}
diff --git a/view/theme/quattro/style.css b/view/theme/quattro/style.css
index 0f5db6fe1..4c24ade8e 100755
--- a/view/theme/quattro/style.css
+++ b/view/theme/quattro/style.css
@@ -48,6 +48,21 @@
.icon.s10.unlock {
background-image: url("../../../images/icons/10/unlock.png");
}
+.icon.s10.type-unkn {
+ background-image: url("../../../images/icons/10/zip.png");
+}
+.icon.s10.type-audio {
+ background-image: url("../../../images/icons/10/audio.png");
+}
+.icon.s10.type-video {
+ background-image: url("../../../images/icons/10/video.png");
+}
+.icon.s10.type-image {
+ background-image: url("../../../images/icons/10/image.png");
+}
+.icon.s10.type-text {
+ background-image: url("../../../images/icons/10/text.png");
+}
.icon.s10.text {
padding: 2px 0px 0px 15px;
}
@@ -85,6 +100,21 @@
.icon.s16.unlock {
background-image: url("../../../images/icons/16/unlock.png");
}
+.icon.s16.type-unkn {
+ background-image: url("../../../images/icons/16/zip.png");
+}
+.icon.s16.type-audio {
+ background-image: url("../../../images/icons/16/audio.png");
+}
+.icon.s16.type-video {
+ background-image: url("../../../images/icons/16/video.png");
+}
+.icon.s16.type-image {
+ background-image: url("../../../images/icons/16/image.png");
+}
+.icon.s16.type-text {
+ background-image: url("../../../images/icons/16/text.png");
+}
.icon.s16.text {
padding: 4px 0px 0px 20px;
}
@@ -122,6 +152,21 @@
.icon.s22.unlock {
background-image: url("../../../images/icons/22/unlock.png");
}
+.icon.s22.type-unkn {
+ background-image: url("../../../images/icons/22/zip.png");
+}
+.icon.s22.type-audio {
+ background-image: url("../../../images/icons/22/audio.png");
+}
+.icon.s22.type-video {
+ background-image: url("../../../images/icons/22/video.png");
+}
+.icon.s22.type-image {
+ background-image: url("../../../images/icons/22/image.png");
+}
+.icon.s22.type-text {
+ background-image: url("../../../images/icons/22/text.png");
+}
.icon.s22.text {
padding: 10px 0px 0px 25px;
}
@@ -159,6 +204,21 @@
.icon.s48.unlock {
background-image: url("../../../images/icons/48/unlock.png");
}
+.icon.s48.type-unkn {
+ background-image: url("../../../images/icons/48/zip.png");
+}
+.icon.s48.type-audio {
+ background-image: url("../../../images/icons/48/audio.png");
+}
+.icon.s48.type-video {
+ background-image: url("../../../images/icons/48/video.png");
+}
+.icon.s48.type-image {
+ background-image: url("../../../images/icons/48/image.png");
+}
+.icon.s48.type-text {
+ background-image: url("../../../images/icons/48/text.png");
+}
/* global */
body {
font-family: Liberation Sans, helvetica, arial, clean, sans-serif;