<?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>Brett Terpstrauserstyle - Brett Terpstra</title>
	<atom:link href="http://brettterpstra.com/tag/userstyle/feed/" rel="self" type="application/rss+xml" />
	<link>http://brettterpstra.com</link>
	<description>Elegant solutions to complex problems.</description>
	<lastBuildDate>Thu, 09 Feb 2012 15:01:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>A little HootSuite userstyling</title>
		<link>http://brettterpstra.com/a-little-hootsuite-userstyling/</link>
		<comments>http://brettterpstra.com/a-little-hootsuite-userstyling/#comments</comments>
		<pubDate>Sun, 26 Sep 2010 16:08:47 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[hootsuite]]></category>
		<category><![CDATA[userstyle]]></category>

		<guid isPermaLink="false">http://brettterpstra.com/?p=1027</guid>
		<description><![CDATA[<p>I keep trying out the social stream web app, HootSuite (I made a new icon for the Fluid app a while back), both in Safari 5 and in a Fluid browser. I like it, and given that I end up in it pretty often, I thought I’d polish up some edges that were bugging me. These changes may or may&#8230;</p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/a-little-hootsuite-userstyling/">A little HootSuite userstyling</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/hootsuiteicon200xom.jpg?9d7bd4"><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/hootsuiteicon200xom.jpg?9d7bd4" alt="HootSuite Icon" title="hootsuiteicon200xom" width="172" height="250" class="alignright size-full wp-image-1032" /></a>I keep trying out the social stream web app, <a href="http://hootsuite.com/">HootSuite</a> (I made a <a href="http://brettterpstra.com/a-cleaner-hootsuite-icon-for-fluidprism/">new icon for the Fluid app</a> a while back), both in Safari 5 and in a <a href="http://fluidapp.com/">Fluid browser</a>. I like it, and given that I end up in it pretty often, I thought I’d polish up some edges that were bugging me. These changes may or may not be your cup of tea.</p>

<p>The following changes were made within the Blue Steel theme on HootSuite, and if you use it with another theme, you’ll probably at least want to change the scrollbar colors. The basic rundown of changes is:</p>

<ul>
<li>Much nicer scrollbars using webkit’s scrollbar-specific styling options</li>
<li>Move the user photo in a tweet to the right, remove the padding on the left and leave more space for the actual tweet.</li>
<li>Further adjustments to make the previous adjustment work with menus and badges</li>
<li>Darken the username in tweets, add a slight beveled edge, and change the font to Helvetica
<span id="more-1027"></span></li>
</ul>

<h3>Before and After</h3>

<p><div id="attachment_1029" class="wp-caption alignleft" style="width: 160px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: left;"><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/HootSuiteNoMods.jpg?9d7bd4"><img src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/HootSuiteNoMods-150x150.jpg?9d7bd4" alt="HootSuite Original Blue Steel Screenshot" title="HootSuiteNoMods" width="150" height="150" class="size-thumbnail wp-image-1029" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">HootSuite Original Blue Steel</p></div>
<div id="attachment_1031" class="wp-caption alignleft" style="width: 160px;  border: 1px solid #dddddd; background-color: #f3f3f3; padding-top: 4px; margin: 10px; text-align:center; float: left;"><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/HootSuiteWithMods.jpg?9d7bd4"><img src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/HootSuiteWithMods-150x150.jpg?9d7bd4" alt="HootSuite with User Style Screenshot" title="HootSuiteWithMods" width="150" height="150" class="size-thumbnail wp-image-1031" /></a><p style=' padding: 0 4px 5px; margin: 0;'  class="wp-caption-text">HootSuite with User Style</p></div></p>

<h3>In Safari 5</h3>

<p><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/HootSuiteUserCSS.jpg?9d7bd4"><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/HootSuiteUserCSS-150x150.jpg?9d7bd4" alt="" title="HootSuiteUserCSS" width="150" height="150" class="alignright size-thumbnail wp-image-1030" /></a>You’ll need the <a href="http://code.grid.in.th/">User CSS Extension</a>, which is simple to install and get running with. My only complaint with this extension is that it tends to clear itself out pretty regularly, so make sure you have backups of your styles.</p>

<p>Click the “A” icon in the menubar after the extension is enabled, and start a new style definition called “HootSuite.” Enable it, set the domains to “http://hootsuite.com/*” and paste the code below into the textarea. Save it, and reload HootSuite. Skip to the end for the code.</p>

<h3>In Fluid</h3>

<p><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/HootSuiteFluidUserstylesPreferences.jpg?9d7bd4"><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/09/HootSuiteFluidUserstylesPreferences-150x150.jpg?9d7bd4" alt="" title="HootSuiteFluidUserstylesPreferences" width="150" height="150" class="alignright size-thumbnail wp-image-1028" /></a>In Fluid, <a href="http://userstyles.org/">userstyle</a> support is built in. Just go to Preferences -&gt; User Styles and create a new one for the domain “http://hootsuite.com/*”. Paste in the code below and reload HootSuite.</p>

<h3>The code</h3>

<p>Modify at will…</p>

<div markdown=0> <pre><code>
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar:horizontal {
  height:7px;
}
::-webkit-scrollbar-track {
  margin-top: -10px;
  margin-bottom: -10px;
  background:#ccc;
  -webkit-border-radius: 5px;
}
::-webkit-scrollbar-track:disabled {
  display: none;
}
::-webkit-scrollbar-thumb {
  border-width: 19px 0;
  min-height: 20px;
  background:rgba(38, 71, 113,0.3);
  opacity: 0.4;
  -webkit-border-radius: 5px;
}
.stream .message {
  border-top:none !important;
  padding:5px !important;
}
.message .networkAvatar {
  left:auto !important;
  right:15px !important;
  top:5px !important;
}
.message .networkName {
  color: #666 !important;
  text-shadow: #fff -1px -1px 0px !important;
  font-family: "Helvetica Neue" !important;
  line-height:15px !important;
}
.stream .stream-scroll .messageOptions {
  height:28px !important;
  padding:2px 4px 2px 8px;
  position:absolute;
  right:10px;z-index:1;
}
.message p {
  padding-top:4px !important;
}
.message span.status {
  position:absolute;
  top:6px;
  right:1px !important;
}
</code></pre> </div>
<p>Related posts:<ol>
<li><a href='http://brettterpstra.com/a-cleaner-hootsuite-icon-for-fluidprism/' rel='bookmark' title='A cleaner HootSuite icon for Fluid/Prism'>A cleaner HootSuite icon for Fluid/Prism</a></li>
<li><a href='http://brettterpstra.com/fixing-gleebox/' rel='bookmark' title='Fixing Gleebox'>Fixing Gleebox</a></li>
<li><a href='http://brettterpstra.com/promptdown-for-ios-mobile-markdown-teleprompter/' rel='bookmark' title='PromptDown for iOS: Mobile Markdown Teleprompter'>PromptDown for iOS: Mobile Markdown Teleprompter</a></li>
</ol></p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/a-little-hootsuite-userstyling/">A little HootSuite userstyling</a></p>]]></content:encoded>
			<wfw:commentRss>http://brettterpstra.com/a-little-hootsuite-userstyling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Gleebox</title>
		<link>http://brettterpstra.com/fixing-gleebox/</link>
		<comments>http://brettterpstra.com/fixing-gleebox/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 00:11:14 +0000</pubDate>
		<dc:creator>Brett</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[gleebox]]></category>
		<category><![CDATA[userstyle]]></category>

		<guid isPermaLink="false">http://brettterpstra.com/?p=778</guid>
		<description><![CDATA[<p>If you haven’t tried it, gleeBox is an amazing extension. I have it installed in my Firefox and Chrome setups, and I’m more than thrilled that it’s finally available for Safari. It lets you do a lot of crazy (and useful) things with keyboard commands on any website. There’s a great writeup over at PimpMySafari.com, so I won’t go into&#8230;</p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/fixing-gleebox/">Fixing Gleebox</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/07/defaultgleeboxhighlights.jpg?9d7bd4"><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/07/defaultgleeboxhighlights-150x150.jpg?9d7bd4" alt="" title="defaultgleeboxhighlights" width="150" height="150" class="size-thumbnail wp-image-784 alignright" /></a>If you haven’t tried it, <a href="http://thegleebox.com/">gleeBox</a> is an amazing extension. I have it installed in my Firefox and Chrome setups, and I’m more than thrilled that it’s finally available for Safari. It lets you do a lot of crazy (and useful) things with keyboard commands on any website. There’s a <a href="http://www.pimpmysafari.com/extensions/gleebox-command-line-interface-for-safari">great writeup over at PimpMySafari.com</a>, so I won’t go into depth on the wonderful parts. I’ll concentrate on the one thing that bugs me about gleeBox: the highlight colors on found and selected elements. They are, in my opinion, a little obnoxious.
<span id="more-778"></span></p>

<p>Fortunately, another Safari extension comes to the rescue. <a href="http://code.grid.in.th/">User CSS</a> is a pretty effective way to use slightly-modified <a href="userstyles.org/">userstyles</a> and generate your own CSS overrides. If you happen to have both extensions installed (or are on your way to get them right now), here’s a recipe for de-uglifying gleeBox (<a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/07/UserCSSGleebox.jpg?9d7bd4">settings screenshot</a>):</p>

<ol>
<li>Create a new User CSS in the User CSS Manager</li>
<li>Name it Glee Highlight Override and set the Domains field to *</li>
<li>Add the code below in the Styles field:</li>
</ol>


<div class="wp_syntax"><div class="code"><pre class="css">body <span class="re1">.GleeHL</span> <span class="br0">&#123;</span> 
	<span class="kw1">background-color</span><span class="sy0">:</span><span class="re0">#eef49b</span> !important<span class="sy0">;</span>
	-webkit-box-shadow<span class="sy0">:</span><span class="kw2">none</span> !important<span class="sy0">;</span>
	<span class="kw1">border</span><span class="sy0">:</span><span class="kw2">solid</span> <span class="re3">1px</span> <span class="re0">#dfec2c</span> !important<span class="sy0">;</span>
	<span class="kw1">padding</span><span class="sy0">:</span><span class="nu0">0</span> !important<span class="sy0">;</span>
<span class="br0">&#125;</span>
body <span class="re1">.GleeReaped</span> <span class="br0">&#123;</span>
	<span class="kw1">background-color</span><span class="sy0">:</span><span class="re0">#f6f9c9</span> !important<span class="sy0">;</span>
	<span class="kw1">border</span><span class="sy0">:</span><span class="kw2">solid</span> <span class="re3">1px</span> <span class="re0">#c0c660</span> !important<span class="sy0">;</span>
<span class="br0">&#125;</span></pre></div></div>


<p><a href="http://cdn2.brettterpstra.com/wp-content/uploads/2010/07/adjustedGleeboxHighlights.jpg?9d7bd4"><img style=' float: right; padding: 4px; margin: 0 0 2px 7px;'  src="http://cdn2.brettterpstra.com/wp-content/uploads/2010/07/adjustedGleeboxHighlights-150x150.jpg?9d7bd4" alt="" title="adjustedGleeboxHighlights" width="150" height="150" class="size-thumbnail wp-image-782 alignright" /></a>The highlights should be prettier now, even if the change is fairly subtle. The style also removes the padding and shadow on the selected item so that, in most cases, selected items don’t jump around and move other elements as you tab through the page. Let me know if it doesn’t work for you. Obviously, the colors are adjustable to taste. You could even create special overrides for certain sites to match color schemes better… I mean, if you were crazy obsessive or something. If you come up with a better all-around color set, let me know!</p>

<p>By the way, the <a href="http://userstyles.org/styles/33647">Reddit Twitter</a> style is great in Safari! Here’s a <a href="http://img.skitch.com/20100717-mhhsdfh8194rhyg6imtp36byf4.jpg">shot of it</a> with custom gleeBox highlights!</p>
<p>Related posts:<ol>
<li><a href='http://brettterpstra.com/gleebox-gets-prettier-highlights/' rel='bookmark' title='gleeBox gets prettier highlights'>gleeBox gets prettier highlights</a></li>
<li><a href='http://brettterpstra.com/a-little-hootsuite-userstyling/' rel='bookmark' title='A little HootSuite userstyling'>A little HootSuite userstyling</a></li>
<li><a href='http://brettterpstra.com/pinboard-redesign-experiment/' rel='bookmark' title='Pinboard redesign experiment'>Pinboard redesign experiment</a></li>
</ol></p><p>Originally posted on <a href="http://brettterpstra.com" title="BrettTerpstra.com">BrettTerpstra.com</a> at <a href="http://brettterpstra.com/fixing-gleebox/">Fixing Gleebox</a></p>]]></content:encoded>
			<wfw:commentRss>http://brettterpstra.com/fixing-gleebox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (Feed is rejected)
Page Caching using disk: enhanced
Database Caching 9/37 queries in 0.169 seconds using xcache
Object Caching 1094/1122 objects using xcache
Content Delivery Network via cdn2.brettterpstra.com

Served from: brettterpstra.com @ 2012-02-09 17:56:04 -->
