<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>txilife.com &#187; CSS</title>
	<atom:link href="http://www.txilife.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.txilife.com</link>
	<description></description>
	<lastBuildDate>Fri, 14 May 2010 19:28:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>reCaptcha reTheme &#8211; UPDATED</title>
		<link>http://www.txilife.com/2009/07/recaptcha-retheme/</link>
		<comments>http://www.txilife.com/2009/07/recaptcha-retheme/#comments</comments>
		<pubDate>Mon, 06 Jul 2009 19:40:14 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[3rd Party]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[Photoshop]]></category>
		<category><![CDATA[reCaptcha]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.txilife.com/?p=347</guid>
		<description><![CDATA[UPDATE - Hi Everybody, thanks for the great feedback on this post. It seems that the supplied CSS was lacking support to force the display of your newly created icons, this should now be fixed and is available for download.
Please feel free to post any comments and question you may have.
ORIGINAL POST


If you need highly [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;"><strong>UPDATE -</strong> Hi Everybody, thanks for the great feedback on this post. It seems that the supplied <a href="http://www.txilife.com/tag/css/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with CSS">CSS</a> was lacking support to force the display of your newly created icons, this should now be fixed and is available for download.</p>
<p style="text-align: left;">Please feel free to post any comments and question you may have.</p>
<p style="text-align: left;"><strong>ORIGINAL POST</strong></p>
<p style="text-align: left;">
<p style="text-align: left;"><img class="size-full wp-image-441 alignnone" title="recaptch1" src="http://www.txilife.com/wp-content/uploads/2009/02/recaptch1.jpg" alt="recaptch1" width="312" height="123" /></p>
<p style="text-align: left;">If you need highly effictive spam protection and want to help digitze old books and manuscripts, <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">reCaptcha</a> is great, there is no better choice. If you are looking for a tool that allows you to configure it to match your website&#8230; thats a different story. Currently <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">reCaptcha</a> only offers 4 themes (red, blackglass, clean and white) which is better than nothing but can be an eyesore if none of these themes fits your site.  So to counteract this limitation we have compiled all the resources you need to create a custom <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">reCaptcha</a> for your website.</p>
<p style="text-align: left;"><span id="more-347"></span>Below you will find all the instructions and source materials to take <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">reCaptcha</a> to the next level.</p>
<p style="text-align: left;"><strong>Before you start -</strong> When you open the PSD file included in the tutorial you will notice that the file we are working with looks nothing like the final result of <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">recaptcha</a>. To save time on load, all the images are grouped and flattened into what you see below.  Don&#8217;t worry about this; we have included everything you need to make this work like a charm. Another thing you will notice is that we have started out with the white theme; this is because it will be easier to add color to a lighter object than it would a darker one.</p>
<p class="MsoNormal" style="line-height: normal; text-align: left;">
<p style="text-align: left;"><img class="size-full wp-image-359 alignnone" title="recaptcha_red" src="http://www.txilife.com/wp-content/uploads/2009/02/recaptcha_red.jpg" alt="recaptcha_red" width="343" height="72" /></p>
<p style="text-align: left;"><strong>Step One</strong> -  Download all the files included. Open the PSD. We are going to change the background color of the image. It is a gradient, so to get the smoothest color we are going to want to use our color balance.</p>
<ul style="text-align: left;">
<li>Select the layer called &#8216;<strong>Sprite</strong>&#8216;, it is in the folded named &#8216;<strong>Step One</strong>&#8216;</li>
<li>Next go to <strong>Image </strong>&gt; <strong>Adjustments </strong>&gt;<strong> Color Balance</strong></li>
<li>Using the sliders, adjust the color of your container to fit the styling of your website. For example,  I have made mine blue &#8211; take your time and experiment with the controls until you achieve your desired colors. To make the colors richer and more or less saturated use the &#8220;<strong>Hue and Saturation</strong>&#8221; and &#8220;<strong>Curves</strong>&#8221; tools in the adjustments menu.</li>
</ul>
<p style="text-align: left;"><img class="size-full wp-image-361 alignnone" title="recaptcha_stepone" src="http://www.txilife.com/wp-content/uploads/2009/02/recaptcha_stepone.jpg" alt="recaptcha_stepone" width="466" height="386" /></p>
<p style="text-align: left;"><strong>Step Two </strong>- If you are happy with the colors you selected then let&#8217;s move on to the borders. The borders or &#8220;Stroke&#8221; may look alright to you but they also might need some adjustments, so let&#8217;s take a look at that.</p>
<ul style="text-align: left;">
<li>Select the layer &#8220;<strong>Border</strong>&#8221; in the folder &#8220;<strong>Step Two</strong>&#8220;. This layer has a &#8220;<strong>Color Overlay</strong>&#8221; layer effect on it, if you were to click into that you would see the basic color picker to edit that layer to match your newly created background.</li>
</ul>
<p style="text-align: left;"><strong>Step Three</strong> &#8211; The action for this step and the next are essentially the same as Step Two. I have taken the time to isolate the <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">reCaptcha</a> logo, tagline and icons. Because of that, you can directly apply a color to them which will be a breeze. This step is for the Logo and Tagline.</p>
<ul style="text-align: left;">
<li><strong>Note </strong>- You could change or remove these objects entirely but I would check with the TOC from <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">reCaptcha</a> first.</li>
</ul>
<p style="text-align: left;"><strong>Step Four -</strong> Now go ahead and open the &#8220;Step Four&#8221; folder and change the color of the icons.  My final example is below.</p>
<p style="text-align: left;"><img class="size-full wp-image-375 alignnone" title="recaptcha_blue" src="http://www.txilife.com/wp-content/uploads/2009/02/recaptcha_blue.jpg" alt="recaptcha_blue" width="343" height="72" /></p>
<p style="text-align: left;"><strong>Step Five &#8211; </strong>I have taken the liberty of setting up the slices for this tutorial. Export your new icons to your server. You can name them anything you like but you will have to then rename them in the stylesheet.</p>
<p style="text-align: left;"><strong>***UPDATE***  The icons on this main image are used as separate files, this is why you need to export these icons.</strong></p>
<p style="text-align: left;">Here are the icons by name and order on the image.</p>
<ul style="text-align: left;">
<li>refresh.png</li>
<li>switch.png</li>
<li>whats_this.png</li>
<li>switch_audio.png</li>
</ul>
<p style="text-align: left;"><strong>Step Six</strong> &#8211; Clear out the slices on the image and export the entire thing as &#8220;sprite.png&#8221; &#8211; again, you can alternatively name this what you want but you will need to change the <a href="http://www.txilife.com/tag/css/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with CSS">CSS</a>. Upload your images.</p>
<p style="text-align: left;"><strong>Step Seven</strong> -  Add the <a href="http://www.txilife.com/tag/css/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with CSS">CSS</a> include to your site by either importing it or adding it to your main style sheet. You will have to change the paths in the document to match the location of your server.</p>
<p style="text-align: left;">This is the last step in the process but lets take a look at some of the <a href="http://www.txilife.com/tag/css/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with CSS">CSS</a> to examine what is happening.</p>
<p><strong>Overwriting the default image</strong></p>
<pre class="css"><span class="cssComment">/* Overwrite <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">reCaptcha</a> background images */</span>
.recaptchatable .recaptcha_r1_c1 {
<span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> url(<span class="cssString">&#039;../../sprite.png&#039;</span>) no-repeat 0 -63px <span class="cssImportant">!important</span></span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.recaptchatable .recaptcha_r2_c1 {
<span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> url(<span class="cssString">&#039;../../sprite.png&#039;</span>) no-repeat -18px 0 <span class="cssImportant">!important</span></span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
.recaptchatable .recaptcha_r2_c2 {
<span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> url(<span class="cssString">&#039;../../sprite.png&#039;</span>) no-repeat -27px 0 <span class="cssImportant">!important</span></span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
</pre>
<p><strong>Hiding the default images and adding our own</strong></p>
<pre class="css">
<span class="cssComment">/* Remove <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">reCaptcha</a> button images  */</span>
#recaptcha_switch_img_btn #recaptcha_switch_img {
<span class="cssProperty">display</span><span class="cssRest">:</span><span class="cssValue">none <span class="cssImportant">!important</span></span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
<span class="cssComment">/* Add user created button images */</span>
#recaptcha_reload_btn {
<span class="cssProperty">background</span><span class="cssRest">:</span><span class="cssValue"> url(<span class="cssString">&#039;../../refresh.png&#039;</span>) no-repeat <span class="cssImportant">!important</span></span><span class="cssRest">;</span>
<span class="cssProperty">display</span><span class="cssRest">:</span><span class="cssValue">block</span><span class="cssRest">;</span>
<span class="cssProperty">height</span><span class="cssRest">:</span><span class="cssValue">17px</span><span class="cssRest">;</span>
<span class="cssProperty">width</span><span class="cssRest">:</span><span class="cssValue">25px</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
</pre>
<p><strong>Styling the input box</strong></p>
<p>Change the border color value to match that of your site.</p>
<pre class="css">
<span class="cssComment">/* Style input field to match new theme */</span>
.recaptcha_theme_red #recaptcha_response_field {
<span class="cssProperty">border</span><span class="cssRest">:</span><span class="cssValue">1px solid #92b6eb</span><span class="cssRest">;</span>
<span class="cssMedia">}</span>
</pre>
<p style="text-align: left;">There you go, you now have a 100% custom version of <a href="http://www.txilife.com/tag/recaptcha/" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with reCaptcha">reCaptcha</a> to match your site. Enjoy.</p>
<p style="text-align: left;"><strong>Download source files</strong></p>
<ul style="text-align: left;">
<li><a title="Recaptcha CSS" href="http://www.txilife.com/wp-content/uploads/2009/07/recaptcha_css.css">reCaptcha CSS</a></li>
<li><a title="Recaptcha PSD" href="http://www.txilife.com/wp-content/uploads/2009/02/recaptcha_retheme.psd">reCaptcha PSD</a></li>
</ul>

	Tags: <a href="http://www.txilife.com/tag/3rd-party/" title="3rd Party" rel="tag nofollow">3rd Party</a>, <a href="http://www.txilife.com/tag/css/" title="CSS" rel="tag nofollow">CSS</a>, <a href="http://www.txilife.com/tag/hack/" title="Hack" rel="tag nofollow">Hack</a>, <a href="http://www.txilife.com/tag/photoshop/" title="Photoshop" rel="tag nofollow">Photoshop</a>, <a href="http://www.txilife.com/tag/recaptcha/" title="reCaptcha" rel="tag nofollow">reCaptcha</a>, <a href="http://www.txilife.com/tag/technology/" title="Technology" rel="tag nofollow">Technology</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.txilife.com/2009/04/embedding-an-image-into-gmail/" title="UPDATED: Embedding an image into Gmail (April 9, 2009)">UPDATED: Embedding an image into Gmail</a> (2)</li>
	<li><a href="http://www.txilife.com/2009/02/txilife-is-alive/" title="txilife is alive (February 17, 2009)">txilife is alive</a> (2)</li>
	<li><a href="http://www.txilife.com/2009/04/polycom-napkin-hack/" title="Polycom Napkin Hack (April 4, 2009)">Polycom Napkin Hack</a> (1)</li>
	<li><a href="http://www.txilife.com/2009/02/firefox-browser-chrome/" title="Firefox Browser Chrome (February 25, 2009)">Firefox Browser Chrome</a> (0)</li>
	<li><a href="http://www.txilife.com/2009/03/constant-contact-restful-api-and-perl/" title="Constant Contact RESTful API and Perl (March 24, 2009)">Constant Contact RESTful API and Perl</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.txilife.com/2009/07/recaptcha-retheme/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
