my-compass-framework 1.0.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 ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NjNmY2RkYTZhMWIxMWNiNzYzZjU4NGNkNGQzNWNlYjhjZDYwMDI3Mw==
5
+ data.tar.gz: !binary |-
6
+ Mjk0NjlhNzA2YzNkNDM2MGYwOWQ2MTAxZmQ0ZjY0NzQxNGZjNTJiYg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ N2EzMmU3MjU5YzdlNWYwNGQyZTYyZjczMWVkYjVmZGU4N2E4MDAyMTk4NTYx
10
+ MTkwMTJjZTQ2ZjZjYjExZjhiMDc5OGY1MWJiOTc4NDJjOTJiNWE1MDVhNWI1
11
+ MTUxOTJiOGI1NjdjZjE1MjJiZWNmZGM1MDNlODRjMTlkMjljZWE=
12
+ data.tar.gz: !binary |-
13
+ ZWQzMmEzNzFiYTQ4NjgxZjc2MGE4YzkwZDc3MjYyZmY3OGM4NWM4ZGJjN2Q2
14
+ Zjk4MzVlYjBlNTNmZmUyMGY0ODc0ZDJiOTlkM2Q4OTg4OTJkNTJjYTE2MzQ3
15
+ N2MwYzA4MTc1ZjY2NWNkMmMxMzljNGVjZWI0ODQzODM4NmU2YzU=
@@ -0,0 +1,5 @@
1
+ require 'compass'
2
+ Compass::Frameworks.register('my-compass-framework',
3
+ :stylesheets_directory => File.join(File.dirname(__FILE__), '..', 'stylesheets'),
4
+ :templates_directory => File.join(File.dirname(__FILE__), '..', 'templates'))
5
+
@@ -0,0 +1,5 @@
1
+ @import "company-tools/company-colors";
2
+ @import "company-tools/company-functions";
3
+ @import "company-tools/company-mixins";
4
+
5
+
@@ -0,0 +1,2 @@
1
+ $company-primary: #123456;
2
+ $company-secondary: #654321;
@@ -0,0 +1,8 @@
1
+ @function strip-unit($value) {
2
+ @return $value / ($value * 0 + 1);
3
+ }
4
+
5
+
6
+ @function pem($pxval, $base: 16) {
7
+ @return strip-unit($pxval) / $base * 1em;
8
+ }
@@ -0,0 +1,78 @@
1
+ @mixin hidden {
2
+ position: absolute;
3
+ overflow: hidden;
4
+ clip: rect(0 0 0 0);
5
+ height: 1px; width: 1px;
6
+ margin: -1px; padding: 0; border: 0;
7
+ }
8
+
9
+ @mixin clearfix {
10
+ &:before, &:after {
11
+ content: "\0020";
12
+ display: block;
13
+ height: 0;
14
+ overflow: hidden;
15
+ }
16
+ &:after {
17
+ clear: both;
18
+ }
19
+ }
20
+
21
+ %icon-font:before {
22
+ font-family: "fontcustom";
23
+ font-weight: normal;
24
+ font-style: normal;
25
+ text-decoration: inherit;
26
+ display: inline-block;
27
+ }
28
+
29
+ @mixin icon-font($font-name) {
30
+ @extend .icon-#{$font-name};
31
+ @extend %icon-font;
32
+ &:before {
33
+ @content;
34
+ }
35
+ }
36
+
37
+ @mixin respond-to($primary, $secondary:min-width, $nq:false, $nq-class:lt9) {
38
+ // Convert pixel values to ems
39
+ @if unit($primary) == 'px' {
40
+ $primary: pem($primary);
41
+ }
42
+ @if type-of($secondary) == number and unit($secondary) == 'px' {
43
+ $secondary: pem($secondary);
44
+ }
45
+
46
+ // Print out Media Queries
47
+ @if $secondary == max-width {
48
+ @media screen and (max-width: $primary - .001) { @content; }
49
+ @if $nq == true {
50
+ .#{$nq-value} &{
51
+ @content;
52
+ }
53
+ }
54
+ }
55
+ @else if $secondary == min-width {
56
+ @media screen and (min-width: $primary) { @content; }
57
+ @if $nq == true {
58
+ .#{$nq-value} &{
59
+ @content;
60
+ }
61
+ }
62
+ }
63
+ @else {
64
+ @media screen and (min-width: $primary) and (max-width: $secondary - .001) { @content; }
65
+ @if $nq == true {
66
+ .#{$nq-value} &{
67
+ @content;
68
+ }
69
+ }
70
+ }
71
+ }
72
+
73
+
74
+
75
+
76
+
77
+
78
+
File without changes
File without changes
@@ -0,0 +1,22 @@
1
+ //styles
2
+
3
+ h1, h2, h3, h4, h5, h6{
4
+ font-family: $header-font-family;
5
+ font-style: $header-font-style;
6
+ color: $header-font-color;
7
+ line-height: $header-line-height;
8
+ letter-spacing: $header-letter-spacing;
9
+ font-weight: $header-font-weight;
10
+
11
+ }
12
+
13
+ h1 { font-size: $h1-font-size; }
14
+ h2 { font-size: $h2-font-size; }
15
+ h3 { font-size: $h3-font-size; }
16
+ h4 { font-size: $h4-font-size; }
17
+ h5 { font-size: $h5-font-size; }
18
+ h6 { font-size: $h6-font-size; }
19
+
20
+
21
+
22
+
File without changes
@@ -0,0 +1,396 @@
1
+ /*! normalize.css v2.1.2 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * Correct `block` display not defined in IE 8/9.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ main,
20
+ nav,
21
+ section,
22
+ summary {
23
+ display: block;
24
+ }
25
+
26
+ /**
27
+ * Correct `inline-block` display not defined in IE 8/9.
28
+ */
29
+
30
+ audio,
31
+ canvas,
32
+ video {
33
+ display: inline-block;
34
+ }
35
+
36
+ /**
37
+ * Prevent modern browsers from displaying `audio` without controls.
38
+ * Remove excess height in iOS 5 devices.
39
+ */
40
+
41
+ audio:not([controls]) {
42
+ display: none;
43
+ height: 0;
44
+ }
45
+
46
+ /**
47
+ * Address styling not present in IE 8/9.
48
+ */
49
+
50
+ [hidden] {
51
+ display: none;
52
+ }
53
+
54
+ /* ==========================================================================
55
+ Base
56
+ ========================================================================== */
57
+
58
+ /**
59
+ * 1. Set default font family to sans-serif.
60
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
61
+ * user zoom.
62
+ */
63
+
64
+ html {
65
+ font-family: sans-serif; /* 1 */
66
+ -ms-text-size-adjust: 100%; /* 2 */
67
+ -webkit-text-size-adjust: 100%; /* 2 */
68
+ }
69
+
70
+ /**
71
+ * Remove default margin.
72
+ */
73
+
74
+ body {
75
+ margin: 0;
76
+ }
77
+
78
+ /* ==========================================================================
79
+ Links
80
+ ========================================================================== */
81
+
82
+ /**
83
+ * Address `outline` inconsistency between Chrome and other browsers.
84
+ */
85
+
86
+ a:focus {
87
+ outline: thin dotted;
88
+ }
89
+
90
+ /**
91
+ * Improve readability when focused and also mouse hovered in all browsers.
92
+ */
93
+
94
+ a:active,
95
+ a:hover {
96
+ outline: 0;
97
+ }
98
+
99
+ /* ==========================================================================
100
+ Typography
101
+ ========================================================================== */
102
+
103
+ /**
104
+ * Address variable `h1` font-size and margin within `section` and `article`
105
+ * contexts in Firefox 4+, Safari 5, and Chrome.
106
+ */
107
+
108
+ h1 {
109
+ font-size: 2em;
110
+ margin: 0.67em 0;
111
+ }
112
+
113
+ /**
114
+ * Address styling not present in IE 8/9, Safari 5, and Chrome.
115
+ */
116
+
117
+ abbr[title] {
118
+ border-bottom: 1px dotted;
119
+ }
120
+
121
+ /**
122
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
123
+ */
124
+
125
+ b,
126
+ strong {
127
+ font-weight: bold;
128
+ }
129
+
130
+ /**
131
+ * Address styling not present in Safari 5 and Chrome.
132
+ */
133
+
134
+ dfn {
135
+ font-style: italic;
136
+ }
137
+
138
+ /**
139
+ * Address differences between Firefox and other browsers.
140
+ */
141
+
142
+ hr {
143
+ -moz-box-sizing: content-box;
144
+ box-sizing: content-box;
145
+ height: 0;
146
+ }
147
+
148
+ /**
149
+ * Address styling not present in IE 8/9.
150
+ */
151
+
152
+ mark {
153
+ background: #ff0;
154
+ color: #000;
155
+ }
156
+
157
+ /**
158
+ * Correct font family set oddly in Safari 5 and Chrome.
159
+ */
160
+
161
+ code,
162
+ kbd,
163
+ pre,
164
+ samp {
165
+ font-family: monospace, serif;
166
+ font-size: 1em;
167
+ }
168
+
169
+ /**
170
+ * Improve readability of pre-formatted text in all browsers.
171
+ */
172
+
173
+ pre {
174
+ white-space: pre-wrap;
175
+ }
176
+
177
+ /**
178
+ * Set consistent quote types.
179
+ */
180
+
181
+ q {
182
+ quotes: "\201C" "\201D" "\2018" "\2019";
183
+ }
184
+
185
+ /**
186
+ * Address inconsistent and variable font size in all browsers.
187
+ */
188
+
189
+ small {
190
+ font-size: 80%;
191
+ }
192
+
193
+ /**
194
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
195
+ */
196
+
197
+ sub,
198
+ sup {
199
+ font-size: 75%;
200
+ line-height: 0;
201
+ position: relative;
202
+ vertical-align: baseline;
203
+ }
204
+
205
+ sup {
206
+ top: -0.5em;
207
+ }
208
+
209
+ sub {
210
+ bottom: -0.25em;
211
+ }
212
+
213
+ /* ==========================================================================
214
+ Embedded content
215
+ ========================================================================== */
216
+
217
+ /**
218
+ * Remove border when inside `a` element in IE 8/9.
219
+ */
220
+
221
+ img {
222
+ border: 0;
223
+ }
224
+
225
+ /**
226
+ * Correct overflow displayed oddly in IE 9.
227
+ */
228
+
229
+ svg:not(:root) {
230
+ overflow: hidden;
231
+ }
232
+
233
+ /* ==========================================================================
234
+ Figures
235
+ ========================================================================== */
236
+
237
+ /**
238
+ * Address margin not present in IE 8/9 and Safari 5.
239
+ */
240
+
241
+ figure {
242
+ margin: 0;
243
+ }
244
+
245
+ /* ==========================================================================
246
+ Forms
247
+ ========================================================================== */
248
+
249
+ /**
250
+ * Define consistent border, margin, and padding.
251
+ */
252
+
253
+ fieldset {
254
+ border: 1px solid #c0c0c0;
255
+ margin: 0 2px;
256
+ padding: 0.35em 0.625em 0.75em;
257
+ }
258
+
259
+ /**
260
+ * 1. Correct `color` not being inherited in IE 8/9.
261
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
262
+ */
263
+
264
+ legend {
265
+ border: 0; /* 1 */
266
+ padding: 0; /* 2 */
267
+ }
268
+
269
+ /**
270
+ * 1. Correct font family not being inherited in all browsers.
271
+ * 2. Correct font size not being inherited in all browsers.
272
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
273
+ */
274
+
275
+ button,
276
+ input,
277
+ select,
278
+ textarea {
279
+ font-family: inherit; /* 1 */
280
+ font-size: 100%; /* 2 */
281
+ margin: 0; /* 3 */
282
+ }
283
+
284
+ /**
285
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
286
+ * the UA stylesheet.
287
+ */
288
+
289
+ button,
290
+ input {
291
+ line-height: normal;
292
+ }
293
+
294
+ /**
295
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
296
+ * All other form control elements do not inherit `text-transform` values.
297
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
298
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
299
+ */
300
+
301
+ button,
302
+ select {
303
+ text-transform: none;
304
+ }
305
+
306
+ /**
307
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
308
+ * and `video` controls.
309
+ * 2. Correct inability to style clickable `input` types in iOS.
310
+ * 3. Improve usability and consistency of cursor style between image-type
311
+ * `input` and others.
312
+ */
313
+
314
+ button,
315
+ html input[type="button"], /* 1 */
316
+ input[type="reset"],
317
+ input[type="submit"] {
318
+ -webkit-appearance: button; /* 2 */
319
+ cursor: pointer; /* 3 */
320
+ }
321
+
322
+ /**
323
+ * Re-set default cursor for disabled elements.
324
+ */
325
+
326
+ button[disabled],
327
+ html input[disabled] {
328
+ cursor: default;
329
+ }
330
+
331
+ /**
332
+ * 1. Address box sizing set to `content-box` in IE 8/9.
333
+ * 2. Remove excess padding in IE 8/9.
334
+ */
335
+
336
+ input[type="checkbox"],
337
+ input[type="radio"] {
338
+ box-sizing: border-box; /* 1 */
339
+ padding: 0; /* 2 */
340
+ }
341
+
342
+ /**
343
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
344
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
345
+ * (include `-moz` to future-proof).
346
+ */
347
+
348
+ input[type="search"] {
349
+ -webkit-appearance: textfield; /* 1 */
350
+ -moz-box-sizing: content-box;
351
+ -webkit-box-sizing: content-box; /* 2 */
352
+ box-sizing: content-box;
353
+ }
354
+
355
+ /**
356
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
357
+ * on OS X.
358
+ */
359
+
360
+ input[type="search"]::-webkit-search-cancel-button,
361
+ input[type="search"]::-webkit-search-decoration {
362
+ -webkit-appearance: none;
363
+ }
364
+
365
+ /**
366
+ * Remove inner padding and border in Firefox 4+.
367
+ */
368
+
369
+ button::-moz-focus-inner,
370
+ input::-moz-focus-inner {
371
+ border: 0;
372
+ padding: 0;
373
+ }
374
+
375
+ /**
376
+ * 1. Remove default vertical scrollbar in IE 8/9.
377
+ * 2. Improve readability and alignment in all browsers.
378
+ */
379
+
380
+ textarea {
381
+ overflow: auto; /* 1 */
382
+ vertical-align: top; /* 2 */
383
+ }
384
+
385
+ /* ==========================================================================
386
+ Tables
387
+ ========================================================================== */
388
+
389
+ /**
390
+ * Remove most spacing between table cells.
391
+ */
392
+
393
+ table {
394
+ border-collapse: collapse;
395
+ border-spacing: 0;
396
+ }
File without changes
@@ -0,0 +1,46 @@
1
+ $total-columns : 12;
2
+ $column-width : 5.3em;
3
+ $gutter-width : 1.2em;
4
+ $grid-padding : 2 * $gutter-width;
5
+
6
+
7
+ // Breakpoints
8
+
9
+ $small: 600px;
10
+ $medium: 900px;
11
+
12
+ //Colors
13
+ $link-blue: #13A7C7;
14
+ $link-dark-blue: #10869f;
15
+ $dark-grey: #333;
16
+ $hero-grey: #8c8c8c;
17
+ $main-nav-grey: #bababa;
18
+ $med-grey:#484848;
19
+ $light-grey: #ddd;
20
+ $lightest-grey: #eee;
21
+
22
+ //Font Stacks
23
+ $sans-serif: helvetica, arial, sans-serif;
24
+
25
+ //Typography
26
+ $copy-font-family: $sans-serif;
27
+ $copy-font-size: 16px;
28
+ $copy-line-height: 1.8;
29
+
30
+ $header-font-family: $sans-serif;
31
+ $header-font-weight: bold;
32
+ $header-font-style: normal;
33
+ $header-font-color: #222;
34
+ $header-line-height: 1.3;
35
+ $header-letter-spacing: -1px;
36
+
37
+ $header-top-margin: .2em;
38
+ $header-bottom-margin: .5em;
39
+ $header-text-rendering: optimizeLegibility;
40
+
41
+ $h1-font-size: pem(44px);
42
+ $h2-font-size: pem(37px);
43
+ $h3-font-size: pem(27px);
44
+ $h4-font-size: pem(23px);
45
+ $h5-font-size: pem(18px);
46
+ $h6-font-size: 1em;
File without changes
@@ -0,0 +1,40 @@
1
+ <!DOCTYPE html>
2
+ <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
3
+ <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
4
+ <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
5
+ <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
6
+ <head>
7
+ <meta charset="utf-8">
8
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
9
+ <title></title>
10
+ <meta name="description" content="">
11
+ <meta name="viewport" content="width=device-width, initial-scale=1">
12
+
13
+ <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
14
+
15
+ <link rel="stylesheet" href="stylesheets/screen.css">
16
+ </head>
17
+ <body>
18
+ <!--[if lt IE 7]>
19
+ <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
20
+ <![endif]-->
21
+
22
+ <!-- Add your site or application content here -->
23
+ <p>Hello world! This is HTML5 Boilerplate.</p>
24
+
25
+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
26
+ <script>window.jQuery || document.write('<script src="js/vendor/jquery-1.10.2.min.js"><\/script>')</script>
27
+ <script src="js/plugins.js"></script>
28
+ <script src="js/main.js"></script>
29
+
30
+ <!-- Google Analytics: change UA-XXXXX-X to be your site's ID. -->
31
+ <script>
32
+ (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
33
+ function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
34
+ e=o.createElement(i);r=o.getElementsByTagName(i)[0];
35
+ e.src='//www.google-analytics.com/analytics.js';
36
+ r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
37
+ ga('create','UA-XXXXX-X');ga('send','pageview');
38
+ </script>
39
+ </body>
40
+ </html>
File without changes
@@ -0,0 +1,19 @@
1
+ description "My awesome compass plugin."
2
+
3
+ discover :stylesheets
4
+ directory 'sass/components'
5
+ directory 'img'
6
+ directory 'js'
7
+ file 'index.html'
8
+
9
+ help %Q{
10
+ Thanks for checking out this sass framework demonstration
11
+
12
+ For more bites of Sass follow us at @SassBites
13
+ }
14
+
15
+ welcome_message %Q{
16
+ Thanks for checking out this sass framework demonstration
17
+
18
+ For more bites of Sass follow us at @SassBites
19
+ }
@@ -0,0 +1,16 @@
1
+ @import "company-tools";
2
+
3
+ @import "global/functions";
4
+ @import "global/variables";
5
+ @import "global/extends/copy-extends";
6
+ @import "global/extends/decorative-extends";
7
+ @import "global/extends/title-extends";
8
+ @import "global/mixins/misc-mixins";
9
+
10
+ @import "base/html/font-face";
11
+ @import "base/html/html";
12
+ @import "base/html/typography";
13
+ @import "base/page/page";
14
+ @import "base/vendor/normalize";
15
+
16
+ @import "layout/page-layout";
metadata ADDED
@@ -0,0 +1,77 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: my-compass-framework
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Micah Godbolt
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-12-11 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: compass
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0.12'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0.12'
27
+ description: A sample gem to demo Compass frameworks
28
+ email: micahgodbolt@gmail.com
29
+ executables: []
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - lib/my-compass-framework.rb
34
+ - stylesheets/_company-tools.scss
35
+ - stylesheets/company-tools/_company-colors.scss
36
+ - stylesheets/company-tools/_company-functions.scss
37
+ - stylesheets/company-tools/_company-mixins.scss
38
+ - templates/project/base/html/_font-face.scss
39
+ - templates/project/base/html/_html.scss
40
+ - templates/project/base/html/_typography.scss
41
+ - templates/project/base/page/_page.scss
42
+ - templates/project/base/vendor/_normalize.scss
43
+ - templates/project/global/_functions.scss
44
+ - templates/project/global/_variables.scss
45
+ - templates/project/global/extends/_copy-extends.scss
46
+ - templates/project/global/extends/_decorative-extends.scss
47
+ - templates/project/global/extends/_title-extends.scss
48
+ - templates/project/global/mixins/_misc-mixins.scss
49
+ - templates/project/index.html
50
+ - templates/project/layout/_page-layout.scss
51
+ - templates/project/manifest.rb
52
+ - templates/project/screen.scss
53
+ homepage: http://www.github.com/micahgodbolt/
54
+ licenses:
55
+ - MIT
56
+ metadata: {}
57
+ post_install_message:
58
+ rdoc_options: []
59
+ require_paths:
60
+ - lib
61
+ required_ruby_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ required_rubygems_version: !ruby/object:Gem::Requirement
67
+ requirements:
68
+ - - ! '>='
69
+ - !ruby/object:Gem::Version
70
+ version: '0'
71
+ requirements: []
72
+ rubyforge_project:
73
+ rubygems_version: 2.1.11
74
+ signing_key:
75
+ specification_version: 4
76
+ summary: A sample gem
77
+ test_files: []