compass_twitter_bootstrap 0.1.2 → 0.1.3

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/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # TWITTER BOOTSTRAP - For Compass
2
+
3
+ Compass Twitter Bootstrap is Twitter's toolkit converted for Compass.
4
+
5
+ ## Usage
6
+
7
+ **Install the gem**
8
+
9
+ gem install compass_twitter_bootstrap
10
+
11
+ **Add it to your Gemfile**
12
+
13
+ gem 'compass_twitter_bootstrap'
14
+
15
+ **Bundle install**
16
+
17
+ bundle install
18
+
19
+ **Add it to your Compass config.rb**
20
+
21
+ require 'compass_twitter_bootstrap'
22
+
23
+ **Import it into your SCSS file
24
+
25
+ @import "compass_twitter_bootstrap";
26
+
27
+
28
+ ## TWITTER BOOTSTRAP
29
+
30
+ Bootstrap is Twitter's toolkit for kickstarting CSS for websites, apps, and more. It includes base CSS styles for typography, forms, buttons, tables, grids, navigation, alerts, and more.
31
+
32
+ To get started -- checkout http://twitter.github.com/bootstrap!
33
+
34
+ ## AUTHORS
35
+
36
+ **Mark Otto**
37
+
38
+ + http://twitter.com/mdo
39
+ + http://github.com/markdotto
40
+
41
+ **Jacob Thornton**
42
+
43
+ + http://twitter.com/fat
44
+ + http://github.com/fat
45
+
46
+
47
+ ##Copyright and License
48
+
49
+ Copyright 2011 Twitter, Inc.
50
+
51
+ Licensed under the Apache License, Version 2.0 (the "License");
52
+ you may not use this work except in compliance with the License.
53
+ You may obtain a copy of the License in the LICENSE file, or at:
54
+
55
+ http://www.apache.org/licenses/LICENSE-2.0
56
+
57
+ Unless required by applicable law or agreed to in writing, software
58
+ distributed under the License is distributed on an "AS IS" BASIS,
59
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
60
+ See the License for the specific language governing permissions and
61
+ limitations under the License.
@@ -1,3 +1,3 @@
1
1
  module CompassTwitterBootstrap
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -322,7 +322,8 @@ footer {
322
322
  }
323
323
 
324
324
  // Transitions
325
- @include transition(.1s linear all);
325
+ //@include transition(.1s linear all);
326
+ @include single-transition(all, .1s, linear);
326
327
 
327
328
  // Active and Disabled states
328
329
  &.disabled {
@@ -178,6 +178,8 @@ $analog2: spin($baseColor, -22);
178
178
  background-image: linear-gradient(left, $startColor, $endColor); // Le standard
179
179
  }
180
180
  @mixin vertical ($startColor: #555, $endColor: #333) {
181
+ background-color: $endColor;
182
+ background-repeat: repeat-x;
181
183
  @include background-image(linear-gradient($startColor, $endColor));
182
184
  }
183
185
  @mixin directional ($startColor: #555, $endColor: #333, $deg: 45deg) {
@@ -190,6 +192,8 @@ $analog2: spin($baseColor, -22);
190
192
  background-image: linear-gradient($deg, $startColor, $endColor); // The standard
191
193
  }
192
194
  @mixin vertical-three-colors($startColor: #00b3ee, $midColor: #7a43b6, $colorStop: 50%, $endColor: #c3325f) {
195
+ background-color: $endColor;
196
+ background-repeat: no-repeat;
193
197
  @include background-image(linear-gradient($startColor, $midColor $colorStop, $endColor));
194
198
  }
195
199
 
@@ -140,7 +140,7 @@ a {
140
140
  $shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
141
141
  @include box-shadow($shadow);
142
142
  &:hover {
143
- @include vertical-three-colors( darken(#fff, 10%), darken(#fff, 10%), 0.25, darken(#fff, 10%));
143
+ background-position: 0 -15px;
144
144
  color: #333;
145
145
  text-decoration: none;
146
146
  }
@@ -157,8 +157,7 @@ a {
157
157
  }
158
158
 
159
159
  .btn {
160
- //.button(#1174C6);
161
- @include transition(.1s linear all);
160
+ @include single-transition(all, .1s, linear);
162
161
  &.primary {
163
162
  color: #fff;
164
163
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass_twitter_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-27 00:00:00.000000000 Z
12
+ date: 2011-08-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass
16
- requirement: &70335425168680 !ruby/object:Gem::Requirement
16
+ requirement: &70228306652360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70335425168680
24
+ version_requirements: *70228306652360
25
25
  description: Compass/SCSS version of the twitter bootstrap
26
26
  email:
27
27
  - vrwaller@gmail.com
@@ -31,6 +31,7 @@ extra_rdoc_files: []
31
31
  files:
32
32
  - .gitignore
33
33
  - Gemfile
34
+ - README.md
34
35
  - Rakefile
35
36
  - compass_twitter_bootstrap.gemspec
36
37
  - lib/compass_twitter_bootstrap.rb
@@ -57,7 +58,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
57
58
  version: '0'
58
59
  segments:
59
60
  - 0
60
- hash: -1018144414245716973
61
+ hash: -2212121783941429541
61
62
  required_rubygems_version: !ruby/object:Gem::Requirement
62
63
  none: false
63
64
  requirements:
@@ -66,10 +67,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
67
  version: '0'
67
68
  segments:
68
69
  - 0
69
- hash: -1018144414245716973
70
+ hash: -2212121783941429541
70
71
  requirements: []
71
72
  rubyforge_project:
72
- rubygems_version: 1.8.9
73
+ rubygems_version: 1.8.10
73
74
  signing_key:
74
75
  specification_version: 3
75
76
  summary: Compass Twitter Bootstrap