caboodle 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/caboodle/app/config/site.yml +3 -1
- data/lib/caboodle/app/views/layout.haml +15 -13
- data/lib/caboodle/app/{stylesheets → views/stylesheets}/_base.scss +0 -0
- data/lib/caboodle/app/{stylesheets → views/stylesheets}/_defaults.scss +0 -0
- data/lib/caboodle/app/{stylesheets → views/stylesheets}/ie.scss +0 -0
- data/lib/caboodle/app/{stylesheets → views/stylesheets}/print.scss +0 -0
- data/lib/caboodle/app/views/stylesheets/screen.scss +140 -0
- data/lib/caboodle/app.rb +4 -19
- data/lib/caboodle/command.rb +1 -0
- data/lib/caboodle/config.rb +2 -1
- data/lib/caboodle/helpers.rb +0 -4
- data/lib/caboodle/kit.rb +34 -9
- data/lib/caboodle/kits/carbonmade/carbonmade.rb +13 -0
- data/lib/caboodle/kits/carbonmade/views/carbonmade.haml +2 -0
- data/lib/caboodle/kits/flickr/flickr.rb +3 -1
- data/lib/caboodle/kits/flickr/views/photography.scss +24 -0
- data/lib/caboodle/kits/github/github.rb +1 -1
- data/lib/caboodle/kits/{portfolio/config/portfolio.yml → history/config/history.yml} +0 -0
- data/lib/caboodle/kits/history/history.rb +40 -0
- data/lib/caboodle/kits/{portfolio/views/portfolio.haml → history/views/history.haml} +4 -4
- data/lib/caboodle/kits/history/views/history.scss +21 -0
- data/lib/caboodle/kits/jquery/jquery.rb +5 -0
- data/lib/caboodle/kits/linkedin/linkedin.rb +4 -1
- data/lib/caboodle/kits/linkedin/views/cv.haml +1 -1
- data/lib/caboodle/kits/linkedin/views/linkedin.scss +61 -0
- data/lib/caboodle/kits/onepage/onepage.rb +1 -1
- data/lib/caboodle/kits/posterous/posterous.rb +6 -4
- data/lib/caboodle/kits/posterous/views/posterous.scss +17 -0
- data/lib/caboodle/kits/posterous/views/posts.haml +14 -2
- data/lib/caboodle/kits/soundcloud/soundcloud.rb +2 -0
- data/lib/caboodle/kits/susy/susy.rb +47 -0
- data/lib/caboodle/kits/susy/views/susy/_base.scss +49 -0
- data/lib/caboodle/kits/susy/views/susy/_defaults.scss +257 -0
- data/lib/caboodle/kits/susy/views/susy/ie.scss +10 -0
- data/lib/caboodle/kits/susy/views/susy/print.scss +33 -0
- data/lib/caboodle/{app/stylesheets → kits/susy/views/susy}/screen.scss +11 -55
- data/lib/caboodle/kits/twitter/twitter.rb +3 -1
- data/lib/caboodle/kits/twitter/views/twitter.scss +28 -0
- metadata +26 -15
- data/lib/caboodle/app/public/stylesheets/ie.css +0 -1
- data/lib/caboodle/app/public/stylesheets/print.css +0 -122
- data/lib/caboodle/app/public/stylesheets/screen.css +0 -196
- data/lib/caboodle/kits/portfolio/portfolio.rb +0 -20
| @@ -5,8 +5,20 @@ | |
| 5 5 | 
             
              - else
         | 
| 6 6 | 
             
                - @posts.each do |post|
         | 
| 7 7 | 
             
                  = haml :_post, :layout=>false, :locals=>{:post=>post}
         | 
| 8 | 
            -
                #pagination
         | 
| 9 | 
            -
                   | 
| 8 | 
            +
                %nav#pagination
         | 
| 9 | 
            +
                  - page = params[:page].to_i if defined?(params[:page])
         | 
| 10 | 
            +
                  - page ||= 1
         | 
| 11 | 
            +
                  - page = 1 if page < 1
         | 
| 12 | 
            +
                  #next
         | 
| 13 | 
            +
                    - if page > 1
         | 
| 14 | 
            +
                      %a{:href=>"/posterous/#{page-1}"}
         | 
| 15 | 
            +
                        Next
         | 
| 16 | 
            +
                  
         | 
| 17 | 
            +
                  #previous
         | 
| 18 | 
            +
                    - if @posts
         | 
| 19 | 
            +
                      %a{:href=>"/posterous/#{page+1}"}
         | 
| 20 | 
            +
                        Previous
         | 
| 21 | 
            +
                  
         | 
| 10 22 | 
             
                - if Caboodle::Site.disqus
         | 
| 11 23 | 
             
                  :javascript
         | 
| 12 24 | 
             
                    (function() {
         | 
| @@ -0,0 +1,47 @@ | |
| 1 | 
            +
            gem "sinatra-compass"
         | 
| 2 | 
            +
            require "sinatra/compass"
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            gem "compass-susy-plugin"
         | 
| 5 | 
            +
            require "susy"
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            require "compass"
         | 
| 8 | 
            +
            require "sinatra/base"
         | 
| 9 | 
            +
            require "sinatra/sugar"
         | 
| 10 | 
            +
            require "sinatra/advanced_routes"
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            module Caboodle
         | 
| 13 | 
            +
              class Susy < Caboodle::Kit
         | 
| 14 | 
            +
                        
         | 
| 15 | 
            +
                get("/susy/:name.css") do
         | 
| 16 | 
            +
                  puts "*** root"
         | 
| 17 | 
            +
                  puts Caboodle::App.root
         | 
| 18 | 
            +
                  content_type 'text/css', :charset => 'utf-8'
         | 
| 19 | 
            +
                  sass_dir = File.expand_path(File.join(File.dirname(__FILE__),"views","susy"))
         | 
| 20 | 
            +
                  #puts sass_dir
         | 
| 21 | 
            +
                  load_paths = [Caboodle::App.root, File.join(Caboodle::App.root,"views"), File.join(Caboodle::App.root,"views","stylesheets"), sass_dir] + ::Compass.sass_engine_options[:load_paths]
         | 
| 22 | 
            +
                  #puts load_paths.inspect
         | 
| 23 | 
            +
                  Caboodle::Kits.each do |name|
         | 
| 24 | 
            +
                    kit_name = name.to_s.split("::").last || name
         | 
| 25 | 
            +
                    kit_name = kit_name.downcase
         | 
| 26 | 
            +
                    load_paths << File.expand_path(File.join(File.dirname(__FILE__),"..",kit_name,"views"))
         | 
| 27 | 
            +
                  end
         | 
| 28 | 
            +
                  
         | 
| 29 | 
            +
                  options = {:sass_dir => sass_dir, :syntax => :scss, :load_paths => load_paths}
         | 
| 30 | 
            +
                  the_sass = open(File.join(File.dirname(__FILE__),"views","susy","screen.scss")).read
         | 
| 31 | 
            +
                  Caboodle::SASS.each do |s|
         | 
| 32 | 
            +
                    the_sass << "\n"
         | 
| 33 | 
            +
                    add_file = "@import \"#{s}\";"
         | 
| 34 | 
            +
                    puts add_file
         | 
| 35 | 
            +
                    the_sass << add_file
         | 
| 36 | 
            +
                  end
         | 
| 37 | 
            +
                  
         | 
| 38 | 
            +
                  opts = options.merge!(::Compass.sass_engine_options)
         | 
| 39 | 
            +
                  opts[:load_paths] = load_paths
         | 
| 40 | 
            +
                  puts opts.inspect
         | 
| 41 | 
            +
                  sass the_sass, opts
         | 
| 42 | 
            +
                end
         | 
| 43 | 
            +
             | 
| 44 | 
            +
                stylesheets ["/susy/screen.css"]
         | 
| 45 | 
            +
             | 
| 46 | 
            +
              end
         | 
| 47 | 
            +
            end
         | 
| @@ -0,0 +1,49 @@ | |
| 1 | 
            +
            //**
         | 
| 2 | 
            +
            //  Susy: Un-obtrusive grids for designers
         | 
| 3 | 
            +
            //  By: Eric A. Meyer and OddBird
         | 
| 4 | 
            +
            //  Site: www.oddbird.net/susy/
         | 
| 5 | 
            +
            //**
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            // Font Sizes --------------------------------------------------------------
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            $base-font-size: 16px;
         | 
| 10 | 
            +
            $base-line-height: 24px;
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            // Grid --------------------------------------------------------------
         | 
| 13 | 
            +
             | 
| 14 | 
            +
            $total-cols: 12;
         | 
| 15 | 
            +
            $col-width: 4em;
         | 
| 16 | 
            +
            $gutter-width: 1em;
         | 
| 17 | 
            +
            $side-gutter-width: $gutter-width;
         | 
| 18 | 
            +
             | 
| 19 | 
            +
            // Don't move this @import above the GRID and FONT-SIZE variables.
         | 
| 20 | 
            +
            @import "susy/susy";
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            // Colors --------------------------------------------------------------
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            $base: #4c4c4c;
         | 
| 25 | 
            +
            $alt: #ff6600;
         | 
| 26 | 
            +
             | 
| 27 | 
            +
            // Fonts --------------------------------------------------------------
         | 
| 28 | 
            +
             | 
| 29 | 
            +
            @mixin sans-family {
         | 
| 30 | 
            +
              font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
         | 
| 31 | 
            +
              font-weight: lighter;
         | 
| 32 | 
            +
            }
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            @mixin serif-family {
         | 
| 35 | 
            +
              font-family: 'Adobe Caslon Pro', Caslon, Baskerville, Palatino, 'Palatino Linotype', "Hoefler Text", Garamond, "URW Palladio L", "Book Antiqua", Georgia, serif;
         | 
| 36 | 
            +
            }
         | 
| 37 | 
            +
             | 
| 38 | 
            +
            @mixin monospace-family {
         | 
| 39 | 
            +
              font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;
         | 
| 40 | 
            +
            }
         | 
| 41 | 
            +
             | 
| 42 | 
            +
            @mixin slab-family {
         | 
| 43 | 
            +
              font-family: "museo-slab-1", "Helvetica Neue", Arial, Helvetica, sans-serif;
         | 
| 44 | 
            +
              font-weight: lighter;
         | 
| 45 | 
            +
            }
         | 
| 46 | 
            +
             | 
| 47 | 
            +
            // OTHER MIXINS --------------------------------------------------------------
         | 
| 48 | 
            +
            // Mixins set here will be available in defaults, screen, print and IE
         | 
| 49 | 
            +
            // Or anywhere you import either base.sass or defaults.sass
         | 
| @@ -0,0 +1,257 @@ | |
| 1 | 
            +
            //** DEFAULT STYLES **//
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            // Based on the work of:
         | 
| 4 | 
            +
            // Andy Clarke: http://forabeautifulweb.com/
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            // Imports --------------------------------------------------------------*/
         | 
| 7 | 
            +
             | 
| 8 | 
            +
            @import "base";
         | 
| 9 | 
            +
            @import "susy/reset";
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            /* Body --------------------------------------------------------------*/
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            body {
         | 
| 14 | 
            +
              @include serif-family;
         | 
| 15 | 
            +
              color: $base;
         | 
| 16 | 
            +
            }
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            /* Links --------------------------------------------------------------*/
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            a {
         | 
| 21 | 
            +
              &:link, &:visited {
         | 
| 22 | 
            +
                color: $alt;
         | 
| 23 | 
            +
              }
         | 
| 24 | 
            +
              &:focus, &:hover, &:active {
         | 
| 25 | 
            +
                color: darken($alt,5);
         | 
| 26 | 
            +
                text-decoration: none;
         | 
| 27 | 
            +
              }
         | 
| 28 | 
            +
              img {
         | 
| 29 | 
            +
                border: none;
         | 
| 30 | 
            +
              }
         | 
| 31 | 
            +
            }
         | 
| 32 | 
            +
             | 
| 33 | 
            +
            /* Headings --------------------------------------------------------------*/
         | 
| 34 | 
            +
             | 
| 35 | 
            +
            h1, h2, h3, h4, h5, h6 { 
         | 
| 36 | 
            +
              font-weight: normal;
         | 
| 37 | 
            +
              img {
         | 
| 38 | 
            +
                margin: 0;
         | 
| 39 | 
            +
              }
         | 
| 40 | 
            +
            }
         | 
| 41 | 
            +
             | 
| 42 | 
            +
            h1 { 
         | 
| 43 | 
            +
              @include adjust-font-size-to(48px);
         | 
| 44 | 
            +
              @include trailer(1,48px);
         | 
| 45 | 
            +
            }
         | 
| 46 | 
            +
             | 
| 47 | 
            +
            h2 { 
         | 
| 48 | 
            +
              @include adjust-font-size-to(32px);
         | 
| 49 | 
            +
              @include trailer(1,32px);  
         | 
| 50 | 
            +
            }
         | 
| 51 | 
            +
             | 
| 52 | 
            +
            h3 {
         | 
| 53 | 
            +
              @include adjust-font-size-to(24px);
         | 
| 54 | 
            +
              @include trailer(1,24px);
         | 
| 55 | 
            +
            }
         | 
| 56 | 
            +
             | 
| 57 | 
            +
            h4 {
         | 
| 58 | 
            +
              @include adjust-font-size-to(18px);
         | 
| 59 | 
            +
              @include trailer(1,18px);
         | 
| 60 | 
            +
            }
         | 
| 61 | 
            +
             | 
| 62 | 
            +
            h5, h6 { 
         | 
| 63 | 
            +
              @include trailer(1);
         | 
| 64 | 
            +
              font-weight: bold;
         | 
| 65 | 
            +
            }
         | 
| 66 | 
            +
             | 
| 67 | 
            +
            /* Text --------------------------------------------------------------*/
         | 
| 68 | 
            +
             | 
| 69 | 
            +
            cite, em, dfn { 
         | 
| 70 | 
            +
              font-style: italic;
         | 
| 71 | 
            +
            }
         | 
| 72 | 
            +
             | 
| 73 | 
            +
            strong, dfn { 
         | 
| 74 | 
            +
              font-weight: bold;
         | 
| 75 | 
            +
            }
         | 
| 76 | 
            +
             | 
| 77 | 
            +
            sup, sub { 
         | 
| 78 | 
            +
              line-height: 0;
         | 
| 79 | 
            +
            }
         | 
| 80 | 
            +
             | 
| 81 | 
            +
            abbr, acronym { 
         | 
| 82 | 
            +
              border-bottom: 1px dotted;
         | 
| 83 | 
            +
              cursor: help;
         | 
| 84 | 
            +
            }
         | 
| 85 | 
            +
             | 
| 86 | 
            +
            address {
         | 
| 87 | 
            +
              @include trailer;
         | 
| 88 | 
            +
              font-style: italic;
         | 
| 89 | 
            +
            }
         | 
| 90 | 
            +
             | 
| 91 | 
            +
            ins { 
         | 
| 92 | 
            +
              text-decoration: underline;
         | 
| 93 | 
            +
            }
         | 
| 94 | 
            +
             | 
| 95 | 
            +
            del { 
         | 
| 96 | 
            +
              text-decoration: line-through;
         | 
| 97 | 
            +
            }
         | 
| 98 | 
            +
             | 
| 99 | 
            +
            pre, code, tt {
         | 
| 100 | 
            +
              margin: $base-rhythm-unit {
         | 
| 101 | 
            +
                left: -$base-rhythm-unit;
         | 
| 102 | 
            +
              };
         | 
| 103 | 
            +
              padding-left: $base-rhythm-unit;
         | 
| 104 | 
            +
              border-left: 1px dotted;
         | 
| 105 | 
            +
              @include monospace-family;
         | 
| 106 | 
            +
            }
         | 
| 107 | 
            +
             | 
| 108 | 
            +
            pre { 
         | 
| 109 | 
            +
              white-space: pre;
         | 
| 110 | 
            +
            }
         | 
| 111 | 
            +
             | 
| 112 | 
            +
            code { 
         | 
| 113 | 
            +
              display: block;
         | 
| 114 | 
            +
            }
         | 
| 115 | 
            +
             | 
| 116 | 
            +
            q {
         | 
| 117 | 
            +
              font-style: italic;
         | 
| 118 | 
            +
              em {
         | 
| 119 | 
            +
                font-style: normal;
         | 
| 120 | 
            +
              } 
         | 
| 121 | 
            +
            }
         | 
| 122 | 
            +
             | 
| 123 | 
            +
            p {
         | 
| 124 | 
            +
              @include trailer;
         | 
| 125 | 
            +
            }
         | 
| 126 | 
            +
             | 
| 127 | 
            +
            blockquote, q {
         | 
| 128 | 
            +
              quotes : "" "";
         | 
| 129 | 
            +
            }
         | 
| 130 | 
            +
             | 
| 131 | 
            +
            blockquote { 
         | 
| 132 | 
            +
              margin: $base-rhythm-unit {
         | 
| 133 | 
            +
                left: -$base-rhythm-unit;
         | 
| 134 | 
            +
              };
         | 
| 135 | 
            +
              padding-left: $base-rhythm-unit;
         | 
| 136 | 
            +
              border-left: 1px solid;
         | 
| 137 | 
            +
              @include serif-family;
         | 
| 138 | 
            +
              font-style: italic;
         | 
| 139 | 
            +
            }
         | 
| 140 | 
            +
             | 
| 141 | 
            +
            blockquote, q {
         | 
| 142 | 
            +
              &:before, &:after { 
         | 
| 143 | 
            +
                content: "";
         | 
| 144 | 
            +
              }
         | 
| 145 | 
            +
            }
         | 
| 146 | 
            +
             | 
| 147 | 
            +
            /* Replaced --------------------------------------------------------------*/
         | 
| 148 | 
            +
             | 
| 149 | 
            +
            img {
         | 
| 150 | 
            +
              vertical-align: bottom;
         | 
| 151 | 
            +
            }
         | 
| 152 | 
            +
             | 
| 153 | 
            +
            /* Lists --------------------------------------------------------------*/
         | 
| 154 | 
            +
             | 
| 155 | 
            +
            @mixin list-default($ol: false) {
         | 
| 156 | 
            +
              margin: 0 $base-rhythm-unit $base-rhythm-unit 0;
         | 
| 157 | 
            +
              @if $ol {
         | 
| 158 | 
            +
                list-style: decimal;
         | 
| 159 | 
            +
              } @else {
         | 
| 160 | 
            +
                list-style: disc;
         | 
| 161 | 
            +
              } 
         | 
| 162 | 
            +
            }
         | 
| 163 | 
            +
             | 
| 164 | 
            +
            @mixin no-style-list {
         | 
| 165 | 
            +
              @include no-bullets;
         | 
| 166 | 
            +
              margin: 0;
         | 
| 167 | 
            +
              padding: 0;
         | 
| 168 | 
            +
            }
         | 
| 169 | 
            +
             | 
| 170 | 
            +
            ol {
         | 
| 171 | 
            +
              @include list-default(ol);
         | 
| 172 | 
            +
            }
         | 
| 173 | 
            +
             | 
| 174 | 
            +
            ul {
         | 
| 175 | 
            +
              @include list-default;
         | 
| 176 | 
            +
            }
         | 
| 177 | 
            +
             | 
| 178 | 
            +
            li {
         | 
| 179 | 
            +
              ul, ol { 
         | 
| 180 | 
            +
                list-style-type: circle;
         | 
| 181 | 
            +
                margin: 0 $base-rhythm-unit $base-rhythm-unit*.5;
         | 
| 182 | 
            +
              }
         | 
| 183 | 
            +
            }
         | 
| 184 | 
            +
             | 
| 185 | 
            +
            dl {
         | 
| 186 | 
            +
              @include trailer;
         | 
| 187 | 
            +
              @include leading-border(1px);
         | 
| 188 | 
            +
              dt {
         | 
| 189 | 
            +
                @include adjust-font-size-to(18px);
         | 
| 190 | 
            +
                @include trailer(.5,18px);
         | 
| 191 | 
            +
              }
         | 
| 192 | 
            +
            }
         | 
| 193 | 
            +
             | 
| 194 | 
            +
            dd {
         | 
| 195 | 
            +
              @include trailer;
         | 
| 196 | 
            +
              @include trailing-border(1px);
         | 
| 197 | 
            +
            }
         | 
| 198 | 
            +
             | 
| 199 | 
            +
            /* Tables --------------------------------------------------------------*/
         | 
| 200 | 
            +
            /* tables still need 'cellspacing="0"' in the markup */
         | 
| 201 | 
            +
             | 
| 202 | 
            +
            table {
         | 
| 203 | 
            +
              @include trailer;
         | 
| 204 | 
            +
              width: 100%;
         | 
| 205 | 
            +
              border-collapse: separate;
         | 
| 206 | 
            +
              border-spacing: 0;
         | 
| 207 | 
            +
            }
         | 
| 208 | 
            +
             | 
| 209 | 
            +
            table, td, th { 
         | 
| 210 | 
            +
              vertical-align: top;
         | 
| 211 | 
            +
            }
         | 
| 212 | 
            +
             | 
| 213 | 
            +
            th, thead th {
         | 
| 214 | 
            +
              font-weight: bold;
         | 
| 215 | 
            +
            }
         | 
| 216 | 
            +
             | 
| 217 | 
            +
            th, td, caption {
         | 
| 218 | 
            +
              padding: $base-rhythm-unit*.5;
         | 
| 219 | 
            +
              text-align: left;
         | 
| 220 | 
            +
              font-weight: normal;
         | 
| 221 | 
            +
            }
         | 
| 222 | 
            +
             | 
| 223 | 
            +
            th, td {
         | 
| 224 | 
            +
              @include trailing-border(1px,.5);
         | 
| 225 | 
            +
            }
         | 
| 226 | 
            +
             | 
| 227 | 
            +
            tfoot { 
         | 
| 228 | 
            +
              @include adjust-font-size-to(14px);
         | 
| 229 | 
            +
            }
         | 
| 230 | 
            +
             | 
| 231 | 
            +
            caption {
         | 
| 232 | 
            +
              @include adjust-font-size-to(24px);
         | 
| 233 | 
            +
              @include trailer(1,24px);
         | 
| 234 | 
            +
            }
         | 
| 235 | 
            +
             | 
| 236 | 
            +
            /* Forms --------------------------------------------------------------*/
         | 
| 237 | 
            +
             | 
| 238 | 
            +
            fieldset {
         | 
| 239 | 
            +
              @include trailer;
         | 
| 240 | 
            +
              @include rhythm-borders(1px);
         | 
| 241 | 
            +
            }
         | 
| 242 | 
            +
             | 
| 243 | 
            +
            legend {
         | 
| 244 | 
            +
              @include adjust-font-size-to(18px);
         | 
| 245 | 
            +
              font-weight: bold;
         | 
| 246 | 
            +
            }
         | 
| 247 | 
            +
             | 
| 248 | 
            +
            label {
         | 
| 249 | 
            +
              font-weight: bold;
         | 
| 250 | 
            +
            }
         | 
| 251 | 
            +
             | 
| 252 | 
            +
            textarea, input:not([type="radio"]) {
         | 
| 253 | 
            +
              // box-sizing will help us control the width of inputs
         | 
| 254 | 
            +
              // which are otherwise very hard to manage in the grid.
         | 
| 255 | 
            +
              @include box-sizing(border-box);
         | 
| 256 | 
            +
              width: 100%;
         | 
| 257 | 
            +
            }
         | 
| @@ -0,0 +1,10 @@ | |
| 1 | 
            +
            /* Welcome to Susy. Use this file to write IE specific override styles.
         | 
| 2 | 
            +
             * Import this file using the following HTML or equivalent:
         | 
| 3 | 
            +
             * <!--[if IE]>
         | 
| 4 | 
            +
             *   <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
         | 
| 5 | 
            +
             * <![endif]--> */
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            // Imports --------------------------------------------------------------*/
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            @import "base";
         | 
| 10 | 
            +
             | 
| @@ -0,0 +1,33 @@ | |
| 1 | 
            +
            /* Welcome to Susy. Use this file to define print styles.
         | 
| 2 | 
            +
             * Import this file using the following HTML or equivalent:
         | 
| 3 | 
            +
             * <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" /> */
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            // Imports --------------------------------------------------------------*/
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            @import "defaults";
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            /* Print Defaults --------------------------------------------------------------*/
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            @mixin print {
         | 
| 12 | 
            +
              nav {
         | 
| 13 | 
            +
                // no need to navigate on paper
         | 
| 14 | 
            +
                display: none; 
         | 
| 15 | 
            +
              }
         | 
| 16 | 
            +
              * {
         | 
| 17 | 
            +
                // floated elements disappear when they overflow the page
         | 
| 18 | 
            +
                float: none !important; 
         | 
| 19 | 
            +
                background: none;
         | 
| 20 | 
            +
              }
         | 
| 21 | 
            +
              body {
         | 
| 22 | 
            +
                @include serif-family;
         | 
| 23 | 
            +
                font-size: 12pt;
         | 
| 24 | 
            +
                background: white;
         | 
| 25 | 
            +
                color: black; 
         | 
| 26 | 
            +
              }
         | 
| 27 | 
            +
              a:link:after, a:visited:after {
         | 
| 28 | 
            +
                // print target URLs next to their links
         | 
| 29 | 
            +
                content: " (" attr(href) ") "; 
         | 
| 30 | 
            +
              } 
         | 
| 31 | 
            +
            }
         | 
| 32 | 
            +
             | 
| 33 | 
            +
            @include print;
         | 
| @@ -69,7 +69,7 @@ header#site-header { | |
| 69 69 | 
             
            section#main {
         | 
| 70 70 | 
             
              @include full;
         | 
| 71 71 | 
             
              header#page_title
         | 
| 72 | 
            -
             | 
| 72 | 
            +
              {
         | 
| 73 73 | 
             
                h1, h2 {
         | 
| 74 74 | 
             
                  @include adjust-font-size-to(48px);
         | 
| 75 75 | 
             
                  color: #aaa;
         | 
| @@ -213,11 +213,11 @@ section.subsection { | |
| 213 213 | 
             
                @include trailer(2,32px);
         | 
| 214 214 | 
             
                @include columns(8,8);
         | 
| 215 215 | 
             
                -moz-column-count: 2;
         | 
| 216 | 
            -
             | 
| 217 | 
            -
             | 
| 218 | 
            -
             | 
| 219 | 
            -
             | 
| 220 | 
            -
             | 
| 216 | 
            +
                -moz-column-gap: 32px;
         | 
| 217 | 
            +
                -webkit-column-count: 2;
         | 
| 218 | 
            +
                -webkit-column-gap: 32px;
         | 
| 219 | 
            +
                column-count: 2;
         | 
| 220 | 
            +
                column-gap: 32px;
         | 
| 221 221 | 
             
                dl {
         | 
| 222 222 | 
             
                  dt {
         | 
| 223 223 |  | 
| @@ -230,57 +230,9 @@ section.subsection { | |
| 230 230 |  | 
| 231 231 | 
             
            }
         | 
| 232 232 |  | 
| 233 | 
            -
            #portfolio {
         | 
| 234 | 
            -
              dl {
         | 
| 235 | 
            -
                @include no-style-list;
         | 
| 236 | 
            -
                border: 0px !important;
         | 
| 237 | 
            -
                dt {
         | 
| 238 | 
            -
                  @include adjust-font-size-to(24px);
         | 
| 239 | 
            -
                  @include slab-family;
         | 
| 240 | 
            -
                  @include columns(1,6);
         | 
| 241 | 
            -
                  border: 0px !important;
         | 
| 242 | 
            -
                }
         | 
| 243 | 
            -
                dd {
         | 
| 244 | 
            -
                  @include columns(4,6);
         | 
| 245 | 
            -
                  border: 0px !important;
         | 
| 246 | 
            -
                  .awards {
         | 
| 247 | 
            -
                    @include adjust-font-size-to(12px);
         | 
| 248 | 
            -
                  }
         | 
| 249 | 
            -
                }
         | 
| 250 | 
            -
              }
         | 
| 251 | 
            -
            }
         | 
| 252 | 
            -
             | 
| 253 | 
            -
            #twitter {
         | 
| 254 | 
            -
              #tweets { 
         | 
| 255 | 
            -
                background-color: #eee;
         | 
| 256 | 
            -
                @include padding-leader(1,32px);
         | 
| 257 | 
            -
                @include padding-trailer(1,32px);
         | 
| 258 | 
            -
                @include trailer(2,32px);
         | 
| 259 | 
            -
                @include pad(1,1);
         | 
| 260 | 
            -
                .tweet {
         | 
| 261 | 
            -
                   display: block;
         | 
| 262 | 
            -
                   background-color: #fff;
         | 
| 263 | 
            -
                   @include box-shadow(0px, 0px, 16px, #aaaaaa);
         | 
| 264 | 
            -
                   @include padding-leader(1,32px);
         | 
| 265 | 
            -
                   @include padding-trailer(1,32px);
         | 
| 266 | 
            -
                   @include pad(1,1);
         | 
| 267 | 
            -
                   a.status_link {
         | 
| 268 | 
            -
                     display: block;
         | 
| 269 | 
            -
                     position: relative;
         | 
| 270 | 
            -
                     z-index: 2;
         | 
| 271 | 
            -
                     left: -32px;
         | 
| 272 | 
            -
                   }
         | 
| 273 | 
            -
                 }
         | 
| 274 | 
            -
              }
         | 
| 275 | 
            -
              #overlay {  
         | 
| 276 | 
            -
                img {
         | 
| 277 | 
            -
                  @include trailer(1,32px);
         | 
| 278 | 
            -
                }
         | 
| 279 | 
            -
              }
         | 
| 280 233 |  | 
| 281 | 
            -
            }
         | 
| 282 234 |  | 
| 283 | 
            -
             | 
| 235 | 
            +
            .page {
         | 
| 284 236 | 
             
              iframe {
         | 
| 285 237 | 
             
                width: 580px;
         | 
| 286 238 | 
             
                height: 580px;
         | 
| @@ -289,4 +241,8 @@ section.subsection { | |
| 289 241 | 
             
                overflow: hidden;
         | 
| 290 242 | 
             
                scroll: none;
         | 
| 291 243 | 
             
              }
         | 
| 244 | 
            +
            }
         | 
| 245 | 
            +
             | 
| 246 | 
            +
            #testing {
         | 
| 247 | 
            +
              background-color: red;
         | 
| 292 248 | 
             
            }
         | 
| @@ -0,0 +1,28 @@ | |
| 1 | 
            +
            #twitter {
         | 
| 2 | 
            +
              #tweets { 
         | 
| 3 | 
            +
                background-color: #eee;
         | 
| 4 | 
            +
                @include padding-leader(1,32px);
         | 
| 5 | 
            +
                @include padding-trailer(1,32px);
         | 
| 6 | 
            +
                @include trailer(2,32px);
         | 
| 7 | 
            +
                @include pad(1,1);
         | 
| 8 | 
            +
                .tweet {
         | 
| 9 | 
            +
                  display: block;
         | 
| 10 | 
            +
                  background-color: #fff;
         | 
| 11 | 
            +
                  @include box-shadow(0px, 0px, 16px, #aaaaaa);
         | 
| 12 | 
            +
                  @include padding-leader(1,32px);
         | 
| 13 | 
            +
                  @include padding-trailer(1,32px);
         | 
| 14 | 
            +
                  @include pad(1,1);
         | 
| 15 | 
            +
                  a.status_link {
         | 
| 16 | 
            +
                    display: block;
         | 
| 17 | 
            +
                    position: relative;
         | 
| 18 | 
            +
                    z-index: 2;
         | 
| 19 | 
            +
                    left: -32px;
         | 
| 20 | 
            +
                  }
         | 
| 21 | 
            +
                }
         | 
| 22 | 
            +
              }
         | 
| 23 | 
            +
              #overlay {  
         | 
| 24 | 
            +
                img {
         | 
| 25 | 
            +
                  @include trailer(1,32px);
         | 
| 26 | 
            +
                }
         | 
| 27 | 
            +
              }
         | 
| 28 | 
            +
            }
         | 
    
        metadata
    CHANGED
    
    | @@ -1,13 +1,13 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification 
         | 
| 2 2 | 
             
            name: caboodle
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version 
         | 
| 4 | 
            -
              hash:  | 
| 4 | 
            +
              hash: 19
         | 
| 5 5 | 
             
              prerelease: false
         | 
| 6 6 | 
             
              segments: 
         | 
| 7 7 | 
             
              - 0
         | 
| 8 8 | 
             
              - 2
         | 
| 9 | 
            -
              -  | 
| 10 | 
            -
              version: 0.2. | 
| 9 | 
            +
              - 2
         | 
| 10 | 
            +
              version: 0.2.2
         | 
| 11 11 | 
             
            platform: ruby
         | 
| 12 12 | 
             
            authors: 
         | 
| 13 13 | 
             
            - steflewandowski
         | 
| @@ -15,7 +15,7 @@ autorequire: | |
| 15 15 | 
             
            bindir: bin
         | 
| 16 16 | 
             
            cert_chain: []
         | 
| 17 17 |  | 
| 18 | 
            -
            date: 2010-08- | 
| 18 | 
            +
            date: 2010-08-23 00:00:00 +01:00
         | 
| 19 19 | 
             
            default_executable: caboodle
         | 
| 20 20 | 
             
            dependencies: 
         | 
| 21 21 | 
             
            - !ruby/object:Gem::Dependency 
         | 
| @@ -262,55 +262,66 @@ files: | |
| 262 262 | 
             
            - lib/caboodle/app/public/images/favicon.ico
         | 
| 263 263 | 
             
            - lib/caboodle/app/public/images/grid.png
         | 
| 264 264 | 
             
            - lib/caboodle/app/public/js/application.js
         | 
| 265 | 
            -
            - lib/caboodle/app/public/stylesheets/ie.css
         | 
| 266 | 
            -
            - lib/caboodle/app/public/stylesheets/print.css
         | 
| 267 | 
            -
            - lib/caboodle/app/public/stylesheets/screen.css
         | 
| 268 | 
            -
            - lib/caboodle/app/stylesheets/_base.scss
         | 
| 269 | 
            -
            - lib/caboodle/app/stylesheets/_defaults.scss
         | 
| 270 | 
            -
            - lib/caboodle/app/stylesheets/ie.scss
         | 
| 271 | 
            -
            - lib/caboodle/app/stylesheets/print.scss
         | 
| 272 | 
            -
            - lib/caboodle/app/stylesheets/screen.scss
         | 
| 273 265 | 
             
            - lib/caboodle/app/views/layout.haml
         | 
| 266 | 
            +
            - lib/caboodle/app/views/stylesheets/_base.scss
         | 
| 267 | 
            +
            - lib/caboodle/app/views/stylesheets/_defaults.scss
         | 
| 268 | 
            +
            - lib/caboodle/app/views/stylesheets/ie.scss
         | 
| 269 | 
            +
            - lib/caboodle/app/views/stylesheets/print.scss
         | 
| 270 | 
            +
            - lib/caboodle/app/views/stylesheets/screen.scss
         | 
| 274 271 | 
             
            - lib/caboodle/command.rb
         | 
| 275 272 | 
             
            - lib/caboodle/config.rb
         | 
| 276 273 | 
             
            - lib/caboodle/config/defaults.yml
         | 
| 277 274 | 
             
            - lib/caboodle/helpers.rb
         | 
| 278 275 | 
             
            - lib/caboodle/kit.rb
         | 
| 279 276 | 
             
            - lib/caboodle/kits/analytics/analytics.rb
         | 
| 277 | 
            +
            - lib/caboodle/kits/carbonmade/carbonmade.rb
         | 
| 278 | 
            +
            - lib/caboodle/kits/carbonmade/views/carbonmade.haml
         | 
| 280 279 | 
             
            - lib/caboodle/kits/disqus/disqus.rb
         | 
| 281 280 | 
             
            - lib/caboodle/kits/disqus/views/disqus.haml
         | 
| 282 281 | 
             
            - lib/caboodle/kits/flickr/flickr.rb
         | 
| 283 282 | 
             
            - lib/caboodle/kits/flickr/public/galleria.noconflict.min.js
         | 
| 284 283 | 
             
            - lib/caboodle/kits/flickr/views/photography.haml
         | 
| 284 | 
            +
            - lib/caboodle/kits/flickr/views/photography.scss
         | 
| 285 285 | 
             
            - lib/caboodle/kits/github/github.rb
         | 
| 286 286 | 
             
            - lib/caboodle/kits/github/views/_repo.haml
         | 
| 287 287 | 
             
            - lib/caboodle/kits/github/views/github.haml
         | 
| 288 | 
            +
            - lib/caboodle/kits/history/config/history.yml
         | 
| 289 | 
            +
            - lib/caboodle/kits/history/history.rb
         | 
| 290 | 
            +
            - lib/caboodle/kits/history/views/history.haml
         | 
| 291 | 
            +
            - lib/caboodle/kits/history/views/history.scss
         | 
| 288 292 | 
             
            - lib/caboodle/kits/identity/identity.rb
         | 
| 289 293 | 
             
            - lib/caboodle/kits/identity/views/me.haml
         | 
| 294 | 
            +
            - lib/caboodle/kits/jquery/jquery.rb
         | 
| 290 295 | 
             
            - lib/caboodle/kits/lazyload/lazyload.rb
         | 
| 291 296 | 
             
            - lib/caboodle/kits/lazyload/public/jquery.lazyload.mini.js
         | 
| 292 297 | 
             
            - lib/caboodle/kits/lazyload/public/lazyload.js
         | 
| 293 298 | 
             
            - lib/caboodle/kits/linkedin/linkedin.rb
         | 
| 294 299 | 
             
            - lib/caboodle/kits/linkedin/views/cv.haml
         | 
| 300 | 
            +
            - lib/caboodle/kits/linkedin/views/linkedin.scss
         | 
| 295 301 | 
             
            - lib/caboodle/kits/onepage/onepage.rb
         | 
| 296 302 | 
             
            - lib/caboodle/kits/onepage/views/contact.haml
         | 
| 297 303 | 
             
            - lib/caboodle/kits/page/page.rb
         | 
| 298 304 | 
             
            - lib/caboodle/kits/page/views/page.haml
         | 
| 299 | 
            -
            - lib/caboodle/kits/portfolio/config/portfolio.yml
         | 
| 300 | 
            -
            - lib/caboodle/kits/portfolio/portfolio.rb
         | 
| 301 | 
            -
            - lib/caboodle/kits/portfolio/views/portfolio.haml
         | 
| 302 305 | 
             
            - lib/caboodle/kits/posterous/posterous.rb
         | 
| 303 306 | 
             
            - lib/caboodle/kits/posterous/views/_post.haml
         | 
| 304 307 | 
             
            - lib/caboodle/kits/posterous/views/post.haml
         | 
| 308 | 
            +
            - lib/caboodle/kits/posterous/views/posterous.scss
         | 
| 305 309 | 
             
            - lib/caboodle/kits/posterous/views/posts.haml
         | 
| 306 310 | 
             
            - lib/caboodle/kits/seo/seo.rb
         | 
| 307 311 | 
             
            - lib/caboodle/kits/skimmed/skimmed.rb
         | 
| 308 312 | 
             
            - lib/caboodle/kits/soundcloud/soundcloud.rb
         | 
| 309 313 | 
             
            - lib/caboodle/kits/soundcloud/views/soundcloud.haml
         | 
| 314 | 
            +
            - lib/caboodle/kits/susy/susy.rb
         | 
| 315 | 
            +
            - lib/caboodle/kits/susy/views/susy/_base.scss
         | 
| 316 | 
            +
            - lib/caboodle/kits/susy/views/susy/_defaults.scss
         | 
| 317 | 
            +
            - lib/caboodle/kits/susy/views/susy/ie.scss
         | 
| 318 | 
            +
            - lib/caboodle/kits/susy/views/susy/print.scss
         | 
| 319 | 
            +
            - lib/caboodle/kits/susy/views/susy/screen.scss
         | 
| 310 320 | 
             
            - lib/caboodle/kits/twitter/public/images/ajax-loader.gif
         | 
| 311 321 | 
             
            - lib/caboodle/kits/twitter/public/images/link.png
         | 
| 312 322 | 
             
            - lib/caboodle/kits/twitter/twitter.rb
         | 
| 313 323 | 
             
            - lib/caboodle/kits/twitter/views/twitter.haml
         | 
| 324 | 
            +
            - lib/caboodle/kits/twitter/views/twitter.scss
         | 
| 314 325 | 
             
            - lib/caboodle/kits/typekit/public/typekit.js
         | 
| 315 326 | 
             
            - lib/caboodle/kits/typekit/typekit.rb
         | 
| 316 327 | 
             
            - lib/caboodle/scrape.rb
         | 
| @@ -1 +0,0 @@ | |
| 1 | 
            -
            /* Welcome to Susy. Use this file to write IE specific override styles. Import this file using the following HTML or equivalent: <!--[if IE]> <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" /> <![endif]--> */
         |