edge_framework 0.1.0 → 0.2.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.
- checksums.yaml +8 -8
- data/.gitignore +6 -3
- data/assets/sass/edge/_base.scss +78 -28
- data/assets/sass/edge/_components.scss +8 -5
- data/assets/sass/edge/_helpers.scss +18 -1
- data/assets/sass/edge/components/{_block_grid.scss → _block-grid-margin.scss} +25 -12
- data/assets/sass/edge/components/_block-grid.scss +110 -0
- data/assets/sass/edge/components/_button.scss +50 -0
- data/assets/sass/edge/components/_form.scss +3 -1
- data/assets/sass/edge/components/_grid-margin.scss +309 -0
- data/assets/sass/edge/components/_grid.scss +147 -205
- data/assets/sass/edge/components/_main.scss +26 -16
- data/assets/sass/edge/components/_normalize.scss +5 -1
- data/assets/sass/edge/components/_print.scss +6 -1
- data/assets/sass/edge/components/_typography.scss +29 -0
- data/assets/sass/edge/components/_visibility.scss +43 -51
- data/assets/sass/edge.scss +9 -6
- data/assets/sass/for-test.scss +75 -0
- data/bin/edge +5 -1
- data/lib/edge/message.rb +38 -0
- data/lib/edge/version.rb +2 -1
- data/lib/edge_framework.rb +36 -21
- data/site/assets/css/app.css +44 -8
- data/site/assets/css/edge.css +83 -40
- data/site/assets/img/favicon-big.png +0 -0
- data/site/assets/img/favicon.png +0 -0
- data/site/assets/img/logo/edge-full.svg +19 -0
- data/site/assets/img/logo/edge-logo-transparent.svg +10 -0
- data/site/assets/img/logo/edge-logo.svg +19 -0
- data/site/assets/sass/_setting.scss +44 -15
- data/site/assets/sass/app.scss +203 -18
- data/site/assets/sass/edge.scss +2 -2
- data/site/config.rb +1 -1
- data/site/views/docs/grid.erb +44 -69
- data/site/views/index.erb +54 -6
- data/site/views/layout.erb +42 -10
- data/site/views/partials/_logo.erb +5 -0
- data/site/views/partials/_logo_full.erb +14 -0
- data/template/base/.gitignore +243 -0
- data/template/base/assets/css/.keep +0 -0
- data/template/base/assets/files/.keep +0 -0
- data/template/base/assets/img/favicon-big.png +0 -0
- data/template/base/assets/sass/_setting.scss +82 -26
- data/template/base/assets/sass/edge-framework.scss +7 -0
- data/template/base/robots.txt +7 -0
- data/template/html/index.html +4 -3
- data/template/php/index.php +8 -2
- data/template/php/partials/_footer.php +2 -2
- data/template/php/partials/_header.php +20 -4
- data/template/php/sample-page/index.php +11 -0
- metadata +20 -9
- data/assets/js/edge.min.js +0 -1
- data/assets/sass/edge/components/_palette.scss +0 -24
- data/lib/edge/engine.rb +0 -16
- data/site/assets/css/normalize.min.css +0 -51
- data/site/assets/js/vendor/handlebars.min.js +0 -2
- data/template/base/assets/sass/edge.scss +0 -3
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="612.036px" height="528.163px" viewBox="15.874 148.445 612.036 528.163"
|
6
|
+
enable-background="new 15.874 148.445 612.036 528.163" xml:space="preserve">
|
7
|
+
<polygon fill="#E4E3D5" enable-background="new " points="627.91,676.607 183.096,676.607 254.161,552.024 555.617,552.024 "/>
|
8
|
+
<polygon fill="#E4E3D5" enable-background="new " points="322.594,148.445 544.913,533.601 401.73,534.302 250.827,273.204 "/>
|
9
|
+
<polygon fill="#E4E3D5" enable-background="new " points="15.874,676.607 238.369,291.276 310.662,414.983 159.934,676.081 "/>
|
10
|
+
</svg>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
3
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
4
|
+
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
5
|
+
width="627.91px" height="528.162px" viewBox="0 148.445 627.91 528.162" enable-background="new 0 148.445 627.91 528.162"
|
6
|
+
xml:space="preserve">
|
7
|
+
<path fill="#D8BC62" d="M59.586,1043.407h-251.97L-36.26,774.101H84.152l-24.566,46.787h-70.516l-35.094,59.128h70.721
|
8
|
+
l-26.32,46.787h-71.116l-39.491,69.447H84.152L59.586,1043.407z"/>
|
9
|
+
<path fill="#D8BC62" d="M840.839,1043.407h-290.21V774.104h134.583l26.32,46.785H607.735v59.128h60.514l26.32,46.787h-86.834v69.447
|
10
|
+
h206.783L840.839,1043.407z"/>
|
11
|
+
<polygon fill="#D8BC62" points="335.228,996.488 438.755,821.019 450.862,821.019 450.862,820.844 500.871,820.844 527.191,774.169
|
12
|
+
404.012,774.169 248.195,1043.163 442.966,1043.163 470.163,1043.163 527.191,1043.163 527.191,996.488 527.191,926.827
|
13
|
+
527.191,879.977 473.673,879.977 452.266,879.977 425.945,926.827 473.673,926.827 473.673,996.488 "/>
|
14
|
+
<path fill="#D8BC62" d="M330.043,774.104H187.679h-27.124h-57.07v46.785v222.336h123.281L356.505,818.99L330.043,774.104z
|
15
|
+
M157.045,996.253V820.891h138.368L191.971,996.253H157.045z"/>
|
16
|
+
<polygon fill="#D8BC62" points="627.91,676.607 183.096,676.607 254.161,552.024 555.617,552.024 "/>
|
17
|
+
<polygon fill="#D8BC62" points="322.594,148.445 544.913,533.601 401.73,534.302 250.827,273.204 "/>
|
18
|
+
<polygon fill="#D8BC62" points="15.874,676.607 238.369,291.277 310.662,414.983 159.934,676.081 "/>
|
19
|
+
</svg>
|
@@ -1,40 +1,69 @@
|
|
1
|
-
@charset "UTF-8";
|
2
|
-
@import "edge/base";
|
3
|
-
// @import "../../../assets/sass/edge/base";
|
4
|
-
|
5
1
|
// Settings file to override Edge variables
|
6
2
|
|
3
|
+
// -----------------------------------------------------
|
4
|
+
// OUTPUT CONFIG
|
5
|
+
// PRO:
|
6
|
+
// Set to true to keep only basic styling
|
7
|
+
// Set to false to use full styling
|
8
|
+
// INCLUDE:
|
9
|
+
// Set to false if you want to import the mixins only
|
10
|
+
// -----------------------------------------------------
|
11
|
+
// $pro : true;
|
12
|
+
|
13
|
+
// $include-grid : true;
|
14
|
+
// $include-block-grid : true;
|
15
|
+
// $include-visibility : true;
|
16
|
+
|
17
|
+
// $include-button : true;
|
18
|
+
// $include-form : true;
|
19
|
+
// $include-typography : true;
|
20
|
+
|
21
|
+
// $include-normalize : true;
|
22
|
+
// $include-print : true;
|
23
|
+
|
7
24
|
// BODY
|
8
25
|
// ------
|
9
|
-
$header-font-family : "
|
10
|
-
$body-font-family : "
|
11
|
-
|
12
|
-
|
26
|
+
$header-font-family : "Bitter", "Helvetica", Helvetica, Arial, sans-serif;
|
27
|
+
$body-font-family : "Source Sans Pro", Helvetica, Arial, sans-serif;
|
28
|
+
$code-font-family : "Source Code Pro", "Consolas", "monospace";
|
29
|
+
$body-bg : #E4E3D5;
|
30
|
+
// $body-font-color : #222;
|
13
31
|
|
14
32
|
// COLOR
|
15
33
|
// -------
|
16
34
|
// $main-color : #0099CC;
|
17
|
-
|
35
|
+
$sub-color : #DBA924;
|
36
|
+
// $passive-color : #E9E9E9;
|
18
37
|
// $alert-color : #CC0000;
|
19
|
-
// $success-color : #
|
38
|
+
// $success-color : #99CC00;
|
20
39
|
|
21
40
|
// GLOBAL VAR
|
22
41
|
// -----------
|
23
42
|
// $g-radius : 5px;
|
43
|
+
// $g-transition : all 0.2s ease-in;
|
24
44
|
// $content-width : 1140px; // For grid
|
25
45
|
|
26
46
|
// MEDIA QUERIES
|
27
47
|
// -------------------
|
28
|
-
// $phone-screen :
|
29
|
-
// $small-screen :
|
30
|
-
// $medium-screen :
|
31
|
-
// $large-screen :
|
48
|
+
// $phone-screen : 480px;
|
49
|
+
// $small-screen : 767px;
|
50
|
+
// $medium-screen : 1140px;
|
51
|
+
// $large-screen : 1440px;
|
32
52
|
// $retina-screen : 192dpi;
|
33
53
|
|
34
54
|
// TEXT DIRECTION
|
35
55
|
// ---------------------
|
36
56
|
// $text-direction : ltr; // Controls default global text direction, 'rtl' or 'ltr'
|
37
57
|
|
58
|
+
// HEADER
|
59
|
+
// ---------------------
|
60
|
+
// $h1-font-size: em(44px);
|
61
|
+
// $h2-font-size: em(37px);
|
62
|
+
// $h3-font-size: em(27px);
|
63
|
+
// $h4-font-size: em(23px);
|
64
|
+
// $h5-font-size: em(18px);
|
65
|
+
// $h6-font-size: 1em;
|
66
|
+
$header-font-weight: 400;
|
38
67
|
|
39
68
|
// GRID
|
40
69
|
// --------
|
@@ -47,4 +76,4 @@ $body-font-family : "Open Sans", Helvetica, Arial, sans-serif;
|
|
47
76
|
// -----------
|
48
77
|
// $block-grid-max-width : em($content-width);
|
49
78
|
// $block-grid-total : 12;
|
50
|
-
// $block-grid-margin : em(25px); // Margin between
|
79
|
+
// $block-grid-margin : em(25px); // Margin between block at maximum row's width
|
data/site/assets/sass/app.scss
CHANGED
@@ -1,7 +1,194 @@
|
|
1
1
|
@import "setting";
|
2
|
-
@import "edge/helpers";
|
3
|
-
|
2
|
+
// @import "edge/helpers";
|
3
|
+
@import "../../../assets/sass/edge/no-output";
|
4
4
|
|
5
|
+
// COLOR
|
6
|
+
$hero-bg : #EFEDDF;
|
7
|
+
$feature-bg : #E4E3D5;
|
8
|
+
|
9
|
+
.block-hero {
|
10
|
+
position : relative;
|
11
|
+
background : $hero-bg;
|
12
|
+
overflow : hidden;
|
13
|
+
|
14
|
+
.logo {
|
15
|
+
position : relative;
|
16
|
+
top : 20%;
|
17
|
+
max-height : em(300px);
|
18
|
+
|
19
|
+
@include small {
|
20
|
+
min-height : 0;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
.logo-letter,
|
25
|
+
.logo-shape {
|
26
|
+
@extend %transition;
|
27
|
+
opacity : 0.6;
|
28
|
+
&:hover {
|
29
|
+
opacity : 1;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
.pitch-intro {
|
34
|
+
padding : em(20px 10px 20px);
|
35
|
+
z-index : 2;
|
36
|
+
|
37
|
+
@include small {
|
38
|
+
padding-top: 0;
|
39
|
+
}
|
40
|
+
|
41
|
+
h1, h2 {
|
42
|
+
font-family : $body-font-family;
|
43
|
+
font-weight : 300;
|
44
|
+
}
|
45
|
+
|
46
|
+
h1 {
|
47
|
+
font-size : em(56px);
|
48
|
+
margin-bottom : em(20px, 56px);
|
49
|
+
}
|
50
|
+
|
51
|
+
h2 {
|
52
|
+
font-size : em(30px);
|
53
|
+
margin-bottom : em(20px, 30px);
|
54
|
+
}
|
55
|
+
|
56
|
+
code {
|
57
|
+
background : white;
|
58
|
+
font-size : em(20px);
|
59
|
+
padding : em(5px 10px);
|
60
|
+
border : 1px solid rgba(black, 0.1);
|
61
|
+
margin-bottom : em(20px, 20px);
|
62
|
+
}
|
63
|
+
|
64
|
+
.hero-button {
|
65
|
+
@include button(#1D7886);
|
66
|
+
text-transform : uppercase;
|
67
|
+
font-size : em(20px);
|
68
|
+
}
|
69
|
+
|
70
|
+
&.has-logo {
|
71
|
+
background : $hero-bg url('../img/logo/edge-logo-transparent.svg') center right no-repeat;
|
72
|
+
background-size: auto 125%;
|
73
|
+
@include small {
|
74
|
+
background: none;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.ruby-install {
|
80
|
+
margin-top: 1.29em;
|
81
|
+
@include small {
|
82
|
+
margin-top: 0;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
|
86
|
+
@include small {
|
87
|
+
font-size: 12px;
|
88
|
+
|
89
|
+
background : $hero-bg url('../img/logo/edge-logo-transparent.svg') center right no-repeat;
|
90
|
+
background-size: auto 125%;
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
@mixin feature-button($button-color: $main-color) {
|
95
|
+
border-top: 2px solid $button-color;
|
96
|
+
&:hover {
|
97
|
+
background: $button-color;
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
.block-feature {
|
102
|
+
background : $feature-bg;
|
103
|
+
padding : em(20px 10px 20px);
|
104
|
+
margin-bottom: em(15px);
|
105
|
+
|
106
|
+
.feature-button {
|
107
|
+
@extend %transition;
|
108
|
+
display : block;
|
109
|
+
padding : em(20px 0);
|
110
|
+
color : inherit;
|
111
|
+
text-align : center;
|
112
|
+
&:hover {
|
113
|
+
color: white;
|
114
|
+
}
|
115
|
+
&:active {
|
116
|
+
@include box-shadow(
|
117
|
+
em( inset 1px 1px 12px rgba(black, 0.1) ),
|
118
|
+
em( inset -1px -1px 12px rgba(black, 0.1) )
|
119
|
+
);
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.feature-list {
|
124
|
+
> li {
|
125
|
+
margin-bottom : em(15px);
|
126
|
+
|
127
|
+
&:nth-child(1) {
|
128
|
+
.feature-button {
|
129
|
+
@include feature-button($main-color);
|
130
|
+
}
|
131
|
+
}
|
132
|
+
&:nth-child(2) {
|
133
|
+
.feature-button {
|
134
|
+
@include feature-button($sub-color);
|
135
|
+
}
|
136
|
+
}
|
137
|
+
&:nth-child(3) {
|
138
|
+
.feature-button {
|
139
|
+
@include feature-button($alert-color);
|
140
|
+
}
|
141
|
+
}
|
142
|
+
&:nth-child(4) {
|
143
|
+
.feature-button {
|
144
|
+
@include feature-button($success-color);
|
145
|
+
}
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
|
150
|
+
.feature-item {
|
151
|
+
position : relative;
|
152
|
+
background-color : white;
|
153
|
+
@include box-shadow(em(0 1px 2px rgba(black, 0.2) ) );
|
154
|
+
}
|
155
|
+
|
156
|
+
.feature-description,
|
157
|
+
.feature-title {
|
158
|
+
text-align: center;
|
159
|
+
}
|
160
|
+
|
161
|
+
.feature-description {
|
162
|
+
padding: em(0 15px 15px);
|
163
|
+
}
|
164
|
+
|
165
|
+
.feature-title {
|
166
|
+
padding : em(15px, 25px);
|
167
|
+
font-size : em(25px);
|
168
|
+
}
|
169
|
+
}
|
170
|
+
|
171
|
+
#footer {
|
172
|
+
background: #3F4944;
|
173
|
+
color: #BBB;
|
174
|
+
padding: em(40px 10px 20px);
|
175
|
+
|
176
|
+
.footer-nav-title {
|
177
|
+
margin-bottom : em(10px, 18px);
|
178
|
+
}
|
179
|
+
|
180
|
+
.footer-nav {
|
181
|
+
a {
|
182
|
+
padding-bottom: em(8px);
|
183
|
+
color: inherit;
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
.copyright {
|
188
|
+
text-align: center;
|
189
|
+
padding: em(20px 0);
|
190
|
+
}
|
191
|
+
}
|
5
192
|
|
6
193
|
.demo-grid {
|
7
194
|
p {
|
@@ -10,21 +197,25 @@
|
|
10
197
|
}
|
11
198
|
.column,
|
12
199
|
.columns {
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
200
|
+
p {
|
201
|
+
margin-bottom : em(15px);
|
202
|
+
padding-top : em(10px);
|
203
|
+
padding-bottom : em(10px);
|
204
|
+
background : em(#eee);
|
205
|
+
text-align : center;
|
206
|
+
}
|
18
207
|
|
19
208
|
.column,
|
20
209
|
.columns {
|
21
|
-
|
22
|
-
|
210
|
+
p {
|
211
|
+
background : #ddd;
|
212
|
+
}
|
23
213
|
|
24
214
|
.column,
|
25
215
|
.columns {
|
26
|
-
|
27
|
-
|
216
|
+
p {
|
217
|
+
background : #ccc;
|
218
|
+
}
|
28
219
|
}
|
29
220
|
}
|
30
221
|
}
|
@@ -47,10 +238,4 @@
|
|
47
238
|
padding : em(10px 15px 25px);
|
48
239
|
}
|
49
240
|
|
50
|
-
@include
|
51
|
-
|
52
|
-
@include sprite-retina("icons", "ic");
|
53
|
-
|
54
|
-
body {
|
55
|
-
text-shadow: 2px 2px 3px yellow;
|
56
|
-
}
|
241
|
+
@include sprite-retina("icons", "ic");
|
data/site/assets/sass/edge.scss
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
@import "setting";
|
2
|
-
@import "edge/components";
|
3
|
-
|
2
|
+
// @import "edge/components";
|
3
|
+
@import "../../../assets/sass/edge";
|
data/site/config.rb
CHANGED
data/site/views/docs/grid.erb
CHANGED
@@ -3,108 +3,80 @@
|
|
3
3
|
<div class="demo-grid">
|
4
4
|
<h1>Grid</h1>
|
5
5
|
<div class="row">
|
6
|
-
<div class="large-
|
7
|
-
<div class="large-
|
8
|
-
<div class="large-
|
9
|
-
<div class="large-1 columns">1</div>
|
10
|
-
<div class="large-1 columns">1</div>
|
11
|
-
<div class="large-1 columns">1</div>
|
12
|
-
<div class="large-1 columns">1</div>
|
13
|
-
<div class="large-1 columns">1</div>
|
14
|
-
<div class="large-1 columns">1</div>
|
15
|
-
<div class="large-1 columns">1</div>
|
16
|
-
<div class="large-1 columns">1</div>
|
17
|
-
<div class="large-1 columns">1</div>
|
6
|
+
<div class="large-4 columns"><p>4</p></div>
|
7
|
+
<div class="large-4 columns"><p>4</p></div>
|
8
|
+
<div class="large-4 columns"><p>4</p></div>
|
18
9
|
</div>
|
19
10
|
<div class="row">
|
20
|
-
<div class="large-
|
21
|
-
<div class="large-
|
22
|
-
<div class="large-4 columns">4</div>
|
11
|
+
<div class="large-6 columns"><p>6</p></div>
|
12
|
+
<div class="large-6 columns"><p>6</p></div>
|
23
13
|
</div>
|
24
14
|
<div class="row">
|
25
|
-
<div class="large-
|
26
|
-
<div class="large-6 columns">6</div>
|
27
|
-
</div>
|
28
|
-
<div class="row">
|
29
|
-
<div class="large-12 columns">12</div>
|
15
|
+
<div class="large-12 columns"><p>12</p></div>
|
30
16
|
</div>
|
31
17
|
|
32
18
|
<h1>Collapsed Grid</h1>
|
33
19
|
<div class="row collapse">
|
34
|
-
<div class="large-
|
35
|
-
<div class="large-
|
36
|
-
<div class="large-
|
37
|
-
<div class="large-1 columns">1</div>
|
38
|
-
<div class="large-1 columns">1</div>
|
39
|
-
<div class="large-1 columns">1</div>
|
40
|
-
<div class="large-1 columns">1</div>
|
41
|
-
<div class="large-1 columns">1</div>
|
42
|
-
<div class="large-1 columns">1</div>
|
43
|
-
<div class="large-1 columns">1</div>
|
44
|
-
<div class="large-1 columns">1</div>
|
45
|
-
<div class="large-1 columns">1</div>
|
46
|
-
</div>
|
47
|
-
<div class="row collapse">
|
48
|
-
<div class="large-4 columns">4</div>
|
49
|
-
<div class="large-4 columns">4</div>
|
50
|
-
<div class="large-4 columns">4</div>
|
20
|
+
<div class="large-4 columns"><p>4</p></div>
|
21
|
+
<div class="large-4 columns"><p>4</p></div>
|
22
|
+
<div class="large-4 columns"><p>4</p></div>
|
51
23
|
</div>
|
52
24
|
<div class="row collapse">
|
53
|
-
<div class="large-6 columns">6</div>
|
54
|
-
<div class="large-6 columns">6</div>
|
25
|
+
<div class="large-6 columns"><p>6</p></div>
|
26
|
+
<div class="large-6 columns"><p>6</p></div>
|
55
27
|
</div>
|
56
28
|
<div class="row collapse">
|
57
|
-
<div class="large-12 columns">12</div>
|
29
|
+
<div class="large-12 columns"><p>12</p></div>
|
58
30
|
</div>
|
59
31
|
|
60
32
|
<h1>Responsive Grid</h1>
|
61
33
|
<div class="row">
|
62
|
-
<div class="large-4 small-4 columns">large-4 small-4</div>
|
63
|
-
<div class="large-4 small-4 columns">large-4 small-4</div>
|
64
|
-
<div class="large-4 small-4 columns">large-4 small-4</div>
|
34
|
+
<div class="large-4 small-4 columns"><p>large-4 small-4</p></div>
|
35
|
+
<div class="large-4 small-4 columns"><p>large-4 small-4</p></div>
|
36
|
+
<div class="large-4 small-4 columns"><p>large-4 small-4</p></div>
|
65
37
|
</div>
|
66
38
|
<div class="row">
|
67
|
-
<div class="large-6 small-8 columns">large-6 small-8</div>
|
68
|
-
<div class="large-6 small-4 columns">large-6 small-4</div>
|
39
|
+
<div class="large-6 small-8 columns"><p>large-6 small-8</p></div>
|
40
|
+
<div class="large-6 small-4 columns"><p>large-6 small-4</p></div>
|
69
41
|
</div>
|
70
42
|
<div class="row">
|
71
|
-
<div class="large-8 small-4 columns">large-8 small-4</div>
|
72
|
-
<div class="large-4 small-8 columns">large-4 small-8</div>
|
43
|
+
<div class="large-8 small-4 columns"><p>large-8 small-4</p></div>
|
44
|
+
<div class="large-4 small-8 columns"><p>large-4 small-8</p></div>
|
73
45
|
</div>
|
74
46
|
|
75
47
|
<h1>Offset and Source Ordering</h1>
|
76
48
|
<div class="row">
|
77
|
-
<div class="large-3 columns">large-3</div>
|
78
|
-
<div class="large-6 large-offset-3 columns">large-6 large-offset-3</div>
|
49
|
+
<div class="large-3 columns"><p>large-3</p></div>
|
50
|
+
<div class="large-6 large-offset-3 columns"><p>large-6 large-offset-3</p></div>
|
79
51
|
</div>
|
80
52
|
<div class="row">
|
81
|
-
<div class="large-3 push-9 columns">push-9</div>
|
82
|
-
<div class="large-9 pull-3 columns">pull-3, last-child</div>
|
53
|
+
<div class="large-3 push-9 columns"><p>push-9</p></div>
|
54
|
+
<div class="large-9 pull-3 columns"><p>pull-3, last-child</p></div>
|
83
55
|
</div>
|
84
56
|
<div class="row collapse">
|
85
57
|
<p>collapsed</p>
|
86
|
-
<div class="large-3 push-9 columns">push-9</div>
|
87
|
-
<div class="large-9 pull-3 columns">pull-3, last-child</div>
|
58
|
+
<div class="large-3 push-9 columns"><p>push-9</p></div>
|
59
|
+
<div class="large-9 pull-3 columns"><p>pull-3, last-child</p></div>
|
88
60
|
</div>
|
89
61
|
|
90
62
|
<h1>Nested Grid</h1>
|
91
63
|
<div class="row">
|
92
64
|
<div class="large-12 columns">
|
93
|
-
12
|
65
|
+
<p>12</p>
|
94
66
|
<div class="row">
|
95
67
|
<div class="large-8 columns">
|
96
|
-
8
|
68
|
+
<p>8</p>
|
97
69
|
<div class="row">
|
98
|
-
<div class="large-6 columns">6</div>
|
99
|
-
<div class="large-6 columns">6</div>
|
70
|
+
<div class="large-6 columns"><p>6</p></div>
|
71
|
+
<div class="large-6 columns"><p>6</p></div>
|
100
72
|
</div>
|
101
73
|
|
102
74
|
</div>
|
103
75
|
<div class="large-4 columns">
|
104
|
-
4
|
76
|
+
<p>4</p>
|
105
77
|
<div class="row">
|
106
|
-
<div class="large-7 columns">7</div>
|
107
|
-
<div class="large-5 columns">5</div>
|
78
|
+
<div class="large-7 columns"><p>7</p></div>
|
79
|
+
<div class="large-5 columns"><p>5</p></div>
|
108
80
|
</div>
|
109
81
|
</div>
|
110
82
|
</div>
|
@@ -114,32 +86,35 @@
|
|
114
86
|
<h1>Responsive Nested Grid</h1>
|
115
87
|
<div class="row">
|
116
88
|
<div class="large-12 small-12 columns">
|
117
|
-
12-12
|
89
|
+
<p>12-12</p>
|
118
90
|
<div class="row">
|
119
91
|
<div class="large-8 small-8 columns">
|
120
|
-
8-8
|
92
|
+
<p>8-8</p>
|
121
93
|
<div class="row">
|
122
|
-
<div class="large-6 small-9 columns">6-9</div>
|
123
|
-
<div class="large-6 small-3 columns">6-3</div>
|
94
|
+
<div class="large-6 small-9 columns"><p>6-9</p></div>
|
95
|
+
<div class="large-6 small-3 columns"><p>6-3</p></div>
|
124
96
|
</div>
|
125
97
|
</div>
|
126
98
|
<div class="large-4 small-4 columns">
|
127
|
-
4-4
|
99
|
+
<p>4-4</p>
|
128
100
|
<div class="row">
|
129
|
-
<div class="large-7 small-7 columns">7-7</div>
|
130
|
-
<div class="large-5 small-5 columns">5-5</div>
|
101
|
+
<div class="large-7 small-7 columns"><p>7-7</p></div>
|
102
|
+
<div class="large-5 small-5 columns"><p>5-5</p></div>
|
131
103
|
</div>
|
132
104
|
</div>
|
133
105
|
</div>
|
134
106
|
</div>
|
135
107
|
</div>
|
108
|
+
|
136
109
|
<h1>Responsive Grid with Offset</h1>
|
137
110
|
<div class="row">
|
138
|
-
<div class="large-8 large-offset-2 small-5 small-offset-3 columns">
|
111
|
+
<div class="large-8 large-offset-2 small-5 small-offset-3 columns">
|
112
|
+
<p>large-8 large-offset-2 small-5 off-3</p>
|
113
|
+
</div>
|
139
114
|
</div>
|
140
115
|
<div class="row">
|
141
116
|
<div class="large-6 large-centered small-8 small-centered columns">
|
142
|
-
large-6 large-centered small-8 small-centered
|
117
|
+
<p>large-6 large-centered small-8 small-centered</p>
|
143
118
|
</div>
|
144
119
|
</div>
|
145
120
|
</div>
|
data/site/views/index.erb
CHANGED
@@ -1,10 +1,58 @@
|
|
1
|
-
<div
|
2
|
-
<div class="row
|
1
|
+
<div class="block-hero">
|
2
|
+
<div class="row">
|
3
|
+
<div class="large-6 small-12 columns">
|
4
|
+
<div class="pitch-intro has-logo">
|
5
|
+
<h1>EDGE</h1>
|
6
|
+
<h2>Light-weight front-end framework</h2>
|
7
|
+
<a href="/docs/" class="button hero-button">Read the Docs</a>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
<div class="large-6 small-12 columns">
|
11
|
+
<div class="pitch-intro">
|
12
|
+
<div class="ruby-install">
|
13
|
+
<h2>Ruby Installation:</h2>
|
14
|
+
<code>gem install edge_framework</code>
|
15
|
+
</div>
|
16
|
+
<a href="/docs/ruby/" class="button hero-button">What is that?</a>
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
<div class="block-feature">
|
22
|
+
<div class="row">
|
3
23
|
<div class="large-12 columns">
|
4
|
-
<
|
5
|
-
<
|
6
|
-
|
7
|
-
|
24
|
+
<section class="wrapper-feature">
|
25
|
+
<ul class="feature-list large-block-grid-4 small-block-grid-2">
|
26
|
+
<li>
|
27
|
+
<div class="feature-item">
|
28
|
+
<h1 class="feature-title">Stylesheet</h1>
|
29
|
+
<p class="feature-description">Light-weight framework for front-end developer that works with designer.</p>
|
30
|
+
<a href="/docs/css/" class="feature-button">Read Stylesheet Docs</a>
|
31
|
+
</div>
|
32
|
+
</li>
|
33
|
+
<li>
|
34
|
+
<div class="feature-item">
|
35
|
+
<h1 class="feature-title">JavaScript</h1>
|
36
|
+
<p class="feature-description">Collection of best open source library, re-written into consistent script.</p>
|
37
|
+
<a href="/docs/js/" class="feature-button">Read JavaScript Docs</a>
|
38
|
+
</div>
|
39
|
+
</li>
|
40
|
+
<li>
|
41
|
+
<div class="feature-item">
|
42
|
+
<h1 class="feature-title">Compass</h1>
|
43
|
+
<p class="feature-description">Edge is an extension of Compass, which provide programming logic to CSS.</p>
|
44
|
+
<a href="/docs/compass/" class="feature-button">Read Compass Docs</a>
|
45
|
+
</div>
|
46
|
+
</li>
|
47
|
+
<li>
|
48
|
+
<div class="feature-item">
|
49
|
+
<h1 class="feature-title">Template</h1>
|
50
|
+
<p class="feature-description">Kick start your new project with our template creator. Nothing fancy though.</p>
|
51
|
+
<a href="/docs/template/" class="feature-button">Read Template Docs</a>
|
52
|
+
</div>
|
53
|
+
</li>
|
54
|
+
</ul>
|
55
|
+
</section>
|
8
56
|
</div>
|
9
57
|
</div>
|
10
58
|
</div>
|