flutie 1.1.8 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -9
- data/app/views/flutie/styleguides/show.erb +6 -18
- data/app/views/layouts/flutie.erb +26 -9
- data/lib/tasks/flutie.rake +2 -2
- data/public/stylesheets/flutie.css +76 -81
- data/public/stylesheets/sass/{_defaults.scss → flutie/_defaults.scss} +9 -8
- data/public/stylesheets/sass/{_forms.scss → flutie/_forms.scss} +22 -26
- data/public/stylesheets/sass/{_lists.scss → flutie/_lists.scss} +5 -5
- data/public/stylesheets/sass/flutie/_reset.scss +102 -0
- data/public/stylesheets/sass/{_screen.scss → flutie/_screen.scss} +0 -0
- data/public/stylesheets/sass/{_tables.scss → flutie/_tables.scss} +2 -2
- data/public/stylesheets/sass/{_type.scss → flutie/_type.scss} +25 -34
- data/public/stylesheets/sass/flutie/flutie.scss +10 -0
- metadata +24 -34
- data/config/initializers/sass.rb +0 -3
- data/public/stylesheets/sass/_border-radius.scss +0 -5
- data/public/stylesheets/sass/_box-shadow.scss +0 -35
- data/public/stylesheets/sass/_box-sizing.scss +0 -7
- data/public/stylesheets/sass/_inline-block.scss +0 -10
- data/public/stylesheets/sass/_linear-gradient.scss +0 -5
- data/public/stylesheets/sass/_reset.scss +0 -54
- data/public/stylesheets/sass/_transition.scss +0 -6
- data/public/stylesheets/sass/flutie.scss +0 -13
data/README.md
CHANGED
@@ -10,13 +10,13 @@ Flutie is a Rails engine. It works with versions of Rails greater than 3.0.
|
|
10
10
|
|
11
11
|
Flutie is recommended to be run as a gem and included in your Gemfile:
|
12
12
|
|
13
|
-
gem "flutie"
|
13
|
+
gem "flutie"
|
14
14
|
|
15
15
|
After you've bundled, run the installer:
|
16
16
|
|
17
17
|
rake flutie:install
|
18
18
|
|
19
|
-
The installer will copy the Flutie stylesheets into public/flutie/stylesheets
|
19
|
+
The installer will copy the Flutie stylesheets sass into public/stylesheets/sass/flutie, and a static flutie.css into public/stylesheets/ in your app.
|
20
20
|
|
21
21
|
Once Flutie is installed, with your application running (not in production environment) you can browse to /styleguides. This will present you with many standard markup elements that are present in a Rails application, in your default application layout.
|
22
22
|
|
@@ -35,12 +35,16 @@ bc. <%= stylesheet_link_tag :flutie, 'admin', :cache => true %>
|
|
35
35
|
|
36
36
|
### Sass
|
37
37
|
|
38
|
-
If you use Sass in your application, the flutie stylesheets are also available as scss files, installed in public/
|
38
|
+
If you use Sass in your application, the flutie stylesheets are also available as scss files, installed in public/stylesheets/sass/flutie. These files can be imported into your own sass files for use with the following:
|
39
39
|
|
40
|
-
@import "flutie";
|
40
|
+
@import "flutie/flutie";
|
41
41
|
|
42
42
|
You'll want to import flutie before any of your own styles so that you can do things like extend your classes with flutie classes.
|
43
43
|
|
44
|
+
We have a [Sass-Mixins repository](https://github.com/thoughtbot/sass-mixins) available, which extends flutie with sass mixins.
|
45
|
+
|
46
|
+
You should either add that repository as a git submodule in your project, or find some other way to copy the files into sass's load path.
|
47
|
+
|
44
48
|
### Custom Styles
|
45
49
|
|
46
50
|
To add custom styles to the styleguide add partials to the app/views/styleguides directory. For example:
|
@@ -51,9 +55,7 @@ To add custom styles to the styleguide add partials to the app/views/styleguides
|
|
51
55
|
<li class="todo">This is a todo item</li>
|
52
56
|
</ol>
|
53
57
|
|
54
|
-
Plugin authors can also add to the styleguide by ensuring that their view path
|
55
|
-
is in ActionController::Base.view_paths and by placing a partial under the
|
56
|
-
styleguides directory. For example:
|
58
|
+
Plugin authors can also add to the styleguide by ensuring that their view path is in ActionController::Base.view_paths and by placing a partial under the styleguides directory. For example:
|
57
59
|
|
58
60
|
ActionController::Base.append_view_path(File.join(File.dirname(__FILE__), 'views'))
|
59
61
|
|
@@ -72,10 +74,10 @@ Fork away and create a "Github Issue":http://github.com/thoughtbot/flutie/issues
|
|
72
74
|
Development
|
73
75
|
-----------
|
74
76
|
|
75
|
-
The actual stylesheet source files are sass, so edit the files in public/stylesheets/sass.
|
77
|
+
The actual stylesheet source files are sass, so edit the files in public/stylesheets/sass/flutie.
|
76
78
|
To rebuild the normal scss run:
|
77
79
|
|
78
|
-
sass -C --update public/stylesheets/sass:public/stylesheets
|
80
|
+
sass -C --update public/stylesheets/sass/flutie:public/stylesheets
|
79
81
|
|
80
82
|
You can run a server which will allow you to view the flutie styleguide locally:
|
81
83
|
|
@@ -1,12 +1,4 @@
|
|
1
1
|
<div>
|
2
|
-
<div style="padding: 15px; text-align: right;">
|
3
|
-
<% if params[:flutie] %>
|
4
|
-
<a href="?flutie=false">Application Styles</a>
|
5
|
-
<% else %>
|
6
|
-
<a href="?flutie=true">Default Styles</a>
|
7
|
-
<% end %>
|
8
|
-
</div>
|
9
|
-
|
10
2
|
<h1>This is an example page of our basic styles</h1>
|
11
3
|
<h2>This is an h2 level heading</h2>
|
12
4
|
|
@@ -16,14 +8,12 @@
|
|
16
8
|
|
17
9
|
<blockquote>
|
18
10
|
<p>Blockquoted text. Not too long ago, two friends of mine were talking to a Cuban refugee, a businessman who had escaped from Castro, and in the midst of his story one of my friends turned to the other and said, "We don't know how lucky we are." And the Cuban stopped and said, "How lucky you are? I had someplace to escape to." And in that sentence he told us the entire story. If we lose freedom here, there's no place to escape to. This is the last stand on earth.</p>
|
19
|
-
</blockquote>
|
11
|
+
</blockquote>
|
20
12
|
|
21
13
|
<h3>This is an h3 level heading</h3>
|
22
14
|
<p>Senator Humphrey last week charged that Barry Goldwater, as President, would seek to eliminate farmers. He should do his homework a little better, because he'll find out that we've had a decline of 5 million in the farm population under these government programs. He'll also find that the Democratic administration has sought to get from Congress [an] extension of the farm program to include that three-fourths that is now free. He'll find that they've also asked for the right to imprison farmers who wouldn't keep books as prescribed by the federal government. The Secretary of Agriculture asked for the right to seize farms through condemnation and resell them to other individuals. And contained in that same program was a provision that would have allowed the federal government to remove 2 million farmers from the soil.</p>
|
23
15
|
|
24
|
-
<br />
|
25
16
|
<hr />
|
26
|
-
<br />
|
27
17
|
|
28
18
|
<h1>This is an h1 heading</h1>
|
29
19
|
<h2>This is an h2 heading</h2>
|
@@ -32,9 +22,7 @@
|
|
32
22
|
<h5>This is an h5 heading</h5>
|
33
23
|
<h6>This is an h6 heading</h6>
|
34
24
|
|
35
|
-
<br />
|
36
25
|
<hr />
|
37
|
-
<br />
|
38
26
|
|
39
27
|
<h1>This is an h1 heading. It's extremely long and will undoubtedly wrap on a line or two by the time it's completely and utterly finished in ultimate perpetuity.</h1>
|
40
28
|
<p>And this is some text in a paragraph below it. Looks good. To understand what is really going on in a colony of ants or bees, Dr. Dornhaus, an assistant professor of ecology and evolutionary biology at the University of Arizona, tracks the little creatures individually — hence the paint and the numbers. Individual ants, she said, have “their own brains and legs, as well as complex and flexible behaviors.” She continues, “Each ant’s behavior and the rules under which it operates generate a pattern for the colony, so it’s crucial to discover its individual cognitive skill.”</p>
|
@@ -98,7 +86,7 @@
|
|
98
86
|
<dt>definition list dt</dt>
|
99
87
|
<dd>definition list dd one</dd>
|
100
88
|
<dd>definition list dd two</dd>
|
101
|
-
</dl>
|
89
|
+
</dl>
|
102
90
|
|
103
91
|
|
104
92
|
|
@@ -616,7 +604,7 @@
|
|
616
604
|
</div>
|
617
605
|
<div class="notice">
|
618
606
|
This is a <div> with the class <strong>.notice</strong>.
|
619
|
-
</div>
|
607
|
+
</div>
|
620
608
|
<div class="success">
|
621
609
|
This is a <div> with the class <strong>.success</strong>.
|
622
610
|
</div>
|
@@ -724,10 +712,10 @@ end</code></pre>
|
|
724
712
|
|
725
713
|
<tt><tt>
|
726
714
|
This tt text should be monospaced
|
727
|
-
and
|
728
|
-
wrap as if
|
715
|
+
and
|
716
|
+
wrap as if
|
729
717
|
one line of text
|
730
|
-
even though the code has newlines, spaces, and tabs.
|
718
|
+
even though the code has newlines, spaces, and tabs.
|
731
719
|
It should be the same size as <p> text.
|
732
720
|
</tt>
|
733
721
|
|
@@ -1,28 +1,45 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
4
3
|
<head>
|
5
|
-
<meta
|
4
|
+
<meta charset="utf-8" />
|
6
5
|
<%= stylesheet_link_tag :flutie %>
|
7
6
|
<title>Flutie v1</title>
|
8
7
|
|
9
8
|
<style type="text/css">
|
10
|
-
/*
|
9
|
+
/* Styleguide-specific styles */
|
10
|
+
body {
|
11
|
+
background-color: #dadada;
|
12
|
+
}
|
13
|
+
|
14
|
+
.switcher {
|
15
|
+
margin: 30px auto 0;
|
16
|
+
text-align: right;
|
17
|
+
width: 880px;
|
18
|
+
}
|
11
19
|
|
12
|
-
body { background-color: #dadada;}
|
13
20
|
.content {
|
14
21
|
background: #fff;
|
22
|
+
-webkit-border-radius: 10px;
|
23
|
+
-moz-border-radius: 10px;
|
24
|
+
border-radius: 10px;
|
25
|
+
margin: 30px auto;
|
15
26
|
padding: 40px;
|
16
|
-
margin: 40px auto;
|
17
27
|
width: 880px;
|
18
|
-
-moz-border-radius: 24px;
|
19
|
-
-webkit-border-radius: 24px;
|
20
28
|
}
|
21
29
|
</style>
|
22
30
|
|
23
31
|
</head>
|
24
32
|
|
25
33
|
<body>
|
34
|
+
|
35
|
+
<div class="switcher">
|
36
|
+
<% if params[:flutie] %>
|
37
|
+
<a href="?flutie=false">Application Styles</a>
|
38
|
+
<% else %>
|
39
|
+
<a href="?flutie=true">Default Styles</a>
|
40
|
+
<% end %>
|
41
|
+
</div>
|
42
|
+
|
26
43
|
<div class="content">
|
27
44
|
<%= yield %>
|
28
45
|
</div>
|
data/lib/tasks/flutie.rake
CHANGED
@@ -11,7 +11,7 @@ directory = File.dirname(__FILE__)
|
|
11
11
|
namespace :flutie do
|
12
12
|
desc 'install flutie stylesheets into public/ directory'
|
13
13
|
task :install => :environment do
|
14
|
-
# Copy the flutie stylesheets into rails_root/public/
|
15
|
-
copy_files("../../public/stylesheets", "/public
|
14
|
+
# Copy the flutie stylesheets into rails_root/public/stylesheets/sass
|
15
|
+
copy_files("../../public/stylesheets", "/public", directory)
|
16
16
|
end
|
17
17
|
end
|
@@ -1,7 +1,9 @@
|
|
1
1
|
/*
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
html5doctor.com Reset Stylesheet
|
3
|
+
v1.6.1
|
4
|
+
Last Updated: 2010-09-17
|
5
|
+
Author: Richard Clark - http://richclarkdesign.com
|
6
|
+
Twitter: @rich_clark
|
5
7
|
*/
|
6
8
|
html, body, div, span, object, iframe,
|
7
9
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
@@ -23,6 +25,9 @@ time, mark, audio, video {
|
|
23
25
|
vertical-align: baseline;
|
24
26
|
background: transparent; }
|
25
27
|
|
28
|
+
body {
|
29
|
+
line-height: 1; }
|
30
|
+
|
26
31
|
article, aside, details, figcaption, figure,
|
27
32
|
footer, header, hgroup, menu, nav, section {
|
28
33
|
display: block; }
|
@@ -45,11 +50,13 @@ a {
|
|
45
50
|
vertical-align: baseline;
|
46
51
|
background: transparent; }
|
47
52
|
|
53
|
+
/* change colours to suit your needs */
|
48
54
|
ins {
|
49
55
|
background-color: #ff9;
|
50
56
|
color: #000;
|
51
57
|
text-decoration: none; }
|
52
58
|
|
59
|
+
/* change colours to suit your needs */
|
53
60
|
mark {
|
54
61
|
background-color: #ff9;
|
55
62
|
color: #000;
|
@@ -60,30 +67,27 @@ del {
|
|
60
67
|
text-decoration: line-through; }
|
61
68
|
|
62
69
|
abbr[title], dfn[title] {
|
70
|
+
border-bottom: 1px dotted;
|
63
71
|
cursor: help; }
|
64
72
|
|
65
|
-
/* tables still need cellspacing="0" in the markup */
|
66
73
|
table {
|
67
74
|
border-collapse: collapse;
|
68
75
|
border-spacing: 0; }
|
69
76
|
|
77
|
+
/* change border colour to suit your needs */
|
70
78
|
hr {
|
71
79
|
display: block;
|
72
80
|
height: 1px;
|
73
81
|
border: 0;
|
74
|
-
border-top: 1px solid #
|
82
|
+
border-top: 1px solid #cccccc;
|
75
83
|
margin: 1em 0;
|
76
84
|
padding: 0; }
|
77
85
|
|
78
86
|
input, select {
|
79
87
|
vertical-align: middle; }
|
80
88
|
|
81
|
-
/* this hack is courtesy of gbbowers on github
|
82
|
-
https://gist.github.com/601810 */
|
83
|
-
/* Useful with form inputs and textareas */
|
84
|
-
/* Legacy support for inline-block in IE7 (maybe IE6) */
|
85
89
|
body {
|
86
|
-
color: #
|
90
|
+
color: #333;
|
87
91
|
font-size: 13px;
|
88
92
|
font-family: "helvetica neue", arial, helvetica, "lucida grande", sans-serif; }
|
89
93
|
|
@@ -94,11 +98,12 @@ h1, h2, h3, h4, h5, h6 {
|
|
94
98
|
/* Success, error & notice boxes for messages and errors. */
|
95
99
|
div.error, div.notice, div.success,
|
96
100
|
#flash_failure, #flash_success, #flash_notice {
|
101
|
+
border: 1px solid #ddd;
|
97
102
|
-moz-border-radius: 8px;
|
98
103
|
-webkit-border-radius: 8px;
|
99
|
-
border:
|
100
|
-
margin-bottom:
|
101
|
-
padding:
|
104
|
+
border-radius: 8px;
|
105
|
+
margin-bottom: 12px;
|
106
|
+
padding: 10px; }
|
102
107
|
|
103
108
|
div.error,
|
104
109
|
#flash_failure {
|
@@ -134,8 +139,8 @@ div.success a,
|
|
134
139
|
/* Use a .box to create a padded box inside a column. */
|
135
140
|
.box {
|
136
141
|
background: #eee;
|
137
|
-
margin-bottom:
|
138
|
-
padding:
|
142
|
+
margin-bottom: 16px;
|
143
|
+
padding: 16px; }
|
139
144
|
|
140
145
|
/* Use this to create a horizontal ruler across a column. */
|
141
146
|
hr {
|
@@ -145,7 +150,7 @@ hr {
|
|
145
150
|
color: #ddd;
|
146
151
|
float: none;
|
147
152
|
height: 1px;
|
148
|
-
margin: 0 0
|
153
|
+
margin: 0 0 12px;
|
149
154
|
width: 100%; }
|
150
155
|
|
151
156
|
hr.space {
|
@@ -159,7 +164,7 @@ hr.space {
|
|
159
164
|
display: block;
|
160
165
|
overflow: hidden;
|
161
166
|
text-align: left;
|
162
|
-
text-indent: -
|
167
|
+
text-indent: -9999px; }
|
163
168
|
|
164
169
|
/* Hide for both screenreaders and browsers
|
165
170
|
css-discuss.incutio.com/wiki/Screenreader_Visibility */
|
@@ -237,57 +242,49 @@ hr.space {
|
|
237
242
|
|
238
243
|
h2, h3 {
|
239
244
|
page-break-after: avoid; } }
|
240
|
-
|
241
245
|
/* Headings */
|
242
246
|
h1, h2, h3, h4, h5, h6 {
|
243
247
|
font-weight: bold; }
|
244
248
|
|
245
249
|
h1 {
|
246
|
-
font-size:
|
247
|
-
line-height: 1;
|
248
|
-
margin-bottom:
|
250
|
+
font-size: 28px;
|
251
|
+
line-height: 1.2;
|
252
|
+
margin-bottom: 12px; }
|
249
253
|
|
250
254
|
h2 {
|
251
|
-
font-size:
|
252
|
-
line-height: 1.
|
253
|
-
margin-bottom:
|
255
|
+
font-size: 24px;
|
256
|
+
line-height: 1.2;
|
257
|
+
margin-bottom: 6px; }
|
254
258
|
|
255
259
|
h3 {
|
256
|
-
font-size:
|
257
|
-
line-height: 1;
|
258
|
-
margin-bottom:
|
260
|
+
font-size: 18px;
|
261
|
+
line-height: 1.2;
|
262
|
+
margin-bottom: 4px; }
|
259
263
|
|
260
264
|
h4 {
|
261
|
-
font-size:
|
262
|
-
line-height: 1.
|
263
|
-
margin-bottom:
|
265
|
+
font-size: 16px;
|
266
|
+
line-height: 1.3;
|
267
|
+
margin-bottom: 4px; }
|
264
268
|
|
265
269
|
h5 {
|
266
|
-
font-size:
|
267
|
-
margin-bottom:
|
270
|
+
font-size: 14px;
|
271
|
+
margin-bottom: 4px; }
|
268
272
|
|
269
273
|
h6 {
|
270
|
-
font-size:
|
271
|
-
margin-bottom:
|
274
|
+
font-size: 12px;
|
275
|
+
margin-bottom: 4px; }
|
272
276
|
|
273
277
|
/* Text elements */
|
274
278
|
p {
|
275
|
-
|
276
|
-
|
277
|
-
p.last {
|
278
|
-
margin-bottom: 0; }
|
279
|
-
|
280
|
-
p img {
|
281
|
-
float: left;
|
282
|
-
margin: 1.5em 1.5em 1.5em 0;
|
283
|
-
padding: 0; }
|
279
|
+
line-height: 1.4;
|
280
|
+
margin-bottom: 12px; }
|
284
281
|
|
285
282
|
/* Use this if the image is at the top of the <p>. */
|
286
283
|
p img.top {
|
287
284
|
margin-top: 0; }
|
288
285
|
|
289
286
|
img {
|
290
|
-
margin: 0 0
|
287
|
+
margin: 0 0 12px; }
|
291
288
|
|
292
289
|
abbr, acronym {
|
293
290
|
border-bottom: 1px dotted #666;
|
@@ -295,7 +292,7 @@ abbr, acronym {
|
|
295
292
|
|
296
293
|
address {
|
297
294
|
font-style: italic;
|
298
|
-
margin-top:
|
295
|
+
margin-top: 16px; }
|
299
296
|
|
300
297
|
del {
|
301
298
|
color: #666; }
|
@@ -318,8 +315,8 @@ blockquote {
|
|
318
315
|
border-left: 4px solid #d1d1d1;
|
319
316
|
color: #666;
|
320
317
|
font-style: italic;
|
321
|
-
margin:
|
322
|
-
padding-left:
|
318
|
+
margin: 16px 0;
|
319
|
+
padding-left: 12px; }
|
323
320
|
|
324
321
|
strong {
|
325
322
|
font-weight: bold; }
|
@@ -332,7 +329,7 @@ dfn {
|
|
332
329
|
font-weight: bold; }
|
333
330
|
|
334
331
|
pre, code {
|
335
|
-
margin:
|
332
|
+
margin: 12px 0;
|
336
333
|
white-space: pre;
|
337
334
|
/* CSS2 */
|
338
335
|
white-space: pre-wrap;
|
@@ -341,7 +338,7 @@ pre, code {
|
|
341
338
|
/* IE */ }
|
342
339
|
|
343
340
|
pre, code, tt {
|
344
|
-
font:
|
341
|
+
font: 12px 'andale mono', 'monotype.com', 'lucida console', monospace;
|
345
342
|
line-height: 1.5; }
|
346
343
|
|
347
344
|
pre.code {
|
@@ -352,28 +349,32 @@ pre.code {
|
|
352
349
|
tt {
|
353
350
|
display: block;
|
354
351
|
line-height: 1.5;
|
355
|
-
margin:
|
352
|
+
margin: 16px 0; }
|
356
353
|
|
357
354
|
/* Forms */
|
358
|
-
/*
|
355
|
+
/*
|
356
|
+
* Remove inner padding and border in FF3/4
|
357
|
+
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
358
|
+
*/
|
359
359
|
input[type="submit"]::-moz-focus-inner {
|
360
|
-
border:
|
360
|
+
border: 0;
|
361
|
+
padding: 0; }
|
361
362
|
|
362
363
|
form ol {
|
363
364
|
list-style: none;
|
364
|
-
margin: 0 0
|
365
|
+
margin: 0 0 12px 0; }
|
365
366
|
|
366
367
|
form ol ol {
|
367
368
|
margin-left: 0; }
|
368
369
|
|
369
370
|
form ol li {
|
370
371
|
list-style-position: outside;
|
371
|
-
margin: 0 0
|
372
|
+
margin: 0 0 12px 0; }
|
372
373
|
|
373
374
|
/*list-style-position fixes IE label margin bug*/
|
374
375
|
form ol ol li {
|
375
376
|
list-style-position: outside;
|
376
|
-
margin: 0 0
|
377
|
+
margin: 0 0 4px 0; }
|
377
378
|
|
378
379
|
form ol li.error input {
|
379
380
|
background: #FBE3E4; }
|
@@ -404,15 +405,15 @@ a.cancel {
|
|
404
405
|
|
405
406
|
.inline-hints {
|
406
407
|
color: #666;
|
407
|
-
font-size:
|
408
|
-
margin-bottom:
|
408
|
+
font-size: 11px;
|
409
|
+
margin-bottom: 4px; }
|
409
410
|
|
410
411
|
/* Fieldsets */
|
411
412
|
fieldset {
|
412
413
|
background: #f1f1f1;
|
413
414
|
border: 1px solid #e3e3e3;
|
414
|
-
margin: 0 0
|
415
|
-
padding:
|
415
|
+
margin: 0 0 16px 0;
|
416
|
+
padding: 16px 16px 12px 16px; }
|
416
417
|
|
417
418
|
fieldset fieldset,
|
418
419
|
fieldset fieldset fieldset {
|
@@ -491,7 +492,7 @@ input[type="radio"] {
|
|
491
492
|
textarea {
|
492
493
|
font-size: inherit;
|
493
494
|
height: 200px;
|
494
|
-
margin: 0
|
495
|
+
margin: 0 6px 6px 0;
|
495
496
|
padding: 5px;
|
496
497
|
width: 440px;
|
497
498
|
overflow: auto; }
|
@@ -499,32 +500,26 @@ textarea {
|
|
499
500
|
/* Select fields */
|
500
501
|
fieldset .select select {
|
501
502
|
width: 200px;
|
502
|
-
font-size:
|
503
|
+
font-size: 11px; }
|
503
504
|
|
504
505
|
optgroup {
|
505
|
-
margin: 0 0
|
506
|
+
margin: 0 0 6px 0; }
|
506
507
|
|
507
508
|
/* Date & Time */
|
508
|
-
form ol li.date ol li,
|
509
|
-
form ol li.time ol li {
|
510
|
-
display: inline; }
|
511
|
-
|
512
|
-
form ol li.datetime ol li {
|
513
|
-
display: inline-block; }
|
514
|
-
|
515
|
-
form ol li.datetime select,
|
516
509
|
form ol li.date select,
|
517
|
-
form ol li.time select
|
510
|
+
form ol li.time select,
|
511
|
+
form ol li.datetime select {
|
518
512
|
display: inline;
|
519
513
|
width: auto; }
|
520
514
|
|
521
|
-
form ol li.date
|
522
|
-
form ol li.time
|
523
|
-
|
515
|
+
form ol li.date ol li,
|
516
|
+
form ol li.time ol li,
|
517
|
+
form ol li.datetime ol li {
|
518
|
+
display: inline-block; }
|
524
519
|
|
525
520
|
/* Tables */
|
526
521
|
table {
|
527
|
-
margin-bottom:
|
522
|
+
margin-bottom: 24px;
|
528
523
|
width: 100%; }
|
529
524
|
|
530
525
|
th {
|
@@ -540,7 +535,7 @@ caption, th, td {
|
|
540
535
|
|
541
536
|
caption {
|
542
537
|
background: #f1f1f1;
|
543
|
-
margin-bottom:
|
538
|
+
margin-bottom: 12px;
|
544
539
|
padding: 10px 0; }
|
545
540
|
|
546
541
|
tr, td, th {
|
@@ -553,7 +548,7 @@ table .last {
|
|
553
548
|
/* Lists */
|
554
549
|
ul, ol {
|
555
550
|
list-style-position: inside;
|
556
|
-
margin-bottom:
|
551
|
+
margin-bottom: 16px; }
|
557
552
|
|
558
553
|
ul {
|
559
554
|
list-style-type: disc; }
|
@@ -563,20 +558,20 @@ ol {
|
|
563
558
|
|
564
559
|
dl {
|
565
560
|
line-height: 1.4;
|
566
|
-
margin-bottom:
|
561
|
+
margin-bottom: 16px; }
|
567
562
|
|
568
563
|
dl dt {
|
569
564
|
font-weight: bold;
|
570
|
-
margin-top:
|
565
|
+
margin-top: 6px; }
|
571
566
|
|
572
567
|
dl dd {
|
573
568
|
margin-bottom: 0em; }
|
574
569
|
|
575
570
|
dd {
|
576
|
-
margin-left:
|
571
|
+
margin-left: 6px; }
|
577
572
|
|
578
573
|
li {
|
579
574
|
line-height: 1.4; }
|
580
575
|
|
581
576
|
ol ol, ol ul, ul ul, ul ol {
|
582
|
-
margin-left:
|
577
|
+
margin-left: 12px; }
|
@@ -1,5 +1,5 @@
|
|
1
1
|
body {
|
2
|
-
color: #
|
2
|
+
color: #333;
|
3
3
|
font-size: 13px;
|
4
4
|
font-family: "helvetica neue", arial, helvetica, "lucida grande", sans-serif;
|
5
5
|
}
|
@@ -12,11 +12,12 @@ h1, h2, h3, h4, h5, h6 {
|
|
12
12
|
/* Success, error & notice boxes for messages and errors. */
|
13
13
|
div.error, div.notice, div.success,
|
14
14
|
#flash_failure, #flash_success, #flash_notice {
|
15
|
+
border: 1px solid #ddd;
|
15
16
|
-moz-border-radius: 8px;
|
16
17
|
-webkit-border-radius: 8px;
|
17
|
-
border:
|
18
|
-
margin-bottom:
|
19
|
-
padding:
|
18
|
+
border-radius: 8px;
|
19
|
+
margin-bottom: 12px;
|
20
|
+
padding: 10px;
|
20
21
|
}
|
21
22
|
|
22
23
|
div.error,
|
@@ -59,8 +60,8 @@ div.success a,
|
|
59
60
|
/* Use a .box to create a padded box inside a column. */
|
60
61
|
.box {
|
61
62
|
background: #eee;
|
62
|
-
margin-bottom:
|
63
|
-
padding:
|
63
|
+
margin-bottom: 16px;
|
64
|
+
padding: 16px;
|
64
65
|
}
|
65
66
|
|
66
67
|
/* Use this to create a horizontal ruler across a column. */
|
@@ -71,7 +72,7 @@ hr {
|
|
71
72
|
color: #ddd;
|
72
73
|
float: none;
|
73
74
|
height: 1px;
|
74
|
-
margin: 0 0
|
75
|
+
margin: 0 0 12px;
|
75
76
|
width: 100%;
|
76
77
|
}
|
77
78
|
|
@@ -87,7 +88,7 @@ hr.space {
|
|
87
88
|
display: block;
|
88
89
|
overflow: hidden;
|
89
90
|
text-align: left;
|
90
|
-
text-indent: -
|
91
|
+
text-indent: -9999px;
|
91
92
|
}
|
92
93
|
|
93
94
|
/* Hide for both screenreaders and browsers
|
@@ -1,13 +1,17 @@
|
|
1
1
|
/* Forms */
|
2
2
|
|
3
|
-
/*
|
3
|
+
/*
|
4
|
+
* Remove inner padding and border in FF3/4
|
5
|
+
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
6
|
+
*/
|
4
7
|
input[type="submit"]::-moz-focus-inner {
|
5
|
-
border:
|
8
|
+
border: 0;
|
9
|
+
padding: 0;
|
6
10
|
}
|
7
11
|
|
8
12
|
form ol {
|
9
13
|
list-style: none;
|
10
|
-
margin: 0 0
|
14
|
+
margin: 0 0 12px 0;
|
11
15
|
}
|
12
16
|
|
13
17
|
form ol ol {
|
@@ -16,13 +20,13 @@ form ol ol {
|
|
16
20
|
|
17
21
|
form ol li {
|
18
22
|
list-style-position: outside;
|
19
|
-
margin: 0 0
|
23
|
+
margin: 0 0 12px 0;
|
20
24
|
}
|
21
25
|
|
22
26
|
/*list-style-position fixes IE label margin bug*/
|
23
27
|
form ol ol li {
|
24
28
|
list-style-position: outside;
|
25
|
-
margin: 0 0
|
29
|
+
margin: 0 0 4px 0;
|
26
30
|
}
|
27
31
|
|
28
32
|
form ol li.error input {
|
@@ -62,16 +66,16 @@ a.cancel {
|
|
62
66
|
|
63
67
|
.inline-hints {
|
64
68
|
color: #666;
|
65
|
-
font-size:
|
66
|
-
margin-bottom:
|
69
|
+
font-size: 11px;
|
70
|
+
margin-bottom: 4px;
|
67
71
|
}
|
68
72
|
|
69
73
|
/* Fieldsets */
|
70
74
|
fieldset {
|
71
75
|
background: #f1f1f1;
|
72
76
|
border: 1px solid #e3e3e3;
|
73
|
-
margin: 0 0
|
74
|
-
padding:
|
77
|
+
margin: 0 0 16px 0;
|
78
|
+
padding: 16px 16px 12px 16px;
|
75
79
|
}
|
76
80
|
|
77
81
|
fieldset fieldset,
|
@@ -160,7 +164,7 @@ input[type="radio"] {
|
|
160
164
|
textarea {
|
161
165
|
font-size: inherit;
|
162
166
|
height: 200px;
|
163
|
-
margin: 0
|
167
|
+
margin: 0 6px 6px 0;
|
164
168
|
padding: 5px;
|
165
169
|
width: 440px;
|
166
170
|
overflow: auto;
|
@@ -169,31 +173,23 @@ textarea {
|
|
169
173
|
/* Select fields */
|
170
174
|
fieldset .select select {
|
171
175
|
width: 200px;
|
172
|
-
font-size:
|
176
|
+
font-size: 11px;
|
173
177
|
}
|
174
178
|
|
175
179
|
optgroup {
|
176
|
-
margin: 0 0
|
180
|
+
margin: 0 0 6px 0;
|
177
181
|
}
|
178
182
|
|
179
183
|
/* Date & Time */
|
180
|
-
form ol li.date ol li,
|
181
|
-
form ol li.time ol li {
|
182
|
-
display: inline;
|
183
|
-
}
|
184
|
-
|
185
|
-
form ol li.datetime ol li {
|
186
|
-
display: inline-block;
|
187
|
-
}
|
188
|
-
|
189
|
-
form ol li.datetime select,
|
190
184
|
form ol li.date select,
|
191
|
-
form ol li.time select
|
185
|
+
form ol li.time select,
|
186
|
+
form ol li.datetime select {
|
192
187
|
display: inline;
|
193
188
|
width: auto;
|
194
189
|
}
|
195
190
|
|
196
|
-
form ol li.date
|
197
|
-
form ol li.time
|
198
|
-
|
191
|
+
form ol li.date ol li,
|
192
|
+
form ol li.time ol li,
|
193
|
+
form ol li.datetime ol li {
|
194
|
+
display: inline-block;
|
199
195
|
}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
ul, ol {
|
4
4
|
list-style-position: inside;
|
5
|
-
margin-bottom:
|
5
|
+
margin-bottom: 16px;
|
6
6
|
}
|
7
7
|
|
8
8
|
ul {
|
@@ -15,12 +15,12 @@ ol {
|
|
15
15
|
|
16
16
|
dl {
|
17
17
|
line-height: 1.4;
|
18
|
-
margin-bottom:
|
18
|
+
margin-bottom: 16px;
|
19
19
|
}
|
20
20
|
|
21
21
|
dl dt {
|
22
22
|
font-weight: bold;
|
23
|
-
margin-top:
|
23
|
+
margin-top: 6px;
|
24
24
|
}
|
25
25
|
|
26
26
|
dl dd {
|
@@ -28,7 +28,7 @@ dl dd {
|
|
28
28
|
}
|
29
29
|
|
30
30
|
dd {
|
31
|
-
margin-left:
|
31
|
+
margin-left: 6px;
|
32
32
|
}
|
33
33
|
|
34
34
|
li {
|
@@ -36,5 +36,5 @@ li {
|
|
36
36
|
}
|
37
37
|
|
38
38
|
ol ol, ol ul, ul ul, ul ol {
|
39
|
-
margin-left:
|
39
|
+
margin-left: 12px;
|
40
40
|
}
|
@@ -0,0 +1,102 @@
|
|
1
|
+
/*
|
2
|
+
html5doctor.com Reset Stylesheet
|
3
|
+
v1.6.1
|
4
|
+
Last Updated: 2010-09-17
|
5
|
+
Author: Richard Clark - http://richclarkdesign.com
|
6
|
+
Twitter: @rich_clark
|
7
|
+
*/
|
8
|
+
|
9
|
+
html, body, div, span, object, iframe,
|
10
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
11
|
+
abbr, address, cite, code,
|
12
|
+
del, dfn, em, img, ins, kbd, q, samp,
|
13
|
+
small, strong, sub, sup, var,
|
14
|
+
b, i,
|
15
|
+
dl, dt, dd, ol, ul, li,
|
16
|
+
fieldset, form, label, legend,
|
17
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
18
|
+
article, aside, canvas, details, figcaption, figure,
|
19
|
+
footer, header, hgroup, menu, nav, section, summary,
|
20
|
+
time, mark, audio, video {
|
21
|
+
margin:0;
|
22
|
+
padding:0;
|
23
|
+
border:0;
|
24
|
+
outline:0;
|
25
|
+
font-size:100%;
|
26
|
+
vertical-align:baseline;
|
27
|
+
background:transparent;
|
28
|
+
}
|
29
|
+
|
30
|
+
body {
|
31
|
+
line-height:1;
|
32
|
+
}
|
33
|
+
|
34
|
+
article,aside,details,figcaption,figure,
|
35
|
+
footer,header,hgroup,menu,nav,section {
|
36
|
+
display:block;
|
37
|
+
}
|
38
|
+
|
39
|
+
nav ul {
|
40
|
+
list-style:none;
|
41
|
+
}
|
42
|
+
|
43
|
+
blockquote, q {
|
44
|
+
quotes:none;
|
45
|
+
}
|
46
|
+
|
47
|
+
blockquote:before, blockquote:after,
|
48
|
+
q:before, q:after {
|
49
|
+
content:'';
|
50
|
+
content:none;
|
51
|
+
}
|
52
|
+
|
53
|
+
a {
|
54
|
+
margin:0;
|
55
|
+
padding:0;
|
56
|
+
font-size:100%;
|
57
|
+
vertical-align:baseline;
|
58
|
+
background:transparent;
|
59
|
+
}
|
60
|
+
|
61
|
+
/* change colours to suit your needs */
|
62
|
+
ins {
|
63
|
+
background-color:#ff9;
|
64
|
+
color:#000;
|
65
|
+
text-decoration:none;
|
66
|
+
}
|
67
|
+
|
68
|
+
/* change colours to suit your needs */
|
69
|
+
mark {
|
70
|
+
background-color:#ff9;
|
71
|
+
color:#000;
|
72
|
+
font-style:italic;
|
73
|
+
font-weight:bold;
|
74
|
+
}
|
75
|
+
|
76
|
+
del {
|
77
|
+
text-decoration: line-through;
|
78
|
+
}
|
79
|
+
|
80
|
+
abbr[title], dfn[title] {
|
81
|
+
border-bottom:1px dotted;
|
82
|
+
cursor:help;
|
83
|
+
}
|
84
|
+
|
85
|
+
table {
|
86
|
+
border-collapse:collapse;
|
87
|
+
border-spacing:0;
|
88
|
+
}
|
89
|
+
|
90
|
+
/* change border colour to suit your needs */
|
91
|
+
hr {
|
92
|
+
display:block;
|
93
|
+
height:1px;
|
94
|
+
border:0;
|
95
|
+
border-top:1px solid #cccccc;
|
96
|
+
margin:1em 0;
|
97
|
+
padding:0;
|
98
|
+
}
|
99
|
+
|
100
|
+
input, select {
|
101
|
+
vertical-align: middle;
|
102
|
+
}
|
File without changes
|
@@ -4,52 +4,43 @@ h1, h2, h3, h4, h5, h6 {
|
|
4
4
|
}
|
5
5
|
|
6
6
|
h1 {
|
7
|
-
font-size:
|
8
|
-
line-height: 1;
|
9
|
-
margin-bottom:
|
7
|
+
font-size: 28px;
|
8
|
+
line-height: 1.2;
|
9
|
+
margin-bottom: 12px;
|
10
10
|
}
|
11
11
|
|
12
12
|
h2 {
|
13
|
-
font-size:
|
14
|
-
line-height: 1.
|
15
|
-
margin-bottom:
|
13
|
+
font-size: 24px;
|
14
|
+
line-height: 1.2;
|
15
|
+
margin-bottom: 6px;
|
16
16
|
}
|
17
17
|
|
18
18
|
h3 {
|
19
|
-
font-size:
|
20
|
-
line-height: 1;
|
21
|
-
margin-bottom:
|
19
|
+
font-size: 18px;
|
20
|
+
line-height: 1.2;
|
21
|
+
margin-bottom: 4px;
|
22
22
|
}
|
23
23
|
|
24
24
|
h4 {
|
25
|
-
font-size:
|
26
|
-
line-height: 1.
|
27
|
-
margin-bottom:
|
25
|
+
font-size: 16px;
|
26
|
+
line-height: 1.3;
|
27
|
+
margin-bottom: 4px;
|
28
28
|
}
|
29
29
|
|
30
30
|
h5 {
|
31
|
-
font-size:
|
32
|
-
margin-bottom:
|
31
|
+
font-size: 14px;
|
32
|
+
margin-bottom: 4px;
|
33
33
|
}
|
34
34
|
|
35
35
|
h6 {
|
36
|
-
font-size:
|
37
|
-
margin-bottom:
|
36
|
+
font-size: 12px;
|
37
|
+
margin-bottom: 4px;
|
38
38
|
}
|
39
39
|
|
40
40
|
/* Text elements */
|
41
41
|
p {
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
p.last {
|
46
|
-
margin-bottom: 0;
|
47
|
-
}
|
48
|
-
|
49
|
-
p img {
|
50
|
-
float: left;
|
51
|
-
margin: 1.5em 1.5em 1.5em 0;
|
52
|
-
padding: 0;
|
42
|
+
line-height: 1.4;
|
43
|
+
margin-bottom: 12px;
|
53
44
|
}
|
54
45
|
|
55
46
|
/* Use this if the image is at the top of the <p>. */
|
@@ -58,7 +49,7 @@ p img.top {
|
|
58
49
|
}
|
59
50
|
|
60
51
|
img {
|
61
|
-
margin: 0 0
|
52
|
+
margin: 0 0 12px;
|
62
53
|
}
|
63
54
|
|
64
55
|
abbr, acronym {
|
@@ -68,7 +59,7 @@ abbr, acronym {
|
|
68
59
|
|
69
60
|
address {
|
70
61
|
font-style: italic;
|
71
|
-
margin-top:
|
62
|
+
margin-top: 16px;
|
72
63
|
}
|
73
64
|
|
74
65
|
del {
|
@@ -97,8 +88,8 @@ blockquote {
|
|
97
88
|
border-left: 4px solid #d1d1d1;
|
98
89
|
color: #666;
|
99
90
|
font-style: italic;
|
100
|
-
margin:
|
101
|
-
padding-left:
|
91
|
+
margin: 16px 0;
|
92
|
+
padding-left: 12px;
|
102
93
|
}
|
103
94
|
|
104
95
|
strong {
|
@@ -115,14 +106,14 @@ dfn {
|
|
115
106
|
}
|
116
107
|
|
117
108
|
pre, code {
|
118
|
-
margin:
|
109
|
+
margin: 12px 0;
|
119
110
|
white-space: pre; /* CSS2 */
|
120
111
|
white-space: pre-wrap; /* CSS 2.1 */
|
121
112
|
word-wrap: break-word; /* IE */
|
122
113
|
}
|
123
114
|
|
124
115
|
pre, code, tt {
|
125
|
-
font:
|
116
|
+
font: 12px 'andale mono', 'monotype.com', 'lucida console', monospace;
|
126
117
|
line-height: 1.5;
|
127
118
|
}
|
128
119
|
|
@@ -135,5 +126,5 @@ pre.code {
|
|
135
126
|
tt {
|
136
127
|
display: block;
|
137
128
|
line-height: 1.5;
|
138
|
-
margin:
|
129
|
+
margin: 16px 0;
|
139
130
|
}
|
metadata
CHANGED
@@ -1,13 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flutie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 8
|
10
|
-
version: 1.1.8
|
4
|
+
prerelease:
|
5
|
+
version: 1.2.2
|
11
6
|
platform: ruby
|
12
7
|
authors:
|
13
8
|
- Chad Pytel
|
@@ -19,23 +14,31 @@ autorequire:
|
|
19
14
|
bindir: bin
|
20
15
|
cert_chain: []
|
21
16
|
|
22
|
-
date: 2010-
|
17
|
+
date: 2010-06-29 00:00:00 -04:00
|
23
18
|
default_executable:
|
24
19
|
dependencies:
|
25
20
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
21
|
+
name: sass
|
27
22
|
prerelease: false
|
28
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
29
24
|
none: false
|
30
25
|
requirements:
|
31
26
|
- - ">="
|
32
27
|
- !ruby/object:Gem::Version
|
33
|
-
hash: 3
|
34
|
-
segments:
|
35
|
-
- 0
|
36
28
|
version: "0"
|
37
29
|
type: :development
|
38
30
|
version_requirements: *id001
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: rails
|
33
|
+
prerelease: false
|
34
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
35
|
+
none: false
|
36
|
+
requirements:
|
37
|
+
- - "="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: 3.0.8
|
40
|
+
type: :development
|
41
|
+
version_requirements: *id002
|
39
42
|
description: Flutie is a starting point for personal discovery
|
40
43
|
email: support@thoughtbot.com
|
41
44
|
executables: []
|
@@ -51,26 +54,19 @@ files:
|
|
51
54
|
- app/views/flutie/styleguides/show.erb
|
52
55
|
- app/views/layouts/flutie.erb
|
53
56
|
- config/initializers/expansion.rb
|
54
|
-
- config/initializers/sass.rb
|
55
57
|
- config/routes.rb
|
56
58
|
- lib/flutie/engine.rb
|
57
59
|
- lib/flutie.rb
|
58
60
|
- lib/tasks/flutie.rake
|
59
61
|
- public/stylesheets/flutie.css
|
60
|
-
- public/stylesheets/sass/
|
61
|
-
- public/stylesheets/sass/
|
62
|
-
- public/stylesheets/sass/
|
63
|
-
- public/stylesheets/sass/
|
64
|
-
- public/stylesheets/sass/
|
65
|
-
- public/stylesheets/sass/
|
66
|
-
- public/stylesheets/sass/
|
67
|
-
- public/stylesheets/sass/
|
68
|
-
- public/stylesheets/sass/_reset.scss
|
69
|
-
- public/stylesheets/sass/_screen.scss
|
70
|
-
- public/stylesheets/sass/_tables.scss
|
71
|
-
- public/stylesheets/sass/_transition.scss
|
72
|
-
- public/stylesheets/sass/_type.scss
|
73
|
-
- public/stylesheets/sass/flutie.scss
|
62
|
+
- public/stylesheets/sass/flutie/_defaults.scss
|
63
|
+
- public/stylesheets/sass/flutie/_forms.scss
|
64
|
+
- public/stylesheets/sass/flutie/_lists.scss
|
65
|
+
- public/stylesheets/sass/flutie/_reset.scss
|
66
|
+
- public/stylesheets/sass/flutie/_screen.scss
|
67
|
+
- public/stylesheets/sass/flutie/_tables.scss
|
68
|
+
- public/stylesheets/sass/flutie/_type.scss
|
69
|
+
- public/stylesheets/sass/flutie/flutie.scss
|
74
70
|
has_rdoc: true
|
75
71
|
homepage: http://github.com/thoughtbot/flutie
|
76
72
|
licenses: []
|
@@ -85,23 +81,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
85
81
|
requirements:
|
86
82
|
- - ">="
|
87
83
|
- !ruby/object:Gem::Version
|
88
|
-
hash: 3
|
89
|
-
segments:
|
90
|
-
- 0
|
91
84
|
version: "0"
|
92
85
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
86
|
none: false
|
94
87
|
requirements:
|
95
88
|
- - ">="
|
96
89
|
- !ruby/object:Gem::Version
|
97
|
-
hash: 3
|
98
|
-
segments:
|
99
|
-
- 0
|
100
90
|
version: "0"
|
101
91
|
requirements: []
|
102
92
|
|
103
93
|
rubyforge_project:
|
104
|
-
rubygems_version: 1.
|
94
|
+
rubygems_version: 1.6.2
|
105
95
|
signing_key:
|
106
96
|
specification_version: 3
|
107
97
|
summary: Flutie adds default stylesheets to web apps
|
data/config/initializers/sass.rb
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
/* this hack is courtesy of gbbowers on github
|
2
|
-
https://gist.github.com/601810 */
|
3
|
-
@mixin box-shadow ($shadow-1, $shadow-2: false, $shadow-3: false, $shadow-4: false, $shadow-5: false, $shadow-6: false, $shadow-7: false, $shadow-8: false, $shadow-9: false) {
|
4
|
-
$full: $shadow-1;
|
5
|
-
|
6
|
-
@if $shadow-2 {
|
7
|
-
$full: $full + ", " + $shadow-2;
|
8
|
-
}
|
9
|
-
@if $shadow-3 {
|
10
|
-
$full: $full + ", " + $shadow-3;
|
11
|
-
}
|
12
|
-
@if $shadow-4 {
|
13
|
-
$full: $full + ", " + $shadow-4;
|
14
|
-
}
|
15
|
-
@if $shadow-5 {
|
16
|
-
$full: $full + ", " + $shadow-5;
|
17
|
-
}
|
18
|
-
@if $shadow-6 {
|
19
|
-
$full: $full + ", " + $shadow-6;
|
20
|
-
}
|
21
|
-
@if $shadow-7 {
|
22
|
-
$full: $full + ", " + $shadow-7;
|
23
|
-
}
|
24
|
-
@if $shadow-8 {
|
25
|
-
$full: $full + ", " + $shadow-8;
|
26
|
-
}
|
27
|
-
@if $shadow-9 {
|
28
|
-
$full: $full + ", " + $shadow-9;
|
29
|
-
}
|
30
|
-
|
31
|
-
-moz-box-shadow: $full;
|
32
|
-
-webkit-box-shadow: $full;
|
33
|
-
-o-box-shadow: $full;
|
34
|
-
box-shadow: $full;
|
35
|
-
}
|
@@ -1,54 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
|
3
|
-
v1.4 2009-07-27 | Authors: Eric Meyer & Richard Clark
|
4
|
-
html5doctor.com/html-5-reset-stylesheet/
|
5
|
-
*/
|
6
|
-
html, body, div, span, object, iframe,
|
7
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
8
|
-
abbr, address, cite, code,
|
9
|
-
del, dfn, em, img, ins, kbd, q, samp,
|
10
|
-
small, strong, sub, sup, var,
|
11
|
-
b, i,
|
12
|
-
dl, dt, dd, ol, ul, li,
|
13
|
-
fieldset, form, label, legend,
|
14
|
-
table, caption, tbody, tfoot, thead, tr, th, td,
|
15
|
-
article, aside, canvas, details, figcaption, figure,
|
16
|
-
footer, header, hgroup, menu, nav, section, summary,
|
17
|
-
time, mark, audio, video {
|
18
|
-
margin:0;
|
19
|
-
padding:0;
|
20
|
-
border:0;
|
21
|
-
outline:0;
|
22
|
-
font-size:100%;
|
23
|
-
vertical-align:baseline;
|
24
|
-
background:transparent;
|
25
|
-
}
|
26
|
-
|
27
|
-
article, aside, details, figcaption, figure,
|
28
|
-
footer, header, hgroup, menu, nav, section {
|
29
|
-
display:block;
|
30
|
-
}
|
31
|
-
|
32
|
-
nav ul { list-style:none; }
|
33
|
-
|
34
|
-
blockquote, q { quotes:none; }
|
35
|
-
|
36
|
-
blockquote:before, blockquote:after,
|
37
|
-
q:before, q:after { content:''; content:none; }
|
38
|
-
|
39
|
-
a { margin:0; padding:0; font-size:100%; vertical-align:baseline; background:transparent; }
|
40
|
-
|
41
|
-
ins { background-color:#ff9; color:#000; text-decoration:none; }
|
42
|
-
|
43
|
-
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
|
44
|
-
|
45
|
-
del { text-decoration: line-through; }
|
46
|
-
|
47
|
-
abbr[title], dfn[title] { cursor:help; }
|
48
|
-
|
49
|
-
/* tables still need cellspacing="0" in the markup */
|
50
|
-
table { border-collapse:collapse; border-spacing:0; }
|
51
|
-
|
52
|
-
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
|
53
|
-
|
54
|
-
input, select { vertical-align:middle; }
|
@@ -1,13 +0,0 @@
|
|
1
|
-
@import 'reset';
|
2
|
-
@import 'border-radius';
|
3
|
-
@import 'box-shadow';
|
4
|
-
@import 'box-sizing';
|
5
|
-
@import 'inline-block';
|
6
|
-
@import 'transition';
|
7
|
-
@import 'linear-gradient';
|
8
|
-
@import 'defaults';
|
9
|
-
@import 'type';
|
10
|
-
@import 'forms';
|
11
|
-
@import 'tables';
|
12
|
-
@import 'lists';
|
13
|
-
@import 'screen';
|