griddyup 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app/assets/javascripts/griddyup.js +1 -1
- data/app/assets/stylesheets/_colors.scss +53 -0
- data/app/assets/stylesheets/griddyup.scss +86 -59
- data/app/assets/stylesheets/normalize/_normalize.scss +0 -0
- data/app/assets/stylesheets/normalize/_variables.scss +0 -0
- data/app/assets/stylesheets/normalize/_vertical-rhythm.scss +0 -0
- data/lib/griddyup/engine.rb +0 -0
- data/lib/griddyup/version.rb +1 -1
- data/lib/griddyup.rb +0 -0
- data/lib/tasks/griddyup_tasks.rake +0 -0
- metadata +7 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88a69789bc421e5712f2f6f2ed4e6674ab459a26
|
4
|
+
data.tar.gz: 4a64f3e4628fa58b00a2d6e514570860637cb9bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '048f0b83476d5a907fb20e2cf20e61cf0053abf8ac824d88d2738919fd2e8de3a9e476efb88799b62911c913aac0772f3c0df72a9b0d7fa0d1ef2d4c8879f249'
|
7
|
+
data.tar.gz: 87c328377b562542a6db0ddb0c30a836d9d2bc5f57e021216287569e31acfd95d63d8aa0fd9ba45ee006d6dc28db7c2217441e69e989c61cff1e0943164e2561
|
data/MIT-LICENSE
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
@@ -1 +1 @@
|
|
1
|
-
var GriddyUp = {};
|
1
|
+
var GriddyUp = {};
|
@@ -0,0 +1,53 @@
|
|
1
|
+
// SASS style sheet */
|
2
|
+
// Palette color codes */
|
3
|
+
// Palette URL: http://paletton.com/#uid=33n0u0kiTy18TRjekHDmOterrph */
|
4
|
+
|
5
|
+
// Feel free to copy&paste color codes to your application */
|
6
|
+
|
7
|
+
|
8
|
+
// As hex codes */
|
9
|
+
|
10
|
+
$color-primary-0: #4692A4; // Main Primary color */
|
11
|
+
$color-primary-1: #A5D6E2;
|
12
|
+
$color-primary-2: #6FB4C4;
|
13
|
+
$color-primary-3: #2C7D90;
|
14
|
+
$color-primary-4: #15697D;
|
15
|
+
|
16
|
+
$color-secondary-1-0: #FFD169; // Main Secondary color (1) */
|
17
|
+
$color-secondary-1-1: #FFE9B8;
|
18
|
+
$color-secondary-1-2: #FFDC8D;
|
19
|
+
$color-secondary-1-3: #E9B643;
|
20
|
+
$color-secondary-1-4: #C9951D;
|
21
|
+
|
22
|
+
$color-secondary-2-0: #FF7A69; // Main Secondary color (2) */
|
23
|
+
$color-secondary-2-1: #FFC0B8;
|
24
|
+
$color-secondary-2-2: #FF9A8D;
|
25
|
+
$color-secondary-2-3: #E95643;
|
26
|
+
$color-secondary-2-4: #C9311D;
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
// As RGBa codes */
|
31
|
+
|
32
|
+
$rgba-primary-0: rgba( 70,146,164,1); // Main Primary color */
|
33
|
+
$rgba-primary-1: rgba(165,214,226,1);
|
34
|
+
$rgba-primary-2: rgba(111,180,196,1);
|
35
|
+
$rgba-primary-3: rgba( 44,125,144,1);
|
36
|
+
$rgba-primary-4: rgba( 21,105,125,1);
|
37
|
+
|
38
|
+
$rgba-secondary-1-0: rgba(255,209,105,1); // Main Secondary color (1) */
|
39
|
+
$rgba-secondary-1-1: rgba(255,233,184,1);
|
40
|
+
$rgba-secondary-1-2: rgba(255,220,141,1);
|
41
|
+
$rgba-secondary-1-3: rgba(233,182, 67,1);
|
42
|
+
$rgba-secondary-1-4: rgba(201,149, 29,1);
|
43
|
+
|
44
|
+
$rgba-secondary-2-0: rgba(255,122,105,1); // Main Secondary color (2) */
|
45
|
+
$rgba-secondary-2-1: rgba(255,192,184,1);
|
46
|
+
$rgba-secondary-2-2: rgba(255,154,141,1);
|
47
|
+
$rgba-secondary-2-3: rgba(233, 86, 67,1);
|
48
|
+
$rgba-secondary-2-4: rgba(201, 49, 29,1);
|
49
|
+
|
50
|
+
|
51
|
+
|
52
|
+
// Generated by Paletton.com © 2002-2014 */
|
53
|
+
// http://paletton.com */
|
@@ -62,7 +62,8 @@ $secondary-color-dark-text:#fff;
|
|
62
62
|
$font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
63
63
|
$font-family-serif: Georgia, "Times New Roman", Times, serif;
|
64
64
|
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
|
65
|
-
$font-family-
|
65
|
+
$font-family-lucida: "Lucida Sans Unicode","Lucida Grande", sans-serif;
|
66
|
+
$font-family-base: $font-family-lucida;
|
66
67
|
|
67
68
|
$font-size-base: 14px;
|
68
69
|
$font-size-large: ceil(($font-size-base * 1.25)); // ~18px
|
@@ -113,7 +114,7 @@ $bp-xlarge-up: "only screen and (min-width: #{nth($bp-xlarge,1)})";
|
|
113
114
|
$bp-xlarge-only: "only screen and (min-width: #{nth($bp-xlarge,1)}) and (max-width:#{nth($bp-xlarge,2)})";
|
114
115
|
$bp-xlarge-down: "only screen";
|
115
116
|
|
116
|
-
|
117
|
+
*, *:before, *:after {
|
117
118
|
box-sizing: border-box;
|
118
119
|
}
|
119
120
|
|
@@ -121,8 +122,13 @@ html,body {
|
|
121
122
|
height:100%;
|
122
123
|
}
|
123
124
|
|
125
|
+
div {
|
126
|
+
display: block;
|
127
|
+
}
|
128
|
+
|
124
129
|
body {
|
125
130
|
font-size: $font-size-base;
|
131
|
+
font-family: $font-family-base;
|
126
132
|
}
|
127
133
|
|
128
134
|
.font-large {
|
@@ -146,7 +152,7 @@ body {
|
|
146
152
|
display: grid;
|
147
153
|
grid-row-gap: 0.4rem;
|
148
154
|
&.fixed {
|
149
|
-
max-width:
|
155
|
+
max-width: 64em;
|
150
156
|
margin-left: auto;
|
151
157
|
margin-right: auto;
|
152
158
|
}
|
@@ -156,6 +162,8 @@ body {
|
|
156
162
|
display:grid;
|
157
163
|
grid-template-columns: repeat($max-columns,1fr);
|
158
164
|
grid-gap: 0.4rem;
|
165
|
+
min-height: 0;
|
166
|
+
min-width: 0;
|
159
167
|
}
|
160
168
|
|
161
169
|
@for $i from 1 through $max-columns {
|
@@ -174,7 +182,9 @@ body {
|
|
174
182
|
@mixin columns($size) {
|
175
183
|
@for $i from 1 through $max-columns {
|
176
184
|
.#{$size}-col-#{$i} {
|
177
|
-
grid-column: span $i;
|
185
|
+
grid-column-end: span $i;
|
186
|
+
min-width: 0; // required for FF
|
187
|
+
overflow: hidden; // required for FF
|
178
188
|
}
|
179
189
|
}
|
180
190
|
}
|
@@ -224,6 +234,8 @@ body {
|
|
224
234
|
@for $i from 1 through $max-columns {
|
225
235
|
.col-#{$i} {
|
226
236
|
grid-column: span $i;
|
237
|
+
min-width: 0; // required for FF
|
238
|
+
overflow: hidden; // required for FF
|
227
239
|
}
|
228
240
|
}
|
229
241
|
|
@@ -258,101 +270,116 @@ $btn-color-default:#FFF ;
|
|
258
270
|
$btn-color-default-text:#333333;
|
259
271
|
$btn-color-default-hover:darken($btn-color-default,10%);
|
260
272
|
|
261
|
-
$btn-color-primary:#
|
262
|
-
$btn-color-primary-text:#
|
273
|
+
$btn-color-primary:#15697D ; //#bde5f8
|
274
|
+
$btn-color-primary-text:#fff; //00529b
|
263
275
|
$btn-color-primary-hover:darken($btn-color-primary,10%);
|
264
276
|
|
265
|
-
$btn-color-success:#
|
266
|
-
$btn-color-success-text:#
|
277
|
+
$btn-color-success:#17A117;
|
278
|
+
$btn-color-success-text:#fff;
|
267
279
|
$btn-color-success-hover:darken($btn-color-success,10%);;
|
268
280
|
|
269
|
-
$btn-color-warning:#
|
270
|
-
$btn-color-warning-text:#
|
281
|
+
$btn-color-warning:#C9951D;
|
282
|
+
$btn-color-warning-text:#fff;
|
271
283
|
$btn-color-warning-hover:darken($btn-color-warning,10%);;
|
272
284
|
|
273
|
-
$btn-color-alert:#
|
274
|
-
$btn-color-alert-text:#
|
285
|
+
$btn-color-alert:#C9311D;
|
286
|
+
$btn-color-alert-text:#fff;
|
275
287
|
$btn-color-alert-hover:darken($btn-color-alert,10%);;
|
276
288
|
|
277
289
|
form {
|
278
|
-
max-width: 100%;
|
279
290
|
display: grid;
|
280
291
|
grid-gap: 0.4rem;
|
281
292
|
& .form-group {
|
282
293
|
display:grid;
|
283
294
|
grid-gap: 0.2rem;
|
284
|
-
grid-template-areas: "l" "i";
|
285
295
|
& label {
|
286
|
-
|
287
|
-
max-width: 100%;
|
296
|
+
font-weight: bold;
|
288
297
|
}
|
289
298
|
& input {
|
290
|
-
grid-area: i;
|
291
299
|
max-width: 100%;
|
292
300
|
}
|
293
301
|
&.inline {
|
294
|
-
grid-template-areas: "l i";
|
295
302
|
grid-template-columns: 1fr 2fr;
|
296
303
|
align-items: center;
|
297
304
|
}
|
298
|
-
|
305
|
+
|
306
|
+
@for $i from 2 through $max-columns {
|
299
307
|
&.inline-#{$i} {
|
300
|
-
|
301
|
-
|
308
|
+
min-width: 0; // required for FF
|
309
|
+
overflow: hidden; // required for FF
|
310
|
+
grid-template-columns: repeat($i,1fr);
|
311
|
+
& label {
|
312
|
+
grid-column-start: 1;
|
313
|
+
grid-column-end: span $i+1;
|
314
|
+
}
|
315
|
+
& input {
|
316
|
+
overflow: hidden;
|
317
|
+
}
|
302
318
|
}
|
303
319
|
}
|
304
320
|
}
|
305
321
|
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
|
322
|
+
|
323
|
+
}
|
324
|
+
button {
|
325
|
+
background-color: $btn-color-default;
|
326
|
+
border-color: $btn-color-default;
|
327
|
+
color: $btn-color-default-text;
|
328
|
+
&:hover {
|
329
|
+
background-color: $btn-color-default-hover;
|
330
|
+
}
|
331
|
+
&.primary {
|
332
|
+
background-color: $btn-color-primary;
|
333
|
+
border-color: $btn-color-primary;
|
334
|
+
color: $btn-color-primary-text;
|
310
335
|
&:hover {
|
311
|
-
background-color: $btn-color-
|
312
|
-
|
313
|
-
&.primary {
|
314
|
-
background-color: $btn-color-primary;
|
315
|
-
border-color: $btn-color-primary;
|
316
|
-
color: $btn-color-primary-text;
|
317
|
-
&:hover {
|
318
|
-
background-color: $btn-color-primary-hover;
|
319
|
-
}
|
336
|
+
background-color: $btn-color-primary-hover;
|
337
|
+
border-color: $btn-color-primary-hover;
|
320
338
|
}
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
339
|
+
}
|
340
|
+
&.success {
|
341
|
+
background-color: $btn-color-success;
|
342
|
+
border-color: $btn-color-success;
|
343
|
+
color: $btn-color-success-text;
|
344
|
+
&:hover {
|
345
|
+
background-color: $btn-color-success-hover;
|
346
|
+
border-color: $btn-color-success-hover;
|
328
347
|
}
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
348
|
+
}
|
349
|
+
&.warning {
|
350
|
+
background-color: $btn-color-warning;
|
351
|
+
border-color: $btn-color-warning;
|
352
|
+
color: $btn-color-warning-text;
|
353
|
+
&:hover {
|
354
|
+
background-color: $btn-color-warning-hover;
|
355
|
+
border-color: $btn-color-warning-hover;
|
336
356
|
}
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
357
|
+
}
|
358
|
+
&.alert {
|
359
|
+
background-color: $btn-color-alert;
|
360
|
+
border-color: $btn-color-alert;
|
361
|
+
color: $btn-color-alert-text;
|
362
|
+
&:hover {
|
363
|
+
background-color: $btn-color-alert-hover;
|
364
|
+
border-color: $btn-color-alert-hover;
|
344
365
|
}
|
345
366
|
}
|
346
367
|
}
|
347
|
-
|
348
368
|
input, button, select, textarea {
|
349
|
-
padding: 0.
|
350
|
-
border:
|
351
|
-
|
369
|
+
padding: 0.4rem;
|
370
|
+
border: 1px #bebebe solid;
|
371
|
+
outline: none;
|
352
372
|
&:focus {
|
353
373
|
border-color: $primary-color-light;
|
374
|
+
box-shadow: 0 0 0.2rem $primary-color-light;
|
354
375
|
}
|
355
376
|
&:invalid {
|
356
377
|
border-color: #990000;
|
357
378
|
}
|
358
379
|
}
|
380
|
+
|
381
|
+
a.btn {
|
382
|
+
@extend button;
|
383
|
+
color: inherit;
|
384
|
+
text-decoration: none;
|
385
|
+
}
|
File without changes
|
File without changes
|
File without changes
|
data/lib/griddyup/engine.rb
CHANGED
File without changes
|
data/lib/griddyup/version.rb
CHANGED
data/lib/griddyup.rb
CHANGED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: griddyup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- hawry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -52,7 +52,9 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '5.0'
|
55
|
-
description: Griddyup is a CSS-grid tool for (a bit) faster prototyping
|
55
|
+
description: Griddyup is a CSS-grid tool for (a bit) faster prototyping using CSS-Grid
|
56
|
+
layout. Therefore, you should be careful using this if you wish to have any backwards
|
57
|
+
compatibility.
|
56
58
|
email:
|
57
59
|
- hawry@hawry.net
|
58
60
|
executables: []
|
@@ -63,6 +65,7 @@ files:
|
|
63
65
|
- README.md
|
64
66
|
- Rakefile
|
65
67
|
- app/assets/javascripts/griddyup.js
|
68
|
+
- app/assets/stylesheets/_colors.scss
|
66
69
|
- app/assets/stylesheets/griddyup.scss
|
67
70
|
- app/assets/stylesheets/normalize/_normalize.scss
|
68
71
|
- app/assets/stylesheets/normalize/_variables.scss
|
@@ -91,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
94
|
version: '0'
|
92
95
|
requirements: []
|
93
96
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.6.
|
97
|
+
rubygems_version: 2.6.12
|
95
98
|
signing_key:
|
96
99
|
specification_version: 4
|
97
100
|
summary: Griddyup is a CSS-Grid tool
|