modularis 5.0 → 6.4.3

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
- MmE5OTg5Y2M1YWUzYzA5YWUxMTE2NzA2NjZmMTM4Y2QyMjg0NzEyZg==
4
+ OTE5N2UwMDg4OTIzOTc0ZWVlZWQ0ODA5NzJkNzBmNGJjMmI0Yjc1NA==
5
5
  data.tar.gz: !binary |-
6
- MGNkMDc0ZTNlN2IzZjZhMjVmZTkwMzNkM2E1Nzk5ZGI4MjllODY1MA==
6
+ MGVjZmMxMjg5YjNiYWIzZGEyM2E0YzcyMzQ2NGU4NmIyMmJiYmU2OQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- MGE1M2Q5M2RmYjE0YjI2NDY4ZTQzNzk4YTdlNDAxZjE2MWMzZDZlYWUzMDAy
10
- YTRkY2EyYmY0NDM1ZWYwOWM1ZDA4Yzc1YWI5YmUzZTYzYjIyZmEwZDkzOWZj
11
- YmQzYmRiZmY4YTc4OWFjZmFhYTE4N2NhOWQ3MzMwNTA3MzA3YTg=
9
+ ZDc2Y2M1MWJjZGQ3NDFhYmE5YzI5OGNjODEwODg3MzJhNmE2YjAwNzFjOWZm
10
+ MjhlMTcwYTk2NmQxOGI4MjViNGQyN2JjMDEzYjI3ZmE0M2NmOGU1ZDVjMmQ3
11
+ ZjZjZDUwMDJiMzU0ZTc2NjIyNjI3N2QyNDg5ODM4NzkwODJmYzg=
12
12
  data.tar.gz: !binary |-
13
- NmQ2ZDI5Njc5OTRjODUzZjA0YTU5ZjM4YTI1OTQ3NDVmM2M0MWIwNzljNWMx
14
- MGEyYWMxYzEyODY1MDI0Y2I1OWFjZjNmMTgyNGI1ODQxNTA3MzQ5YTA3NTZl
15
- YTZhMjI5Y2QzYjQ2MjRjNDkxNGM0ZjMzOGRlMDhjZWRkYWM4OWM=
13
+ MDFlMmEzNWY5YjM2ODQ3ODU3YTFjZmYxNGYxMDMzYWU1NjE1MmE4MzY0NjM2
14
+ ODE4YTk3ZGZhYmY5NDA4YzQxM2VlNTlmZWRhMTAxZDA3MTI5M2Y0YzZiNzBi
15
+ ZDUxZGVhNmYwOGQ4MDI5NDY0NzBkNTQ1NmJiYmY3NmE0M2RkODM=
data/README.md ADDED
@@ -0,0 +1,112 @@
1
+ # Compass Normalize.css
2
+
3
+ This simple plugin for [Compass](http://compass-style.org/) enables you to use [normalize.css](http://necolas.github.com/normalize.css/) in your stylesheets without having to download it.
4
+
5
+
6
+ ## Installation
7
+
8
+ It is highly encouraged to install from the [RubyGems build](http://rubygems.org/gems/compass-normalize) which can be found [here](http://rubygems.org/gems/compass-normalize).
9
+
10
+ From the command line:
11
+
12
+ ```
13
+ $ gem install compass-normalize
14
+ ```
15
+
16
+ You can also install the gem from your local fork:
17
+
18
+ ```
19
+ $ git clone git://github.com/ksmandersen/compass-normalize.git
20
+ $ rake build
21
+ $ rake install
22
+ ```
23
+
24
+ ## Normalize Versions
25
+ Normalize has two versions, a modern Normalize for Firefox 4+, Chrome, Safari 5+, Opera, and Internet Explorer 8+, and a legacy Normalize with support for all legacy versions of those browsers.
26
+
27
+ ## Usage
28
+
29
+ ### Modern Normalize
30
+ When creating a new project with compass:
31
+
32
+ ```
33
+ $ compass create <my_project> -r compass-normalize --using compass-normalize
34
+ ```
35
+
36
+ If using an existing project, edit your config.rb and add this line:
37
+
38
+ ```ruby
39
+ require 'compass-normalize'
40
+ ```
41
+
42
+ To use the normalize plugin, just import and include normalize:
43
+
44
+ ```scss
45
+ @import "normalize";
46
+ ```
47
+
48
+ You can also just import parts you need:
49
+
50
+ ```scss
51
+ @import 'normalize/html5';
52
+ @import 'normalize/base';
53
+ @import 'normalize/links';
54
+ @import 'normalize/typography';
55
+ @import 'normalize/lists'; // Only for legacy support (see below).
56
+ @import 'normalize/embeds';
57
+ @import 'normalize/figures';
58
+ @import 'normalize/forms';
59
+ @import 'normalize/tables';
60
+ ```
61
+
62
+ ### Legacy Normalize
63
+ This plugin has been re-written to use compass's native cross-browser variables to determine compatability. http://compass-style.org/reference/compass/support/
64
+
65
+ You can still create a legacy project using the following:
66
+
67
+ ```
68
+ $ compass create <my_project> -r compass-normalize --using compass-normalize/legacy
69
+ ```
70
+
71
+ But to just import normalize and include legacy portions of the code, set the necissary legacy-support variables to true:
72
+ ```scss
73
+ $legacy-support-for-ie6: true;
74
+ $legacy-support-for-ie7: true;
75
+ $legacy-support-for-ie8: true;
76
+ $legacy-support-for-mozilla: true;
77
+ @import normalize;
78
+ ```
79
+ You can also import any part that you want, just like the code for modern normalize.
80
+
81
+ ## Acknowledgements
82
+ Many thanks to [Frederic Hemberger](https://github.com/fhemberger/), [Sam Richard](https://github.com/snugug) and [Ian Carrico](https://github.com/ChinggizKhan) who contributed greatly to this project.
83
+
84
+ ## License
85
+ This is free and unencumbered software released into the public domain.
86
+
87
+ Anyone is free to copy, modify, publish, use, compile, sell, or
88
+ distribute this software, either in source code form or as a compiled
89
+ binary, for any purpose, commercial or non-commercial, and by any
90
+ means.
91
+
92
+ In jurisdictions that recognize copyright laws, the author or authors
93
+ of this software dedicate any and all copyright interest in the
94
+ software to the public domain. We make this dedication for the benefit
95
+ of the public at large and to the detriment of our heirs and
96
+ successors. We intend this dedication to be an overt act of
97
+ relinquishment in perpetuity of all present and future rights to this
98
+ software under copyright law.
99
+
100
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
101
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
102
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
103
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
104
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
105
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
106
+ OTHER DEALINGS IN THE SOFTWARE.
107
+
108
+ For more information, please refer to [The Unlicense](http://unlicense.org/)
109
+
110
+ ### Major components:
111
+
112
+ * [normalize.css](http://necolas.github.com/normalize.css/): Public domain
data/lib/modularis.rb CHANGED
@@ -1,30 +1 @@
1
- # All gems that are required for this extension to work should go here.
2
- # These are the requires you would normally put in your config.rb file
3
- # By default, you should always included Compass. Do not include your
4
- # extension.
5
- require 'compass'
6
-
7
- # This tells Compass what your Compass extension is called, and where to find
8
- # its files
9
- # Replace 'extension' with the name of your extension. Spaces allowed.
10
- modularis_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
11
- Compass::Frameworks.register('modularis', :path => modularis_path)
12
-
13
- # Version and date of version for your Compass extension.
14
- # Replace Extension with the name of your extension
15
- # Letters, numbers, and underscores only
16
- # Version is a number. If a version contains alphas, it will be created as
17
- # a prerelease version
18
- # Date is in the form of YYYY-MM-DD
19
- module Modularis
20
- VERSION = "5.0"
21
- DATE = "2012-05-27"
22
- end
23
-
24
- # This is where any custom SassScript should be placed. The functions will be
25
- # available on require of your extension without the need for users to import
26
- # any partials. Uncomment below.
27
-
28
- # module Sass::Script::Functions
29
- #
30
- # end
1
+ Compass::Frameworks.register("modularis", :path => "#{File.dirname(__FILE__)}/..")
@@ -0,0 +1,15 @@
1
+ @import "compass/support";
2
+
3
+ @mixin normalize-version($partial: false) {
4
+ $version: 'v2.1.0';
5
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
6
+ $version: 'v1.1.0';
7
+ }
8
+
9
+ @if $partial {
10
+ /*! normalize.css #{$version} | #{$partial} | MIT License | git.io/normalize */
11
+ }
12
+ @else {
13
+ /*! normalize.css #{$version} | MIT License | git.io/normalize */
14
+ }
15
+ }
@@ -0,0 +1,17 @@
1
+ // Compass' Legacy Support for Mozilla, defaulted.
2
+ $legacy-support-for-mozilla: true !default;
3
+
4
+ // Normalize Version Comment
5
+ @import 'normalize-version';
6
+ @include normalize-version;
7
+
8
+ // Normalize Partial Imports
9
+ @import 'normalize/html5';
10
+ @import 'normalize/base';
11
+ @import 'normalize/links';
12
+ @import 'normalize/typography';
13
+ @import 'normalize/lists';
14
+ @import 'normalize/embeds';
15
+ @import 'normalize/figures';
16
+ @import 'normalize/forms';
17
+ @import 'normalize/tables';
@@ -0,0 +1,39 @@
1
+ @include normalize-version('Base');
2
+
3
+ // ==========================================================================
4
+ // Base
5
+ // ==========================================================================
6
+
7
+ // 1. Sets default font family to sans-serif.
8
+ // 2. Prevents iOS text size adjust after orientation change, without disabling
9
+ // user zoom.
10
+ // 3. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using
11
+ // `em` units.
12
+
13
+ html {
14
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
15
+ font-size: 100%; // 3
16
+ }
17
+ font-family: sans-serif; // 1
18
+ -webkit-text-size-adjust: 100%; // 2
19
+ -ms-text-size-adjust: 100%; // 2
20
+ }
21
+
22
+ // Addresses `font-family` inconsistency between `textarea` and other form
23
+ // elements.
24
+
25
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
26
+ html,
27
+ button,
28
+ input,
29
+ select,
30
+ textarea {
31
+ font-family: sans-serif;
32
+ }
33
+ }
34
+
35
+ // Removes default margin.
36
+
37
+ body {
38
+ margin: 0;
39
+ }
@@ -0,0 +1,20 @@
1
+ @include normalize-version('Embedded Content');
2
+
3
+ // ==========================================================================
4
+ // Embedded content
5
+ // ==========================================================================
6
+
7
+ // Removes border when inside `a` element in IE 8/9.
8
+
9
+ img {
10
+ border: 0;
11
+ @if $legacy-support-for-ie7 {
12
+ -ms-interpolation-mode: bicubic;
13
+ }
14
+ }
15
+
16
+ // Corrects overflow displayed oddly in IE 9.
17
+
18
+ svg:not(:root) {
19
+ overflow: hidden;
20
+ }
@@ -0,0 +1,11 @@
1
+ @include normalize-version('Figures');
2
+
3
+ // ==========================================================================
4
+ // Figures
5
+ // ==========================================================================
6
+
7
+ // Addresses margin not present in IE 8/9 and Safari 5.
8
+
9
+ figure {
10
+ margin: 0;
11
+ }
@@ -0,0 +1,155 @@
1
+ @include normalize-version('Forms');
2
+
3
+ // ==========================================================================
4
+ // Forms
5
+ // ==========================================================================
6
+
7
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
8
+ // Corrects margin displayed oddly in IE6/7
9
+
10
+ form {
11
+ margin: 0;
12
+ }
13
+ }
14
+
15
+ // Define consistent border, margin, and padding.
16
+
17
+ fieldset {
18
+ border: 1px solid #c0c0c0;
19
+ margin: 0 2px;
20
+ padding: 0.35em 0.625em 0.75em;
21
+ }
22
+
23
+ // 1. Corrects color not being inherited in IE 8/9.
24
+ // 2. Remove padding so people aren't caught out if they zero out fieldsets.
25
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
26
+ // 3. Corrects text not wrapping in Firefox 3.
27
+ // 4. Corrects alignment displayed oddly in IE 6/7.
28
+ }
29
+
30
+ legend {
31
+ border: 0; // 1
32
+ padding: 0; // 2
33
+ @if $legacy-support-for-mozilla {
34
+ white-space: normal; // 3
35
+ }
36
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
37
+ *margin-left: -7px; // 4
38
+ }
39
+ }
40
+
41
+ // 1. Corrects font family not being inherited in all browsers.
42
+ // 2. Corrects font size not being inherited in all browsers.
43
+ // 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
44
+ // 4. Improves appearance and consistency in all browsers.
45
+
46
+ button,
47
+ input,
48
+ select,
49
+ textarea {
50
+ font-family: inherit; // 1
51
+ font-size: 100%; // 2
52
+ margin: 0; // 3
53
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
54
+ vertical-align: baseline; // 4
55
+ *vertical-align: middle; // 4
56
+ }
57
+ }
58
+
59
+ // Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
60
+ // the UA stylesheet.
61
+
62
+ button,
63
+ input {
64
+ line-height: normal;
65
+ }
66
+
67
+ // Address inconsistent `text-transform` inheritance for `button` and `select`.
68
+ // All other form control elements do not inherit `text-transform` values.
69
+ // Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
70
+ // Correct `select` style inheritance in Firefox 4+ and Opera.
71
+
72
+ button,
73
+ select {
74
+ text-transform: none;
75
+ }
76
+
77
+ // 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
78
+ // and `video` controls.
79
+ // 2. Corrects inability to style clickable `input` types in iOS.
80
+ // 3. Improves usability and consistency of cursor style between image-type
81
+ // `input` and others.
82
+ @if $legacy-support-for-ie7 {
83
+ // 4. Removes inner spacing in IE 7 without affecting normal text inputs.
84
+ // Known issue: inner spacing remains in IE 6.
85
+ }
86
+
87
+ button,
88
+ html input[type="button"], // 1
89
+ input[type="reset"],
90
+ input[type="submit"] {
91
+ -webkit-appearance: button; // 2
92
+ cursor: pointer; // 3
93
+ @if $legacy-support-for-ie7 {
94
+ *overflow: visible;
95
+ }
96
+ }
97
+
98
+ // Re-set default cursor for disabled elements.
99
+
100
+ button[disabled],
101
+ html input[disabled] {
102
+ cursor: default;
103
+ }
104
+
105
+ // 1. Addresses box sizing set to `content-box` in IE 8/9.
106
+ // 2. Removes excess padding in IE 8/9.
107
+ @if $legacy-support-for-ie7 {
108
+ // 3. Removes excess padding in IE 7.
109
+ // Known issue: excess padding remains in IE 6.
110
+ }
111
+
112
+ input[type="checkbox"],
113
+ input[type="radio"] {
114
+ box-sizing: border-box; // 1
115
+ padding: 0; // 2
116
+ @if $legacy-support-for-ie7 {
117
+ *height: 13px; // 3
118
+ *width: 13px; // 3
119
+ }
120
+ }
121
+
122
+ // 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
123
+ // 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
124
+ // (include `-moz` to future-proof).
125
+
126
+ input[type="search"] {
127
+ -webkit-appearance: textfield; // 1
128
+ -moz-box-sizing: content-box;
129
+ -webkit-box-sizing: content-box; // 2
130
+ box-sizing: content-box;
131
+ }
132
+
133
+ // Removes inner padding and search cancel button in Safari 5 and Chrome
134
+ // on OS X.
135
+
136
+ input[type="search"]::-webkit-search-cancel-button,
137
+ input[type="search"]::-webkit-search-decoration {
138
+ -webkit-appearance: none;
139
+ }
140
+
141
+ // Removes inner padding and border in Firefox 4+.
142
+
143
+ button::-moz-focus-inner,
144
+ input::-moz-focus-inner {
145
+ border: 0;
146
+ padding: 0;
147
+ }
148
+
149
+ // 1. Removes default vertical scrollbar in IE 8/9.
150
+ // 2. Improves readability and alignment in all browsers.
151
+
152
+ textarea {
153
+ overflow: auto; // 1
154
+ vertical-align: top; // 2
155
+ }
@@ -0,0 +1,48 @@
1
+ @include normalize-version('HTML5 Display Definitions');
2
+
3
+ // ==========================================================================
4
+ // HTML5 display definitions
5
+ // ==========================================================================
6
+
7
+ // Corrects `block` display not defined in IE 8/9.
8
+
9
+ article,
10
+ aside,
11
+ details,
12
+ figcaption,
13
+ figure,
14
+ footer,
15
+ header,
16
+ hgroup,
17
+ main,
18
+ nav,
19
+ section,
20
+ summary {
21
+ display: block;
22
+ }
23
+
24
+ // Corrects `inline-block` display not defined in IE 8/9.
25
+
26
+ audio,
27
+ canvas,
28
+ video {
29
+ display: inline-block;
30
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
31
+ *display: inline;
32
+ *zoom: 1;
33
+ }
34
+ }
35
+
36
+ // Prevents modern browsers from displaying `audio` without controls.
37
+ // Remove excess height in iOS 5 devices.
38
+
39
+ audio:not([controls]) {
40
+ display: none;
41
+ height: 0;
42
+ }
43
+
44
+ // Addresses styling for `hidden` attribute not present in IE 8/9.
45
+
46
+ [hidden] {
47
+ display: none;
48
+ }
@@ -0,0 +1,18 @@
1
+ @include normalize-version('Links');
2
+
3
+ // ==========================================================================
4
+ // Links
5
+ // ==========================================================================
6
+
7
+ // Addresses `outline` inconsistency between Chrome and other browsers.
8
+
9
+ a:focus {
10
+ outline: thin dotted;
11
+ }
12
+
13
+ // Improves readability when focused and also mouse hovered in all browsers.
14
+
15
+ a:active,
16
+ a:hover {
17
+ outline: 0;
18
+ }
@@ -0,0 +1,34 @@
1
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
2
+ // ==========================================================================
3
+ // Lists
4
+ // ==========================================================================
5
+
6
+ // Addresses margins set differently in IE 6/7.
7
+
8
+ dl,
9
+ menu,
10
+ ol,
11
+ ul {
12
+ margin: 1em 0;
13
+ }
14
+
15
+ dd {
16
+ margin: 0 0 0 40px;
17
+ }
18
+
19
+ // Addresses paddings set differently in IE 6/7.
20
+
21
+ menu,
22
+ ol,
23
+ ul {
24
+ padding: 0 0 0 40px;
25
+ }
26
+
27
+ // Corrects list images handled incorrectly in IE 7.
28
+
29
+ nav ul,
30
+ nav ol {
31
+ list-style: none;
32
+ list-style-image: none;
33
+ }
34
+ }
@@ -0,0 +1,12 @@
1
+ @include normalize-version('Tables');
2
+
3
+ // ==========================================================================
4
+ // Tables
5
+ // ==========================================================================
6
+
7
+ // Remove most spacing between table cells.
8
+
9
+ table {
10
+ border-collapse: collapse;
11
+ border-spacing: 0;
12
+ }
@@ -0,0 +1,160 @@
1
+ @include normalize-version('Typography');
2
+
3
+ // ==========================================================================
4
+ // Typography
5
+ // ==========================================================================
6
+
7
+ // Address variable `h1` font-size and margin within `section` and `article`
8
+ // contexts in Firefox 4+, Safari 5, and Chrome.
9
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
10
+ // Addresses font sizes and margins set differently in IE 6/7.
11
+ }
12
+
13
+ h1 {
14
+ font-size: 2em;
15
+ margin: 0.67em 0;
16
+ }
17
+
18
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
19
+ h2 {
20
+ font-size: 1.5em;
21
+ margin: 0.83em 0;
22
+ }
23
+
24
+ h3 {
25
+ font-size: 1.17em;
26
+ margin: 1em 0;
27
+ }
28
+
29
+ h4 {
30
+ font-size: 1em;
31
+ margin: 1.33em 0;
32
+ }
33
+
34
+ h5 {
35
+ font-size: 0.83em;
36
+ margin: 1.67em 0;
37
+ }
38
+
39
+ h6 {
40
+ font-size: 0.67em;
41
+ margin: 2.33em 0;
42
+ }
43
+ }
44
+
45
+ // Addresses styling not present in IE 8/9, Safari 5, and Chrome.
46
+
47
+ abbr[title] {
48
+ border-bottom: 1px dotted;
49
+ }
50
+
51
+ // Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
52
+
53
+ b,
54
+ strong {
55
+ font-weight: bold;
56
+ }
57
+
58
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
59
+ blockquote {
60
+ margin: 1em 40px;
61
+ }
62
+ }
63
+
64
+ // Addresses styling not present in Safari 5 and Chrome.
65
+
66
+ dfn {
67
+ font-style: italic;
68
+ }
69
+
70
+ // Address differences between Firefox and other browsers.
71
+ // Known issue: no IE 6/7 normalization.
72
+
73
+ hr {
74
+ -moz-box-sizing: content-box;
75
+ box-sizing: content-box;
76
+ height: 0;
77
+ }
78
+
79
+ // Addresses styling not present in IE 6/7/8/9.
80
+
81
+ mark {
82
+ background: #ff0;
83
+ color: #000;
84
+ }
85
+
86
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
87
+ // Addresses margins set differently in IE 6/7.
88
+
89
+ p,
90
+ pre {
91
+ margin: 1em 0;
92
+ }
93
+ }
94
+
95
+ // Corrects font family set oddly in Safari 5 and Chrome.
96
+
97
+ code,
98
+ kbd,
99
+ pre,
100
+ samp {
101
+ font-family: monospace, serif;
102
+ @if $legacy-support-for-ie6 {
103
+ _font-family: 'courier new', monospace;
104
+ }
105
+ font-size: 1em;
106
+ }
107
+
108
+ // Improves readability of pre-formatted text in all browsers.
109
+
110
+ pre {
111
+ white-space: pre;
112
+ white-space: pre-wrap;
113
+ word-wrap: break-word;
114
+ }
115
+
116
+ // Sets consistent quote types.
117
+
118
+ q {
119
+ quotes: "\201C" "\201D" "\2018" "\2019";
120
+ }
121
+
122
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
123
+
124
+ // 1. Addresses CSS quotes not supported in IE6/7
125
+ // 2. Addresses quote property not supported in S4
126
+
127
+ q {
128
+ quotes: none; // 1
129
+ }
130
+
131
+ q:before,
132
+ q:after {
133
+ content: ''; // 2
134
+ content: none; // 2
135
+ }
136
+ }
137
+
138
+ // Addresses inconsistent and variable font size in all browsers.
139
+
140
+ small {
141
+ font-size: 80%;
142
+ }
143
+
144
+ // Prevents `sub` and `sup` affecting `line-height` in all browsers.
145
+
146
+ sub,
147
+ sup {
148
+ font-size: 75%;
149
+ line-height: 0;
150
+ position: relative;
151
+ vertical-align: baseline;
152
+ }
153
+
154
+ sup {
155
+ top: -0.5em;
156
+ }
157
+
158
+ sub {
159
+ bottom: -0.25em;
160
+ }
@@ -0,0 +1,49 @@
1
+ # Require any additional compass plugins here.
2
+
3
+ # Set this to the root of your project when deployed:
4
+ http_path = "/"
5
+ css_dir = "css"
6
+ sass_dir = "scss"
7
+ images_dir = "images"
8
+ javascripts_dir = "js"
9
+
10
+ # You can select your preferred output style here (can be overridden via the command line):
11
+ # output_style = :expanded or :nested or :compact or :compressed
12
+ output_style = :expanded
13
+ # To enable relative paths to assets via compass helper functions. Uncomment:
14
+ relative_assets = true
15
+
16
+ # To disable debugging comments that display the original location of your selectors. Uncomment:
17
+ line_comments = false
18
+
19
+
20
+ # If you prefer the indented syntax, you might want to regenerate this
21
+ # project again passing --syntax sass, or you can uncomment this:
22
+ # preferred_syntax = :sass
23
+ # and then run:
24
+ # sass-convert -R --from scss --to sass scss scss && rm -rf sass && mv scss sass
25
+
26
+ # Make a copy of sprites with a name that has no uniqueness of the hash.
27
+ on_sprite_saved do |filename|
28
+ if File.exists?(filename)
29
+ FileUtils.cp filename, filename.gsub(%r{-s[a-z0-9]{10}\.png$}, '.png')
30
+ end
31
+ end
32
+
33
+ # Replace in stylesheets generated references to sprites
34
+ # by their counterparts without the hash uniqueness.
35
+ on_stylesheet_saved do |filename|
36
+ if File.exists?(filename)
37
+ css = File.read filename
38
+ File.open(filename, 'w+') do |f|
39
+ f << css.gsub(%r{-s[a-z0-9]{10}\.png}, '.png')
40
+ end
41
+ end
42
+ end
43
+
44
+ def decimal(value)
45
+ unless value.is_a?(Sass::Script::Number) && value.unit_str == "%"
46
+ raise ArgumentError.new("#{value.inspect} is not a percent")
47
+ end
48
+ Sass::Script::Number.new(value.value / 100.0)
49
+ end
Binary file
@@ -1,24 +1,18 @@
1
- # Description
2
- description "Description of your Compass Template"
1
+ description "A compass plugin for using normalize.css"
3
2
 
4
- # Stylesheet Import
5
- file 'screen.scss', :like => :stylesheet, :media => 'screen, projection'
6
- file 'print.scss', :like => :stylesheet, :media => 'screen, projection'
7
- file 'ie.scss', :like => :stylesheet, :media => 'screen, projection', :condition => "lt IE 9"
3
+ stylesheet 'scss/common.scss', :media => 'all'
8
4
 
9
- # Javascript Import
10
- file 'scripts.js', :like => :javascript, :to => 'scripts.js'
5
+ # Make sure you list all the project template files here in the manifest.
6
+ file 'humans.txt'
7
+ file 'robots.txt'
8
+ file 'MIT-LICENSE.txt'
11
9
 
12
- # General File Import
13
- # file 'README.md', :to => "README.md"
14
10
 
15
- # Compass Modularis Help
16
11
  help %Q{
17
- Help for your Compass extension
12
+ Please see the normalize.css website for documentation and more information
13
+ For more information on how normalize.css works please visit the wiki
18
14
  }
19
15
 
20
- # Compass Extension Welcome Message
21
- # Users will see this when they create a new project using this template.
22
16
  welcome_message %Q{
23
- Welcome to my Compass Extension!
17
+ Hello! Welcome Message!
24
18
  }
@@ -1,3 +1,7 @@
1
- // This file will get output into the user's Sass folder.
2
- // We're going to import our extension's Sass here! Remember to change it!
3
- @import "extension";
1
+ // Set the global compass vars.
2
+ $legacy-support-for-ie6: false;
3
+ $legacy-support-for-ie7: false;
4
+ $legacy-support-for-ie8: true;
5
+ $legacy-support-for-mozilla: false;
6
+ // Import the normalize plugin
7
+ @import "normalize";
@@ -0,0 +1 @@
1
+ // Import ThemePile CSS Framework
metadata CHANGED
@@ -1,57 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modularis
3
3
  version: !ruby/object:Gem::Version
4
- version: '5.0'
4
+ version: 6.4.3
5
5
  platform: ruby
6
6
  authors:
7
- - First Last
7
+ - Gennadiy Ukhanov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2012-05-27 00:00:00.000000000 Z
11
+ date: 2013-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: sass
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ! '>='
18
- - !ruby/object:Gem::Version
19
- version: 3.2.0
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ! '>='
25
- - !ruby/object:Gem::Version
26
- version: 3.2.0
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: compass
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - ! '>='
32
18
  - !ruby/object:Gem::Version
33
- version: 0.12.1
19
+ version: 0.12.0
34
20
  type: :runtime
35
21
  prerelease: false
36
22
  version_requirements: !ruby/object:Gem::Requirement
37
23
  requirements:
38
24
  - - ! '>='
39
25
  - !ruby/object:Gem::Version
40
- version: 0.12.1
41
- description: A generalized Compass modularis to build off of
26
+ version: 0.12.0
27
+ description: Description of modularis
42
28
  email:
43
- - firstlast@modularis.com
29
+ - shaggysmile@gmail.com
44
30
  executables: []
45
31
  extensions: []
46
32
  extra_rdoc_files: []
47
33
  files:
34
+ - README.md
48
35
  - lib/modularis.rb
49
- - stylesheets/_modularis.scss
50
- - templates/project/ie.scss
36
+ - stylesheets/normalize/_base.scss
37
+ - stylesheets/normalize/_embeds.scss
38
+ - stylesheets/normalize/_figures.scss
39
+ - stylesheets/normalize/_forms.scss
40
+ - stylesheets/normalize/_html5.scss
41
+ - stylesheets/normalize/_links.scss
42
+ - stylesheets/normalize/_lists.scss
43
+ - stylesheets/normalize/_tables.scss
44
+ - stylesheets/normalize/_typography.scss
45
+ - stylesheets/_normalize-version.scss
46
+ - stylesheets/_normalize.scss
47
+ - templates/project/apple-touch-icon-114-precomposed.png
48
+ - templates/project/apple-touch-icon-144-precomposed.png
49
+ - templates/project/apple-touch-icon-57-precomposed.png
50
+ - templates/project/apple-touch-icon-72-precomposed.png
51
+ - templates/project/config.rb
52
+ - templates/project/favicon.png
51
53
  - templates/project/manifest.rb
52
- - templates/project/print.scss
53
54
  - templates/project/screen.scss
54
- homepage: http://modularis.com
55
+ - templates/project/scss/common.scss
56
+ - templates/project/splash-screen-1024x748.png
57
+ - templates/project/splash-screen-320x460.png
58
+ - templates/project/splash-screen-640x920.png
59
+ - templates/project/splash-screen-768x1004.png
60
+ homepage: http://themepile.co.uk
55
61
  licenses: []
56
62
  metadata: {}
57
63
  post_install_message:
@@ -67,11 +73,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
73
  requirements:
68
74
  - - ! '>='
69
75
  - !ruby/object:Gem::Version
70
- version: 1.3.6
76
+ version: '0'
71
77
  requirements: []
72
- rubyforge_project: modularis
78
+ rubyforge_project:
73
79
  rubygems_version: 2.0.3
74
80
  signing_key:
75
81
  specification_version: 4
76
- summary: An easy to use system for writing and managing media queries.
82
+ summary: Description of modularis
77
83
  test_files: []
@@ -1 +0,0 @@
1
- // Your Compass Extension's Sass goes here! Run wild!
@@ -1,3 +0,0 @@
1
- // This file will get output into the user's Sass folder.
2
- // We're going to import our extension's Sass here! Remember to change it!
3
- @import "extension";
@@ -1,3 +0,0 @@
1
- // This file will get output into the user's Sass folder.
2
- // We're going to import our extension's Sass here! Remember to change it!
3
- @import "extension";