edge_framework 0.9.10 → 0.9.11
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.
- checksums.yaml +8 -8
- data/README.md +297 -89
- data/assets/sass/edge/_base.scss +29 -14
- data/assets/sass/edge/components/_button.scss +36 -47
- data/assets/sass/edge/components/_grid.scss +7 -7
- data/assets/sass/edge/components/_tile.scss +20 -5
- data/assets/sass/edge/components/_typography.scss +1 -6
- data/assets/sass/edge/components/_visibility.scss +15 -35
- data/assets/sass/edge.scss +1 -1
- data/assets/sass/for-test.scss +13 -6
- data/assets/test.html +42 -45
- data/bin/edge +3 -3
- data/lib/edge/install_generator.rb +56 -0
- data/lib/edge/message.rb +2 -6
- data/lib/edge/version.rb +1 -1
- data/lib/edge_framework.rb +4 -0
- data/readme-img/compass-edge-big.jpg +0 -0
- data/readme-img/compass-edge.jpg +0 -0
- data/readme-img/generator/assets/css/.keep +0 -0
- data/readme-img/generator/assets/css/app.css +67 -0
- data/readme-img/generator/assets/css/framework.css +1015 -0
- data/readme-img/generator/assets/files/.keep +0 -0
- data/readme-img/generator/assets/fonts/.keep +0 -0
- data/readme-img/generator/assets/img/favicon-big.png +0 -0
- data/readme-img/generator/assets/img/favicon.png +0 -0
- data/readme-img/generator/assets/img/ipad.svg +19 -0
- data/readme-img/generator/assets/img/iphone.svg +22 -0
- data/readme-img/generator/assets/js/app.js +3 -0
- data/readme-img/generator/assets/js/vendor/custom.modernizr.js +4 -0
- data/readme-img/generator/assets/js/vendor/jquery.min.js +6 -0
- data/readme-img/generator/assets/sass/_setting.scss +107 -0
- data/readme-img/generator/assets/sass/app.scss +102 -0
- data/readme-img/generator/assets/sass/framework.scss +10 -0
- data/readme-img/generator/content.html +40 -0
- data/readme-img/generator/index.html +49 -0
- data/readme-img/generator/robots.txt +7 -0
- data/readme-img/grid-centered.jpg +0 -0
- data/readme-img/grid-collapse.jpg +0 -0
- data/readme-img/grid-large-small.jpg +0 -0
- data/readme-img/grid-large.jpg +0 -0
- data/readme-img/grid-nesting.jpg +0 -0
- data/readme-img/grid-offset.jpg +0 -0
- data/readme-img/grid-ordering.jpg +0 -0
- data/readme-img/grid-tile.jpg +0 -0
- data/readme-img/logo.jpg +0 -0
- data/readme-img/rails-edge-big.jpg +0 -0
- data/readme-img/rails-edge.jpg +0 -0
- data/template/base/assets/sass/_setting.scss +41 -52
- data/template/master/assets/sass/_setting.scss +118 -0
- data/template/rails/application.html.erb +30 -0
- metadata +36 -2
@@ -2,63 +2,46 @@
|
|
2
2
|
// EDGE BUTTON
|
3
3
|
// =============
|
4
4
|
|
5
|
-
$button-full-style: true !default;
|
6
5
|
$button-color: $main-color !default;
|
7
|
-
$button-padding: 10px 20px !default;
|
8
|
-
|
9
|
-
// ------------------------------
|
10
|
-
// BUTTON Hover State
|
11
|
-
// - Button styling for :hover
|
12
|
-
// ------------------------------
|
13
|
-
@mixin h-button-hover($color, $full: $button-full-style) {
|
14
6
|
|
7
|
+
// ---------------
|
8
|
+
// BUTTON :hover
|
9
|
+
// ---------------
|
10
|
+
@mixin button-hover($color) {
|
15
11
|
&:hover {
|
16
12
|
// Darken background if background is light
|
17
|
-
@if
|
18
|
-
background-color: darken($color,
|
13
|
+
@if is_light($color) {
|
14
|
+
background-color: darken($color, 5%);
|
19
15
|
}
|
20
16
|
// Lighten background if background is dark
|
21
17
|
@else {
|
22
|
-
background-color: lighten($color,
|
18
|
+
background-color: lighten($color, 5%);
|
23
19
|
}
|
24
20
|
}
|
25
21
|
}
|
26
22
|
|
27
|
-
//
|
28
|
-
// BUTTON
|
29
|
-
//
|
30
|
-
|
31
|
-
@mixin h-button-active(
|
32
|
-
$color,
|
33
|
-
$full : $button-full-style,
|
34
|
-
$for-base : false) {
|
35
|
-
|
23
|
+
// -----------------
|
24
|
+
// BUTTON :active
|
25
|
+
// -----------------
|
26
|
+
@mixin button-active($color) {
|
36
27
|
&:active {
|
37
28
|
// Make it darker than hover state if background is light
|
38
|
-
@if
|
39
|
-
background-color: darken($color,
|
29
|
+
@if is_light($color) {
|
30
|
+
background-color: darken($color, 10%);
|
40
31
|
}
|
41
32
|
// Darken background if background is dark
|
42
33
|
@else {
|
43
|
-
background-color: darken($color,
|
44
|
-
}
|
45
|
-
|
46
|
-
@if $full and $for-base {
|
47
|
-
@include box-shadow(inset 1px 1px rgba(black, .1) );
|
34
|
+
background-color: darken($color, 5%);
|
48
35
|
}
|
49
36
|
}
|
50
37
|
}
|
51
38
|
|
52
|
-
//
|
53
|
-
// BUTTON
|
54
|
-
//
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
@if $for-base {
|
59
|
-
&:focus {
|
60
|
-
outline: none;
|
61
|
-
}
|
39
|
+
// ---------------
|
40
|
+
// BUTTON :focus
|
41
|
+
// ---------------
|
42
|
+
@mixin button-focus() {
|
43
|
+
&:focus {
|
44
|
+
outline: none;
|
62
45
|
}
|
63
46
|
}
|
64
47
|
|
@@ -68,30 +51,34 @@ $button-padding: 10px 20px !default;
|
|
68
51
|
// -----------------
|
69
52
|
@mixin button(
|
70
53
|
$color : $button-color,
|
71
|
-
$padding : $button-padding,
|
72
|
-
$full : $button-full-style,
|
73
54
|
$for-base : false) {
|
74
55
|
|
75
56
|
@if $for-base {
|
76
57
|
display: inline-block;
|
77
58
|
cursor: pointer;
|
78
59
|
position: relative;
|
79
|
-
border: 1px solid
|
60
|
+
border: 1px solid transparent;
|
61
|
+
|
62
|
+
padding: 10px 20px;
|
63
|
+
text-transform: uppercase;
|
64
|
+
font-weight: 700;
|
65
|
+
letter-spacing: 1px;
|
80
66
|
}
|
81
67
|
|
82
68
|
background-color: $color;
|
83
|
-
padding: $padding;
|
84
69
|
color: contrast-color($color, $body-font-color, white, 70%);
|
85
70
|
|
86
|
-
@if $
|
71
|
+
@if $for-base {
|
72
|
+
@include border-radius($g-radius);
|
87
73
|
@include background-image(linear-gradient(top, rgba(white, .1), transparent ) );
|
88
74
|
@include transition($g-transition);
|
89
75
|
@include box-shadow(inset 1px 1px rgba(white, .1) );
|
76
|
+
|
77
|
+
@include button-focus();
|
90
78
|
}
|
91
79
|
|
92
|
-
@include
|
93
|
-
@include
|
94
|
-
@include h-button-focus($for-base:$for-base);
|
80
|
+
@include button-hover($color);
|
81
|
+
@include button-active($color);
|
95
82
|
}
|
96
83
|
|
97
84
|
@if $include-button and not $external-call {
|
@@ -100,8 +87,10 @@ $button-padding: 10px 20px !default;
|
|
100
87
|
EDGE Button
|
101
88
|
--------------- */
|
102
89
|
button,
|
103
|
-
.button
|
104
|
-
|
90
|
+
.button,
|
91
|
+
input[type="submit"],
|
92
|
+
input[type="reset"] {
|
93
|
+
@include button($for-base: true);
|
105
94
|
}
|
106
95
|
|
107
96
|
} // $include-button
|
@@ -18,10 +18,10 @@ $column-gutter : 20px !default;
|
|
18
18
|
// ---------------------------------
|
19
19
|
|
20
20
|
@mixin row(
|
21
|
+
$gutter : $column-gutter,
|
22
|
+
$width : $row-max-width,
|
21
23
|
$nest : false,
|
22
24
|
$collapse : false,
|
23
|
-
$width : $row-max-width,
|
24
|
-
$gutter : $column-gutter,
|
25
25
|
$for-base : false ) {
|
26
26
|
|
27
27
|
@if $for-base {
|
@@ -159,7 +159,7 @@ $column-gutter : 20px !default;
|
|
159
159
|
$push : 0,
|
160
160
|
$pull : 0,
|
161
161
|
$collapse : false,
|
162
|
-
$
|
162
|
+
$centered : false,
|
163
163
|
$gutter : $column-gutter,
|
164
164
|
$total : $total-columns,
|
165
165
|
$for-base : false ) {
|
@@ -203,7 +203,7 @@ $column-gutter : 20px !default;
|
|
203
203
|
}
|
204
204
|
|
205
205
|
// If centered, get rid of float and add auto margin
|
206
|
-
@if $
|
206
|
+
@if $centered {
|
207
207
|
display: block;
|
208
208
|
float: none;
|
209
209
|
margin-right: auto !important;
|
@@ -256,7 +256,7 @@ $column-gutter : 20px !default;
|
|
256
256
|
@if $pull > 0 {
|
257
257
|
$notes: $notes + " pull-#{$pull}";
|
258
258
|
}
|
259
|
-
@if $
|
259
|
+
@if $centered {
|
260
260
|
$notes: $notes + " centered";
|
261
261
|
}
|
262
262
|
h-column: $notes;
|
@@ -304,7 +304,7 @@ $column-gutter : 20px !default;
|
|
304
304
|
// Centered column
|
305
305
|
.column.large-centered,
|
306
306
|
.columns.large-centered {
|
307
|
-
@include column($
|
307
|
+
@include column($centered:true);
|
308
308
|
}
|
309
309
|
|
310
310
|
// Source Ordering
|
@@ -337,7 +337,7 @@ $column-gutter : 20px !default;
|
|
337
337
|
|
338
338
|
.column.small-centered,
|
339
339
|
.columns.small-centered {
|
340
|
-
@include column($
|
340
|
+
@include column($centered:true);
|
341
341
|
}
|
342
342
|
}
|
343
343
|
|
@@ -39,12 +39,14 @@ $tile-gutter : 15px !default;
|
|
39
39
|
@mixin tile (
|
40
40
|
$large : 0,
|
41
41
|
$small : 0,
|
42
|
+
$mini : 0,
|
42
43
|
$gutter : $tile-gutter,
|
43
44
|
$collapse : false ) {
|
44
45
|
|
45
46
|
// For <ul> styling
|
46
47
|
@if $external-call or $large == 0 {
|
47
48
|
display : block;
|
49
|
+
|
48
50
|
@if $collapse {
|
49
51
|
margin-right: 0;
|
50
52
|
margin-left: 0;
|
@@ -74,23 +76,36 @@ $tile-gutter : 15px !default;
|
|
74
76
|
|
75
77
|
@include tile-calc($per-row:$small, $gutter:$gutter, $collapse:$collapse);
|
76
78
|
}
|
79
|
+
|
80
|
+
@if $mini > 0 {
|
81
|
+
@include below(mini) {
|
82
|
+
&:nth-of-type(n) {
|
83
|
+
clear: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
@include tile-calc($per-row:$mini, $gutter:$gutter, $collapse:$collapse);
|
87
|
+
}
|
88
|
+
}
|
77
89
|
}
|
78
|
-
}
|
90
|
+
}
|
79
91
|
|
80
92
|
@if $debug and $external-call {
|
81
93
|
$notes: "large-tile-#{$large}";
|
82
94
|
@if $small > 0 {
|
83
95
|
$notes: $notes + " small-tile-#{$small}";
|
84
96
|
}
|
97
|
+
@if $mini > 0 {
|
98
|
+
$notes: $notes + " mini-tile-#{$mini}";
|
99
|
+
}
|
85
100
|
h-tile: $notes;
|
86
101
|
}
|
87
102
|
}
|
88
103
|
|
89
104
|
@if $include-tile and not $external-call {
|
90
105
|
|
91
|
-
/*
|
92
|
-
EDGE
|
93
|
-
|
106
|
+
/* --------------
|
107
|
+
EDGE Tile
|
108
|
+
-------------- */
|
94
109
|
|
95
110
|
[class*="-tile-"] {
|
96
111
|
@include tile();
|
@@ -100,7 +115,7 @@ $tile-gutter : 15px !default;
|
|
100
115
|
}
|
101
116
|
}
|
102
117
|
|
103
|
-
@for $i from
|
118
|
+
@for $i from 1 through $max-tiles {
|
104
119
|
.large-tile-#{$i} {
|
105
120
|
@include tile($large:$i);
|
106
121
|
}
|
@@ -28,7 +28,7 @@ $header-font-color : $body-font-color !default;
|
|
28
28
|
$header-font-weight : 700 !default;
|
29
29
|
|
30
30
|
// PARAGRAPH
|
31
|
-
$p-margin-bottom
|
31
|
+
$p-margin-bottom : 1em !default;
|
32
32
|
|
33
33
|
// LIST
|
34
34
|
$ul-parent-style : disc !default;
|
@@ -138,11 +138,6 @@ a {
|
|
138
138
|
&:last-child {
|
139
139
|
margin-bottom: 0;
|
140
140
|
}
|
141
|
-
|
142
|
-
+ ul,
|
143
|
-
+ ol {
|
144
|
-
margin-bottom: $p-margin-bottom;
|
145
|
-
}
|
146
141
|
}
|
147
142
|
}
|
148
143
|
|
@@ -6,7 +6,7 @@
|
|
6
6
|
// VISIBLE ON
|
7
7
|
// - Set the display of special element
|
8
8
|
// ------------------------------------
|
9
|
-
@mixin
|
9
|
+
@mixin visibility($size, $display: inherit) {
|
10
10
|
@if $size == large {
|
11
11
|
&.hide-for-large,
|
12
12
|
&.show-for-small,
|
@@ -24,8 +24,7 @@
|
|
24
24
|
&.hide-for-large { display: $display !important; }
|
25
25
|
}
|
26
26
|
@else if $size == mini {
|
27
|
-
&.hide-for-mini
|
28
|
-
&.show-for-small { display: none !important; }
|
27
|
+
&.hide-for-mini { display: none !important; }
|
29
28
|
|
30
29
|
&.show-for-mini { display: $display !important; }
|
31
30
|
}
|
@@ -37,22 +36,22 @@
|
|
37
36
|
// --------------------------------------------
|
38
37
|
@mixin special-display($size) {
|
39
38
|
table {
|
40
|
-
@include
|
39
|
+
@include visibility($size, table);
|
41
40
|
}
|
42
41
|
thead {
|
43
|
-
@include
|
42
|
+
@include visibility($size, table-header-group);
|
44
43
|
}
|
45
44
|
tbody {
|
46
|
-
@include
|
45
|
+
@include visibility($size, table-row-group);
|
47
46
|
}
|
48
47
|
tr {
|
49
|
-
@include
|
48
|
+
@include visibility($size, table-row);
|
50
49
|
}
|
51
50
|
td, th {
|
52
|
-
@include
|
51
|
+
@include visibility($size, table-cell);
|
53
52
|
}
|
54
|
-
|
55
|
-
@include
|
53
|
+
img, span, em, strong, sub, sup, big, small {
|
54
|
+
@include visibility($size, inline-block);
|
56
55
|
}
|
57
56
|
}
|
58
57
|
|
@@ -114,52 +113,33 @@
|
|
114
113
|
|
115
114
|
.hide-for-large,
|
116
115
|
.show-for-small,
|
117
|
-
.show-for-mini {
|
118
|
-
display: none !important;
|
119
|
-
}
|
116
|
+
.show-for-mini { display: none !important; }
|
120
117
|
|
121
118
|
.hide-for-small,
|
122
119
|
.hide-for-mini,
|
123
|
-
.show-for-large {
|
124
|
-
display: inherit !important;
|
125
|
-
}
|
120
|
+
.show-for-large { display: inherit !important; }
|
126
121
|
|
127
122
|
@include special-display(large);
|
128
123
|
|
129
124
|
@include below(small) {
|
130
|
-
// .hide-for-mini VISIBLE
|
131
|
-
// .show-for-mini NONE
|
132
125
|
|
133
126
|
.hide-for-small,
|
134
|
-
.show-for-large {
|
135
|
-
display: none !important;
|
136
|
-
}
|
127
|
+
.show-for-large { display: none !important; }
|
137
128
|
|
138
129
|
.show-for-small,
|
139
|
-
.hide-for-large {
|
140
|
-
display: inherit !important;
|
141
|
-
}
|
130
|
+
.hide-for-large { display: inherit !important; }
|
142
131
|
|
143
132
|
@include special-display(small);
|
144
133
|
}
|
145
134
|
|
146
135
|
@include below(mini) {
|
147
|
-
// .hide-for-large VISIBLE
|
148
|
-
// .show-for-large NONE
|
149
|
-
// .hide-for-small NONE
|
150
136
|
|
151
|
-
.hide-for-mini
|
152
|
-
.show-for-small {
|
153
|
-
display: none !important;
|
154
|
-
}
|
137
|
+
.hide-for-mini { display: none !important; }
|
155
138
|
|
156
|
-
.show-for-mini {
|
157
|
-
display: inherit !important;
|
158
|
-
}
|
139
|
+
.show-for-mini { display: inherit !important; }
|
159
140
|
|
160
141
|
@include special-display(mini);
|
161
142
|
}
|
162
143
|
|
163
|
-
|
164
144
|
} // include-visibility
|
165
145
|
|
data/assets/sass/edge.scss
CHANGED
data/assets/sass/for-test.scss
CHANGED
@@ -105,15 +105,15 @@
|
|
105
105
|
}
|
106
106
|
|
107
107
|
.hfl {
|
108
|
-
@include hide-for(large);
|
108
|
+
@include hide-for("large");
|
109
109
|
}
|
110
110
|
|
111
111
|
.hfs {
|
112
|
-
@include hide-for(small);
|
112
|
+
@include hide-for("small");
|
113
113
|
}
|
114
114
|
|
115
115
|
.hfm {
|
116
|
-
@include hide-for(mini);
|
116
|
+
@include hide-for("mini");
|
117
117
|
}
|
118
118
|
|
119
119
|
.sfl {
|
@@ -242,7 +242,7 @@
|
|
242
242
|
@include column($large:4, $small:4);
|
243
243
|
}
|
244
244
|
.cgrid-h2-1 {
|
245
|
-
@include column($large:6, $small:6, $
|
245
|
+
@include column($large:6, $small:6, $centered:true);
|
246
246
|
}
|
247
247
|
|
248
248
|
.cgrid-i0 {
|
@@ -264,6 +264,10 @@
|
|
264
264
|
@include tile($large:5, $small:3, $collapse:true);
|
265
265
|
}
|
266
266
|
|
267
|
+
.custom-tile3 {
|
268
|
+
@include tile(5, 3, 2);
|
269
|
+
}
|
270
|
+
|
267
271
|
[data-page="form"] {
|
268
272
|
input, textarea, select {
|
269
273
|
margin-bottom: 20px;
|
@@ -277,6 +281,10 @@
|
|
277
281
|
|
278
282
|
.has-vr {
|
279
283
|
@include vertical-rhythm();
|
284
|
+
|
285
|
+
blockquote {
|
286
|
+
@include trailer(1);
|
287
|
+
}
|
280
288
|
}
|
281
289
|
}
|
282
290
|
|
@@ -324,5 +332,4 @@
|
|
324
332
|
@include button(#333);
|
325
333
|
}
|
326
334
|
}
|
327
|
-
}
|
328
|
-
|
335
|
+
}
|
data/assets/test.html
CHANGED
@@ -135,13 +135,13 @@
|
|
135
135
|
</div>
|
136
136
|
</div>
|
137
137
|
-->
|
138
|
-
<!--
|
138
|
+
<!-- <section class="row" data-page="animate">
|
139
139
|
<div class="large-12 column">
|
140
140
|
<div class="box1" data-animate="fadein 500"></div>
|
141
141
|
</div>
|
142
142
|
</section> -->
|
143
143
|
|
144
|
-
<!--
|
144
|
+
<!-- <div class="row" data-page="typography">
|
145
145
|
<div class="large-12 columns">
|
146
146
|
<article>
|
147
147
|
<div class="row">
|
@@ -224,7 +224,7 @@
|
|
224
224
|
</div>
|
225
225
|
</div> -->
|
226
226
|
|
227
|
-
<!--
|
227
|
+
<!-- <div class="row" data-page="vr-comparison">
|
228
228
|
<div class="large-6 column">
|
229
229
|
<article class="baseline-comparison">
|
230
230
|
<h1>Lorem ipsum dolor sit amet.</h1>
|
@@ -381,7 +381,7 @@
|
|
381
381
|
</div>
|
382
382
|
</div> -->
|
383
383
|
|
384
|
-
|
384
|
+
<div class="row" data-page="custom-tile">
|
385
385
|
<div class="large-12 columns">
|
386
386
|
<div class="demo-tile">
|
387
387
|
<h1>Custom Tile</h1>
|
@@ -414,9 +414,24 @@
|
|
414
414
|
<li><p>1</p></li>
|
415
415
|
<li><p>1</p></li>
|
416
416
|
</ul>
|
417
|
+
<h2>Custom Tile Mini</h2>
|
418
|
+
<ul class="custom-tile3">
|
419
|
+
<li><p>1</p></li>
|
420
|
+
<li><p>1</p></li>
|
421
|
+
<li><p>1</p></li>
|
422
|
+
<li><p>1</p></li>
|
423
|
+
<li><p>1</p></li>
|
424
|
+
<li><p>1</p></li>
|
425
|
+
<li><p>1</p></li>
|
426
|
+
<li><p>1</p></li>
|
427
|
+
<li><p>1</p></li>
|
428
|
+
<li><p>1</p></li>
|
429
|
+
<li><p>1</p></li>
|
430
|
+
<li><p>1</p></li>
|
431
|
+
</ul>
|
417
432
|
</div>
|
418
433
|
</div>
|
419
|
-
</div>
|
434
|
+
</div>
|
420
435
|
|
421
436
|
<!-- <div class="row" data-page="grid">
|
422
437
|
<div class="large-12 columns">
|
@@ -551,8 +566,7 @@
|
|
551
566
|
</div>
|
552
567
|
</div> -->
|
553
568
|
|
554
|
-
|
555
|
-
<section class="row" data-page="visibility">
|
569
|
+
<!-- <section class="row" data-page="visibility">
|
556
570
|
<div class="large-12 column">
|
557
571
|
<h2>Using the Class</h2>
|
558
572
|
<div class="visibility-class">
|
@@ -588,38 +602,32 @@
|
|
588
602
|
<div class="visibility-table">
|
589
603
|
<table border="1" class="hide-for-large">
|
590
604
|
<tr>
|
591
|
-
<td>hide-for</td>
|
592
|
-
<td>large</td>
|
605
|
+
<td>hide-for-large</td>
|
593
606
|
</tr>
|
594
607
|
</table>
|
595
608
|
<table border="1" class="hide-for-small">
|
596
609
|
<tr>
|
597
|
-
<td>hide-for</td>
|
598
|
-
<td>small</td>
|
610
|
+
<td>hide-for-small</td>
|
599
611
|
</tr>
|
600
612
|
</table>
|
601
613
|
<table border="1" class="hide-for-mini">
|
602
614
|
<tr>
|
603
|
-
<td>hide-for</td>
|
604
|
-
<td>mini</td>
|
615
|
+
<td>hide-for-mini</td>
|
605
616
|
</tr>
|
606
617
|
</table>
|
607
618
|
<table border="1" class="show-for-large">
|
608
619
|
<tr>
|
609
|
-
<td>show-for</td>
|
610
|
-
<td>large</td>
|
620
|
+
<td>show-for-large</td>
|
611
621
|
</tr>
|
612
622
|
</table>
|
613
623
|
<table border="1" class="show-for-small">
|
614
624
|
<tr>
|
615
|
-
<td>show-for</td>
|
616
|
-
<td>small</td>
|
625
|
+
<td>show-for-small</td>
|
617
626
|
</tr>
|
618
627
|
</table>
|
619
628
|
<table border="1" class="show-for-mini">
|
620
629
|
<tr>
|
621
|
-
<td>show-for</td>
|
622
|
-
<td>mini</td>
|
630
|
+
<td>show-for-mini</td>
|
623
631
|
</tr>
|
624
632
|
</table>
|
625
633
|
</div>
|
@@ -628,51 +636,45 @@
|
|
628
636
|
<div class="visibility-td">
|
629
637
|
<table border="1">
|
630
638
|
<tr>
|
631
|
-
<td
|
632
|
-
<td>hide-for</td>
|
633
|
-
<td>large</td>
|
639
|
+
<td>This is</td>
|
640
|
+
<td class="hide-for-large">hide-for-large</td>
|
634
641
|
</tr>
|
635
642
|
</table>
|
636
643
|
<table border="1">
|
637
644
|
<tr>
|
638
|
-
<td
|
639
|
-
<td>hide-for</td>
|
640
|
-
<td>small</td>
|
645
|
+
<td>This is</td>
|
646
|
+
<td class="hide-for-small">hide-for-small</td>
|
641
647
|
</tr>
|
642
648
|
</table>
|
643
649
|
<table border="1">
|
644
650
|
<tr>
|
645
|
-
<td
|
646
|
-
<td>hide-for</td>
|
647
|
-
<td>mini</td>
|
651
|
+
<td>This is</td>
|
652
|
+
<td class="hide-for-mini">hide-for-mini</td>
|
648
653
|
</tr>
|
649
654
|
</table>
|
650
655
|
<table border="1">
|
651
656
|
<tr>
|
652
|
-
<td
|
653
|
-
<td>show-for</td>
|
654
|
-
<td>large</td>
|
657
|
+
<td>This is</td>
|
658
|
+
<td class="show-for-large">show-for-large</td>
|
655
659
|
</tr>
|
656
660
|
</table>
|
657
661
|
<table border="1" >
|
658
662
|
<tr>
|
659
|
-
<td
|
660
|
-
<td>show-for</td>
|
661
|
-
<td>small</td>
|
663
|
+
<td>This is</td>
|
664
|
+
<td class="show-for-small">show-for-small</td>
|
662
665
|
</tr>
|
663
666
|
</table>
|
664
667
|
<table border="1" >
|
665
668
|
<tr>
|
666
|
-
<td
|
667
|
-
<td>show-for</td>
|
668
|
-
<td>mini</td>
|
669
|
+
<td>This is</td>
|
670
|
+
<td class="show-for-mini">show-for-mini</td>
|
669
671
|
</tr>
|
670
672
|
</table>
|
671
673
|
</div>
|
672
674
|
|
673
675
|
</div>
|
674
676
|
</section>
|
675
|
-
|
677
|
+
-->
|
676
678
|
<!-- <div class="row collapse demo-grid" data-page="grid">
|
677
679
|
<h1>Collapse not nested</h1>
|
678
680
|
<div class="large-8 column">
|
@@ -815,7 +817,7 @@
|
|
815
817
|
</div>
|
816
818
|
</section> -->
|
817
819
|
|
818
|
-
|
820
|
+
<section class="row" data-page="button">
|
819
821
|
<div class="large-4 column">
|
820
822
|
<h1>Button</h1>
|
821
823
|
<a href="" class="button">Hello World</a>
|
@@ -838,7 +840,7 @@
|
|
838
840
|
<br>
|
839
841
|
<a href="" class="button black-button">Hello World</a>
|
840
842
|
</div>
|
841
|
-
</section>
|
843
|
+
</section>
|
842
844
|
|
843
845
|
<!-- <div class="row" data-page="form">
|
844
846
|
<div class="large-6 columns">
|
@@ -937,10 +939,5 @@
|
|
937
939
|
<script type="text/javascript" src="js/edge/edge.prism.js"></script>
|
938
940
|
<script type="text/javascript" src="js/edge/edge.animate.js"></script>
|
939
941
|
|
940
|
-
|
941
|
-
<script>
|
942
|
-
//$(".box1").addClass("animated");
|
943
|
-
</script>
|
944
|
-
|
945
942
|
</body>
|
946
943
|
</html>
|
data/bin/edge
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require
|
3
|
+
require "edge_framework"
|
4
4
|
|
5
5
|
command = ARGV[0]
|
6
6
|
type = ARGV[1]
|
7
7
|
name = ARGV[2]
|
8
8
|
|
9
|
-
if command == nil || command ==
|
9
|
+
if command == nil || command == "help" || command == "-h"
|
10
10
|
Edge.help()
|
11
|
-
elsif command ==
|
11
|
+
elsif command == "create"
|
12
12
|
if ARGV.length >= 4
|
13
13
|
Edge.command_too_long()
|
14
14
|
else
|