edge_framework 0.3.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MzdkOTViZGVjNjYzYmNkNjQ5Zjc3NzM1ODVkZGJkODc4ZjE0MDE0Nw==
4
+ MGZmZGMyNWQ1ZjAzZjIzMmJiYmIzOWFmMDNlM2M3ODM5YTgyYjNjYg==
5
5
  data.tar.gz: !binary |-
6
- YjAyMjY3ZTc2YTEwNmI2YTBiZTRmY2MxM2MxZjY2ODU5NTVkNzdkMQ==
6
+ NzhhNWQxZDZiNGFmZTI1MTJiNjA5MDFiMmM5ZGVhNzZjMTFhYWIzOA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTIzZGE4N2EzZTNlYWUzNTZjNzg0Zjc1ZmM4MzViNzAxZDI1NWZlNzJkOGUz
10
- M2JmYjdhYWU5ZjRkNmJlZGU5ZjhlYTZkNjcwZjJiOTg2ZmFjZDU1ODMwNzlk
11
- MWM2ZmIyZGQzYzhkNmMzZjI1MmY0ZmU4NGFiYWM2YzQ0ZmQ3YWE=
9
+ YTk4ZDhiN2RkZjUzZTgyMWQ5M2Q3MGI0MWI0M2I0MzJjMDRiOTI4Njc0ODMw
10
+ MjFkOTEzODlmNDE0ZGUyODViYjA3N2M4ZDllM2Y5MjU3YmVlNjEyOGM3Njc1
11
+ NDczYmU5MDk4YzEzNjdjOGI0MDdiMDNhMTk4YmJiZDg3M2JmODQ=
12
12
  data.tar.gz: !binary |-
13
- M2Q3Y2IyOTQ2NTQ1YzNmYTEzNmMwNDBmYTFkN2RjNjUxNTAyYWJlNGY4MTM5
14
- MmQ3NGM0NDdhNDM0ZjIyODM3NjJmOTI0NjRhNjYxYzYxNDI2MmY3ZjVlNmRm
15
- MThjZGFhNmIxOWI2YjVlMTYyNzRhYzAwYjcwODc0MmFiMDZmNGI=
13
+ Zjg3OGEyNmFhNDAyMzE0OTZjMjViOGQwMmFlZWM4OTMxZGYxZThhMWYzZDE5
14
+ YWZkNWU3ZmY1OGFmN2QwNzQyYTY3NmI5ZWEwZjY0Y2E1N2I1YzIyNzBiNTQx
15
+ MzI5MjBjNmYyZjVkODc0YmVjNzI1ZWY1OGQwYTZmZGVhNzRkN2E=
data/README.md CHANGED
@@ -30,4 +30,5 @@ Edge provides basic template for your project:
30
30
 
31
31
  - Sinatra
32
32
  - Rails
33
- - Flask
33
+ - Flask
34
+ - Django
@@ -21,7 +21,8 @@ $debug : false !default;
21
21
 
22
22
  $external-call : false !default; // user shouldn't modify this
23
23
 
24
- $include-main : true !default;
24
+ $include-normalize : true !default; // user shouldn't modify this
25
+
25
26
  $include-grid : true !default;
26
27
  $include-block-grid : true !default;
27
28
  $include-visibility : true !default;
@@ -29,8 +30,6 @@ $include-visibility : true !default;
29
30
  $include-button : true !default;
30
31
  $include-form : true !default;
31
32
  $include-typography : true !default;
32
-
33
- $include-normalize : true !default;
34
33
  $include-print : true !default;
35
34
 
36
35
  // ----------
@@ -57,16 +56,19 @@ $body-font-weight : normal !default;
57
56
  $body-font-style : normal !default;
58
57
  $body-line-height : 1 !default;
59
58
 
60
- $header-font-family : "Helvetica Neue", "Helvetica", Helvetica, Arial, "sans-serif" !default;
61
- $body-font-family : "Helvetica", Helvetica, Arial, "sans-serif" !default;
62
- $code-font-family : "Consolas", Courier, "monospace" !default;
63
-
64
59
  // The default font-size is set to 100% of the browser style sheet (usually 16px)
65
60
  // for compatibility with brower-based text zoom or user-set defaults.
66
61
  $base-font-size : 100% !default;
67
62
  // Maximum width of the grid
68
63
  $content-width : 1140px !default;
69
64
 
65
+ // -------
66
+ // FONT
67
+ // -------
68
+ $header-font-family : "Helvetica Neue", "Helvetica", Helvetica, Arial, "sans-serif" !default;
69
+ $body-font-family : "Helvetica", Helvetica, Arial, "sans-serif" !default;
70
+ $code-font-family : "Consolas", Courier, "monospace" !default;
71
+
70
72
  // ---------------
71
73
  // GLOBAL VALUE
72
74
  // ---------------
@@ -99,8 +101,7 @@ $em-base : 16px !default;
99
101
  @return $value;
100
102
  }
101
103
 
102
- // Based on: mrdanadams.com/2012/pixel-ems-css-conversion-sass-mixin/
103
- // EXAMPLE
104
+ // EXAMPLE USAGE
104
105
  // width : em(500px);
105
106
  // padding : em(20px 30px 15px 10px);
106
107
  // @include box-shadow(em(inset 2px 0 5px rgba(black, 0.3) ) );
@@ -151,7 +152,7 @@ $retina-screen : 192dpi !default;
151
152
  }
152
153
  // 768px and up. If you're planning to support IE8, NEVER use medium-up
153
154
  @mixin medium-up() {
154
- @include below($small-screen) { @content; }
155
+ @include above($small-screen + 1px) { @content; }
155
156
  }
156
157
  // 1140px and down
157
158
  @mixin medium() {
@@ -214,17 +215,17 @@ $retina-screen : 192dpi !default;
214
215
  display : table;
215
216
  }
216
217
  &:after {
217
- clear : both;
218
+ clear: both;
218
219
  }
219
220
  }
220
221
  @mixin clearfix {
221
- zoom: 1;
222
+ zoom: 1;
222
223
  &:before, &:after {
223
224
  content : " ";
224
225
  display : table;
225
226
  }
226
227
  &:after {
227
- clear : both;
228
+ clear: both;
228
229
  }
229
230
  }
230
231
 
@@ -236,15 +237,15 @@ $retina-screen : 192dpi !default;
236
237
 
237
238
  @mixin selection($background-color:lighten($main-color, 35%), $color:white) {
238
239
  ::-moz-selection {
239
- background: $background-color;
240
- text-shadow: none !important;
241
- color: $color !important;
240
+ background : $background-color;
241
+ text-shadow : none !important;
242
+ color : $color !important;
242
243
  }
243
244
 
244
245
  ::selection {
245
- background: $background-color;
246
- text-shadow: none !important;
247
- color: $color !important;
246
+ background : $background-color;
247
+ text-shadow : none !important;
248
+ color : $color !important;
248
249
  }
249
250
  }
250
251
 
@@ -1,5 +1,4 @@
1
1
  @import "components/normalize";
2
- @import "components/main";
3
2
 
4
3
  @import "components/button";
5
4
  @import "components/typography";
@@ -2,7 +2,6 @@
2
2
  @import "helpers/sticky-footer";
3
3
 
4
4
  // The mixins from Components class, but don't output the CSS
5
- $include-main : false;
6
5
  $include-grid : false;
7
6
  $include-block-grid : false;
8
7
  $include-visibility : false;
@@ -6,7 +6,7 @@ $button-padding : em(10px 20px);
6
6
  $shadow-hover : inset 1px 1px 5em rgba(black, 0.2);
7
7
 
8
8
  background : $bg-color;
9
- color : contrast-color($bg-color, #333, white, 50%);
9
+ color : contrast-color($bg-color, #333, white, 70%);
10
10
  border : none;
11
11
 
12
12
  @if $full {
@@ -1,41 +1,153 @@
1
1
  @if $include-normalize {
2
2
 
3
3
  /* ---------------------------
4
- Normalize | git.io/normalize
4
+ EDGE Normalize
5
+ Based on git.io/normalize
5
6
  ------------------------------ */
7
+ // NOTE: Customized style is the commented part
6
8
 
7
- article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
8
- audio, canvas, video { display: inline-block; }
9
- audio:not([controls]) { display: none; height: 0; }
10
- [hidden] { display: none; }
9
+ // Set box-sizing globally to handle padding and border widths
10
+ *,
11
+ *:before,
12
+ *:after {
13
+ @include box-sizing(border-box);
14
+ }
11
15
 
12
- html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
13
- body { margin: 0; }
16
+ // Basic reset margin and padding
17
+ *, body {
18
+ margin: 0;
19
+ padding: 0;
20
+ }
21
+
22
+ // The default font-size is set to 100% of the browser style sheet (usually 16px)
23
+ // for compatibility with brower-based text zoom or user-set defaults.
24
+ html,
25
+ body {
26
+ font-size: $base-font-size;
27
+ }
14
28
 
15
- a:focus { outline: thin dotted; }
29
+ // Chrome Sibling Selector Fix
30
+ body { -webkit-animation: bugfix infinite 1s; }
31
+ @-webkit-keyframes bugfix {
32
+ from { padding: 0; }
33
+ to { padding: 0; }
34
+ }
35
+
36
+ html {
37
+ font-family : sans-serif;
38
+ -webkit-text-size-adjust : 100%;
39
+ -ms-text-size-adjust : 100%;
40
+ }
41
+
42
+ // Reset anchor styling
43
+ a {
44
+ display : inline-block;
45
+ cursor : pointer;
46
+ text-decoration : none;
47
+ }
48
+
49
+ // Remove outline on a:focus
50
+ a:focus { outline: none; }
16
51
  a:active, a:hover { outline: 0; }
17
52
 
18
- h1 { font-size: 2em; margin: 0.67em 0; }
53
+ // Remove default margin from header tag
54
+ h1, h2, h3, h4, h5, h6 { margin: 0; }
55
+
56
+ // Reset paragraph styling
57
+ p {
58
+ line-height : 1.5;
59
+ margin-top : 0;
60
+ margin-bottom : 0;
61
+ }
62
+
63
+ // A better looking default horizontal rule
64
+ hr {
65
+ -moz-box-sizing : content-box;
66
+ box-sizing : content-box;
67
+ display : block;
68
+ height : 1px;
69
+ margin : 1em 0;
70
+ padding : 0;
71
+ border : 0;
72
+ border-top : 1px solid #ccc;
73
+ }
74
+
75
+ // Get rid of gap under images
76
+ img {
77
+ border : 0;
78
+ display : inline-block;
79
+ vertical-align : middle;
80
+ -ms-interpolation-mode : bicubic;
81
+ }
82
+
83
+ // Grid Defaults to get images and embeds to work properly
84
+ img,
85
+ object,
86
+ embed {
87
+ max-width : 100%;
88
+ height : auto;
89
+ }
90
+
91
+ object,
92
+ embed {
93
+ height: 100%;
94
+ }
95
+
96
+ #map_canvas,
97
+ .map_canvas {
98
+ img,
99
+ embed,
100
+ object {
101
+ max-width: none !important;
102
+ }
103
+ }
104
+
105
+ article,
106
+ aside,
107
+ details,
108
+ figcaption,
109
+ figure,
110
+ footer,
111
+ header,
112
+ hgroup,
113
+ main,
114
+ nav,
115
+ section,
116
+ summary {
117
+ display: block;
118
+ }
119
+
120
+ audio,
121
+ canvas,
122
+ video {
123
+ display: inline-block;
124
+ }
125
+
126
+ audio:not([controls]) { display: none; height: 0; }
127
+ [hidden] { display: none; }
128
+
19
129
  abbr[title] { border-bottom: 1px dotted; }
20
- b, strong { font-weight: bold; }
21
130
  dfn { font-style: italic; }
22
- hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
23
131
 
24
132
  mark { background: #ff0; color: #000; }
25
133
  code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; }
26
- pre { white-space: pre-wrap; }
27
134
  q { quotes: "\201C" "\201D" "\2018" "\2019"; }
28
135
  small { font-size: 80%; }
29
136
  sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
30
137
  sup { top: -0.5em; }
31
138
  sub { bottom: -0.25em; }
32
139
 
33
- img { border: 0; }
34
140
  svg:not(:root) { overflow: hidden; }
35
141
 
36
142
  figure { margin: 0; }
37
143
 
38
- fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; }
144
+ // Remove default styling from fieldset tag
145
+ fieldset {
146
+ border : 0;
147
+ margin : 0;
148
+ padding : 0;
149
+ }
150
+
39
151
  legend { border: 0; padding: 0; }
40
152
  button, input, select, textarea { font-family: inherit; font-size: 100%; margin: 0;}
41
153
  button, input { line-height: normal; }
@@ -46,8 +158,43 @@ input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0
46
158
  input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
47
159
  input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
48
160
  button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
49
- textarea { overflow: auto; vertical-align: top; }
161
+
162
+ // Allow only vertical resizing of textareas.
163
+ textarea {
164
+ overflow : auto;
165
+ vertical-align : top;
166
+ resize : vertical;
167
+ height : auto;
168
+ min-height : 50px;
169
+ }
50
170
 
51
171
  table { border-collapse: collapse; border-spacing: 0; }
52
172
 
173
+
174
+ /* Miscellaneous useful HTML classes */
175
+
176
+ .left { float: left !important; }
177
+ .right { float: right !important; }
178
+ .text-left { text-align: left !important; }
179
+ .text-right { text-align: right !important; }
180
+ .text-center { text-align: center !important; }
181
+ .text-justify { text-align: justify !important; }
182
+ .hide { display: none !important; visibility: hidden !important; }
183
+ .visual-hide {
184
+ border : 0 !important;
185
+ clip : rect(0 0 0 0) !important;
186
+ height : 1px !important;
187
+ margin : -1px !important;
188
+ overflow : hidden !important;
189
+ padding : 0 !important;
190
+ position : absolute !important;
191
+ width : 1px !important;
53
192
  }
193
+
194
+ .bold, b, strong { font-weight: 700 !important; }
195
+ .italic, em { font-style: italic !important; }
196
+
197
+ // Font smoothing, only works on Safari Webkit
198
+ .antialiased { -webkit-font-smoothing: antialiased; }
199
+
200
+ } // include-normalize
@@ -16,6 +16,25 @@ $p-margin-bottom: em(30px) !default;
16
16
  EDGE Typography
17
17
  --------------- */
18
18
 
19
+ html,
20
+ body {
21
+ font-size: $base-font-size;
22
+ }
23
+
24
+ body {
25
+ position: relative;
26
+ background: $body-bg;
27
+ color: $body-font-color;
28
+ font-family: $body-font-family;
29
+ font-weight: $body-font-weight;
30
+ font-style: $body-font-style;
31
+ line-height: $body-line-height;
32
+ }
33
+
34
+ h1, h2, h3, h4, h5, h6, header {
35
+ font-family : $header-font-family;
36
+ }
37
+
19
38
  h1 { font-size: $h1-font-size }
20
39
  h2 { font-size: $h2-font-size }
21
40
  h3 { font-size: $h3-font-size }
@@ -30,19 +49,31 @@ p {
30
49
  }
31
50
  }
32
51
 
33
- code {
34
- display : inline-block;
35
- &, pre {
36
- font-family: $code-font-family;
37
- }
52
+ ul, ol {
53
+ list-style: none; // Clear bullet or numbering on plain <ul> and <ol>
38
54
  }
39
55
 
40
- ul.inline, ol.inline {
41
- list-style-type : none;
56
+ .inline-list {
57
+ @include clearfix();
58
+ list-style-type: none;
42
59
  li {
43
- display : inline-block;
44
- vertical-align:top;
45
- margin-right: em(-4px);
60
+ display: inline-block;
61
+ float: left;
62
+ vertical-align: top;
63
+ }
64
+ }
65
+
66
+ ul.bullet-list, ol.number-list {
67
+
68
+ }
69
+
70
+ // Code
71
+
72
+ code, kbd, samp {
73
+ display: inline-block;
74
+ &, pre {
75
+ font-size: 1em;
76
+ font-family: $code-font-family;
46
77
  }
47
78
  }
48
79
 
@@ -52,4 +83,4 @@ blockquote {
52
83
  }
53
84
  }
54
85
 
55
- }
86
+ } // include-typography
@@ -1,6 +1,6 @@
1
1
  /* ---------------------------------------------------------------
2
- - EDGE FRAMEWORK - edge.setyono.net
3
- - v0.1.0 (Abaddon)
2
+ - EDGE Framework - edge.setyono.net
3
+ - v0.5.0 (Barathrum)
4
4
  - Special Thanks:
5
5
  --- Foundation | foundation.zurb.com
6
6
  --- Bootstrap | getbootstrap.com
@@ -50,7 +50,7 @@
50
50
 
51
51
  .custom-block-grid {
52
52
  @include block-grid($per-row:5, $collapse:true);
53
-
53
+
54
54
  @include small {
55
55
  @include block-grid($per-row:2, $collapse:true);
56
56
  }
@@ -78,4 +78,13 @@
78
78
  @include grid-column($columns:10, $center:false, $small:true);
79
79
  }
80
80
  }
81
+ }
82
+
83
+ [data-page="media-query"] {
84
+ @include small {
85
+ background: $red-color;
86
+ }
87
+ @include medium-up {
88
+ background: $green-color;
89
+ }
81
90
  }
data/lib/edge/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module Edge
2
- VERSION = "0.3.0"
3
- CODENAME = "Abaddon"
2
+ VERSION = "0.5.0"
3
+ CODENAME = "Barathrum"
4
4
  end
@@ -4,17 +4,30 @@
4
4
  // Settings file to override Edge variables
5
5
  // To override, uncomment the variable and set the new value
6
6
 
7
- // If you need font-face, add it here
8
- // @include font-face("My Custom Font", font-files("my-custom-font.ttf", "my-custom-font.otf"));
7
+ // The first thing to change is Font-family and Main color of your site
8
+
9
+ // -------
10
+ // FONT
11
+ // -------
12
+ // $header-font-family : "Helvetica Neue", "Helvetica", Helvetica, Arial, "sans-serif";
13
+ // $body-font-family : "Helvetica", Helvetica, Arial, "sans-serif";
14
+ // $code-font-family : "Consolas", Courier, "monospace";
15
+
16
+ // ----------
17
+ // COLOR
18
+ // ----------
19
+ // Two main colors of your site
20
+ // $main-color : #0173BC;
21
+ // $sub-color : #E9E9E9;
9
22
 
10
23
  // ---------------
11
24
  // OUTPUT CONFIG
12
25
  // ---------------
13
26
 
14
27
  // $full : true; // Output full CSS styling. If false, only gives barebone CSS
15
- // $debug : false; // No effect currently, might be used in the future
28
+ // $debug : false; // No effect currently, will be used for outputting debug comment
16
29
 
17
- // $include-main : true;
30
+ // $include-normalize : true;
18
31
  // $include-grid : true;
19
32
  // $include-block-grid : true;
20
33
  // $include-visibility : true;
@@ -22,8 +35,6 @@
22
35
  // $include-button : true;
23
36
  // $include-form : true;
24
37
  // $include-typography : true;
25
-
26
- // $include-normalize : true;
27
38
  // $include-print : true;
28
39
 
29
40
  // ------
@@ -33,23 +44,15 @@
33
44
  // $body-font-color : #222;
34
45
  // $body-font-weight : normal;
35
46
  // $body-font-style : normal;
36
- // $body-line-height : 1 !default;
37
-
38
- // $header-font-family : "Helvetica Neue", "Helvetica", Helvetica, Arial, "sans-serif";
39
- // $body-font-family : "Helvetica", Helvetica, Arial, "sans-serif";
40
- // $code-font-family : "Consolas", Courier, "monospace";
47
+ // $body-line-height : 1;
41
48
 
42
49
  // $base-font-size : 100%; // 100% is normally 16px
43
50
  // $content-width : 1140px; // Maximum width of the grid
44
51
 
45
- // ----------
46
- // COLOR
47
- // ----------
48
- // Two main colors of your site
49
- // $main-color : #0173BC;
50
- // $sub-color : #E9E9E9;
51
-
52
- // These 5 colors below should NEVER be used directly
52
+ // --------------
53
+ // COLOR PALETTE
54
+ // --------------
55
+ // These colors below should NEVER be used directly
53
56
  // set to another variable like $header-color: $blue-color;
54
57
  // $passive-color : #E9E9E9;
55
58
  // $blue-color : #0173BC;
@@ -84,14 +87,16 @@
84
87
  // Typography
85
88
  // ---------------
86
89
  // $h1-font-size: em(44px);
87
- // $h2-font-size: em(37px);
88
- // $h3-font-size: em(27px);
89
- // $h4-font-size: em(23px);
90
+ // $h2-font-size: em(36px);
91
+ // $h3-font-size: em(28px);
92
+ // $h4-font-size: em(22px);
90
93
  // $h5-font-size: em(18px);
91
94
  // $h6-font-size: 1em;
92
95
 
93
96
  // $header-font-weight: 700;
94
97
 
98
+ // $p-margin-bottom: em(30px);
99
+
95
100
  // --------
96
101
  // GRID
97
102
  // --------
@@ -105,6 +110,7 @@
105
110
  // $block-distance : em(15px);
106
111
  // $max-blocks : 12;
107
112
 
113
+ // ----------
108
114
  // BUTTON
109
115
  // ----------
110
116
  // $button-padding : em(10px 20px);
@@ -2,6 +2,7 @@
2
2
  @import "edge";
3
3
 
4
4
  // If you have idea to improve EDGE, write it here temporarily
5
- // And if you are willing, pass it to info@thesyne.com
5
+ // And if you are willing, pass it to henner@setyono.net
6
6
  //
7
- // Thanks
7
+ // Thanks,
8
+ // - Henner S
@@ -1,4 +1,4 @@
1
- gem "edge_framework", "= 0.3.0" # Remove this line to use the latest EDGE, beware of incompatibility
1
+ gem "edge_framework", "= 0.5.0" # Remove this line to use the latest EDGE, beware of incompatibility
2
2
  require "edge_framework"
3
3
 
4
4
  http_path = "/"
@@ -4,6 +4,10 @@
4
4
  <meta charset="UTF-8">
5
5
  <meta name="viewport" content="width=device-width" />
6
6
  <title>My Website</title>
7
+ <meta name="description" content="This is a description of your website" />
8
+ <meta name="keywords" content="search, key, word," /> <!-- Comma-separated list for Search keyword -->
9
+
10
+ <!-- FAVICON -->
7
11
  <link rel="icon" type="image/png" href="assets/img/favicon.ico">
8
12
  <link rel="apple-touch-icon-precomposed" href="assets/img/favicon-big.png" />
9
13
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edge_framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henner Setyono
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-24 00:00:00.000000000 Z
11
+ date: 2013-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -126,7 +126,6 @@ files:
126
126
  - assets/sass/edge/components/_form.scss
127
127
  - assets/sass/edge/components/_grid-margin.scss
128
128
  - assets/sass/edge/components/_grid.scss
129
- - assets/sass/edge/components/_main.scss
130
129
  - assets/sass/edge/components/_normalize.scss
131
130
  - assets/sass/edge/components/_print.scss
132
131
  - assets/sass/edge/components/_typography.scss
@@ -1,146 +0,0 @@
1
- @if $include-main {
2
-
3
- /* ------------------
4
- EDGE Boilerplate
5
- --------------------- */
6
-
7
- * { margin: 0; padding: 0; }
8
-
9
- // Set box-sizing globally to handle padding and border widths
10
- *,
11
- *:before,
12
- *:after {
13
- @include box-sizing(border-box);
14
- }
15
-
16
- html,
17
- body {
18
- font-size: $base-font-size;
19
- }
20
-
21
- body {
22
- position : relative;
23
- background : $body-bg;
24
- color : $body-font-color;
25
- font-family : $body-font-family;
26
- font-weight : $body-font-weight;
27
- font-style : $body-font-style;
28
- line-height : $body-line-height;
29
- }
30
-
31
- h1, h2, h3, h4, h5, h6, header {
32
- font-family : $header-font-family;
33
- }
34
-
35
- p {
36
- line-height : 1.5;
37
- margin-top : 0;
38
- margin-bottom : 0;
39
- }
40
-
41
- a {
42
- display : inline-block;
43
- cursor : pointer;
44
- text-decoration : none;
45
- }
46
-
47
- // Clear bullet or numbering on plain <ul> and <ol>
48
- ul, ol {
49
- list-style: none;
50
- }
51
-
52
- // A better looking default horizontal rule
53
- hr {
54
- display : block;
55
- height : 1px;
56
- margin : 1em 0;
57
- padding : 0;
58
- border : 0;
59
- border-top : 1px solid #ccc;
60
- }
61
-
62
- // Override `normalize` part that we don't like
63
- a:focus { outline: none; }
64
-
65
- h1, h2, h3, h4, h5, h6 { margin: 0; }
66
-
67
- fieldset {
68
- border : 0;
69
- margin : 0;
70
- padding : 0;
71
- }
72
-
73
- // Grid Defaults to get images and embeds to work properly
74
- img,
75
- object,
76
- embed { max-width: 100%; height: auto; }
77
-
78
- object,
79
- embed { height: 100%; }
80
-
81
- #map_canvas,
82
- .map_canvas {
83
- img,
84
- embed,
85
- object {
86
- max-width: none !important;
87
- }
88
- }
89
-
90
- // Allow only vertical resizing of textareas.
91
- textarea {
92
- resize : vertical;
93
- height : auto;
94
- min-height : 50px;
95
- }
96
-
97
- // Make select elements 100% width by default
98
- select {
99
- width: 100%;
100
- }
101
-
102
- // Get rid of gap under images
103
- img {
104
- display: inline-block;
105
- vertical-align: middle;
106
- -ms-interpolation-mode: bicubic;
107
- }
108
-
109
- // Chrome Sibling Selector Fix
110
- body {
111
- -webkit-animation: bugfix infinite 1s;
112
- }
113
-
114
- @-webkit-keyframes bugfix {
115
- from { padding: 0; }
116
- to { padding: 0; }
117
- }
118
-
119
- // -----------------------------------
120
- /* Miscellaneous useful HTML classes */
121
- // -----------------------------------
122
- .left { float: left !important; }
123
- .right { float: right !important; }
124
- .text-left { text-align: left !important; }
125
- .text-right { text-align: right !important; }
126
- .text-center { text-align: center !important; }
127
- .text-justify { text-align: justify !important; }
128
- .hide { display: none !important; visibility: hidden !important; }
129
- .visual-hide {
130
- border : 0 !important;
131
- clip : rect(0 0 0 0) !important;
132
- height : 1px !important;
133
- margin : -1px !important;
134
- overflow : hidden !important;
135
- padding : 0 !important;
136
- position : absolute !important;
137
- width : 1px !important;
138
- }
139
-
140
- .bold, b, strong { font-weight: 700 !important; }
141
- .italic, em { font-style: italic !important; }
142
-
143
- // Font smoothing, only works on Safari Webkit
144
- .antialiased { -webkit-font-smoothing: antialiased; }
145
-
146
- }