]> git.mxchange.org Git - friendica.git/commitdiff
quattro: icons for attachments
authorFabio Comuni <fabrix.xm@gmail.com>
Wed, 15 Feb 2012 10:10:02 +0000 (11:10 +0100)
committerFabio Comuni <fabrix.xm@gmail.com>
Wed, 15 Feb 2012 10:10:02 +0000 (11:10 +0100)
29 files changed:
images/icons/10/audio.png [new file with mode: 0644]
images/icons/10/image.png [new file with mode: 0644]
images/icons/10/text.png [new file with mode: 0644]
images/icons/10/video.png [new file with mode: 0644]
images/icons/10/zip.png [new file with mode: 0644]
images/icons/16/audio.png [new file with mode: 0644]
images/icons/16/image.png [new file with mode: 0644]
images/icons/16/text.png [new file with mode: 0644]
images/icons/16/video.png [new file with mode: 0644]
images/icons/16/zip.png [new file with mode: 0644]
images/icons/22/audio.png [new file with mode: 0644]
images/icons/22/image.png [new file with mode: 0644]
images/icons/22/text.png [new file with mode: 0644]
images/icons/22/video.png [new file with mode: 0644]
images/icons/22/zip.png [new file with mode: 0644]
images/icons/48/audio.png [new file with mode: 0644]
images/icons/48/image.png [new file with mode: 0644]
images/icons/48/text.png [new file with mode: 0644]
images/icons/48/video.png [new file with mode: 0644]
images/icons/48/zip.png [new file with mode: 0644]
images/icons/Makefile
images/icons/audio.png [new file with mode: 0644]
images/icons/image.png [new file with mode: 0644]
images/icons/text.png [new file with mode: 0644]
images/icons/video.png [new file with mode: 0644]
images/icons/zip.png [new file with mode: 0644]
include/text.php
view/theme/quattro/icons.less
view/theme/quattro/style.css

diff --git a/images/icons/10/audio.png b/images/icons/10/audio.png
new file mode 100644 (file)
index 0000000..cfc2fdc
Binary files /dev/null and b/images/icons/10/audio.png differ
diff --git a/images/icons/10/image.png b/images/icons/10/image.png
new file mode 100644 (file)
index 0000000..dce827b
Binary files /dev/null and b/images/icons/10/image.png differ
diff --git a/images/icons/10/text.png b/images/icons/10/text.png
new file mode 100644 (file)
index 0000000..a9995ea
Binary files /dev/null and b/images/icons/10/text.png differ
diff --git a/images/icons/10/video.png b/images/icons/10/video.png
new file mode 100644 (file)
index 0000000..4a3dacf
Binary files /dev/null and b/images/icons/10/video.png differ
diff --git a/images/icons/10/zip.png b/images/icons/10/zip.png
new file mode 100644 (file)
index 0000000..b90ab10
Binary files /dev/null and b/images/icons/10/zip.png differ
diff --git a/images/icons/16/audio.png b/images/icons/16/audio.png
new file mode 100644 (file)
index 0000000..f2b9998
Binary files /dev/null and b/images/icons/16/audio.png differ
diff --git a/images/icons/16/image.png b/images/icons/16/image.png
new file mode 100644 (file)
index 0000000..c52b973
Binary files /dev/null and b/images/icons/16/image.png differ
diff --git a/images/icons/16/text.png b/images/icons/16/text.png
new file mode 100644 (file)
index 0000000..1f3433a
Binary files /dev/null and b/images/icons/16/text.png differ
diff --git a/images/icons/16/video.png b/images/icons/16/video.png
new file mode 100644 (file)
index 0000000..bd1a7bb
Binary files /dev/null and b/images/icons/16/video.png differ
diff --git a/images/icons/16/zip.png b/images/icons/16/zip.png
new file mode 100644 (file)
index 0000000..f0fbc0d
Binary files /dev/null and b/images/icons/16/zip.png differ
diff --git a/images/icons/22/audio.png b/images/icons/22/audio.png
new file mode 100644 (file)
index 0000000..dbf4675
Binary files /dev/null and b/images/icons/22/audio.png differ
diff --git a/images/icons/22/image.png b/images/icons/22/image.png
new file mode 100644 (file)
index 0000000..f00e3a2
Binary files /dev/null and b/images/icons/22/image.png differ
diff --git a/images/icons/22/text.png b/images/icons/22/text.png
new file mode 100644 (file)
index 0000000..d35e45f
Binary files /dev/null and b/images/icons/22/text.png differ
diff --git a/images/icons/22/video.png b/images/icons/22/video.png
new file mode 100644 (file)
index 0000000..eca481f
Binary files /dev/null and b/images/icons/22/video.png differ
diff --git a/images/icons/22/zip.png b/images/icons/22/zip.png
new file mode 100644 (file)
index 0000000..4d4ecbe
Binary files /dev/null and b/images/icons/22/zip.png differ
diff --git a/images/icons/48/audio.png b/images/icons/48/audio.png
new file mode 100644 (file)
index 0000000..23f49b5
Binary files /dev/null and b/images/icons/48/audio.png differ
diff --git a/images/icons/48/image.png b/images/icons/48/image.png
new file mode 100644 (file)
index 0000000..cc0c868
Binary files /dev/null and b/images/icons/48/image.png differ
diff --git a/images/icons/48/text.png b/images/icons/48/text.png
new file mode 100644 (file)
index 0000000..5023945
Binary files /dev/null and b/images/icons/48/text.png differ
diff --git a/images/icons/48/video.png b/images/icons/48/video.png
new file mode 100644 (file)
index 0000000..dde02f6
Binary files /dev/null and b/images/icons/48/video.png differ
diff --git a/images/icons/48/zip.png b/images/icons/48/zip.png
new file mode 100644 (file)
index 0000000..08a9330
Binary files /dev/null and b/images/icons/48/zip.png differ
index 00c4fa4c20bef3829021f1b1a52ca491cd508f07..bfb5927df1a596452d34e6563a2a1890cb9f9486 100755 (executable)
@@ -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 (file)
index 0000000..1e15612
Binary files /dev/null and b/images/icons/audio.png differ
diff --git a/images/icons/image.png b/images/icons/image.png
new file mode 100644 (file)
index 0000000..cec105b
Binary files /dev/null and b/images/icons/image.png differ
diff --git a/images/icons/text.png b/images/icons/text.png
new file mode 100644 (file)
index 0000000..c20190c
Binary files /dev/null and b/images/icons/text.png differ
diff --git a/images/icons/video.png b/images/icons/video.png
new file mode 100644 (file)
index 0000000..467a212
Binary files /dev/null and b/images/icons/video.png differ
diff --git a/images/icons/zip.png b/images/icons/zip.png
new file mode 100644 (file)
index 0000000..df961dd
Binary files /dev/null and b/images/icons/zip.png differ
index 798e809d10bd8350c0b81b6b1fc8721d159a46ee..6beb5c9b229c1f77876827324796e6c90ba60a37 100755 (executable)
@@ -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]));
index f87327703fb9a1324bbafcc14cfe169f8df9402b..e314fba1fdd29d20ca5da45c053775daba8ce0c3 100755 (executable)
        &.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"); }
        
 }
 
index 0f5db6fe12df5a2c3839b7dbbccc2bdbe9e8299c..4c24ade8ea7aaf40ce67de38400cd7516c2199a3 100755 (executable)
 .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;
 }
 .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;
 }
 .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;
 }
 .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;