fume 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/VERSION.yml +1 -1
  2. data/fume.gemspec +12 -35
  3. data/generators/fume/simple_theme/templates/public/demo.html +42 -6
  4. data/generators/fume/simple_theme/templates/public/javascripts/jquery.corner-2.03.js +203 -0
  5. data/generators/fume/simple_theme/templates/public/javascripts/jquery.timepicker-0.2.1.js +413 -0
  6. data/generators/fume/simple_theme/templates/public/javascripts/simple-theme-ie-patch.js +19 -0
  7. data/generators/fume/simple_theme/templates/public/stylesheets/simple-theme.css +122 -175
  8. data/generators/fume/simple_theme/templates/public/stylesheets/simple-theme.less +21 -3
  9. data/generators/fume/simple_theme/templates/public/stylesheets/src/base.less +9 -0
  10. data/generators/fume/simple_theme/templates/public/stylesheets/src/function.less +17 -0
  11. data/generators/fume/simple_theme/templates/public/stylesheets/{layout.less → src/layout.less} +30 -11
  12. data/generators/fume/simple_theme/templates/public/stylesheets/src/reset.less +18 -0
  13. data/generators/fume/simple_theme/templates/public/stylesheets/src/vendor/yui-3.0/base.css +80 -0
  14. data/generators/fume/simple_theme/templates/public/stylesheets/src/vendor/yui-3.0/fonts.css +47 -0
  15. data/generators/fume/simple_theme/templates/public/stylesheets/src/vendor/yui-3.0/reset.css +126 -0
  16. metadata +12 -35
  17. data/generators/fume/simple_theme/templates/public/stylesheets/base.less +0 -49
  18. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/ie.css +0 -27
  19. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/icons/cross.png +0 -0
  20. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/icons/key.png +0 -0
  21. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/icons/tick.png +0 -0
  22. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/readme.txt +0 -32
  23. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/buttons/screen.css +0 -97
  24. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/fancy-type/readme.txt +0 -14
  25. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/fancy-type/screen.css +0 -71
  26. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/doc.png +0 -0
  27. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/email.png +0 -0
  28. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/external.png +0 -0
  29. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/feed.png +0 -0
  30. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/im.png +0 -0
  31. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/pdf.png +0 -0
  32. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/visited.png +0 -0
  33. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/xls.png +0 -0
  34. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/readme.txt +0 -18
  35. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/link-icons/screen.css +0 -40
  36. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/rtl/readme.txt +0 -10
  37. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/plugins/rtl/screen.css +0 -109
  38. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/print.css +0 -30
  39. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/screen.css +0 -251
  40. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/forms.css +0 -49
  41. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/grid.css +0 -269
  42. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/grid.png +0 -0
  43. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/ie.css +0 -61
  44. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/print.css +0 -85
  45. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/reset.css +0 -38
  46. data/generators/fume/simple_theme/templates/public/stylesheets/blueprint-0.9.1/src/typography.css +0 -105
  47. data/generators/fume/simple_theme/templates/public/stylesheets/drastic-dark.less +0 -0
  48. data/generators/fume/simple_theme/templates/public/stylesheets/ie_patch.less +0 -4
@@ -1,182 +1,96 @@
1
- html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
1
+ html {
2
+ color: #000000;
3
+ background: #ffffff;
4
+ }
5
+ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
2
6
  margin: 0;
3
7
  padding: 0;
4
- border: 0;
5
- font-weight: inherit;
6
- font-style: inherit;
7
- font-size: 100%;
8
- font-family: inherit;
9
- vertical-align: baseline;
10
8
  }
11
- body { line-height: 1.5; }
12
9
  table {
13
- border-collapse: separate;
10
+ border-collapse: collapse;
14
11
  border-spacing: 0;
15
12
  }
16
- caption, th, td {
17
- text-align: left;
13
+ fieldset, img { border: 0; }
14
+ address, caption, cite, code, dfn, em, strong, th, var {
15
+ font-style: normal;
18
16
  font-weight: normal;
19
17
  }
20
- table, td, th { vertical-align: middle; }
21
- blockquote:before { content: ""; }
22
- blockquote:after { content: ""; }
23
- q:before { content: ""; }
24
- q:after { content: ""; }
25
- blockquote, q { quotes: "" ""; }
26
- a img { border: none; }
27
- body {
28
- font-size: 75%;
29
- color: #222222;
30
- background: #ffffff;
31
- font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
32
- }
18
+ li { list-style: none; }
19
+ caption, th { text-align: left; }
33
20
  h1, h2, h3, h4, h5, h6 {
21
+ font-size: 100%;
34
22
  font-weight: normal;
35
- color: #111111;
36
- }
37
- h1 {
38
- font-size: 3em;
39
- line-height: 1;
40
- margin-bottom: 0.5em;
41
- }
42
- h2 {
43
- font-size: 2em;
44
- margin-bottom: 0.75em;
45
- }
46
- h3 {
47
- font-size: 1.5em;
48
- line-height: 1;
49
- margin-bottom: 1em;
50
- }
51
- h4 {
52
- font-size: 1.2em;
53
- line-height: 1.25;
54
- margin-bottom: 1.25em;
55
23
  }
56
- h5 {
57
- font-size: 1em;
58
- font-weight: bold;
59
- margin-bottom: 1.5em;
60
- }
61
- h6 {
62
- font-size: 1em;
63
- font-weight: bold;
64
- }
65
- h1 img { margin: 0; }
66
- h2 img { margin: 0; }
67
- h3 img { margin: 0; }
68
- h4 img { margin: 0; }
69
- h5 img { margin: 0; }
70
- h6 img { margin: 0; }
71
- p { margin: 0 0 1.5em; }
72
- p img.left {
73
- float: left;
74
- margin: 1.5em 1.5em 1.5em 0;
75
- padding: 0;
76
- }
77
- p img.right {
78
- float: right;
79
- margin: 1.5em 0 1.5em 1.5em;
80
- }
81
- a:focus { color: #000000; }
82
- a:hover { color: #000000; }
83
- a {
84
- color: #000099;
85
- text-decoration: underline;
24
+ q:before { content: ''; }
25
+ q:after { content: ''; }
26
+ abbr, acronym {
27
+ border: 0;
28
+ font-variant: normal;
86
29
  }
87
- blockquote {
88
- margin: 1.5em;
89
- color: #666666;
90
- font-style: italic;
30
+ sup { vertical-align: text-top; }
31
+ sub { vertical-align: text-bottom; }
32
+ input, textarea, select {
33
+ font-family: inherit;
34
+ font-size: inherit;
35
+ font-weight: inherit;
91
36
  }
92
- strong { font-weight: bold; }
93
- em, dfn { font-style: italic; }
94
- dfn { font-weight: bold; }
95
- sup, sub { line-height: 0; }
96
- abbr, acronym { border-bottom: 1px dotted #666666; }
97
- address {
98
- margin: 0 0 1.5em;
99
- font-style: italic;
37
+ input, textarea, select { *font-size: 100%; }
38
+ legend { color: #000000; }
39
+ body {
40
+ font: 13px/1.231 arial, helvetica, clean, sans-serif;
41
+ *font-size: small;
42
+ *font: x-small;
100
43
  }
101
- del { color: #666666; }
102
- pre {
103
- margin: 1.5em 0;
104
- white-space: pre;
105
- }
106
- pre, code, tt {
107
- font: 1em 'andale mono', 'lucida console', monospace;
108
- line-height: 1.5;
109
- }
110
- li ul { margin: 0 1.5em; }
111
- li ol { margin: 0 1.5em; }
112
- ul, ol { margin: 0 1.5em 1.5em 1.5em; }
113
- ul { list-style-type: disc; }
114
- ol { list-style-type: decimal; }
115
- dl { margin: 0 0 1.5em 0; }
116
- dl dt { font-weight: bold; }
117
- dd { margin-left: 1.5em; }
44
+ select, input, button, textarea { font: 99% arial, helvetica, clean, sans-serif; }
118
45
  table {
119
- margin-bottom: 1.4em;
120
- width: 100%;
121
- }
122
- th { font-weight: bold; }
123
- thead th { background: #c3d9ff; }
124
- th, td, caption { padding: 4px 10px 4px 5px; }
125
- tr.even td { background: #e5ecf9; }
126
- tfoot { font-style: italic; }
127
- caption { background: #eeeeee; }
128
- .small {
129
- font-size: 0.8em;
130
- margin-bottom: 1.875em;
131
- line-height: 1.875em;
132
- }
133
- .large {
134
- font-size: 1.2em;
135
- line-height: 2.5em;
136
- margin-bottom: 1.25em;
137
- }
138
- .hide { display: none; }
139
- .quiet { color: #666666; }
140
- .loud { color: #000000; }
141
- .highlight { background: #ffff00; }
142
- .added {
143
- background: #006600;
144
- color: #ffffff;
145
- }
146
- .removed {
147
- background: #990000;
148
- color: #ffffff;
149
- }
150
- .first {
151
- margin-left: 0;
152
- padding-left: 0;
153
- }
154
- .last {
155
- margin-right: 0;
156
- padding-right: 0;
46
+ font-size: inherit;
47
+ font: 100%;
48
+ }
49
+ pre, code, kbd, samp, tt {
50
+ font-family: monospace;
51
+ *font-size: 108%;
52
+ line-height: 100%;
53
+ }
54
+ h1 { font-size: 138.5%; }
55
+ h2 { font-size: 123.1%; }
56
+ h3 { font-size: 108%; }
57
+ h1, h2, h3 { margin: 1em 0; }
58
+ h1, h2, h3, h4, h5, h6, strong { font-weight: bold; }
59
+ abbr, acronym {
60
+ border-bottom: 1px dotted #000000;
61
+ cursor: help;
62
+ }
63
+ em { font-style: italic; }
64
+ blockquote, ul, ol, dl { margin: 1em; }
65
+ ol, ul, dl { margin-left: 2em; }
66
+ ol li { list-style: decimal outside; }
67
+ ul li { list-style: disc outside; }
68
+ dl dd { margin-left: 1em; }
69
+ th, td {
70
+ border: 1px solid #000000;
71
+ padding: 0.5em;
72
+ }
73
+ th {
74
+ font-weight: bold;
75
+ text-align: center;
157
76
  }
158
- .top {
159
- margin-top: 0;
160
- padding-top: 0;
77
+ caption {
78
+ margin-bottom: 0.5em;
79
+ text-align: center;
161
80
  }
162
- .bottom {
163
- margin-bottom: 0;
164
- padding-bottom: 0;
81
+ p, fieldset, table, pre { margin-bottom: 1em; }
82
+ input[type=text], input[type=password], textarea {
83
+ width: 12.25em;
84
+ *width: 11.9em;
165
85
  }
166
- button, input, select, textarea {
167
- font-weight: inherit;
168
- font-style: inherit;
169
- font-size: 100%;
170
- font-family: inherit;
171
- vertical-align: baseline;
172
- }
173
- h1, h2 { margin: 15px 0; }
174
- h3, h4 { margin: 10px 0; }
175
- hr {
176
- height: 1px;
177
- border: 0;
86
+ ol li { list-style: none; }
87
+ ul li { list-style: none; }
88
+ th, td { border: none; }
89
+ input[type=text], input[type=password], textarea { width: auto; }
90
+ body {
91
+ line-height: 1;
92
+ font-size: 13px;
178
93
  }
179
- p { margin: 15px 0; }
180
94
  .clear { clear: both; }
181
95
  #container { min-width: 1050px; }
182
96
  #header, #page { margin: 0 40px; }
@@ -326,7 +240,6 @@ p { margin: 15px 0; }
326
240
  }
327
241
  #main-navigation ul li {
328
242
  float: left;
329
- margin-left: 1.2em;
330
243
  border-top-left-radius: 0.4em;
331
244
  -moz-border-radius-topleft: 0.4em;
332
245
  -webkit-border-top-left-radius: 0.4em;
@@ -336,10 +249,9 @@ p { margin: 15px 0; }
336
249
  }
337
250
  #main-navigation ul li a {
338
251
  display: block;
339
- padding: 0.7em 0em;
252
+ padding: 0.7em 1.2em;
340
253
  text-decoration: none;
341
254
  }
342
- #main-navigation ul li.active a { padding: 0.7em 1.2em; }
343
255
  #user-navigation {
344
256
  position: absolute;
345
257
  right: 1.5em;
@@ -399,16 +311,43 @@ p { margin: 15px 0; }
399
311
  .table td form { display: inline; }
400
312
  .table td form div { display: inline; }
401
313
  .table td.last { text-align: right; }
402
- .actions-bar { padding: 1em 1px; }
403
- .actions-bar .actions { float: left; }
314
+ .actions-bar {
315
+ padding: 1em 1px;
316
+ line-height: 2;
317
+ }
318
+ .actions-bar .actions {
319
+ float: left;
320
+ line-height: 1;
321
+ }
322
+ .actions-bar .actions a {
323
+ margin-right: 0.45em;
324
+ padding: 0.35em 0.45em;
325
+ display: block;
326
+ border-radius: 0.25em;
327
+ -moz-border-radius: 0.25em;
328
+ -webkit-border-radius: 0.25em;
329
+ text-decoration: none;
330
+ float: left;
331
+ }
332
+ .actions-bar .actions input {
333
+ margin-right: 0.45em;
334
+ padding: 0.35em 0.45em;
335
+ display: block;
336
+ border-radius: 0.25em;
337
+ -moz-border-radius: 0.25em;
338
+ -webkit-border-radius: 0.25em;
339
+ text-decoration: none;
340
+ float: left;
341
+ }
404
342
  .actions-bar .pagination {
343
+ line-height: 1;
405
344
  float: right;
406
345
  padding: 1px 0;
407
346
  }
408
347
  .pagination a {
409
348
  display: block;
410
349
  float: left;
411
- padding: 0.25em 0.45em;
350
+ padding: 0.35em 0.45em;
412
351
  margin-right: 0.45em;
413
352
  border-style: solid;
414
353
  border-width: 1px;
@@ -419,7 +358,7 @@ p { margin: 15px 0; }
419
358
  .pagination span {
420
359
  display: block;
421
360
  float: left;
422
- padding: 0.25em 0.45em;
361
+ padding: 0.35em 0.45em;
423
362
  margin-right: 0.45em;
424
363
  border-style: solid;
425
364
  border-width: 1px;
@@ -499,6 +438,12 @@ ul.list li .item .avatar {
499
438
  width: 30px;
500
439
  height: 30px;
501
440
  }
441
+ .ui-datepicker select.ui-datepicker-month { width: 48%; }
442
+ .ui-datepicker select.ui-datepicker-year { width: 48%; }
443
+ .ui-widget {
444
+ font-size: 93%;
445
+ line-height: 1;
446
+ }
502
447
  #color_schemes {
503
448
  nav: #ffffff;
504
449
  nav-bg: #36393d;
@@ -619,6 +564,16 @@ body {
619
564
  .table th a { color: #ffffff; }
620
565
  .table td { border-bottom: 1px solid #f0f0ee; }
621
566
  .table tr.even { background: #ebebeb; }
567
+ .actions-bar .actions a {
568
+ background: #cfcfcf;
569
+ border: 1px solid #c1c1c1;
570
+ }
571
+ .actions-bar .actions a:hover { border: 1px solid #36393d; }
572
+ .actions-bar .actions input {
573
+ background: #cfcfcf;
574
+ border: 1px solid #c1c1c1;
575
+ }
576
+ .actions-bar .actions input:hover { border: 1px solid #36393d; }
622
577
  .pagination a {
623
578
  background: #cfcfcf;
624
579
  border: 1px solid #c1c1c1;
@@ -847,11 +802,3 @@ hr {
847
802
  background: #f0f0ee;
848
803
  color: #f0f0ee;
849
804
  }
850
- * html #header {
851
- width: 1120px;
852
- margin: 0 auto;
853
- }
854
- * html #page {
855
- width: 1120px;
856
- margin: 0 auto;
857
- }
@@ -1,5 +1,8 @@
1
- @import "layout.less";
2
- @import "drastic-dark.less";
1
+ @import "src/function.less";
2
+ @import "src/reset.less";
3
+ @import "src/base.less";
4
+ @import "src/layout.less";
5
+
3
6
 
4
7
  /*
5
8
  Drastic Dark
@@ -16,6 +19,7 @@ dark blue #0B43A8
16
19
 
17
20
  */
18
21
 
22
+
19
23
  #color_schemes {
20
24
  nav: #ffffff;
21
25
  nav-bg: #36393d;
@@ -26,6 +30,8 @@ dark blue #0B43A8
26
30
  body-color: #222;
27
31
  }
28
32
 
33
+ /*@import "drastic-dark.less";*/
34
+
29
35
  /* =========================
30
36
  Containers
31
37
  ========================= */
@@ -227,6 +233,19 @@ body {
227
233
  }
228
234
  }
229
235
 
236
+ .actions-bar {
237
+ .actions {
238
+ a, input {
239
+ background: #cfcfcf;
240
+ border: 1px solid #c1c1c1;
241
+
242
+ :hover {
243
+ border: 1px solid #color_schemes['nav-bg'];
244
+ }
245
+ }
246
+ }
247
+ }
248
+
230
249
  .pagination {
231
250
  a, span {
232
251
  background: #cfcfcf;
@@ -472,4 +491,3 @@ hr {
472
491
  }
473
492
 
474
493
 
475
- @import "ie_patch.less";
@@ -0,0 +1,9 @@
1
+ body {
2
+ line-height: 1;
3
+ font-size: 13px;
4
+ }
5
+
6
+ .clear {
7
+ clear: both;
8
+ }
9
+
@@ -0,0 +1,17 @@
1
+ .border-radius (@radius: 0) {
2
+ border-radius: @radius;
3
+ -moz-border-radius: @radius;
4
+ -webkit-border-radius: @radius;
5
+ }
6
+
7
+ .border-top-left-radius (@radius: 0) {
8
+ border-top-left-radius: @radius;
9
+ -moz-border-radius-topleft: @radius;
10
+ -webkit-border-top-left-radius: @radius;
11
+
12
+ }
13
+ .border-top-right-radius (@radius: 0) {
14
+ border-top-right-radius: @radius;
15
+ -moz-border-radius-topright: @radius;
16
+ -webkit-border-top-right-radius: @radius;
17
+ }
@@ -1,4 +1,4 @@
1
- @import "base.less";
1
+ @import "function.less";
2
2
 
3
3
  /* =========================
4
4
  Layout
@@ -197,20 +197,13 @@
197
197
 
198
198
  li {
199
199
  float: left;
200
- margin-left: 1.2em;
201
200
  .border-top-left-radius(0.4em);
202
201
  .border-top-right-radius(0.4em);
203
202
 
204
203
  a {
205
204
  display: block;
206
- padding: 0.7em 0em;
207
- text-decoration: none;
208
- }
209
- }
210
-
211
- li.active {
212
- a {
213
205
  padding: 0.7em 1.2em;
206
+ text-decoration: none;
214
207
  }
215
208
  }
216
209
  }
@@ -280,12 +273,24 @@
280
273
 
281
274
  .actions-bar {
282
275
  padding: 1em 1px;
276
+ line-height: 2;
283
277
 
284
278
  .actions {
285
279
  float: left;
280
+ line-height: 1;
281
+
282
+ a, input {
283
+ margin-right: 0.45em;
284
+ padding: 0.35em 0.45em;
285
+ display: block;
286
+ .border-radius(0.25em);
287
+ text-decoration: none;
288
+ float: left;
289
+ }
286
290
  }
287
291
 
288
292
  .pagination {
293
+ line-height: 1;
289
294
  float: right;
290
295
  padding: 1px 0;
291
296
  }
@@ -296,8 +301,8 @@
296
301
  display: block;
297
302
  float: left;
298
303
 
299
- padding: 0.25em 0.45em;
300
- margin-right: 0.45em;
304
+ padding: 0.35em 0.45em;
305
+ margin-right: 0.45em;
301
306
  border-style: solid;
302
307
  border-width: 1px;
303
308
  .border-radius(0.25em);
@@ -410,4 +415,18 @@ ul.list {
410
415
  }
411
416
  }
412
417
  }
418
+ }
419
+
420
+
421
+
422
+ /* =========================
423
+ Patch for Jquery UI
424
+ ========================= */
425
+ .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
426
+ width: 48%;
427
+ }
428
+
429
+ .ui-widget {
430
+ font-size: 93%;
431
+ line-height: 1;
413
432
  }
@@ -0,0 +1,18 @@
1
+ @import "vendor/yui-3.0/reset.css";
2
+ @import "vendor/yui-3.0/fonts.css";
3
+ @import "vendor/yui-3.0/base.css";
4
+
5
+
6
+ ol, ul{
7
+ li {
8
+ list-style: none;
9
+ }
10
+ }
11
+
12
+ th, td {
13
+ border: none;
14
+ }
15
+
16
+ input[type=text], input[type=password], textarea{
17
+ width: auto;
18
+ }
@@ -0,0 +1,80 @@
1
+ /*
2
+ Copyright (c) 2009, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.net/yui/license.txt
5
+ version: 3.0.0
6
+ build: 1549
7
+ */
8
+ /* base.css, part of YUI's CSS Foundation */
9
+ h1 {
10
+ /*18px via YUI Fonts CSS foundation*/
11
+ font-size:138.5%;
12
+ }
13
+ h2 {
14
+ /*16px via YUI Fonts CSS foundation*/
15
+ font-size:123.1%;
16
+ }
17
+ h3 {
18
+ /*14px via YUI Fonts CSS foundation*/
19
+ font-size:108%;
20
+ }
21
+ h1,h2,h3 {
22
+ /* top & bottom margin based on font size */
23
+ margin:1em 0;
24
+ }
25
+ h1,h2,h3,h4,h5,h6,strong {
26
+ /*bringing boldness back to headers and the strong element*/
27
+ font-weight:bold;
28
+ }
29
+ abbr,acronym {
30
+ /*indicating to users that more info is available */
31
+ border-bottom:1px dotted #000;
32
+ cursor:help;
33
+ }
34
+ em {
35
+ /*bringing italics back to the em element*/
36
+ font-style:italic;
37
+ }
38
+ blockquote,ul,ol,dl {
39
+ /*giving blockquotes and lists room to breath*/
40
+ margin:1em;
41
+ }
42
+ ol,ul,dl {
43
+ /*bringing lists on to the page with breathing room */
44
+ margin-left:2em;
45
+ }
46
+ ol li {
47
+ /*giving OL's LIs generated numbers*/
48
+ list-style: decimal outside;
49
+ }
50
+ ul li {
51
+ /*giving UL's LIs generated disc markers*/
52
+ list-style: disc outside;
53
+ }
54
+ dl dd {
55
+ /*providing spacing for definition terms*/
56
+ margin-left:1em;
57
+ }
58
+ th,td {
59
+ /*borders and padding to make the table readable*/
60
+ border:1px solid #000;
61
+ padding:.5em;
62
+ }
63
+ th {
64
+ /*distinguishing table headers from data cells*/
65
+ font-weight:bold;
66
+ text-align:center;
67
+ }
68
+ caption {
69
+ /*coordinated margin to match cell's padding*/
70
+ margin-bottom:.5em;
71
+ /*centered so it doesn't blend in to other content*/
72
+ text-align:center;
73
+ }
74
+ p,fieldset,table,pre {
75
+ /*so things don't run into each other*/
76
+ margin-bottom:1em;
77
+ }
78
+ /* setting a consistent width, 160px;
79
+ control of type=file still not possible */
80
+ input[type=text],input[type=password],textarea{width:12.25em;*width:11.9em;}
@@ -0,0 +1,47 @@
1
+ /*
2
+ Copyright (c) 2009, Yahoo! Inc. All rights reserved.
3
+ Code licensed under the BSD License:
4
+ http://developer.yahoo.net/yui/license.txt
5
+ version: 3.0.0
6
+ build: 1549
7
+ */
8
+ /**
9
+ * Percents could work for IE, but for backCompat purposes, we are using keywords.
10
+ * x-small is for IE6/7 quirks mode.
11
+ */
12
+ body {
13
+ font:13px/1.231 arial,helvetica,clean,sans-serif;
14
+ *font-size:small; /* for IE */
15
+ *font:x-small; /* for IE in quirks mode */
16
+ }
17
+
18
+ /**
19
+ * Nudge down to get to 13px equivalent for these form elements
20
+ */
21
+ select,
22
+ input,
23
+ button,
24
+ textarea {
25
+ font:99% arial,helvetica,clean,sans-serif;
26
+ }
27
+
28
+ /**
29
+ * To help tables remember to inherit
30
+ */
31
+ table {
32
+ font-size:inherit;
33
+ font:100%;
34
+ }
35
+
36
+ /**
37
+ * Bump up IE to get to 13px equivalent for these fixed-width elements
38
+ */
39
+ pre,
40
+ code,
41
+ kbd,
42
+ samp,
43
+ tt {
44
+ font-family:monospace;
45
+ *font-size:108%;
46
+ line-height:100%;
47
+ }