kentucky 0.1.1 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1e90813e0eccc0ed1d9ed50519141af3855697e
4
- data.tar.gz: 230045b4d9cadb9527347d13daad0e728d42abf7
3
+ metadata.gz: b6897c2a3748a67b3a55381f1cfadedcbe6c90bb
4
+ data.tar.gz: efaf84d43ce49c1eda4163d52e72c2a274ee030c
5
5
  SHA512:
6
- metadata.gz: 17d97df9e2c37af04735f50fce0a9481161e4c848f0574a6861ba8f2fb9f01666664de196632cb3a7b05db03c8974035ad8f779bb67a4a55cfafd31f08c6da24
7
- data.tar.gz: 91da2b507b4d05cf03d8e9f676b335123f0bb1362a2f7706fe190eb08751c01699870253c63e5c5e42e18677ee3f22308072da1395426c107fd3e44aeb19e68d
6
+ metadata.gz: a722e3a3a099ae7500ec5071eb8674eb5d94e9918f5c5867fa4deedc63488c31f9530a55dca1b497ec9844db844d61dd73d3d187cb5a1d9fb9bf5f98a2505dc7
7
+ data.tar.gz: e6248cf65595a264d1100b9acd7a129e2d36ec2c2d521149275126a47ee898c66f7b229655e40d19cf84fc1ac9d24572e8f2696207c90aca6c2aeb81a53e2850
@@ -24,7 +24,7 @@ $sprite-sheet-grid: 36px;
24
24
 
25
25
  $base-font-family: $helvetica !default;
26
26
  $base-font-size: 14px !default;
27
- $base-line-height: 24px !default;
27
+ $base-line-height: 1 !default;
28
28
  $base-font-color: #333 !default;
29
29
 
30
30
  $giga-size: 96px !default;
@@ -59,16 +59,17 @@ $link-color: #bebebe !default;
59
59
 
60
60
  // Font-Size + Line Height
61
61
  // https://twitter.com/redclov3r/status/250301539321798657
62
+ // Customized to allow unitless line-height
62
63
 
63
- @mixin font-size($font-size, $line-height:true){
64
+ @mixin font-size($font-size, $line-height:1){
64
65
  font-size: $font-size;
65
- line-height: ceil($font-size / $base-line-height) * ($base-line-height / $font-size) + em;
66
+ line-height: $line-height;
66
67
  }
67
68
 
68
69
  html{
69
70
  font-family: $base-font-family;
70
- font-size: $base-font-size;
71
71
  color: $base-font-color;
72
+ @include font-size($base-font-size);
72
73
  }
73
74
 
74
75
  %giga{
@@ -109,7 +110,6 @@ h6,
109
110
  @include font-size($h6-size);
110
111
  }
111
112
 
112
- .smallprint,
113
113
  %milli{
114
114
  @include font-size($milli-size);
115
115
  }
@@ -141,12 +141,4 @@ img::moz-selection{
141
141
  }
142
142
  body{
143
143
  -webkit-tap-highlight-color: $brand-color;
144
- }
145
-
146
- // ------------------------------------------------------------------- //
147
- // Base Project Spacing
148
- // ------------------------------------------------------------------- //
149
-
150
- $base-spacing-unit: $base-line-height !default;
151
- $half-spacing-unit: $base-spacing-unit / 2 !default;
152
- $line-height-ratio: $base-line-height / $base-font-size;
144
+ }
@@ -24,6 +24,8 @@
24
24
 
25
25
 
26
26
  // Add / remove floats
27
+ // Use only as an extend when used for sections or block elements
28
+ // Ex: Buckets, nav-lists, etc.
27
29
 
28
30
  %float-left{
29
31
  float: left !important;
@@ -58,36 +60,11 @@
58
60
 
59
61
 
60
62
  // Mute DOM elements
63
+ // 100%-based percentage ($muted-opacity: 50 = 50%)
61
64
 
62
- %muted{
63
- opacity: .5 !important;
64
- filter: alpha(opacity = 50) !important;
65
- }
66
-
67
-
68
- // Rocker switches (or button groups)
69
- // Resets buttons to squared corners, applies left/right rounding
70
-
71
- .rocker{
72
- border-radius: 0;
73
-
74
- &:first-child{
75
- border-radius: $brand-round 0 0 $brand-round;
76
- }
77
- &:last-child{
78
- border-radius: 0 $brand-round $brand-round 0;
79
- }
80
- }
81
-
82
- .v-rocker{
83
- border-radius: 0;
84
-
85
- &:first-child{
86
- border-radius: $brand-round $brand-round 0 0;
87
- }
88
- &:last-child{
89
- border-radius: 0 0 $brand-round $brand-round;
90
- }
65
+ @mixin muted($muted-opacity){
66
+ opacity: ($muted-opacity / 100) !important;
67
+ filter: alpha(opacity = $muted-opacity) !important;
91
68
  }
92
69
 
93
70
 
@@ -118,7 +95,7 @@
118
95
  } // END if
119
96
 
120
97
 
121
- // Sprite Sheet Mixins
98
+ // Sprite Sheet Mixin
122
99
 
123
100
  @mixin sprite($col, $row){
124
101
  background: url($sprite-shet-loc) no-repeat ($col * -$sprite-sheet-grid) ($row * -$sprite-sheet-grid);
@@ -155,8 +132,8 @@
155
132
  & > :last-child{
156
133
  margin-bottom: 0;
157
134
  }
158
- }
159
- }
135
+ } // END media-body
136
+ } // END media
160
137
 
161
138
  } // END if
162
139
 
@@ -1,3 +1,3 @@
1
1
  module Kentucky
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kentucky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Clemmer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-05-31 00:00:00.000000000 Z
13
+ date: 2013-07-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: sass
@@ -162,3 +162,4 @@ test_files:
162
162
  - features/support/kentucky_support.rb
163
163
  - features/update.feature
164
164
  - features/version.feature
165
+ has_rdoc: