sitges 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +19 -0
- data/Gemfile +3 -0
- data/README.rdoc +18 -0
- data/Rakefile +15 -0
- data/VERSION +1 -0
- data/app/controllers/sitges/styleguides_controller.rb +10 -0
- data/app/views/layouts/sitges.html.haml +14 -0
- data/app/views/sitges/styleguides/show.html.haml +315 -0
- data/config/routes.rb +3 -0
- data/lib/generators/sitges/USAGE +8 -0
- data/lib/generators/sitges/sitges_generator.rb +8 -0
- data/lib/generators/sitges/templates/images/input_bg.gif +0 -0
- data/lib/generators/sitges/templates/stylesheets/sass/_forms.scss +99 -0
- data/lib/generators/sitges/templates/stylesheets/sass/_grids.scss +15 -0
- data/lib/generators/sitges/templates/stylesheets/sass/_html5.scss +3 -0
- data/lib/generators/sitges/templates/stylesheets/sass/_lists.scss +42 -0
- data/lib/generators/sitges/templates/stylesheets/sass/_prettify.scss +185 -0
- data/lib/generators/sitges/templates/stylesheets/sass/_rails.scss +39 -0
- data/lib/generators/sitges/templates/stylesheets/sass/_reset.scss +54 -0
- data/lib/generators/sitges/templates/stylesheets/sass/_sitges.scss +106 -0
- data/lib/generators/sitges/templates/stylesheets/sass/_tables.scss +41 -0
- data/lib/sitges/engine.rb +5 -0
- data/lib/sitges/version.rb +3 -0
- data/lib/sitges.rb +3 -0
- data/lib/tasks/.gitkeep +0 -0
- data/sitges.gemspec +61 -0
- metadata +92 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.rdoc
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
== CSS helper for Rails 3
|
2
|
+
|
3
|
+
= Basic Usage
|
4
|
+
|
5
|
+
This gem is depend from HAML
|
6
|
+
<tt>gem "haml-rails"</tt>
|
7
|
+
|
8
|
+
The basic usage is copy all stylesheets files:
|
9
|
+
<tt>rails generate sitges</tt>
|
10
|
+
|
11
|
+
And you can acces to stylesheet guide from:
|
12
|
+
<tt>styleguides</tt>
|
13
|
+
|
14
|
+
= Content
|
15
|
+
|
16
|
+
* Reset -> Reset from Yahoo Reset
|
17
|
+
* Grids -> Grids from OOCSS
|
18
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
begin
|
2
|
+
require "jeweler"
|
3
|
+
Jeweler::Tasks.new do |gem|
|
4
|
+
gem.name = "sitges"
|
5
|
+
gem.summary = "Style helper for Rails 3"
|
6
|
+
gem.author = "Alexander Sviridov"
|
7
|
+
gem.description = "Style helper for Rails 3"
|
8
|
+
gem.email = "sviridoff.mail@gmail.com"
|
9
|
+
end
|
10
|
+
|
11
|
+
gem.files = Dir["{app}/**/*", "{config}/**/*", "{lib}/**/*", "[A-Z]*"]
|
12
|
+
rescue
|
13
|
+
puts "Jeweler or one of its dependencies is not installed."
|
14
|
+
end
|
15
|
+
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
@@ -0,0 +1,315 @@
|
|
1
|
+
.notice
|
2
|
+
%h3 Grid
|
3
|
+
%ul
|
4
|
+
%li http://github.com/stubbornella/oocss/wiki/Grids
|
5
|
+
|
6
|
+
.line
|
7
|
+
.unit.size2of3
|
8
|
+
%h3 2/3
|
9
|
+
%p Nam mattis enim ac ligula dictum pretium. Etiam hendrerit enim at justo dictum nec porta tellus auctor. Cras blandit scelerisque tincidunt. Curabitur sagittis feugiat laoreet. Vestibulum quis erat eget magna consequat vulputate. Aliquam fringilla dapibus elit, in porttitor eros tincidunt a. Aliquam nisl turpis, consectetur vel feugiat quis, viverra ut purus. Phasellus lobortis, sem ut ultrices dapibus, orci massa semper quam, sit amet pulvinar lacus turpis et nisi. Ut non consectetur tellus. Quisque fringilla, est vel rhoncus commodo, quam erat gravida leo, a feugiat orci mi ut mi. Aenean vehicula ante tortor. Aenean turpis dolor, malesuada sed eleifend in, rutrum sed felis. Fusce nisi velit, mattis vel rutrum vel, rhoncus sed libero. Curabitur nec erat tincidunt arcu ullamcorper pharetra. Praesent rhoncus metus et elit interdum porta. Sed facilisis blandit felis id rutrum.
|
10
|
+
.unit.size1of3
|
11
|
+
%h3 1/3
|
12
|
+
%p Aenean vehicula ante tortor. Aenean turpis dolor, malesuada sed eleifend in, rutrum sed felis. Fusce nisi velit, mattis vel rutrum vel, rhoncus sed libero. Curabitur nec erat tincidunt arcu ullamcorper pharetra. Praesent rhoncus metus et elit interdum porta. Sed facilisis blandit felis id rutrum.
|
13
|
+
.line
|
14
|
+
.unit.size1of3
|
15
|
+
%h3 1/3
|
16
|
+
%p Aenean vehicula ante tortor. Aenean turpis dolor, malesuada sed eleifend in, rutrum sed felis. Fusce nisi velit, mattis vel rutrum vel, rhoncus sed libero. Curabitur nec erat tincidunt arcu ullamcorper pharetra. Praesent rhoncus metus et elit interdum porta. Sed facilisis blandit felis id rutrum.
|
17
|
+
.unit.size1of3
|
18
|
+
%h3 1/3
|
19
|
+
%p Aenean vehicula ante tortor. Aenean turpis dolor, malesuada sed eleifend in, rutrum sed felis. Fusce nisi velit, mattis vel rutrum vel, rhoncus sed libero. Curabitur nec erat tincidunt arcu ullamcorper pharetra. Praesent rhoncus metus et elit interdum porta. Sed facilisis blandit felis id rutrum.
|
20
|
+
.unit.size1of3
|
21
|
+
%h3 1/3
|
22
|
+
%p Aenean vehicula ante tortor. Aenean turpis dolor, malesuada sed eleifend in, rutrum sed felis. Fusce nisi velit, mattis vel rutrum vel, rhoncus sed libero. Curabitur nec erat tincidunt arcu ullamcorper pharetra. Praesent rhoncus metus et elit interdum porta. Sed facilisis blandit felis id rutrum.
|
23
|
+
|
24
|
+
.clearfix
|
25
|
+
%hr
|
26
|
+
|
27
|
+
.notice
|
28
|
+
%h3 Basic styles
|
29
|
+
%ul
|
30
|
+
%li Headers and paragraphs.
|
31
|
+
|
32
|
+
%h1 Etiam eget magna id velit rhoncus malesuada.
|
33
|
+
|
34
|
+
%h2 Nunc vitae sodales nulla. Quisque sed magna non arcu iaculis sodales.
|
35
|
+
|
36
|
+
%p Morbi pharetra sapien vel mauris vulputate et hendrerit velit suscipit. Sed nulla erat, pharetra at bibendum ac, condimentum quis tortor. Nulla facilisi. Etiam viverra massa nec eros scelerisque lobortis. Nam tempus erat id est iaculis consequat ut in nisl. Aliquam tempus, tellus ut luctus facilisis, nisl magna dictum sem, scelerisque pulvinar est lorem lobortis purus. Donec laoreet egestas massa non imperdiet. Nulla quis odio eget urna volutpat interdum. Fusce ac leo leo. In hac habitasse platea dictumst. Nunc a mauris risus. Sed vulputate pulvinar sapien at venenatis. Integer a mi vel turpis congue dictum a porttitor neque. Vivamus tellus sapien, accumsan eu gravida sagittis, hendrerit at velit.
|
37
|
+
|
38
|
+
%p Nam mattis enim ac ligula dictum pretium. Etiam hendrerit enim at justo dictum nec porta tellus auctor. Cras blandit scelerisque tincidunt. Curabitur sagittis feugiat laoreet. Vestibulum quis erat eget magna consequat vulputate. Aliquam fringilla dapibus elit, in porttitor eros tincidunt a. Aliquam nisl turpis, consectetur vel feugiat quis, viverra ut purus. Phasellus lobortis, sem ut ultrices dapibus, orci massa semper quam, sit amet pulvinar lacus turpis et nisi. Ut non consectetur tellus. Quisque fringilla, est vel rhoncus commodo, quam erat gravida leo, a feugiat orci mi ut mi. Aenean vehicula ante tortor. Aenean turpis dolor, malesuada sed eleifend in, rutrum sed felis. Fusce nisi velit, mattis vel rutrum vel, rhoncus sed libero. Curabitur nec erat tincidunt arcu ullamcorper pharetra. Praesent rhoncus metus et elit interdum porta. Sed facilisis blandit felis id rutrum.
|
39
|
+
|
40
|
+
.clearfix
|
41
|
+
%hr
|
42
|
+
|
43
|
+
.notice
|
44
|
+
%h3 Extended styles
|
45
|
+
%ul
|
46
|
+
%li Large header, paragraph, blockquote.
|
47
|
+
|
48
|
+
%h1 Etiam eget magna id velit rhoncus malesuada. Proin imperdiet consequat consectetur. Pellentesque in leo nibh, nec porta nisl.
|
49
|
+
|
50
|
+
%p Sed sollicitudin, nunc at eleifend tincidunt, quam metus dapibus nunc, et luctus lacus ipsum sed neque. Sed eu enim enim. Suspendisse posuere iaculis lacus scelerisque aliquam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nunc aliquam pretium enim, at euismod eros pellentesque id. In ac arcu orci, ut laoreet nulla. Nam in magna vel magna auctor vehicula vel sed lacus. Pellentesque nec velit id eros cursus mollis. Cras congue risus quis lectus tristique et malesuada quam cursus. Cras vestibulum lacus a leo scelerisque pulvinar. Nunc ut libero ipsum, vitae fermentum massa. Donec vitae nulla at diam malesuada congue in vitae lacus. Suspendisse id justo ac libero rhoncus fringilla.
|
51
|
+
|
52
|
+
%h2 Etiam eget magna id velit rhoncus malesuada. Proin imperdiet consequat consectetur. Pellentesque in leo nibh, nec porta nisl. Donec tortor turpis, scelerisque sed aliquam ac, varius sit amet nisi.
|
53
|
+
|
54
|
+
%p Nam augue dui, auctor at auctor in, pellentesque at tortor. Nunc magna metus, pretium eu facilisis ut, ullamcorper a leo. Fusce tempus tincidunt nunc et vestibulum. Donec vehicula eros sed ipsum ultricies rhoncus. Sed sollicitudin turpis vitae nisi faucibus ultricies. Morbi faucibus, metus at porttitor dapibus, tellus orci aliquam tortor, vitae accumsan felis lacus at turpis. Cras dictum consectetur tristique. Aenean et risus eu ligula dapibus dapibus nec at nisl. Quisque luctus, enim id vulputate tincidunt, augue ante tempus enim, eget viverra mauris elit ut ante. Sed ut ipsum a libero ullamcorper dignissim. Etiam dictum laoreet tincidunt. Cras eu lectus nibh, non mattis arcu. Donec convallis tempus justo posuere auctor.
|
55
|
+
|
56
|
+
%blockquote
|
57
|
+
%p Morbi pharetra sapien vel mauris vulputate et hendrerit velit suscipit. Sed nulla erat, pharetra at bibendum ac, condimentum quis tortor. Nulla facilisi. Etiam viverra massa nec eros scelerisque lobortis. Nam tempus erat id est iaculis consequat ut in nisl. Aliquam tempus, tellus ut luctus facilisis, nisl magna dictum sem, scelerisque pulvinar est lorem lobortis purus. Donec laoreet egestas massa non imperdiet. Nulla quis odio eget urna volutpat interdum. Fusce ac leo leo. In hac habitasse platea dictumst. Nunc a mauris risus. Sed vulputate pulvinar sapien at venenatis. Integer a mi vel turpis congue dictum a porttitor neque. Vivamus tellus sapien, accumsan eu gravida sagittis, hendrerit at velit.
|
58
|
+
|
59
|
+
%h3 Curabitur accumsan diam a purus fringilla pharetra.
|
60
|
+
|
61
|
+
%p Vivamus sit amet urna in est molestie venenatis. Donec in porta ligula. Mauris elit ante, viverra in sodales sit amet, elementum id augue. Quisque hendrerit pellentesque ornare. Integer vehicula, arcu ac molestie volutpat, justo magna tempus metus, quis viverra turpis augue sed purus. Quisque volutpat erat in enim fringilla imperdiet. Quisque at turpis nec quam egestas rhoncus pharetra eu orci. Suspendisse nec risus ligula. Fusce ac magna ullamcorper metus tincidunt viverra. Nunc eu consequat risus. Nullam libero ante, dapibus nec mattis ut, bibendum in felis. Duis quis arcu vitae massa posuere egestas. Vestibulum vestibulum ultricies tortor sit amet adipiscing. Vivamus neque mauris, venenatis quis facilisis vel, mattis ac est. Aenean felis nibh, congue at iaculis nec, rutrum nec erat. Curabitur suscipit metus consequat ante gravida et feugiat nunc tempus. Suspendisse ornare hendrerit viverra. Mauris id nunc magna.
|
62
|
+
|
63
|
+
.clearfix
|
64
|
+
%hr
|
65
|
+
|
66
|
+
.notice
|
67
|
+
%h3 Header styles
|
68
|
+
%ul
|
69
|
+
%li h1, h2, h3, h4, h5, h6 headers.
|
70
|
+
|
71
|
+
%h1 Vivamus sit amet urna in est molestie venenatis.
|
72
|
+
%h2 Vivamus sit amet urna in est molestie venenatis.
|
73
|
+
%h3 Vivamus sit amet urna in est molestie venenatis.
|
74
|
+
%h4 Vivamus sit amet urna in est molestie venenatis.
|
75
|
+
%h5 Vivamus sit amet urna in est molestie venenatis.
|
76
|
+
%h6 Vivamus sit amet urna in est molestie venenatis.
|
77
|
+
|
78
|
+
.clearfix
|
79
|
+
%hr
|
80
|
+
|
81
|
+
.notice
|
82
|
+
%h3 Miscellaneous Styles
|
83
|
+
%ul
|
84
|
+
%li .error, .notice, .success
|
85
|
+
|
86
|
+
.error
|
87
|
+
%p This is a <div> with the class <strong>.error</strong>.
|
88
|
+
|
89
|
+
.notice
|
90
|
+
%p This is a <div> with the class <strong>.notice</strong>.
|
91
|
+
|
92
|
+
.success
|
93
|
+
%p This is a <div> with the class <strong>.success</strong>.
|
94
|
+
|
95
|
+
%p
|
96
|
+
%strong <strong>
|
97
|
+
%br
|
98
|
+
%ins <ins> inserted
|
99
|
+
%br
|
100
|
+
%del <del> deleted
|
101
|
+
%br
|
102
|
+
%dfn <dfn> dfn
|
103
|
+
%br
|
104
|
+
%em <em> emphasis
|
105
|
+
|
106
|
+
%p
|
107
|
+
%a <a> anchor
|
108
|
+
%br
|
109
|
+
= link_to '<a> a + href', 'http://www.google.com'
|
110
|
+
|
111
|
+
%p
|
112
|
+
%abbr{:title => "extended abbr text should show when mouse over"} <abbr> abbr - extended text when mouseover.
|
113
|
+
%br
|
114
|
+
%acronym{:title => "extended acronym text should show when mouse over"} <acronym> acronym - extended text when mouseover.
|
115
|
+
|
116
|
+
%address
|
117
|
+
<address>
|
118
|
+
%br
|
119
|
+
Donald Duck
|
120
|
+
%br
|
121
|
+
Box 555
|
122
|
+
%br
|
123
|
+
Disneyland
|
124
|
+
|
125
|
+
.clearfix
|
126
|
+
%hr
|
127
|
+
|
128
|
+
.notice
|
129
|
+
%h3 List styles
|
130
|
+
%ul
|
131
|
+
%li li, ul, ol, dl, dt, dd.
|
132
|
+
|
133
|
+
%ul
|
134
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
135
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
136
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
137
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
138
|
+
|
139
|
+
%ol
|
140
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
141
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
142
|
+
%li
|
143
|
+
Vivamus sit amet urna in est molestie venenatis.
|
144
|
+
%ol
|
145
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
146
|
+
%li
|
147
|
+
Vivamus sit amet urna in est molestie venenatis.
|
148
|
+
%ul
|
149
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
150
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
151
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
152
|
+
%li
|
153
|
+
Vivamus sit amet urna in est molestie venenatis.
|
154
|
+
%ol
|
155
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
156
|
+
%li
|
157
|
+
Vivamus sit amet urna in est molestie venenatis.
|
158
|
+
%ul
|
159
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
160
|
+
%li Vivamus sit amet urna in est molestie venenatis.
|
161
|
+
|
162
|
+
%dl
|
163
|
+
%dt Vivamus sit amet urna in est molestie venenatis.
|
164
|
+
%dd Vivamus sit amet urna in est molestie venenatis.
|
165
|
+
%dt Vivamus sit amet urna in est molestie venenatis.
|
166
|
+
%dd Vivamus sit amet urna in est molestie venenatis.
|
167
|
+
%dt Vivamus sit amet urna in est molestie venenatis.
|
168
|
+
%dd Vivamus sit amet urna in est molestie venenatis.
|
169
|
+
|
170
|
+
.clearfix
|
171
|
+
%hr
|
172
|
+
|
173
|
+
.notice
|
174
|
+
%h3 Form styles
|
175
|
+
%ul
|
176
|
+
%li Basic form styles
|
177
|
+
|
178
|
+
= form_for '' do |f|
|
179
|
+
%table
|
180
|
+
%tr
|
181
|
+
%td.label= f.label :version, 'Version:'
|
182
|
+
%td.text_field= f.text_field :version
|
183
|
+
%tr
|
184
|
+
%td.label= f.label :author, 'Author:'
|
185
|
+
%td.text_field= f.text_field :author
|
186
|
+
%tr
|
187
|
+
%td.label= f.label :pass, 'Pass:'
|
188
|
+
%td.text_field= f.password_field :pass
|
189
|
+
%tr
|
190
|
+
%td.label= f.label :search, 'Search:'
|
191
|
+
%td.text_field= f.search_field :search
|
192
|
+
%tr
|
193
|
+
%td.label= f.label :telephone, 'Telephone:'
|
194
|
+
%td.text_field= f.telephone_field :telephone
|
195
|
+
%tr
|
196
|
+
%td.label= f.label :admin, 'Admin?:'
|
197
|
+
%td= f.check_box :admin
|
198
|
+
%tr
|
199
|
+
%td.label= f.label :radio, 'Radio:'
|
200
|
+
%td= f.radio_button :radio, 'yes'
|
201
|
+
%tr
|
202
|
+
%td.label_text_area= f.label :biography, 'Biography:'
|
203
|
+
%td.text_area= f.text_area :biography
|
204
|
+
%tr
|
205
|
+
%td.label_text_area= f.label :date, 'Date:'
|
206
|
+
%td.select= f.date_select :date, :start_year => 1995
|
207
|
+
%tr
|
208
|
+
%td.label_text_area= f.label :email, 'Tu correo electrónico:'
|
209
|
+
%td.text_field= f.email_field :email
|
210
|
+
%tr
|
211
|
+
%td
|
212
|
+
%td.warning_dialog ¿Por qué tengo que dar esta información?
|
213
|
+
%tr
|
214
|
+
%td
|
215
|
+
%td.submit= f.submit "Edit this article"
|
216
|
+
|
217
|
+
.clearfix
|
218
|
+
%hr
|
219
|
+
|
220
|
+
.notice
|
221
|
+
%h3 Table styles
|
222
|
+
%ul
|
223
|
+
%li table
|
224
|
+
|
225
|
+
.table
|
226
|
+
%table{:summary => "This is the summary text for this table.", :border => "0", :cellspacing => "0", :cellpadding => "0"}
|
227
|
+
%tr
|
228
|
+
%th Table Header One
|
229
|
+
%th Table Header Two
|
230
|
+
%tr
|
231
|
+
%td TD One
|
232
|
+
%td TD Two
|
233
|
+
%tr
|
234
|
+
%td{:colspan => '2'} TD colspan 2
|
235
|
+
|
236
|
+
.table
|
237
|
+
%table{:summary => "This is the summary text for this table.", :border => "0", :cellspacing => "0", :cellpadding => "0"}
|
238
|
+
%thead
|
239
|
+
%tr
|
240
|
+
%th Table Header One
|
241
|
+
%th Table Header Two
|
242
|
+
%th Table Header One
|
243
|
+
%th Table Header Two
|
244
|
+
%tfoot
|
245
|
+
%tr
|
246
|
+
%td{:colspan => '4'} tfoot footer
|
247
|
+
%tbody
|
248
|
+
%tr
|
249
|
+
%td TD One
|
250
|
+
%td TD Two
|
251
|
+
%td TD One
|
252
|
+
%td TD Two
|
253
|
+
%tr
|
254
|
+
%td TD One
|
255
|
+
%td TD Two
|
256
|
+
%td TD One
|
257
|
+
%td TD Two
|
258
|
+
%tbody
|
259
|
+
%tr
|
260
|
+
%td TD One
|
261
|
+
%td TD Two
|
262
|
+
%td TD One
|
263
|
+
%td TD Two
|
264
|
+
%tr
|
265
|
+
%td TD One
|
266
|
+
%td TD Two
|
267
|
+
%td TD One
|
268
|
+
%td TD Two
|
269
|
+
|
270
|
+
.clearfix
|
271
|
+
%hr
|
272
|
+
|
273
|
+
.notice
|
274
|
+
%h3 Code Styles
|
275
|
+
%ul
|
276
|
+
%li pre, code, pre with class code, tt
|
277
|
+
|
278
|
+
%pre
|
279
|
+
<pre>
|
280
|
+
What light
|
281
|
+
through yonder window breaks
|
282
|
+
|
283
|
+
%code
|
284
|
+
<code>
|
285
|
+
User.new
|
286
|
+
|
287
|
+
%pre.code
|
288
|
+
%code
|
289
|
+
:plain
|
290
|
+
class User < ActiveRecord::Base
|
291
|
+
has_many :groups
|
292
|
+
belongs_to :account
|
293
|
+
|
294
|
+
def name
|
295
|
+
[first_name, last_name].join(' ')
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
299
|
+
%tt
|
300
|
+
<tt>
|
301
|
+
This tt text should be monospaced
|
302
|
+
and
|
303
|
+
wrap as if
|
304
|
+
one line of text
|
305
|
+
even though the code has newlines, spaces, and tabs.
|
306
|
+
It should be the same size as <p> text.
|
307
|
+
|
308
|
+
.clearfix
|
309
|
+
%hr
|
310
|
+
|
311
|
+
.notice
|
312
|
+
%h3 Additional Styleguides
|
313
|
+
%ul
|
314
|
+
%li Additional styleguides
|
315
|
+
|
data/config/routes.rb
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
class SitgesGenerator < Rails::Generators::Base
|
2
|
+
source_root File.expand_path('../templates', __FILE__)
|
3
|
+
# argument :layout_name, :type => :string, :default => "application"
|
4
|
+
def generate_layout
|
5
|
+
directory "stylesheets", "public/stylesheets/"
|
6
|
+
directory "images", "public/images/"
|
7
|
+
end
|
8
|
+
end
|
Binary file
|
@@ -0,0 +1,99 @@
|
|
1
|
+
@import "sitges";
|
2
|
+
|
3
|
+
/* Form */
|
4
|
+
/*removes dotted outline on submit buttons when clicking in firefox */
|
5
|
+
input[type="submit"]::-moz-focus-inner {
|
6
|
+
border: none;
|
7
|
+
}
|
8
|
+
form {
|
9
|
+
@include rhythm-font(14);
|
10
|
+
@include rhythm-margin(14, 14, 14, 14);
|
11
|
+
table {
|
12
|
+
table-layout: auto;
|
13
|
+
}
|
14
|
+
tr, td {
|
15
|
+
border: 0 none;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
.field_with_errors {
|
19
|
+
input, textarea, select, div.cleditorMain {
|
20
|
+
outline: 2px solid #B02B2C;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
div#error_explanation {
|
24
|
+
border: 1px solid;
|
25
|
+
border-color: darken(#B02B2C, 20%);
|
26
|
+
background: #B02B2C;
|
27
|
+
color: #fff;
|
28
|
+
@include rhythm-margin(14, none, 14, none);
|
29
|
+
h1, h2, h3, h4, h5, h6, p {
|
30
|
+
color: #fff;
|
31
|
+
font-size: 18px;
|
32
|
+
}
|
33
|
+
ul {
|
34
|
+
font-size: 1em;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
td.warning_dialog {
|
38
|
+
padding-top: 0;
|
39
|
+
font-size: 11px;
|
40
|
+
}
|
41
|
+
td.with_warning_dialog {
|
42
|
+
padding-bottom: 0;
|
43
|
+
}
|
44
|
+
td.label_text_area {
|
45
|
+
text-align: right;
|
46
|
+
vertical-align: top;
|
47
|
+
padding-top: 1em * 1 / 2;
|
48
|
+
}
|
49
|
+
td.label {
|
50
|
+
text-align: right;
|
51
|
+
width: 10%;
|
52
|
+
}
|
53
|
+
td.file_field {
|
54
|
+
input {
|
55
|
+
//padding: 1em * 1 / 4;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
td.text_field {
|
59
|
+
width: 90%;
|
60
|
+
input {
|
61
|
+
font-size: 16px;
|
62
|
+
padding: 1em * 1 / 4;
|
63
|
+
background: url("/images/input_bg.gif") repeat-x scroll center top #FFFFFF;
|
64
|
+
border: 1px solid;
|
65
|
+
border-color: #666666 #CCCCCC #CCCCCC;
|
66
|
+
width: 400px;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
td.text_area {
|
70
|
+
textarea {
|
71
|
+
font-size: 16px;
|
72
|
+
padding: 1em * 1 / 4;
|
73
|
+
height: 200px;
|
74
|
+
width: 400px;
|
75
|
+
background: url("/images/input_bg.gif") repeat-x scroll center top #FFFFFF;
|
76
|
+
border: 1px solid;
|
77
|
+
border-color:#666666 #CCCCCC #CCCCCC;
|
78
|
+
}
|
79
|
+
}
|
80
|
+
td.select {
|
81
|
+
select {
|
82
|
+
font-size: 16px;
|
83
|
+
padding: 1em * 1 / 4;
|
84
|
+
border: 1px solid;
|
85
|
+
border-color: #666666 #CCCCCC #CCCCCC;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
td.submit {
|
89
|
+
padding-top: 1em * 1 / 1;
|
90
|
+
input {
|
91
|
+
padding: 1em * 1 / 1.2;
|
92
|
+
cursor:pointer;
|
93
|
+
display:inline-block;
|
94
|
+
font-size:12px;
|
95
|
+
font-weight:bold;
|
96
|
+
&:hover {
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
@media screen and (max-width: 319px) {.unit{float: none !important; width: auto !important;}}
|
2
|
+
.line:after,.lastUnit:after{clear:both;display:block;visibility:hidden;overflow:hidden;height:0 !important;line-height:0;font-size:xx-large;content:" x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x x ";}
|
3
|
+
.line{*zoom:1;}
|
4
|
+
.unit{float:left;}
|
5
|
+
.size1of1{float:none;}
|
6
|
+
.size1of2{width:50%;}
|
7
|
+
.size1of3{width:33.33333%;}
|
8
|
+
.size2of3{width:66.66666%;}
|
9
|
+
.size1of4{width:25%;}
|
10
|
+
.size3of4{width:75%;}
|
11
|
+
.size1of5{width:20%;}
|
12
|
+
.size2of5{width:40%;}
|
13
|
+
.size3of5{width:60%;}
|
14
|
+
.size4of5{width:80%;}
|
15
|
+
.lastUnit{display:table-cell;float:none;width:auto;*display:block;*zoom:1;_position:relative;_left:-3px;_margin-right:-3px;}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
@import "sitges";
|
2
|
+
|
3
|
+
/* Lists */
|
4
|
+
ul, ol {
|
5
|
+
list-style-position: inside;
|
6
|
+
@include rhythm-font(14);
|
7
|
+
@include rhythm-margin(14, 14, 14, 14);
|
8
|
+
}
|
9
|
+
|
10
|
+
li ul, li ol {
|
11
|
+
font-size: 1em;
|
12
|
+
}
|
13
|
+
|
14
|
+
ul {
|
15
|
+
list-style-type: disc;
|
16
|
+
}
|
17
|
+
|
18
|
+
ol {
|
19
|
+
list-style-type: decimal;
|
20
|
+
}
|
21
|
+
|
22
|
+
dl {
|
23
|
+
@include rhythm-font(14);
|
24
|
+
@include rhythm-margin(14, 14, 14, 14);
|
25
|
+
}
|
26
|
+
|
27
|
+
dl dt {
|
28
|
+
font-weight: bold;
|
29
|
+
margin-top: 1em * $base_size / 12;
|
30
|
+
}
|
31
|
+
|
32
|
+
dl dd {
|
33
|
+
margin-bottom: 0em;
|
34
|
+
}
|
35
|
+
|
36
|
+
dd {
|
37
|
+
margin-left: 1em * $base_size / 12;
|
38
|
+
}
|
39
|
+
|
40
|
+
ol ol, ol ul, ul ul, ul ol {
|
41
|
+
margin-left: 1em * $base_size / 12;
|
42
|
+
}
|
@@ -0,0 +1,185 @@
|
|
1
|
+
@import "sitges";
|
2
|
+
|
3
|
+
*, :active, :focus {
|
4
|
+
outline:0 none;
|
5
|
+
}
|
6
|
+
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
|
7
|
+
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
|
8
|
+
html {
|
9
|
+
-webkit-font-smoothing: antialiased;
|
10
|
+
}
|
11
|
+
div#wrap {
|
12
|
+
//border: 1px dashed #000000;
|
13
|
+
@include rhythm-size(800, none);
|
14
|
+
@include rhythm-margin(12, auto, 12, auto);
|
15
|
+
}
|
16
|
+
body {
|
17
|
+
font-size: 1em;
|
18
|
+
font-family: Arial, Verdana, sans-serif;
|
19
|
+
-webkit-user-select: none;
|
20
|
+
color: lighten(#000000, 30%);
|
21
|
+
cursor: default;
|
22
|
+
}
|
23
|
+
img {
|
24
|
+
-ms-interpolation-mode:bicubic;
|
25
|
+
}
|
26
|
+
h1, h2, h3, h4, h5, h6 {
|
27
|
+
font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
|
28
|
+
color: #356AA0;
|
29
|
+
text-rendering: optimizeLegibility;
|
30
|
+
}
|
31
|
+
h1 {
|
32
|
+
@include rhythm-font(20);
|
33
|
+
@include rhythm-padding(20, 20, 0, 20);
|
34
|
+
//@include rhythm-margin(0, 0, 20, 0);
|
35
|
+
font-weight: bold;
|
36
|
+
}
|
37
|
+
h2 {
|
38
|
+
@include rhythm-font(18);
|
39
|
+
@include rhythm-padding(18, 18, 0, 18);
|
40
|
+
//@include rhythm-margin(0, 0, 18, 0);
|
41
|
+
word-spacing:-1px;
|
42
|
+
font-weight: normal;
|
43
|
+
}
|
44
|
+
h3 {
|
45
|
+
@include rhythm-font(16);
|
46
|
+
@include rhythm-padding(16, 16, 0, 16);
|
47
|
+
//@include rhythm-margin(0, 0, 16, 0);
|
48
|
+
font-weight: bold;
|
49
|
+
}
|
50
|
+
h4 {
|
51
|
+
@include rhythm-font(16);
|
52
|
+
@include rhythm-padding(16, 16, 0, 16);
|
53
|
+
//@include rhythm-margin(0, 0, 16, 0);
|
54
|
+
font-weight: bold;
|
55
|
+
}
|
56
|
+
h5 {
|
57
|
+
@include rhythm-font(16);
|
58
|
+
@include rhythm-padding(16, 16, 0, 16);
|
59
|
+
//@include rhythm-margin(0, 0, 16, 0);
|
60
|
+
font-weight: bold;
|
61
|
+
}
|
62
|
+
h6 {
|
63
|
+
@include rhythm-font(16);
|
64
|
+
@include rhythm-padding(16, 16, 0, 16);
|
65
|
+
//@include rhythm-margin(0, 0, 16, 0);
|
66
|
+
font-weight: bold;
|
67
|
+
}
|
68
|
+
p {
|
69
|
+
@include rhythm-font(14);
|
70
|
+
@include rhythm-margin(14, 14, 14, 14);
|
71
|
+
}
|
72
|
+
|
73
|
+
/* Use this to create a horizontal ruler across a column. */
|
74
|
+
hr {
|
75
|
+
background: #000000;
|
76
|
+
border: none;
|
77
|
+
clear: both;
|
78
|
+
color: #000000;
|
79
|
+
float: none;
|
80
|
+
height: 1px;
|
81
|
+
@include rhythm-font(14);
|
82
|
+
@include rhythm-margin(14, 14, 14, 14);
|
83
|
+
}
|
84
|
+
|
85
|
+
hr.space {
|
86
|
+
background: #fff;
|
87
|
+
color: #fff;
|
88
|
+
}
|
89
|
+
|
90
|
+
/* Clearfix hack I love you */
|
91
|
+
.clearfix:after {
|
92
|
+
content:".";
|
93
|
+
display:block;
|
94
|
+
height:0;
|
95
|
+
clear:both;
|
96
|
+
visibility:hidden;
|
97
|
+
}
|
98
|
+
|
99
|
+
.clearfix {display:inline-block;}
|
100
|
+
/* Hide from IE Mac \*/
|
101
|
+
.clearfix {display:block;}
|
102
|
+
/* End hide from IE Mac */
|
103
|
+
|
104
|
+
abbr, acronym {
|
105
|
+
border-bottom: 1px dotted #666;
|
106
|
+
cursor: help;
|
107
|
+
}
|
108
|
+
|
109
|
+
address {
|
110
|
+
font-style: italic;
|
111
|
+
@include rhythm-font(14);
|
112
|
+
@include rhythm-margin(14, 14, 14, 14);
|
113
|
+
}
|
114
|
+
|
115
|
+
del {
|
116
|
+
color:#666;
|
117
|
+
}
|
118
|
+
|
119
|
+
a, a:link {
|
120
|
+
color: #1a4882;
|
121
|
+
text-decoration: underline;
|
122
|
+
}
|
123
|
+
|
124
|
+
a:visited {
|
125
|
+
color: #1a4882;
|
126
|
+
}
|
127
|
+
|
128
|
+
a:hover {
|
129
|
+
color: #052246;
|
130
|
+
}
|
131
|
+
|
132
|
+
a:active,
|
133
|
+
a:focus {
|
134
|
+
color: #1a4882;
|
135
|
+
}
|
136
|
+
|
137
|
+
blockquote {
|
138
|
+
//@include rhythm-font(14);
|
139
|
+
@include rhythm-margin(14, 14, 14, 14);
|
140
|
+
border-left: 4px solid #d1d1d1;
|
141
|
+
color: lighten(#000000, 50%);
|
142
|
+
font-style: italic;
|
143
|
+
//font-size: 1em;
|
144
|
+
}
|
145
|
+
|
146
|
+
strong {
|
147
|
+
font-weight: bold;
|
148
|
+
}
|
149
|
+
|
150
|
+
em,
|
151
|
+
dfn {
|
152
|
+
font-style: italic;
|
153
|
+
}
|
154
|
+
|
155
|
+
dfn {
|
156
|
+
font-weight: bold;
|
157
|
+
}
|
158
|
+
|
159
|
+
pre, code {
|
160
|
+
@include rhythm-font(14);
|
161
|
+
@include rhythm-margin(14, 14, 14, 14);
|
162
|
+
white-space: pre;
|
163
|
+
display: block;
|
164
|
+
}
|
165
|
+
|
166
|
+
pre, code, tt {
|
167
|
+
font: 1em 'andale mono', 'monotype.com', 'lucida console', monospace;
|
168
|
+
}
|
169
|
+
|
170
|
+
pre.code {
|
171
|
+
background: #000;
|
172
|
+
color: #fff;
|
173
|
+
@include rhythm-font(14);
|
174
|
+
@include rhythm-padding(14, 14, 14, 14);
|
175
|
+
code {
|
176
|
+
margin: 0;
|
177
|
+
}
|
178
|
+
}
|
179
|
+
|
180
|
+
tt {
|
181
|
+
display: block;
|
182
|
+
@include rhythm-font(14);
|
183
|
+
@include rhythm-margin(14, 14, 14, 14);
|
184
|
+
}
|
185
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
@import "sitges";
|
2
|
+
|
3
|
+
div#flash {
|
4
|
+
@include rhythm-padding(14, 14, none, 14);
|
5
|
+
}
|
6
|
+
|
7
|
+
/* Success, error & notice boxes for messages and errors. */
|
8
|
+
div.error, div.notice, div.success,
|
9
|
+
#flash_failure, #flash_success, #flash_notice, #flash_alert {
|
10
|
+
border: 1px solid;
|
11
|
+
color: #fff;
|
12
|
+
h1, h2, h3, h4, h5, h6, p {
|
13
|
+
color: #fff;
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
div.error,
|
18
|
+
#flash_failure,
|
19
|
+
#flash_alert {
|
20
|
+
border-color: darken(#B02B2C, 20%);
|
21
|
+
background: #B02B2C;
|
22
|
+
}
|
23
|
+
|
24
|
+
div.notice,
|
25
|
+
#flash_notice {
|
26
|
+
border-color: darken(#356AA0, 20%);
|
27
|
+
background: #356AA0;
|
28
|
+
}
|
29
|
+
|
30
|
+
div.success,
|
31
|
+
#flash_success {
|
32
|
+
border-color: darken(#73880A, 20%);
|
33
|
+
background: #73880A;
|
34
|
+
}
|
35
|
+
.highlight {
|
36
|
+
background: lighten(#356AA0, 45%);
|
37
|
+
text-decoration: none;
|
38
|
+
font-style: italic;
|
39
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/* http://meyerweb.com/eric/tools/css/reset/ */
|
2
|
+
/* v1.0 | 20080212 */
|
3
|
+
|
4
|
+
html, body, div, span, applet, object, iframe,
|
5
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
6
|
+
a, abbr, acronym, address, big, cite, code,
|
7
|
+
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
8
|
+
small, strike, strong, sub, sup, tt, var,
|
9
|
+
b, u, i, center,
|
10
|
+
dl, dt, dd, ol, ul, li,
|
11
|
+
fieldset, form, label, legend,
|
12
|
+
table, caption, tbody, tfoot, thead, tr, th, td {
|
13
|
+
margin: 0;
|
14
|
+
padding: 0;
|
15
|
+
border: 0;
|
16
|
+
outline: 0;
|
17
|
+
font-size: 100%;
|
18
|
+
vertical-align: baseline;
|
19
|
+
background: transparent;
|
20
|
+
}
|
21
|
+
body {
|
22
|
+
line-height: 1;
|
23
|
+
}
|
24
|
+
ol, ul {
|
25
|
+
list-style: none;
|
26
|
+
}
|
27
|
+
blockquote, q {
|
28
|
+
quotes: none;
|
29
|
+
}
|
30
|
+
blockquote:before, blockquote:after,
|
31
|
+
q:before, q:after {
|
32
|
+
content: '';
|
33
|
+
content: none;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* remember to define focus styles! */
|
37
|
+
:focus {
|
38
|
+
outline: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* remember to highlight inserts somehow! */
|
42
|
+
ins {
|
43
|
+
text-decoration: none;
|
44
|
+
}
|
45
|
+
del {
|
46
|
+
text-decoration: line-through;
|
47
|
+
}
|
48
|
+
|
49
|
+
/* tables still need 'cellspacing="0"' in the markup */
|
50
|
+
table {
|
51
|
+
border-collapse: collapse;
|
52
|
+
border-spacing: 0;
|
53
|
+
}
|
54
|
+
|
@@ -0,0 +1,106 @@
|
|
1
|
+
/*
|
2
|
+
Formulas ritmo vertical:
|
3
|
+
(1 ÷ tamaño de fuente padre × requerido por el valor en pixel = valor en em)
|
4
|
+
*/
|
5
|
+
|
6
|
+
$parent_size: 16;
|
7
|
+
$base_size: 18;
|
8
|
+
|
9
|
+
@mixin rhythm-size($w, $h, $parent_size: $parent_size) {
|
10
|
+
@if $w == none {
|
11
|
+
} @else {
|
12
|
+
width: 1em / $parent_size * $w;
|
13
|
+
}
|
14
|
+
|
15
|
+
@if $h == none {
|
16
|
+
} @else {
|
17
|
+
height: 1em / $parent_size * $h;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
@mixin rhythm-font($s, $base_size: $base_size, $parent_size: $parent_size) {
|
22
|
+
@if $s == none {
|
23
|
+
} @else if $s == 1 {
|
24
|
+
font-size: 1em;
|
25
|
+
line-height: 1em;
|
26
|
+
} @else {
|
27
|
+
font-size: 1em / $parent_size * $s;
|
28
|
+
line-height: 1em * $base_size / $s;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
@mixin rhythm-margin($t, $r, $b, $l, $base_size: $base_size) {
|
33
|
+
@if $t == auto {
|
34
|
+
margin-top: $t;
|
35
|
+
} @else if $t == 0 {
|
36
|
+
margin-top: $t;
|
37
|
+
} @else if $t == none {
|
38
|
+
} @else {
|
39
|
+
margin-top: 1em * $base_size / $t;
|
40
|
+
}
|
41
|
+
|
42
|
+
@if $r == auto {
|
43
|
+
margin-right: $r;
|
44
|
+
} @else if $r == 0 {
|
45
|
+
margin-right: $r;
|
46
|
+
} @else if $r == none {
|
47
|
+
} @else {
|
48
|
+
margin-right: 1em * $base_size / $r;
|
49
|
+
}
|
50
|
+
|
51
|
+
@if $b == auto {
|
52
|
+
margin-bottom: $b;
|
53
|
+
} @else if $b == 0 {
|
54
|
+
margin-bottom: $b;
|
55
|
+
} @else if $b == none {
|
56
|
+
} @else {
|
57
|
+
margin-bottom: 1em * $base_size / $b;
|
58
|
+
}
|
59
|
+
|
60
|
+
@if $l == auto {
|
61
|
+
margin-left: $l;
|
62
|
+
} @else if $l == 0 {
|
63
|
+
margin-left: $l;
|
64
|
+
} @else if $l == none {
|
65
|
+
} @else {
|
66
|
+
margin-left: 1em * $base_size / $l;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
@mixin rhythm-padding($t, $r, $b, $l, $base_size: $base_size) {
|
71
|
+
@if $t == auto {
|
72
|
+
padding-top: $t;
|
73
|
+
} @else if $t == 0 {
|
74
|
+
padding-top: $t;
|
75
|
+
} @else if $t == none {
|
76
|
+
} @else {
|
77
|
+
padding-top: 1em * $base_size / $t;
|
78
|
+
}
|
79
|
+
|
80
|
+
@if $r == auto {
|
81
|
+
padding-right: $r;
|
82
|
+
} @else if $r == 0 {
|
83
|
+
padding-right: $r;
|
84
|
+
} @else if $r == none {
|
85
|
+
} @else {
|
86
|
+
padding-right: 1em * $base_size / $r;
|
87
|
+
}
|
88
|
+
|
89
|
+
@if $b == auto {
|
90
|
+
padding-bottom: $b;
|
91
|
+
} @else if $b == 0 {
|
92
|
+
padding-bottom: $b;
|
93
|
+
} @else if $b == none {
|
94
|
+
} @else {
|
95
|
+
padding-bottom: 1em * $base_size / $b;
|
96
|
+
}
|
97
|
+
|
98
|
+
@if $l == auto {
|
99
|
+
padding-left: $l;
|
100
|
+
} @else if $l == 0 {
|
101
|
+
padding-left: $l;
|
102
|
+
} @else if $l == none {
|
103
|
+
} @else {
|
104
|
+
padding-left: 1em * $base_size / $l;
|
105
|
+
}
|
106
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
@import "sitges";
|
2
|
+
|
3
|
+
/* Tables */
|
4
|
+
|
5
|
+
table {
|
6
|
+
//table-layout: fixed;
|
7
|
+
width: 100%;
|
8
|
+
ul {
|
9
|
+
margin-bottom: 0;
|
10
|
+
margin-right: 0;
|
11
|
+
margin-top: 0;
|
12
|
+
font-size: 1em;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
|
16
|
+
div.table {
|
17
|
+
@include rhythm-font(14);
|
18
|
+
@include rhythm-margin(14, 14, 14, 14);
|
19
|
+
}
|
20
|
+
|
21
|
+
th {
|
22
|
+
border: 1px solid #000000;
|
23
|
+
font-weight: bold;
|
24
|
+
text-align: left;
|
25
|
+
}
|
26
|
+
|
27
|
+
td {
|
28
|
+
border: 1px solid #000000;
|
29
|
+
}
|
30
|
+
|
31
|
+
caption, th, td {
|
32
|
+
padding: 1em * 1 / 4;
|
33
|
+
}
|
34
|
+
|
35
|
+
caption {
|
36
|
+
background: #f1f1f1;
|
37
|
+
}
|
38
|
+
|
39
|
+
tr, td, th {
|
40
|
+
vertical-align: middle;
|
41
|
+
}
|
data/lib/sitges.rb
ADDED
data/lib/tasks/.gitkeep
ADDED
File without changes
|
data/sitges.gemspec
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{sitges}
|
8
|
+
s.version = "0.1.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Alexander Sviridov"]
|
12
|
+
s.date = %q{2010-11-11}
|
13
|
+
s.description = %q{Style helper for Rails 3}
|
14
|
+
s.email = %q{sviridoff.mail@gmail.com}
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"README.rdoc"
|
17
|
+
]
|
18
|
+
s.files = [
|
19
|
+
".gitignore",
|
20
|
+
"Gemfile",
|
21
|
+
"README.rdoc",
|
22
|
+
"Rakefile",
|
23
|
+
"VERSION",
|
24
|
+
"app/controllers/sitges/styleguides_controller.rb",
|
25
|
+
"app/views/layouts/sitges.html.haml",
|
26
|
+
"app/views/sitges/styleguides/show.html.haml",
|
27
|
+
"config/routes.rb",
|
28
|
+
"lib/generators/sitges/USAGE",
|
29
|
+
"lib/generators/sitges/sitges_generator.rb",
|
30
|
+
"lib/generators/sitges/templates/images/input_bg.gif",
|
31
|
+
"lib/generators/sitges/templates/stylesheets/sass/_forms.scss",
|
32
|
+
"lib/generators/sitges/templates/stylesheets/sass/_grids.scss",
|
33
|
+
"lib/generators/sitges/templates/stylesheets/sass/_html5.scss",
|
34
|
+
"lib/generators/sitges/templates/stylesheets/sass/_lists.scss",
|
35
|
+
"lib/generators/sitges/templates/stylesheets/sass/_prettify.scss",
|
36
|
+
"lib/generators/sitges/templates/stylesheets/sass/_rails.scss",
|
37
|
+
"lib/generators/sitges/templates/stylesheets/sass/_reset.scss",
|
38
|
+
"lib/generators/sitges/templates/stylesheets/sass/_sitges.scss",
|
39
|
+
"lib/generators/sitges/templates/stylesheets/sass/_tables.scss",
|
40
|
+
"lib/sitges.rb",
|
41
|
+
"lib/sitges/engine.rb",
|
42
|
+
"lib/sitges/version.rb",
|
43
|
+
"lib/tasks/.gitkeep",
|
44
|
+
"sitges.gemspec"
|
45
|
+
]
|
46
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
47
|
+
s.require_paths = ["lib"]
|
48
|
+
s.rubygems_version = %q{1.3.7}
|
49
|
+
s.summary = %q{Style helper for Rails 3}
|
50
|
+
|
51
|
+
if s.respond_to? :specification_version then
|
52
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
53
|
+
s.specification_version = 3
|
54
|
+
|
55
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
56
|
+
else
|
57
|
+
end
|
58
|
+
else
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
metadata
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sitges
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 27
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 0
|
10
|
+
version: 0.1.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Alexander Sviridov
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-11-11 00:00:00 +01:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: Style helper for Rails 3
|
23
|
+
email: sviridoff.mail@gmail.com
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions: []
|
27
|
+
|
28
|
+
extra_rdoc_files:
|
29
|
+
- README.rdoc
|
30
|
+
files:
|
31
|
+
- .gitignore
|
32
|
+
- Gemfile
|
33
|
+
- README.rdoc
|
34
|
+
- Rakefile
|
35
|
+
- VERSION
|
36
|
+
- app/controllers/sitges/styleguides_controller.rb
|
37
|
+
- app/views/layouts/sitges.html.haml
|
38
|
+
- app/views/sitges/styleguides/show.html.haml
|
39
|
+
- config/routes.rb
|
40
|
+
- lib/generators/sitges/USAGE
|
41
|
+
- lib/generators/sitges/sitges_generator.rb
|
42
|
+
- lib/generators/sitges/templates/images/input_bg.gif
|
43
|
+
- lib/generators/sitges/templates/stylesheets/sass/_forms.scss
|
44
|
+
- lib/generators/sitges/templates/stylesheets/sass/_grids.scss
|
45
|
+
- lib/generators/sitges/templates/stylesheets/sass/_html5.scss
|
46
|
+
- lib/generators/sitges/templates/stylesheets/sass/_lists.scss
|
47
|
+
- lib/generators/sitges/templates/stylesheets/sass/_prettify.scss
|
48
|
+
- lib/generators/sitges/templates/stylesheets/sass/_rails.scss
|
49
|
+
- lib/generators/sitges/templates/stylesheets/sass/_reset.scss
|
50
|
+
- lib/generators/sitges/templates/stylesheets/sass/_sitges.scss
|
51
|
+
- lib/generators/sitges/templates/stylesheets/sass/_tables.scss
|
52
|
+
- lib/sitges.rb
|
53
|
+
- lib/sitges/engine.rb
|
54
|
+
- lib/sitges/version.rb
|
55
|
+
- lib/tasks/.gitkeep
|
56
|
+
- sitges.gemspec
|
57
|
+
has_rdoc: true
|
58
|
+
homepage:
|
59
|
+
licenses: []
|
60
|
+
|
61
|
+
post_install_message:
|
62
|
+
rdoc_options:
|
63
|
+
- --charset=UTF-8
|
64
|
+
require_paths:
|
65
|
+
- lib
|
66
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
74
|
+
version: "0"
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
hash: 3
|
81
|
+
segments:
|
82
|
+
- 0
|
83
|
+
version: "0"
|
84
|
+
requirements: []
|
85
|
+
|
86
|
+
rubyforge_project:
|
87
|
+
rubygems_version: 1.3.7
|
88
|
+
signing_key:
|
89
|
+
specification_version: 3
|
90
|
+
summary: Style helper for Rails 3
|
91
|
+
test_files: []
|
92
|
+
|