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)) \
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]));
&.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"); }
}
.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;