This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @blue: #276373; | |
| @dark_blue: #1c4c52; | |
| @dark_gray: #636363; | |
| @gray: #cdcece; | |
| @red: #911400; | |
| body { | |
| background: @gray; | |
| font-size: 12px; | |
| font-family: Helvetica, Verdana, 'LiHei Pro', 新細明體, sans-serif; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* Reset CSS v1.0 | 20080212 */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } ins { text-decoration: none; } del { text-decoration: line-through; } table { border-collapse: collapse; border-spacing: 0; } | |
| /* self clear */ | |
| .group { clear: both; } | |
| .group:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } | |
| /* hack ie7 */ | |
| *:first-child+html .group { min-height: 1px; background: red; } | |
| /* hack ie6 */ | |
| * html .group { height: 1%; background: green; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $(this).removeClass(function(index, cls) { | |
| var classes = cls.split(' '); | |
| var result = new Array(); | |
| $.each(classes, function(index, value) { | |
| if(value.substring(0, 3) == 'col') { | |
| result.push(value); | |
| saveCol = saveCol + value; | |
| } | |
| }); | |
| return result.join(' '); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @mixin self-clear { | |
| clear: both; | |
| &:after { | |
| content: "."; | |
| display: block; | |
| height: 0; | |
| clear: both; | |
| visibility: hidden; | |
| } | |
| *:first-child+html & { min-height: 1px; } // hack ie7 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @mixin grid($columns,$col-width,$gutter) { | |
| width: ($col-width * $columns) + ($gutter * $columns); | |
| .column { | |
| margin: 0 $gutter $gutter 0; | |
| float: left; | |
| } | |
| @for $i from 1 through $columns { | |
| .col#{$i} { | |
| width: ($col-width * $i) + ($gutter * ($i - 1)); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo brew update | |
| sudo brew install jruby # latest version is 1.6 (03/24/2010) | |
| sudo gems update --system | |
| sudo gems uninstall rawr # rawr should install via jruby | |
| sudo jruby -S gems install rawr | |
| # at root directory of CompassApp | |
| sudo jruby -S rake rawr:bundle:app | |
| # build location is package/osx/compass.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set volume 1 | |
| say "Desktop Clear" using "Vicki" | |
| tell application "Camouflage" to launch | |
| delay 1 | |
| say "Battery" using "Vicki" | |
| tell application "Watts" to launch | |
| delay 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:if(w=prompt('Search%20compass-style.org:','')){top.location.href='http://google.com/search?q=site%3Acompass-style.org+'+w;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| undefined method `to_tree' for nil:NilClass | |
| /Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:169:in `tree' | |
| /Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:159:in `compute_dependencies' | |
| /Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:142:in `dependencies' | |
| /Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:119:in `dependencies_stale?' | |
| /Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:152:in `dependency_updated?' | |
| org/jruby/RubyEnumerable.java:1356:in `any?' | |
| /Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:119:in `dependencies_stale?' | |
| /Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:152:i |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ** MySQL settings - You can get this info from your web host ** // | |
| $db = parse_url($_ENV["DATABASE_URL"]); | |
| /** The name of the database for WordPress */ | |
| define('DB_NAME', trim($db["path"],'/')); | |
| /** MySQL database username */ | |
| define('DB_USER', $db["user"]); | |
| /** MySQL database password */ |
OlderNewer