[Picfinity-commit] SF.net SVN: picfinity: [41] trunk/.themes/ajax
Status: Beta
Brought to you by:
espadav8
From: <esp...@us...> - 2007-08-15 21:26:38
|
Revision: 41 http://picfinity.svn.sourceforge.net/picfinity/?rev=41&view=rev Author: espadav8 Date: 2007-08-15 14:26:41 -0700 (Wed, 15 Aug 2007) Log Message: ----------- Add a link image (20x20) Add the CSS to position the link image and the XSL to add it to the XHTML Also change the 'Link to this image' background and :hover to make it stand out a bit better Modified Paths: -------------- trunk/.themes/ajax/ajax.css trunk/.themes/ajax/ajax.xsl Added Paths: ----------- trunk/.themes/ajax/link.png Modified: trunk/.themes/ajax/ajax.css =================================================================== --- trunk/.themes/ajax/ajax.css 2007-08-14 23:23:49 UTC (rev 40) +++ trunk/.themes/ajax/ajax.css 2007-08-15 21:26:41 UTC (rev 41) @@ -91,12 +91,24 @@ /* --- expanded image --- */ +#linktospan +{ + position: relative; +} #linktospan a { text-decoration: none; + padding: 4px 0; } +#linktospan a img +{ + position: absolute; + top: 2px; + left: 3px; +} + #expandedimage { border: 1px solid #ccc; @@ -191,6 +203,7 @@ html, .selected a, +#linktospan a:hover, #breadcrumbtrail ul li:hover, #breadcrumbtrail ul li ul li.selected { @@ -205,8 +218,8 @@ background-color: #505050; } +#linktospan a, .image a:hover, -#linktospan a:hover, #breadcrumbtrail ul li ul li:hover { background-color: #707070; Modified: trunk/.themes/ajax/ajax.xsl =================================================================== --- trunk/.themes/ajax/ajax.xsl 2007-08-14 23:23:49 UTC (rev 40) +++ trunk/.themes/ajax/ajax.xsl 2007-08-15 21:26:41 UTC (rev 41) @@ -227,7 +227,9 @@ <li class="currentfolder"> <xsl:attribute name="onclick">openFolder('<xsl:value-of select="@id" />'); return false;</xsl:attribute> <span class="icon"> - <img src=".themes/ajax/foldericon.png" alt="Folder Icon" /> + <img alt="Folder Icon"> + <xsl:attribute name="src"><xsl:value-of select="concat('.themes/', $themename, '/foldericon.png')" /></xsl:attribute> + </img> </span> <span class="name"><xsl:value-of select="@name" /></span> <ul> @@ -266,6 +268,11 @@ <a> <xsl:attribute name="href">index.php?id=<xsl:value-of select="@id" /></xsl:attribute> <xsl:text>Link to this image</xsl:text> +<!-- + <img alt="Link to this image"> + <xsl:attribute name="src"><xsl:value-of select="concat('.themes/', $themename, '/link.png')" /></xsl:attribute> + </img> +--> </a> </div> <div id="expandedimagespan"> Added: trunk/.themes/ajax/link.png =================================================================== (Binary files differ) Property changes on: trunk/.themes/ajax/link.png ___________________________________________________________________ Name: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |