kickstart_rails 3.0.39 → 3.0.40
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 +4 -4
- data/app/assets/javascripts/kickstart_rails/app.coffee +17 -0
- data/app/assets/javascripts/kickstart_rails/buffer.coffee +32 -0
- data/app/assets/javascripts/kickstart_rails/buttons.coffee +8 -0
- data/app/assets/javascripts/kickstart_rails/debouncer.coffee +14 -0
- data/app/assets/javascripts/kickstart_rails/docs.coffee +179 -0
- data/app/assets/javascripts/kickstart_rails/dropdown.coffee +40 -0
- data/app/assets/javascripts/kickstart_rails/growl.coffee +56 -0
- data/app/assets/javascripts/kickstart_rails/ks.coffee +16 -0
- data/app/assets/javascripts/kickstart_rails/modal.coffee +29 -0
- data/app/assets/javascripts/kickstart_rails/navbar-fixer.coffee +9 -0
- data/app/assets/javascripts/kickstart_rails/navbar.coffee +36 -0
- data/app/assets/javascripts/kickstart_rails/status.coffee +30 -0
- data/app/assets/javascripts/kickstart_rails/tabs.coffee +32 -0
- data/app/assets/javascripts/kickstart_rails/tests.coffee +10 -0
- data/app/assets/javascripts/kickstart_rails/throttler.coffee +7 -0
- data/app/assets/stylesheets/core/_animations.sass +8 -0
- data/app/assets/stylesheets/core/_base.sass +16 -0
- data/app/assets/stylesheets/core/_base_components.sass +15 -0
- data/app/assets/stylesheets/core/_dependent_components.sass +12 -0
- data/app/assets/stylesheets/core/_direct-apply.sass +337 -0
- data/app/assets/stylesheets/core/_grid.sass +142 -0
- data/app/assets/stylesheets/core/_icons.sass +3 -0
- data/app/assets/stylesheets/core/_index.sass +7 -0
- data/app/assets/stylesheets/core/_mixins.sass +22 -0
- data/app/assets/stylesheets/core/_normalize.sass +339 -0
- data/app/assets/stylesheets/core/_root-element.sass +17 -0
- data/app/assets/stylesheets/core/_typography.sass +180 -0
- data/app/assets/stylesheets/core/components/_alerts.sass +23 -0
- data/app/assets/stylesheets/core/components/_buttons.sass +159 -0
- data/app/assets/stylesheets/core/components/_dropdown_menu.sass +69 -0
- data/app/assets/stylesheets/core/components/_forms.sass +106 -0
- data/app/assets/stylesheets/core/components/_growls.sass +2 -0
- data/app/assets/stylesheets/core/components/_hr.sass +5 -0
- data/app/assets/stylesheets/core/components/_images.sass +40 -0
- data/app/assets/stylesheets/core/components/_labels.sass +15 -0
- data/app/assets/stylesheets/core/components/_modals.sass +73 -0
- data/app/assets/stylesheets/core/components/_navbar.sass +270 -0
- data/app/assets/stylesheets/core/components/_notifications.sass +20 -0
- data/app/assets/stylesheets/core/components/_pagination.sass +11 -0
- data/app/assets/stylesheets/core/components/_progress.sass +12 -0
- data/app/assets/stylesheets/core/components/_tables.sass +70 -0
- data/app/assets/stylesheets/core/components/_tabs.sass +37 -0
- data/app/assets/stylesheets/core/components/_tooltips.sass +26 -0
- data/app/assets/stylesheets/docs.sass +99 -0
- data/app/assets/stylesheets/fullpage.sass +7 -0
- data/app/assets/stylesheets/kickstart-semantic.sass +10 -0
- data/app/assets/stylesheets/kickstart.sass +344 -0
- data/app/assets/stylesheets/pages/docs/form.sass +0 -0
- data/app/assets/stylesheets/pages/docs/grid.sass +73 -0
- data/app/assets/stylesheets/pages/docs/index.sass +217 -0
- data/app/assets/stylesheets/pages/docs/ui/alerts.sass +5 -0
- data/app/assets/stylesheets/pages/docs/ui/buttons.sass +52 -0
- data/app/assets/stylesheets/pages/docs/ui/forms.sass +31 -0
- data/app/assets/stylesheets/pages/docs/ui/images.sass +7 -0
- data/app/assets/stylesheets/pages/docs/ui/labels.sass +10 -0
- data/app/assets/stylesheets/pages/docs/ui/modals.sass +18 -0
- data/app/assets/stylesheets/pages/docs/ui/navigation.sass +14 -0
- data/app/assets/stylesheets/pages/docs/ui/notifications.sass +17 -0
- data/app/assets/stylesheets/pages/docs/ui/tables.sass +13 -0
- data/app/assets/stylesheets/pages/docs/ui/tabs.sass +7 -0
- data/app/assets/stylesheets/pages/docs/ui/tooltips.sass +7 -0
- data/app/assets/stylesheets/pages/docs/ui/typography.sass +56 -0
- data/app/assets/stylesheets/pages/index.sass +105 -0
- data/app/assets/stylesheets/themes/default/theme.sass +264 -0
- data/app/assets/stylesheets/vendor/_index.sass +10 -0
- data/app/assets/stylesheets/vendor/switch/README.md +34 -0
- data/app/assets/stylesheets/vendor/switch/example.sass +14 -0
- data/app/assets/stylesheets/vendor/switch/gulpfile.js +16 -0
- data/app/assets/stylesheets/vendor/switch/index.html +18 -0
- data/app/assets/stylesheets/vendor/switch/package.json +24 -0
- data/app/assets/stylesheets/vendor/switch/switch.sass +53 -0
- data/lib/kickstart_rails/version.rb +1 -1
- metadata +72 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@import ../../../themes/default/theme
|
|
2
|
+
|
|
3
|
+
.example
|
|
4
|
+
h1
|
|
5
|
+
+heading-lg
|
|
6
|
+
|
|
7
|
+
&.xxl
|
|
8
|
+
+heading-xxl
|
|
9
|
+
|
|
10
|
+
&.xl
|
|
11
|
+
+heading-xl
|
|
12
|
+
|
|
13
|
+
&.lg
|
|
14
|
+
+heading-lg
|
|
15
|
+
|
|
16
|
+
&.md
|
|
17
|
+
+heading-md
|
|
18
|
+
|
|
19
|
+
&.rg
|
|
20
|
+
+heading-rg
|
|
21
|
+
|
|
22
|
+
&.sm
|
|
23
|
+
+heading-sm
|
|
24
|
+
|
|
25
|
+
&.xs
|
|
26
|
+
+heading-xs
|
|
27
|
+
|
|
28
|
+
&.xxs
|
|
29
|
+
+heading-xxs
|
|
30
|
+
|
|
31
|
+
h2
|
|
32
|
+
+heading-md
|
|
33
|
+
|
|
34
|
+
h3
|
|
35
|
+
+heading-rg
|
|
36
|
+
|
|
37
|
+
h4
|
|
38
|
+
+heading-sm
|
|
39
|
+
|
|
40
|
+
h5
|
|
41
|
+
+heading-xs
|
|
42
|
+
|
|
43
|
+
h6
|
|
44
|
+
+heading-xxs
|
|
45
|
+
|
|
46
|
+
p.readable
|
|
47
|
+
+p(true)
|
|
48
|
+
|
|
49
|
+
.page-heading
|
|
50
|
+
+page-heading
|
|
51
|
+
|
|
52
|
+
.list-unstyled
|
|
53
|
+
+list($style: 'unstyled')
|
|
54
|
+
|
|
55
|
+
&.list-horizontal
|
|
56
|
+
+list($style: 'unstyled horizontal')
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// Index Page
|
|
2
|
+
// ==========
|
|
3
|
+
// Homepage for getkickstart.com
|
|
4
|
+
|
|
5
|
+
@import themes/default/theme
|
|
6
|
+
|
|
7
|
+
video
|
|
8
|
+
max-width: 100%
|
|
9
|
+
margin-bottom: -$space/2
|
|
10
|
+
|
|
11
|
+
.index-hero
|
|
12
|
+
background-color: white
|
|
13
|
+
background: url('/img/hero.jpg')
|
|
14
|
+
background-repeat: no-repeat
|
|
15
|
+
background-position: center center
|
|
16
|
+
background-size: 200% 100%
|
|
17
|
+
padding: ($space * 2)
|
|
18
|
+
margin:
|
|
19
|
+
top: -72px
|
|
20
|
+
bottom: $space
|
|
21
|
+
padding-top: 70px
|
|
22
|
+
|
|
23
|
+
@media screen and (min-width: $desktop)
|
|
24
|
+
padding: ($space * 4)
|
|
25
|
+
margin-bottom: $space * 4
|
|
26
|
+
height: 500px
|
|
27
|
+
background-size: $xxl-monitor 100%
|
|
28
|
+
|
|
29
|
+
svg
|
|
30
|
+
display: block
|
|
31
|
+
margin: 0px auto
|
|
32
|
+
max-width: 70%
|
|
33
|
+
width: 700px
|
|
34
|
+
fill: white
|
|
35
|
+
|
|
36
|
+
h2
|
|
37
|
+
+heading-sm
|
|
38
|
+
text-align: center
|
|
39
|
+
color: white
|
|
40
|
+
opacity: 0.75
|
|
41
|
+
|
|
42
|
+
@media screen and (min-width: $desktop)
|
|
43
|
+
+heading-md
|
|
44
|
+
|
|
45
|
+
.first-pitch, .second-pitch, .third-pitch
|
|
46
|
+
+row
|
|
47
|
+
|
|
48
|
+
@media screen and (min-width: $tablet)
|
|
49
|
+
margin-bottom: $space * 3
|
|
50
|
+
|
|
51
|
+
h1
|
|
52
|
+
+heading-md
|
|
53
|
+
|
|
54
|
+
p
|
|
55
|
+
+p(true)
|
|
56
|
+
|
|
57
|
+
.first-pitch
|
|
58
|
+
.feature-image
|
|
59
|
+
+column('third')
|
|
60
|
+
|
|
61
|
+
img
|
|
62
|
+
max-width: 100%
|
|
63
|
+
|
|
64
|
+
.feature
|
|
65
|
+
+column('twothirds')
|
|
66
|
+
margin:
|
|
67
|
+
bottom: $space * 2
|
|
68
|
+
|
|
69
|
+
.second-pitch
|
|
70
|
+
.feature
|
|
71
|
+
+column('third')
|
|
72
|
+
|
|
73
|
+
h1
|
|
74
|
+
+heading-rg
|
|
75
|
+
|
|
76
|
+
.third-pitch
|
|
77
|
+
.feature
|
|
78
|
+
+column('half')
|
|
79
|
+
|
|
80
|
+
@media screen and (min-width: $desktop)
|
|
81
|
+
+column(3)
|
|
82
|
+
|
|
83
|
+
h1
|
|
84
|
+
+heading-sm
|
|
85
|
+
|
|
86
|
+
.specs
|
|
87
|
+
+row
|
|
88
|
+
|
|
89
|
+
h1
|
|
90
|
+
+heading-xs
|
|
91
|
+
+column(12)
|
|
92
|
+
|
|
93
|
+
.spec
|
|
94
|
+
+column(6)
|
|
95
|
+
|
|
96
|
+
@media screen and (min-width: $desktop)
|
|
97
|
+
+column(3)
|
|
98
|
+
|
|
99
|
+
dl
|
|
100
|
+
font-size: 0.85rem
|
|
101
|
+
|
|
102
|
+
dt
|
|
103
|
+
font-weight: bold
|
|
104
|
+
dd
|
|
105
|
+
margin-left: 0
|
|
@@ -0,0 +1,264 @@
|
|
|
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
|
+
|
|
11
|
+
// TODO: This would be the second time importing in rails. prepend this line
|
|
12
|
+
// via gulp.
|
|
13
|
+
|
|
14
|
+
@import core/_normalize
|
|
15
|
+
|
|
16
|
+
// Variables
|
|
17
|
+
// ---------
|
|
18
|
+
|
|
19
|
+
// Grayscale
|
|
20
|
+
$white: (dark: #F7F7F7, darker: #DDD, darkest: #CCC)
|
|
21
|
+
$gray: (lightest: #BBB, lighter: #AAA, light: #999, dark: #777, darker: #666, darkest: #555)
|
|
22
|
+
$black: (lightest: #444, lighter: #333, light: #222)
|
|
23
|
+
|
|
24
|
+
// Rainbow
|
|
25
|
+
$colors: (red: #CA3518, orange: darkorange, yellow: #ffe312, green: #58AA00, blue: cornflowerblue, violet: darkmagenta)
|
|
26
|
+
|
|
27
|
+
// Vendor libraries
|
|
28
|
+
@import url(//fonts.googleapis.com/css?family=Lato:300,400,700,400italic)
|
|
29
|
+
|
|
30
|
+
// Ten point design variables
|
|
31
|
+
// --------------------------
|
|
32
|
+
// Modifying just these ten variables will take care of 90% of your theme
|
|
33
|
+
|
|
34
|
+
$primary-color: map-get($colors, blue)
|
|
35
|
+
$secondary-color: map-get($white, darker)
|
|
36
|
+
$space: 25px
|
|
37
|
+
$heading-font-family: 'museo-sans', 'Lato', helvetica neue, sans-serif
|
|
38
|
+
$body-font-family: 'museo-sans', 'Lato', helvetica neue, sans-serif
|
|
39
|
+
$mono-font-family: 'ubuntu-mono', monospace
|
|
40
|
+
$base-font-size: 16px
|
|
41
|
+
$default-font-color: map-get($gray, darkest)
|
|
42
|
+
$default-line-height: 1.4rem
|
|
43
|
+
|
|
44
|
+
// --------------------------
|
|
45
|
+
|
|
46
|
+
$scalingFactor: 0.2vw
|
|
47
|
+
|
|
48
|
+
$rootElement: (paddingV: 5px, paddingH: 12px, border-radius: 3px)
|
|
49
|
+
|
|
50
|
+
$default-font: $body-font-family
|
|
51
|
+
$default-font-size: $base-font-size // TODO: Why?
|
|
52
|
+
|
|
53
|
+
//
|
|
54
|
+
// Core styling
|
|
55
|
+
// ------------
|
|
56
|
+
// Lowest-level styling meant to be inherited by components.
|
|
57
|
+
//
|
|
58
|
+
|
|
59
|
+
@import core/_index
|
|
60
|
+
|
|
61
|
+
// Grid
|
|
62
|
+
|
|
63
|
+
=container($args...)
|
|
64
|
+
+container-default($args...)
|
|
65
|
+
|
|
66
|
+
// Typography
|
|
67
|
+
// ----------
|
|
68
|
+
|
|
69
|
+
=pre
|
|
70
|
+
+pre-default
|
|
71
|
+
|
|
72
|
+
pre
|
|
73
|
+
+pre
|
|
74
|
+
|
|
75
|
+
=code
|
|
76
|
+
+code-default
|
|
77
|
+
|
|
78
|
+
=p($args...)
|
|
79
|
+
+p-default($args...)
|
|
80
|
+
|
|
81
|
+
=page-heading
|
|
82
|
+
+page-heading-default
|
|
83
|
+
h1, h2, h3, h4, h5, h6
|
|
84
|
+
// Styles should go here.
|
|
85
|
+
|
|
86
|
+
=hero
|
|
87
|
+
+hero-default
|
|
88
|
+
|
|
89
|
+
=heading-xxl
|
|
90
|
+
+heading-xxl-default
|
|
91
|
+
|
|
92
|
+
=heading-xl
|
|
93
|
+
+heading-xl-default
|
|
94
|
+
|
|
95
|
+
=heading-lg
|
|
96
|
+
+heading-lg-default
|
|
97
|
+
|
|
98
|
+
=heading-md
|
|
99
|
+
+heading-md-default
|
|
100
|
+
|
|
101
|
+
=heading-rg
|
|
102
|
+
+heading-rg-default
|
|
103
|
+
|
|
104
|
+
=heading-sm
|
|
105
|
+
+heading-sm-default
|
|
106
|
+
|
|
107
|
+
=heading-xs
|
|
108
|
+
+heading-xs-default
|
|
109
|
+
|
|
110
|
+
=heading-xxs
|
|
111
|
+
+heading-xxs-default
|
|
112
|
+
|
|
113
|
+
h1, h2, h3, h4, h5, h6
|
|
114
|
+
font-family: $heading-font-family
|
|
115
|
+
|
|
116
|
+
h1
|
|
117
|
+
+heading-lg
|
|
118
|
+
|
|
119
|
+
h2
|
|
120
|
+
+heading-md
|
|
121
|
+
|
|
122
|
+
h3
|
|
123
|
+
+heading-rg
|
|
124
|
+
|
|
125
|
+
h4
|
|
126
|
+
+heading-sm
|
|
127
|
+
|
|
128
|
+
h5
|
|
129
|
+
+heading-xs
|
|
130
|
+
|
|
131
|
+
h6
|
|
132
|
+
+heading-xxs
|
|
133
|
+
|
|
134
|
+
=type
|
|
135
|
+
+type-default
|
|
136
|
+
|
|
137
|
+
html
|
|
138
|
+
+type
|
|
139
|
+
|
|
140
|
+
=list($args...)
|
|
141
|
+
+list-default($args...)
|
|
142
|
+
|
|
143
|
+
//
|
|
144
|
+
// Base Components
|
|
145
|
+
// ===============
|
|
146
|
+
// Base components get imported first so they can be custom themed and
|
|
147
|
+
// used again in other parts of the core library.
|
|
148
|
+
//
|
|
149
|
+
|
|
150
|
+
@import core/_base_components
|
|
151
|
+
|
|
152
|
+
// Alerts
|
|
153
|
+
// ------
|
|
154
|
+
|
|
155
|
+
=alert($args...)
|
|
156
|
+
+alert-default($args...)
|
|
157
|
+
|
|
158
|
+
// Buttons
|
|
159
|
+
// -------
|
|
160
|
+
|
|
161
|
+
=button($args...)
|
|
162
|
+
+button-default($args...)
|
|
163
|
+
|
|
164
|
+
=button-group($args...)
|
|
165
|
+
+button-group-default($args...)
|
|
166
|
+
|
|
167
|
+
// HR
|
|
168
|
+
// --
|
|
169
|
+
|
|
170
|
+
=hr
|
|
171
|
+
+hr-default
|
|
172
|
+
|
|
173
|
+
hr
|
|
174
|
+
+hr
|
|
175
|
+
|
|
176
|
+
// Images
|
|
177
|
+
// ------
|
|
178
|
+
|
|
179
|
+
=thumbnail-content
|
|
180
|
+
+thumbnail-content-default
|
|
181
|
+
|
|
182
|
+
=thumbnail
|
|
183
|
+
+thumbnail-default
|
|
184
|
+
|
|
185
|
+
// Labels
|
|
186
|
+
// ------
|
|
187
|
+
|
|
188
|
+
=label($args...)
|
|
189
|
+
+label-default($args...)
|
|
190
|
+
|
|
191
|
+
// Navigation
|
|
192
|
+
// ----------
|
|
193
|
+
|
|
194
|
+
=navbar($args...)
|
|
195
|
+
+navbar-default($args...)
|
|
196
|
+
|
|
197
|
+
=dropdown_menu
|
|
198
|
+
+dropdown_menu-default
|
|
199
|
+
|
|
200
|
+
// Table
|
|
201
|
+
// -----
|
|
202
|
+
|
|
203
|
+
=table($args...)
|
|
204
|
+
+table-default($args...)
|
|
205
|
+
|
|
206
|
+
//
|
|
207
|
+
// Dependent Components
|
|
208
|
+
// ====================
|
|
209
|
+
// Dependent components keep code DRY by reusing core and base
|
|
210
|
+
// componenets that have already been styled by the theme.
|
|
211
|
+
//
|
|
212
|
+
|
|
213
|
+
@import core/_dependent_components
|
|
214
|
+
|
|
215
|
+
// Forms
|
|
216
|
+
// -----
|
|
217
|
+
|
|
218
|
+
=form($args...)
|
|
219
|
+
+form-default($args...)
|
|
220
|
+
|
|
221
|
+
=form_group($args...)
|
|
222
|
+
+form_group-default($args...)
|
|
223
|
+
|
|
224
|
+
// Growls
|
|
225
|
+
// ------
|
|
226
|
+
|
|
227
|
+
=growl
|
|
228
|
+
+growl-default
|
|
229
|
+
|
|
230
|
+
// Modals
|
|
231
|
+
// ------
|
|
232
|
+
|
|
233
|
+
=modal()
|
|
234
|
+
+modal-default()
|
|
235
|
+
|
|
236
|
+
// Pagination
|
|
237
|
+
// ----------
|
|
238
|
+
|
|
239
|
+
=pagination($args...)
|
|
240
|
+
+pagination-default($args...)
|
|
241
|
+
|
|
242
|
+
// Tabs
|
|
243
|
+
// ----
|
|
244
|
+
|
|
245
|
+
=tabs
|
|
246
|
+
+tabs-default
|
|
247
|
+
|
|
248
|
+
=tab_pane_container
|
|
249
|
+
+tab_pane_container-default
|
|
250
|
+
|
|
251
|
+
// Tooltips
|
|
252
|
+
// --------
|
|
253
|
+
|
|
254
|
+
=tooltip_trigger
|
|
255
|
+
+tooltip_trigger-default
|
|
256
|
+
|
|
257
|
+
@import core/_direct-apply.sass
|
|
258
|
+
@import vendor/_index
|
|
259
|
+
|
|
260
|
+
// Switches
|
|
261
|
+
// --------
|
|
262
|
+
|
|
263
|
+
=switch($args...)
|
|
264
|
+
+switch-default($args...)
|