compass-inuit 4.1.5 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/stylesheets/_compass-inuit.scss +34 -14
- data/stylesheets/partials/_generic.scss +2 -1
- data/stylesheets/partials/_objects.scss +1 -2
- data/stylesheets/partials/base/_code.scss +1 -4
- data/stylesheets/partials/base/_links.scss +0 -9
- data/stylesheets/partials/base/_smallprint.scss +0 -6
- data/stylesheets/partials/generic/_mixins.scss +2 -2
- data/stylesheets/partials/generic/_normalize.scss +375 -0
- data/stylesheets/partials/generic/_reset.scss +34 -48
- data/stylesheets/partials/objects/_grids.scss +4 -2
- data/stylesheets/partials/objects/_matrix.scss +3 -1
- data/templates/project/sass/_vars.scss +19 -17
- data/templates/project/sass/your-project.scss +8 -8
- data/templates/project/watch.sh +1 -4
- metadata +3 -3
- data/stylesheets/partials/objects/_grids-ie7.scss +0 -47
@@ -1,7 +1,11 @@
|
|
1
1
|
/*------------------------------------*\
|
2
2
|
INUIT.CSS
|
3
3
|
\*------------------------------------*/
|
4
|
-
|
4
|
+
/*!*
|
5
|
+
*
|
6
|
+
* inuitcss.com -- @inuitcss -- @csswizardry
|
7
|
+
*
|
8
|
+
*/
|
5
9
|
/**
|
6
10
|
* inuit.css acts as a base stylesheet which you should extend with your own
|
7
11
|
* theme stylesheet.
|
@@ -9,14 +13,14 @@
|
|
9
13
|
* inuit.css aims to do the heavy lifting; sorting objects and abstractions,
|
10
14
|
* design patterns and fiddly bits of CSS, whilst leaving as much design as
|
11
15
|
* possible to you. inuit.css is the scaffolding to your decorator.
|
12
|
-
*
|
16
|
+
*
|
13
17
|
* This stylesheet is heavily documented and contains lots of comments, please
|
14
18
|
* take care to read and refer to them as you build. For further support please
|
15
19
|
* tweet at @inuitcss.
|
16
20
|
*
|
17
21
|
* Owing to the amount of comments please only ever use `inuit.min.css` in
|
18
22
|
* production. This file is purely a dev document.
|
19
|
-
*
|
23
|
+
*
|
20
24
|
* The table of contents below maps to section titles of the same name, to jump
|
21
25
|
* to any section simply run a find for $[SECTION-TITLE].
|
22
26
|
*
|
@@ -24,23 +28,25 @@
|
|
24
28
|
* able to paste into any view to quickly see how the CSS works in conjunction
|
25
29
|
* with the correct HTML.
|
26
30
|
*
|
31
|
+
* inuit.css is written to this standard: github.com/csswizardry/CSS-Guidelines
|
32
|
+
*
|
27
33
|
* LICENSE
|
28
34
|
*
|
29
35
|
* Copyright 2012 Harry Roberts
|
30
|
-
*
|
36
|
+
*
|
31
37
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
32
38
|
* you may not use this file except in compliance with the License.
|
33
39
|
* You may obtain a copy of the License at
|
34
|
-
*
|
40
|
+
*
|
35
41
|
* http://apache.org/licenses/LICENSE-2.0
|
36
|
-
*
|
42
|
+
*
|
37
43
|
* Unless required by applicable law or agreed to in writing, software
|
38
44
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
39
45
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
40
46
|
* See the License for the specific language governing permissions and
|
41
47
|
* limitations under the License.
|
42
|
-
*
|
43
|
-
* Thank you for choosing inuit.css. May your
|
48
|
+
*
|
49
|
+
* Thank you for choosing inuit.css. May your floats remain cleared.
|
44
50
|
*/
|
45
51
|
|
46
52
|
|
@@ -54,12 +60,13 @@
|
|
54
60
|
* CONTENTS............You’re reading it!
|
55
61
|
* WARNING.............Here be dragons!
|
56
62
|
* IMPORTS.............Begin importing the sections below
|
57
|
-
*
|
63
|
+
*
|
58
64
|
* MIXINS..............Super-simple Sass stuff
|
65
|
+
* NORMALIZE...........normalize.css
|
59
66
|
* RESET...............Set some defaults
|
60
67
|
* CLEARFIX............
|
61
68
|
* SHARED..............Shared declarations
|
62
|
-
*
|
69
|
+
*
|
63
70
|
* MAIN................High-level elements like `html`, `body`, etc.
|
64
71
|
* HEADINGS............Double-stranded heading hierarchy
|
65
72
|
* PARAGRAPHS..........
|
@@ -71,12 +78,14 @@
|
|
71
78
|
* IMAGES..............
|
72
79
|
* TABLES..............
|
73
80
|
* FORMS...............
|
74
|
-
*
|
81
|
+
*
|
75
82
|
* GRIDS...............Fluid, proportional and nestable grids
|
76
83
|
* FLEXBOX.............Crudely emulate flexbox
|
77
84
|
* COLUMNS.............CSS3 columns
|
78
85
|
* NAV.................A simple abstraction to put a list in horizontal nav mode
|
86
|
+
* OPTIONS.............Grouped nav items
|
79
87
|
* PAGINATION..........Very stripped back, basic paginator
|
88
|
+
* BREADCRUMB..........Simple breadcrumb trail object
|
80
89
|
* MEDIA...............Media object
|
81
90
|
* ISLAND..............Boxed off content
|
82
91
|
* BLOCK-LIST..........Blocky lists of content
|
@@ -89,9 +98,16 @@
|
|
89
98
|
* ICON-TEXT...........Icon and text couplings
|
90
99
|
* BUTTONS.............
|
91
100
|
* LOZENGES............Basic lozenge styles
|
92
|
-
*
|
101
|
+
* RULES...............Horizontal rules
|
102
|
+
* STATS...............Simple stats object
|
103
|
+
* GREYBOX.............Wireframing styles
|
104
|
+
*
|
105
|
+
* WIDTHS..............Width classes for use alongside the grid system etc.
|
106
|
+
* PUSH................Push classes for manipulating grids
|
107
|
+
* PULL................Pull classes for manipulating grids
|
93
108
|
* BRAND...............Helper class to apply brand treatment to elements
|
94
109
|
* HELPER..............A series of helper classes to use arbitrarily
|
110
|
+
* DEBUG...............Enable to add visual flags for debugging purposes
|
95
111
|
*/
|
96
112
|
|
97
113
|
|
@@ -107,9 +123,9 @@
|
|
107
123
|
* inuit.css to style everything we need for a base. Any custom styles SHOULD
|
108
124
|
* NOT be added or modified in inuit.css directly, but added via your theme
|
109
125
|
* stylesheet as per the open/closed principle:
|
110
|
-
*
|
126
|
+
*
|
111
127
|
* csswizardry.com/2012/06/the-open-closed-principle-applied-to-css
|
112
|
-
*
|
128
|
+
*
|
113
129
|
* Try not to edit any CSS beyond this point; if you find you need to do so
|
114
130
|
* it is a failing of the framework so please tweet at @inuitcss.
|
115
131
|
*/
|
@@ -118,6 +134,7 @@
|
|
118
134
|
|
119
135
|
|
120
136
|
|
137
|
+
|
121
138
|
/*------------------------------------*\
|
122
139
|
$IMPORTS
|
123
140
|
\*------------------------------------*/
|
@@ -134,5 +151,8 @@
|
|
134
151
|
|
135
152
|
/**
|
136
153
|
* Objects and abstractions
|
154
|
+
*
|
155
|
+
* Single-line comment (//) out any objects you do not need in your project.
|
137
156
|
*/
|
138
157
|
@import "partials/objects";
|
158
|
+
// @import "example/unnecessary/file";
|
@@ -6,8 +6,9 @@
|
|
6
6
|
@import "partials/generic/debug";
|
7
7
|
@import "partials/generic/helper";
|
8
8
|
@import "partials/generic/mixins";
|
9
|
+
@import "partials/generic/normalize";
|
9
10
|
@import "partials/generic/pull";
|
10
11
|
@import "partials/generic/push";
|
11
12
|
@import "partials/generic/reset";
|
12
13
|
@import "partials/generic/shared";
|
13
|
-
@import "partials/generic/widths";
|
14
|
+
@import "partials/generic/widths";
|
@@ -9,7 +9,6 @@
|
|
9
9
|
@import "partials/objects/flexbox";
|
10
10
|
@import "partials/objects/flyout";
|
11
11
|
@import "partials/objects/greybox";
|
12
|
-
@import "partials/objects/grids-ie7";
|
13
12
|
@import "partials/objects/grids";
|
14
13
|
@import "partials/objects/icon-text";
|
15
14
|
@import "partials/objects/island";
|
@@ -23,4 +22,4 @@
|
|
23
22
|
@import "partials/objects/split";
|
24
23
|
@import "partials/objects/sprite";
|
25
24
|
@import "partials/objects/stats";
|
26
|
-
@import "partials/objects/this-or-this";
|
25
|
+
@import "partials/objects/this-or-this";
|
@@ -4,9 +4,6 @@
|
|
4
4
|
/**
|
5
5
|
* Use an explicit font stack to ensure browsers render correct `line-height`.
|
6
6
|
*/
|
7
|
-
pre,code,samp,kbd{
|
8
|
-
font-family:$code-face;
|
9
|
-
}
|
10
7
|
pre{
|
11
8
|
overflow:auto;
|
12
9
|
}
|
@@ -62,4 +59,4 @@ pre{
|
|
62
59
|
}
|
63
60
|
.numbered__numbers code{
|
64
61
|
white-space:pre;
|
65
|
-
}
|
62
|
+
}
|
@@ -3,13 +3,7 @@
|
|
3
3
|
\*------------------------------------*/
|
4
4
|
/**
|
5
5
|
* A series of classes for setting tiny type; for use in smallprint etc.
|
6
|
-
*
|
7
|
-
* `small` is relative to whatever its parent is, `.milli` and `.micro` are
|
8
|
-
* absolute.
|
9
6
|
*/
|
10
|
-
small{
|
11
|
-
font-size:0.75em;
|
12
|
-
}
|
13
7
|
.smallprint,
|
14
8
|
.milli{
|
15
9
|
@include font-size($milli-size);
|
@@ -20,7 +20,7 @@
|
|
20
20
|
/**
|
21
21
|
* Create vendor-prefixed CSS in one go, e.g.
|
22
22
|
*
|
23
|
-
`@include vendor(
|
23
|
+
`@include vendor(border-radius, 4px);`
|
24
24
|
*
|
25
25
|
*/
|
26
26
|
@mixin vendor($property, $value){
|
@@ -82,4 +82,4 @@
|
|
82
82
|
white-space:nowrap;
|
83
83
|
overflow:hidden;
|
84
84
|
text-overflow:ellipsis;
|
85
|
-
}
|
85
|
+
}
|
@@ -0,0 +1,375 @@
|
|
1
|
+
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
2
|
+
|
3
|
+
/* ==========================================================================
|
4
|
+
HTML5 display definitions
|
5
|
+
========================================================================== */
|
6
|
+
|
7
|
+
/*
|
8
|
+
* Corrects `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
|
+
nav,
|
20
|
+
section,
|
21
|
+
summary {
|
22
|
+
display: block;
|
23
|
+
}
|
24
|
+
|
25
|
+
/*
|
26
|
+
* Corrects `inline-block` display not defined in IE 8/9.
|
27
|
+
*/
|
28
|
+
|
29
|
+
audio,
|
30
|
+
canvas,
|
31
|
+
video {
|
32
|
+
display: inline-block;
|
33
|
+
}
|
34
|
+
|
35
|
+
/*
|
36
|
+
* Prevents modern browsers from displaying `audio` without controls.
|
37
|
+
* Remove excess height in iOS 5 devices.
|
38
|
+
*/
|
39
|
+
|
40
|
+
audio:not([controls]) {
|
41
|
+
display: none;
|
42
|
+
height: 0;
|
43
|
+
}
|
44
|
+
|
45
|
+
/*
|
46
|
+
* Addresses styling for `hidden` attribute not present in IE 8/9.
|
47
|
+
*/
|
48
|
+
|
49
|
+
[hidden] {
|
50
|
+
display: none;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* ==========================================================================
|
54
|
+
Base
|
55
|
+
========================================================================== */
|
56
|
+
|
57
|
+
/*
|
58
|
+
* 1. Sets default font family to sans-serif.
|
59
|
+
* 2. Prevents iOS text size adjust after orientation change, without disabling
|
60
|
+
* user zoom.
|
61
|
+
*/
|
62
|
+
|
63
|
+
html {
|
64
|
+
font-family: sans-serif; /* 1 */
|
65
|
+
-webkit-text-size-adjust: 100%; /* 2 */
|
66
|
+
-ms-text-size-adjust: 100%; /* 2 */
|
67
|
+
}
|
68
|
+
|
69
|
+
/*
|
70
|
+
* Removes default margin.
|
71
|
+
*/
|
72
|
+
|
73
|
+
body {
|
74
|
+
margin: 0;
|
75
|
+
}
|
76
|
+
|
77
|
+
/* ==========================================================================
|
78
|
+
Links
|
79
|
+
========================================================================== */
|
80
|
+
|
81
|
+
/*
|
82
|
+
* Addresses `outline` inconsistency between Chrome and other browsers.
|
83
|
+
*/
|
84
|
+
|
85
|
+
a:focus {
|
86
|
+
outline: thin dotted;
|
87
|
+
}
|
88
|
+
|
89
|
+
/*
|
90
|
+
* Improves readability when focused and also mouse hovered in all browsers.
|
91
|
+
*/
|
92
|
+
|
93
|
+
a:active,
|
94
|
+
a:hover {
|
95
|
+
outline: 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
/* ==========================================================================
|
99
|
+
Typography
|
100
|
+
========================================================================== */
|
101
|
+
|
102
|
+
/*
|
103
|
+
* Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
|
104
|
+
* Safari 5, and Chrome.
|
105
|
+
*/
|
106
|
+
|
107
|
+
h1 {
|
108
|
+
font-size: 2em;
|
109
|
+
}
|
110
|
+
|
111
|
+
/*
|
112
|
+
* Addresses styling not present in IE 8/9, Safari 5, and Chrome.
|
113
|
+
*/
|
114
|
+
|
115
|
+
abbr[title] {
|
116
|
+
border-bottom: 1px dotted;
|
117
|
+
}
|
118
|
+
|
119
|
+
/*
|
120
|
+
* Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
|
121
|
+
*/
|
122
|
+
|
123
|
+
b,
|
124
|
+
strong {
|
125
|
+
font-weight: bold;
|
126
|
+
}
|
127
|
+
|
128
|
+
/*
|
129
|
+
* Addresses styling not present in Safari 5 and Chrome.
|
130
|
+
*/
|
131
|
+
|
132
|
+
dfn {
|
133
|
+
font-style: italic;
|
134
|
+
}
|
135
|
+
|
136
|
+
/*
|
137
|
+
* Addresses styling not present in IE 8/9.
|
138
|
+
*/
|
139
|
+
|
140
|
+
mark {
|
141
|
+
background: #ff0;
|
142
|
+
color: #000;
|
143
|
+
}
|
144
|
+
|
145
|
+
|
146
|
+
/*
|
147
|
+
* Corrects font family set oddly in Safari 5 and Chrome.
|
148
|
+
*/
|
149
|
+
|
150
|
+
code,
|
151
|
+
kbd,
|
152
|
+
pre,
|
153
|
+
samp {
|
154
|
+
font-family: monospace, serif;
|
155
|
+
font-size: 1em;
|
156
|
+
}
|
157
|
+
|
158
|
+
/*
|
159
|
+
* Improves readability of pre-formatted text in all browsers.
|
160
|
+
*/
|
161
|
+
|
162
|
+
pre {
|
163
|
+
white-space: pre;
|
164
|
+
white-space: pre-wrap;
|
165
|
+
word-wrap: break-word;
|
166
|
+
}
|
167
|
+
|
168
|
+
/*
|
169
|
+
* Sets consistent quote types.
|
170
|
+
*/
|
171
|
+
|
172
|
+
q {
|
173
|
+
quotes: "\201C" "\201D" "\2018" "\2019";
|
174
|
+
}
|
175
|
+
|
176
|
+
/*
|
177
|
+
* Addresses inconsistent and variable font size in all browsers.
|
178
|
+
*/
|
179
|
+
|
180
|
+
small {
|
181
|
+
font-size: 80%;
|
182
|
+
}
|
183
|
+
|
184
|
+
/*
|
185
|
+
* Prevents `sub` and `sup` affecting `line-height` in all browsers.
|
186
|
+
*/
|
187
|
+
|
188
|
+
sub,
|
189
|
+
sup {
|
190
|
+
font-size: 75%;
|
191
|
+
line-height: 0;
|
192
|
+
position: relative;
|
193
|
+
vertical-align: baseline;
|
194
|
+
}
|
195
|
+
|
196
|
+
sup {
|
197
|
+
top: -0.5em;
|
198
|
+
}
|
199
|
+
|
200
|
+
sub {
|
201
|
+
bottom: -0.25em;
|
202
|
+
}
|
203
|
+
|
204
|
+
/* ==========================================================================
|
205
|
+
Embedded content
|
206
|
+
========================================================================== */
|
207
|
+
|
208
|
+
/*
|
209
|
+
* Removes border when inside `a` element in IE 8/9.
|
210
|
+
*/
|
211
|
+
|
212
|
+
img {
|
213
|
+
border: 0;
|
214
|
+
}
|
215
|
+
|
216
|
+
/*
|
217
|
+
* Corrects overflow displayed oddly in IE 9.
|
218
|
+
*/
|
219
|
+
|
220
|
+
svg:not(:root) {
|
221
|
+
overflow: hidden;
|
222
|
+
}
|
223
|
+
|
224
|
+
/* ==========================================================================
|
225
|
+
Figures
|
226
|
+
========================================================================== */
|
227
|
+
|
228
|
+
/*
|
229
|
+
* Addresses margin not present in IE 8/9 and Safari 5.
|
230
|
+
*/
|
231
|
+
|
232
|
+
figure {
|
233
|
+
margin: 0;
|
234
|
+
}
|
235
|
+
|
236
|
+
/* ==========================================================================
|
237
|
+
Forms
|
238
|
+
========================================================================== */
|
239
|
+
|
240
|
+
/*
|
241
|
+
* Define consistent border, margin, and padding.
|
242
|
+
*/
|
243
|
+
|
244
|
+
fieldset {
|
245
|
+
border: 1px solid #c0c0c0;
|
246
|
+
margin: 0 2px;
|
247
|
+
padding: 0.35em 0.625em 0.75em;
|
248
|
+
}
|
249
|
+
|
250
|
+
/*
|
251
|
+
* 1. Corrects color not being inherited in IE 8/9.
|
252
|
+
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
253
|
+
*/
|
254
|
+
|
255
|
+
legend {
|
256
|
+
border: 0; /* 1 */
|
257
|
+
padding: 0; /* 2 */
|
258
|
+
}
|
259
|
+
|
260
|
+
/*
|
261
|
+
* 1. Corrects font family not being inherited in all browsers.
|
262
|
+
* 2. Corrects font size not being inherited in all browsers.
|
263
|
+
* 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
|
264
|
+
*/
|
265
|
+
|
266
|
+
button,
|
267
|
+
input,
|
268
|
+
select,
|
269
|
+
textarea {
|
270
|
+
font-family: inherit; /* 1 */
|
271
|
+
font-size: 100%; /* 2 */
|
272
|
+
margin: 0; /* 3 */
|
273
|
+
}
|
274
|
+
|
275
|
+
/*
|
276
|
+
* Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
|
277
|
+
* the UA stylesheet.
|
278
|
+
*/
|
279
|
+
|
280
|
+
button,
|
281
|
+
input {
|
282
|
+
line-height: normal;
|
283
|
+
}
|
284
|
+
|
285
|
+
/*
|
286
|
+
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
287
|
+
* and `video` controls.
|
288
|
+
* 2. Corrects inability to style clickable `input` types in iOS.
|
289
|
+
* 3. Improves usability and consistency of cursor style between image-type
|
290
|
+
* `input` and others.
|
291
|
+
*/
|
292
|
+
|
293
|
+
button,
|
294
|
+
html input[type="button"], /* 1 */
|
295
|
+
input[type="reset"],
|
296
|
+
input[type="submit"] {
|
297
|
+
-webkit-appearance: button; /* 2 */
|
298
|
+
cursor: pointer; /* 3 */
|
299
|
+
}
|
300
|
+
|
301
|
+
/*
|
302
|
+
* Re-set default cursor for disabled elements.
|
303
|
+
*/
|
304
|
+
|
305
|
+
button[disabled],
|
306
|
+
input[disabled] {
|
307
|
+
cursor: default;
|
308
|
+
}
|
309
|
+
|
310
|
+
/*
|
311
|
+
* 1. Addresses box sizing set to `content-box` in IE 8/9.
|
312
|
+
* 2. Removes excess padding in IE 8/9.
|
313
|
+
*/
|
314
|
+
|
315
|
+
input[type="checkbox"],
|
316
|
+
input[type="radio"] {
|
317
|
+
box-sizing: border-box; /* 1 */
|
318
|
+
padding: 0; /* 2 */
|
319
|
+
}
|
320
|
+
|
321
|
+
/*
|
322
|
+
* 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
|
323
|
+
* 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
|
324
|
+
* (include `-moz` to future-proof).
|
325
|
+
*/
|
326
|
+
|
327
|
+
input[type="search"] {
|
328
|
+
-webkit-appearance: textfield; /* 1 */
|
329
|
+
-moz-box-sizing: content-box;
|
330
|
+
-webkit-box-sizing: content-box; /* 2 */
|
331
|
+
box-sizing: content-box;
|
332
|
+
}
|
333
|
+
|
334
|
+
/*
|
335
|
+
* Removes inner padding and search cancel button in Safari 5 and Chrome
|
336
|
+
* on OS X.
|
337
|
+
*/
|
338
|
+
|
339
|
+
input[type="search"]::-webkit-search-cancel-button,
|
340
|
+
input[type="search"]::-webkit-search-decoration {
|
341
|
+
-webkit-appearance: none;
|
342
|
+
}
|
343
|
+
|
344
|
+
/*
|
345
|
+
* Removes inner padding and border in Firefox 4+.
|
346
|
+
*/
|
347
|
+
|
348
|
+
button::-moz-focus-inner,
|
349
|
+
input::-moz-focus-inner {
|
350
|
+
border: 0;
|
351
|
+
padding: 0;
|
352
|
+
}
|
353
|
+
|
354
|
+
/*
|
355
|
+
* 1. Removes default vertical scrollbar in IE 8/9.
|
356
|
+
* 2. Improves readability and alignment in all browsers.
|
357
|
+
*/
|
358
|
+
|
359
|
+
textarea {
|
360
|
+
overflow: auto; /* 1 */
|
361
|
+
vertical-align: top; /* 2 */
|
362
|
+
}
|
363
|
+
|
364
|
+
/* ==========================================================================
|
365
|
+
Tables
|
366
|
+
========================================================================== */
|
367
|
+
|
368
|
+
/*
|
369
|
+
* Remove most spacing between table cells.
|
370
|
+
*/
|
371
|
+
|
372
|
+
table {
|
373
|
+
border-collapse: collapse;
|
374
|
+
border-spacing: 0;
|
375
|
+
}
|
@@ -5,74 +5,60 @@
|
|
5
5
|
* A more considered reset; more of a restart...
|
6
6
|
* As per: csswizardry.com/2011/10/reset-restarted
|
7
7
|
*/
|
8
|
-
|
8
|
+
|
9
|
+
@if $global-border-box == true{
|
10
|
+
/**
|
11
|
+
* Let’s make the box model all nice, shall we…?
|
12
|
+
*/
|
13
|
+
*{
|
14
|
+
&,
|
15
|
+
&:before,
|
16
|
+
&:after{
|
17
|
+
@include vendor(box-sizing, border-box);
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
/**
|
23
|
+
* The usual...
|
24
|
+
*/
|
9
25
|
h1,h2,h3,h4,h5,h6,
|
10
26
|
p,blockquote,pre,
|
11
27
|
dl,dd,ol,ul,
|
12
28
|
form,fieldset,legend,
|
13
29
|
table,th,td,caption,
|
14
|
-
figure,
|
15
30
|
hr{
|
16
31
|
margin:0;
|
17
32
|
padding:0;
|
18
33
|
}
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
table{
|
24
|
-
border-collapse:collapse;
|
25
|
-
border-spacing:0;
|
26
|
-
}
|
27
|
-
strong,b,mark{
|
28
|
-
font-weight:bold;
|
29
|
-
font-style:inherit;
|
30
|
-
}
|
31
|
-
em,i,cite,q,address,dfn,var{
|
32
|
-
font-style:italic;
|
33
|
-
font-weight:inherit;
|
34
|
-
}
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Give a help cursor to elements that give extra info on `:hover`.
|
37
|
+
*/
|
35
38
|
abbr[title],dfn[title]{
|
36
39
|
cursor:help;
|
37
|
-
border-bottom:1px dotted;
|
38
|
-
}
|
39
|
-
ins{
|
40
|
-
border-bottom:1px solid;
|
41
40
|
}
|
41
|
+
|
42
|
+
/**
|
43
|
+
* Remove underlines from potentially troublesome elements.
|
44
|
+
*/
|
42
45
|
a,u,ins{
|
43
46
|
text-decoration:none;
|
44
47
|
}
|
45
|
-
del,s{
|
46
|
-
text-decoration:line-through;
|
47
|
-
}
|
48
|
-
img{
|
49
|
-
border:none;
|
50
|
-
font-style:italic;
|
51
|
-
}
|
52
|
-
input,
|
53
|
-
select,option,optgroup,
|
54
|
-
textarea{
|
55
|
-
font:inherit;
|
56
|
-
}
|
57
|
-
|
58
48
|
|
59
49
|
/**
|
60
|
-
*
|
50
|
+
* Apply faux underline via `border-bottom`.
|
61
51
|
*/
|
62
|
-
|
63
|
-
|
64
|
-
font-size:75%;
|
65
|
-
line-height:0;
|
66
|
-
position:relative;
|
67
|
-
vertical-align:baseline;
|
68
|
-
}
|
69
|
-
sup{
|
70
|
-
top:-0.5em;
|
71
|
-
}
|
72
|
-
sub{
|
73
|
-
bottom:-0.25em;
|
52
|
+
ins{
|
53
|
+
border-bottom:1px solid;
|
74
54
|
}
|
75
55
|
|
56
|
+
/**
|
57
|
+
* So that `alt` text is visually offset if images don’t load.
|
58
|
+
*/
|
59
|
+
img{
|
60
|
+
font-style:italic;
|
61
|
+
}
|
76
62
|
|
77
63
|
/**
|
78
64
|
* Give form elements some cursor interactions...
|
@@ -15,13 +15,19 @@
|
|
15
15
|
$debug-mode: false;
|
16
16
|
|
17
17
|
|
18
|
+
/**
|
19
|
+
* Do you want all elements to adopt `box-sizing:border-box;` as per
|
20
|
+
* paulirish.com/2012/box-sizing-border-box-ftw ?
|
21
|
+
*/
|
22
|
+
$global-border-box: true;
|
23
|
+
|
24
|
+
|
18
25
|
/**
|
19
26
|
* Base stuff
|
20
27
|
*/
|
21
28
|
$base-font-size: 16!default;
|
22
29
|
$base-line-height: 24!default;
|
23
30
|
|
24
|
-
$line-height-ratio: $base-line-height / $base-font-size;
|
25
31
|
|
26
32
|
/**
|
27
33
|
* How big would you like round corners to be by default?
|
@@ -29,13 +35,6 @@ $line-height-ratio: $base-line-height / $base-font-size;
|
|
29
35
|
$brand-round: 4!default;
|
30
36
|
|
31
37
|
|
32
|
-
/**
|
33
|
-
* Assign our `$base-line-height` to a new spacing var for more transparency.
|
34
|
-
*/
|
35
|
-
$base-spacing-unit: $base-line-height!default;
|
36
|
-
$half-spacing-unit: $base-spacing-unit / 2!default;
|
37
|
-
|
38
|
-
|
39
38
|
/**
|
40
39
|
* Font-sizes (in pixels). Refer to relevant sections for their implementations.
|
41
40
|
*/
|
@@ -43,12 +42,12 @@ $giga-size: 96!default;
|
|
43
42
|
$mega-size: 72!default;
|
44
43
|
$kilo-size: 48!default;
|
45
44
|
|
46
|
-
$h1-size: 36!default;
|
47
|
-
$h2-size: 30!default;
|
48
|
-
$h3-size: 24!default;
|
49
|
-
$h4-size: 20!default;
|
50
|
-
$h5-size: 16!default;
|
51
|
-
$h6-size: 14!default;
|
45
|
+
$h1-size: 36!default; // .alpha
|
46
|
+
$h2-size: 30!default; // .beta
|
47
|
+
$h3-size: 24!default; // .gamma
|
48
|
+
$h4-size: 20!default; // .delta
|
49
|
+
$h5-size: 16!default; // .epsilon
|
50
|
+
$h6-size: 14!default; // .zeta
|
52
51
|
|
53
52
|
$milli-size: 12!default;
|
54
53
|
$micro-size: 10!default;
|
@@ -62,7 +61,10 @@ $brand-face: "Helvetica Neue", sans-serif!default;
|
|
62
61
|
|
63
62
|
|
64
63
|
/**
|
65
|
-
*
|
66
|
-
*
|
64
|
+
* inuit.css will work these next ones out for you.
|
65
|
+
*
|
66
|
+
* Assign our `$base-line-height` to a new spacing var for more transparency.
|
67
67
|
*/
|
68
|
-
$
|
68
|
+
$base-spacing-unit: $base-line-height!default;
|
69
|
+
$half-spacing-unit: $base-spacing-unit / 2!default;
|
70
|
+
$line-height-ratio: $base-line-height / $base-font-size;
|
@@ -16,15 +16,15 @@
|
|
16
16
|
// She’s all yours, cap’n... Begin importing your stuff here.
|
17
17
|
|
18
18
|
html{
|
19
|
-
font:1em/1.5 Georgia, serif;
|
20
|
-
background-color
|
21
|
-
color
|
19
|
+
font: 1em/1.5 Georgia, serif;
|
20
|
+
background-color: #fff;
|
21
|
+
color: #333;
|
22
22
|
}
|
23
23
|
.wrapper{
|
24
|
-
max-width:960px;
|
25
|
-
padding:0 24px;
|
26
|
-
margin:0 auto;
|
24
|
+
max-width: 960px;
|
25
|
+
padding: 0 24px;
|
26
|
+
margin: 0 auto;
|
27
27
|
}
|
28
28
|
.footer{
|
29
|
-
margin-bottom:0;
|
30
|
-
}
|
29
|
+
margin-bottom: 0;
|
30
|
+
}
|
data/templates/project/watch.sh
CHANGED
@@ -4,9 +4,6 @@
|
|
4
4
|
# project’s stylesheet, `cd` to the directory in which this file lives and
|
5
5
|
# simply run `sh watch.sh`.
|
6
6
|
|
7
|
-
|
8
|
-
#sass --watch your-project.scss:your-project.css --style expanded
|
9
|
-
|
10
|
-
sass --watch your-project.scss:your-project.min.css --style compressed
|
7
|
+
compass watch
|
11
8
|
|
12
9
|
exit 0
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: compass-inuit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -72,6 +72,7 @@ files:
|
|
72
72
|
- stylesheets/partials/generic/_debug.scss
|
73
73
|
- stylesheets/partials/generic/_helper.scss
|
74
74
|
- stylesheets/partials/generic/_mixins.scss
|
75
|
+
- stylesheets/partials/generic/_normalize.scss
|
75
76
|
- stylesheets/partials/generic/_pull.scss
|
76
77
|
- stylesheets/partials/generic/_push.scss
|
77
78
|
- stylesheets/partials/generic/_reset.scss
|
@@ -85,7 +86,6 @@ files:
|
|
85
86
|
- stylesheets/partials/objects/_flexbox.scss
|
86
87
|
- stylesheets/partials/objects/_flyout.scss
|
87
88
|
- stylesheets/partials/objects/_greybox.scss
|
88
|
-
- stylesheets/partials/objects/_grids-ie7.scss
|
89
89
|
- stylesheets/partials/objects/_grids.scss
|
90
90
|
- stylesheets/partials/objects/_icon-text.scss
|
91
91
|
- stylesheets/partials/objects/_island.scss
|
@@ -1,47 +0,0 @@
|
|
1
|
-
/*------------------------------------*\
|
2
|
-
$GRIDS-IE7
|
3
|
-
\*------------------------------------*/
|
4
|
-
/*
|
5
|
-
* To make the grid system work properly in IE7 we need to add a little more
|
6
|
-
* markup to account for the fact that it doesn’t support `box-sizing`, e.g.:
|
7
|
-
*
|
8
|
-
<!--[if lte IE 7]><div class=ie7-grid><![endif]-->
|
9
|
-
|
10
|
-
<div class=gw>
|
11
|
-
|
12
|
-
<div class="g one-third"><div class=g__inner>
|
13
|
-
<p>Foo</p>
|
14
|
-
</div></div>
|
15
|
-
|
16
|
-
<div class="g one-third"><div class=g__inner>
|
17
|
-
<p>Bar</p>
|
18
|
-
</div></div>
|
19
|
-
|
20
|
-
<div class="g one-third"><div class=g__inner>
|
21
|
-
<p>Baz</p>
|
22
|
-
</div></div>
|
23
|
-
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<!--[if lte IE 7]></div><![endif]-->
|
27
|
-
*
|
28
|
-
* Demo: jsfiddle.net/inuitcss/9Euvj
|
29
|
-
*
|
30
|
-
*/
|
31
|
-
.ie7-grid{
|
32
|
-
overflow:hidden;
|
33
|
-
}
|
34
|
-
.ie7-grid .gw,
|
35
|
-
.ie7-grid .grid-wrapper{
|
36
|
-
margin-right:-$half-spacing-unit +px;
|
37
|
-
margin-left: -$half-spacing-unit +px;
|
38
|
-
}
|
39
|
-
.ie7-grid .g,
|
40
|
-
.ie7-grid .grid{
|
41
|
-
padding:0;
|
42
|
-
}
|
43
|
-
.ie7-grid .g__inner,
|
44
|
-
.ie7-grid .grid__inner{
|
45
|
-
padding-right:$half-spacing-unit +px;
|
46
|
-
padding-left: $half-spacing-unit +px;
|
47
|
-
}
|