edge_framework 0.0.2
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 +15 -0
- data/.gitattributes +22 -0
- data/.gitignore +243 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +38 -0
- data/LICENSE.txt +22 -0
- data/README.md +33 -0
- data/Rakefile +7 -0
- data/assets/js/edge/edge.collect.js +57 -0
- data/assets/js/edge/edge.handlebars.js +7 -0
- data/assets/js/edge/edge.ie8.js +24 -0
- data/assets/js/edge/edge.notification.js +0 -0
- data/assets/js/edge/layout.js +10 -0
- data/assets/js/edge/prototype.js +6 -0
- data/assets/js/edge.js +233 -0
- data/assets/js/edge.min.js +1 -0
- data/assets/sass/edge/_base.scss +295 -0
- data/assets/sass/edge/_components.scss +9 -0
- data/assets/sass/edge/_helpers.scss +2 -0
- data/assets/sass/edge/components/_block_grid.scss +99 -0
- data/assets/sass/edge/components/_form.scss +15 -0
- data/assets/sass/edge/components/_grid.scss +301 -0
- data/assets/sass/edge/components/_main.scss +133 -0
- data/assets/sass/edge/components/_normalize.scss +49 -0
- data/assets/sass/edge/components/_palette.scss +24 -0
- data/assets/sass/edge/components/_print.scss +71 -0
- data/assets/sass/edge/components/_typography.scss +4 -0
- data/assets/sass/edge/components/_visibility.scss +64 -0
- data/assets/sass/edge/helpers/_sprites.scss +82 -0
- data/assets/sass/edge/helpers/_sticky-footer.scss +41 -0
- data/assets/sass/edge.scss +9 -0
- data/bin/edge +13 -0
- data/edge.gemspec +26 -0
- data/lib/edge/console.rb +10 -0
- data/lib/edge/engine.rb +16 -0
- data/lib/edge/version.rb +3 -0
- data/lib/edge_framework.rb +22 -0
- data/site/Gemfile +4 -0
- data/site/assets/css/app.css +24 -0
- data/site/assets/css/edge.css +423 -0
- data/site/assets/css/normalize.min.css +51 -0
- data/site/assets/css/sh/shCoreDefault.css +328 -0
- data/site/assets/img/dummy/001.jpg +0 -0
- data/site/assets/img/dummy/002.jpg +0 -0
- data/site/assets/img/dummy/003.jpg +0 -0
- data/site/assets/img/dummy/004.jpg +0 -0
- data/site/assets/img/dummy/005.jpg +0 -0
- data/site/assets/img/dummy/006.jpg +0 -0
- data/site/assets/img/dummy/007.jpg +0 -0
- data/site/assets/img/dummy/008.jpg +0 -0
- data/site/assets/img/dummy/009.jpg +0 -0
- data/site/assets/img/dummy/025.jpg +0 -0
- data/site/assets/img/favicon-big.png +0 -0
- data/site/assets/img/favicon.png +0 -0
- data/site/assets/img/icons/bulbasaur.png +0 -0
- data/site/assets/img/icons/charizard.png +0 -0
- data/site/assets/img/icons/charmander.png +0 -0
- data/site/assets/img/icons/charmeleon.png +0 -0
- data/site/assets/img/icons/ivysaur.png +0 -0
- data/site/assets/img/icons/squirtle.png +0 -0
- data/site/assets/img/icons/venusaur.png +0 -0
- data/site/assets/img/icons-se85c66def2.png +0 -0
- data/site/assets/img/icons@2x/bulbasaur.png +0 -0
- data/site/assets/img/icons@2x/charizard.png +0 -0
- data/site/assets/img/icons@2x/charmander.png +0 -0
- data/site/assets/img/icons@2x/charmeleon.png +0 -0
- data/site/assets/img/icons@2x/ivysaur.png +0 -0
- data/site/assets/img/icons@2x/squirtle.png +0 -0
- data/site/assets/img/icons@2x/venusaur.png +0 -0
- data/site/assets/img/icons@2x-sf605bc03f7.png +0 -0
- data/site/assets/js/app.js +0 -0
- data/site/assets/js/sh/shBrushCss.js +91 -0
- data/site/assets/js/sh/shBrushJScript.js +52 -0
- data/site/assets/js/sh/shBrushPhp.js +88 -0
- data/site/assets/js/sh/shBrushRuby.js +55 -0
- data/site/assets/js/sh/shBrushSass.js +94 -0
- data/site/assets/js/sh/shCore.js +17 -0
- data/site/assets/js/vendor/custom.modernizr.js +4 -0
- data/site/assets/js/vendor/handlebars.js +2239 -0
- data/site/assets/js/vendor/handlebars.min.js +2 -0
- data/site/assets/js/vendor/jquery.js +6 -0
- data/site/assets/sass/_setting.scss +50 -0
- data/site/assets/sass/app.scss +52 -0
- data/site/assets/sass/edge.scss +3 -0
- data/site/config.rb +23 -0
- data/site/config.ru +12 -0
- data/site/start.rb +20 -0
- data/site/views/docs/block_grid.erb +36 -0
- data/site/views/docs/grid.erb +147 -0
- data/site/views/form.html +114 -0
- data/site/views/index.erb +10 -0
- data/site/views/layout.erb +61 -0
- data/site/views/partials/_sidebar.erb +4 -0
- data/template/base/assets/img/favicon.ico +0 -0
- data/template/base/assets/js/app.js +3 -0
- data/template/base/assets/js/vendor/custom.modernizr.js +4 -0
- data/template/base/assets/js/vendor/jquery.min.js +6 -0
- data/template/base/assets/sass/_setting.scss +50 -0
- data/template/base/assets/sass/app.scss +4 -0
- data/template/base/assets/sass/edge.scss +3 -0
- data/template/base/config.rb +14 -0
- data/template/html/index.html +35 -0
- data/template/php/index.php +5 -0
- data/template/php/partials/_footer.php +15 -0
- data/template/php/partials/_header.php +17 -0
- metadata +233 -0
@@ -0,0 +1,301 @@
|
|
1
|
+
/* ---------------
|
2
|
+
EDGE Grid
|
3
|
+
--------------- */
|
4
|
+
// Based on Zurb's Foundation
|
5
|
+
|
6
|
+
$row-width : em($content-width) !default;
|
7
|
+
$column-padding : em(0px) !default;
|
8
|
+
$column-margin : em(25px) !default; // Margin between column at maximum row's width
|
9
|
+
$total-columns : 12 !default;
|
10
|
+
|
11
|
+
// Calculate percentages for grid
|
12
|
+
@function gridCalc($colNumber, $totalColumns: $total-columns, $collapse: false ) {
|
13
|
+
$baseSize : percentage( $colNumber / $totalColumns );
|
14
|
+
|
15
|
+
// Additional size due to margin between grid.
|
16
|
+
$fillSize : 0 !default;
|
17
|
+
@if $collapse == false {
|
18
|
+
$fillSize : $colNumber * ( gridMarginCalc() / $totalColumns );
|
19
|
+
}
|
20
|
+
|
21
|
+
@return $baseSize + $fillSize;
|
22
|
+
}
|
23
|
+
|
24
|
+
// Calculate percentages for Margin between grid
|
25
|
+
@function gridMarginCalc($colMargin: $column-margin, $rowWidth: $row-width) {
|
26
|
+
@return percentage( $colMargin / $rowWidth );
|
27
|
+
}
|
28
|
+
|
29
|
+
// Create ROW
|
30
|
+
@mixin grid-row($behavior: false, $minify: false) {
|
31
|
+
@if $minify == false {
|
32
|
+
@include clearfix;
|
33
|
+
}
|
34
|
+
// use @include grid-row(nest); to include a nested row
|
35
|
+
@if $behavior == nest {
|
36
|
+
width : auto;
|
37
|
+
max-width : none;
|
38
|
+
margin-left : -($column-padding);
|
39
|
+
margin-right : -($column-padding);
|
40
|
+
}
|
41
|
+
// use @include grid-row(collapse); to collapse a container row margins
|
42
|
+
@else if $behavior == collapse {
|
43
|
+
width : 100%;
|
44
|
+
max-width : $row-width;
|
45
|
+
margin : 0;
|
46
|
+
}
|
47
|
+
// use @include grid-row(nest-in-non-collapse); to collapse outer margins of nested-row inside non-collapsed-row
|
48
|
+
@else if $behavior == nest-in-non-collapse {
|
49
|
+
width : auto;
|
50
|
+
max-width : none;
|
51
|
+
}
|
52
|
+
// use @include grid-row(nest-in-collapse); to collapse outer margins of nested-row inside collapsed-row
|
53
|
+
@else if $behavior == nest-in-collapse {
|
54
|
+
width : auto;
|
55
|
+
max-width : none;
|
56
|
+
margin : 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
// use @include grid-row; to use a container row
|
60
|
+
@else {
|
61
|
+
width : 100%;
|
62
|
+
max-width : $row-width;
|
63
|
+
margin : 0 auto;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
// Create COLUMN
|
68
|
+
@mixin grid-column($columns : false,
|
69
|
+
$last-column : false,
|
70
|
+
$center : false,
|
71
|
+
$offset : false,
|
72
|
+
$push : false,
|
73
|
+
$pull : false,
|
74
|
+
$collapse : false,
|
75
|
+
$minify : false, // Remove style redundancy
|
76
|
+
$float : left ) {
|
77
|
+
|
78
|
+
$not-for-columns : $push == false and $pull == false;
|
79
|
+
// If column number not specified
|
80
|
+
@if $columns == false and $minify and $not-for-columns {
|
81
|
+
position : relative;
|
82
|
+
margin-#{$default-opposite} : gridMarginCalc();
|
83
|
+
&:last-child { margin-#{$default-opposite} : 0; }
|
84
|
+
}
|
85
|
+
|
86
|
+
// If not collapse, add padding
|
87
|
+
@if $collapse == false and $minify == false {
|
88
|
+
padding-left : $column-padding;
|
89
|
+
padding-right : $column-padding;
|
90
|
+
}
|
91
|
+
|
92
|
+
// If collapsed, remove padding and margin
|
93
|
+
@if $collapse and $minify == false {
|
94
|
+
padding-left : 0;
|
95
|
+
padding-right : 0;
|
96
|
+
margin-#{$default-opposite} : 0;
|
97
|
+
}
|
98
|
+
|
99
|
+
// If collapsed and no column-number given, remove margin between grid
|
100
|
+
@if $collapse and $columns == false and $minify == true {
|
101
|
+
margin-#{$default-opposite} : 0;
|
102
|
+
}
|
103
|
+
|
104
|
+
// If a column number is given, calculate width
|
105
|
+
@if $columns {
|
106
|
+
@if $minify == false { position : relative; }
|
107
|
+
// If collapsed, recalculate the width
|
108
|
+
@if $collapse {
|
109
|
+
width : gridCalc($columns, $collapse: true);
|
110
|
+
}
|
111
|
+
// Else, reduce the width with the margin
|
112
|
+
@else {
|
113
|
+
width : gridCalc($columns) - gridMarginCalc();
|
114
|
+
|
115
|
+
@if $minify == false {
|
116
|
+
margin-#{$default-opposite} : gridMarginCalc();
|
117
|
+
|
118
|
+
// If last-column specified explicitly
|
119
|
+
@if $last-column {
|
120
|
+
margin-#{$default-opposite} : 0;
|
121
|
+
} @else {
|
122
|
+
&:last-child { margin-#{$default-opposite} : 0; }
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
// If offset, calculate appropriate margins
|
129
|
+
@if $offset {
|
130
|
+
margin-#{$default-float}: gridCalc($offset, $collapse:$collapse);
|
131
|
+
}
|
132
|
+
|
133
|
+
// Source Ordering, adds left/right depending on which you use.
|
134
|
+
@if $push {
|
135
|
+
@if $minify == false { position : relative; }
|
136
|
+
#{$default-float} : gridCalc($push, $collapse: $collapse);
|
137
|
+
#{$default-opposite} : auto;
|
138
|
+
}
|
139
|
+
@if $pull {
|
140
|
+
@if $minify == false { position : relative; }
|
141
|
+
#{$default-opposite} : gridCalc($pull, $collapse: $collapse);
|
142
|
+
#{$default-float} : auto;
|
143
|
+
}
|
144
|
+
// If centered, get rid of float and add appropriate margins
|
145
|
+
@if $center {
|
146
|
+
margin-left : auto !important;
|
147
|
+
margin-right : auto !important;
|
148
|
+
float : none !important;
|
149
|
+
}
|
150
|
+
@if $float {
|
151
|
+
@if $float == left or true {
|
152
|
+
float : $default-float;
|
153
|
+
} @else if $float == right {
|
154
|
+
float : $default-opposite;
|
155
|
+
} @else {
|
156
|
+
float : none;
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
// CSS
|
162
|
+
body {
|
163
|
+
&.not-responsive {
|
164
|
+
min-width : $row-width;
|
165
|
+
}
|
166
|
+
&.only-responsive-below-small {
|
167
|
+
min-width : $row-width;
|
168
|
+
@include small {
|
169
|
+
min-width : 0;
|
170
|
+
}
|
171
|
+
}
|
172
|
+
}
|
173
|
+
// For `normal-row`
|
174
|
+
.row {
|
175
|
+
@include grid-row;
|
176
|
+
|
177
|
+
.column,
|
178
|
+
.columns {
|
179
|
+
@include grid-column($columns: false, $minify: true);
|
180
|
+
|
181
|
+
&.last { margin-#{$default-opposite} : 0 !important; }
|
182
|
+
}
|
183
|
+
|
184
|
+
// Width for `normal-row`
|
185
|
+
@for $i from 1 through $total-columns {
|
186
|
+
.large-#{$i} {
|
187
|
+
@include grid-column($columns:$i, $collapse:null, $float:false, $minify: true );
|
188
|
+
}
|
189
|
+
}
|
190
|
+
|
191
|
+
// For `collapsed-row`
|
192
|
+
&.collapse {
|
193
|
+
.column,
|
194
|
+
.columns {
|
195
|
+
@include grid-column($collapse: true);
|
196
|
+
}
|
197
|
+
|
198
|
+
// For `nested-row inside collapsed-row`, it's automatically collapsed
|
199
|
+
.row {
|
200
|
+
@include grid-row($behavior: nest-in-collapse, $minify: true);
|
201
|
+
|
202
|
+
.column,
|
203
|
+
.columns {
|
204
|
+
@include grid-column($columns: false, $collapse: true, $minify: true);
|
205
|
+
}
|
206
|
+
}
|
207
|
+
|
208
|
+
@for $i from 1 through $total-columns {
|
209
|
+
.large-#{$i} {
|
210
|
+
@include grid-column($columns:$i, $collapse:true, $float:false, $minify: true );
|
211
|
+
}
|
212
|
+
}
|
213
|
+
}
|
214
|
+
|
215
|
+
// For `nested-row`
|
216
|
+
.row {
|
217
|
+
@include grid-row($behavior: nest, $minify: true);
|
218
|
+
}
|
219
|
+
|
220
|
+
// Offset for large columns
|
221
|
+
@for $i from 1 through $total-columns - 2 {
|
222
|
+
.large-offset-#{$i} {
|
223
|
+
@include grid-column($offset:$i, $collapse:null, $float:false );
|
224
|
+
}
|
225
|
+
}
|
226
|
+
}
|
227
|
+
|
228
|
+
.column.large-centered,
|
229
|
+
.columns.large-centered {
|
230
|
+
@include grid-column($center:true, $collapse:null, $float:false );
|
231
|
+
}
|
232
|
+
|
233
|
+
// Push and pull for large-columns
|
234
|
+
@for $i from 2 through $total-columns - 2 {
|
235
|
+
.row {
|
236
|
+
.push-#{$i} {
|
237
|
+
@include grid-column($push:$i, $collapse:false, $float:false, $minify:true ); }
|
238
|
+
.pull-#{$i} {
|
239
|
+
@include grid-column($pull:$i, $collapse:false, $float:false, $minify:true ); }
|
240
|
+
&.collapse {
|
241
|
+
.push-#{$i} {
|
242
|
+
@include grid-column($push:$i, $collapse:true, $float:false, $minify:true ); }
|
243
|
+
.pull-#{$i} {
|
244
|
+
@include grid-column($pull:$i, $collapse:true, $float:false, $minify:true ); }
|
245
|
+
}
|
246
|
+
}
|
247
|
+
}
|
248
|
+
|
249
|
+
@include medium-up {
|
250
|
+
@for $i from 2 through $total-columns - 2 {
|
251
|
+
.small-push-#{$i} {
|
252
|
+
left: inherit;
|
253
|
+
}
|
254
|
+
.small-pull-#{$i} {
|
255
|
+
right: inherit;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
|
260
|
+
@include small {
|
261
|
+
// Set all `large` columns to 100%
|
262
|
+
.row .column,
|
263
|
+
.row .columns,
|
264
|
+
.row.collapse .column,
|
265
|
+
.row.collapse .columns {
|
266
|
+
@include grid-column($columns: $total-columns, $minify: true);
|
267
|
+
|
268
|
+
// Reset push and pull
|
269
|
+
&[class*="push"], &[class*="pull"] {
|
270
|
+
left : auto;
|
271
|
+
right : auto;
|
272
|
+
}
|
273
|
+
}
|
274
|
+
|
275
|
+
// Reset large-offset
|
276
|
+
.row {
|
277
|
+
[class*="large-offset"] {
|
278
|
+
margin-left : 0;
|
279
|
+
}
|
280
|
+
}
|
281
|
+
|
282
|
+
// Small columns
|
283
|
+
@for $i from 1 through $total-columns {
|
284
|
+
.row .small-#{$i} {
|
285
|
+
@include grid-column($columns:$i, $collapse:null, $float:false, $minify: true );
|
286
|
+
}
|
287
|
+
}
|
288
|
+
|
289
|
+
// Small offset
|
290
|
+
@for $i from 1 through $total-columns - 2 {
|
291
|
+
.row {
|
292
|
+
.small-offset-#{$i}, &.collapse .small-offset-#{$i} {
|
293
|
+
@include grid-column($offset:$i, $collapse:null, $float:false );
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
.column.small-centered,
|
298
|
+
.columns.small-centered {
|
299
|
+
@include grid-column($center:true, $collapse:null, $float:false );
|
300
|
+
}
|
301
|
+
}
|
@@ -0,0 +1,133 @@
|
|
1
|
+
/* ------------------
|
2
|
+
EDGE Boilerplate
|
3
|
+
--------------------- */
|
4
|
+
|
5
|
+
// Set box-sizing globally to handle padding and border widths
|
6
|
+
*,
|
7
|
+
*:before,
|
8
|
+
*:after {
|
9
|
+
@include box-sizing(border-box);
|
10
|
+
}
|
11
|
+
|
12
|
+
html,
|
13
|
+
body {
|
14
|
+
font-size: $base-font-size;
|
15
|
+
}
|
16
|
+
|
17
|
+
body {
|
18
|
+
position : relative;
|
19
|
+
background : $body-bg;
|
20
|
+
color : $body-font-color;
|
21
|
+
padding : 0;
|
22
|
+
margin : 0;
|
23
|
+
font-family : $body-font-family;
|
24
|
+
font-weight : $body-font-weight;
|
25
|
+
font-style : $body-font-style;
|
26
|
+
line-height : 1;
|
27
|
+
}
|
28
|
+
|
29
|
+
h1, h2, h3, h4, h5, h6 {
|
30
|
+
font-family : $header-font-family;
|
31
|
+
}
|
32
|
+
|
33
|
+
p {
|
34
|
+
line-height : 1.5;
|
35
|
+
margin-top : 0;
|
36
|
+
margin-bottom : 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
// A better looking default horizontal rule
|
40
|
+
hr {
|
41
|
+
display : block;
|
42
|
+
height : 1px;
|
43
|
+
margin : 1em 0;
|
44
|
+
padding : 0;
|
45
|
+
border : 0;
|
46
|
+
border-top : 1px solid #ccc;
|
47
|
+
}
|
48
|
+
|
49
|
+
// Override `normalize` part that we don't like
|
50
|
+
a:focus { outline: none; }
|
51
|
+
|
52
|
+
h1 { margin: 0; }
|
53
|
+
|
54
|
+
fieldset {
|
55
|
+
border : 0;
|
56
|
+
margin : 0;
|
57
|
+
padding : 0;
|
58
|
+
}
|
59
|
+
|
60
|
+
|
61
|
+
// Grid Defaults to get images and embeds to work properly
|
62
|
+
img,
|
63
|
+
object,
|
64
|
+
embed { max-width: 100%; height: auto; }
|
65
|
+
|
66
|
+
object,
|
67
|
+
embed { height: 100%; }
|
68
|
+
|
69
|
+
#map_canvas,
|
70
|
+
.map_canvas {
|
71
|
+
img,
|
72
|
+
embed,
|
73
|
+
object {
|
74
|
+
max-width: none !important;
|
75
|
+
}
|
76
|
+
}
|
77
|
+
|
78
|
+
// Allow only vertical resizing of textareas.
|
79
|
+
textarea {
|
80
|
+
resize : vertical;
|
81
|
+
height : auto;
|
82
|
+
min-height : 50px;
|
83
|
+
}
|
84
|
+
|
85
|
+
// Make select elements 100% width by default
|
86
|
+
select {
|
87
|
+
width: 100%;
|
88
|
+
}
|
89
|
+
|
90
|
+
// Get rid of gap under images
|
91
|
+
img {
|
92
|
+
display: inline-block;
|
93
|
+
vertical-align: middle;
|
94
|
+
-ms-interpolation-mode: bicubic;
|
95
|
+
}
|
96
|
+
|
97
|
+
|
98
|
+
// Chrome Sibling Selector Fix
|
99
|
+
body {
|
100
|
+
-webkit-animation: bugfix infinite 1s;
|
101
|
+
}
|
102
|
+
|
103
|
+
@-webkit-keyframes bugfix {
|
104
|
+
from { padding: 0; }
|
105
|
+
to { padding: 0; }
|
106
|
+
}
|
107
|
+
|
108
|
+
// -----------------------------------
|
109
|
+
/* Miscellaneous useful HTML classes */
|
110
|
+
// -----------------------------------
|
111
|
+
.left { float: left !important; }
|
112
|
+
.right { float: right !important; }
|
113
|
+
.text-left { text-align: left !important; }
|
114
|
+
.text-right { text-align: right !important; }
|
115
|
+
.text-center { text-align: center !important; }
|
116
|
+
.text-justify { text-align: justify !important; }
|
117
|
+
.hide { display: none !important; visibility: hidden !important; }
|
118
|
+
.visual-hide {
|
119
|
+
border : 0 !important;
|
120
|
+
clip : rect(0 0 0 0) !important;
|
121
|
+
height : 1px !important;
|
122
|
+
margin : -1px !important;
|
123
|
+
overflow : hidden !important;
|
124
|
+
padding : 0 !important;
|
125
|
+
position : absolute !important;
|
126
|
+
width : 1px !important;
|
127
|
+
}
|
128
|
+
|
129
|
+
.bold, b, strong { font-weight: 700 !important; }
|
130
|
+
.italic, em { font-style: italic !important; }
|
131
|
+
|
132
|
+
// Font smoothing, only works on Safari Webkit
|
133
|
+
.antialiased { -webkit-font-smoothing: antialiased; }
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/* ---------------------------
|
2
|
+
Normalize | git.io/normalize
|
3
|
+
------------------------------ */
|
4
|
+
|
5
|
+
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
|
6
|
+
audio, canvas, video { display: inline-block; }
|
7
|
+
audio:not([controls]) { display: none; height: 0; }
|
8
|
+
[hidden] { display: none; }
|
9
|
+
|
10
|
+
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
|
11
|
+
body { margin: 0; }
|
12
|
+
|
13
|
+
a:focus { outline: thin dotted; }
|
14
|
+
a:active, a:hover { outline: 0; }
|
15
|
+
|
16
|
+
h1 { font-size: 2em; margin: 0.67em 0; }
|
17
|
+
abbr[title] { border-bottom: 1px dotted; }
|
18
|
+
b, strong { font-weight: bold; }
|
19
|
+
dfn { font-style: italic; }
|
20
|
+
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
|
21
|
+
|
22
|
+
mark { background: #ff0; color: #000; }
|
23
|
+
code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; }
|
24
|
+
pre { white-space: pre-wrap; }
|
25
|
+
q { quotes: "\201C" "\201D" "\2018" "\2019"; }
|
26
|
+
small { font-size: 80%; }
|
27
|
+
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
|
28
|
+
sup { top: -0.5em; }
|
29
|
+
sub { bottom: -0.25em; }
|
30
|
+
|
31
|
+
img { border: 0; }
|
32
|
+
svg:not(:root) { overflow: hidden; }
|
33
|
+
|
34
|
+
figure { margin: 0; }
|
35
|
+
|
36
|
+
fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
|
37
|
+
legend { border: 0; padding: 0; }
|
38
|
+
button, input, select, textarea { font-family: inherit; font-size: 100%; margin: 0;}
|
39
|
+
button, input { line-height: normal; }
|
40
|
+
button, select { text-transform: none; }
|
41
|
+
button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; }
|
42
|
+
button[disabled], html input[disabled] { cursor: default; }
|
43
|
+
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; }
|
44
|
+
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
|
45
|
+
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
|
46
|
+
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
|
47
|
+
textarea { overflow: auto; vertical-align: top; }
|
48
|
+
|
49
|
+
table { border-collapse: collapse; border-spacing: 0; }
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// --------------------------
|
2
|
+
// EDGE Palette *deprecated*
|
3
|
+
// --------------------------
|
4
|
+
// This component has been deprecated, the colors are now declared in "_base"
|
5
|
+
|
6
|
+
$blue_light : #33B5E5;
|
7
|
+
$blue : #0099CC;
|
8
|
+
|
9
|
+
$purple_light : #AA66CC;
|
10
|
+
$purple : #9933CC;
|
11
|
+
|
12
|
+
$green_light : #99CC00;
|
13
|
+
$green : #3D9900;
|
14
|
+
|
15
|
+
$orange_light : #FFBB33;
|
16
|
+
$orange : #FF8800;
|
17
|
+
|
18
|
+
$red_light : #FF4444;
|
19
|
+
$red : #CC0000;
|
20
|
+
|
21
|
+
$gray_dark : #333;
|
22
|
+
$gray : #777;
|
23
|
+
$gray_semi : #AAA;
|
24
|
+
$gray_light : #EEE;
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/* ------------------------------
|
2
|
+
H5BP PRINT
|
3
|
+
- Style for printing the website
|
4
|
+
--------------------------------- */
|
5
|
+
|
6
|
+
@media print {
|
7
|
+
* {
|
8
|
+
background: transparent !important;
|
9
|
+
color: #000 !important; /* Black prints faster: h5bp.com/s */
|
10
|
+
box-shadow: none !important;
|
11
|
+
text-shadow: none !important;
|
12
|
+
}
|
13
|
+
|
14
|
+
a,
|
15
|
+
a:visited {
|
16
|
+
text-decoration: underline;
|
17
|
+
}
|
18
|
+
|
19
|
+
a[href]:after {
|
20
|
+
content: " (" attr(href) ")";
|
21
|
+
}
|
22
|
+
|
23
|
+
abbr[title]:after {
|
24
|
+
content: " (" attr(title) ")";
|
25
|
+
}
|
26
|
+
|
27
|
+
/*
|
28
|
+
* Don't show links for images, or javascript/internal links
|
29
|
+
*/
|
30
|
+
|
31
|
+
.ir a:after,
|
32
|
+
a[href^="javascript:"]:after,
|
33
|
+
a[href^="#"]:after {
|
34
|
+
content: "";
|
35
|
+
}
|
36
|
+
|
37
|
+
pre,
|
38
|
+
blockquote {
|
39
|
+
border: 1px solid #999;
|
40
|
+
page-break-inside: avoid;
|
41
|
+
}
|
42
|
+
|
43
|
+
thead {
|
44
|
+
display: table-header-group; /* h5bp.com/t */
|
45
|
+
}
|
46
|
+
|
47
|
+
tr,
|
48
|
+
img {
|
49
|
+
page-break-inside: avoid;
|
50
|
+
}
|
51
|
+
|
52
|
+
img {
|
53
|
+
max-width: 100% !important;
|
54
|
+
}
|
55
|
+
|
56
|
+
@page {
|
57
|
+
margin: 0.5cm;
|
58
|
+
}
|
59
|
+
|
60
|
+
p,
|
61
|
+
h2,
|
62
|
+
h3 {
|
63
|
+
orphans: 3;
|
64
|
+
widows: 3;
|
65
|
+
}
|
66
|
+
|
67
|
+
h2,
|
68
|
+
h3 {
|
69
|
+
page-break-after: avoid;
|
70
|
+
}
|
71
|
+
}
|
@@ -0,0 +1,64 @@
|
|
1
|
+
/* ---------------
|
2
|
+
EDGE Visibility
|
3
|
+
--------------- */
|
4
|
+
// Based on Zurb's Foundation
|
5
|
+
|
6
|
+
/* Above small breakpoint (>=768px) */
|
7
|
+
.show-for-small,
|
8
|
+
.hide-for-large { display: none !important; }
|
9
|
+
|
10
|
+
.show-for-large,
|
11
|
+
.hide-for-small { display: inherit !important; }
|
12
|
+
|
13
|
+
table {
|
14
|
+
&.show-for-large,
|
15
|
+
&.hide-for-small { display: none !important; }
|
16
|
+
}
|
17
|
+
thead {
|
18
|
+
&.show-for-large,
|
19
|
+
&.hide-for-small { display: table-header-group !important; }
|
20
|
+
}
|
21
|
+
tbody {
|
22
|
+
&.show-for-large,
|
23
|
+
&.hide-for-small { display: table-row-group !important; }
|
24
|
+
}
|
25
|
+
tr {
|
26
|
+
&.show-for-large,
|
27
|
+
&.hide-for-small { display: table-row !important; }
|
28
|
+
}
|
29
|
+
td,
|
30
|
+
th {
|
31
|
+
&.show-for-large,
|
32
|
+
&.hide-for-small { display: table-cell !important; }
|
33
|
+
}
|
34
|
+
|
35
|
+
/* Below small breakpoint (<768px) */
|
36
|
+
@include small {
|
37
|
+
.show-for-large,
|
38
|
+
.hide-for-small { display: none !important; }
|
39
|
+
|
40
|
+
.show-for-small,
|
41
|
+
.hide-for-large { display: inherit !important; }
|
42
|
+
|
43
|
+
table {
|
44
|
+
&.show-for-small,
|
45
|
+
&.hide-for-large { display: none !important; }
|
46
|
+
}
|
47
|
+
thead {
|
48
|
+
&.show-for-small,
|
49
|
+
&.hide-for-large { display: table-header-group !important; }
|
50
|
+
}
|
51
|
+
tbody {
|
52
|
+
&.show-for-small,
|
53
|
+
&.hide-for-large { display: table-row-group !important; }
|
54
|
+
}
|
55
|
+
tr {
|
56
|
+
&.show-for-small,
|
57
|
+
&.hide-for-large { display: table-row !important; }
|
58
|
+
}
|
59
|
+
td,
|
60
|
+
th {
|
61
|
+
&.show-for-small,
|
62
|
+
&.hide-for-large { display: table-cell !important; }
|
63
|
+
}
|
64
|
+
}
|