quattro: icons for attachments
After Width: | Height: | Size: 470 B |
After Width: | Height: | Size: 455 B |
After Width: | Height: | Size: 435 B |
After Width: | Height: | Size: 454 B |
After Width: | Height: | Size: 468 B |
After Width: | Height: | Size: 599 B |
After Width: | Height: | Size: 667 B |
After Width: | Height: | Size: 503 B |
After Width: | Height: | Size: 527 B |
After Width: | Height: | Size: 623 B |
After Width: | Height: | Size: 713 B |
After Width: | Height: | Size: 916 B |
After Width: | Height: | Size: 583 B |
After Width: | Height: | Size: 616 B |
After Width: | Height: | Size: 785 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 972 B |
After Width: | Height: | Size: 1022 B |
After Width: | Height: | Size: 1.6 KiB |
|
@ -2,7 +2,8 @@
|
||||||
IMAGES=add.png edit.png gear.png info.png menu.png \
|
IMAGES=add.png edit.png gear.png info.png menu.png \
|
||||||
notify_off.png star.png delete.png feed.png group.png \
|
notify_off.png star.png delete.png feed.png group.png \
|
||||||
lock.png notice.png notify_on.png user.png link.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/ \
|
DESTS=10/ 16/ 22/ 48/ \
|
||||||
$(addprefix 10/, $(IMAGES)) \
|
$(addprefix 10/, $(IMAGES)) \
|
||||||
|
|
After Width: | Height: | Size: 7.8 KiB |
After Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 6.0 KiB |
After Width: | Height: | Size: 9.6 KiB |
|
@ -799,10 +799,10 @@ function prepare_body($item,$attach = false) {
|
||||||
case 'audio':
|
case 'audio':
|
||||||
case 'image':
|
case 'image':
|
||||||
case 'text':
|
case 'text':
|
||||||
$icon = '<div class="attachtype type-' . $icontype . '"></div>';
|
$icon = '<div class="attachtype icon s22 type-' . $icontype . '"></div>';
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$icon = '<div class="attachtype type-unkn"></div>';
|
$icon = '<div class="attachtype icon s22 type-unkn"></div>';
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$title = ((strlen(trim($matches[4]))) ? escape_tags(trim($matches[4])) : escape_tags($matches[1]));
|
$title = ((strlen(trim($matches[4]))) ? escape_tags(trim($matches[4])) : escape_tags($matches[1]));
|
||||||
|
|
|
@ -13,6 +13,11 @@
|
||||||
&.link { background-image: url("../../../images/icons/@{size}/link.png"); }
|
&.link { background-image: url("../../../images/icons/@{size}/link.png"); }
|
||||||
&.lock { background-image: url("../../../images/icons/@{size}/lock.png"); }
|
&.lock { background-image: url("../../../images/icons/@{size}/lock.png"); }
|
||||||
&.unlock { background-image: url("../../../images/icons/@{size}/unlock.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"); }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,21 @@
|
||||||
.icon.s10.unlock {
|
.icon.s10.unlock {
|
||||||
background-image: url("../../../images/icons/10/unlock.png");
|
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 {
|
.icon.s10.text {
|
||||||
padding: 2px 0px 0px 15px;
|
padding: 2px 0px 0px 15px;
|
||||||
}
|
}
|
||||||
|
@ -85,6 +100,21 @@
|
||||||
.icon.s16.unlock {
|
.icon.s16.unlock {
|
||||||
background-image: url("../../../images/icons/16/unlock.png");
|
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 {
|
.icon.s16.text {
|
||||||
padding: 4px 0px 0px 20px;
|
padding: 4px 0px 0px 20px;
|
||||||
}
|
}
|
||||||
|
@ -122,6 +152,21 @@
|
||||||
.icon.s22.unlock {
|
.icon.s22.unlock {
|
||||||
background-image: url("../../../images/icons/22/unlock.png");
|
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 {
|
.icon.s22.text {
|
||||||
padding: 10px 0px 0px 25px;
|
padding: 10px 0px 0px 25px;
|
||||||
}
|
}
|
||||||
|
@ -159,6 +204,21 @@
|
||||||
.icon.s48.unlock {
|
.icon.s48.unlock {
|
||||||
background-image: url("../../../images/icons/48/unlock.png");
|
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 */
|
/* global */
|
||||||
body {
|
body {
|
||||||
font-family: Liberation Sans, helvetica, arial, clean, sans-serif;
|
font-family: Liberation Sans, helvetica, arial, clean, sans-serif;
|
||||||
|
|