compass_twitter_bootstrap 0.1.1
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/.gitignore +18 -0
- data/Gemfile +6 -0
- data/Rakefile +2 -0
- data/compass_twitter_bootstrap.gemspec +19 -0
- data/lib/compass_twitter_bootstrap.rb +7 -0
- data/lib/compass_twitter_bootstrap/version.rb +3 -0
- data/stylesheets/_compass_twitter_bootstrap.scss +24 -0
- data/stylesheets/compass_twitter_bootstrap/_forms.scss +369 -0
- data/stylesheets/compass_twitter_bootstrap/_patterns.scss +751 -0
- data/stylesheets/compass_twitter_bootstrap/_preboot.scss +230 -0
- data/stylesheets/compass_twitter_bootstrap/_reset.scss +146 -0
- data/stylesheets/compass_twitter_bootstrap/_scaffolding.scss +211 -0
- data/stylesheets/compass_twitter_bootstrap/_tables.scss +148 -0
- data/stylesheets/compass_twitter_bootstrap/_type.scss +187 -0
- metadata +76 -0
| @@ -0,0 +1,148 @@ | |
| 1 | 
            +
            /*
         | 
| 2 | 
            +
             * Tables.less
         | 
| 3 | 
            +
             * Tables for, you guessed it, tabular data
         | 
| 4 | 
            +
             * ---------------------------------------- */
         | 
| 5 | 
            +
             | 
| 6 | 
            +
             | 
| 7 | 
            +
            // BASELINE STYLES
         | 
| 8 | 
            +
            // ---------------
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            table {
         | 
| 11 | 
            +
              width: 100%;
         | 
| 12 | 
            +
              margin-bottom: $baseline;
         | 
| 13 | 
            +
              padding: 0;
         | 
| 14 | 
            +
              border-collapse: separate;
         | 
| 15 | 
            +
              font-size: 13px;
         | 
| 16 | 
            +
              th, td {
         | 
| 17 | 
            +
                padding: 10px 10px 9px;
         | 
| 18 | 
            +
                line-height: $baseline * .75;
         | 
| 19 | 
            +
                text-align: left;
         | 
| 20 | 
            +
                vertical-align: middle;
         | 
| 21 | 
            +
                border-bottom: 1px solid #ddd;
         | 
| 22 | 
            +
              }
         | 
| 23 | 
            +
              th {
         | 
| 24 | 
            +
                padding-top: 9px;
         | 
| 25 | 
            +
                font-weight: bold;
         | 
| 26 | 
            +
                border-bottom-width: 2px;
         | 
| 27 | 
            +
              }
         | 
| 28 | 
            +
            }
         | 
| 29 | 
            +
             | 
| 30 | 
            +
             | 
| 31 | 
            +
            // ZEBRA-STRIPING
         | 
| 32 | 
            +
            // --------------
         | 
| 33 | 
            +
             | 
| 34 | 
            +
            // Default zebra-stripe styles (alternating gray and transparent backgrounds)
         | 
| 35 | 
            +
            .zebra-striped {
         | 
| 36 | 
            +
              tbody {
         | 
| 37 | 
            +
                tr:nth-child(odd) td {
         | 
| 38 | 
            +
                  background-color: #f9f9f9;
         | 
| 39 | 
            +
                }
         | 
| 40 | 
            +
                tr:hover td {
         | 
| 41 | 
            +
                  background-color: #f5f5f5;
         | 
| 42 | 
            +
                }
         | 
| 43 | 
            +
              }
         | 
| 44 | 
            +
             | 
| 45 | 
            +
              // Tablesorting styles w/ jQuery plugin
         | 
| 46 | 
            +
              .header {
         | 
| 47 | 
            +
                cursor: pointer;
         | 
| 48 | 
            +
                &:after {
         | 
| 49 | 
            +
                  content: "";
         | 
| 50 | 
            +
                  float: right;
         | 
| 51 | 
            +
                  margin-top: 7px;
         | 
| 52 | 
            +
                  border-width: 0 4px 4px;
         | 
| 53 | 
            +
                  border-style: solid;
         | 
| 54 | 
            +
                  border-color: #000 transparent;
         | 
| 55 | 
            +
                  visibility: hidden;
         | 
| 56 | 
            +
                }
         | 
| 57 | 
            +
              }
         | 
| 58 | 
            +
              // Style the sorted column headers (THs)
         | 
| 59 | 
            +
              .headerSortUp,
         | 
| 60 | 
            +
              .headerSortDown {
         | 
| 61 | 
            +
                background-color: rgba(141,192,219,.25);
         | 
| 62 | 
            +
                text-shadow: 0 1px 1px rgba(255,255,255,.75);
         | 
| 63 | 
            +
                @include border-radius(3px 3px 0 0);
         | 
| 64 | 
            +
              }
         | 
| 65 | 
            +
              // Style the ascending (reverse alphabetical) column header
         | 
| 66 | 
            +
              .header:hover {
         | 
| 67 | 
            +
                &:after {
         | 
| 68 | 
            +
                  visibility:visible;
         | 
| 69 | 
            +
                }
         | 
| 70 | 
            +
              }
         | 
| 71 | 
            +
              // Style the descending (alphabetical) column header
         | 
| 72 | 
            +
              .headerSortDown,
         | 
| 73 | 
            +
              .headerSortDown:hover {
         | 
| 74 | 
            +
                &:after {
         | 
| 75 | 
            +
                  visibility:visible;
         | 
| 76 | 
            +
                  @include opacity(60);
         | 
| 77 | 
            +
                }
         | 
| 78 | 
            +
              }
         | 
| 79 | 
            +
              // Style the ascending (reverse alphabetical) column header
         | 
| 80 | 
            +
              .headerSortUp {
         | 
| 81 | 
            +
                &:after {
         | 
| 82 | 
            +
                  border-bottom: none;
         | 
| 83 | 
            +
                  border-left: 4px solid transparent;
         | 
| 84 | 
            +
                  border-right: 4px solid transparent;
         | 
| 85 | 
            +
                  border-top: 4px solid #000;
         | 
| 86 | 
            +
                  visibility:visible;
         | 
| 87 | 
            +
                  @include box-shadow(none); //can't add boxshadow to downward facing arrow :(
         | 
| 88 | 
            +
                  @include opacity(60);
         | 
| 89 | 
            +
                }
         | 
| 90 | 
            +
              }
         | 
| 91 | 
            +
            }
         | 
| 92 | 
            +
             | 
| 93 | 
            +
            table {
         | 
| 94 | 
            +
              // Blue Table Headings
         | 
| 95 | 
            +
              .blue {
         | 
| 96 | 
            +
                color: $blue;
         | 
| 97 | 
            +
                border-bottom-color: $blue;
         | 
| 98 | 
            +
              }
         | 
| 99 | 
            +
              .headerSortUp.blue,
         | 
| 100 | 
            +
              .headerSortDown.blue {
         | 
| 101 | 
            +
                background-color: lighten($blue, 40%);
         | 
| 102 | 
            +
              }
         | 
| 103 | 
            +
              // Green Table Headings
         | 
| 104 | 
            +
              .green {
         | 
| 105 | 
            +
                color: $green;
         | 
| 106 | 
            +
                border-bottom-color: $green;
         | 
| 107 | 
            +
              }
         | 
| 108 | 
            +
              .headerSortUp.green,
         | 
| 109 | 
            +
              .headerSortDown.green {
         | 
| 110 | 
            +
                background-color: lighten($green, 40%);
         | 
| 111 | 
            +
              }
         | 
| 112 | 
            +
              // Red Table Headings
         | 
| 113 | 
            +
              .red {
         | 
| 114 | 
            +
                color: $red;
         | 
| 115 | 
            +
                border-bottom-color: $red;
         | 
| 116 | 
            +
              }
         | 
| 117 | 
            +
              .headerSortUp.red,
         | 
| 118 | 
            +
              .headerSortDown.red {
         | 
| 119 | 
            +
                background-color: lighten($red, 50%);
         | 
| 120 | 
            +
              }
         | 
| 121 | 
            +
              // Yellow Table Headings
         | 
| 122 | 
            +
              .yellow {
         | 
| 123 | 
            +
                color: $yellow;
         | 
| 124 | 
            +
                border-bottom-color: $yellow;
         | 
| 125 | 
            +
              }
         | 
| 126 | 
            +
              .headerSortUp.yellow,
         | 
| 127 | 
            +
              .headerSortDown.yellow {
         | 
| 128 | 
            +
                background-color: lighten($yellow, 40%);
         | 
| 129 | 
            +
              }
         | 
| 130 | 
            +
              // Orange Table Headings
         | 
| 131 | 
            +
              .orange {
         | 
| 132 | 
            +
                color: $orange;
         | 
| 133 | 
            +
                border-bottom-color: $orange;
         | 
| 134 | 
            +
              }
         | 
| 135 | 
            +
              .headerSortUp.orange,
         | 
| 136 | 
            +
              .headerSortDown.orange {
         | 
| 137 | 
            +
                background-color: lighten($orange, 40%);
         | 
| 138 | 
            +
              }
         | 
| 139 | 
            +
              // Purple Table Headings
         | 
| 140 | 
            +
              .purple {
         | 
| 141 | 
            +
                color: $purple;
         | 
| 142 | 
            +
                border-bottom-color: $purple;
         | 
| 143 | 
            +
              }
         | 
| 144 | 
            +
              .headerSortUp.purple,
         | 
| 145 | 
            +
              .headerSortDown.purple {
         | 
| 146 | 
            +
                background-color: lighten($purple, 40%);
         | 
| 147 | 
            +
              }
         | 
| 148 | 
            +
            }
         | 
| @@ -0,0 +1,187 @@ | |
| 1 | 
            +
            /* Typography.less
         | 
| 2 | 
            +
             * Headings, body text, lists, code, and more for a versatile and durable typography system
         | 
| 3 | 
            +
             * ---------------------------------------------------------------------------------------- */
         | 
| 4 | 
            +
             | 
| 5 | 
            +
             | 
| 6 | 
            +
            // BODY TEXT
         | 
| 7 | 
            +
            // ---------
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            p {
         | 
| 10 | 
            +
              @include shorthand(normal,$basefont,$baseline);
         | 
| 11 | 
            +
              margin-bottom: $baseline / 2;
         | 
| 12 | 
            +
              small {
         | 
| 13 | 
            +
                font-size: $basefont - 2;
         | 
| 14 | 
            +
                color: $grayLight;
         | 
| 15 | 
            +
              }
         | 
| 16 | 
            +
            }
         | 
| 17 | 
            +
             | 
| 18 | 
            +
             | 
| 19 | 
            +
            // HEADINGS
         | 
| 20 | 
            +
            // --------
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            h1, h2, h3, h4, h5, h6 {
         | 
| 23 | 
            +
              font-weight: bold;
         | 
| 24 | 
            +
              color: $grayDark;
         | 
| 25 | 
            +
              small {
         | 
| 26 | 
            +
                color: $grayLight;
         | 
| 27 | 
            +
              }
         | 
| 28 | 
            +
            }
         | 
| 29 | 
            +
            h1 {
         | 
| 30 | 
            +
              margin-bottom: $baseline;
         | 
| 31 | 
            +
              font-size: 30px;
         | 
| 32 | 
            +
              line-height: $baseline * 2;
         | 
| 33 | 
            +
              small {
         | 
| 34 | 
            +
                font-size: 18px;
         | 
| 35 | 
            +
              }
         | 
| 36 | 
            +
            }
         | 
| 37 | 
            +
            h2 {
         | 
| 38 | 
            +
              font-size: 24px;
         | 
| 39 | 
            +
              line-height: $baseline * 2;
         | 
| 40 | 
            +
              small {
         | 
| 41 | 
            +
                font-size: 14px;
         | 
| 42 | 
            +
              }
         | 
| 43 | 
            +
            }
         | 
| 44 | 
            +
            h3, h4, h5, h6 {
         | 
| 45 | 
            +
              line-height: $baseline * 2;
         | 
| 46 | 
            +
            }
         | 
| 47 | 
            +
            h3 {
         | 
| 48 | 
            +
              font-size: 18px;
         | 
| 49 | 
            +
              small {
         | 
| 50 | 
            +
                font-size: 14px;
         | 
| 51 | 
            +
              }
         | 
| 52 | 
            +
            }
         | 
| 53 | 
            +
            h4 {
         | 
| 54 | 
            +
              font-size: 16px;
         | 
| 55 | 
            +
              small {
         | 
| 56 | 
            +
                font-size: 12px;
         | 
| 57 | 
            +
              }
         | 
| 58 | 
            +
            }
         | 
| 59 | 
            +
            h5 {
         | 
| 60 | 
            +
              font-size: 14px;
         | 
| 61 | 
            +
            }
         | 
| 62 | 
            +
            h6 {
         | 
| 63 | 
            +
              font-size: 13px;
         | 
| 64 | 
            +
              color: $grayLight;
         | 
| 65 | 
            +
              text-transform: uppercase;
         | 
| 66 | 
            +
            }
         | 
| 67 | 
            +
             | 
| 68 | 
            +
             | 
| 69 | 
            +
            // COLORS
         | 
| 70 | 
            +
            // ------
         | 
| 71 | 
            +
             | 
| 72 | 
            +
            // Unordered and Ordered lists
         | 
| 73 | 
            +
            ul, ol {
         | 
| 74 | 
            +
              margin: 0 0 $baseline 25px;
         | 
| 75 | 
            +
            }
         | 
| 76 | 
            +
            ul ul,
         | 
| 77 | 
            +
            ul ol,
         | 
| 78 | 
            +
            ol ol,
         | 
| 79 | 
            +
            ol ul {
         | 
| 80 | 
            +
              margin-bottom: 0;
         | 
| 81 | 
            +
            }
         | 
| 82 | 
            +
            ul {
         | 
| 83 | 
            +
              list-style: disc;
         | 
| 84 | 
            +
            }
         | 
| 85 | 
            +
            ol {
         | 
| 86 | 
            +
              list-style: decimal;
         | 
| 87 | 
            +
            }
         | 
| 88 | 
            +
            li {
         | 
| 89 | 
            +
              line-height: $baseline;
         | 
| 90 | 
            +
              color: $gray;
         | 
| 91 | 
            +
            }
         | 
| 92 | 
            +
            ul.unstyled {
         | 
| 93 | 
            +
              list-style: none;
         | 
| 94 | 
            +
              margin-left: 0;
         | 
| 95 | 
            +
            }
         | 
| 96 | 
            +
             | 
| 97 | 
            +
            // Description Lists
         | 
| 98 | 
            +
            dl {
         | 
| 99 | 
            +
              margin-bottom: $baseline;
         | 
| 100 | 
            +
              dt, dd {
         | 
| 101 | 
            +
                line-height: $baseline;
         | 
| 102 | 
            +
              }
         | 
| 103 | 
            +
              dt {
         | 
| 104 | 
            +
                font-weight: bold;
         | 
| 105 | 
            +
              }
         | 
| 106 | 
            +
              dd {
         | 
| 107 | 
            +
                margin-left: $baseline / 2;
         | 
| 108 | 
            +
              }
         | 
| 109 | 
            +
            }
         | 
| 110 | 
            +
             | 
| 111 | 
            +
            // MISC
         | 
| 112 | 
            +
            // ----
         | 
| 113 | 
            +
             | 
| 114 | 
            +
            // Horizontal rules
         | 
| 115 | 
            +
            hr {
         | 
| 116 | 
            +
              margin: 0 0 19px;
         | 
| 117 | 
            +
              border: 0;
         | 
| 118 | 
            +
              border-bottom: 1px solid #eee;
         | 
| 119 | 
            +
            }
         | 
| 120 | 
            +
             | 
| 121 | 
            +
            // Emphasis
         | 
| 122 | 
            +
            strong {
         | 
| 123 | 
            +
              font-style: inherit;
         | 
| 124 | 
            +
              font-weight: bold;
         | 
| 125 | 
            +
              line-height: inherit;
         | 
| 126 | 
            +
            }
         | 
| 127 | 
            +
            em {
         | 
| 128 | 
            +
              font-style: italic;
         | 
| 129 | 
            +
              font-weight: inherit;
         | 
| 130 | 
            +
              line-height: inherit;
         | 
| 131 | 
            +
            }
         | 
| 132 | 
            +
            .muted {
         | 
| 133 | 
            +
              color: $grayLight;
         | 
| 134 | 
            +
            }
         | 
| 135 | 
            +
             | 
| 136 | 
            +
            // Blockquotes
         | 
| 137 | 
            +
            blockquote {
         | 
| 138 | 
            +
              margin-bottom: $baseline;
         | 
| 139 | 
            +
              border-left: 5px solid #eee;
         | 
| 140 | 
            +
              padding-left: 15px;
         | 
| 141 | 
            +
              p {
         | 
| 142 | 
            +
                @include shorthand(300,14px,$baseline);
         | 
| 143 | 
            +
                margin-bottom: 0;
         | 
| 144 | 
            +
              }
         | 
| 145 | 
            +
              small {
         | 
| 146 | 
            +
                display: block;
         | 
| 147 | 
            +
                @include shorthand(300,12px,$baseline);
         | 
| 148 | 
            +
                color: $grayLight;
         | 
| 149 | 
            +
                &:before {
         | 
| 150 | 
            +
                  content: '\2014 \00A0';
         | 
| 151 | 
            +
                }
         | 
| 152 | 
            +
              }
         | 
| 153 | 
            +
            }
         | 
| 154 | 
            +
             | 
| 155 | 
            +
            // Addresses
         | 
| 156 | 
            +
            address {
         | 
| 157 | 
            +
              display: block;
         | 
| 158 | 
            +
              line-height: $baseline;
         | 
| 159 | 
            +
              margin-bottom: $baseline;
         | 
| 160 | 
            +
            }
         | 
| 161 | 
            +
             | 
| 162 | 
            +
            // Inline and block code styles
         | 
| 163 | 
            +
            code, pre {
         | 
| 164 | 
            +
              padding: 0 3px 2px;
         | 
| 165 | 
            +
              font-family: Monaco, Andale Mono, Courier New, monospace;
         | 
| 166 | 
            +
              font-size: 12px;
         | 
| 167 | 
            +
              @include border-radius(3px);
         | 
| 168 | 
            +
            }
         | 
| 169 | 
            +
            code {
         | 
| 170 | 
            +
              background-color: lighten($orange, 40%);
         | 
| 171 | 
            +
              color: rgba(0,0,0,.75);
         | 
| 172 | 
            +
              padding: 1px 3px;
         | 
| 173 | 
            +
            }
         | 
| 174 | 
            +
            pre {
         | 
| 175 | 
            +
              background-color: #f5f5f5;
         | 
| 176 | 
            +
              display: block;
         | 
| 177 | 
            +
              padding: $baseline - 1;
         | 
| 178 | 
            +
              margin: 0 0 $baseline;
         | 
| 179 | 
            +
              line-height: $baseline;
         | 
| 180 | 
            +
              font-size: 12px;
         | 
| 181 | 
            +
              border: 1px solid #ccc;
         | 
| 182 | 
            +
              border: 1px solid rgba(0,0,0,.15);
         | 
| 183 | 
            +
              @include border-radius(3px);
         | 
| 184 | 
            +
              white-space: pre;
         | 
| 185 | 
            +
              white-space: pre-wrap;
         | 
| 186 | 
            +
              word-wrap: break-word;
         | 
| 187 | 
            +
            }
         | 
    
        metadata
    ADDED
    
    | @@ -0,0 +1,76 @@ | |
| 1 | 
            +
            --- !ruby/object:Gem::Specification
         | 
| 2 | 
            +
            name: compass_twitter_bootstrap
         | 
| 3 | 
            +
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            +
              version: 0.1.1
         | 
| 5 | 
            +
              prerelease: 
         | 
| 6 | 
            +
            platform: ruby
         | 
| 7 | 
            +
            authors:
         | 
| 8 | 
            +
            - Vincent
         | 
| 9 | 
            +
            autorequire: 
         | 
| 10 | 
            +
            bindir: bin
         | 
| 11 | 
            +
            cert_chain: []
         | 
| 12 | 
            +
            date: 2011-08-27 00:00:00.000000000 Z
         | 
| 13 | 
            +
            dependencies:
         | 
| 14 | 
            +
            - !ruby/object:Gem::Dependency
         | 
| 15 | 
            +
              name: compass
         | 
| 16 | 
            +
              requirement: &70361522213580 !ruby/object:Gem::Requirement
         | 
| 17 | 
            +
                none: false
         | 
| 18 | 
            +
                requirements:
         | 
| 19 | 
            +
                - - ! '>='
         | 
| 20 | 
            +
                  - !ruby/object:Gem::Version
         | 
| 21 | 
            +
                    version: '0'
         | 
| 22 | 
            +
              type: :runtime
         | 
| 23 | 
            +
              prerelease: false
         | 
| 24 | 
            +
              version_requirements: *70361522213580
         | 
| 25 | 
            +
            description: Compass/SCSS version of the twitter bootstrap
         | 
| 26 | 
            +
            email:
         | 
| 27 | 
            +
            - vrwaller@gmail.com
         | 
| 28 | 
            +
            executables: []
         | 
| 29 | 
            +
            extensions: []
         | 
| 30 | 
            +
            extra_rdoc_files: []
         | 
| 31 | 
            +
            files:
         | 
| 32 | 
            +
            - .gitignore
         | 
| 33 | 
            +
            - Gemfile
         | 
| 34 | 
            +
            - Rakefile
         | 
| 35 | 
            +
            - compass_twitter_bootstrap.gemspec
         | 
| 36 | 
            +
            - lib/compass_twitter_bootstrap.rb
         | 
| 37 | 
            +
            - lib/compass_twitter_bootstrap/version.rb
         | 
| 38 | 
            +
            - stylesheets/_compass_twitter_bootstrap.scss
         | 
| 39 | 
            +
            - stylesheets/compass_twitter_bootstrap/_forms.scss
         | 
| 40 | 
            +
            - stylesheets/compass_twitter_bootstrap/_patterns.scss
         | 
| 41 | 
            +
            - stylesheets/compass_twitter_bootstrap/_preboot.scss
         | 
| 42 | 
            +
            - stylesheets/compass_twitter_bootstrap/_reset.scss
         | 
| 43 | 
            +
            - stylesheets/compass_twitter_bootstrap/_scaffolding.scss
         | 
| 44 | 
            +
            - stylesheets/compass_twitter_bootstrap/_tables.scss
         | 
| 45 | 
            +
            - stylesheets/compass_twitter_bootstrap/_type.scss
         | 
| 46 | 
            +
            homepage: ''
         | 
| 47 | 
            +
            licenses: []
         | 
| 48 | 
            +
            post_install_message: 
         | 
| 49 | 
            +
            rdoc_options: []
         | 
| 50 | 
            +
            require_paths:
         | 
| 51 | 
            +
            - lib
         | 
| 52 | 
            +
            required_ruby_version: !ruby/object:Gem::Requirement
         | 
| 53 | 
            +
              none: false
         | 
| 54 | 
            +
              requirements:
         | 
| 55 | 
            +
              - - ! '>='
         | 
| 56 | 
            +
                - !ruby/object:Gem::Version
         | 
| 57 | 
            +
                  version: '0'
         | 
| 58 | 
            +
                  segments:
         | 
| 59 | 
            +
                  - 0
         | 
| 60 | 
            +
                  hash: 3473297044439003456
         | 
| 61 | 
            +
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 62 | 
            +
              none: false
         | 
| 63 | 
            +
              requirements:
         | 
| 64 | 
            +
              - - ! '>='
         | 
| 65 | 
            +
                - !ruby/object:Gem::Version
         | 
| 66 | 
            +
                  version: '0'
         | 
| 67 | 
            +
                  segments:
         | 
| 68 | 
            +
                  - 0
         | 
| 69 | 
            +
                  hash: 3473297044439003456
         | 
| 70 | 
            +
            requirements: []
         | 
| 71 | 
            +
            rubyforge_project: 
         | 
| 72 | 
            +
            rubygems_version: 1.8.9
         | 
| 73 | 
            +
            signing_key: 
         | 
| 74 | 
            +
            specification_version: 3
         | 
| 75 | 
            +
            summary: Compass Twitter Bootstrap
         | 
| 76 | 
            +
            test_files: []
         |