<?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>fligtar&#039;s blog &#187; css</title>
	<atom:link href="http://blog.fligtar.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fligtar.com</link>
	<description>a boombox is not a toy</description>
	<lastBuildDate>Tue, 10 Aug 2010 23:51:04 +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>Comments are not status updates</title>
		<link>http://blog.fligtar.com/2009/08/02/comments-are-not-status-updates/</link>
		<comments>http://blog.fligtar.com/2009/08/02/comments-are-not-status-updates/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 22:08:54 +0000</pubDate>
		<dc:creator>Justin Scott (fligtar)</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[facebook]]></category>

		<guid isPermaLink="false">http://blog.fligtar.com/?p=535</guid>
		<description><![CDATA[Facebook recently changed the way comments appear from this: to this: You can add this to your userContent.css in Firefox to set it back to having a line break after the person&#8217;s name. @-moz-document url-prefix(http://www.facebook.com/) { .commentable_item .comment_box .comment_content .comment_author { display: block !important; } .commentable_item .comment_box .comment_content .comment_actual_text { padding-left: 0 !important; } }]]></description>
			<content:encoded><![CDATA[<p>Facebook recently changed the way comments appear from this:</p>
<p><img src="http://blog.fligtar.com/wp-content/uploads/2009/08/fb-after.png" alt="How it looked before the change" /></p>
<p>to this:</p>
<p><img src="http://blog.fligtar.com/wp-content/uploads/2009/08/fb-before.png" alt="How it looks now" /></p>
<p>You can add this to your <a href="http://www.mozilla.org/unix/customizing.html">userContent.css</a> in Firefox to set it back to having a line break after the person&#8217;s name.</p>
<pre>
@-moz-document url-prefix(http://www.facebook.com/) {
    .commentable_item .comment_box .comment_content .comment_author {
        display: block !important;
    }
    .commentable_item .comment_box .comment_content .comment_actual_text {
        padding-left: 0 !important;
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.fligtar.com/2009/08/02/comments-are-not-status-updates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>fancypants: a new Bugzilla skin</title>
		<link>http://blog.fligtar.com/2009/04/23/fancypants-a-new-bugzilla-skin/</link>
		<comments>http://blog.fligtar.com/2009/04/23/fancypants-a-new-bugzilla-skin/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 01:21:40 +0000</pubDate>
		<dc:creator>Justin Scott (fligtar)</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[planet.mozilla.org]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[fancypants]]></category>

		<guid isPermaLink="false">http://blog.fligtar.com/?p=415</guid>
		<description><![CDATA[There&#8217;s been a lot recent discussion on Bugzilla&#8217;s UI. I figured I&#8217;d share some work I started last month on a new non-default skin for bugzilla.mozilla.org. I, along with a few alpha testers, have been using it via userContent.css, and I&#8217;m really loving it. It has a lot of things I consider to be improvements, [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s been a lot recent discussion on Bugzilla&#8217;s UI. I figured I&#8217;d share some work I started last month on a new non-default skin for bugzilla.mozilla.org. I, along with a few alpha testers, have been using it via userContent.css, and I&#8217;m really loving it. It has a lot of things I consider to be improvements, although there&#8217;s only so much you can do with pure-CSS skins.</p>
<p><a href="http://blog.fligtar.com/wp-content/uploads/2009/04/fancypants-showbug.png"><img src="http://blog.fligtar.com/wp-content/uploads/2009/04/fancypants-showbug.png" alt="show bug" width="400"/></a><a href="http://blog.fligtar.com/wp-content/uploads/2009/04/fancypants-buglist.png"><img src="http://blog.fligtar.com/wp-content/uploads/2009/04/fancypants-buglist.png" alt="bug list" width="400"/></a></p>
<p>I&#8217;m working on bugfixes and tweaks still, but am hoping to have it ready for general use soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fligtar.com/2009/04/23/fancypants-a-new-bugzilla-skin/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Removing Dashcode&#8217;s Unwanted List Underline</title>
		<link>http://blog.fligtar.com/2009/02/06/removing-dashcodes-unwanted-list-underline/</link>
		<comments>http://blog.fligtar.com/2009/02/06/removing-dashcodes-unwanted-list-underline/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 08:23:25 +0000</pubDate>
		<dc:creator>Justin Scott (fligtar)</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>

		<guid isPermaLink="false">http://blog.fligtar.com/?p=385</guid>
		<description><![CDATA[While using Dashcode to create a dashboard widget, I came across an annoying styling bug that&#8217;s not as easy as it could be to fix, although it&#8217;s still pretty easy. If you use a list part in your widget, you have the option of rounding the corners. This is what corners rounded with a 10 [...]]]></description>
			<content:encoded><![CDATA[<p>While using Dashcode to create a dashboard widget, I came across an annoying styling bug that&#8217;s not as easy as it could be to fix, although it&#8217;s still pretty easy. If you use a list part in your widget, you have the option of rounding the corners. This is what corners rounded with a 10 pixel radius look like:</p>
<p><img src="http://blog.fligtar.com/wp-content/uploads/2009/02/before.png" alt="Before"/></p>
<p>You may notice that there&#8217;s now a horizontal line at the bottom of the list that should have been affected by the corner rounding, but was not. To fix this, open your CSS file and find the <tt>.listRowTemplate_template</tt> selector. It should look like this:</p>
<p><span id="more-385"></span></p>
<pre>
.listRowTemplate_template {
    position: relative;
    list-style-type: none;
    height: 24px;
    overflow: hidden;
    margin: 0px;
    padding: 0px;
    border-style: solid;
    <b>border-top-width: 0px;</b>
    border-right-width: 0px;
    <b>border-bottom-width: 1px;</b>
    border-left-width: 0px;
    border-color: rgb(224, 224, 224);
}
</pre>
<p>We&#8217;re going to fix this problem by changing the two properties in bold above. Ideally, we would be able to add a <tt>:last-child</tt> selector to remove the border from the last row, but WebKit doesn&#8217;t support <tt>:last-child</tt>, only <tt>:first-child</tt>. So we&#8217;re going to have to change the border to being at the top of each row instead of bottom.</p>
<p>In the above CSS, change <tt>border-top-width</tt> to <tt>1px</tt> and change <tt>border-bottom-width</tt> to <tt>0px</tt>. Next, add this below that group:</p>
<pre>
.listRowTemplate_template:first-child {
    border-top-width: 0px;
}
</pre>
<p>This tells the first row of the list to not show its top border, and now we&#8217;ll get a rounded corner list that looks correct:</p>
<p><img src="http://blog.fligtar.com/wp-content/uploads/2009/02/after.png" alt="After"/></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fligtar.com/2009/02/06/removing-dashcodes-unwanted-list-underline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Identity, Part 1</title>
		<link>http://blog.fligtar.com/2007/05/02/site-identity-part-1/</link>
		<comments>http://blog.fligtar.com/2007/05/02/site-identity-part-1/#comments</comments>
		<pubDate>Wed, 02 May 2007 14:21:45 +0000</pubDate>
		<dc:creator>Justin Scott (fligtar)</dc:creator>
				<category><![CDATA[projects]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://blog.fligtar.com/2007/05/02/site-identity-part-1/</guid>
		<description><![CDATA[This week I decided I want to work on my site and extensions a bit before I live and breath Mozilla for the next 3 months. Enter the ribbon. It&#8217;s something I&#8217;ve wanted to do for quite awhile, and it took a bit longer than I expected. I added what I&#8217;m calling a ribbon (unrelated [...]]]></description>
			<content:encoded><![CDATA[<p>This week I decided I want to work on my site and extensions a bit before I live and breath Mozilla for the next 3 months. Enter the ribbon. It&#8217;s something I&#8217;ve wanted to do for quite awhile, and it took a bit longer than I expected.</p>
<p>I added what I&#8217;m calling a ribbon (unrelated to Office 2007) to the main fligtar.com sites, like <a href="http://blog.fligtar.com">this blog</a>. Clicking on it will bring down a menu of other things on fligtar.com.</p>
<p>I wanted to be able to easily modify an existing site to use this style and I wanted to be able to modify the menu content in one place, but I didn&#8217;t want to use PHP.</p>
<p>I&#8217;m pretty happy with the result (I won&#8217;t say &#8220;Mission Accomplished&#8221;), as including the ribbon without gradient can be done by:</p>
<blockquote><pre>
&lt;html&gt;
    &lt;head&gt;
        &lt;link rel="stylesheet" href="http://g.fligtar.com/ribbon.css" type="text/css"&gt;
        &lt;script language="JavaScript" type="text/javascript" src="http://g.fligtar.com/jquery.js"&gt;&lt;/script&gt;
        &lt;script language="JavaScript" type="text/javascript" src="http://g.fligtar.com/ribbon.js"&gt;&lt;/script&gt;
    &lt;/head&gt;
    &lt;body&gt;
        &lt;div id="ribbon_menu" style="display: none;"&gt;&lt;/div&gt;
        &lt;div id="ribbon"&gt;&lt;div id="ribbon_logo"&gt;&lt;/div&gt;&lt;/div&gt;
    &lt;/body&gt;
&lt;/html&gt;
</pre>
</blockquote>
<p>&#8230; and the gradient is 2 lines more.</p>
<p>The process I went through to create this reveals why it took longer than expected:</p>
<ol>
<li>Determine color scheme</li>
<li>Make shiny bar</li>
<li>Place shiny bar</li>
<li>Make 4 versions of logo that I&#8217;m not happy with</li>
<li>Make 2 entirely functional menus before deciding I want the ribbon to drop down</li>
<li><a href="http://blog.fligtar.com/2007/05/02/more-like-tstupid/">Fight with IE</a></li>
<li>Realize that some sites (blog and LSU map) can&#8217;t use the gradient</li>
<li>Separate gradient from shiny bar and redo that area of CSS</li>
<li>Deploy to all sites</li>
<li>Fight with trac&#8217;s CSS which did not play nicely with mine</li>
<li>Win!</li>
</ol>
<p>I called this Part 1, but my current plan is basically:</p>
<ol>
<li>Implement Ribbon</li>
<li>&#8230;</li>
<li>Profit!</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.fligtar.com/2007/05/02/site-identity-part-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
