kentucky 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/kentucky/_kentucky.scss +17 -20
- data/app/assets/stylesheets/kentucky/{generic/_helpers.scss → helpers/_extends.scss} +49 -5
- data/app/assets/stylesheets/kentucky/{generic → helpers}/_mixins.scss +4 -5
- data/app/assets/stylesheets/kentucky/{generic → main}/_brand.scss +0 -0
- data/app/assets/stylesheets/kentucky/{base/_headings.scss → main/_main.scss} +39 -0
- data/app/assets/stylesheets/kentucky/{generic → setup}/_debug.scss +0 -0
- data/app/assets/stylesheets/kentucky/{generic → setup}/_normalize.scss +1 -0
- data/kentucky.gemspec +1 -1
- data/lib/kentucky/version.rb +1 -1
- metadata +9 -14
- data/app/assets/stylesheets/kentucky/base/_lists.scss +0 -21
- data/app/assets/stylesheets/kentucky/base/_main.scss +0 -22
- data/app/assets/stylesheets/kentucky/base/_smallprint.scss +0 -13
- data/app/assets/stylesheets/kentucky/generic/_clearfix.scss +0 -11
- data/app/assets/stylesheets/kentucky/objects/_breadcrumb.scss +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e0b3cb761f90127590d261887cd5b0905896877
|
4
|
+
data.tar.gz: e0f3306abdc9b2d51a615eefebfa7a9acdea5c77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c56ba8dd6e5e35f7c7c2b9f10e4bbeaa4bc5d99e70af3ef7a7f5b2c49d9ab46cc135cc4e1f91d793dec9816b9f2aa6ebece9cc302594c8b425c1571ad504c081
|
7
|
+
data.tar.gz: d694e89c8963e8b2b2b85475c8dcab24e53b2701713865850685070b49a423f9aa11984d00d24c9eab6049d26800b147ab7919c999384fe258ca45f88320d515
|
@@ -46,38 +46,35 @@
|
|
46
46
|
|
47
47
|
|
48
48
|
// ------------------------------------------------------------------- //
|
49
|
-
//
|
49
|
+
// Initial Setup
|
50
50
|
// ------------------------------------------------------------------- //
|
51
51
|
|
52
|
-
@import "
|
53
|
-
@import "generic/normalize";
|
54
|
-
@import "generic/clearfix";
|
55
|
-
@import "generic/mixins";
|
56
|
-
|
52
|
+
@import "setup/normalize";
|
57
53
|
|
58
54
|
// ------------------------------------------------------------------- //
|
59
|
-
//
|
55
|
+
// Kentucky's Core
|
60
56
|
// ------------------------------------------------------------------- //
|
61
57
|
|
62
|
-
@import "
|
63
|
-
@import "
|
64
|
-
@import "
|
65
|
-
@import "
|
66
|
-
|
58
|
+
@import "helpers/extends";
|
59
|
+
@import "helpers/mixins";
|
60
|
+
@import "objects/media";
|
61
|
+
@import "objects/split";
|
67
62
|
|
68
63
|
// ------------------------------------------------------------------- //
|
69
|
-
//
|
64
|
+
// Main (Type, Brand, etc.)
|
70
65
|
// ------------------------------------------------------------------- //
|
71
66
|
|
72
|
-
@import "
|
73
|
-
@import "
|
74
|
-
|
67
|
+
@import "main/brand";
|
68
|
+
@import "main/main";
|
69
|
+
|
70
|
+
// ------------------------------------------------------------------- //
|
71
|
+
// Load that hacky cuss last...
|
72
|
+
// ------------------------------------------------------------------- //
|
75
73
|
|
74
|
+
@import "shame";
|
76
75
|
|
77
76
|
// ------------------------------------------------------------------- //
|
78
|
-
//
|
77
|
+
// And if required, load debugging styles
|
79
78
|
// ------------------------------------------------------------------- //
|
80
79
|
|
81
|
-
@import "
|
82
|
-
@import "generic/helpers";
|
83
|
-
@import "generic/debug";
|
80
|
+
@import "debug";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
// ------------------------------------------------------------------- //
|
2
|
-
// Kentucky
|
2
|
+
// Kentucky Extends
|
3
3
|
// ------------------------------------------------------------------- //
|
4
4
|
// Show / Hide Elements
|
5
|
-
// To be used in jQuery
|
5
|
+
// To be used in jQuery as a toggle class
|
6
6
|
// ------------------------------------------------------------------- //
|
7
7
|
|
8
8
|
.is-shown{
|
@@ -13,6 +13,19 @@
|
|
13
13
|
}
|
14
14
|
|
15
15
|
|
16
|
+
// ------------------------------------------------------------------- //
|
17
|
+
// Clearfix
|
18
|
+
// ------------------------------------------------------------------- //
|
19
|
+
|
20
|
+
%cf{
|
21
|
+
&:after{
|
22
|
+
content: "";
|
23
|
+
display: table;
|
24
|
+
clear: both;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
|
16
29
|
// ------------------------------------------------------------------- //
|
17
30
|
// Add / Remove Floats
|
18
31
|
// ------------------------------------------------------------------- //
|
@@ -54,14 +67,45 @@
|
|
54
67
|
|
55
68
|
|
56
69
|
// ------------------------------------------------------------------- //
|
57
|
-
// "Go"
|
70
|
+
// "Go"
|
71
|
+
//
|
72
|
+
// Add right-facing arrow, indicating movement through site
|
58
73
|
// ------------------------------------------------------------------- //
|
59
74
|
|
60
|
-
%go
|
61
|
-
|
75
|
+
%go{
|
76
|
+
&:after{
|
77
|
+
content: "\00A0" "\OOBB";
|
78
|
+
}
|
62
79
|
}
|
63
80
|
|
64
81
|
|
82
|
+
// ------------------------------------------------------------------- //
|
83
|
+
// Breadcrumbs
|
84
|
+
//
|
85
|
+
// Must be extended in the ul of the breadcrumbs
|
86
|
+
// Adds auto-magical separators
|
87
|
+
// ------------------------------------------------------------------- //
|
88
|
+
|
89
|
+
// Simple breadcrumb ">"
|
90
|
+
%breadcrumb{
|
91
|
+
& > li + li:before{
|
92
|
+
content:"\00BB" "\00A0";
|
93
|
+
}
|
94
|
+
}
|
95
|
+
|
96
|
+
// Path breadcrumb "/"
|
97
|
+
%breadcrumb--path{
|
98
|
+
& > li + li:before{
|
99
|
+
content:"\002F" "\00A0";
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
%breadcrumb__root{
|
104
|
+
font-weight:bold;
|
105
|
+
}
|
106
|
+
|
107
|
+
|
108
|
+
|
65
109
|
// ------------------------------------------------------------------- //
|
66
110
|
// Caps Lock - Calm down there, champ...
|
67
111
|
// ------------------------------------------------------------------- //
|
@@ -1,7 +1,7 @@
|
|
1
1
|
// ------------------------------------------------------------------- //
|
2
2
|
// Kentucky Mixins
|
3
3
|
// ------------------------------------------------------------------- //
|
4
|
-
// Font Size / Line Height
|
4
|
+
// Font Size / Line Height
|
5
5
|
// ------------------------------------------------------------------- //
|
6
6
|
|
7
7
|
@mixin font-size($font-size, $line-height: true){
|
@@ -68,11 +68,10 @@
|
|
68
68
|
// ------------------------------------------------------------------- //
|
69
69
|
// Custom Borders / Widths
|
70
70
|
//
|
71
|
-
// @include border(2px 0, solid, #B4DA55);
|
71
|
+
// @include border(2px 0 5px 3px, solid, #B4DA55);
|
72
72
|
// ------------------------------------------------------------------- //
|
73
73
|
|
74
|
-
@mixin border($border-widths, $border-style
|
74
|
+
@mixin border($border-widths, $border-style $border-color){
|
75
75
|
border: $border-style $border-color;
|
76
76
|
border-width: $border-widths;
|
77
|
-
}
|
78
|
-
|
77
|
+
}
|
File without changes
|
@@ -1,4 +1,6 @@
|
|
1
1
|
// ------------------------------------------------------------------- //
|
2
|
+
// Main
|
3
|
+
// ------------------------------------------------------------------- //
|
2
4
|
// Kentucky Headings
|
3
5
|
//
|
4
6
|
// The goal here is to define headings and establish practical
|
@@ -70,3 +72,40 @@ h6,
|
|
70
72
|
%kilo{
|
71
73
|
@include font-size($kilo-size);
|
72
74
|
}
|
75
|
+
|
76
|
+
|
77
|
+
// ------------------------------------------------------------------- //
|
78
|
+
// What is this? Type for ants?!
|
79
|
+
// ------------------------------------------------------------------- //
|
80
|
+
|
81
|
+
%milli{
|
82
|
+
@include font-size($milli-size);
|
83
|
+
}
|
84
|
+
|
85
|
+
%micro{
|
86
|
+
@include font-size($micro-size);
|
87
|
+
}
|
88
|
+
|
89
|
+
|
90
|
+
// ------------------------------------------------------------------- //
|
91
|
+
// Basic Page Setup
|
92
|
+
// ------------------------------------------------------------------- //
|
93
|
+
|
94
|
+
html{
|
95
|
+
font: #{($base-font-size/16px)*1em} / #{$base-line-height} $base-font-family;
|
96
|
+
min-height: 100%;
|
97
|
+
overflow-y: scroll;
|
98
|
+
} // END html
|
99
|
+
|
100
|
+
body{
|
101
|
+
background: #fff;
|
102
|
+
} // END body
|
103
|
+
|
104
|
+
a{
|
105
|
+
color: $link-color;
|
106
|
+
@include transition(all .3s linear);
|
107
|
+
|
108
|
+
&:hover, &:focus{
|
109
|
+
color: lighten($link-color, 15%);
|
110
|
+
}
|
111
|
+
} // END a
|
File without changes
|
data/kentucky.gemspec
CHANGED
data/lib/kentucky/version.rb
CHANGED
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.
|
4
|
+
version: 0.4.0
|
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-10-
|
13
|
+
date: 2013-10-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: sass
|
@@ -114,19 +114,14 @@ files:
|
|
114
114
|
- app/assets/stylesheets/kentucky/_defaults.scss
|
115
115
|
- app/assets/stylesheets/kentucky/_kentucky.scss
|
116
116
|
- app/assets/stylesheets/kentucky/_shame.scss
|
117
|
-
- app/assets/stylesheets/kentucky/
|
118
|
-
- app/assets/stylesheets/kentucky/
|
119
|
-
- app/assets/stylesheets/kentucky/
|
120
|
-
- app/assets/stylesheets/kentucky/
|
121
|
-
- app/assets/stylesheets/kentucky/generic/_brand.scss
|
122
|
-
- app/assets/stylesheets/kentucky/generic/_clearfix.scss
|
123
|
-
- app/assets/stylesheets/kentucky/generic/_debug.scss
|
124
|
-
- app/assets/stylesheets/kentucky/generic/_helpers.scss
|
125
|
-
- app/assets/stylesheets/kentucky/generic/_mixins.scss
|
126
|
-
- app/assets/stylesheets/kentucky/generic/_normalize.scss
|
127
|
-
- app/assets/stylesheets/kentucky/objects/_breadcrumb.scss
|
117
|
+
- app/assets/stylesheets/kentucky/helpers/_extends.scss
|
118
|
+
- app/assets/stylesheets/kentucky/helpers/_mixins.scss
|
119
|
+
- app/assets/stylesheets/kentucky/main/_brand.scss
|
120
|
+
- app/assets/stylesheets/kentucky/main/_main.scss
|
128
121
|
- app/assets/stylesheets/kentucky/objects/_media.scss
|
129
122
|
- app/assets/stylesheets/kentucky/objects/_split.scss
|
123
|
+
- app/assets/stylesheets/kentucky/setup/_debug.scss
|
124
|
+
- app/assets/stylesheets/kentucky/setup/_normalize.scss
|
130
125
|
- app/assets/stylesheets/style.scss
|
131
126
|
- bin/kentucky
|
132
127
|
- features/install.feature
|
@@ -162,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
162
157
|
version: '0'
|
163
158
|
requirements: []
|
164
159
|
rubyforge_project:
|
165
|
-
rubygems_version: 2.
|
160
|
+
rubygems_version: 2.1.8
|
166
161
|
signing_key:
|
167
162
|
specification_version: 4
|
168
163
|
summary: Kentucky Bourbon, Neat Grid System and SCSS Mixins
|
@@ -1,21 +0,0 @@
|
|
1
|
-
// ------------------------------------------------------------------- //
|
2
|
-
// Lists
|
3
|
-
// ------------------------------------------------------------------- //
|
4
|
-
// Remove vertical spacing from nested lists
|
5
|
-
// ------------------------------------------------------------------- //
|
6
|
-
|
7
|
-
li{
|
8
|
-
> ul,
|
9
|
-
> ol{
|
10
|
-
margin-bottom: 0;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
|
14
|
-
|
15
|
-
// ------------------------------------------------------------------- //
|
16
|
-
// Enjoy numbered lists without the semantics implied by `ol`
|
17
|
-
// ------------------------------------------------------------------- //
|
18
|
-
|
19
|
-
/*ul*/%numbered-list{
|
20
|
-
list-style-type: decimal;
|
21
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
// ------------------------------------------------------------------- //
|
2
|
-
// Main
|
3
|
-
// ------------------------------------------------------------------- //
|
4
|
-
|
5
|
-
html{
|
6
|
-
font: #{($base-font-size/16px)*1em} / #{$base-line-height} $base-font-family;
|
7
|
-
min-height: 100%;
|
8
|
-
overflow-y: scroll;
|
9
|
-
} // END html
|
10
|
-
|
11
|
-
body{
|
12
|
-
background: #fff;
|
13
|
-
} // END body
|
14
|
-
|
15
|
-
a{
|
16
|
-
color: $link-color;
|
17
|
-
@include transition(all .3s linear);
|
18
|
-
|
19
|
-
&:hover, &:focus{
|
20
|
-
color: lighten($link-color, 15%);
|
21
|
-
}
|
22
|
-
} // END a
|
@@ -1,13 +0,0 @@
|
|
1
|
-
// ------------------------------------------------------------------- //
|
2
|
-
// Smallprint
|
3
|
-
// ------------------------------------------------------------------- //
|
4
|
-
// What is this? Type for ants?!
|
5
|
-
// ------------------------------------------------------------------- //
|
6
|
-
|
7
|
-
%milli{
|
8
|
-
@include font-size($milli-size);
|
9
|
-
}
|
10
|
-
|
11
|
-
%micro{
|
12
|
-
@include font-size($micro-size);
|
13
|
-
}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
// ------------------------------------------------------------------- //
|
2
|
-
// Breadcrumbs
|
3
|
-
// ------------------------------------------------------------------- //
|
4
|
-
|
5
|
-
@if $use-breadcrumb == true{
|
6
|
-
|
7
|
-
// Simple breadcrumb ">"
|
8
|
-
.breadcrumb > li + li:before{
|
9
|
-
content:"\00BB" "\00A0";
|
10
|
-
}
|
11
|
-
|
12
|
-
// Path breadcrumb "/"
|
13
|
-
.breadcrumb--path > li + li:before{
|
14
|
-
content:"\002F" "\00A0";
|
15
|
-
}
|
16
|
-
|
17
|
-
// Denote the root of the tree
|
18
|
-
.breadcrumb__root{
|
19
|
-
font-weight:bold;
|
20
|
-
}
|
21
|
-
|
22
|
-
} // END if
|