Skip to content

Instantly share code, notes, and snippets.

View tdreyno's full-sized avatar

Thomas Reynolds tdreyno

  • Portland, OR
  • 06:17 (UTC -08:00)
View GitHub Profile
=min-height(!height)
min-height= !height
height: auto !important
height: !height
@implementation _CPAppBootstrapper (CustomLoadTheme)
+ (BOOL)loadDefaultTheme
{
alert('hi')
return YES;
}
@end
// In view
- (void)mouseEntered:(CPEvent)anEvent
{
_DOMElement.className = "photoview_hover";
}
- (void)mouseExited:(CPEvent)anEvent
{
_DOMElement.className = "";
%ul#comments-list
= reply
= reply do
= reply
= reply do
= reply do
= reply do
= reply
= reply
= reply
:table
&nbsp; | <h3>Find a Doctor Near You by Name or Specialty</h3>
Doctor Name: | <input type="text" size="30" />
Your Zip Code: | <input type="text" size="10" />
Doctors within: | <select><option>5</option></select>
Speciality: | <select><option>Any Speciality</option></select>
Gender of Doctor: | <select><option>No Preference</option></select>
Additional Languages Spoken: | <select><option>No Language Preference</option></select>
Show: | <label><input type="radio" name="show" />PeaceHealth Medical Group doctors only</label><br /><label><input type="radio" name="show" />All PeaceHealth and affiliated community doctors</label>
&nbsp; | <input type="submit" value="Search" />&nbsp;&nbsp;&nbsp;&nbsp;<a href="">Clear Search</a>
@import compass.sass
@import susy.sass
::Compass.configuration do |config|
config.asset_host do |asset|
"http://#{(1..4).to_a[rand(4)]}.tfln.com"
end
end
%pre
:preserve
&lt;head&gt;
&lt;script src=&quot;jquery-1.4.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;script src=&quot;jquery/iphone-style-checkboxes.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;
&lt;link rel=&quot;stylesheet&quot; href=&quot;path_to/style.css&quot; type=&quot;text/css&quot; media=&quot;screen&quot; /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
$(document).ready(function() {
$(&#x27;:checkbox&#x27;).iphoneStyle();
});
@import "base";
@include global-reset;
@include blueprint-typography;
body {
background: $unfocused-background-color image_url("white-bg.jpg") repeat-y 50% 0;
color: $text-color;
}
=linear-gradient($color-stops, $start: top) {
$end: grad-opposite-position($start)
border-image: -webkit-gradient(linear, #{grad-point($start)}, #{grad-point($end)}, #{grad-color-stops($color-stops)})
border-image: -moz-linear-gradient(#{$start}, #{$color-stops})