kickstart_rails 0.2.410970240580 → 0.3.411400890669

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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/kickstart_rails/docs.js +2 -2
  3. data/app/assets/javascripts/kickstart_rails/test.js.REMOVED.git-id +1 -0
  4. data/app/assets/stylesheets/kickstart_rails/components/_alerts.sass +12 -0
  5. data/app/assets/stylesheets/kickstart_rails/components/_buttons.sass +30 -11
  6. data/app/assets/stylesheets/kickstart_rails/components/_forms.sass +2 -1
  7. data/app/assets/stylesheets/kickstart_rails/components/_growls.sass +0 -0
  8. data/app/assets/stylesheets/kickstart_rails/components/_images.sass +17 -3
  9. data/app/assets/stylesheets/kickstart_rails/components/_labels.sass +10 -0
  10. data/app/assets/stylesheets/kickstart_rails/components/_modals.sass +1 -1
  11. data/app/assets/stylesheets/kickstart_rails/components/_nav.sass +32 -22
  12. data/app/assets/stylesheets/kickstart_rails/components/_notifications.sass +2 -8
  13. data/app/assets/stylesheets/kickstart_rails/components/_progress.sass +2 -2
  14. data/app/assets/stylesheets/kickstart_rails/components/_root-element.sass +1 -1
  15. data/app/assets/stylesheets/kickstart_rails/components/_status.sass +1 -5
  16. data/app/assets/stylesheets/kickstart_rails/components/_tables.sass +5 -5
  17. data/app/assets/stylesheets/kickstart_rails/components/_tabs.sass +0 -0
  18. data/app/assets/stylesheets/kickstart_rails/components/_tiles.sass +4 -4
  19. data/app/assets/stylesheets/kickstart_rails/components/_tooltips.sass +122 -0
  20. data/app/assets/stylesheets/kickstart_rails/components/_typography.sass +12 -3
  21. data/app/assets/stylesheets/kickstart_rails/core/_base_components.sass +17 -0
  22. data/app/assets/stylesheets/kickstart_rails/core/_components.sass +1 -0
  23. data/app/assets/stylesheets/kickstart_rails/core/_dependent_components.sass +12 -0
  24. data/app/assets/stylesheets/kickstart_rails/core/_index.sass +2 -1
  25. data/app/assets/stylesheets/kickstart_rails/core/_mixins.sass +5 -78
  26. data/app/assets/stylesheets/kickstart_rails/core/_root-element.sass +16 -0
  27. data/app/assets/stylesheets/kickstart_rails/core/_typography.sass +162 -0
  28. data/app/assets/stylesheets/kickstart_rails/docs.sass +21 -13
  29. data/app/assets/stylesheets/kickstart_rails/kickstart.sass +89 -9
  30. data/app/assets/stylesheets/kickstart_rails/themes/_default.sass +128 -105
  31. data/lib/kickstart_rails/version.mustache +1 -1
  32. data/lib/kickstart_rails/version.rb +1 -1
  33. metadata +12 -3
  34. data/app/assets/javascripts/kickstart_rails/test.js +0 -6280
@@ -10,35 +10,50 @@
10
10
 
11
11
  // Assign mixins to static classes
12
12
 
13
+ // ALERTS
14
+ // ------
15
+
16
+ .alert
17
+ +alert
18
+
13
19
  // BUTTONS
14
20
  // -------
15
21
  .button, button, input[type=submit]
16
22
  +button
17
23
  // TODO: Make loop
18
- &.primary
24
+ &.button-primary
19
25
  +button($primary-color)
20
26
 
21
- &.secondary
27
+ &.button-secondary
22
28
  +button($secondary-color)
23
29
 
24
- &.red
30
+ &.button-clear
31
+ +button(transparent)
32
+
33
+ &.button-red
25
34
  +button($red)
26
35
 
27
- &.orange
36
+ &.button-orange
28
37
  +button($orange)
29
38
 
30
- &.yellow
39
+ &.button-yellow
31
40
  +button($yellow)
32
41
 
33
- &.green
42
+ &.button-green
34
43
  +button($green)
35
44
 
36
- &.blue
45
+ &.button-blue
37
46
  +button($blue)
38
47
 
39
- &.violet
48
+ &.button-violet
40
49
  +button($violet)
41
50
 
51
+ &.button-small
52
+ +button($size: 0.85)
53
+
54
+ &.button-large
55
+ +button($size: 1.2)
56
+
42
57
  // FORMS
43
58
  // -----
44
59
  .form-horizontal
@@ -77,12 +92,40 @@
77
92
  .thumbnail-content
78
93
  +thumbnail-content
79
94
 
95
+ .thumbnail
96
+ +thumbnail
97
+
80
98
  // MODALS
81
99
  // ------
82
100
 
83
101
  .modal
84
102
  +modal
85
103
 
104
+ // LABELS
105
+ // ------
106
+
107
+ .label
108
+ +label
109
+
110
+ &.label-red
111
+ +label($red)
112
+
113
+ &.label-orange
114
+ +label($orange)
115
+
116
+ &.label-yellow
117
+ +label($yellow)
118
+ color: map-get($black, light)
119
+
120
+ &.label-green
121
+ +label($green)
122
+
123
+ &.label-blue
124
+ +label($blue)
125
+
126
+ &.label-violet
127
+ +label($violet)
128
+
86
129
  // NAVIGATION
87
130
  // ----------
88
131
 
@@ -90,7 +133,7 @@
90
133
  +navbar
91
134
 
92
135
  .navbar-dark
93
- +navbar($background: $lighter-black)
136
+ +navbar($background: map-get($black, lighter))
94
137
 
95
138
  // STATUS
96
139
  // ------
@@ -108,8 +151,39 @@ table
108
151
  .tile
109
152
  +tile
110
153
 
154
+ // TOOLTIPS
155
+ // --------
156
+
157
+ .tooltip_trigger
158
+ +tooltip_trigger
159
+
111
160
  // TYPOGRAPHY
112
161
  // ----------
162
+
163
+ .xxl
164
+ +xxl-heading
165
+
166
+ .xl
167
+ +xl-heading
168
+
169
+ .lg
170
+ +lg-heading
171
+
172
+ .md
173
+ +md-heading
174
+
175
+ .rg
176
+ +rg-heading
177
+
178
+ .sm
179
+ +sm-heading
180
+
181
+ .xs
182
+ +xs-heading
183
+
184
+ .xxs
185
+ +xxs-heading
186
+
113
187
  .readable
114
188
  +p(true)
115
189
 
@@ -121,3 +195,9 @@ table
121
195
 
122
196
  .hero
123
197
  +hero
198
+
199
+ .list-unstyled
200
+ +list-unstyled
201
+
202
+ .list-horizontal
203
+ +list-horizontal
@@ -1,38 +1,26 @@
1
- /*
2
- * Theme: Default
3
- * ==============
4
- * Theme files wrap Kickstart's mixins into duplicate mixins without the
5
- * "-default". This allows theme artists to insert their own styles by
6
- * extending the default ones. Because the default theme just does direct
7
- * assignment to the final namespaces, it overrides without actually
8
- * changing anything.
9
- */
1
+ //
2
+ // Theme: Default
3
+ // ==============
4
+ // Theme files wrap Kickstart's mixins into duplicate mixins without the
5
+ // "-default". This allows theme artists to insert their own styles by
6
+ // extending the default ones. Because the default theme just does direct
7
+ // assignment to the final namespaces, it overrides without actually
8
+ // changing anything.
9
+ //
10
10
 
11
11
  // TODO: This would be the second time importing in rails. prepend this line
12
12
  // via gulp.
13
13
 
14
14
  @import ../core/_normalize
15
15
 
16
- // VARIABLES
16
+ // Variables
17
17
  // ---------
18
18
 
19
19
  // Grayscale
20
20
 
21
- $black: #111
22
- $light-black: #222
23
- $lighter-black: #333
24
- $lightest-black: #444
25
- $darkest-gray: #555
26
- $darker-gray: #666
27
- $dark-gray: #777
28
- $gray: #888
29
- $light-gray: #999
30
- $lighter-gray: #AAA
31
- $lightest-gray: #BBB
32
- $darkest-white: #CCC
33
- $darker-white: #DDD
34
- $dark-white: #EEE
35
- $white: #FFF
21
+ $white: (dark: #F7F7F7, darker: #DDD, darkest: #CCC)
22
+ $gray: (lightest: #BBB, lighter: #AAA, light: #999, dark: #777, darker: #666, darkest: #555)
23
+ $black: (lightest: #444, lighter: #333, light: #222)
36
24
 
37
25
  // Rainbow
38
26
 
@@ -48,15 +36,15 @@ $violet: darkmagenta
48
36
  // Modifying just these ten variables will take care of 90% of your theme
49
37
 
50
38
  $primary-color: $blue
51
- $secondary-color: $darker-white
39
+ $secondary-color: map-get($white, darker)
52
40
  $space: 25px
53
41
  $heading-font-family: 'Lato', helvetica neue, sans-serif
54
42
  $body-font-family: 'Lato', helvetica neue, sans-serif
55
43
  $base-font-size: 16px
56
- $black-augment: 0
57
- $white-augment: 0
58
- $saturation-augment: 0
59
- $luminosity-augment: 0
44
+ $black-augment: #000
45
+ $white-augment: #FFF
46
+ $saturation-augment: 0%
47
+ $luminosity-augment: 0%
60
48
 
61
49
  // --------------------------
62
50
 
@@ -68,63 +56,15 @@ $default-font: $body-font-family
68
56
  $default-font-size: $base-font-size
69
57
  $default-line-height: 1.4rem
70
58
 
71
- @import ../core/index
59
+ //
60
+ // Core styling
61
+ // ------------
62
+ // Lowest-level styling meant to be inherited by components.
63
+ //
72
64
 
73
- // BUTTONS
74
- // -------
75
-
76
- =button($color: transparent)
77
- +button-default($color)
78
-
79
- // FORMS
80
- // -----
81
-
82
- =form-horizontal()
83
- +form-horizontal-default()
84
-
85
- =form-left
86
- +form-left-default()
87
-
88
- =form-group()
89
- +form-group-default()
90
-
91
- // IMAGES
92
- // ------
93
-
94
- =thumbnail-content
95
- +thumbnail-content-default
96
-
97
- // MODALS
98
- // ------
99
-
100
- =modal()
101
- +modal-default()
102
-
103
- // NAVIGATION
104
- // ----------
65
+ @import ../core/_index
105
66
 
106
- =navbar($bleed-container: false, $background: $dark-white)
107
- +navbar-default($bleed-container, $background)
108
-
109
- // STATUSES
110
- // --------
111
-
112
- .status-bar
113
- +statusBar()
114
-
115
- // TABLE
116
- // -----
117
-
118
- =table()
119
- +table-default()
120
-
121
- // TILES
122
- // -----
123
-
124
- =tile($color: $dark-gray)
125
- +tile-default($color)
126
-
127
- // TYPOGRAPHY
67
+ // Typography
128
68
  // ----------
129
69
 
130
70
  =pre
@@ -146,22 +86,6 @@ pre
146
86
 
147
87
  =hero
148
88
  +hero-default
149
- h1, h2, h3, h4, h5, h6, p
150
- color: white
151
- font-weight: 300
152
-
153
- h1
154
- +xxl-heading
155
- h2
156
- +xl-heading
157
- h3
158
- +lg-heading
159
- h4
160
- +md-heading
161
- h5
162
- +rg-heading
163
- h6
164
- +sm-heading
165
89
 
166
90
  =xxl-heading
167
91
  +xxl-heading-default
@@ -208,8 +132,107 @@ h5
208
132
  h6
209
133
  +xxs-heading
210
134
 
211
- =html
212
- +html-default
135
+ =type
136
+ +type-default
137
+
138
+ html
139
+ +type-default
140
+
141
+ =list-unstyled
142
+ +list-unstyled-default
143
+
144
+ =list-horizontal
145
+ +list-horizontal-default
213
146
 
214
- html, li, p, table
215
- +html
147
+ //
148
+ // Base Components
149
+ // ===============
150
+ // Base components get imported first so they can be custom themed and
151
+ // used again in other parts of the core library.
152
+ //
153
+
154
+ @import ../core/_base_components
155
+
156
+ // Alerts
157
+ // ------
158
+
159
+ =alert
160
+ +alert-default
161
+
162
+ // Buttons
163
+ // -------
164
+
165
+ =button($color: map-get($white, dark), $size: 1)
166
+ +button-default($color, $size)
167
+
168
+ // Forms
169
+ // -----
170
+
171
+ =form-horizontal()
172
+ +form-horizontal-default()
173
+
174
+ =form-left
175
+ +form-left-default()
176
+
177
+ =form-group()
178
+ +form-group-default()
179
+
180
+ // Images
181
+ // ------
182
+
183
+ =thumbnail-content
184
+ +thumbnail-content-default
185
+
186
+ =thumbnail
187
+ +thumbnail-default
188
+
189
+ // Labels
190
+ // ------
191
+
192
+ =label($background-color: $blue)
193
+ +label-default($background-color)
194
+
195
+ // Navigation
196
+ // ----------
197
+
198
+ =navbar($bleed-container: false, $background: map-get($white, dark))
199
+ +navbar-default($bleed-container, $background)
200
+
201
+ // Table
202
+ // -----
203
+
204
+ =table()
205
+ +table-default()
206
+
207
+ // Tiles
208
+ // -----
209
+
210
+ =tile($color: map-get($gray, dark))
211
+ +tile-default($color)
212
+
213
+ //
214
+ // Dependent Components
215
+ // ====================
216
+ // Dependent components keep code DRY by reusing core and base
217
+ // componenets that have already been styled by the theme.
218
+ //
219
+
220
+ @import ../core/_dependent_components
221
+
222
+ // Modals
223
+ // ------
224
+
225
+ =modal()
226
+ +modal-default()
227
+
228
+ // Tooltips
229
+ // --------
230
+
231
+ =tooltip_trigger
232
+ +tooltip_trigger-default
233
+
234
+ // Statuses
235
+ // --------
236
+
237
+ .status-bar
238
+ +statusBar()
@@ -1,3 +1,3 @@
1
1
  module Kickstart_rails
2
- VERSION = "0.2.{{ version }}"
2
+ VERSION = "0.3.{{ version }}"
3
3
  end
@@ -1,3 +1,3 @@
1
1
  module Kickstart_rails
2
- VERSION = "0.2.410970240580"
2
+ VERSION = "0.3.411400890669"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kickstart_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.410970240580
4
+ version: 0.3.411400890669
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Kochanowicz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-17 00:00:00.000000000 Z
11
+ date: 2014-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -97,15 +97,18 @@ files:
97
97
  - app/assets/javascripts/kickstart_rails/docs/throttler_edgePreload.js
98
98
  - app/assets/javascripts/kickstart_rails/kickstart.js
99
99
  - app/assets/javascripts/kickstart_rails/kickstart.min.js
100
- - app/assets/javascripts/kickstart_rails/test.js
100
+ - app/assets/javascripts/kickstart_rails/test.js.REMOVED.git-id
101
101
  - app/assets/javascripts/kickstart_rails/throttler_edge.js
102
102
  - app/assets/javascripts/kickstart_rails/throttler_edgeActions.js
103
103
  - app/assets/javascripts/kickstart_rails/throttler_edgePreload.js
104
104
  - app/assets/stylesheets/index.scss
105
105
  - app/assets/stylesheets/kickstart_rails.scss
106
+ - app/assets/stylesheets/kickstart_rails/components/_alerts.sass
106
107
  - app/assets/stylesheets/kickstart_rails/components/_buttons.sass
107
108
  - app/assets/stylesheets/kickstart_rails/components/_forms.sass
109
+ - app/assets/stylesheets/kickstart_rails/components/_growls.sass
108
110
  - app/assets/stylesheets/kickstart_rails/components/_images.sass
111
+ - app/assets/stylesheets/kickstart_rails/components/_labels.sass
109
112
  - app/assets/stylesheets/kickstart_rails/components/_modals.sass
110
113
  - app/assets/stylesheets/kickstart_rails/components/_nav.sass
111
114
  - app/assets/stylesheets/kickstart_rails/components/_notifications.sass
@@ -113,16 +116,22 @@ files:
113
116
  - app/assets/stylesheets/kickstart_rails/components/_root-element.sass
114
117
  - app/assets/stylesheets/kickstart_rails/components/_status.sass
115
118
  - app/assets/stylesheets/kickstart_rails/components/_tables.sass
119
+ - app/assets/stylesheets/kickstart_rails/components/_tabs.sass
116
120
  - app/assets/stylesheets/kickstart_rails/components/_tiles.sass
121
+ - app/assets/stylesheets/kickstart_rails/components/_tooltips.sass
117
122
  - app/assets/stylesheets/kickstart_rails/components/_typography.sass
118
123
  - app/assets/stylesheets/kickstart_rails/core/_animations.sass
119
124
  - app/assets/stylesheets/kickstart_rails/core/_base.sass
125
+ - app/assets/stylesheets/kickstart_rails/core/_base_components.sass
120
126
  - app/assets/stylesheets/kickstart_rails/core/_components.sass
127
+ - app/assets/stylesheets/kickstart_rails/core/_dependent_components.sass
121
128
  - app/assets/stylesheets/kickstart_rails/core/_grid.sass
122
129
  - app/assets/stylesheets/kickstart_rails/core/_icons.sass
123
130
  - app/assets/stylesheets/kickstart_rails/core/_index.sass
124
131
  - app/assets/stylesheets/kickstart_rails/core/_mixins.sass
125
132
  - app/assets/stylesheets/kickstart_rails/core/_normalize.sass
133
+ - app/assets/stylesheets/kickstart_rails/core/_root-element.sass
134
+ - app/assets/stylesheets/kickstart_rails/core/_typography.sass
126
135
  - app/assets/stylesheets/kickstart_rails/docs.sass
127
136
  - app/assets/stylesheets/kickstart_rails/kickstart-semantic.sass
128
137
  - app/assets/stylesheets/kickstart_rails/kickstart.sass