epyce 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/LICENSE +3 -0
- data/README.md +59 -0
- data/Rakefile +1 -0
- data/VERSION +1 -0
- data/app/assets/stylesheets/html5S-libs/_core.sass +40 -0
- data/app/assets/stylesheets/html5S-libs/_normal.sass +193 -0
- data/app/assets/stylesheets/html5S-libs/_reset.sass +217 -0
- data/epyce.gemspec +23 -0
- data/lib/epyce.rb +6 -0
- data/lib/epyce/railtie.rb +12 -0
- data/lib/epyce/version.rb +5 -0
- data/lib/generators/epyce/install/install_generator.rb +24 -0
- data/lib/generators/epyce/template/app/views/layouts/_flashes.html.haml +4 -0
- data/lib/generators/epyce/template/app/views/layouts/_footer.html.haml +2 -0
- data/lib/generators/epyce/template/app/views/layouts/_header.html.haml +1 -0
- data/lib/generators/epyce/template/app/views/layouts/application.html.haml +57 -0
- data/lib/generators/epyce/template/public/apple-touch-icon-114x114-precomposed.png +0 -0
- data/lib/generators/epyce/template/public/apple-touch-icon-57x57-precomposed.png +0 -0
- data/lib/generators/epyce/template/public/apple-touch-icon-72x72-precomposed.png +0 -0
- data/lib/generators/epyce/template/public/apple-touch-icon-precomposed.png +0 -0
- data/lib/generators/epyce/template/public/apple-touch-icon.png +0 -0
- data/lib/generators/epyce/template/public/crossdomain.xml +14 -0
- data/lib/generators/epyce/template/public/favicon.png +0 -0
- data/vendor/assets/javascripts/epyce-debug.js.coffee +4 -0
- data/vendor/assets/javascripts/epyce-debug/dd_belatedpng.min.js +13 -0
- data/vendor/assets/javascripts/epyce-debug/head.js +681 -0
- data/vendor/assets/javascripts/epyce-debug/knockout-1.2.1.debug.js +2219 -0
- data/vendor/assets/javascripts/epyce-debug/respond.min.js +7 -0
- data/vendor/assets/javascripts/epyce-debug/underscore.js +839 -0
- data/vendor/assets/javascripts/epyce.js.coffee +4 -0
- data/vendor/assets/javascripts/epyce/dd_belatedpng.min.js +13 -0
- data/vendor/assets/javascripts/epyce/head.min.js +8 -0
- data/vendor/assets/javascripts/epyce/knockout-1.2.1.js +76 -0
- data/vendor/assets/javascripts/epyce/respond.min.js +7 -0
- data/vendor/assets/javascripts/epyce/underscore-min.js +27 -0
- data/vendor/assets/stylesheets/epyce.css.sass +4 -0
- data/vendor/assets/stylesheets/epyce/.gitkeep +0 -0
- data/vendor/assets/stylesheets/skeleton/base.css +336 -0
- data/vendor/assets/stylesheets/skeleton/layout.css +64 -0
- data/vendor/assets/stylesheets/skeleton/skeleton.css +237 -0
- metadata +111 -0
@@ -0,0 +1,64 @@
|
|
1
|
+
/*
|
2
|
+
* Skeleton V1.0.3
|
3
|
+
* Copyright 2011, Dave Gamache
|
4
|
+
* www.getskeleton.com
|
5
|
+
* Free to use under the MIT license.
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
7
|
+
* 7/17/2011
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Table of Content
|
11
|
+
==================================================
|
12
|
+
#Site Styles
|
13
|
+
#Page Styles
|
14
|
+
#Media Queries
|
15
|
+
#Font-Face */
|
16
|
+
|
17
|
+
/* #Site Styles
|
18
|
+
================================================== */
|
19
|
+
|
20
|
+
/* #Page Styles
|
21
|
+
================================================== */
|
22
|
+
|
23
|
+
/* #Media Queries
|
24
|
+
================================================== */
|
25
|
+
|
26
|
+
/* iPad Portrait/Browser */
|
27
|
+
@media only screen and (min-width: 768px) and (max-width: 991px) {}
|
28
|
+
|
29
|
+
/* Mobile/Browser */
|
30
|
+
@media only screen and (max-width: 767px) {}
|
31
|
+
|
32
|
+
/* Mobile Landscape/Browser */
|
33
|
+
@media only screen and (min-width: 480px) and (max-width: 767px) {}
|
34
|
+
|
35
|
+
/* Anything smaller than standard 960 */
|
36
|
+
@media only screen and (max-width: 959px) {}
|
37
|
+
|
38
|
+
/* iPad Portrait Only */
|
39
|
+
@media only screen and (min-width: 768px) and (max-width: 991px) and (max-device-width: 1000px) {}
|
40
|
+
|
41
|
+
/* Mobile Only */
|
42
|
+
@media only screen and (max-width: 767px) and (max-device-width: 1000px) {}
|
43
|
+
|
44
|
+
/* Mobile Landscape Only */
|
45
|
+
@media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {}
|
46
|
+
|
47
|
+
|
48
|
+
/* #Font-Face
|
49
|
+
================================================== */
|
50
|
+
/* This is the proper syntax for an @font-face file
|
51
|
+
Just create a "fonts" folder at the root,
|
52
|
+
copy your FontName into code below and remove
|
53
|
+
comment brackets */
|
54
|
+
|
55
|
+
/* @font-face {
|
56
|
+
font-family: 'FontName';
|
57
|
+
src: url('../fonts/FontName.eot');
|
58
|
+
src: url('../fonts/FontName.eot?iefix') format('eot'),
|
59
|
+
url('../fonts/FontName.woff') format('woff'),
|
60
|
+
url('../fonts/FontName.ttf') format('truetype'),
|
61
|
+
url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
|
62
|
+
font-weight: normal;
|
63
|
+
font-style: normal; }
|
64
|
+
*/
|
@@ -0,0 +1,237 @@
|
|
1
|
+
/*
|
2
|
+
* Skeleton V1.0.3
|
3
|
+
* Copyright 2011, Dave Gamache
|
4
|
+
* www.getskeleton.com
|
5
|
+
* Free to use under the MIT license.
|
6
|
+
* http://www.opensource.org/licenses/mit-license.php
|
7
|
+
* 7/17/2011
|
8
|
+
*/
|
9
|
+
|
10
|
+
|
11
|
+
/* Table of Contents
|
12
|
+
==================================================
|
13
|
+
#Base 960 Grid
|
14
|
+
#Tablet (Portrait)
|
15
|
+
#Mobile (Portrait)
|
16
|
+
#Mobile (Landscape)
|
17
|
+
#Clearing */
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
/* #Base 960 Grid
|
22
|
+
================================================== */
|
23
|
+
|
24
|
+
.container { position: relative; width: 960px; margin: 0 auto; padding: 0; }
|
25
|
+
.column, .columns { float: left; display: inline; margin-left: 10px; margin-right: 10px; }
|
26
|
+
.row { margin-bottom: 20px; }
|
27
|
+
|
28
|
+
/* Nested Column Classes */
|
29
|
+
.column.alpha, .columns.alpha { margin-left: 0; }
|
30
|
+
.column.omega, .columns.omega { margin-right: 0; }
|
31
|
+
|
32
|
+
/* Base Grid */
|
33
|
+
.container .one.column { width: 40px; }
|
34
|
+
.container .two.columns { width: 100px; }
|
35
|
+
.container .three.columns { width: 160px; }
|
36
|
+
.container .four.columns { width: 220px; }
|
37
|
+
.container .five.columns { width: 280px; }
|
38
|
+
.container .six.columns { width: 340px; }
|
39
|
+
.container .seven.columns { width: 400px; }
|
40
|
+
.container .eight.columns { width: 460px; }
|
41
|
+
.container .nine.columns { width: 520px; }
|
42
|
+
.container .ten.columns { width: 580px; }
|
43
|
+
.container .eleven.columns { width: 640px; }
|
44
|
+
.container .twelve.columns { width: 700px; }
|
45
|
+
.container .thirteen.columns { width: 760px; }
|
46
|
+
.container .fourteen.columns { width: 820px; }
|
47
|
+
.container .fifteen.columns { width: 880px; }
|
48
|
+
.container .sixteen.columns { width: 940px; }
|
49
|
+
|
50
|
+
.container .one-third.column { width: 300px; }
|
51
|
+
.container .two-thirds.column { width: 620px; }
|
52
|
+
|
53
|
+
/* Offsets */
|
54
|
+
.container .offset-by-one { padding-left: 60px; }
|
55
|
+
.container .offset-by-two { padding-left: 120px; }
|
56
|
+
.container .offset-by-three { padding-left: 180px; }
|
57
|
+
.container .offset-by-four { padding-left: 240px; }
|
58
|
+
.container .offset-by-five { padding-left: 300px; }
|
59
|
+
.container .offset-by-six { padding-left: 360px; }
|
60
|
+
.container .offset-by-seven { padding-left: 420px; }
|
61
|
+
.container .offset-by-eight { padding-left: 480px; }
|
62
|
+
.container .offset-by-nine { padding-left: 540px; }
|
63
|
+
.container .offset-by-ten { padding-left: 600px; }
|
64
|
+
.container .offset-by-eleven { padding-left: 660px; }
|
65
|
+
.container .offset-by-twelve { padding-left: 720px; }
|
66
|
+
.container .offset-by-thirteen { padding-left: 780px; }
|
67
|
+
.container .offset-by-fourteen { padding-left: 840px; }
|
68
|
+
.container .offset-by-fifteen { padding-left: 900px; }
|
69
|
+
|
70
|
+
|
71
|
+
|
72
|
+
/* #Tablet (Portrait)
|
73
|
+
================================================== */
|
74
|
+
|
75
|
+
/* Note: Design for a width of 768px */
|
76
|
+
|
77
|
+
@media only screen and (min-width: 768px) and (max-width: 959px) {
|
78
|
+
.container { width: 768px; }
|
79
|
+
.container .column,
|
80
|
+
.container .columns { margin-left: 10px; margin-right: 10px; }
|
81
|
+
.column.alpha, .columns.alpha { margin-left: 0; margin-right: 10px; }
|
82
|
+
.column.omega, .columns.omega { margin-right: 0; margin-left: 10px; }
|
83
|
+
|
84
|
+
.container .one.column { width: 28px; }
|
85
|
+
.container .two.columns { width: 76px; }
|
86
|
+
.container .three.columns { width: 124px; }
|
87
|
+
.container .four.columns { width: 172px; }
|
88
|
+
.container .five.columns { width: 220px; }
|
89
|
+
.container .six.columns { width: 268px; }
|
90
|
+
.container .seven.columns { width: 316px; }
|
91
|
+
.container .eight.columns { width: 364px; }
|
92
|
+
.container .nine.columns { width: 412px; }
|
93
|
+
.container .ten.columns { width: 460px; }
|
94
|
+
.container .eleven.columns { width: 508px; }
|
95
|
+
.container .twelve.columns { width: 556px; }
|
96
|
+
.container .thirteen.columns { width: 604px; }
|
97
|
+
.container .fourteen.columns { width: 652px; }
|
98
|
+
.container .fifteen.columns { width: 700px; }
|
99
|
+
.container .sixteen.columns { width: 748px; }
|
100
|
+
|
101
|
+
.container .one-third.column { width: 236px; }
|
102
|
+
.container .two-thirds.column { width: 492px; }
|
103
|
+
|
104
|
+
/* Offsets */
|
105
|
+
.container .offset-by-one { padding-left: 48px; }
|
106
|
+
.container .offset-by-two { padding-left: 96px; }
|
107
|
+
.container .offset-by-three { padding-left: 144px; }
|
108
|
+
.container .offset-by-four { padding-left: 192px; }
|
109
|
+
.container .offset-by-five { padding-left: 288px; }
|
110
|
+
.container .offset-by-six { padding-left: 336px; }
|
111
|
+
.container .offset-by-seven { padding-left: 348px; }
|
112
|
+
.container .offset-by-eight { padding-left: 432px; }
|
113
|
+
.container .offset-by-nine { padding-left: 480px; }
|
114
|
+
.container .offset-by-ten { padding-left: 528px; }
|
115
|
+
.container .offset-by-eleven { padding-left: 576px; }
|
116
|
+
.container .offset-by-twelve { padding-left: 624px; }
|
117
|
+
.container .offset-by-thirteen { padding-left: 672px; }
|
118
|
+
.container .offset-by-fourteen { padding-left: 720px; }
|
119
|
+
.container .offset-by-fifteen { padding-left: 900px; }
|
120
|
+
}
|
121
|
+
|
122
|
+
|
123
|
+
/* #Mobile (Portrait)
|
124
|
+
================================================== */
|
125
|
+
|
126
|
+
/* Note: Design for a width of 320px */
|
127
|
+
|
128
|
+
@media only screen and (max-width: 767px) {
|
129
|
+
.container { width: 300px; }
|
130
|
+
.columns, .column { margin: 0; }
|
131
|
+
|
132
|
+
.container .one.column,
|
133
|
+
.container .two.columns,
|
134
|
+
.container .three.columns,
|
135
|
+
.container .four.columns,
|
136
|
+
.container .five.columns,
|
137
|
+
.container .six.columns,
|
138
|
+
.container .seven.columns,
|
139
|
+
.container .eight.columns,
|
140
|
+
.container .nine.columns,
|
141
|
+
.container .ten.columns,
|
142
|
+
.container .eleven.columns,
|
143
|
+
.container .twelve.columns,
|
144
|
+
.container .thirteen.columns,
|
145
|
+
.container .fourteen.columns,
|
146
|
+
.container .fifteen.columns,
|
147
|
+
.container .sixteen.columns,
|
148
|
+
.container .one-third.column,
|
149
|
+
.container .two-thirds.column { width: 300px; }
|
150
|
+
|
151
|
+
/* Offsets */
|
152
|
+
.container .offset-by-one,
|
153
|
+
.container .offset-by-two,
|
154
|
+
.container .offset-by-three,
|
155
|
+
.container .offset-by-four,
|
156
|
+
.container .offset-by-five,
|
157
|
+
.container .offset-by-six,
|
158
|
+
.container .offset-by-seven,
|
159
|
+
.container .offset-by-eight,
|
160
|
+
.container .offset-by-nine,
|
161
|
+
.container .offset-by-ten,
|
162
|
+
.container .offset-by-eleven,
|
163
|
+
.container .offset-by-twelve,
|
164
|
+
.container .offset-by-thirteen,
|
165
|
+
.container .offset-by-fourteen,
|
166
|
+
.container .offset-by-fifteen { padding-left: 0; }
|
167
|
+
|
168
|
+
}
|
169
|
+
|
170
|
+
|
171
|
+
/* #Mobile (Landscape)
|
172
|
+
================================================== */
|
173
|
+
|
174
|
+
/* Note: Design for a width of 480px */
|
175
|
+
|
176
|
+
@media only screen and (min-width: 480px) and (max-width: 767px) {
|
177
|
+
.container { width: 420px; }
|
178
|
+
.columns, .column { margin: 0; }
|
179
|
+
|
180
|
+
.container .one.column,
|
181
|
+
.container .two.columns,
|
182
|
+
.container .three.columns,
|
183
|
+
.container .four.columns,
|
184
|
+
.container .five.columns,
|
185
|
+
.container .six.columns,
|
186
|
+
.container .seven.columns,
|
187
|
+
.container .eight.columns,
|
188
|
+
.container .nine.columns,
|
189
|
+
.container .ten.columns,
|
190
|
+
.container .eleven.columns,
|
191
|
+
.container .twelve.columns,
|
192
|
+
.container .thirteen.columns,
|
193
|
+
.container .fourteen.columns,
|
194
|
+
.container .fifteen.columns,
|
195
|
+
.container .sixteen.columns,
|
196
|
+
.container .one-third.column,
|
197
|
+
.container .two-thirds.column { width: 420px; }
|
198
|
+
}
|
199
|
+
|
200
|
+
|
201
|
+
/* #Clearing
|
202
|
+
================================================== */
|
203
|
+
|
204
|
+
/* Self Clearing Goodness */
|
205
|
+
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }
|
206
|
+
|
207
|
+
/* Use clearfix class on parent to clear nested columns,
|
208
|
+
or wrap each row of columns in a <div class="row"> */
|
209
|
+
.clearfix:before,
|
210
|
+
.clearfix:after,
|
211
|
+
.row:before,
|
212
|
+
.row:after {
|
213
|
+
content: '\0020';
|
214
|
+
display: block;
|
215
|
+
overflow: hidden;
|
216
|
+
visibility: hidden;
|
217
|
+
width: 0;
|
218
|
+
height: 0; }
|
219
|
+
.row:after,
|
220
|
+
.clearfix:after {
|
221
|
+
clear: both; }
|
222
|
+
.row,
|
223
|
+
.clearfix {
|
224
|
+
zoom: 1; }
|
225
|
+
|
226
|
+
/* You can also use a <br class="clear" /> to clear columns */
|
227
|
+
.clear {
|
228
|
+
clear: both;
|
229
|
+
display: block;
|
230
|
+
overflow: hidden;
|
231
|
+
visibility: hidden;
|
232
|
+
width: 0;
|
233
|
+
height: 0;
|
234
|
+
}
|
235
|
+
|
236
|
+
|
237
|
+
|
metadata
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: epyce
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.5.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Yann Armand
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-07-22 00:00:00.000000000 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: railties
|
17
|
+
requirement: &70339318617060 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.1.0.rc1
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *70339318617060
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: haml
|
28
|
+
requirement: &70339318616640 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *70339318616640
|
37
|
+
description: define a new layout and change asset manager defaults to get advantage
|
38
|
+
of skeleton (http://www.getskeleton.com/),Damian Le Nouaille HTML5S (https://github.com/damln/Html5S)
|
39
|
+
and knockout (http://knockoutjs.com)
|
40
|
+
email: yann@harakys.com
|
41
|
+
executables: []
|
42
|
+
extensions: []
|
43
|
+
extra_rdoc_files: []
|
44
|
+
files:
|
45
|
+
- Gemfile
|
46
|
+
- LICENSE
|
47
|
+
- README.md
|
48
|
+
- Rakefile
|
49
|
+
- VERSION
|
50
|
+
- app/assets/stylesheets/html5S-libs/_core.sass
|
51
|
+
- app/assets/stylesheets/html5S-libs/_normal.sass
|
52
|
+
- app/assets/stylesheets/html5S-libs/_reset.sass
|
53
|
+
- epyce.gemspec
|
54
|
+
- lib/epyce.rb
|
55
|
+
- lib/epyce/railtie.rb
|
56
|
+
- lib/epyce/version.rb
|
57
|
+
- lib/generators/epyce/install/install_generator.rb
|
58
|
+
- lib/generators/epyce/template/app/views/layouts/_flashes.html.haml
|
59
|
+
- lib/generators/epyce/template/app/views/layouts/_footer.html.haml
|
60
|
+
- lib/generators/epyce/template/app/views/layouts/_header.html.haml
|
61
|
+
- lib/generators/epyce/template/app/views/layouts/application.html.haml
|
62
|
+
- lib/generators/epyce/template/public/apple-touch-icon-114x114-precomposed.png
|
63
|
+
- lib/generators/epyce/template/public/apple-touch-icon-57x57-precomposed.png
|
64
|
+
- lib/generators/epyce/template/public/apple-touch-icon-72x72-precomposed.png
|
65
|
+
- lib/generators/epyce/template/public/apple-touch-icon-precomposed.png
|
66
|
+
- lib/generators/epyce/template/public/apple-touch-icon.png
|
67
|
+
- lib/generators/epyce/template/public/crossdomain.xml
|
68
|
+
- lib/generators/epyce/template/public/favicon.png
|
69
|
+
- vendor/assets/javascripts/epyce-debug.js.coffee
|
70
|
+
- vendor/assets/javascripts/epyce-debug/dd_belatedpng.min.js
|
71
|
+
- vendor/assets/javascripts/epyce-debug/head.js
|
72
|
+
- vendor/assets/javascripts/epyce-debug/knockout-1.2.1.debug.js
|
73
|
+
- vendor/assets/javascripts/epyce-debug/respond.min.js
|
74
|
+
- vendor/assets/javascripts/epyce-debug/underscore.js
|
75
|
+
- vendor/assets/javascripts/epyce.js.coffee
|
76
|
+
- vendor/assets/javascripts/epyce/dd_belatedpng.min.js
|
77
|
+
- vendor/assets/javascripts/epyce/head.min.js
|
78
|
+
- vendor/assets/javascripts/epyce/knockout-1.2.1.js
|
79
|
+
- vendor/assets/javascripts/epyce/respond.min.js
|
80
|
+
- vendor/assets/javascripts/epyce/underscore-min.js
|
81
|
+
- vendor/assets/stylesheets/epyce.css.sass
|
82
|
+
- vendor/assets/stylesheets/epyce/.gitkeep
|
83
|
+
- vendor/assets/stylesheets/skeleton/base.css
|
84
|
+
- vendor/assets/stylesheets/skeleton/layout.css
|
85
|
+
- vendor/assets/stylesheets/skeleton/skeleton.css
|
86
|
+
has_rdoc: true
|
87
|
+
homepage: http://github.com/yarmand/html5-epyce
|
88
|
+
licenses: []
|
89
|
+
post_install_message:
|
90
|
+
rdoc_options: []
|
91
|
+
require_paths:
|
92
|
+
- lib
|
93
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
94
|
+
none: false
|
95
|
+
requirements:
|
96
|
+
- - ! '>='
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '0'
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ! '>='
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
requirements: []
|
106
|
+
rubyforge_project:
|
107
|
+
rubygems_version: 1.6.2
|
108
|
+
signing_key:
|
109
|
+
specification_version: 3
|
110
|
+
summary: A rails layout including skeleton, HTML5S and knockout
|
111
|
+
test_files: []
|