compass-bootstrap 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Compass
2
2
  module Bootstrap
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -260,7 +260,23 @@ $analog2: spin($baseColor, -22);
260
260
  @include gradientBar(#5bc0de, #339bb9);
261
261
  }
262
262
  }
263
-
263
+ @mixin button($color: #ffffff, $textColor: #333, $textShadow: 0 1px 1px rgba(255,255,255,.75), $fontSize: 13px, $padding: 5px 14px 6px, $rounded: 4px) {
264
+ display: inline-block;
265
+ @include gradientBar($color,darken($color, 10%));
266
+ padding: $padding;
267
+ text-shadow: $textShadow;
268
+ color: $textColor;
269
+ font-size: $fontSize;
270
+ line-height: normal;
271
+ @include border-radius(6px);
272
+ $shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
273
+ @include bt-box-shadow($shadow);
274
+ &:hover {
275
+ background-position: 0 -15px;
276
+ color: $textColor;
277
+ text-decoration: none;
278
+ }
279
+ }
264
280
 
265
281
  // Reset filters for IE
266
282
  @mixin reset-filter() {
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: compass-bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Hector Bustillos