pgrid 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.document +5 -0
- data/.gitignore +24 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +51 -0
- data/VERSION +1 -0
- data/lib/generators/pgrid/install_generator.rb +12 -0
- data/lib/generators/templates/pgrid.sass +492 -0
- data/lib/pgrid.rb +0 -0
- data/pgrid.gemspec +53 -0
- data/test/helper.rb +9 -0
- data/test/test_pgrid.rb +7 -0
- metadata +83 -0
data/.document
ADDED
data/.gitignore
ADDED
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
Copyright (c) 2009 Daniel Spangenberg
|
2
|
+
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
4
|
+
a copy of this software and associated documentation files (the
|
5
|
+
"Software"), to deal in the Software without restriction, including
|
6
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
7
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
8
|
+
permit persons to whom the Software is furnished to do so, subject to
|
9
|
+
the following conditions:
|
10
|
+
|
11
|
+
The above copyright notice and this permission notice shall be
|
12
|
+
included in all copies or substantial portions of the Software.
|
13
|
+
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
15
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
16
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
17
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
18
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
19
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
20
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.rdoc
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
= pgrid
|
2
|
+
|
3
|
+
This gem includes the pGrid libary to your project.
|
4
|
+
|
5
|
+
== Note on Patches/Pull Requests
|
6
|
+
|
7
|
+
* Fork the project.
|
8
|
+
* Make your feature addition or bug fix.
|
9
|
+
* Add tests for it. This is important so I don't break it in a
|
10
|
+
future version unintentionally.
|
11
|
+
* Commit, do not mess with rakefile, version, or history.
|
12
|
+
(if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
13
|
+
* Send me a pull request. Bonus points for topic branches.
|
14
|
+
|
15
|
+
== Copyright
|
16
|
+
|
17
|
+
Copyright (c) 2010 Daniel Spangenberg. See LICENSE for details.
|
data/Rakefile
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'rake'
|
3
|
+
|
4
|
+
begin
|
5
|
+
require 'jeweler'
|
6
|
+
Jeweler::Tasks.new do |gem|
|
7
|
+
gem.name = "pgrid"
|
8
|
+
gem.summary = %Q{pGrid is Parcydo's CSS engine.}
|
9
|
+
gem.description = %Q{This gem includes the pGrid libary to your project.}
|
10
|
+
gem.email = ["daniel.spangenberg@parcydo.com", "florian.nitschmann@parcydo.com"]
|
11
|
+
gem.homepage = "http://github.com/neonlex/pgrid"
|
12
|
+
gem.authors = ["Daniel Spangenberg", "Florian Nitschmann"]
|
13
|
+
end
|
14
|
+
Jeweler::GemcutterTasks.new
|
15
|
+
rescue LoadError
|
16
|
+
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
17
|
+
end
|
18
|
+
|
19
|
+
require 'rake/testtask'
|
20
|
+
Rake::TestTask.new(:test) do |test|
|
21
|
+
test.libs << 'lib' << 'test'
|
22
|
+
test.pattern = 'test/**/test_*.rb'
|
23
|
+
test.verbose = true
|
24
|
+
end
|
25
|
+
|
26
|
+
begin
|
27
|
+
require 'rcov/rcovtask'
|
28
|
+
Rcov::RcovTask.new do |test|
|
29
|
+
test.libs << 'test'
|
30
|
+
test.pattern = 'test/**/test_*.rb'
|
31
|
+
test.verbose = true
|
32
|
+
end
|
33
|
+
rescue LoadError
|
34
|
+
task :rcov do
|
35
|
+
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
39
|
+
task :test => :check_dependencies
|
40
|
+
|
41
|
+
task :default => :test
|
42
|
+
|
43
|
+
require 'rake/rdoctask'
|
44
|
+
Rake::RDocTask.new do |rdoc|
|
45
|
+
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
46
|
+
|
47
|
+
rdoc.rdoc_dir = 'rdoc'
|
48
|
+
rdoc.title = "pgrid #{version}"
|
49
|
+
rdoc.rdoc_files.include('README*')
|
50
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
51
|
+
end
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
@@ -0,0 +1,12 @@
|
|
1
|
+
module Pgrid
|
2
|
+
module Generators
|
3
|
+
class InstallGenerator < Rails::Generators::Base
|
4
|
+
source_root File.expand_path("../../templates", __FILE__)
|
5
|
+
desc "Creates a pGrid folder structure and copy stylesheets to your applcation."
|
6
|
+
|
7
|
+
def copy_stylesheets
|
8
|
+
copy_file "pgrid.sass", "public/stylesheets/sass/pgrid.sass"
|
9
|
+
end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,492 @@
|
|
1
|
+
@media all
|
2
|
+
*
|
3
|
+
margin: 0
|
4
|
+
padding: 0
|
5
|
+
html
|
6
|
+
>body
|
7
|
+
overflow: visible
|
8
|
+
>iFrame
|
9
|
+
overflow: auto
|
10
|
+
html >Frame, * html >Frameset
|
11
|
+
overflow: auto
|
12
|
+
body
|
13
|
+
width: 100%
|
14
|
+
font-size: 100%
|
15
|
+
text-align: left
|
16
|
+
color: #000
|
17
|
+
background: #fff
|
18
|
+
div
|
19
|
+
display: block
|
20
|
+
img
|
21
|
+
border: none
|
22
|
+
outline: none
|
23
|
+
ul, ol, dl
|
24
|
+
margin: 0 0 1% 1%
|
25
|
+
li
|
26
|
+
left: 1%
|
27
|
+
line-height: 2%
|
28
|
+
blockquote
|
29
|
+
margin: 0 0 1% 0.8%
|
30
|
+
&:before, &:after
|
31
|
+
content: ""
|
32
|
+
*:link
|
33
|
+
font-weight: normal
|
34
|
+
text-decoration: none
|
35
|
+
a
|
36
|
+
font-weight: normal
|
37
|
+
text-decoration: none
|
38
|
+
&:focus, &:hover
|
39
|
+
text-decoration: underline
|
40
|
+
|
41
|
+
|
42
|
+
@media screen,projection
|
43
|
+
header, #header
|
44
|
+
position: relative
|
45
|
+
body, #page
|
46
|
+
width: 100%
|
47
|
+
#header, header, #nav, nav, #main, article, #page, #footer, footer
|
48
|
+
clear: both
|
49
|
+
.subelements
|
50
|
+
width: 100%
|
51
|
+
overflow: hidden
|
52
|
+
.e5l, .e5r
|
53
|
+
width: 5%
|
54
|
+
.e10l, .e10r
|
55
|
+
width: 10%
|
56
|
+
.e15l, .e15r
|
57
|
+
width: 15%
|
58
|
+
.e20l, .e20r
|
59
|
+
width: 20%
|
60
|
+
.e25l, .e25r
|
61
|
+
width: 25%
|
62
|
+
.e30l, .e30r
|
63
|
+
width: 30%
|
64
|
+
.e33l, .e33r
|
65
|
+
width: 33.333%
|
66
|
+
.e35l, .e35r
|
67
|
+
width: 35%
|
68
|
+
.e38l, .e38r
|
69
|
+
width: 38%
|
70
|
+
.e40l, .e40r
|
71
|
+
width: 40%
|
72
|
+
.e45l, .e45r
|
73
|
+
width: 45%
|
74
|
+
.e50l, .e50r
|
75
|
+
width: 50%
|
76
|
+
.e55l, .e55r
|
77
|
+
width: 55%
|
78
|
+
.e60l, .e60r
|
79
|
+
width: 60%
|
80
|
+
.e62l, .e62r
|
81
|
+
width: 62%
|
82
|
+
.e65l, .e65r
|
83
|
+
width: 65%
|
84
|
+
.e66l, .e66r
|
85
|
+
width: 66.666%
|
86
|
+
.e70l, .e70r
|
87
|
+
width: 70%
|
88
|
+
.e75l, .e75r
|
89
|
+
width: 75%
|
90
|
+
.e80l, .e80r
|
91
|
+
width: 80%
|
92
|
+
.e85l, .e85r
|
93
|
+
width: 85%
|
94
|
+
.e90l, .e90r
|
95
|
+
width: 90%
|
96
|
+
.e95l, .e95r
|
97
|
+
width: 95%
|
98
|
+
.e5l, .e10l, .e15l, .e20l, .e25l, .e30l, .e33l, .e35l, .e38l, .e40l, .e45l, .e50l, .e55l, .e60l, .e62l, .e65l, .e66l, .e70l, .e75l, .e80l, .e85l, .e90l, .e95l
|
99
|
+
float: left
|
100
|
+
.e5r, .e10r, .e15r, .e20r, .e25r, .e30r, .e33r, .e35r, .e38r, .e40r, .e45r, .e50r, .e55r, .e60r, .e62r, .e65r, .e66r, .e70r, .e75r, .e80r, .e85r, .e90r, .e95r
|
101
|
+
float: right
|
102
|
+
|
103
|
+
|
104
|
+
@media all
|
105
|
+
@font-face
|
106
|
+
name: 'Cardo'
|
107
|
+
font-style: normal
|
108
|
+
font-weight: normal
|
109
|
+
src: local("Cardo"), url('http://themes.googleusercontent.com/font?kit=-wDXL3w4Eh8e-nbTunW3Bg') format("truetype")
|
110
|
+
|
111
|
+
@font-face
|
112
|
+
name: 'Droid Sans'
|
113
|
+
font-style: normal
|
114
|
+
font-weight: normal
|
115
|
+
src: local("Droid Sans"), url('http://themes.googleusercontent.com/font?kit=POVDFY-UUf0WFR9DIMCU8g') format("truetype")
|
116
|
+
|
117
|
+
@font-face
|
118
|
+
name: 'Droid Serif'
|
119
|
+
font-style: normal
|
120
|
+
font-weight: normal
|
121
|
+
src: local("Droid Serif"), url('http://themes.googleusercontent.com/font?kit=70P0G8gxVDIV6F9om0DsKg') format("truetype")
|
122
|
+
|
123
|
+
@font-face
|
124
|
+
name: 'Inconsolata'
|
125
|
+
font-style: normal
|
126
|
+
font-weight: normal
|
127
|
+
src: local("Inconsolata"), url('http://themes.googleusercontent.com/font?kit=J_eeEGgHN8Gk3Eud0dz8jw') format("truetype")
|
128
|
+
|
129
|
+
@font-face
|
130
|
+
font-family: 'Lobster'
|
131
|
+
font-style: normal
|
132
|
+
font-weight: normal
|
133
|
+
src: local("Lobster"), url('http://themes.googleusercontent.com/font?kit=X-CahsKZZcJfSyZ_tX4ptg') format("truetype")
|
134
|
+
|
135
|
+
@font-face
|
136
|
+
font-family: 'Reenie Beanie'
|
137
|
+
font-style: normal
|
138
|
+
font-weight: normal
|
139
|
+
src: local("Reenie Beanie"), url('http://themes.googleusercontent.com/font?kit=ljpKc6CdXusL1cnGUSamX_cCQibwlboQP4eCflnqtq0') format("truetype")
|
140
|
+
|
141
|
+
@font-face
|
142
|
+
font-family: 'Tangerine'
|
143
|
+
font-style: normal
|
144
|
+
font-weight: normal
|
145
|
+
src: local("Tangerine"), url('http://themes.googleusercontent.com/font?kit=_jMq7r9ahcBZZjpP8hftNA') format("truetype")
|
146
|
+
|
147
|
+
|
148
|
+
@media screen,projection,tv
|
149
|
+
.rounded_3
|
150
|
+
-moz-border-radius: 2px
|
151
|
+
-webkit-border-radius: 2px
|
152
|
+
-khtml-border-radius: 2px
|
153
|
+
-o-border-radius: 2px
|
154
|
+
border-radius: 2px
|
155
|
+
-moz-border-radius: 3px
|
156
|
+
-webkit-border-radius: 3px
|
157
|
+
-khtml-border-radius: 3px
|
158
|
+
-o-border-radius: 3px
|
159
|
+
border-radius: 3px
|
160
|
+
.rounded_4
|
161
|
+
-moz-border-radius: 4px
|
162
|
+
-webkit-border-radius: 4px
|
163
|
+
-khtml-border-radius: 4px
|
164
|
+
-o-border-radius: 4px
|
165
|
+
border-radius: 4px
|
166
|
+
.rounded_5
|
167
|
+
-moz-border-radius: 5px
|
168
|
+
-webkit-border-radius: 5px
|
169
|
+
-khtml-border-radius: 5px
|
170
|
+
-o-border-radius: 5px
|
171
|
+
border-radius: 5px
|
172
|
+
.rounded_10
|
173
|
+
-moz-border-radius: 10px
|
174
|
+
-webkit-border-radius: 10px
|
175
|
+
-khtml-border-radius: 10px
|
176
|
+
-o-border-radius: 10px
|
177
|
+
border-radius: 10px
|
178
|
+
.rounded_15
|
179
|
+
-moz-border-radius: 15px
|
180
|
+
-webkit-border-radius: 15px
|
181
|
+
-khtml-border-radius: 15px
|
182
|
+
-o-border-radius: 15px
|
183
|
+
border-radius: 15px
|
184
|
+
border: 1px #333 solid
|
185
|
+
.text_shadow
|
186
|
+
font-weight: bold
|
187
|
+
text-shadow: 1px 1px 1px #999
|
188
|
+
.text_shadow_2
|
189
|
+
font-weight: bold
|
190
|
+
text-shadow: 2px 2px 2px #999
|
191
|
+
.text_shadow_3
|
192
|
+
font-weight: bold
|
193
|
+
text-shadow: 3px 3px 3px #999
|
194
|
+
.text_shadow_4
|
195
|
+
font-weight: bold
|
196
|
+
text-shadow: 4px 4px 4px #999
|
197
|
+
.text_shadow_5
|
198
|
+
font-weight: bold
|
199
|
+
text-shadow: 5px 5px 5px #999
|
200
|
+
.box_shadow_2
|
201
|
+
box-shadow: 2px 2px 2px #999
|
202
|
+
-moz-box-shadow: 2px 2px 2px #999
|
203
|
+
-webkit-box-shadow: 2px 2px 2px #999
|
204
|
+
.box_shadow_3
|
205
|
+
box-shadow: 3px 3px 3px #999
|
206
|
+
-moz-box-shadow: 3px 3px 3px #999
|
207
|
+
-webkit-box-shadow: 3px 3px 3px #999
|
208
|
+
.box_shadow_4
|
209
|
+
box-shadow: 4px 4px 4px #999
|
210
|
+
-moz-box-shadow: 4px 4px 4px #999
|
211
|
+
-webkit-box-shadow: 4px 4px 4px #999
|
212
|
+
.box_shadow_5
|
213
|
+
box-shadow: 5px 5px 5px #999
|
214
|
+
-moz-box-shadow: 5px 5px 5px #999
|
215
|
+
-webkit-box-shadow: 5px 5px 5px #999
|
216
|
+
.rotate_5_m
|
217
|
+
-moz-transform: rotate(-5deg)
|
218
|
+
-webkit-transform: rotate(-5deg)
|
219
|
+
.rotate_5_p
|
220
|
+
-moz-transform: rotate(5deg)
|
221
|
+
-webkit-transform: rotate(5deg)
|
222
|
+
.rotate_10_m
|
223
|
+
-moz-transform: rotate(-10deg)
|
224
|
+
-webkit-transform: rotate(-10deg)
|
225
|
+
.rotate_10_p
|
226
|
+
-moz-transform: rotate(10deg)
|
227
|
+
-webkit-transform: rotate(10deg)
|
228
|
+
.rotate_15_m
|
229
|
+
-moz-transform: rotate(-15deg)
|
230
|
+
-webkit-transform: rotate(-15deg)
|
231
|
+
.rotate_15_p
|
232
|
+
-moz-transform: rotate(15deg)
|
233
|
+
-webkit-transform: rotate(15deg)
|
234
|
+
.rotate_20_m
|
235
|
+
-moz-transform: rotate(-20deg)
|
236
|
+
-webkit-transform: rotate(-20deg)
|
237
|
+
.rotate_20_p
|
238
|
+
-moz-transform: rotate(20deg)
|
239
|
+
-webkit-transform: rotate(20deg)
|
240
|
+
.rotate_25_m
|
241
|
+
-moz-transform: rotate(-25deg)
|
242
|
+
-webkit-transform: rotate(-25deg)
|
243
|
+
.rotate_25_p
|
244
|
+
-moz-transform: rotate(25deg)
|
245
|
+
-webkit-transform: rotate(25deg)
|
246
|
+
|
247
|
+
|
248
|
+
@media screen,projection,tv
|
249
|
+
#page, article
|
250
|
+
text-align: left
|
251
|
+
ul.no_list, li.no_list, .no_list li
|
252
|
+
list-style-type: none
|
253
|
+
#header, #nav, #page, #footer, article, aside, dialog, figure, footer, header, hgroup, nav, section
|
254
|
+
display: block
|
255
|
+
#header, header, #page, page, #footer, footer
|
256
|
+
width: 100%
|
257
|
+
#t_nav
|
258
|
+
position: absolute
|
259
|
+
text-align: right
|
260
|
+
.center
|
261
|
+
margin-left: auto
|
262
|
+
margin-right: auto
|
263
|
+
.float_left
|
264
|
+
margin: 0 1% 0 0.5%
|
265
|
+
float: left
|
266
|
+
display: inline
|
267
|
+
.float_right
|
268
|
+
margin: 0 0 1% 1%
|
269
|
+
float: right
|
270
|
+
display: inline
|
271
|
+
.hide
|
272
|
+
display: none !important
|
273
|
+
.t_left
|
274
|
+
text-align: left
|
275
|
+
.t_right
|
276
|
+
text-align: right
|
277
|
+
.t_center
|
278
|
+
text-align: center
|
279
|
+
.t_justify
|
280
|
+
text-align: justify
|
281
|
+
|
282
|
+
|
283
|
+
@media all
|
284
|
+
html
|
285
|
+
font-size: 100%
|
286
|
+
body
|
287
|
+
font-family: Arial,Helvetica,sans-serif
|
288
|
+
font-size: 80%
|
289
|
+
color: #333
|
290
|
+
h1, h2, h3, h4, h5, h6
|
291
|
+
margin: 0.5% 0 0.5% 0
|
292
|
+
font-family: inherit
|
293
|
+
font-weight: normal
|
294
|
+
color: #000
|
295
|
+
h1
|
296
|
+
font-size: 250%
|
297
|
+
h2
|
298
|
+
font-size: 200%
|
299
|
+
h3
|
300
|
+
font-size: 150%
|
301
|
+
h4
|
302
|
+
font-size: 135%
|
303
|
+
h5, h6
|
304
|
+
font-size: 118%
|
305
|
+
ul, ol, dl
|
306
|
+
margin: 0 0 0.5% 2%
|
307
|
+
line-height: 100%
|
308
|
+
ul
|
309
|
+
list-style-type: disc
|
310
|
+
ul
|
311
|
+
margin-bottom: 0
|
312
|
+
li
|
313
|
+
margin-left: 1.5%
|
314
|
+
line-height: 150%
|
315
|
+
ol
|
316
|
+
list-style-type: decimal
|
317
|
+
ol
|
318
|
+
margin-bottom: 0
|
319
|
+
list-style-type: upper-roman
|
320
|
+
p
|
321
|
+
margin: 1.5% 0 0.6% 0
|
322
|
+
line-height: 120%
|
323
|
+
blockquote, cite
|
324
|
+
font-family: "Georgia","Times",serif
|
325
|
+
blockquote
|
326
|
+
margin: 0 0 0.6% 0.8%
|
327
|
+
color: #666
|
328
|
+
b, strong
|
329
|
+
font-weight: bold
|
330
|
+
em, i
|
331
|
+
font-style: italic
|
332
|
+
big
|
333
|
+
font-size: 120%
|
334
|
+
small
|
335
|
+
font-size: 90%
|
336
|
+
pre
|
337
|
+
margin: 0 0 0.6% 0
|
338
|
+
line-height: 100%
|
339
|
+
font-size: 100%
|
340
|
+
color: #161616
|
341
|
+
code
|
342
|
+
font-size: 100%
|
343
|
+
color: #161616
|
344
|
+
hr
|
345
|
+
margin: 0 0 0.5% 0
|
346
|
+
padding: 0 0 0.5% 0
|
347
|
+
color: #fff
|
348
|
+
border: 0
|
349
|
+
border-bottom: 1px #000 solid
|
350
|
+
table
|
351
|
+
margin: 0.5% 0 0.6% 0
|
352
|
+
width: auto
|
353
|
+
border-top: 1px #666 solid
|
354
|
+
border-bottom: 1px #666 solid
|
355
|
+
&.full
|
356
|
+
width: 100%
|
357
|
+
th, td
|
358
|
+
padding: 0.8%
|
359
|
+
tbody
|
360
|
+
th
|
361
|
+
text-align: left
|
362
|
+
border-bottom: 1px #fff solid
|
363
|
+
td
|
364
|
+
border-bottom: 1px #000 solid
|
365
|
+
a
|
366
|
+
text-decoration: none
|
367
|
+
&:active, &:focus, &:hover
|
368
|
+
text-decoration: underline
|
369
|
+
|
370
|
+
|
371
|
+
@media print
|
372
|
+
body
|
373
|
+
font-size: 11pt
|
374
|
+
#nav, nav, #t_nav, #search, #footer, footer
|
375
|
+
display: none
|
376
|
+
.print
|
377
|
+
visibility: visible !important
|
378
|
+
position: static
|
379
|
+
margin: 0
|
380
|
+
.noprint
|
381
|
+
display: none !important
|
382
|
+
h1, h2, h3, h4, h5, h6
|
383
|
+
color: inherit
|
384
|
+
font-size: auto
|
385
|
+
page-break-before: auto
|
386
|
+
page-break-after: avoid
|
387
|
+
.e5l, .e10l, .e15l, .e20l, .e25l, .e30l, .e33l, .e35l, .e38l, .e40l, .e45l, .e50l, .e55l, .e60l, .e62l, .e65l, .e66l, .e70l, .e75l, .e80l, .e85l, .e90l, .e95l, .e5r, .e10r, .e15r, .e20r, .e25r, .e30r, .e33r, .e35r, .e38r, .e40r, .e45r, .e50r, .e55r, .e60r, .e62r, .e65r, .e66r, .e70r, .e75r, .e80r, .e85r, .e90r, .e95r
|
388
|
+
display: block
|
389
|
+
a
|
390
|
+
color: blue
|
391
|
+
text-decoration: underline
|
392
|
+
&:active, &:focus, &:hover, &:visited
|
393
|
+
color: blue
|
394
|
+
text-decoration: underline
|
395
|
+
|
396
|
+
|
397
|
+
@media screen,projection,tv
|
398
|
+
#nav, nav
|
399
|
+
position: relative
|
400
|
+
width: 100%
|
401
|
+
|
402
|
+
|
403
|
+
@media screen,porjection,tv
|
404
|
+
.h_list
|
405
|
+
position: relative
|
406
|
+
width: 100%
|
407
|
+
overflow: hidden
|
408
|
+
border-top: 2px #666 solid
|
409
|
+
border-bottom: 2px #666 solid
|
410
|
+
ul
|
411
|
+
margin: 0
|
412
|
+
padding: 0
|
413
|
+
display: inline
|
414
|
+
float: left
|
415
|
+
li
|
416
|
+
margin: 0
|
417
|
+
padding: 0
|
418
|
+
display: inline-block
|
419
|
+
float: left
|
420
|
+
line-height: 100%
|
421
|
+
list-style-type: none
|
422
|
+
font-size: 120%
|
423
|
+
border-left: 1px #666 solid
|
424
|
+
border-right: 1px #666 solid
|
425
|
+
a
|
426
|
+
display: inline-block
|
427
|
+
margin: 0
|
428
|
+
padding: 0.5em 0.8em 0.5em 0.8em
|
429
|
+
width: auto
|
430
|
+
font-size: 90%
|
431
|
+
font-weight: bold
|
432
|
+
text-decoration: none
|
433
|
+
color: #000
|
434
|
+
.h_List ul li a:focus
|
435
|
+
text-decoration: none
|
436
|
+
color: #fff
|
437
|
+
background: #4e6e22
|
438
|
+
outline: 0 none
|
439
|
+
.h_list ul li
|
440
|
+
a:hover
|
441
|
+
text-decoration: none
|
442
|
+
color: #fff
|
443
|
+
background: #4e6e22
|
444
|
+
outline: 0 none
|
445
|
+
&.active
|
446
|
+
color: #fff
|
447
|
+
text-decoration: none
|
448
|
+
background: #4e6e22
|
449
|
+
strong
|
450
|
+
color: #fff
|
451
|
+
text-decoration: none
|
452
|
+
background: #4e6e22
|
453
|
+
a
|
454
|
+
&:active, &:focus, &:hover
|
455
|
+
color: #fff
|
456
|
+
text-decoration: none
|
457
|
+
background: #4e6e22
|
458
|
+
|
459
|
+
|
460
|
+
@media screen,projection,tv
|
461
|
+
.v_list
|
462
|
+
margin: 0 0 2% 0
|
463
|
+
width: 100%
|
464
|
+
list-style-type: none
|
465
|
+
overflow: hidden
|
466
|
+
border-bottom: 1px #897d78 solid
|
467
|
+
ul
|
468
|
+
margin: 0
|
469
|
+
padding: 0
|
470
|
+
list-style-type: none
|
471
|
+
li
|
472
|
+
float: left
|
473
|
+
margin: 0
|
474
|
+
padding: 0
|
475
|
+
width: 100%
|
476
|
+
display: block
|
477
|
+
a, strong
|
478
|
+
padding: 2% 0 2% 10%
|
479
|
+
display: block
|
480
|
+
text-decoration: none
|
481
|
+
border-bottom: 1px #897d78 solid
|
482
|
+
a
|
483
|
+
color: #5e5957
|
484
|
+
&:visited
|
485
|
+
color: #5e5957
|
486
|
+
li
|
487
|
+
span
|
488
|
+
display: block
|
489
|
+
font-weight: bold
|
490
|
+
border-bottom: 1px #897d78 solid
|
491
|
+
&.active
|
492
|
+
font-weight: bold
|
data/lib/pgrid.rb
ADDED
File without changes
|
data/pgrid.gemspec
ADDED
@@ -0,0 +1,53 @@
|
|
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{pgrid}
|
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 = ["Daniel Spangenberg", "Florian Nitschmann"]
|
12
|
+
s.date = %q{2010-08-10}
|
13
|
+
s.description = %q{This gem includes the pGrid libary to your project.}
|
14
|
+
s.email = ["daniel.spangenberg@parcydo.com", "florian.nitschmann@parcydo.com"]
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"LICENSE",
|
23
|
+
"README.rdoc",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION",
|
26
|
+
"lib/generators/pgrid/install_generator.rb",
|
27
|
+
"lib/generators/templates/pgrid.sass",
|
28
|
+
"lib/pgrid.rb",
|
29
|
+
"pgrid.gemspec",
|
30
|
+
"test/helper.rb",
|
31
|
+
"test/test_pgrid.rb"
|
32
|
+
]
|
33
|
+
s.homepage = %q{http://github.com/neonlex/pgrid}
|
34
|
+
s.rdoc_options = ["--charset=UTF-8"]
|
35
|
+
s.require_paths = ["lib"]
|
36
|
+
s.rubygems_version = %q{1.3.7}
|
37
|
+
s.summary = %q{pGrid is Parcydo's CSS engine.}
|
38
|
+
s.test_files = [
|
39
|
+
"test/helper.rb",
|
40
|
+
"test/test_pgrid.rb"
|
41
|
+
]
|
42
|
+
|
43
|
+
if s.respond_to? :specification_version then
|
44
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
45
|
+
s.specification_version = 3
|
46
|
+
|
47
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
48
|
+
else
|
49
|
+
end
|
50
|
+
else
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
data/test/helper.rb
ADDED
data/test/test_pgrid.rb
ADDED
metadata
ADDED
@@ -0,0 +1,83 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: pgrid
|
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
|
+
- Daniel Spangenberg
|
14
|
+
- Florian Nitschmann
|
15
|
+
autorequire:
|
16
|
+
bindir: bin
|
17
|
+
cert_chain: []
|
18
|
+
|
19
|
+
date: 2010-08-10 00:00:00 +02:00
|
20
|
+
default_executable:
|
21
|
+
dependencies: []
|
22
|
+
|
23
|
+
description: This gem includes the pGrid libary to your project.
|
24
|
+
email:
|
25
|
+
- daniel.spangenberg@parcydo.com
|
26
|
+
- florian.nitschmann@parcydo.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files:
|
32
|
+
- LICENSE
|
33
|
+
- README.rdoc
|
34
|
+
files:
|
35
|
+
- .document
|
36
|
+
- .gitignore
|
37
|
+
- LICENSE
|
38
|
+
- README.rdoc
|
39
|
+
- Rakefile
|
40
|
+
- VERSION
|
41
|
+
- lib/generators/pgrid/install_generator.rb
|
42
|
+
- lib/generators/templates/pgrid.sass
|
43
|
+
- lib/pgrid.rb
|
44
|
+
- pgrid.gemspec
|
45
|
+
- test/helper.rb
|
46
|
+
- test/test_pgrid.rb
|
47
|
+
has_rdoc: true
|
48
|
+
homepage: http://github.com/neonlex/pgrid
|
49
|
+
licenses: []
|
50
|
+
|
51
|
+
post_install_message:
|
52
|
+
rdoc_options:
|
53
|
+
- --charset=UTF-8
|
54
|
+
require_paths:
|
55
|
+
- lib
|
56
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 3
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
version: "0"
|
65
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
66
|
+
none: false
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
hash: 3
|
71
|
+
segments:
|
72
|
+
- 0
|
73
|
+
version: "0"
|
74
|
+
requirements: []
|
75
|
+
|
76
|
+
rubyforge_project:
|
77
|
+
rubygems_version: 1.3.7
|
78
|
+
signing_key:
|
79
|
+
specification_version: 3
|
80
|
+
summary: pGrid is Parcydo's CSS engine.
|
81
|
+
test_files:
|
82
|
+
- test/helper.rb
|
83
|
+
- test/test_pgrid.rb
|