From e63a435868318bd183d8ae36ff0f6a110cdc85db Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Tue, 6 Oct 2009 17:16:28 +0200 Subject: [PATCH] Using 'CSS sprites' for common icons for the identica theme. Default theme will follow after some tests. --- theme/base/images/icons/icons-01.png | Bin 0 -> 3260 bytes theme/identica/css/display.css | 48 +++++++++++++++------------ 2 files changed, 27 insertions(+), 21 deletions(-) create mode 100644 theme/base/images/icons/icons-01.png diff --git a/theme/base/images/icons/icons-01.png b/theme/base/images/icons/icons-01.png new file mode 100644 index 0000000000000000000000000000000000000000..c4e3713302fe9bea6d32d83bb2449a4c5107a6f3 GIT binary patch literal 3260 zcmZ8kXHXMp6Gje03qqub^dhlQq_HiKPRZ3 zwU8(^o{N&2^~sK^u9iPKSMiKOzS~gBYW{h|jhz${1Q8Gv9M|7{qA^{Eh&7WpxVON5 zy>fk6j;cbA1$o>b0c2!k1f83ye!zaTo5|#p8GI0vGimUFyvE5WWA^=lzkwvp<(b~h z1yK=II)1W}ws5|6{Fx>CxvBxZurk8Ra1-@Wk&V6m?6epf&{pn6&X4aNbz{^+>R2WW zErjk=UvTn3Up;3&7cn6mTQ3v6CT+c(OI$pqrIP=Kdx`%Q7RROiC?abpFld% zo$lw%!8EK^hu;hFpMwYYy3;PEZfNpr{?PneoPF&Rma}IOma5^XY^Ir~uU<_p&(zD< z0R~wP6c_XCi+D=Ge;Y#64!5;_0Lgg71{^E{J&6uA* zsV<$GiU4#uA5hJ)r>`AupQ#zfA?LyXA2+D0OVZQ4u+=-{J=OVEDu)oD4If^A+ZoCo zxRnuC<~Rclx7uQuu(c8SwHUo{7p?~x0_lZYO$zn#BqY`>K2O>r{_x1&tLWYy+5!8ybw3TQi{A-f(-{dx@{$5s4YcB! zY(fplVY42Rs;?s#dSvdB%Lo-j3V$n;VdP2nqttyu$XDT;UC&DsywlJ}rN@d(rHbAsFi|`R^osQs149w_0s!&+hdK(Mt4fz_V#yaTojWyo!)9Ya)o5$qy?{r_C zJ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j{KfrF{r%Jp~mPmCv_+KjH*h$Qr zT`$2z2Oift)^t99ES$nzw3aer92l2sh)(NT2mrUqjeO@!p2R4|{hxUyA;h-9l6soF z5kVt3$ix*+;U&4ZR7+TQ{Y$VZUxrcqB~pz_^hwTFt}gkZp`x{wPgN%IA+!5R`g0+2 z3UU80>ADNBNFFa~y=H-2HWjVy+*B=WtvE_Xg-_Cx7`?{$7v8M9 zM+YGBu4@KBuW59936x4?9nA}>8}oncA@o9|4D-*_fX3rbtr*&BF`@BWy0d$=8Ugle zS5`kFatvjjHP5(kql4pk|D&n!!+Z>H3Tc(CXsf3pZRsdsYEw3N*4y1<=hP0iXhxrq fKd-w4QM8=w8*6CnDx}k237w&yscxCh-N^p|k<&fP literal 0 HcmV?d00001 diff --git a/theme/identica/css/display.css b/theme/identica/css/display.css index 9fc97180d4..aebbb54edf 100644 --- a/theme/identica/css/display.css +++ b/theme/identica/css/display.css @@ -88,7 +88,7 @@ color:#333333; color:#000000; } #form_notice label[for=notice_data-attach] { -background:transparent url(../../base/images/icons/twotone/green/clip-01.gif) no-repeat 0 45%; +background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -328px; } #form_notice #notice_data-attach { opacity:0; @@ -150,16 +150,18 @@ background-color:#9BB43E; #export_data li a { background-repeat:no-repeat; -background-position:0 45%; } #export_data li a.rss { -background-image:url(../../base/images/icons/icon_rss.png); +background-image:url(../../base/images/icons/icons-01.png); +background-position:0 -130px; } #export_data li a.atom { -background-image:url(../../base/images/icons/icon_atom.png); +background-image:url(../../base/images/icons/icons-01.png); +background-position:0 -64px; } #export_data li a.foaf { -background-image:url(../../base/images/icons/icon_foaf.gif); +background-image:url(../../base/images/icons/icons-01.png); +background-position:0 1px; } .entity_edit a, @@ -171,7 +173,6 @@ background-image:url(../../base/images/icons/icon_foaf.gif); .form_group_unblock input.submit, .entity_nudge p, .form_make_admin input.submit { -background-position: 0 40%; background-repeat: no-repeat; background-color:transparent; } @@ -189,43 +190,48 @@ background-color:#87B4C8; } .entity_edit a { -background-image:url(../../base/images/icons/twotone/green/edit.gif); +background-image:url(../../base/images/icons/icons-01.png); +background-position: 0 -718px; } .entity_send-a-message a { -background-image:url(../../base/images/icons/twotone/green/quote.gif); +background-image:url(../../base/images/icons/icons-01.png); +background-position: 0 -785px; } .entity_nudge p, .form_user_nudge input.submit { -background-image:url(../../base/images/icons/twotone/green/mail.gif); +background-image:url(../../base/images/icons/icons-01.png); +background-position: 0 -950px; } .form_user_block input.submit, .form_user_unblock input.submit, .form_group_block input.submit, .form_group_unblock input.submit { -background-image:url(../../base/images/icons/twotone/green/shield.gif); +background-image:url(../../base/images/icons/icons-01.png); +background-position: 0 -918px; } .form_make_admin input.submit { -background-image:url(../../base/images/icons/twotone/green/admin.gif); +background-image:url(../../base/images/icons/icons-01.png); +background-position: 0 -983px; } /* NOTICES */ .notice .attachment { -background:transparent url(../../base/images/icons/twotone/green/clip-02.gif) no-repeat 0 45%; +background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -394px; } #attachments .attachment { background:none; } .notice-options .notice_reply { -background:transparent url(../../base/images/icons/twotone/green/reply.gif) no-repeat 0 45%; +background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -589px; } .notice-options form.form_favor input.submit { -background:transparent url(../../base/images/icons/twotone/green/favourite.gif) no-repeat 0 45%; +background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -457px; } .notice-options form.form_disfavor input.submit { -background:transparent url(../../base/images/icons/twotone/green/disfavourite.gif) no-repeat 0 45%; +background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -523px; } .notice-options .notice_delete { -background:transparent url(../../base/images/icons/twotone/green/trash.gif) no-repeat 0 45%; +background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -655px; } .notices div.entry-content, @@ -262,7 +268,7 @@ background-color:rgba(200, 200, 200, 0.300); /*END: NOTICES */ #new_group a { -background:transparent url(../../base/images/icons/twotone/green/news.gif) no-repeat 0 45%; +background:transparent url(../../base/images/icons/icons-01.png) no-repeat 0 -1054px; } .pagination .nav_prev a, @@ -271,10 +277,10 @@ background-repeat:no-repeat; border-color:#CEE1E9; } .pagination .nav_prev a { -background-image:url(../../base/images/icons/twotone/green/arrow-left.gif); -background-position:10% 45%; +background-image:url(../../base/images/icons/icons-01.png); +background-position:10% -187px; } .pagination .nav_next a { -background-image:url(../../base/images/icons/twotone/green/arrow-right.gif); -background-position:90% 45%; +background-image:url(../../base/images/icons/icons-01.png); +background-position:105% -252px; } -- 2.39.5