modularis 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/demo/test/config.rb +26 -0
- data/lib/modularis/generators/install_generator.rb +1 -1
- data/lib/modularis/version.rb +1 -1
- data/templates/project/config.rb +32 -9
- metadata +3 -40
- data/scss/compagecss/components/_alert-boxes.scss +0 -106
- data/scss/compagecss/components/_block-grid.scss +0 -70
- data/scss/compagecss/components/_breadcrumbs.scss +0 -124
- data/scss/compagecss/components/_button-groups.scss +0 -88
- data/scss/compagecss/components/_buttons.scss +0 -226
- data/scss/compagecss/components/_clearing.scss +0 -217
- data/scss/compagecss/components/_custom-forms.scss +0 -246
- data/scss/compagecss/components/_dropdown-buttons.scss +0 -114
- data/scss/compagecss/components/_dropdown.scss +0 -149
- data/scss/compagecss/components/_flex-video.scss +0 -45
- data/scss/compagecss/components/_flexbox-grid.scss +0 -225
- data/scss/compagecss/components/_flip.scss +0 -105
- data/scss/compagecss/components/_forms.scss +0 -361
- data/scss/compagecss/components/_global.scss +0 -289
- data/scss/compagecss/components/_grid.scss +0 -184
- data/scss/compagecss/components/_inline-lists.scss +0 -52
- data/scss/compagecss/components/_joyride.scss +0 -210
- data/scss/compagecss/components/_keystrokes.scss +0 -56
- data/scss/compagecss/components/_labels.scss +0 -84
- data/scss/compagecss/components/_magellan.scss +0 -21
- data/scss/compagecss/components/_off-canvas.scss +0 -86
- data/scss/compagecss/components/_orbit.scss +0 -209
- data/scss/compagecss/components/_pagination.scss +0 -99
- data/scss/compagecss/components/_panels.scss +0 -76
- data/scss/compagecss/components/_pricing-tables.scss +0 -130
- data/scss/compagecss/components/_progress-bars.scss +0 -70
- data/scss/compagecss/components/_reveal.scss +0 -131
- data/scss/compagecss/components/_section.scss +0 -303
- data/scss/compagecss/components/_side-nav.scss +0 -68
- data/scss/compagecss/components/_split-buttons.scss +0 -166
- data/scss/compagecss/components/_sub-nav.scss +0 -67
- data/scss/compagecss/components/_switch.scss +0 -249
- data/scss/compagecss/components/_tables.scss +0 -80
- data/scss/compagecss/components/_thumbs.scss +0 -47
- data/scss/compagecss/components/_tooltips.scss +0 -113
- data/scss/compagecss/components/_top-bar.scss +0 -462
- data/scss/compagecss/components/_type.scss +0 -422
- data/scss/compagecss/components/_visibility.scss +0 -320
- /data/scss/compagecss/{_variables.scss → _settings.scss} +0 -0
@@ -1,422 +0,0 @@
|
|
1
|
-
//
|
2
|
-
// Typography Variables
|
3
|
-
//
|
4
|
-
|
5
|
-
// We use these to control header font styles
|
6
|
-
$header-font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif !default;
|
7
|
-
$header-font-weight: bold !default;
|
8
|
-
$header-font-style: normal !default;
|
9
|
-
$header-font-color: #222 !default;
|
10
|
-
$header-line-height: 1.4 !default;
|
11
|
-
$header-top-margin: .2em !default;
|
12
|
-
$header-bottom-margin: .5em !default;
|
13
|
-
$header-text-rendering: optimizeLegibility !default;
|
14
|
-
|
15
|
-
// We use these to control header font sizes
|
16
|
-
$h1-font-size: emCalc(44px) !default;
|
17
|
-
$h2-font-size: emCalc(37px) !default;
|
18
|
-
$h3-font-size: emCalc(27px) !default;
|
19
|
-
$h4-font-size: emCalc(23px) !default;
|
20
|
-
$h5-font-size: emCalc(18px) !default;
|
21
|
-
$h6-font-size: 1em !default;
|
22
|
-
|
23
|
-
// These control how subheaders are styled.
|
24
|
-
$subheader-line-height: 1.4 !default;
|
25
|
-
$subheader-font-color: lighten($header-font-color, 30%) !default;
|
26
|
-
$subheader-font-weight: 300 !default;
|
27
|
-
$subheader-top-margin: .2em !default;
|
28
|
-
$subheader-bottom-margin: .5em !default;
|
29
|
-
|
30
|
-
// A general <small> styling
|
31
|
-
$small-font-size: 60% !default;
|
32
|
-
$small-font-color: lighten($header-font-color, 30%) !default;
|
33
|
-
|
34
|
-
// We use these to style paragraphs
|
35
|
-
$paragraph-font-family: inherit !default;
|
36
|
-
$paragraph-font-weight: normal !default;
|
37
|
-
$paragraph-font-size: 1em !default;
|
38
|
-
$paragraph-line-height: 1.6 !default;
|
39
|
-
$paragraph-margin-bottom: emCalc(20px) !default;
|
40
|
-
$paragraph-aside-font-size: emCalc(14px) !default;
|
41
|
-
$paragraph-aside-line-height: 1.35 !default;
|
42
|
-
$paragraph-aside-font-style: italic !default;
|
43
|
-
$paragraph-text-rendering: optimizeLegibility !default;
|
44
|
-
|
45
|
-
// We use these to style <code> tags
|
46
|
-
$code-color: darken($alert-color, 15%) !default;
|
47
|
-
$code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
|
48
|
-
$code-font-weight: bold !default;
|
49
|
-
|
50
|
-
// We use these to style anchors
|
51
|
-
$anchor-text-decoration: none !default;
|
52
|
-
$anchor-font-color: $primary-color !default;
|
53
|
-
$anchor-font-color-hover: darken($primary-color, 5%) !default;
|
54
|
-
|
55
|
-
// We use these to style the <hr> element
|
56
|
-
$hr-border-width: 1px !default;
|
57
|
-
$hr-border-style: solid !default;
|
58
|
-
$hr-border-color: #ddd !default;
|
59
|
-
$hr-margin: emCalc(20px) !default;
|
60
|
-
|
61
|
-
// We use these to style lists
|
62
|
-
$list-style-position: outside !default;
|
63
|
-
$list-side-margin: emCalc(20px) !default;
|
64
|
-
$definition-list-header-weight: bold !default;
|
65
|
-
$definition-list-header-margin-bottom: .3em !default;
|
66
|
-
$definition-list-margin-bottom: emCalc(12px) !default;
|
67
|
-
|
68
|
-
// We use these to style blockquotes
|
69
|
-
$blockquote-font-color: lighten($header-font-color, 30%) !default;
|
70
|
-
$blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px) !default;
|
71
|
-
$blockquote-border: 1px solid #ddd !default;
|
72
|
-
$blockquote-cite-font-size: emCalc(13px) !default;
|
73
|
-
$blockquote-cite-font-color: lighten($header-font-color, 20%) !default;
|
74
|
-
$blockquote-cite-link-color: $blockquote-cite-font-color !default;
|
75
|
-
|
76
|
-
// Acronym styles
|
77
|
-
$acronym-underline: 1px dotted #ddd !default;
|
78
|
-
|
79
|
-
// We use these to control padding and margin
|
80
|
-
$microformat-padding: emCalc(10px) emCalc(12px) !default;
|
81
|
-
$microformat-margin: 0 0 emCalc(20px) 0 !default;
|
82
|
-
|
83
|
-
// We use these to control the border styles
|
84
|
-
$microformat-border-width: 1px !default;
|
85
|
-
$microformat-border-style: solid !default;
|
86
|
-
$microformat-border-color: #ddd !default;
|
87
|
-
|
88
|
-
// We use these to control full name font styles
|
89
|
-
$microformat-fullname-font-weight: bold !default;
|
90
|
-
$microformat-fullname-font-size: emCalc(15px) !default;
|
91
|
-
|
92
|
-
// We use this to control the summary font styles
|
93
|
-
$microformat-summary-font-weight: bold !default;
|
94
|
-
|
95
|
-
// We use this to control abbr padding
|
96
|
-
$microformat-abbr-padding: 0 emCalc(1px) !default;
|
97
|
-
|
98
|
-
// We use this to control abbr font styles
|
99
|
-
$microformat-abbr-font-weight: bold !default;
|
100
|
-
$microformat-abbr-font-decoration: none !default;
|
101
|
-
|
102
|
-
|
103
|
-
//
|
104
|
-
// Typography Placeholders
|
105
|
-
//
|
106
|
-
%lead {
|
107
|
-
font-size: $paragraph-font-size + emCalc(3.5px);
|
108
|
-
line-height: 1.6;
|
109
|
-
}
|
110
|
-
|
111
|
-
%subheader {
|
112
|
-
line-height: $subheader-line-height;
|
113
|
-
color: $subheader-font-color;
|
114
|
-
font-weight: $subheader-font-weight;
|
115
|
-
margin-top: $subheader-top-margin;
|
116
|
-
margin-bottom: $subheader-bottom-margin;
|
117
|
-
}
|
118
|
-
|
119
|
-
|
120
|
-
/* Typography resets */
|
121
|
-
div,
|
122
|
-
dl,
|
123
|
-
dt,
|
124
|
-
dd,
|
125
|
-
ul,
|
126
|
-
ol,
|
127
|
-
li,
|
128
|
-
h1,
|
129
|
-
h2,
|
130
|
-
h3,
|
131
|
-
h4,
|
132
|
-
h5,
|
133
|
-
h6,
|
134
|
-
pre,
|
135
|
-
form,
|
136
|
-
p,
|
137
|
-
blockquote,
|
138
|
-
th,
|
139
|
-
td {
|
140
|
-
margin:0;
|
141
|
-
padding:0;
|
142
|
-
direction: $text-direction;
|
143
|
-
}
|
144
|
-
|
145
|
-
/* Default Link Styles */
|
146
|
-
a {
|
147
|
-
color: $anchor-font-color;
|
148
|
-
text-decoration: $anchor-text-decoration;
|
149
|
-
line-height: inherit;
|
150
|
-
|
151
|
-
&:hover,
|
152
|
-
&:focus { color: $anchor-font-color-hover; }
|
153
|
-
|
154
|
-
img { border:none; }
|
155
|
-
}
|
156
|
-
|
157
|
-
/* Default paragraph styles */
|
158
|
-
p {
|
159
|
-
font-family: $paragraph-font-family;
|
160
|
-
font-weight: $paragraph-font-weight;
|
161
|
-
font-size: $paragraph-font-size;
|
162
|
-
line-height: $paragraph-line-height;
|
163
|
-
margin-bottom: $paragraph-margin-bottom;
|
164
|
-
text-rendering: $paragraph-text-rendering;
|
165
|
-
|
166
|
-
&.lead { @extend %lead; }
|
167
|
-
|
168
|
-
& aside {
|
169
|
-
font-size: $paragraph-aside-font-size;
|
170
|
-
line-height: $paragraph-aside-line-height;
|
171
|
-
font-style: $paragraph-aside-font-style;
|
172
|
-
}
|
173
|
-
}
|
174
|
-
|
175
|
-
/* Default header styles */
|
176
|
-
h1, h2, h3, h4, h5, h6 {
|
177
|
-
font-family: $header-font-family;
|
178
|
-
font-weight: $header-font-weight;
|
179
|
-
font-style: $header-font-style;
|
180
|
-
color: $header-font-color;
|
181
|
-
text-rendering: $header-text-rendering;
|
182
|
-
margin-top: $header-top-margin;
|
183
|
-
margin-bottom: $header-bottom-margin;
|
184
|
-
line-height: $header-line-height - emCalc(3px);
|
185
|
-
|
186
|
-
small {
|
187
|
-
font-size: $small-font-size;
|
188
|
-
color: $small-font-color;
|
189
|
-
line-height: 0;
|
190
|
-
}
|
191
|
-
}
|
192
|
-
|
193
|
-
h1 { font-size: $h1-font-size - emCalc(10px); }
|
194
|
-
h2 { font-size: $h2-font-size - emCalc(10px); }
|
195
|
-
h3 { font-size: $h3-font-size - emCalc(5px); }
|
196
|
-
h4 { font-size: $h4-font-size - emCalc(5px); }
|
197
|
-
h5 { font-size: $h5-font-size; }
|
198
|
-
h6 { font-size: $h6-font-size; }
|
199
|
-
|
200
|
-
.subheader { @extend %subheader; }
|
201
|
-
|
202
|
-
hr {
|
203
|
-
border: $hr-border-style $hr-border-color;
|
204
|
-
border-width: $hr-border-width 0 0;
|
205
|
-
clear: both;
|
206
|
-
margin: $hr-margin 0 ($hr-margin - emCalc(1px));
|
207
|
-
height: 0;
|
208
|
-
}
|
209
|
-
|
210
|
-
/* Helpful Typography Defaults */
|
211
|
-
em,
|
212
|
-
i {
|
213
|
-
font-style: italic;
|
214
|
-
line-height: inherit;
|
215
|
-
}
|
216
|
-
|
217
|
-
strong,
|
218
|
-
b {
|
219
|
-
font-weight: bold;
|
220
|
-
line-height: inherit;
|
221
|
-
}
|
222
|
-
|
223
|
-
small {
|
224
|
-
font-size: $small-font-size;
|
225
|
-
line-height: inherit;
|
226
|
-
}
|
227
|
-
|
228
|
-
code {
|
229
|
-
font-family: $code-font-family;
|
230
|
-
font-weight: $code-font-weight;
|
231
|
-
color: $code-color;
|
232
|
-
}
|
233
|
-
|
234
|
-
/* Lists */
|
235
|
-
ul,
|
236
|
-
ol,
|
237
|
-
dl {
|
238
|
-
font-size: $paragraph-font-size;
|
239
|
-
line-height: $paragraph-line-height;
|
240
|
-
margin-bottom: $paragraph-margin-bottom;
|
241
|
-
list-style-position: $list-style-position;
|
242
|
-
font-family: $paragraph-font-family;
|
243
|
-
}
|
244
|
-
|
245
|
-
/* Unordered Lists */
|
246
|
-
ul {
|
247
|
-
li {
|
248
|
-
ul,
|
249
|
-
ol {
|
250
|
-
margin-#{$default-float}: $list-side-margin;
|
251
|
-
margin-bottom: 0;
|
252
|
-
font-size: 1em; /* Override nested font-size change */
|
253
|
-
}
|
254
|
-
}
|
255
|
-
&.square,
|
256
|
-
&.circle,
|
257
|
-
&.disc {
|
258
|
-
li ul { list-style: inherit; }
|
259
|
-
}
|
260
|
-
|
261
|
-
&.square { list-style-type: square; }
|
262
|
-
&.circle { list-style-type: circle; }
|
263
|
-
&.disc { list-style-type: disc; }
|
264
|
-
&.no-bullet { list-style: none; }
|
265
|
-
}
|
266
|
-
|
267
|
-
/* Ordered Lists */
|
268
|
-
ol {
|
269
|
-
li {
|
270
|
-
ul,
|
271
|
-
ol {
|
272
|
-
margin-#{$default-float}: $list-side-margin;
|
273
|
-
margin-bottom: 0;
|
274
|
-
}
|
275
|
-
}
|
276
|
-
}
|
277
|
-
|
278
|
-
/* Definition Lists */
|
279
|
-
dl {
|
280
|
-
dt {
|
281
|
-
margin-bottom: $definition-list-header-margin-bottom;
|
282
|
-
font-weight: $definition-list-header-weight;
|
283
|
-
}
|
284
|
-
dd { margin-bottom: $definition-list-margin-bottom; }
|
285
|
-
}
|
286
|
-
|
287
|
-
/* Abbreviations */
|
288
|
-
abbr,
|
289
|
-
acronym {
|
290
|
-
text-transform: uppercase;
|
291
|
-
font-size: 90%;
|
292
|
-
color: $body-font-color;
|
293
|
-
border-bottom: $acronym-underline;
|
294
|
-
cursor: help;
|
295
|
-
}
|
296
|
-
abbr {
|
297
|
-
text-transform: none;
|
298
|
-
}
|
299
|
-
|
300
|
-
/* Blockquotes */
|
301
|
-
blockquote {
|
302
|
-
margin: 0 0 $paragraph-margin-bottom;
|
303
|
-
padding: $blockquote-padding;
|
304
|
-
border-#{$default-float}: $blockquote-border;
|
305
|
-
|
306
|
-
cite {
|
307
|
-
display: block;
|
308
|
-
font-size: $blockquote-cite-font-size;
|
309
|
-
color: $blockquote-cite-font-color;
|
310
|
-
&:before {
|
311
|
-
content: "\2014 \0020";
|
312
|
-
}
|
313
|
-
|
314
|
-
a,
|
315
|
-
a:visited {
|
316
|
-
color: $blockquote-cite-link-color;
|
317
|
-
}
|
318
|
-
}
|
319
|
-
}
|
320
|
-
blockquote,
|
321
|
-
blockquote p {
|
322
|
-
line-height: $paragraph-line-height;
|
323
|
-
color: $blockquote-font-color;
|
324
|
-
}
|
325
|
-
|
326
|
-
/* Microformats */
|
327
|
-
.vcard {
|
328
|
-
display: inline-block;
|
329
|
-
margin: $microformat-margin;
|
330
|
-
border: $microformat-border-width $microformat-border-style $microformat-border-color;
|
331
|
-
padding: $microformat-padding;
|
332
|
-
|
333
|
-
li {
|
334
|
-
margin: 0;
|
335
|
-
display: block;
|
336
|
-
}
|
337
|
-
.fn {
|
338
|
-
font-weight: $microformat-fullname-font-weight;
|
339
|
-
font-size: $microformat-fullname-font-size;
|
340
|
-
}
|
341
|
-
}
|
342
|
-
|
343
|
-
.vevent {
|
344
|
-
.summary { font-weight: $microformat-summary-font-weight; }
|
345
|
-
|
346
|
-
abbr {
|
347
|
-
cursor: default;
|
348
|
-
text-decoration: $microformat-abbr-font-decoration;
|
349
|
-
font-weight: $microformat-abbr-font-weight;
|
350
|
-
border: none;
|
351
|
-
padding: $microformat-abbr-padding;
|
352
|
-
}
|
353
|
-
}
|
354
|
-
|
355
|
-
|
356
|
-
@media #{$small} {
|
357
|
-
h1,h2,h3,h4,h5,h6 { line-height: $header-line-height; }
|
358
|
-
h1 { font-size: $h1-font-size; }
|
359
|
-
h2 { font-size: $h2-font-size; }
|
360
|
-
h3 { font-size: $h3-font-size; }
|
361
|
-
h4 { font-size: $h4-font-size; }
|
362
|
-
}
|
363
|
-
|
364
|
-
// Only include these styles if you want them.
|
365
|
-
@if $include-print-styles {
|
366
|
-
/*
|
367
|
-
* Print styles.
|
368
|
-
*
|
369
|
-
* Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
|
370
|
-
* Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
|
371
|
-
*/
|
372
|
-
.print-only { display: none !important; }
|
373
|
-
@media print {
|
374
|
-
* {
|
375
|
-
background: transparent !important;
|
376
|
-
color: #000 !important; /* Black prints faster: h5bp.com/s */
|
377
|
-
box-shadow: none !important;
|
378
|
-
text-shadow: none !important;
|
379
|
-
}
|
380
|
-
|
381
|
-
a,
|
382
|
-
a:visited { text-decoration: underline;}
|
383
|
-
a[href]:after { content: " (" attr(href) ")"; }
|
384
|
-
|
385
|
-
abbr[title]:after { content: " (" attr(title) ")"; }
|
386
|
-
|
387
|
-
// Don't show links for images, or javascript/internal links
|
388
|
-
.ir a:after,
|
389
|
-
a[href^="javascript:"]:after,
|
390
|
-
a[href^="#"]:after { content: ""; }
|
391
|
-
|
392
|
-
pre,
|
393
|
-
blockquote {
|
394
|
-
border: 1px solid #999;
|
395
|
-
page-break-inside: avoid;
|
396
|
-
}
|
397
|
-
|
398
|
-
thead { display: table-header-group; /* h5bp.com/t */ }
|
399
|
-
|
400
|
-
tr,
|
401
|
-
img { page-break-inside: avoid; }
|
402
|
-
|
403
|
-
img { max-width: 100% !important; }
|
404
|
-
|
405
|
-
@page { margin: 0.5cm; }
|
406
|
-
|
407
|
-
p,
|
408
|
-
h2,
|
409
|
-
h3 {
|
410
|
-
orphans: 3;
|
411
|
-
widows: 3;
|
412
|
-
}
|
413
|
-
|
414
|
-
h2,
|
415
|
-
h3 { page-break-after: avoid; }
|
416
|
-
|
417
|
-
.hide-on-print { display: none !important; }
|
418
|
-
.print-only { display: block !important; }
|
419
|
-
.hide-for-print { display: none !important; }
|
420
|
-
.show-for-print { display: inherit !important; }
|
421
|
-
}
|
422
|
-
}
|