sled 4.5.5

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.
Files changed (63) hide show
  1. data/LICENSE +13 -0
  2. data/README.md +24 -0
  3. data/lib/generators/inuit/install/USAGE +9 -0
  4. data/lib/generators/inuit/install/install_generator.rb +10 -0
  5. data/lib/generators/inuit/install/templates/inuit_and_override.css.scss +3 -0
  6. data/lib/sled.rb +8 -0
  7. data/lib/sled/version.rb +3 -0
  8. data/vendor/assets/stylesheets/_vars.scss +124 -0
  9. data/vendor/assets/stylesheets/assets/batch/batch.eot +0 -0
  10. data/vendor/assets/stylesheets/assets/batch/batch.svg +360 -0
  11. data/vendor/assets/stylesheets/assets/batch/batch.ttf +0 -0
  12. data/vendor/assets/stylesheets/assets/batch/batch.woff +0 -0
  13. data/vendor/assets/stylesheets/assets/batch/batch_webfont_reference.pdf +0 -0
  14. data/vendor/assets/stylesheets/inuit.css/_inuit.scss +210 -0
  15. data/vendor/assets/stylesheets/inuit.css/base/_code.scss +63 -0
  16. data/vendor/assets/stylesheets/inuit.css/base/_forms.scss +174 -0
  17. data/vendor/assets/stylesheets/inuit.css/base/_headings.scss +60 -0
  18. data/vendor/assets/stylesheets/inuit.css/base/_images.scss +67 -0
  19. data/vendor/assets/stylesheets/inuit.css/base/_links.scss +37 -0
  20. data/vendor/assets/stylesheets/inuit.css/base/_lists.scss +19 -0
  21. data/vendor/assets/stylesheets/inuit.css/base/_main.scss +8 -0
  22. data/vendor/assets/stylesheets/inuit.css/base/_paragraphs.scss +11 -0
  23. data/vendor/assets/stylesheets/inuit.css/base/_quotes.scss +96 -0
  24. data/vendor/assets/stylesheets/inuit.css/base/_smallprint.scss +13 -0
  25. data/vendor/assets/stylesheets/inuit.css/base/_tables.scss +163 -0
  26. data/vendor/assets/stylesheets/inuit.css/generic/_brand.scss +18 -0
  27. data/vendor/assets/stylesheets/inuit.css/generic/_clearfix.scss +15 -0
  28. data/vendor/assets/stylesheets/inuit.css/generic/_debug.scss +168 -0
  29. data/vendor/assets/stylesheets/inuit.css/generic/_helper.scss +112 -0
  30. data/vendor/assets/stylesheets/inuit.css/generic/_mixins.scss +299 -0
  31. data/vendor/assets/stylesheets/inuit.css/generic/_normalize.scss +396 -0
  32. data/vendor/assets/stylesheets/inuit.css/generic/_pull.scss +123 -0
  33. data/vendor/assets/stylesheets/inuit.css/generic/_push.scss +123 -0
  34. data/vendor/assets/stylesheets/inuit.css/generic/_reset.scss +80 -0
  35. data/vendor/assets/stylesheets/inuit.css/generic/_shared.scss +61 -0
  36. data/vendor/assets/stylesheets/inuit.css/generic/_widths.scss +154 -0
  37. data/vendor/assets/stylesheets/inuit.css/objects/_arrows.scss +143 -0
  38. data/vendor/assets/stylesheets/inuit.css/objects/_batch.scss +15 -0
  39. data/vendor/assets/stylesheets/inuit.css/objects/_block-list.scss +40 -0
  40. data/vendor/assets/stylesheets/inuit.css/objects/_breadcrumb.scss +59 -0
  41. data/vendor/assets/stylesheets/inuit.css/objects/_buttons.scss +44 -0
  42. data/vendor/assets/stylesheets/inuit.css/objects/_columns.scss +18 -0
  43. data/vendor/assets/stylesheets/inuit.css/objects/_flexbox.scss +51 -0
  44. data/vendor/assets/stylesheets/inuit.css/objects/_flyout.scss +59 -0
  45. data/vendor/assets/stylesheets/inuit.css/objects/_greybox.scss +54 -0
  46. data/vendor/assets/stylesheets/inuit.css/objects/_grids.scss +99 -0
  47. data/vendor/assets/stylesheets/inuit.css/objects/_icon-text.scss +36 -0
  48. data/vendor/assets/stylesheets/inuit.css/objects/_island.scss +34 -0
  49. data/vendor/assets/stylesheets/inuit.css/objects/_link-complex.scss +28 -0
  50. data/vendor/assets/stylesheets/inuit.css/objects/_lozenges.scss +42 -0
  51. data/vendor/assets/stylesheets/inuit.css/objects/_marginalia.scss +48 -0
  52. data/vendor/assets/stylesheets/inuit.css/objects/_matrix.scss +98 -0
  53. data/vendor/assets/stylesheets/inuit.css/objects/_media.scss +56 -0
  54. data/vendor/assets/stylesheets/inuit.css/objects/_nav.scss +151 -0
  55. data/vendor/assets/stylesheets/inuit.css/objects/_options.scss +41 -0
  56. data/vendor/assets/stylesheets/inuit.css/objects/_pagination.scss +46 -0
  57. data/vendor/assets/stylesheets/inuit.css/objects/_rules.scss +61 -0
  58. data/vendor/assets/stylesheets/inuit.css/objects/_split.scss +35 -0
  59. data/vendor/assets/stylesheets/inuit.css/objects/_sprite.scss +92 -0
  60. data/vendor/assets/stylesheets/inuit.css/objects/_stats.scss +48 -0
  61. data/vendor/assets/stylesheets/inuit.css/objects/_this-or-this.scss +34 -0
  62. data/vendor/assets/stylesheets/style.scss +23 -0
  63. metadata +126 -0
@@ -0,0 +1,210 @@
1
+ /*------------------------------------*\
2
+ INUIT.CSS
3
+ \*------------------------------------*/
4
+ /*!*
5
+ *
6
+ * inuitcss.com -- @inuitcss -- @csswizardry
7
+ *
8
+ */
9
+ /**
10
+ * inuit.css acts as a base stylesheet which you should extend with your own
11
+ * theme stylesheet.
12
+ *
13
+ * inuit.css aims to do the heavy lifting; sorting objects and abstractions,
14
+ * design patterns and fiddly bits of CSS, whilst leaving as much design as
15
+ * possible to you. inuit.css is the scaffolding to your decorator.
16
+ *
17
+ * This stylesheet is heavily documented and contains lots of comments, please
18
+ * take care to read and refer to them as you build. For further support please
19
+ * tweet at @inuitcss.
20
+ *
21
+ * Owing to the amount of comments please only ever use minified CSS in
22
+ * production. This file is purely a dev document.
23
+ *
24
+ * The table of contents below maps to section titles of the same name, to jump
25
+ * to any section simply run a find for $[SECTION-TITLE].
26
+ *
27
+ * Most objects and abstractions come with a chunk of markup that you should be
28
+ * able to paste into any view to quickly see how the CSS works in conjunction
29
+ * with the correct HTML.
30
+ *
31
+ * inuit.css is written to this standard: github.com/csswizardry/CSS-Guidelines
32
+ *
33
+ * LICENSE
34
+ *
35
+ * Copyright 2012 Harry Roberts
36
+ *
37
+ * Licensed under the Apache License, Version 2.0 (the "License");
38
+ * you may not use this file except in compliance with the License.
39
+ * You may obtain a copy of the License at
40
+ *
41
+ * http://apache.org/licenses/LICENSE-2.0
42
+ *
43
+ * Unless required by applicable law or agreed to in writing, software
44
+ * distributed under the License is distributed on an "AS IS" BASIS,
45
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
46
+ * See the License for the specific language governing permissions and
47
+ * limitations under the License.
48
+ *
49
+ * Thank you for choosing inuit.css. May your floats remain cleared.
50
+ */
51
+
52
+
53
+
54
+
55
+
56
+ /*------------------------------------*\
57
+ $CONTENTS
58
+ \*------------------------------------*/
59
+ /**
60
+ * CONTENTS............You’re reading it!
61
+ * WARNING.............Here be dragons!
62
+ * IMPORTS.............Begin importing the sections below
63
+ *
64
+ * MIXINS..............Super-simple Sass stuff
65
+ * NORMALIZE...........normalize.css
66
+ * RESET...............Set some defaults
67
+ * CLEARFIX............
68
+ * SHARED..............Shared declarations
69
+ *
70
+ * MAIN................High-level elements like `html`, `body`, etc.
71
+ * HEADINGS............Double-stranded heading hierarchy
72
+ * PARAGRAPHS..........
73
+ * SMALLPRINT..........Smaller text elements like `small`
74
+ * QUOTES..............
75
+ * CODE................
76
+ * LINKS...............
77
+ * LISTS...............
78
+ * IMAGES..............
79
+ * TABLES..............
80
+ * FORMS...............
81
+ *
82
+ * GRIDS...............Fluid, proportional and nestable grids
83
+ * FLEXBOX.............Crudely emulate flexbox
84
+ * COLUMNS.............CSS3 columns
85
+ * NAV.................A simple abstraction to put a list in horizontal nav mode
86
+ * OPTIONS.............Grouped nav items
87
+ * PAGINATION..........Very stripped back, basic paginator
88
+ * BREADCRUMB..........Simple breadcrumb trail object
89
+ * MEDIA...............Media object
90
+ * MARGINALIA..........Simple marginalia content
91
+ * ISLAND..............Boxed off content
92
+ * BLOCK-LIST..........Blocky lists of content
93
+ * MATRIX..............Gridded lists
94
+ * SPLIT...............A simple split-in-two object
95
+ * THIS-OR-THIS........Options object
96
+ * LINK-COMPLEX........
97
+ * FLYOUT..............Flyout-on-hover object
98
+ * ARROWS..............CSS arrows
99
+ * SPRITE..............Generic spriting element
100
+ * ICON-TEXT...........Icon and text couplings
101
+ * BUTTONS.............
102
+ * LOZENGES............Basic lozenge styles
103
+ * RULES...............Horizontal rules
104
+ * STATS...............Simple stats object
105
+ * GREYBOX.............Wireframing styles
106
+ * BATCH...............Batch icon font
107
+ *
108
+ * WIDTHS..............Width classes for use alongside the grid system etc.
109
+ * PUSH................Push classes for manipulating grids
110
+ * PULL................Pull classes for manipulating grids
111
+ * BRAND...............Helper class to apply brand treatment to elements
112
+ * HELPER..............A series of helper classes to use arbitrarily
113
+ * DEBUG...............Enable to add visual flags for debugging purposes
114
+ */
115
+
116
+
117
+
118
+
119
+
120
+ /*------------------------------------*\
121
+ $WARNING
122
+ \*------------------------------------*/
123
+ /*
124
+ * inuit.css, being an OO framework, works in keeping with the open/closed
125
+ * principle. The variables you set previously are now being used throughout
126
+ * inuit.css to style everything we need for a base. Any custom styles SHOULD
127
+ * NOT be added or modified in inuit.css directly, but added via your theme
128
+ * stylesheet as per the open/closed principle:
129
+ *
130
+ * csswizardry.com/2012/06/the-open-closed-principle-applied-to-css
131
+ *
132
+ * Try not to edit any CSS beyond this point; if you find you need to do so
133
+ * it is a failing of the framework so please tweet at @inuitcss.
134
+ */
135
+
136
+
137
+
138
+
139
+
140
+ /*------------------------------------*\
141
+ $IMPORTS
142
+ \*------------------------------------*/
143
+ /**
144
+ * Generic utility styles etc.
145
+ */
146
+ @import "generic/mixins";
147
+ @import "generic/normalize";
148
+ @import "generic/reset";
149
+ @import "generic/clearfix";
150
+ @import "generic/shared";
151
+
152
+
153
+ /**
154
+ * Base styles; unclassed HTML elements etc.
155
+ */
156
+ @import "base/main";
157
+ @import "base/headings";
158
+ @import "base/paragraphs";
159
+ @import "base/smallprint";
160
+ @import "base/quotes";
161
+ @import "base/code";
162
+ @import "base/links";
163
+ @import "base/images";
164
+ @import "base/lists";
165
+ @import "base/tables";
166
+ @import "base/forms";
167
+
168
+
169
+ /**
170
+ * Objects and abstractions
171
+ *
172
+ * Single-line comment (//) out any objects you do not need in your project.
173
+ */
174
+ @import "objects/grids";
175
+ @import "objects/flexbox";
176
+ @import "objects/columns";
177
+ @import "objects/nav";
178
+ @import "objects/options";
179
+ @import "objects/pagination";
180
+ @import "objects/breadcrumb";
181
+ @import "objects/media";
182
+ @import "objects/marginalia";
183
+ @import "objects/island";
184
+ @import "objects/block-list";
185
+ @import "objects/matrix";
186
+ @import "objects/split";
187
+ // @import "example/unnecessary/file";
188
+ @import "objects/this-or-this";
189
+ @import "objects/link-complex";
190
+ @import "objects/flyout";
191
+ @import "objects/arrows";
192
+ @import "objects/sprite";
193
+ @import "objects/icon-text";
194
+ @import "objects/buttons";
195
+ @import "objects/lozenges";
196
+ @import "objects/rules";
197
+ @import "objects/stats";
198
+ @import "objects/greybox";
199
+ @import "objects/batch";
200
+
201
+
202
+ /**
203
+ * Style trumps; helper and brand classes
204
+ */
205
+ @import "generic/widths";
206
+ @import "generic/push";
207
+ @import "generic/pull";
208
+ @import "generic/brand";
209
+ @import "generic/helper";
210
+ @import "generic/debug";
@@ -0,0 +1,63 @@
1
+ /*------------------------------------*\
2
+ $CODE
3
+ \*------------------------------------*/
4
+ /**
5
+ * Use an explicit font stack to ensure browsers render correct `line-height`.
6
+ */
7
+ pre{
8
+ overflow:auto;
9
+ }
10
+ pre mark{
11
+ background:none;
12
+ border-bottom:1px solid;
13
+ color:inherit;
14
+ }
15
+
16
+
17
+ /**
18
+ * Add comments to your code examples, e.g.:
19
+ *
20
+ <code>&lt;/div&gt;<span class=code-comment>&lt;!-- /wrapper --&gt;</span></code>
21
+ *
22
+ */
23
+ .code-comment{
24
+ /**
25
+ * Override this setting in your theme stylesheet
26
+ */
27
+ opacity:0.75;
28
+ filter:alpha(opacity=75);
29
+ }
30
+
31
+
32
+ /**
33
+ * You can add line numbers to your code examples but be warned, it requires
34
+ * some pretty funky looking markup, e.g.:
35
+ *
36
+ <ol class=line-numbers>
37
+ <li><code>.nav{</code></li>
38
+ <li><code> list-style:none;</code></li>
39
+ <li><code> margin-left:0;</code></li>
40
+ <li><code>}</code></li>
41
+ <li><code> .nav > li,</code></li>
42
+ <li><code> .nav > li > a{</code></li>
43
+ <li><code> display:inline-block;</code></li>
44
+ <li><code> *display:inline-block;</code></li>
45
+ <li><code> zoom:1;</code></li>
46
+ <li><code> }</code></li>
47
+ </ol>
48
+ *
49
+ * 1. Make the list look like code.
50
+ * 2. Give the list flush numbers with a leading zero.
51
+ * 3. Make sure lines of code don’t wrap.
52
+ * 4. Give the code form by forcing the `code` to honour white-space.
53
+ */
54
+ .line-numbers{
55
+ font-family:monospace, serif; /* [1] */
56
+ list-style:decimal-leading-zero inside; /* [2] */
57
+ white-space:nowrap; /* [3] */
58
+ overflow:auto; /* [3] */
59
+ margin-left:0;
60
+ }
61
+ .line-numbers code{
62
+ white-space:pre; /* [4] */
63
+ }
@@ -0,0 +1,174 @@
1
+ /*------------------------------------*\
2
+ $FORMS
3
+ \*------------------------------------*/
4
+ /**
5
+ *
6
+ * Demo: jsfiddle.net/inuitcss/MhHHU
7
+ *
8
+ */
9
+ fieldset{
10
+ padding:$base-spacing-unit;
11
+ }
12
+
13
+
14
+ /**
15
+ * Text inputs
16
+ *
17
+ * Instead of a `[type]` selector for each kind of form input, we just use a
18
+ * class to target any/every one, e.g.:
19
+ <input type=text class=text-input>
20
+ <input type=email class=text-input>
21
+ <input type=password class=text-input>
22
+ *
23
+ */
24
+ .text-input,
25
+ textarea{
26
+ /**
27
+ * Style these via your theme stylesheet.
28
+ */
29
+ }
30
+
31
+
32
+ /**
33
+ * Group sets of form fields in a list, e.g.:
34
+ *
35
+ <ul class=form-fields>
36
+ <li>
37
+ <label />
38
+ <input />
39
+ </li>
40
+ <li>
41
+ <label />
42
+ <select />
43
+ </li>
44
+ <li>
45
+ <label />
46
+ <input />
47
+ </li>
48
+ </ul>
49
+ *
50
+ */
51
+ .form-fields{
52
+ list-style:none;
53
+ margin:0;
54
+ }
55
+ .form-fields > li{
56
+ @extend %sass-margin-bottom;
57
+ }
58
+ .form-fields > li:last-child{
59
+ margin-bottom:0;
60
+ }
61
+
62
+
63
+ /**
64
+ * Labels
65
+ *
66
+ * Define a `.label` class as well as a `label` element. This means we can apply
67
+ * label-like styling to meta-labels for groups of options where a `label`
68
+ * element is not suitable, e.g.:
69
+ *
70
+ <li>
71
+ <span class=label>Select an option below:</span>
72
+ <ul class="multi-list four-cols">
73
+ <li>
74
+ <input /> <label />
75
+ </li>
76
+ <li>
77
+ <input /> <label />
78
+ </li>
79
+ <li>
80
+ <input /> <label />
81
+ </li>
82
+ <li>
83
+ <input /> <label />
84
+ </li>
85
+ </ul>
86
+ </li>
87
+ *
88
+ */
89
+ label,
90
+ .label{
91
+ display:block;
92
+ }
93
+ /**
94
+ * Extra help text in `label`s, e.g.:
95
+ *
96
+ <label>Card number <small class=additional>No spaces</small></label>
97
+ *
98
+ */
99
+ .additional{
100
+ display:block;
101
+ font-weight:normal;
102
+ }
103
+
104
+
105
+ /*
106
+ * Groups of checkboxes and radios, e.g.:
107
+ *
108
+ <li>
109
+ <ul class=check-list>
110
+ <li>
111
+ <input /> <label />
112
+ </li>
113
+ <li>
114
+ <input /> <label />
115
+ </li>
116
+ </ul>
117
+ </li>
118
+ *
119
+ */
120
+ .check-list{
121
+ list-style:none;
122
+ margin:0;
123
+ }
124
+ /*
125
+ * Labels in check-lists
126
+ */
127
+ .check-label,
128
+ .check-list label,
129
+ .check-list .label{
130
+ display:inline-block;
131
+ }
132
+
133
+
134
+ /**
135
+ * Spoken forms are for forms that read like spoken word, e.g.:
136
+ *
137
+ <li class=spoken-form>
138
+ Hello, my <label for=spoken-name>name</label> is
139
+ <input type=text class=text-input id=spoken-name>. My home
140
+ <label for=country>country</label> is
141
+ <select id=country>
142
+ <option>UK</option>
143
+ <option>US</option>
144
+ <option>Other</option>
145
+ </select>
146
+ </li>
147
+ *
148
+ */
149
+ .spoken-form label{
150
+ display:inline-block;
151
+ font:inherit;
152
+ }
153
+
154
+
155
+ /**
156
+ * Extra help text displayed after a field when that field is in focus, e.g.:
157
+ *
158
+ <label for=email>Email:</label>
159
+ <input type=email class=text-input id=email>
160
+ <small class=extra-help>.edu emails only</small>
161
+ *
162
+ * We leave the help text in the document flow and merely set it to
163
+ * `visibility:hidden;`. This means that it won’t interfere with anything once
164
+ * it reappears.
165
+ *
166
+ */
167
+ /*small*/.extra-help{
168
+ display:inline-block;
169
+ visibility:hidden;
170
+ }
171
+ .text-input:active + .extra-help,
172
+ .text-input:focus + .extra-help{
173
+ visibility:visible;
174
+ }