r22227 - htdocs/trunk - Add a facebook page icon and link.

Cristian Marchi cmarchi at code.gnucash.org
Fri Jun 22 09:12:01 EDT 2012


Author: cmarchi
Date: 2012-06-22 09:12:01 -0400 (Fri, 22 Jun 2012)
New Revision: 22227
Trac: http://svn.gnucash.org/trac/changeset/22227

Added:
   htdocs/trunk/images/icons/gc-fb.png
Modified:
   htdocs/trunk/externals/gnucash.css
   htdocs/trunk/externals/header.phtml
Log:
Add a facebook page icon and link.

Modified: htdocs/trunk/externals/gnucash.css
===================================================================
--- htdocs/trunk/externals/gnucash.css	2012-06-22 12:59:14 UTC (rev 22226)
+++ htdocs/trunk/externals/gnucash.css	2012-06-22 13:12:01 UTC (rev 22227)
@@ -625,6 +625,22 @@
    display:block;
 }
 
+#fb-icon{
+   left:-100px;
+   width:42px;
+}
+
+#fb-icon{
+   background:url('../images/icons/gc-fb.png') 0 0;
+   border-radius:12px;
+}
+
+#fb-icon a:hover{
+   background: url('../images/icons/gc-fb.png') 0 -42px white;
+   border-radius: 16px;
+   box-shadow: 0 0 4px silver;
+}
+
 #gplus-icon{
    left:-50px;
    width:42px;

Modified: htdocs/trunk/externals/header.phtml
===================================================================
--- htdocs/trunk/externals/header.phtml	2012-06-22 12:59:14 UTC (rev 22226)
+++ htdocs/trunk/externals/header.phtml	2012-06-22 13:12:01 UTC (rev 22227)
@@ -5,6 +5,7 @@
 $titledonation = T_("Support the GnuCash project with a donation");
 $titleuservoice = T_("Request or vote enhancements for GnuCash");
 $titlegplus = T_("GnuCash on Google +");
+$titlefb = T_("GnuCash on facebook");
 ?>
 
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -80,6 +81,7 @@
 <!-- the icons on the top right-->
 <div style="float:right;">
 <ul id="navlist">
+  <li id="fb-icon"><a href="https://www.facebook.com/GnuCash" title="<?php echo T_($titlefb);?>"></a></li>
   <li id="gplus-icon"><a href="https://plus.google.com/u/0/103666182558673867088/" title="<?php echo T_($titlegplus);?>"></a></li>
   <li id="uservoice-icon"><a href="http://gnucash.uservoice.com/" title="<?php echo T_($titleuservoice);?>"></a></li>
   <li id="donation-icon"><a href="http://sourceforge.net/donate/index.php?group_id=192" title="<?php echo T_($titledonation);?>"></a></li>

Added: htdocs/trunk/images/icons/gc-fb.png
===================================================================
(Binary files differ)


Property changes on: htdocs/trunk/images/icons/gc-fb.png
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream



More information about the gnucash-changes mailing list