staple 0.0.9 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -7
- data/Rakefile +1 -0
- data/lib/staple/install_generator.rb +11 -1
- data/source/stylesheets/after.scss +5 -0
- data/source/stylesheets/before.scss +9 -0
- data/source/stylesheets/buttons.scss +0 -0
- data/source/stylesheets/color.scss +0 -0
- data/source/stylesheets/forms.scss +0 -0
- data/source/stylesheets/foundation_and_overrides.scss +3 -0
- data/source/stylesheets/sizing.scss +0 -0
- data/source/stylesheets/typography.scss +0 -0
- data/source/stylesheets/utilities.scss +0 -0
- data/staple.gemspec +6 -6
- metadata +12 -190
- data/config.rb +0 -24
- data/source/CNAME +0 -1
- data/source/_accordion.html.erb +0 -24
- data/source/_accordion_tabs.html.erb +0 -26
- data/source/_accordion_tabs_minimal.html.erb +0 -26
- data/source/_badges.html.erb +0 -7
- data/source/_breadcrumbs.html.erb +0 -7
- data/source/_browser.html.erb +0 -29
- data/source/_button_group.html.erb +0 -18
- data/source/_cards.html.erb +0 -59
- data/source/_centered_navigation.html.erb +0 -38
- data/source/_code.html.erb +0 -10
- data/source/_comment.html.erb +0 -21
- data/source/_device.html.erb +0 -10
- data/source/_dropdown.html.erb +0 -12
- data/source/_expander.html.erb +0 -6
- data/source/_flashes.html.erb +0 -15
- data/source/_footer.html.erb +0 -28
- data/source/_footer_2.html.erb +0 -33
- data/source/_grid_items.html.erb +0 -37
- data/source/_grid_items_lines.html.erb +0 -44
- data/source/_hero.html.erb +0 -11
- data/source/_hover_tile_animation.html.erb +0 -11
- data/source/_icon_bullet_points.html.erb +0 -30
- data/source/_image_gradient_dynamic.html.erb +0 -7
- data/source/_intro_text.html.erb +0 -6
- data/source/_label_alerts.html.erb +0 -5
- data/source/_modal.html.erb +0 -14
- data/source/_navigation.html.erb +0 -44
- data/source/_pagination.html.erb +0 -17
- data/source/_progress_bar.html.erb +0 -3
- data/source/_progress_bar_indication.html.erb +0 -5
- data/source/_search_bar.html.erb +0 -8
- data/source/_search_tools.html.erb +0 -58
- data/source/_side_image.html.erb +0 -10
- data/source/_sliding_menu.html.erb +0 -13
- data/source/_snippet.html.erb +0 -4
- data/source/_switch.html.erb +0 -4
- data/source/_tables.html.erb +0 -31
- data/source/_tables_minimal.html.erb +0 -31
- data/source/_texture-legend.html.erb +0 -24
- data/source/_textures.html.erb +0 -4
- data/source/_tooltip.html.erb +0 -6
- data/source/_type_system_geometric.html.erb +0 -18
- data/source/_type_system_rounded.html.erb +0 -18
- data/source/_type_system_sans.html.erb +0 -18
- data/source/_type_system_serif.html.erb +0 -19
- data/source/_type_system_slab.html.erb +0 -18
- data/source/_type_system_traditional.html.erb +0 -18
- data/source/_vertical_tabs.html.erb +0 -30
- data/source/_video.html.erb +0 -5
- data/source/components.html.erb +0 -174
- data/source/foundation/application.html.slim +0 -17
- data/source/foundation/foundation_and_overrides.scss +0 -4
- data/source/index.html.erb +0 -162
- data/source/javascripts/all.js +0 -11
- data/source/javascripts/jquery.erToc.js +0 -477
- data/source/javascripts/jquery.glide.js +0 -941
- data/source/javascripts/staple/accordion.js +0 -5
- data/source/javascripts/staple/accordion_tabs.js +0 -19
- data/source/javascripts/staple/accordion_tabs_minimal.js +0 -19
- data/source/javascripts/staple/centered_navigation.js +0 -14
- data/source/javascripts/staple/dropdown.js +0 -9
- data/source/javascripts/staple/expander.js +0 -53
- data/source/javascripts/staple/navigation.js +0 -23
- data/source/javascripts/staple/search_tools.js +0 -110
- data/source/javascripts/staple/sliding_menu.js +0 -13
- data/source/javascripts/staple/vertical_tabs.js +0 -32
- data/source/layouts/layout.erb +0 -1
- data/source/refills-hero.html.erb +0 -7
- data/source/refills-menu.html.erb +0 -5
- data/source/refills-page-scripts.html.erb +0 -66
- data/source/stylesheets/_bourbon-nav.scss +0 -86
- data/source/stylesheets/_normalize.scss +0 -425
- data/source/stylesheets/_refills-nav.scss +0 -102
- data/source/stylesheets/_refills-styles.scss +0 -543
- data/source/stylesheets/all.scss +0 -61
- data/source/stylesheets/staple/_accordion-tabs-minimal.scss +0 -60
- data/source/stylesheets/staple/_accordion-tabs.scss +0 -88
- data/source/stylesheets/staple/_accordion.scss +0 -55
- data/source/stylesheets/staple/_badges.scss +0 -44
- data/source/stylesheets/staple/_breadcrumbs.scss +0 -84
- data/source/stylesheets/staple/_browser.scss +0 -141
- data/source/stylesheets/staple/_button-group.scss +0 -81
- data/source/stylesheets/staple/_cards.scss +0 -132
- data/source/stylesheets/staple/_centered-navigation.scss +0 -251
- data/source/stylesheets/staple/_comment.scss +0 -60
- data/source/stylesheets/staple/_device.scss +0 -83
- data/source/stylesheets/staple/_dropdown.scss +0 -127
- data/source/stylesheets/staple/_expander.scss +0 -30
- data/source/stylesheets/staple/_flashes.scss +0 -29
- data/source/stylesheets/staple/_footer-2.scss +0 -117
- data/source/stylesheets/staple/_footer.scss +0 -76
- data/source/stylesheets/staple/_grid-items-lines.scss +0 -86
- data/source/stylesheets/staple/_grid-items.scss +0 -97
- data/source/stylesheets/staple/_hero.scss +0 -54
- data/source/stylesheets/staple/_hover-tile-animation.scss +0 -52
- data/source/stylesheets/staple/_icon-bullet-points.scss +0 -63
- data/source/stylesheets/staple/_image-gradient-dynamic.scss +0 -59
- data/source/stylesheets/staple/_intro-text.scss +0 -67
- data/source/stylesheets/staple/_label-alerts.scss +0 -11
- data/source/stylesheets/staple/_modal.scss +0 -147
- data/source/stylesheets/staple/_navigation.scss +0 -329
- data/source/stylesheets/staple/_pagination.scss +0 -51
- data/source/stylesheets/staple/_progress-bar-indication.scss +0 -39
- data/source/stylesheets/staple/_progress-bar.scss +0 -83
- data/source/stylesheets/staple/_search-bar.scss +0 -40
- data/source/stylesheets/staple/_search-tools.scss +0 -67
- data/source/stylesheets/staple/_side-image.scss +0 -59
- data/source/stylesheets/staple/_sliding-menu.scss +0 -63
- data/source/stylesheets/staple/_switch.scss +0 -77
- data/source/stylesheets/staple/_tables-minimal.scss +0 -60
- data/source/stylesheets/staple/_tables.scss +0 -88
- data/source/stylesheets/staple/_texture-legend.scss +0 -182
- data/source/stylesheets/staple/_textures.scss +0 -119
- data/source/stylesheets/staple/_tooltip.scss +0 -57
- data/source/stylesheets/staple/_type-system-geometric.scss +0 -103
- data/source/stylesheets/staple/_type-system-rounded.scss +0 -107
- data/source/stylesheets/staple/_type-system-sans.scss +0 -110
- data/source/stylesheets/staple/_type-system-serif.scss +0 -111
- data/source/stylesheets/staple/_type-system-slab.scss +0 -107
- data/source/stylesheets/staple/_type-system-traditional.scss +0 -114
- data/source/stylesheets/staple/_vertical-tabs.scss +0 -105
- data/source/stylesheets/staple/_video.scss +0 -21
- data/source/type-systems.html.erb +0 -67
- data/source/vendor/javascripts/ZeroClipboard.min.js +0 -9
- data/source/vendor/javascripts/fixedsticky.js +0 -185
- data/source/vendor/javascripts/prism.js +0 -13
- data/source/vendor/javascripts/smooth-scroll.js +0 -125
- data/source/vendor/stylesheets/fixedsticky.css +0 -22
- data/source/vendor/stylesheets/prism.css +0 -126
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cb1ab7deac68105ba25cc4cc760b54b24eebce3
|
4
|
+
data.tar.gz: b90559e7aac08c6e848e6389bbbd2c07ec31ed67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4000c40f8e3595d9ebccaa2a45d9c93648e67046be1dd994c22471b0bf1cc663be8fb1fe03e12c02716ddf12e7fabab721e6599cc32b879c3bea8220c9cf139
|
7
|
+
data.tar.gz: a4f462bd3836eba657330924202f53ffcd457e1fec5070dc8b31a1acbf3fd1b368ad557675a76ace6d07cb656e502965924b55a7751968f3c29fa4f3d6783a67
|
data/README.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
High level UI framework. Built on top of foundation.
|
4
4
|
|
5
|
+
##TODO
|
6
|
+
|
7
|
+
* add overrides to foundation file using big list, seperate into files
|
8
|
+
* declaring as dependency does not load it?
|
9
|
+
* integration with existing projects
|
10
|
+
|
5
11
|
##Install
|
6
12
|
```ruby
|
7
13
|
#Gemfile
|
@@ -50,11 +56,7 @@ staple typeface_secondary:ComicSans
|
|
50
56
|
staple color_scheme:Flatland
|
51
57
|
```
|
52
58
|
|
53
|
-
|
54
|
-
gem push staple-0.0.1.gem
|
59
|
+
##Build
|
55
60
|
|
56
|
-
|
57
|
-
|
58
|
-
* declaring as dependency does not load it?
|
59
|
-
* make scaffold/generator use simple form/slim. not generate css
|
60
|
-
* make install compatible with existing projects
|
61
|
+
gem build staple.gemspec
|
62
|
+
gem push staple-0.0.1.gem
|
data/Rakefile
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
#run tests here
|
@@ -7,7 +7,7 @@ module Staple
|
|
7
7
|
def foundation_install
|
8
8
|
generate "foundation:install", "--slim" #rails g foundation:install --slim
|
9
9
|
# trim fat
|
10
|
-
copy_file "source/
|
10
|
+
copy_file "source/stylesheets/foundation_and_overrides.scss", "app/assets/stylesheets/foundation_and_overrides.scss", :force => true
|
11
11
|
end
|
12
12
|
|
13
13
|
def simple_form_install
|
@@ -47,6 +47,16 @@ module Staple
|
|
47
47
|
end
|
48
48
|
|
49
49
|
#import base style
|
50
|
+
def staple_install
|
51
|
+
copy_file "source/stylesheets/before.scss", "app/assets/stylesheets/before.scss"
|
52
|
+
copy_file "source/stylesheets/after.scss", "app/assets/stylesheets/after.scss"
|
53
|
+
copy_file "source/stylesheets/buttons.scss", "app/assets/stylesheets/buttons.scss"
|
54
|
+
copy_file "source/stylesheets/color.scss", "app/assets/stylesheets/color.scss"
|
55
|
+
copy_file "source/stylesheets/forms.scss", "app/assets/stylesheets/forms.scss"
|
56
|
+
copy_file "source/stylesheets/sizing.scss", "app/assets/stylesheets/sizing.scss"
|
57
|
+
copy_file "source/stylesheets/typography.scss", "app/assets/stylesheets/typography.scss"
|
58
|
+
copy_file "source/stylesheets/utilities.scss", "app/assets/stylesheets/utilities.scss"
|
59
|
+
end
|
50
60
|
|
51
61
|
def detect_css_format
|
52
62
|
return ['.css', ' *='] if File.exist?('app/assets/stylesheets/application.css')
|
@@ -0,0 +1,9 @@
|
|
1
|
+
//before.scss
|
2
|
+
//must be loaded before loading foundation because variables will affect foundation
|
3
|
+
@import "foundation/functions";
|
4
|
+
$include-html-classes: true;
|
5
|
+
$include-html-global-classes: $include-html-classes;
|
6
|
+
@import 'color';
|
7
|
+
@import 'typography';
|
8
|
+
@import 'sizing';
|
9
|
+
//additional based on variables
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/staple.gemspec
CHANGED
@@ -4,8 +4,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "staple"
|
7
|
-
spec.version = "0.0
|
8
|
-
spec.summary = "
|
7
|
+
spec.version = "0.1.0"
|
8
|
+
spec.summary = "A high level ui generator. WIP."
|
9
9
|
spec.description = "Coming Soon. Built on top of foundation."
|
10
10
|
spec.authors = ["Ryan Helsing"]
|
11
11
|
spec.email = ["ryan.helsing@centerian.com"]
|
@@ -17,10 +17,10 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.add_dependency('font-awesome-rails', '~> 4.2')
|
18
18
|
spec.add_dependency('slim-rails', '~> 2.1')
|
19
19
|
|
20
|
-
spec.add_development_dependency('rake')
|
21
|
-
spec.add_development_dependency('rspec')
|
22
|
-
spec.add_development_dependency('rdoc')
|
23
|
-
spec.add_development_dependency('bundler')
|
20
|
+
# spec.add_development_dependency('rake')
|
21
|
+
# spec.add_development_dependency('rspec')
|
22
|
+
# spec.add_development_dependency('rdoc')
|
23
|
+
# spec.add_development_dependency('bundler')
|
24
24
|
|
25
25
|
spec.files = `git ls-files`.split($/)
|
26
26
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: staple
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Helsing
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: foundation-rails
|
@@ -66,62 +66,6 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '2.1'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rake
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rspec
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rdoc
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: bundler
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
69
|
description: Coming Soon. Built on top of foundation.
|
126
70
|
email:
|
127
71
|
- ryan.helsing@centerian.com
|
@@ -134,143 +78,21 @@ files:
|
|
134
78
|
- LICENSE.md
|
135
79
|
- README.md
|
136
80
|
- Rakefile
|
137
|
-
- config.rb
|
138
81
|
- lib/snippet_helpers.rb
|
139
82
|
- lib/staple.rb
|
140
83
|
- lib/staple/import_generator.rb
|
141
84
|
- lib/staple/install_generator.rb
|
142
85
|
- lib/staple/list_generator.rb
|
143
|
-
- source/CNAME
|
144
|
-
- source/_accordion.html.erb
|
145
|
-
- source/_accordion_tabs.html.erb
|
146
|
-
- source/_accordion_tabs_minimal.html.erb
|
147
|
-
- source/_badges.html.erb
|
148
|
-
- source/_breadcrumbs.html.erb
|
149
|
-
- source/_browser.html.erb
|
150
|
-
- source/_button_group.html.erb
|
151
|
-
- source/_cards.html.erb
|
152
|
-
- source/_centered_navigation.html.erb
|
153
|
-
- source/_code.html.erb
|
154
|
-
- source/_comment.html.erb
|
155
|
-
- source/_device.html.erb
|
156
|
-
- source/_dropdown.html.erb
|
157
|
-
- source/_expander.html.erb
|
158
|
-
- source/_flashes.html.erb
|
159
|
-
- source/_footer.html.erb
|
160
|
-
- source/_footer_2.html.erb
|
161
|
-
- source/_grid_items.html.erb
|
162
|
-
- source/_grid_items_lines.html.erb
|
163
|
-
- source/_hero.html.erb
|
164
|
-
- source/_hover_tile_animation.html.erb
|
165
|
-
- source/_icon_bullet_points.html.erb
|
166
|
-
- source/_image_gradient_dynamic.html.erb
|
167
|
-
- source/_intro_text.html.erb
|
168
|
-
- source/_label_alerts.html.erb
|
169
|
-
- source/_modal.html.erb
|
170
|
-
- source/_navigation.html.erb
|
171
|
-
- source/_pagination.html.erb
|
172
|
-
- source/_progress_bar.html.erb
|
173
|
-
- source/_progress_bar_indication.html.erb
|
174
|
-
- source/_search_bar.html.erb
|
175
|
-
- source/_search_tools.html.erb
|
176
|
-
- source/_side_image.html.erb
|
177
|
-
- source/_sliding_menu.html.erb
|
178
|
-
- source/_snippet.html.erb
|
179
|
-
- source/_switch.html.erb
|
180
|
-
- source/_tables.html.erb
|
181
|
-
- source/_tables_minimal.html.erb
|
182
|
-
- source/_texture-legend.html.erb
|
183
|
-
- source/_textures.html.erb
|
184
|
-
- source/_tooltip.html.erb
|
185
|
-
- source/_type_system_geometric.html.erb
|
186
|
-
- source/_type_system_rounded.html.erb
|
187
|
-
- source/_type_system_sans.html.erb
|
188
|
-
- source/_type_system_serif.html.erb
|
189
|
-
- source/_type_system_slab.html.erb
|
190
|
-
- source/_type_system_traditional.html.erb
|
191
|
-
- source/_vertical_tabs.html.erb
|
192
|
-
- source/_video.html.erb
|
193
|
-
- source/components.html.erb
|
194
|
-
- source/foundation/application.html.slim
|
195
|
-
- source/foundation/foundation_and_overrides.scss
|
196
|
-
- source/index.html.erb
|
197
|
-
- source/javascripts/all.js
|
198
|
-
- source/javascripts/jquery.erToc.js
|
199
|
-
- source/javascripts/jquery.glide.js
|
200
|
-
- source/javascripts/staple/accordion.js
|
201
|
-
- source/javascripts/staple/accordion_tabs.js
|
202
|
-
- source/javascripts/staple/accordion_tabs_minimal.js
|
203
|
-
- source/javascripts/staple/centered_navigation.js
|
204
|
-
- source/javascripts/staple/dropdown.js
|
205
|
-
- source/javascripts/staple/expander.js
|
206
|
-
- source/javascripts/staple/navigation.js
|
207
|
-
- source/javascripts/staple/search_tools.js
|
208
|
-
- source/javascripts/staple/sliding_menu.js
|
209
|
-
- source/javascripts/staple/vertical_tabs.js
|
210
|
-
- source/layouts/layout.erb
|
211
|
-
- source/refills-hero.html.erb
|
212
|
-
- source/refills-menu.html.erb
|
213
|
-
- source/refills-page-scripts.html.erb
|
214
86
|
- source/simple_form/_form.html.slim
|
215
|
-
- source/stylesheets/
|
216
|
-
- source/stylesheets/
|
217
|
-
- source/stylesheets/
|
218
|
-
- source/stylesheets/
|
219
|
-
- source/stylesheets/
|
220
|
-
- source/stylesheets/
|
221
|
-
- source/stylesheets/
|
222
|
-
- source/stylesheets/
|
223
|
-
- source/stylesheets/
|
224
|
-
- source/stylesheets/staple/_breadcrumbs.scss
|
225
|
-
- source/stylesheets/staple/_browser.scss
|
226
|
-
- source/stylesheets/staple/_button-group.scss
|
227
|
-
- source/stylesheets/staple/_cards.scss
|
228
|
-
- source/stylesheets/staple/_centered-navigation.scss
|
229
|
-
- source/stylesheets/staple/_comment.scss
|
230
|
-
- source/stylesheets/staple/_device.scss
|
231
|
-
- source/stylesheets/staple/_dropdown.scss
|
232
|
-
- source/stylesheets/staple/_expander.scss
|
233
|
-
- source/stylesheets/staple/_flashes.scss
|
234
|
-
- source/stylesheets/staple/_footer-2.scss
|
235
|
-
- source/stylesheets/staple/_footer.scss
|
236
|
-
- source/stylesheets/staple/_grid-items-lines.scss
|
237
|
-
- source/stylesheets/staple/_grid-items.scss
|
238
|
-
- source/stylesheets/staple/_hero.scss
|
239
|
-
- source/stylesheets/staple/_hover-tile-animation.scss
|
240
|
-
- source/stylesheets/staple/_icon-bullet-points.scss
|
241
|
-
- source/stylesheets/staple/_image-gradient-dynamic.scss
|
242
|
-
- source/stylesheets/staple/_intro-text.scss
|
243
|
-
- source/stylesheets/staple/_label-alerts.scss
|
244
|
-
- source/stylesheets/staple/_modal.scss
|
245
|
-
- source/stylesheets/staple/_navigation.scss
|
246
|
-
- source/stylesheets/staple/_pagination.scss
|
247
|
-
- source/stylesheets/staple/_progress-bar-indication.scss
|
248
|
-
- source/stylesheets/staple/_progress-bar.scss
|
249
|
-
- source/stylesheets/staple/_search-bar.scss
|
250
|
-
- source/stylesheets/staple/_search-tools.scss
|
251
|
-
- source/stylesheets/staple/_side-image.scss
|
252
|
-
- source/stylesheets/staple/_sliding-menu.scss
|
253
|
-
- source/stylesheets/staple/_switch.scss
|
254
|
-
- source/stylesheets/staple/_tables-minimal.scss
|
255
|
-
- source/stylesheets/staple/_tables.scss
|
256
|
-
- source/stylesheets/staple/_texture-legend.scss
|
257
|
-
- source/stylesheets/staple/_textures.scss
|
258
|
-
- source/stylesheets/staple/_tooltip.scss
|
259
|
-
- source/stylesheets/staple/_type-system-geometric.scss
|
260
|
-
- source/stylesheets/staple/_type-system-rounded.scss
|
261
|
-
- source/stylesheets/staple/_type-system-sans.scss
|
262
|
-
- source/stylesheets/staple/_type-system-serif.scss
|
263
|
-
- source/stylesheets/staple/_type-system-slab.scss
|
264
|
-
- source/stylesheets/staple/_type-system-traditional.scss
|
265
|
-
- source/stylesheets/staple/_vertical-tabs.scss
|
266
|
-
- source/stylesheets/staple/_video.scss
|
267
|
-
- source/type-systems.html.erb
|
268
|
-
- source/vendor/javascripts/ZeroClipboard.min.js
|
269
|
-
- source/vendor/javascripts/fixedsticky.js
|
270
|
-
- source/vendor/javascripts/prism.js
|
271
|
-
- source/vendor/javascripts/smooth-scroll.js
|
272
|
-
- source/vendor/stylesheets/fixedsticky.css
|
273
|
-
- source/vendor/stylesheets/prism.css
|
87
|
+
- source/stylesheets/after.scss
|
88
|
+
- source/stylesheets/before.scss
|
89
|
+
- source/stylesheets/buttons.scss
|
90
|
+
- source/stylesheets/color.scss
|
91
|
+
- source/stylesheets/forms.scss
|
92
|
+
- source/stylesheets/foundation_and_overrides.scss
|
93
|
+
- source/stylesheets/sizing.scss
|
94
|
+
- source/stylesheets/typography.scss
|
95
|
+
- source/stylesheets/utilities.scss
|
274
96
|
- staple.gemspec
|
275
97
|
homepage: https://github.com/rhelsing/staple
|
276
98
|
licenses:
|
@@ -295,5 +117,5 @@ rubyforge_project:
|
|
295
117
|
rubygems_version: 2.4.2
|
296
118
|
signing_key:
|
297
119
|
specification_version: 4
|
298
|
-
summary:
|
120
|
+
summary: A high level ui generator. WIP.
|
299
121
|
test_files: []
|
data/config.rb
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
|
2
|
-
# require 'lib/snippet_helpers'
|
3
|
-
|
4
|
-
# activate :directory_indexes
|
5
|
-
|
6
|
-
# set :css_dir, 'stylesheets'
|
7
|
-
# set :images_dir, 'images'
|
8
|
-
# set :js_dir, 'javascripts'
|
9
|
-
|
10
|
-
# helpers SnippetHelpers
|
11
|
-
|
12
|
-
# ready do
|
13
|
-
# sprockets.append_path 'vendor/stylesheets'
|
14
|
-
# sprockets.append_path 'vendor/javascripts'
|
15
|
-
# end
|
16
|
-
|
17
|
-
# configure :development do
|
18
|
-
# activate :livereload
|
19
|
-
# end
|
20
|
-
|
21
|
-
# configure :build do
|
22
|
-
# activate :relative_assets
|
23
|
-
# set :relative_links, true
|
24
|
-
# end
|
data/source/CNAME
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
refills.bourbon.io
|
data/source/_accordion.html.erb
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
<ul class="accordion">
|
2
|
-
<li>
|
3
|
-
<a href="javascript:void(0)" class="js-accordion-trigger">Accordion Item</a>
|
4
|
-
<ul class="submenu">
|
5
|
-
<li>
|
6
|
-
<a href="javascript:void(0)">Sub Item 1</a>
|
7
|
-
</li>
|
8
|
-
<li>
|
9
|
-
<a href="javascript:void(0)">Sub Item 2</a>
|
10
|
-
</li>
|
11
|
-
</ul>
|
12
|
-
</li>
|
13
|
-
<li>
|
14
|
-
<a href="javascript:void(0)" class="js-accordion-trigger">Another Item</a>
|
15
|
-
<ul class="submenu">
|
16
|
-
<li>
|
17
|
-
<a href="javascript:void(0)">Sub Item 1</a>
|
18
|
-
</li>
|
19
|
-
<li>
|
20
|
-
<a href="javascript:void(0)">Sub Item 2</a>
|
21
|
-
</li>
|
22
|
-
</ul>
|
23
|
-
</li>
|
24
|
-
</ul>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<ul class="accordion-tabs">
|
2
|
-
<li class="tab-header-and-content">
|
3
|
-
<a href="#" class="is-active tab-link">Tab Item</a>
|
4
|
-
<div class="tab-content">
|
5
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tincidunt pellentesque lorem, id suscipit dolor rutrum id. Morbi facilisis porta volutpat. Fusce adipiscing, mauris quis congue tincidunt, sapien purus suscipit odio, quis dictum odio tortor in sem. Ut sit amet libero nec orci mattis fringilla. Praesent eu ipsum in sapien tincidunt molestie sed ut magna. Nam accumsan dui at orci rhoncus pharetra tincidunt elit ullamcorper. Sed ac mauris ipsum. Nullam imperdiet sapien id purus pretium id aliquam mi ullamcorper.</p>
|
6
|
-
</div>
|
7
|
-
</li>
|
8
|
-
<li class="tab-header-and-content">
|
9
|
-
<a href="#" class="tab-link">Another Tab</a>
|
10
|
-
<div class="tab-content">
|
11
|
-
<p>Ut laoreet augue et neque pretium non sagittis nibh pulvinar. Etiam ornare tincidunt orci quis ultrices. Pellentesque ac sapien ac purus gravida ullamcorper. Duis rhoncus sodales lacus, vitae adipiscing tellus pharetra sed. Praesent bibendum lacus quis metus condimentum ac accumsan orci vulputate. Aenean fringilla massa vitae metus facilisis congue. Morbi placerat eros ac sapien semper pulvinar. Vestibulum facilisis, ligula a molestie venenatis, metus justo ullamcorper ipsum, congue aliquet dolor tortor eu neque. Sed imperdiet, nibh ut vestibulum tempor, nibh dui volutpat lacus, vel gravida magna justo sit amet quam. Quisque tincidunt ligula at nisl imperdiet sagittis. Morbi rutrum tempor arcu, non ultrices sem semper a. Aliquam quis sem mi.</p>
|
12
|
-
</div>
|
13
|
-
</li>
|
14
|
-
<li class="tab-header-and-content">
|
15
|
-
<a href="#" class="tab-link">Third</a>
|
16
|
-
<div class="tab-content">
|
17
|
-
<p>Donec mattis mauris gravida metus laoreet non rutrum sem viverra. Aenean nibh libero, viverra vel vestibulum in, porttitor ut sapien. Phasellus tempor lorem id justo ornare tincidunt. Nulla faucibus, purus eu placerat fermentum, velit mi iaculis nunc, bibendum tincidunt ipsum justo eu mauris. Nulla facilisi. Vestibulum vel lectus ac purus tempus suscipit nec sit amet eros. Nullam fringilla, enim eu lobortis dapibus, quam magna tincidunt nibh, sit amet imperdiet dolor justo congue turpis.</p>
|
18
|
-
</div>
|
19
|
-
</li>
|
20
|
-
<li class="tab-header-and-content">
|
21
|
-
<a href="#" class="tab-link">Last Item</a>
|
22
|
-
<div class="tab-content">
|
23
|
-
<p>Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus dui urna, mollis vel suscipit in, pharetra at ligula. Pellentesque a est vel est fermentum pellentesque sed sit amet dolor. Nunc in dapibus nibh. Aliquam erat volutpat. Phasellus vel dui sed nibh iaculis convallis id sit amet urna. Proin nec tellus quis justo consequat accumsan. Vivamus turpis enim, auctor eget placerat eget, aliquam ut sapien.</p>
|
24
|
-
</div>
|
25
|
-
</li>
|
26
|
-
</ul>
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<ul class="accordion-tabs-minimal">
|
2
|
-
<li class="tab-header-and-content">
|
3
|
-
<a href="#" class="tab-link is-active">Tab Item</a>
|
4
|
-
<div class="tab-content">
|
5
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras tincidunt pellentesque lorem, id suscipit dolor rutrum id. Morbi facilisis porta volutpat. Fusce adipiscing, mauris quis congue tincidunt, sapien purus suscipit odio, quis dictum odio tortor in sem. Ut sit amet libero nec orci mattis fringilla. Praesent eu ipsum in sapien tincidunt molestie sed ut magna. Nam accumsan dui at orci rhoncus pharetra tincidunt elit ullamcorper. Sed ac mauris ipsum. Nullam imperdiet sapien id purus pretium id aliquam mi ullamcorper.</p>
|
6
|
-
</div>
|
7
|
-
</li>
|
8
|
-
<li class="tab-header-and-content">
|
9
|
-
<a href="#" class="tab-link">Another Tab</a>
|
10
|
-
<div class="tab-content">
|
11
|
-
<p>Ut laoreet augue et neque pretium non sagittis nibh pulvinar. Etiam ornare tincidunt orci quis ultrices. Pellentesque ac sapien ac purus gravida ullamcorper. Duis rhoncus sodales lacus, vitae adipiscing tellus pharetra sed. Praesent bibendum lacus quis metus condimentum ac accumsan orci vulputate. Aenean fringilla massa vitae metus facilisis congue. Morbi placerat eros ac sapien semper pulvinar. Vestibulum facilisis, ligula a molestie venenatis, metus justo ullamcorper ipsum, congue aliquet dolor tortor eu neque. Sed imperdiet, nibh ut vestibulum tempor, nibh dui volutpat lacus, vel gravida magna justo sit amet quam. Quisque tincidunt ligula at nisl imperdiet sagittis. Morbi rutrum tempor arcu, non ultrices sem semper a. Aliquam quis sem mi.</p>
|
12
|
-
</div>
|
13
|
-
</li>
|
14
|
-
<li class="tab-header-and-content">
|
15
|
-
<a href="#" class="tab-link">Third</a>
|
16
|
-
<div class="tab-content">
|
17
|
-
<p>Donec mattis mauris gravida metus laoreet non rutrum sem viverra. Aenean nibh libero, viverra vel vestibulum in, porttitor ut sapien. Phasellus tempor lorem id justo ornare tincidunt. Nulla faucibus, purus eu placerat fermentum, velit mi iaculis nunc, bibendum tincidunt ipsum justo eu mauris. Nulla facilisi. Vestibulum vel lectus ac purus tempus suscipit nec sit amet eros. Nullam fringilla, enim eu lobortis dapibus, quam magna tincidunt nibh, sit amet imperdiet dolor justo congue turpis.</p>
|
18
|
-
</div>
|
19
|
-
</li>
|
20
|
-
<li class="tab-header-and-content">
|
21
|
-
<a href="#" class="tab-link">Last Item</a>
|
22
|
-
<div class="tab-content">
|
23
|
-
<p>Sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus dui urna, mollis vel suscipit in, pharetra at ligula. Pellentesque a est vel est fermentum pellentesque sed sit amet dolor. Nunc in dapibus nibh. Aliquam erat volutpat. Phasellus vel dui sed nibh iaculis convallis id sit amet urna. Proin nec tellus quis justo consequat accumsan. Vivamus turpis enim, auctor eget placerat eget, aliquam ut sapien.</p>
|
24
|
-
</div>
|
25
|
-
</li>
|
26
|
-
</ul>
|
data/source/_badges.html.erb
DELETED
data/source/_browser.html.erb
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
<div class = "browsers">
|
2
|
-
<div class = "browser">
|
3
|
-
<div class="browser-top-bar">
|
4
|
-
<div class="browser-circle"></div>
|
5
|
-
<div class="browser-circle"></div>
|
6
|
-
<div class="browser-circle"></div>
|
7
|
-
</div>
|
8
|
-
<div class="browser-content"></div>
|
9
|
-
</div>
|
10
|
-
<div class = "browser">
|
11
|
-
<div class="browser-top-bar">
|
12
|
-
<div class="browser-circle"></div>
|
13
|
-
<div class="browser-circle"></div>
|
14
|
-
<div class="browser-circle"></div>
|
15
|
-
</div>
|
16
|
-
<div class="browser-content">
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
<div class = "browser">
|
20
|
-
<div class="browser-top-bar">
|
21
|
-
<div class="browser-circle"></div>
|
22
|
-
<div class="browser-circle"></div>
|
23
|
-
<div class="browser-circle"></div>
|
24
|
-
</div>
|
25
|
-
<div class="browser-content"></div>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
<div class="cover"></div>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<div class="button-group">
|
2
|
-
<label>
|
3
|
-
<input type="radio" name="button-group" value="item" checked>
|
4
|
-
<span class="button-group-item">Item</span>
|
5
|
-
</label>
|
6
|
-
<label>
|
7
|
-
<input type="radio" name="button-group" value="other-item">
|
8
|
-
<span class="button-group-item">Other But Longer Item</span>
|
9
|
-
</label>
|
10
|
-
<label>
|
11
|
-
<input type="radio" name="button-group" value="other-item">
|
12
|
-
<span class="button-group-item">Third</span>
|
13
|
-
</label>
|
14
|
-
<label>
|
15
|
-
<input type="radio" name="button-group" value="third">
|
16
|
-
<span class="button-group-item">Last Item</span>
|
17
|
-
</label>
|
18
|
-
</div>
|
data/source/_cards.html.erb
DELETED
@@ -1,59 +0,0 @@
|
|
1
|
-
<div class="cards">
|
2
|
-
<div class="card">
|
3
|
-
<div class="card-image">
|
4
|
-
<img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/mountains.png" alt="">
|
5
|
-
</div>
|
6
|
-
<div class="card-header">
|
7
|
-
First Card
|
8
|
-
</div>
|
9
|
-
<div class="card-copy">
|
10
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, officiis sunt neque facilis culpa molestiae necessitatibus delectus veniam provident.</p>
|
11
|
-
</div>
|
12
|
-
<div class="card-stats">
|
13
|
-
<ul>
|
14
|
-
<li>98<span>Items</span></li>
|
15
|
-
<li>298<span>Things</span></li>
|
16
|
-
<li>923<span>Objects</span></li>
|
17
|
-
</ul>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
|
21
|
-
<div class="card">
|
22
|
-
<div class="ribbon-wrapper"><div class="ribbon">RIBBON</div></div>
|
23
|
-
<div class="card-image">
|
24
|
-
<img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/mountains-4.png" alt="">
|
25
|
-
</div>
|
26
|
-
<div class="card-header">
|
27
|
-
Another Card
|
28
|
-
</div>
|
29
|
-
<div class="card-copy">
|
30
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, officiis sunt neque facilis culpa molestiae necessitatibus delectus veniam provident.</p>
|
31
|
-
</div>
|
32
|
-
<div class="card-stats">
|
33
|
-
<ul>
|
34
|
-
<li>98<span>Items</span></li>
|
35
|
-
<li>298<span>Things</span></li>
|
36
|
-
<li>923<span>Objects</span></li>
|
37
|
-
</ul>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
|
41
|
-
<div class="card">
|
42
|
-
<div class="card-image">
|
43
|
-
<img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/mountains-3.png" alt="">
|
44
|
-
</div>
|
45
|
-
<div class="card-header">
|
46
|
-
The Last Card
|
47
|
-
</div>
|
48
|
-
<div class="card-copy">
|
49
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fuga, officiis sunt neque facilis culpa molestiae necessitatibus delectus veniam provident.</p>
|
50
|
-
</div>
|
51
|
-
<div class="card-stats">
|
52
|
-
<ul>
|
53
|
-
<li>98<span>Items</span></li>
|
54
|
-
<li>298<span>Things</span></li>
|
55
|
-
<li>923<span>Objects</span></li>
|
56
|
-
</ul>
|
57
|
-
</div>
|
58
|
-
</div>
|
59
|
-
</div>
|
@@ -1,38 +0,0 @@
|
|
1
|
-
<header class="centered-navigation">
|
2
|
-
<div class="centered-navigation-wrapper">
|
3
|
-
<a href="javascript:void(0)" class="mobile-logo">
|
4
|
-
<img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/placeholder_logo_3_dark.png" alt="Logo image">
|
5
|
-
</a>
|
6
|
-
<a href="" class="centered-navigation-menu-button">MENU</a>
|
7
|
-
<ul class="centered-navigation-menu">
|
8
|
-
<li class="nav-link"><a href="javascript:void(0)">Products</a></li>
|
9
|
-
<li class="nav-link"><a href="javascript:void(0)">About Us</a></li>
|
10
|
-
<li class="nav-link"><a href="javascript:void(0)">Contact</a></li>
|
11
|
-
<li class="nav-link logo">
|
12
|
-
<a href="javascript:void(0)" class="logo">
|
13
|
-
<img src="https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/placeholder_logo_3_dark.png" alt="Logo image">
|
14
|
-
</a>
|
15
|
-
</li>
|
16
|
-
<li class="nav-link"><a href="javascript:void(0)">Testimonials</a></li>
|
17
|
-
<li class="nav-link more"><a href="javascript:void(0)">More</a>
|
18
|
-
<ul class="submenu">
|
19
|
-
<li><a href="javascript:void(0)">Submenu Item</a></li>
|
20
|
-
<li><a href="javascript:void(0)">Another Item</a></li>
|
21
|
-
<li class="more"><a href="javascript:void(0)">Item with submenu</a>
|
22
|
-
<ul class="submenu">
|
23
|
-
<li><a href="javascript:void(0)">Sub-submenu Item</a></li>
|
24
|
-
<li><a href="javascript:void(0)">Another Item</a></li>
|
25
|
-
</ul>
|
26
|
-
</li>
|
27
|
-
<li class="more"><a href="javascript:void(0)">Another submenu</a>
|
28
|
-
<ul class="submenu">
|
29
|
-
<li><a href="javascript:void(0)">Sub-submenu</a></li>
|
30
|
-
<li><a href="javascript:void(0)">An Item</a></li>
|
31
|
-
</ul>
|
32
|
-
</li>
|
33
|
-
</ul>
|
34
|
-
</li>
|
35
|
-
<li class="nav-link"><a href="javascript:void(0)">Sign up</a></li>
|
36
|
-
</ul>
|
37
|
-
</div>
|
38
|
-
</header>
|