[Fusionforge-commits] r11169 - in trunk/src: . plugins plugins/gravatar plugins/gravatar/common www/images www/themes/css

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sun Oct 24 18:12:03 CEST 2010


Author: aljeux
Date: 2010-10-24 18:12:02 +0200 (Sun, 24 Oct 2010)
New Revision: 11169

Added:
   trunk/src/plugins/gravatar/
   trunk/src/plugins/gravatar/common/
   trunk/src/plugins/gravatar/common/gravatarPlugin.class.php
   trunk/src/www/images/img-shadow.gif
   trunk/src/www/images/img-shadowAlpha.png
Modified:
   trunk/src/CHANGES
   trunk/src/fusionforge.spec
   trunk/src/www/themes/css/fusionforge.css
Log:
New gravatar plugin for fusionforge

Modified: trunk/src/CHANGES
===================================================================
--- trunk/src/CHANGES	2010-10-24 15:27:26 UTC (rev 11168)
+++ trunk/src/CHANGES	2010-10-24 16:12:02 UTC (rev 11169)
@@ -11,6 +11,7 @@
 * New blocks plugin, to add free HTML blocks on top of each tools of the project allowing
   admins to add free descriptions (Alcate-Lucent), (better with fckeditor plugin).
 * New unobstructive tooltip system based on jquery and tipsy to replace old help window (Alcatel-Lucent)
+* New gravatar plugin to display faces of users using the Gravatar service (Alain Peyrat)
 
 FusionForge-5.0.2:
 * Maintenance release, bugfixes mostly.

Modified: trunk/src/fusionforge.spec
===================================================================
--- trunk/src/fusionforge.spec	2010-10-24 15:27:26 UTC (rev 11168)
+++ trunk/src/fusionforge.spec	2010-10-24 16:12:02 UTC (rev 11169)
@@ -1,7 +1,7 @@
 #
 # RPM spec file for FusionForge
 #
-# Developed for 4.8 by JL Bond Consulting
+# Initial work for 4.8 by JL Bond Consulting
 # Reworked for 5.1 by Alain Peyrat <aljeux at free.fr>
 #
 # TODO: Generate a random password to avoid sites with default pass.
@@ -118,6 +118,13 @@
 %description fckeditor
 FCKEditor is a WYSIWYG text editor that displays within a web browser.
 
+%package gravatar
+Summary: Gravatar plugin for FusionForge
+Group: Development/Tools
+Requires: %{name} >= %{version}, php
+%description gravatar
+This plugin adds faces images to FusionForge users using the gravatar service.
+
 %package ldapextauth
 Summary: external LDAP authentication for FusionForge plugin
 Group: Development/Tools
@@ -714,6 +721,9 @@
 %{GFORGE_DIR}/plugins/fckeditor
 %{GFORGE_DIR}/www/plugins/fckeditor
 
+%files gravatar
+%{GFORGE_DIR}/plugins/gravatar
+
 %files ldapextauth
 %config(noreplace) %{GFORGE_CONF_DIR}/plugins/ldapextauth/
 %{GFORGE_DIR}/plugins/ldapextauth

Added: trunk/src/plugins/gravatar/common/gravatarPlugin.class.php
===================================================================
--- trunk/src/plugins/gravatar/common/gravatarPlugin.class.php	                        (rev 0)
+++ trunk/src/plugins/gravatar/common/gravatarPlugin.class.php	2010-10-24 16:12:02 UTC (rev 11169)
@@ -0,0 +1,75 @@
+<?php
+/**
+ * Gravatar Plugin
+ *
+ * Copyright 2010 (c) Alain Peyrat <aljeux at free.fr>
+ *
+ * This file is part of FusionForge
+ *
+ * FusionForge is free software; you can redistribute it
+ * and/or modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * FusionForge is distributed in the hope that it will
+ * be useful, but WITHOUT ANY WARRANTY; without even the implied
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * See the GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with FusionForge; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  US
+ */
+
+class gravatarPlugin extends Plugin {
+
+	function gravatarPlugin () {
+		$this->Plugin() ;
+		$this->name = "gravatar" ;
+		$this->text = _('Gravatar Plugin');
+		$this->hooks[] = 'user_logo';
+	}
+
+	function user_logo (&$params) {
+		$user_id = $params['user_id'];
+		$size = isset($params['size'])? $params['size']: 'm';
+		$code = $this->getHtml($user_id, $size);
+		if (isset($params['content'])) {
+			$params['content'] = $code;
+		} else {
+			echo $code;
+		}
+	}
+
+	private function getEmail($user_id) {
+		$res = db_query_params('SELECT email FROM users WHERE user_id=$1', array($user_id));
+		if ($res) {
+			return db_result($res, 0, 'email');
+		}
+		return false;
+	}
+
+	private function getHtml($user_id, $size) {
+		if ($email = $this->getEmail($user_id)) {
+			$hash = md5( strtolower( trim( $email ) ) );
+
+			$url = 'http://www.gravatar.com/avatar/';
+			if (isset($_SERVER['HTTPS']))
+				$url = 'https://secure.gravatar.com/avatar';
+
+			if ($size == 'l') 
+				$usize = '130';
+			if ($size == 'm')
+				$usize = 48;
+			if ($size == 's')
+				$usize = 28;
+			if ($size == 'xs')
+				$usize = 16;
+
+			$url .= $hash.'?s='. $usize;
+			$class = 'img-shadow-'.$size;
+			return '<div class="'.$class.'"><img src="'.$url.'" class="gravatar" alt="" /></div>';
+		}
+		return '';
+	}
+}

Added: trunk/src/www/images/img-shadow.gif
===================================================================
--- trunk/src/www/images/img-shadow.gif	                        (rev 0)
+++ trunk/src/www/images/img-shadow.gif	2010-10-24 16:12:02 UTC (rev 11169)
@@ -0,0 +1,32 @@
+GIF89a  ÷  ÊÊÊËËËÍÍÍÐÐÐÑÑÑÓÓÓØØØÜÜÜÝÝÝÞÞÞâââéééêêêëëëîîîòòòööö÷÷÷øøøùùùüüüýýýþþþÿÿÿÿÿÿ                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     !ù   ,       þ 1H° Áƒ*\È°¡Ã‡#JœH±¢Å‹3jÜȱ£Ç CŠI²¤É“8À ”0cÊœI³¦Í›8sêÜɳ§O‘*YºüI´¨Ñ£H“*]Ê´©ÓŸA[¾|JµªÕ«X³jÝÊõiÔ¡]ÊK¶¬Ù³h}~š¶­Û·pãʝëu¥TºxóêÝË·¯_ƒkÿ
+L¸°áÃ;#^̸±ãǐ*ŽL¹²å˘µNÎ̹³çÏ MnMº´éÓ¨1ŒNͺµëׂWÞM»¶í®²oëÞÍ»wb»`}N¼8ÈÜÆ“+_Î\5p¶Í£KŸ~9õëسg¶®½»÷þƒO¾¼[ñæÓ«_=û÷ðã«}.¿¾ýû¿…BÇÏ¿¿ÿãôý'à€Nä^&È߁
+6èàz>(á„ÝEHá…2ga†vØÛ††(âk Žh≡•ˆâŠ,V¦b‹0ÆxØ‹2Öhã^4Þ¨ãŽçÈã@ú•cDYՐF&©äQH.éä“95	å”T¢$e•XféÑ•Zvé%E\~)æ˜
+…Iæ™hš‰æš_ªÉæ›Xº	çœOÊIçFÚ‰çž?êÉçŸ6ú	è -
+Jè¡&Šè¢*Êè£:
+é¤
+JJé¥ZŠé¦ýiÊé§õy
+ê¨ì‰Jê©å™ŠêªÞ©Êê«þ×¹
+ë¬ÍÉJë­Æي뮾éÊë¯Õùì°ÿùJ챬‹ì²¥)Ë쳞9í´—IKíµY‹í¶‹iËí·á	Kî¹Åy‹îºr©Ëî»m¹ï¼eÉKク™‹ï¾§ÙËï¿TùðÀK	LðÁFŒðÂ=)ÌðÃ89ñÄ3ILñÅ'YŒñÆ@éËñÇxiòȉLòÉ`zŒòÊõªÌòËùêóÌ-ËLóÍ1ß…óÎY™Ì3Í>ÿsÐB³LtÑ(4ÉJ/
+rÓNsuÔOM5ÅV_
+qÖZ3Ìu×
+6Áb
+pÙfó‹vÚø®Í6½n¿
+oÜr³KwÝèލ7þ¹zï
+nß~sxàØN8µ†mâŠ3ËxãÈ>9±’Olå–óŠyæ¸nÎ9­žk袳Jz騞Ž:©ª¯jë®s
+{ì˜ÎN;¥¶ßiîº3Ê{ïˆþ<¡ÂhñÆó‰|òx.Ï<Î?gôÒ³I}õiºŒ½Ö×o?f÷Þ·©}øNƒO¾–æŸçøê~ûS¾ìϏ³üö+‰þyÖÏÿÐþûŸÑ(À¤°€L; Ÿ¦ÀJ­¬#ˆµ	Rpk¼ ×2¨Á°q°ƒdû Ï&ª­„&l
+S·²pn.|¡Ýb(üѰ†|»!ÿ¦Ã
+®‡þ>,ƒˆ¸!qqF<¢ã’¨ÄÈ1±‰”{"/'Å)j®ŠV쳺-rqt^ü¢éÂ(ÆÔ‘±Œ¬;#_§Æ5Ê®n¬㈻9Òqwv¼£ïò¨Çàñ±Äû# 'ÈA*¯†l"	½E2rzŽ|¤õ")ÉìÙ¬’ãÚ&ߣÉMBˆ’žß%C)ÄQ’²ˆ¦<%S©Ê%²²•N|%,£(ËYR±–¶¼".s©Å]ò²‹¾ü%ƒ)Ì1³˜f<&2Ó¨Ìe²±™Î|#4£)ÇiR³ŽÖ¼&³©Í=r³›~ü&8)Îq²œæ<$:Ó©Èu²³‘î|'$ã)ÏIÒ³ž–þÔ>Ÿ©Ï}J³Ÿþ¬&@ŠÍt›=¨7ªÐp2´¡ä|(DÏ)щª³¢m'F3
+ύrtžý¨=C*Ò|§¤=)J/ªÒ•j´¥.í(Lc
+Ò™Òt¤6½©I÷£Ó7u²§œù)P1#Ô¡Z¦¨F¥R“š-P2Õ?K}jc¢*Õn9µª÷¡*V
+£Õ­†ëž^eQWÃú—±’µ/f=+Ž®ªÖO‚µ­"J+\é"×¹¶‹­v%O]óú–½ò5^xýk«+Xíøµ°f9,bÉ¢ØÅŠ¥±ŽÍYN#[#ÈRV3„½l­2«ÙåX¶³Vù,hÆÙѦ«´¦ŽhS˔ղV)®}þ-Rb+Û„¡¶¶º¡-n¡rÛÝÖF·¾å	pƒ«“á7b½=®kŒ«Üš0·¹K.tQóÜ餺Ö͘t³Kìr—$ÞýnÇÞ*Þñ„·¼9/z;¢Þõn¤½î-Ùvã[­ùÒ×Eö½odà«ß”‘·¿Óá/€#"à?¤Àn‚¼38!~ðA",á‚P¸Â¹0†óß
+«6¿.+ˆCŒÖ“x­>ñn4ŒaWØņñƒeÌ`'ØÆÆñ€u`÷×Çúò}…L_"Ç×ÈîEòz•Œ^&—×Éâ…òw¥Ì]*g×ÊÖÅòtµ].7×ËÊóqÅL\2×̾EóþnÕŒ[6×ÖͲ…ókåÌZ:§ÖΦÅóhõZ>wÖÏšôeMYBGÖÐŽEôbXFÖÑ‚…ô_%ÍWJçÕÒvÅô\5
+WN·ÕÓjõYEMVR‡ÕÔ^EõVUUVWÕÕR…õSeÍTZ'ÕÖFÅõPu
+T^÷Ô×:öM…MSbÇÔØ.EöJ•Rf—ÔÙ"…öG¥ÍQjgÔÚÅöDµ
+Qn7ÔÛ
+÷AÅMPrÔÜþD÷>ՍOv×ÓÝò„÷;åÍNz§ÓÞæÄ÷8õ
+N~wÓßÚø5NM‚GÓàÎDø2ŽL†Óá„ø/%ÎKŠçÒâ¶Äø,5KŽ·Òãªù)þENJ’‡ÒäžDù&UŽI–WÒå’„ù#eÎHš'Òæ†Äù uHž÷Ñçzú…NG¢ÇÑènDú•ŽF¦—Ñéb„ú¥ÎEªgÑêVÄúµE®7ÑëJûÅND²Ñì>DûÕŽC¶×Ðí2„ûåÎBº§Ðî&ÄûõB¾wÐïüOAÂGÐðDü@ÆÐñ„üÿ$Ï?ÊçÏòöÃüü4?ηÏóêýùDO>Ò‡ÏôÞCýöT=ÖWÏõÒƒýódÏ<Ú'ÏöÆÃýðt<Þ÷Î÷ºþí„O;âÇÎø®Cþꔏ:æ—Îù¢ƒþç¤Ï9êgÎú–Ãþä´þ9î7ÎûŠÿáÄO8òÎü~CÿÞԏ7ö×ÍýrƒÿÛäÏ6ú§ÍþfÃÿØô6þwÍÿÜcb*28€s€Wƒ€T£€QÀåS€¸4ˆ4X4è>}µX)ö°‘?C‚<c‚;ƒ‚÷ã"x*x3/4,Ø‚5CR4èY3xƒ•ƒ:(Y<Ճ؃3#„ ‚@hDø2I8 at Fx„ÝŃNˆK¸2Sh at M…ŸQ…'£…	t…XØ\82aÈ@^ø…Û…fXe˜†G…†lØZnø†°‡r8[tX‡¶µ†xècø1}ø@z¸‡Œñ‡Cˆˆþ‚ˆ†x1‹XAˆ˜ˆ\u‡(\’8‰ÅU‰–ˆ\˜‰"¶‰œXbžø‰(fƒ¢Ø,˜XŠ2ш£ŠŠ¨HW§øŠV‹²(´X‹àu‹¸8^¤¸‹g芾‚½ŒmŒÄ肺xŒÁŠÃŒdŒÊÈXɍòÔθ0ÙèAÖx\±Ž!ԍވYäXŽR8èh 긎ÖŽîx`ð
+6ôØ`öx–ú8aü؏ö ™a96ŒÉâ80IB瘐LRِÿB‘'ôY¹/©B™‘¼õ‘ Ù0	y/'ÙB"9’ù,yW+ùþ’šè’2ف1Y“ÎU’ý˜’ó“0t“8]@”1á“ïb”34”D9‹J¹”¶Ø”N™‹P•¼8YTy€:©H¹.[iCSy•é••÷Ø•çB–9ô•`É^bIf™IkmÉCh™–ïõ–î—ß‚—?4—tY4Ù—[¡—Û"˜¥ô—€Ù3v¹Ž„y-‹‰J†y˜í‘˜èؘÓB™«ô˜y$’YŽ–ù,éJ˜™™jš¢ÙŸ¹,§K¤Yš³™Þ˜šÇ›´´š¬™²9,·yK´Y›É—¼™®y¹ù+éK»ù›DQœ»¢œ½tœÈ9¾ùœeœÔÈœ·bÀäœÒþÙ’V¹ˆÞ	ԍØ9+å9LÚž7qž¯ÂžÆ”žê™“àŸ’1žÊèž«‚ŸÉŸô™ŠöyŒúy*ÊLüÙŸ×õŸÄ8 £¢   € R :¡Z¡z¡š¡º¡Ú¡ú¡ ¢":¢$Z¢&z¢(š¢*º¢,Ú¢.ú¢0£2:£4Z£6z£ P 	Ð .1 @¤B:¤DZ¤Fz¤Hš¤Jº¤LÚ¤Nú¤P¥R:¥TZ¥Vz¥Xš¥Zº¥\Ú¥^ú¥`¦b:¦dZ¦KJ ` 
+à Pð¦p§r:§tZ§vz§xš§zº§|Ú§~ú§€¨‚:¨ö„Z¨†z¨ˆš¨Šº¨ŒÚ¨Žú¨©’:©”ª§ 
+° 0À žú© ª¢:ª¤Zª¦zª¨šªªºª¬Úª®úª°«²:«´Z«¶z«¸š«ºº«¼Ú«¾ú«À¬Â:¬©Ú 
+à `ЬÎú¬Ð­Ò:­ÔZ­Öz­Øš­Úº­ÜÚ­Þú­à®â:®äZ®æz®èš®êº®ìÚ®îú®ð¯òª­0P@úº¯üÚ¯þú¯ °;°[°{°›°
+»°Û°û°±;±[±{±›±»±Û±û±[`p  ;
\ No newline at end of file

Added: trunk/src/www/images/img-shadowAlpha.png
===================================================================
--- trunk/src/www/images/img-shadowAlpha.png	                        (rev 0)
+++ trunk/src/www/images/img-shadowAlpha.png	2010-10-24 16:12:02 UTC (rev 11169)
@@ -0,0 +1,6 @@
+‰PNG
+
+   
+IHDR  <  E   Ò1l   +tEXtCreation Time Thu 5 Feb 2004 11:21:22 -0600rj<f   tIMEÔ¯<um   	pHYs    ÒÝ~ü   gAMA  ±üa  £IDATxÚíÚQjÛ@@ÑçØ„Btÿ;
+NìŽdC7Ý@{ΠAö—þ.o˜ó ÀÑÎsZëù
+ Gû5/kÍŠÏ]x 8Þï¹ìá¹Íz€£½Ïç|Ìž»ð p¼·¹®ýºíÂÀñ^g+Î~Åà姿€ÿÀvµày¯Mx 8Þéïujá %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx H	 )á %< ¤„€”ð  RÂ@Jx 8Þ}_»ËœçuÞæ}=¯+C§Ÿþ6 þ9÷¹­õLÏeùšÏ¹Î ØÂs]¥ùÚšsYÜ֏Ù"t ¾Ý6âl¥ù\ÅÙ'ž¯}Ú¹ÎyíÂÀwÛŽØgkkæÙB³°×㢠G¹íƒÎ}n	çqÄfÚà(÷y¹ÍùÅ>¬øP-­    IEND®B`‚
\ No newline at end of file

Modified: trunk/src/www/themes/css/fusionforge.css
===================================================================
--- trunk/src/www/themes/css/fusionforge.css	2010-10-24 15:27:26 UTC (rev 11168)
+++ trunk/src/www/themes/css/fusionforge.css	2010-10-24 16:12:02 UTC (rev 11169)
@@ -399,3 +399,66 @@
     padding: 0px;
 	color: red;
 }
+
+.img-shadow-l {
+  float:left;
+  background: url(../../images/img-shadowAlpha.png) no-repeat bottom right !important;
+  background: url(../../images/img-shadow.gif) no-repeat bottom right;
+  margin: 10px 0 0 10px !important;
+  margin: 10px 0 0 5px;
+}
+
+.img-shadow-l img {
+  display: block;
+  position: relative;
+  background-color: #fff;
+  border: 1px solid #a9a9a9;
+  margin: -6px 6px 6px -6px;
+  padding: 4px;
+}
+
+.img-shadow-s {
+  float:left;
+  background: url(../../images/img-shadowAlpha.png) no-repeat bottom right !important;
+  background: url(../../images/img-shadow.gif) no-repeat bottom right;
+  margin: 4px 0 0 4px !important;
+  margin: 4px 0 0 2px;
+  }
+
+.img-shadow-s img {
+  display: block;
+  position: relative;
+  background-color: #fff;
+  border: 1px solid #a9a9a9;
+  margin: -2px 2px 2px -2px;
+  padding: 2px;
+  }
+
+.img-shadow-xs {
+	float:left;
+	margin-right: 2px;
+}
+
+.img-shadow-xs img {
+	display: block;
+	position: relative;
+	border: 1px solid #a9a9a9;
+	width: auto;
+	height : 16px;
+}
+
+.img-shadow-xs img:hover {
+	height : auto;
+}
+
+.no-img-xs {
+	float: left;
+	margin-right: 2px;
+	width: 15px;
+	height : 18px;
+}
+
+.new_line {
+	clear: left;
+	margin-bottom: 1px;
+}




More information about the Fusionforge-commits mailing list