fortitude-sass 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a25cef408d6b8b78ea999e8c643652d98d7cd06b
4
- data.tar.gz: bf4d91dcdead0bbf173c0284767d58f23b92389f
3
+ metadata.gz: 9b9c6c49a765181aaec57ccd510606451bc4727d
4
+ data.tar.gz: 6fce8443db5ce5bc7eef2759a77da210f1788e1e
5
5
  SHA512:
6
- metadata.gz: 9cc63ec2075af352c89e330bfd7fb16d8c63fff5f16cd1c5424cb59aeb8be5660bd0e53b1107ba2db415353197a3acb1b51f69db15e82a031ae95c0b5ba60697
7
- data.tar.gz: a8492fb3252e7aac8990920e863c88f54d0fe44ebc7753363e4d61ae5896043a08df2965a1dfab04b4997f7f04ea00409336ba6bb99a0783664d0bb230b89c1c
6
+ metadata.gz: 692f88baf762f2b7720ec94f17b27093f51df0594907075b6dd08ae850649fe74193e941652770424881b2f8499f0197123c066d208013ef0ac556fe50d21e3a
7
+ data.tar.gz: 75156c110dc16273c2de3c85415e4a8726a044f0991ccf01106dc0567a3376dd47074507636e29fe154a961c94d62ec62b4a64a517646d461abc5e48deacf678
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fortitude-sass (0.4.1)
4
+ fortitude-sass (0.4.2)
5
5
  autoprefixer-rails
6
6
  sass (~> 3.3)
7
7
  thor
@@ -27,23 +27,26 @@ $fortitude-enable-badge--pill: false !default;
27
27
  @mixin fortitude-badge($extension: null) {
28
28
  /**
29
29
  * 1. Allow us to style box model properties.
30
- * 2. Make badges inherit font styles (often necessary when styling `input`s as
30
+ * 2. Line different sized badges up a little nicer.
31
+ * 3. Make badges inherit font styles (often necessary when styling `input`s as
31
32
  * badges).
32
- * 3. Reset/normalize some styles.
33
- * 4. Fixes odd inner spacing in IE7.
34
- * 5. Subtract the border size from the padding value so that badges do not
33
+ * 4. Reset/normalize some styles.
34
+ * 5. Fixes odd inner spacing in IE7.
35
+ * 6. Subtract the border size from the padding value so that badges do not
35
36
  * grow larger as we add borders.
36
- * 6. Set badge text to nowrap.
37
+ * 7. Set badge text to nowrap.
37
38
  */
38
39
  border: $fortitude-badge-border-width $fortitude-badge-border-style transparent;
39
40
  display: inline-block; /* [1] */
40
- font: inherit; /* [2] */
41
- background-color: transparent; /* [3] */
42
- text-align: center; /* [3] */
41
+ vertical-align: middle; /* [2] */
42
+ vertical-align: middle; /* [2] */
43
+ font: inherit; /* [3] */
44
+ background-color: transparent; /* [4] */
45
+ text-align: center; /* [4] */
43
46
  font-size: $fortitude-badge-font-size;
44
47
  height: $fortitude-badge-height;
45
- overflow: visible; /* [4] */
46
- white-space: nowrap; /* [6] */
48
+ overflow: visible; /* [5] */
49
+ white-space: nowrap; /* [7] */
47
50
  line-height: $fortitude-base-line-height;
48
51
 
49
52
  @if ($extension == small) {
@@ -51,8 +54,8 @@ $fortitude-enable-badge--pill: false !default;
51
54
  } @else if ($extension == large) {
52
55
  @include fortitude-badge--large;
53
56
  } @else {
54
- margin: fortitude-block-margin($fortitude-badge-height, $fortitude-badge-border-width) 0; /* [3] */
55
- padding: fortitude-block-padding($fortitude-badge-height, $fortitude-badge-border-width) quarter($fortitude-base-spacing-unit); /* [5] */
57
+ margin: fortitude-block-margin($fortitude-badge-height, $fortitude-badge-border-width) 0; /* [4] */
58
+ padding: fortitude-block-padding($fortitude-badge-height, $fortitude-badge-border-width) quarter($fortitude-base-spacing-unit); /* [6] */
56
59
  }
57
60
 
58
61
  @if ($extension == pill) {
@@ -63,13 +66,13 @@ $fortitude-enable-badge--pill: false !default;
63
66
  }
64
67
 
65
68
  @mixin fortitude-badge--small {
66
- margin: fortitude-block-margin($fortitude-badge-height--small, $fortitude-badge-border-width) 0; /* [3] */
67
- padding: fortitude-block-padding($fortitude-badge-height--small, $fortitude-badge-border-width) quarter($fortitude-base-spacing-unit); /* [5] */
69
+ margin: fortitude-block-margin($fortitude-badge-height--small, $fortitude-badge-border-width) 0; /* [4] */
70
+ padding: fortitude-block-padding($fortitude-badge-height--small, $fortitude-badge-border-width) quarter($fortitude-base-spacing-unit); /* [6] */
68
71
  }
69
72
 
70
73
  @mixin fortitude-badge--large {
71
- margin: fortitude-block-margin($fortitude-badge-height--large, $fortitude-badge-border-width) 0; /* [3] */
72
- padding: fortitude-block-padding($fortitude-badge-height--large, $fortitude-badge-border-width) quarter($fortitude-base-spacing-unit); /* [5] */
74
+ margin: fortitude-block-margin($fortitude-badge-height--large, $fortitude-badge-border-width) 0; /* [4] */
75
+ padding: fortitude-block-padding($fortitude-badge-height--large, $fortitude-badge-border-width) quarter($fortitude-base-spacing-unit); /* [6] */
73
76
  @if ($fortitude-block-height > $fortitude-block-line-height) {
74
77
  line-height: ceil($fortitude-block-height / $fortitude-block-line-height) * $fortitude-block-line-height;
75
78
  }
data/bower.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "fortitude-sass",
3
3
  "homepage": "http://fortitude.io/",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "main": [
6
6
  "app/assets/stylesheets/fortitude/tools/_functions.scss",
7
7
  "app/assets/stylesheets/fortitude/tools/_mixins.scss",
@@ -1,3 +1,3 @@
1
1
  module Fortitude
2
- VERSION = '0.4.1'
2
+ VERSION = '0.4.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fortitude-sass
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Reisman