yui_reset_rails 1.0.0
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.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/README.md +1 -0
- data/Rakefile +2 -0
- data/lib/yui_reset_rails/engine.rb +8 -0
- data/lib/yui_reset_rails/railtie.rb +8 -0
- data/lib/yui_reset_rails/version.rb +7 -0
- data/lib/yui_reset_rails.rb +12 -0
- data/vendor/assets/stylesheets/yui-css-base-context.css +79 -0
- data/vendor/assets/stylesheets/yui-css-base-context.min.css +7 -0
- data/vendor/assets/stylesheets/yui-css-base.css +79 -0
- data/vendor/assets/stylesheets/yui-css-base.min.css +7 -0
- data/vendor/assets/stylesheets/yui-css-fonts-context.css +46 -0
- data/vendor/assets/stylesheets/yui-css-fonts-context.min.css +7 -0
- data/vendor/assets/stylesheets/yui-css-fonts.css +46 -0
- data/vendor/assets/stylesheets/yui-css-fonts.min.css +7 -0
- data/vendor/assets/stylesheets/yui-css-reset-context.css +125 -0
- data/vendor/assets/stylesheets/yui-css-reset-context.min.css +7 -0
- data/vendor/assets/stylesheets/yui-css-reset.css +252 -0
- data/vendor/assets/stylesheets/yui-css-reset.min.css +7 -0
- data/yui_reset_rails.gemspec +27 -0
- metadata +148 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# YUI_RESET_RAILS
|
data/Rakefile
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
/* base.css, part of YUI's CSS Foundation */
|
8
|
+
.yui3-cssbase h1 {
|
9
|
+
/*18px via YUI Fonts CSS foundation*/
|
10
|
+
font-size:138.5%;
|
11
|
+
}
|
12
|
+
.yui3-cssbase h2 {
|
13
|
+
/*16px via YUI Fonts CSS foundation*/
|
14
|
+
font-size:123.1%;
|
15
|
+
}
|
16
|
+
.yui3-cssbase h3 {
|
17
|
+
/*14px via YUI Fonts CSS foundation*/
|
18
|
+
font-size:108%;
|
19
|
+
}
|
20
|
+
.yui3-cssbase h1,.yui3-cssbase h2,.yui3-cssbase h3 {
|
21
|
+
/* top & bottom margin based on font size */
|
22
|
+
margin:1em 0;
|
23
|
+
}
|
24
|
+
.yui3-cssbase h1,.yui3-cssbase h2,.yui3-cssbase h3,.yui3-cssbase h4,.yui3-cssbase h5,.yui3-cssbase h6,.yui3-cssbase strong {
|
25
|
+
/*bringing boldness back to headers and the strong element*/
|
26
|
+
font-weight:bold;
|
27
|
+
}
|
28
|
+
.yui3-cssbase abbr,.yui3-cssbase acronym {
|
29
|
+
/*indicating to users that more info is available */
|
30
|
+
border-bottom:1px dotted #000;
|
31
|
+
cursor:help;
|
32
|
+
}
|
33
|
+
.yui3-cssbase em {
|
34
|
+
/*bringing italics back to the em element*/
|
35
|
+
font-style:italic;
|
36
|
+
}
|
37
|
+
.yui3-cssbase blockquote,.yui3-cssbase ul,.yui3-cssbase ol,.yui3-cssbase dl {
|
38
|
+
/*giving blockquotes and lists room to breath*/
|
39
|
+
margin:1em;
|
40
|
+
}
|
41
|
+
.yui3-cssbase ol,.yui3-cssbase ul,.yui3-cssbase dl {
|
42
|
+
/*bringing lists on to the page with breathing room */
|
43
|
+
margin-left:2em;
|
44
|
+
}
|
45
|
+
.yui3-cssbase ol {
|
46
|
+
/*giving OL's LIs generated numbers*/
|
47
|
+
list-style: decimal outside;
|
48
|
+
}
|
49
|
+
.yui3-cssbase ul {
|
50
|
+
/*giving UL's LIs generated disc markers*/
|
51
|
+
list-style: disc outside;
|
52
|
+
}
|
53
|
+
.yui3-cssbase dl dd {
|
54
|
+
/*providing spacing for definition terms*/
|
55
|
+
margin-left:1em;
|
56
|
+
}
|
57
|
+
.yui3-cssbase th,.yui3-cssbase td {
|
58
|
+
/*borders and padding to make the table readable*/
|
59
|
+
border:1px solid #000;
|
60
|
+
padding:.5em;
|
61
|
+
}
|
62
|
+
.yui3-cssbase th {
|
63
|
+
/*distinguishing table headers from data cells*/
|
64
|
+
font-weight:bold;
|
65
|
+
text-align:center;
|
66
|
+
}
|
67
|
+
.yui3-cssbase caption {
|
68
|
+
/*coordinated margin to match cell's padding*/
|
69
|
+
margin-bottom:.5em;
|
70
|
+
/*centered so it doesn't blend in to other content*/
|
71
|
+
text-align:center;
|
72
|
+
}
|
73
|
+
.yui3-cssbase p,.yui3-cssbase fieldset,.yui3-cssbase table,.yui3-cssbase pre {
|
74
|
+
/*so things don't run into each other*/
|
75
|
+
margin-bottom:1em;
|
76
|
+
}
|
77
|
+
/* setting a consistent width, 160px;
|
78
|
+
control of type=file still not possible */
|
79
|
+
.yui3-cssbase input[type=text],.yui3-cssbase input[type=password],.yui3-cssbase textarea{width:12.25em;*width:11.9em;}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
.yui3-cssbase h1{font-size:138.5%}.yui3-cssbase h2{font-size:123.1%}.yui3-cssbase h3{font-size:108%}.yui3-cssbase h1,.yui3-cssbase h2,.yui3-cssbase h3{margin:1em 0}.yui3-cssbase h1,.yui3-cssbase h2,.yui3-cssbase h3,.yui3-cssbase h4,.yui3-cssbase h5,.yui3-cssbase h6,.yui3-cssbase strong{font-weight:bold}.yui3-cssbase abbr,.yui3-cssbase acronym{border-bottom:1px dotted #000;cursor:help}.yui3-cssbase em{font-style:italic}.yui3-cssbase blockquote,.yui3-cssbase ul,.yui3-cssbase ol,.yui3-cssbase dl{margin:1em}.yui3-cssbase ol,.yui3-cssbase ul,.yui3-cssbase dl{margin-left:2em}.yui3-cssbase ol{list-style:decimal outside}.yui3-cssbase ul{list-style:disc outside}.yui3-cssbase dl dd{margin-left:1em}.yui3-cssbase th,.yui3-cssbase td{border:1px solid #000;padding:.5em}.yui3-cssbase th{font-weight:bold;text-align:center}.yui3-cssbase caption{margin-bottom:.5em;text-align:center}.yui3-cssbase p,.yui3-cssbase fieldset,.yui3-cssbase table,.yui3-cssbase pre{margin-bottom:1em}.yui3-cssbase input[type=text],.yui3-cssbase input[type=password],.yui3-cssbase textarea{width:12.25em;*width:11.9em}
|
@@ -0,0 +1,79 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
/* base.css, part of YUI's CSS Foundation */
|
8
|
+
h1 {
|
9
|
+
/*18px via YUI Fonts CSS foundation*/
|
10
|
+
font-size:138.5%;
|
11
|
+
}
|
12
|
+
h2 {
|
13
|
+
/*16px via YUI Fonts CSS foundation*/
|
14
|
+
font-size:123.1%;
|
15
|
+
}
|
16
|
+
h3 {
|
17
|
+
/*14px via YUI Fonts CSS foundation*/
|
18
|
+
font-size:108%;
|
19
|
+
}
|
20
|
+
h1,h2,h3 {
|
21
|
+
/* top & bottom margin based on font size */
|
22
|
+
margin:1em 0;
|
23
|
+
}
|
24
|
+
h1,h2,h3,h4,h5,h6,strong {
|
25
|
+
/*bringing boldness back to headers and the strong element*/
|
26
|
+
font-weight:bold;
|
27
|
+
}
|
28
|
+
abbr,acronym {
|
29
|
+
/*indicating to users that more info is available */
|
30
|
+
border-bottom:1px dotted #000;
|
31
|
+
cursor:help;
|
32
|
+
}
|
33
|
+
em {
|
34
|
+
/*bringing italics back to the em element*/
|
35
|
+
font-style:italic;
|
36
|
+
}
|
37
|
+
blockquote,ul,ol,dl {
|
38
|
+
/*giving blockquotes and lists room to breath*/
|
39
|
+
margin:1em;
|
40
|
+
}
|
41
|
+
ol,ul,dl {
|
42
|
+
/*bringing lists on to the page with breathing room */
|
43
|
+
margin-left:2em;
|
44
|
+
}
|
45
|
+
ol {
|
46
|
+
/*giving OL's LIs generated numbers*/
|
47
|
+
list-style: decimal outside;
|
48
|
+
}
|
49
|
+
ul {
|
50
|
+
/*giving UL's LIs generated disc markers*/
|
51
|
+
list-style: disc outside;
|
52
|
+
}
|
53
|
+
dl dd {
|
54
|
+
/*providing spacing for definition terms*/
|
55
|
+
margin-left:1em;
|
56
|
+
}
|
57
|
+
th,td {
|
58
|
+
/*borders and padding to make the table readable*/
|
59
|
+
border:1px solid #000;
|
60
|
+
padding:.5em;
|
61
|
+
}
|
62
|
+
th {
|
63
|
+
/*distinguishing table headers from data cells*/
|
64
|
+
font-weight:bold;
|
65
|
+
text-align:center;
|
66
|
+
}
|
67
|
+
caption {
|
68
|
+
/*coordinated margin to match cell's padding*/
|
69
|
+
margin-bottom:.5em;
|
70
|
+
/*centered so it doesn't blend in to other content*/
|
71
|
+
text-align:center;
|
72
|
+
}
|
73
|
+
p,fieldset,table,pre {
|
74
|
+
/*so things don't run into each other*/
|
75
|
+
margin-bottom:1em;
|
76
|
+
}
|
77
|
+
/* setting a consistent width, 160px;
|
78
|
+
control of type=file still not possible */
|
79
|
+
input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
h1{font-size:138.5%}h2{font-size:123.1%}h3{font-size:108%}h1,h2,h3{margin:1em 0}h1,h2,h3,h4,h5,h6,strong{font-weight:bold}abbr,acronym{border-bottom:1px dotted #000;cursor:help}em{font-style:italic}blockquote,ul,ol,dl{margin:1em}ol,ul,dl{margin-left:2em}ol{list-style:decimal outside}ul{list-style:disc outside}dl dd{margin-left:1em}th,td{border:1px solid #000;padding:.5em}th{font-weight:bold;text-align:center}caption{margin-bottom:.5em;text-align:center}p,fieldset,table,pre{margin-bottom:1em}input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
/**
|
8
|
+
* Percents could work for IE, but for backCompat purposes, we are using keywords.
|
9
|
+
* x-small is for IE6/7 quirks mode.
|
10
|
+
*/
|
11
|
+
.yui3-cssfonts body, .yui3-cssfonts {
|
12
|
+
font:13px/1.231 arial,helvetica,clean,sans-serif;
|
13
|
+
*font-size:small; /* for IE */
|
14
|
+
*font:x-small; /* for IE in quirks mode */
|
15
|
+
}
|
16
|
+
|
17
|
+
/**
|
18
|
+
* Nudge down to get to 13px equivalent for these form elements
|
19
|
+
*/
|
20
|
+
.yui3-cssfonts select,
|
21
|
+
.yui3-cssfonts input,
|
22
|
+
.yui3-cssfonts button,
|
23
|
+
.yui3-cssfonts textarea {
|
24
|
+
font:99% arial,helvetica,clean,sans-serif;
|
25
|
+
}
|
26
|
+
|
27
|
+
/**
|
28
|
+
* To help tables remember to inherit
|
29
|
+
*/
|
30
|
+
.yui3-cssfonts table {
|
31
|
+
font-size:inherit;
|
32
|
+
font:100%;
|
33
|
+
}
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Bump up IE to get to 13px equivalent for these fixed-width elements
|
37
|
+
*/
|
38
|
+
.yui3-cssfonts pre,
|
39
|
+
.yui3-cssfonts code,
|
40
|
+
.yui3-cssfonts kbd,
|
41
|
+
.yui3-cssfonts samp,
|
42
|
+
.yui3-cssfonts tt {
|
43
|
+
font-family:monospace;
|
44
|
+
*font-size:108%;
|
45
|
+
line-height:100%;
|
46
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
.yui3-cssfonts body,.yui3-cssfonts{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small}.yui3-cssfonts select,.yui3-cssfonts input,.yui3-cssfonts button,.yui3-cssfonts textarea{font:99% arial,helvetica,clean,sans-serif}.yui3-cssfonts table{font-size:inherit;font:100%}.yui3-cssfonts pre,.yui3-cssfonts code,.yui3-cssfonts kbd,.yui3-cssfonts samp,.yui3-cssfonts tt{font-family:monospace;*font-size:108%;line-height:100%}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
/**
|
8
|
+
* Percents could work for IE, but for backCompat purposes, we are using keywords.
|
9
|
+
* x-small is for IE6/7 quirks mode.
|
10
|
+
*/
|
11
|
+
body {
|
12
|
+
font:13px/1.231 arial,helvetica,clean,sans-serif;
|
13
|
+
*font-size:small; /* for IE */
|
14
|
+
*font:x-small; /* for IE in quirks mode */
|
15
|
+
}
|
16
|
+
|
17
|
+
/**
|
18
|
+
* Nudge down to get to 13px equivalent for these form elements
|
19
|
+
*/
|
20
|
+
select,
|
21
|
+
input,
|
22
|
+
button,
|
23
|
+
textarea {
|
24
|
+
font:99% arial,helvetica,clean,sans-serif;
|
25
|
+
}
|
26
|
+
|
27
|
+
/**
|
28
|
+
* To help tables remember to inherit
|
29
|
+
*/
|
30
|
+
table {
|
31
|
+
font-size:inherit;
|
32
|
+
font:100%;
|
33
|
+
}
|
34
|
+
|
35
|
+
/**
|
36
|
+
* Bump up IE to get to 13px equivalent for these fixed-width elements
|
37
|
+
*/
|
38
|
+
pre,
|
39
|
+
code,
|
40
|
+
kbd,
|
41
|
+
samp,
|
42
|
+
tt {
|
43
|
+
font-family:monospace;
|
44
|
+
*font-size:108%;
|
45
|
+
line-height:100%;
|
46
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small}select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif}table{font-size:inherit;font:100%}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%}
|
@@ -0,0 +1,125 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
/*e
|
8
|
+
TODO will need to remove settings on HTML since we can't namespace it.
|
9
|
+
TODO with the prefix, should I group by selector or property for weight savings?
|
10
|
+
*/
|
11
|
+
.yui3-cssreset html{
|
12
|
+
color:#000;
|
13
|
+
background:#FFF;
|
14
|
+
}
|
15
|
+
/*
|
16
|
+
TODO remove settings on BODY since we can't namespace it.
|
17
|
+
*/
|
18
|
+
/*
|
19
|
+
TODO test putting a class on HEAD.
|
20
|
+
- Fails on FF.
|
21
|
+
*/
|
22
|
+
.yui3-cssreset body,
|
23
|
+
.yui3-cssreset div,
|
24
|
+
.yui3-cssreset dl,
|
25
|
+
.yui3-cssreset dt,
|
26
|
+
.yui3-cssreset dd,
|
27
|
+
.yui3-cssreset ul,
|
28
|
+
.yui3-cssreset ol,
|
29
|
+
.yui3-cssreset li,
|
30
|
+
.yui3-cssreset h1,
|
31
|
+
.yui3-cssreset h2,
|
32
|
+
.yui3-cssreset h3,
|
33
|
+
.yui3-cssreset h4,
|
34
|
+
.yui3-cssreset h5,
|
35
|
+
.yui3-cssreset h6,
|
36
|
+
.yui3-cssreset pre,
|
37
|
+
.yui3-cssreset code,
|
38
|
+
.yui3-cssreset form,
|
39
|
+
.yui3-cssreset fieldset,
|
40
|
+
.yui3-cssreset legend,
|
41
|
+
.yui3-cssreset input,
|
42
|
+
.yui3-cssreset textarea,
|
43
|
+
.yui3-cssreset p,
|
44
|
+
.yui3-cssreset blockquote,
|
45
|
+
.yui3-cssreset th,
|
46
|
+
.yui3-cssreset td {
|
47
|
+
margin:0;
|
48
|
+
padding:0;
|
49
|
+
}
|
50
|
+
.yui3-cssreset table {
|
51
|
+
border-collapse:collapse;
|
52
|
+
border-spacing:0;
|
53
|
+
}
|
54
|
+
.yui3-cssreset fieldset,
|
55
|
+
.yui3-cssreset img {
|
56
|
+
border:0;
|
57
|
+
}
|
58
|
+
/*
|
59
|
+
TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit...
|
60
|
+
*/
|
61
|
+
.yui3-cssreset address,
|
62
|
+
.yui3-cssreset caption,
|
63
|
+
.yui3-cssreset cite,
|
64
|
+
.yui3-cssreset code,
|
65
|
+
.yui3-cssreset dfn,
|
66
|
+
.yui3-cssreset em,
|
67
|
+
.yui3-cssreset strong,
|
68
|
+
.yui3-cssreset th,
|
69
|
+
.yui3-cssreset var {
|
70
|
+
font-style:normal;
|
71
|
+
font-weight:normal;
|
72
|
+
}
|
73
|
+
|
74
|
+
.yui3-cssreset ol,
|
75
|
+
.yui3-cssreset ul {
|
76
|
+
list-style:none;
|
77
|
+
}
|
78
|
+
|
79
|
+
.yui3-cssreset caption,
|
80
|
+
.yui3-cssreset th {
|
81
|
+
text-align:left;
|
82
|
+
}
|
83
|
+
.yui3-cssreset h1,
|
84
|
+
.yui3-cssreset h2,
|
85
|
+
.yui3-cssreset h3,
|
86
|
+
.yui3-cssreset h4,
|
87
|
+
.yui3-cssreset h5,
|
88
|
+
.yui3-cssreset h6 {
|
89
|
+
font-size:100%;
|
90
|
+
font-weight:normal;
|
91
|
+
}
|
92
|
+
.yui3-cssreset q:before,
|
93
|
+
.yui3-cssreset q:after {
|
94
|
+
content:'';
|
95
|
+
}
|
96
|
+
.yui3-cssreset abbr,
|
97
|
+
.yui3-cssreset acronym {
|
98
|
+
border:0;
|
99
|
+
font-variant:normal;
|
100
|
+
}
|
101
|
+
/* to preserve line-height and selector appearance */
|
102
|
+
.yui3-cssreset sup {
|
103
|
+
vertical-align:text-top;
|
104
|
+
}
|
105
|
+
.yui3-cssreset sub {
|
106
|
+
vertical-align:text-bottom;
|
107
|
+
}
|
108
|
+
.yui3-cssreset input,
|
109
|
+
.yui3-cssreset textarea,
|
110
|
+
.yui3-cssreset select {
|
111
|
+
font-family:inherit;
|
112
|
+
font-size:inherit;
|
113
|
+
font-weight:inherit;
|
114
|
+
}
|
115
|
+
/*to enable resizing for IE*/
|
116
|
+
.yui3-cssreset input,
|
117
|
+
.yui3-cssreset textarea,
|
118
|
+
.yui3-cssreset select {
|
119
|
+
*font-size:100%;
|
120
|
+
}
|
121
|
+
/*because legend doesn't inherit in IE */
|
122
|
+
.yui3-cssreset legend {
|
123
|
+
color:#000;
|
124
|
+
}
|
125
|
+
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
YUI 3.4.1 (build 4118)
|
3
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
4
|
+
Licensed under the BSD License.
|
5
|
+
http://yuilibrary.com/license/
|
6
|
+
*/
|
7
|
+
.yui3-cssreset html{color:#000;background:#FFF}.yui3-cssreset body,.yui3-cssreset div,.yui3-cssreset dl,.yui3-cssreset dt,.yui3-cssreset dd,.yui3-cssreset ul,.yui3-cssreset ol,.yui3-cssreset li,.yui3-cssreset h1,.yui3-cssreset h2,.yui3-cssreset h3,.yui3-cssreset h4,.yui3-cssreset h5,.yui3-cssreset h6,.yui3-cssreset pre,.yui3-cssreset code,.yui3-cssreset form,.yui3-cssreset fieldset,.yui3-cssreset legend,.yui3-cssreset input,.yui3-cssreset textarea,.yui3-cssreset p,.yui3-cssreset blockquote,.yui3-cssreset th,.yui3-cssreset td{margin:0;padding:0}.yui3-cssreset table{border-collapse:collapse;border-spacing:0}.yui3-cssreset fieldset,.yui3-cssreset img{border:0}.yui3-cssreset address,.yui3-cssreset caption,.yui3-cssreset cite,.yui3-cssreset code,.yui3-cssreset dfn,.yui3-cssreset em,.yui3-cssreset strong,.yui3-cssreset th,.yui3-cssreset var{font-style:normal;font-weight:normal}.yui3-cssreset ol,.yui3-cssreset ul{list-style:none}.yui3-cssreset caption,.yui3-cssreset th{text-align:left}.yui3-cssreset h1,.yui3-cssreset h2,.yui3-cssreset h3,.yui3-cssreset h4,.yui3-cssreset h5,.yui3-cssreset h6{font-size:100%;font-weight:normal}.yui3-cssreset q:before,.yui3-cssreset q:after{content:''}.yui3-cssreset abbr,.yui3-cssreset acronym{border:0;font-variant:normal}.yui3-cssreset sup{vertical-align:text-top}.yui3-cssreset sub{vertical-align:text-bottom}.yui3-cssreset input,.yui3-cssreset textarea,.yui3-cssreset select{font-family:inherit;font-size:inherit;font-weight:inherit}.yui3-cssreset input,.yui3-cssreset textarea,.yui3-cssreset select{*font-size:100%}.yui3-cssreset legend{color:#000}
|
@@ -0,0 +1,252 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
|
3
|
+
Code licensed under the BSD License:
|
4
|
+
http://developer.yahoo.com/yui/license.html
|
5
|
+
version: 2.9.0
|
6
|
+
*/
|
7
|
+
/**
|
8
|
+
* YUI Reset
|
9
|
+
* @module reset
|
10
|
+
* @namespace
|
11
|
+
* @requires
|
12
|
+
*/
|
13
|
+
html {
|
14
|
+
color: #000;
|
15
|
+
background: #FFF;
|
16
|
+
}
|
17
|
+
|
18
|
+
body,
|
19
|
+
div,
|
20
|
+
dl,
|
21
|
+
dt,
|
22
|
+
dd,
|
23
|
+
ul,
|
24
|
+
ol,
|
25
|
+
li,
|
26
|
+
h1,
|
27
|
+
h2,
|
28
|
+
h3,
|
29
|
+
h4,
|
30
|
+
h5,
|
31
|
+
h6,
|
32
|
+
pre,
|
33
|
+
code,
|
34
|
+
form,
|
35
|
+
fieldset,
|
36
|
+
legend,
|
37
|
+
input,
|
38
|
+
button,
|
39
|
+
textarea,
|
40
|
+
select,
|
41
|
+
p,
|
42
|
+
blockquote,
|
43
|
+
th,
|
44
|
+
td {
|
45
|
+
margin: 0;
|
46
|
+
padding: 0;
|
47
|
+
}
|
48
|
+
|
49
|
+
table {
|
50
|
+
border-collapse: collapse;
|
51
|
+
border-spacing: 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
fieldset,
|
55
|
+
img {
|
56
|
+
border: 0;
|
57
|
+
}
|
58
|
+
|
59
|
+
address,
|
60
|
+
button,
|
61
|
+
caption,
|
62
|
+
cite,
|
63
|
+
code,
|
64
|
+
dfn,
|
65
|
+
em,
|
66
|
+
input,
|
67
|
+
optgroup,
|
68
|
+
option,
|
69
|
+
select,
|
70
|
+
strong,
|
71
|
+
textarea,
|
72
|
+
th,
|
73
|
+
var {
|
74
|
+
font:inherit;
|
75
|
+
}
|
76
|
+
|
77
|
+
del,
|
78
|
+
ins {
|
79
|
+
text-decoration: none;
|
80
|
+
}
|
81
|
+
|
82
|
+
li {
|
83
|
+
list-style: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
caption,
|
87
|
+
th {
|
88
|
+
text-align: left;
|
89
|
+
}
|
90
|
+
|
91
|
+
h1,
|
92
|
+
h2,
|
93
|
+
h3,
|
94
|
+
h4,
|
95
|
+
h5,
|
96
|
+
h6 {
|
97
|
+
font-size: 100%;
|
98
|
+
font-weight: normal;
|
99
|
+
}
|
100
|
+
|
101
|
+
q:before,
|
102
|
+
q:after {
|
103
|
+
content: '';
|
104
|
+
}
|
105
|
+
|
106
|
+
abbr,
|
107
|
+
acronym {
|
108
|
+
border: 0;
|
109
|
+
font-variant: normal;
|
110
|
+
}
|
111
|
+
|
112
|
+
sup {
|
113
|
+
vertical-align: baseline;
|
114
|
+
}
|
115
|
+
|
116
|
+
sub {
|
117
|
+
vertical-align: baseline;
|
118
|
+
}
|
119
|
+
|
120
|
+
/*because legend doesn't inherit in IE */
|
121
|
+
legend {
|
122
|
+
color: #000;
|
123
|
+
}
|
124
|
+
|
125
|
+
|
126
|
+
/*
|
127
|
+
YUI 3.4.1 (build 4118)
|
128
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
129
|
+
Licensed under the BSD License.
|
130
|
+
http://yuilibrary.com/license/
|
131
|
+
*/
|
132
|
+
/* base.css, part of YUI's CSS Foundation */
|
133
|
+
h1 {
|
134
|
+
/*18px via YUI Fonts CSS foundation*/
|
135
|
+
font-size:138.5%;
|
136
|
+
}
|
137
|
+
h2 {
|
138
|
+
/*16px via YUI Fonts CSS foundation*/
|
139
|
+
font-size:123.1%;
|
140
|
+
}
|
141
|
+
h3 {
|
142
|
+
/*14px via YUI Fonts CSS foundation*/
|
143
|
+
font-size:108%;
|
144
|
+
}
|
145
|
+
h1,h2,h3 {
|
146
|
+
/* top & bottom margin based on font size */
|
147
|
+
margin:1em 0;
|
148
|
+
}
|
149
|
+
h1,h2,h3,h4,h5,h6,strong {
|
150
|
+
/*bringing boldness back to headers and the strong element*/
|
151
|
+
font-weight:bold;
|
152
|
+
}
|
153
|
+
abbr,acronym {
|
154
|
+
/*indicating to users that more info is available */
|
155
|
+
border-bottom:1px dotted #000;
|
156
|
+
cursor:help;
|
157
|
+
}
|
158
|
+
em {
|
159
|
+
/*bringing italics back to the em element*/
|
160
|
+
font-style:italic;
|
161
|
+
}
|
162
|
+
blockquote,ul,ol,dl {
|
163
|
+
/*giving blockquotes and lists room to breath*/
|
164
|
+
margin:1em;
|
165
|
+
}
|
166
|
+
ol,ul,dl {
|
167
|
+
/*bringing lists on to the page with breathing room */
|
168
|
+
margin-left:2em;
|
169
|
+
}
|
170
|
+
ol {
|
171
|
+
/*giving OL's LIs generated numbers*/
|
172
|
+
list-style: decimal outside;
|
173
|
+
}
|
174
|
+
ul {
|
175
|
+
/*giving UL's LIs generated disc markers*/
|
176
|
+
list-style: disc outside;
|
177
|
+
}
|
178
|
+
dl dd {
|
179
|
+
/*providing spacing for definition terms*/
|
180
|
+
margin-left:1em;
|
181
|
+
}
|
182
|
+
th,td {
|
183
|
+
/*borders and padding to make the table readable*/
|
184
|
+
border:1px solid #000;
|
185
|
+
padding:.5em;
|
186
|
+
}
|
187
|
+
th {
|
188
|
+
/*distinguishing table headers from data cells*/
|
189
|
+
font-weight:bold;
|
190
|
+
text-align:center;
|
191
|
+
}
|
192
|
+
caption {
|
193
|
+
/*coordinated margin to match cell's padding*/
|
194
|
+
margin-bottom:.5em;
|
195
|
+
/*centered so it doesn't blend in to other content*/
|
196
|
+
text-align:center;
|
197
|
+
}
|
198
|
+
p,fieldset,table,pre {
|
199
|
+
/*so things don't run into each other*/
|
200
|
+
margin-bottom:1em;
|
201
|
+
}
|
202
|
+
/* setting a consistent width, 160px;
|
203
|
+
control of type=file still not possible */
|
204
|
+
input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
|
205
|
+
|
206
|
+
|
207
|
+
/*
|
208
|
+
YUI 3.4.1 (build 4118)
|
209
|
+
Copyright 2011 Yahoo! Inc. All rights reserved.
|
210
|
+
Licensed under the BSD License.
|
211
|
+
http://yuilibrary.com/license/
|
212
|
+
*/
|
213
|
+
/**
|
214
|
+
* Percents could work for IE, but for backCompat purposes, we are using keywords.
|
215
|
+
* x-small is for IE6/7 quirks mode.
|
216
|
+
*/
|
217
|
+
body {
|
218
|
+
font:13px/1.231 arial,helvetica,clean,sans-serif;
|
219
|
+
*font-size:small; /* for IE */
|
220
|
+
*font:x-small; /* for IE in quirks mode */
|
221
|
+
}
|
222
|
+
|
223
|
+
/**
|
224
|
+
* Nudge down to get to 13px equivalent for these form elements
|
225
|
+
*/
|
226
|
+
select,
|
227
|
+
input,
|
228
|
+
button,
|
229
|
+
textarea {
|
230
|
+
font:99% arial,helvetica,clean,sans-serif;
|
231
|
+
}
|
232
|
+
|
233
|
+
/**
|
234
|
+
* To help tables remember to inherit
|
235
|
+
*/
|
236
|
+
table {
|
237
|
+
font-size:inherit;
|
238
|
+
font:100%;
|
239
|
+
}
|
240
|
+
|
241
|
+
/**
|
242
|
+
* Bump up IE to get to 13px equivalent for these fixed-width elements
|
243
|
+
*/
|
244
|
+
pre,
|
245
|
+
code,
|
246
|
+
kbd,
|
247
|
+
samp,
|
248
|
+
tt {
|
249
|
+
font-family:monospace;
|
250
|
+
*font-size:108%;
|
251
|
+
line-height:100%;
|
252
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
/*
|
2
|
+
Copyright (c) 2011, Yahoo! Inc. All rights reserved.
|
3
|
+
Code licensed under the BSD License:
|
4
|
+
http://developer.yahoo.com/yui/license.html
|
5
|
+
version: 2.9.0
|
6
|
+
*/
|
7
|
+
html{color:#000;background:#FFF}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,select,p,blockquote,th,td{margin:0;padding:0}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}address,button,caption,cite,code,dfn,em,input,optgroup,option,select,strong,textarea,th,var{font:inherit}del,ins{text-decoration:none}li{list-style:none}caption,th{text-align:left}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal}q:before,q:after{content:''}abbr,acronym{border:0;font-variant:normal}sup{vertical-align:baseline}sub{vertical-align:baseline}legend{color:#000}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "yui_reset_rails/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "yui_reset_rails"
|
7
|
+
s.version = Yui::Reset::Rails::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Jhimy Fernandes Villar"]
|
10
|
+
s.email = ["stjhimy@gmail.com"]
|
11
|
+
s.homepage = "https://github.com/stjhimy/yui_reset_rails"
|
12
|
+
s.summary = %q{YUI css reset for rails 3 projects}
|
13
|
+
s.description = %q{YUI css reset for rails 3 projects}
|
14
|
+
|
15
|
+
s.rubyforge_project = "yui_reset_rails"
|
16
|
+
|
17
|
+
s.files = `git ls-files`.split("\n")
|
18
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
19
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
|
22
|
+
s.add_dependency "railties", "~> 3.1"
|
23
|
+
s.add_dependency "thor", "~> 0.14"
|
24
|
+
s.add_development_dependency "bundler", "~> 1.0.0"
|
25
|
+
s.add_development_dependency "rails", "~> 3.1"
|
26
|
+
end
|
27
|
+
|
metadata
ADDED
@@ -0,0 +1,148 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yui_reset_rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Jhimy Fernandes Villar
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-10-15 00:00:00 -03:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: railties
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 5
|
30
|
+
segments:
|
31
|
+
- 3
|
32
|
+
- 1
|
33
|
+
version: "3.1"
|
34
|
+
type: :runtime
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: thor
|
38
|
+
prerelease: false
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 23
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
- 14
|
48
|
+
version: "0.14"
|
49
|
+
type: :runtime
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: bundler
|
53
|
+
prerelease: false
|
54
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
55
|
+
none: false
|
56
|
+
requirements:
|
57
|
+
- - ~>
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
hash: 23
|
60
|
+
segments:
|
61
|
+
- 1
|
62
|
+
- 0
|
63
|
+
- 0
|
64
|
+
version: 1.0.0
|
65
|
+
type: :development
|
66
|
+
version_requirements: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: rails
|
69
|
+
prerelease: false
|
70
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
71
|
+
none: false
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
hash: 5
|
76
|
+
segments:
|
77
|
+
- 3
|
78
|
+
- 1
|
79
|
+
version: "3.1"
|
80
|
+
type: :development
|
81
|
+
version_requirements: *id004
|
82
|
+
description: YUI css reset for rails 3 projects
|
83
|
+
email:
|
84
|
+
- stjhimy@gmail.com
|
85
|
+
executables: []
|
86
|
+
|
87
|
+
extensions: []
|
88
|
+
|
89
|
+
extra_rdoc_files: []
|
90
|
+
|
91
|
+
files:
|
92
|
+
- .gitignore
|
93
|
+
- Gemfile
|
94
|
+
- README.md
|
95
|
+
- Rakefile
|
96
|
+
- lib/yui_reset_rails.rb
|
97
|
+
- lib/yui_reset_rails/engine.rb
|
98
|
+
- lib/yui_reset_rails/railtie.rb
|
99
|
+
- lib/yui_reset_rails/version.rb
|
100
|
+
- vendor/assets/stylesheets/yui-css-base-context.css
|
101
|
+
- vendor/assets/stylesheets/yui-css-base-context.min.css
|
102
|
+
- vendor/assets/stylesheets/yui-css-base.css
|
103
|
+
- vendor/assets/stylesheets/yui-css-base.min.css
|
104
|
+
- vendor/assets/stylesheets/yui-css-fonts-context.css
|
105
|
+
- vendor/assets/stylesheets/yui-css-fonts-context.min.css
|
106
|
+
- vendor/assets/stylesheets/yui-css-fonts.css
|
107
|
+
- vendor/assets/stylesheets/yui-css-fonts.min.css
|
108
|
+
- vendor/assets/stylesheets/yui-css-reset-context.css
|
109
|
+
- vendor/assets/stylesheets/yui-css-reset-context.min.css
|
110
|
+
- vendor/assets/stylesheets/yui-css-reset.css
|
111
|
+
- vendor/assets/stylesheets/yui-css-reset.min.css
|
112
|
+
- yui_reset_rails.gemspec
|
113
|
+
has_rdoc: true
|
114
|
+
homepage: https://github.com/stjhimy/yui_reset_rails
|
115
|
+
licenses: []
|
116
|
+
|
117
|
+
post_install_message:
|
118
|
+
rdoc_options: []
|
119
|
+
|
120
|
+
require_paths:
|
121
|
+
- lib
|
122
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
123
|
+
none: false
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
hash: 3
|
128
|
+
segments:
|
129
|
+
- 0
|
130
|
+
version: "0"
|
131
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
hash: 3
|
137
|
+
segments:
|
138
|
+
- 0
|
139
|
+
version: "0"
|
140
|
+
requirements: []
|
141
|
+
|
142
|
+
rubyforge_project: yui_reset_rails
|
143
|
+
rubygems_version: 1.6.2
|
144
|
+
signing_key:
|
145
|
+
specification_version: 3
|
146
|
+
summary: YUI css reset for rails 3 projects
|
147
|
+
test_files: []
|
148
|
+
|