mabtie 0.0.1
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/README.md +100 -0
- data/Rakefile +23 -0
- data/app/controllers/flutie/styleguides_controller.rb +27 -0
- data/app/views/flutie/styleguides/show.erb +742 -0
- data/app/views/layouts/flutie.erb +30 -0
- data/config/initializers/expansion.rb +1 -0
- data/config/initializers/sass.rb +3 -0
- data/config/routes.rb +5 -0
- data/lib/flutie/engine.rb +6 -0
- data/lib/flutie.rb +3 -0
- data/lib/tasks/flutie.rake +17 -0
- data/public/stylesheets/flutie.css +687 -0
- data/public/stylesheets/sass/_defaults.scss +147 -0
- data/public/stylesheets/sass/_forms.scss +315 -0
- data/public/stylesheets/sass/_lists.scss +40 -0
- data/public/stylesheets/sass/_reset.scss +54 -0
- data/public/stylesheets/sass/_screen.scss +0 -0
- data/public/stylesheets/sass/_tables.scss +35 -0
- data/public/stylesheets/sass/_type.scss +139 -0
- data/public/stylesheets/sass/flutie.scss +7 -0
- metadata +104 -0
@@ -0,0 +1,687 @@
|
|
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
|
+
article, aside, details, figcaption, figure,
|
27
|
+
footer, header, hgroup, menu, nav, section {
|
28
|
+
display: block; }
|
29
|
+
|
30
|
+
nav ul {
|
31
|
+
list-style: none; }
|
32
|
+
|
33
|
+
blockquote, q {
|
34
|
+
quotes: none; }
|
35
|
+
|
36
|
+
blockquote:before, blockquote:after,
|
37
|
+
q:before, q:after {
|
38
|
+
content: '';
|
39
|
+
content: none; }
|
40
|
+
|
41
|
+
a {
|
42
|
+
margin: 0;
|
43
|
+
padding: 0;
|
44
|
+
font-size: 100%;
|
45
|
+
vertical-align: baseline;
|
46
|
+
background: transparent; }
|
47
|
+
|
48
|
+
ins {
|
49
|
+
background-color: #ff9;
|
50
|
+
color: #000;
|
51
|
+
text-decoration: none; }
|
52
|
+
|
53
|
+
mark {
|
54
|
+
background-color: #ff9;
|
55
|
+
color: #000;
|
56
|
+
font-style: italic;
|
57
|
+
font-weight: bold; }
|
58
|
+
|
59
|
+
del {
|
60
|
+
text-decoration: line-through; }
|
61
|
+
|
62
|
+
abbr[title], dfn[title] {
|
63
|
+
cursor: help; }
|
64
|
+
|
65
|
+
/* tables still need cellspacing="0" in the markup */
|
66
|
+
table {
|
67
|
+
border-collapse: collapse;
|
68
|
+
border-spacing: 0; }
|
69
|
+
|
70
|
+
hr {
|
71
|
+
display: block;
|
72
|
+
height: 1px;
|
73
|
+
border: 0;
|
74
|
+
border-top: 1px solid #ccc;
|
75
|
+
margin: 1em 0;
|
76
|
+
padding: 0; }
|
77
|
+
|
78
|
+
input, select {
|
79
|
+
vertical-align: middle; }
|
80
|
+
|
81
|
+
body {
|
82
|
+
color: #222;
|
83
|
+
font-size: 13px;
|
84
|
+
font-family: "helvetica neue", arial, helvetica, "lucida grande", sans-serif; }
|
85
|
+
|
86
|
+
h1, h2, h3, h4, h5, h6 {
|
87
|
+
color: #111;
|
88
|
+
font-family: "helvetica neue", Helvetica, arial, sans-serif; }
|
89
|
+
|
90
|
+
/* Success, error & notice boxes for messages and errors. */
|
91
|
+
div.error, div.notice, div.success,
|
92
|
+
#flash_failure, #flash_success, #flash_notice {
|
93
|
+
-moz-border-radius: 8px;
|
94
|
+
-webkit-border-radius: 8px;
|
95
|
+
border: 1px solid #ddd;
|
96
|
+
margin-bottom: 1em;
|
97
|
+
padding: 0.8em; }
|
98
|
+
|
99
|
+
div.error,
|
100
|
+
#flash_failure {
|
101
|
+
background: #FBE3E4;
|
102
|
+
border-color: #FBC2C4;
|
103
|
+
color: #D12F19; }
|
104
|
+
|
105
|
+
div.error a,
|
106
|
+
#flash_failure a {
|
107
|
+
color: #D12F19; }
|
108
|
+
|
109
|
+
div.notice,
|
110
|
+
#flash_notice {
|
111
|
+
background: #FFF6BF;
|
112
|
+
border-color: #FFD324;
|
113
|
+
color: #817134; }
|
114
|
+
|
115
|
+
div.notice a,
|
116
|
+
#flash_notice a {
|
117
|
+
color: #817134; }
|
118
|
+
|
119
|
+
div.success,
|
120
|
+
#flash_success {
|
121
|
+
background: #E6EFC2;
|
122
|
+
border-color: #C6D880;
|
123
|
+
color: #529214; }
|
124
|
+
|
125
|
+
div.success a,
|
126
|
+
#flash_success a {
|
127
|
+
color: #529214; }
|
128
|
+
|
129
|
+
/* Misc classes and elements */
|
130
|
+
/* Use a .box to create a padded box inside a column. */
|
131
|
+
.box {
|
132
|
+
background: #eee;
|
133
|
+
margin-bottom: 1.5em;
|
134
|
+
padding: 1.5em; }
|
135
|
+
|
136
|
+
/* Use this to create a horizontal ruler across a column. */
|
137
|
+
hr {
|
138
|
+
background: #ddd;
|
139
|
+
border: none;
|
140
|
+
clear: both;
|
141
|
+
color: #ddd;
|
142
|
+
float: none;
|
143
|
+
height: 1px;
|
144
|
+
margin: 0 0 1.4em;
|
145
|
+
width: 100%; }
|
146
|
+
|
147
|
+
hr.space {
|
148
|
+
background: #fff;
|
149
|
+
color: #fff; }
|
150
|
+
|
151
|
+
/* for image replacement */
|
152
|
+
.ir {
|
153
|
+
background-repeat: no-repeat;
|
154
|
+
direction: ltr;
|
155
|
+
display: block;
|
156
|
+
overflow: hidden;
|
157
|
+
text-align: left;
|
158
|
+
text-indent: -999em; }
|
159
|
+
|
160
|
+
/* Hide for both screenreaders and browsers
|
161
|
+
css-discuss.incutio.com/wiki/Screenreader_Visibility */
|
162
|
+
.hidden {
|
163
|
+
display: none;
|
164
|
+
visibility: hidden; }
|
165
|
+
|
166
|
+
/* Hide only visually, but have it available for screenreaders
|
167
|
+
www.webaim.org/techniques/css/invisiblecontent/ & j.mp/visuallyhidden */
|
168
|
+
.visuallyhidden {
|
169
|
+
clip: rect(1px 1px 1px 1px);
|
170
|
+
/* IE6, IE7 */
|
171
|
+
clip: rect(1px, 1px, 1px, 1px);
|
172
|
+
position: absolute !important; }
|
173
|
+
|
174
|
+
/* Hide visually and from screenreaders, but maintain layout */
|
175
|
+
.invisible {
|
176
|
+
visibility: hidden; }
|
177
|
+
|
178
|
+
/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
|
179
|
+
.clearfix:before,
|
180
|
+
.clearfix:after {
|
181
|
+
content: "\0020";
|
182
|
+
display: block;
|
183
|
+
height: 0;
|
184
|
+
visibility: hidden; }
|
185
|
+
|
186
|
+
.clearfix:after {
|
187
|
+
clear: both; }
|
188
|
+
|
189
|
+
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
|
190
|
+
.clearfix {
|
191
|
+
zoom: 1; }
|
192
|
+
|
193
|
+
.ie7 img {
|
194
|
+
-ms-interpolation-mode: bicubic; }
|
195
|
+
|
196
|
+
@media print {
|
197
|
+
* {
|
198
|
+
background: transparent !important;
|
199
|
+
color: #444 !important;
|
200
|
+
text-shadow: none !important; }
|
201
|
+
|
202
|
+
a, a:visited {
|
203
|
+
color: #444 !important;
|
204
|
+
text-decoration: underline; }
|
205
|
+
|
206
|
+
a:after {
|
207
|
+
content: " (" attr(href) ")"; }
|
208
|
+
|
209
|
+
abbr:after {
|
210
|
+
content: " (" attr(title) ")"; }
|
211
|
+
|
212
|
+
.ir a:after {
|
213
|
+
content: ""; }
|
214
|
+
|
215
|
+
/* Don't show links for images */
|
216
|
+
pre, blockquote {
|
217
|
+
border: 1px solid #999;
|
218
|
+
page-break-inside: avoid; }
|
219
|
+
|
220
|
+
thead {
|
221
|
+
display: table-header-group; }
|
222
|
+
|
223
|
+
/* css-discuss.incutio.com/wiki/Printing_Tables */
|
224
|
+
tr, img {
|
225
|
+
page-break-inside: avoid; }
|
226
|
+
|
227
|
+
@page {
|
228
|
+
margin: 0.5cm; }
|
229
|
+
|
230
|
+
p, h2, h3 {
|
231
|
+
orphans: 3;
|
232
|
+
widows: 3; }
|
233
|
+
|
234
|
+
h2, h3 {
|
235
|
+
page-break-after: avoid; } }
|
236
|
+
/* Headings */
|
237
|
+
h1, h2, h3, h4, h5, h6 {
|
238
|
+
font-weight: bold; }
|
239
|
+
|
240
|
+
h1 {
|
241
|
+
font-size: 2.2em;
|
242
|
+
line-height: 1;
|
243
|
+
margin-bottom: 0.25em; }
|
244
|
+
|
245
|
+
h2 {
|
246
|
+
font-size: 1.6em;
|
247
|
+
line-height: 1.1;
|
248
|
+
margin-bottom: 0.25em; }
|
249
|
+
|
250
|
+
h3 {
|
251
|
+
font-size: 1.3em;
|
252
|
+
line-height: 1;
|
253
|
+
margin-bottom: 0.25em; }
|
254
|
+
|
255
|
+
h4 {
|
256
|
+
font-size: 1.1em;
|
257
|
+
line-height: 1.25;
|
258
|
+
margin-bottom: 0.25em; }
|
259
|
+
|
260
|
+
h5 {
|
261
|
+
font-size: 1em;
|
262
|
+
margin-bottom: 0.25em; }
|
263
|
+
|
264
|
+
h6 {
|
265
|
+
font-size: 1em;
|
266
|
+
margin-bottom: 0.25em; }
|
267
|
+
|
268
|
+
/* Text elements */
|
269
|
+
p {
|
270
|
+
margin-bottom: 0.5em; }
|
271
|
+
|
272
|
+
p.last {
|
273
|
+
margin-bottom: 0; }
|
274
|
+
|
275
|
+
p img {
|
276
|
+
float: left;
|
277
|
+
margin: 1.5em 1.5em 1.5em 0;
|
278
|
+
padding: 0; }
|
279
|
+
|
280
|
+
/* Use this if the image is at the top of the <p>. */
|
281
|
+
p img.top {
|
282
|
+
margin-top: 0; }
|
283
|
+
|
284
|
+
img {
|
285
|
+
margin: 0 0 1.5em; }
|
286
|
+
|
287
|
+
abbr, acronym {
|
288
|
+
border-bottom: 1px dotted #666;
|
289
|
+
cursor: help; }
|
290
|
+
|
291
|
+
address {
|
292
|
+
font-style: italic;
|
293
|
+
margin-top: 1.5em; }
|
294
|
+
|
295
|
+
del {
|
296
|
+
color: #666; }
|
297
|
+
|
298
|
+
a, a:link {
|
299
|
+
color: #1a4882;
|
300
|
+
text-decoration: underline; }
|
301
|
+
|
302
|
+
a:visited {
|
303
|
+
color: #1a4882; }
|
304
|
+
|
305
|
+
a:hover {
|
306
|
+
color: #052246; }
|
307
|
+
|
308
|
+
a:active,
|
309
|
+
a:focus {
|
310
|
+
color: #1a4882; }
|
311
|
+
|
312
|
+
blockquote {
|
313
|
+
border-left: 4px solid #d1d1d1;
|
314
|
+
color: #666;
|
315
|
+
font-style: italic;
|
316
|
+
margin: 1.5em 0;
|
317
|
+
padding-left: 1em; }
|
318
|
+
|
319
|
+
strong {
|
320
|
+
font-weight: bold; }
|
321
|
+
|
322
|
+
em,
|
323
|
+
dfn {
|
324
|
+
font-style: italic; }
|
325
|
+
|
326
|
+
dfn {
|
327
|
+
font-weight: bold; }
|
328
|
+
|
329
|
+
pre, code {
|
330
|
+
margin: 1.5em 0;
|
331
|
+
white-space: pre;
|
332
|
+
/* CSS2 */
|
333
|
+
white-space: pre-wrap;
|
334
|
+
/* CSS 2.1 */
|
335
|
+
word-wrap: break-word;
|
336
|
+
/* IE */ }
|
337
|
+
|
338
|
+
pre, code, tt {
|
339
|
+
font: 1em 'andale mono', 'monotype.com', 'lucida console', monospace;
|
340
|
+
line-height: 1.5; }
|
341
|
+
|
342
|
+
pre.code {
|
343
|
+
background: #000;
|
344
|
+
color: #fff;
|
345
|
+
padding: 20px; }
|
346
|
+
|
347
|
+
tt {
|
348
|
+
display: block;
|
349
|
+
line-height: 1.5;
|
350
|
+
margin: 1.5em 0; }
|
351
|
+
|
352
|
+
/* `Widths
|
353
|
+
----------------------------------------------------------------------------------------------------*/
|
354
|
+
.input_tiny {
|
355
|
+
width: 50px; }
|
356
|
+
|
357
|
+
.input_small {
|
358
|
+
width: 100px; }
|
359
|
+
|
360
|
+
.input_medium {
|
361
|
+
width: 150px; }
|
362
|
+
|
363
|
+
.input_large {
|
364
|
+
width: 200px; }
|
365
|
+
|
366
|
+
.input_xlarge {
|
367
|
+
width: 250px; }
|
368
|
+
|
369
|
+
.input_xxlarge {
|
370
|
+
width: 300px; }
|
371
|
+
|
372
|
+
.input_full {
|
373
|
+
width: 100%; }
|
374
|
+
|
375
|
+
/*
|
376
|
+
Added via JS to <textarea> and class="input_full".
|
377
|
+
Applies only to IE7. Other browsers don't need it.
|
378
|
+
*/
|
379
|
+
.input_full_wrap {
|
380
|
+
display: block;
|
381
|
+
padding-right: 8px; }
|
382
|
+
|
383
|
+
/* `UI Consistency
|
384
|
+
----------------------------------------------------------------------------------------------------*/
|
385
|
+
::-moz-focus-inner {
|
386
|
+
border: 0;
|
387
|
+
padding: 0; }
|
388
|
+
|
389
|
+
input[type="search"]::-webkit-search-decoration {
|
390
|
+
display: none; }
|
391
|
+
|
392
|
+
input,
|
393
|
+
button,
|
394
|
+
select,
|
395
|
+
textarea {
|
396
|
+
margin: 0;
|
397
|
+
vertical-align: middle; }
|
398
|
+
|
399
|
+
button,
|
400
|
+
input[type="reset"],
|
401
|
+
input[type="submit"],
|
402
|
+
input[type="button"] {
|
403
|
+
-webkit-appearance: none;
|
404
|
+
-moz-border-radius: 11px;
|
405
|
+
-webkit-border-radius: 11px;
|
406
|
+
-moz-background-clip: padding;
|
407
|
+
-webkit-background-clip: padding;
|
408
|
+
background-clip: padding-box;
|
409
|
+
border-radius: 11px;
|
410
|
+
background: #dddddd url(../images/button.png) repeat-x;
|
411
|
+
background: -webkit-gradient(linear, left top, left bottom, color-stop(0, white), color-stop(1, #dddddd));
|
412
|
+
background: -moz-linear-gradient(top center, white 0%, #dddddd 100%);
|
413
|
+
border: 1px solid;
|
414
|
+
border-color: #ddd #bbb #999;
|
415
|
+
cursor: pointer;
|
416
|
+
color: #333;
|
417
|
+
font: bold 12px/1.2 Arial, sans-serif;
|
418
|
+
outline: 0;
|
419
|
+
overflow: visible;
|
420
|
+
padding: 3px 10px 4px;
|
421
|
+
text-shadow: #fff 0 1px 1px;
|
422
|
+
width: auto;
|
423
|
+
/* IE7 */
|
424
|
+
*padding-top: 2px;
|
425
|
+
*padding-bottom: 0px; }
|
426
|
+
|
427
|
+
button {
|
428
|
+
/* IE7 */
|
429
|
+
*padding-top: 1px;
|
430
|
+
*padding-bottom: 1px; }
|
431
|
+
|
432
|
+
textarea,
|
433
|
+
select,
|
434
|
+
input[type="date"],
|
435
|
+
input[type="datetime"],
|
436
|
+
input[type="datetime-local"],
|
437
|
+
input[type="email"],
|
438
|
+
input[type="month"],
|
439
|
+
input[type="number"],
|
440
|
+
input[type="password"],
|
441
|
+
input[type="search"],
|
442
|
+
input[type="tel"],
|
443
|
+
input[type="text"],
|
444
|
+
input[type="time"],
|
445
|
+
input[type="url"],
|
446
|
+
input[type="week"] {
|
447
|
+
-webkit-appearance: none;
|
448
|
+
-moz-border-radius: 0;
|
449
|
+
-webkit-border-radius: 0;
|
450
|
+
border-radius: 0;
|
451
|
+
-webkit-box-sizing: border-box;
|
452
|
+
-moz-box-sizing: border-box;
|
453
|
+
box-sizing: border-box;
|
454
|
+
-moz-background-clip: padding;
|
455
|
+
-webkit-background-clip: padding;
|
456
|
+
background-clip: padding-box;
|
457
|
+
background-color: #fff;
|
458
|
+
border: 1px solid;
|
459
|
+
border-color: #848484 #c1c1c1 #e1e1e1;
|
460
|
+
color: #000;
|
461
|
+
outline: 0;
|
462
|
+
padding: 2px 3px;
|
463
|
+
font-size: 13px;
|
464
|
+
font-family: Arial, sans-serif;
|
465
|
+
height: 1.8em;
|
466
|
+
/* IE7 */
|
467
|
+
*padding-top: 2px;
|
468
|
+
*padding-bottom: 1px;
|
469
|
+
*height: auto; }
|
470
|
+
|
471
|
+
/*
|
472
|
+
Separate rule for Firefox.
|
473
|
+
Cannot stack with WebKit's.
|
474
|
+
*/
|
475
|
+
input.placeholder_text,
|
476
|
+
textarea.placeholder_text,
|
477
|
+
input:-moz-placeholder,
|
478
|
+
textarea:-moz-placeholder {
|
479
|
+
color: #888; }
|
480
|
+
|
481
|
+
::-webkit-input-placeholder {
|
482
|
+
color: #888; }
|
483
|
+
|
484
|
+
button:focus,
|
485
|
+
button:active,
|
486
|
+
input:focus,
|
487
|
+
input:active,
|
488
|
+
select:focus,
|
489
|
+
select:active,
|
490
|
+
textarea:focus,
|
491
|
+
textarea:active {
|
492
|
+
-moz-box-shadow: #06f 0 0 7px;
|
493
|
+
-webkit-box-shadow: #06f 0 0 7px;
|
494
|
+
box-shadow: #06f 0 0 7px;
|
495
|
+
/* for Opera */
|
496
|
+
z-index: 1; }
|
497
|
+
|
498
|
+
input[type="file"]:focus,
|
499
|
+
input[type="file"]:active,
|
500
|
+
input[type="radio"]:focus,
|
501
|
+
input[type="radio"]:active,
|
502
|
+
input[type="checkbox"]:focus,
|
503
|
+
input[type="checkbox"]:active {
|
504
|
+
-moz-box-shadow: none;
|
505
|
+
-webkit-box-shadow: none;
|
506
|
+
box-shadow: none; }
|
507
|
+
|
508
|
+
select[disabled],
|
509
|
+
textarea[disabled],
|
510
|
+
input[type="date"][disabled],
|
511
|
+
input[type="datetime"][disabled],
|
512
|
+
input[type="datetime-local"][disabled],
|
513
|
+
input[type="email"][disabled],
|
514
|
+
input[type="month"][disabled],
|
515
|
+
input[type="number"][disabled],
|
516
|
+
input[type="password"][disabled],
|
517
|
+
input[type="search"][disabled],
|
518
|
+
input[type="tel"][disabled],
|
519
|
+
input[type="text"][disabled],
|
520
|
+
input[type="time"][disabled],
|
521
|
+
input[type="url"][disabled],
|
522
|
+
input[type="week"][disabled] {
|
523
|
+
background-color: #eee; }
|
524
|
+
|
525
|
+
button[disabled],
|
526
|
+
input[disabled],
|
527
|
+
select[disabled],
|
528
|
+
select[disabled] option,
|
529
|
+
select[disabled] optgroup,
|
530
|
+
textarea[disabled] {
|
531
|
+
-moz-box-shadow: none;
|
532
|
+
-webkit-box-shadow: none;
|
533
|
+
box-shadow: none;
|
534
|
+
-webkit-user-select: none;
|
535
|
+
-moz-user-select: none;
|
536
|
+
user-select: none;
|
537
|
+
color: #888;
|
538
|
+
cursor: default; }
|
539
|
+
|
540
|
+
.is_webkit select {
|
541
|
+
/* Tweaks for Safari + Chrome. */
|
542
|
+
background-image: url(../images/select_arrow.gif);
|
543
|
+
background-repeat: no-repeat;
|
544
|
+
background-position: right center;
|
545
|
+
padding-right: 20px; }
|
546
|
+
|
547
|
+
textarea,
|
548
|
+
select[size],
|
549
|
+
select[multiple] {
|
550
|
+
height: auto; }
|
551
|
+
|
552
|
+
.is_webkit select[size],
|
553
|
+
.is_webkit select[multiple] {
|
554
|
+
background-image: none;
|
555
|
+
padding: 0; }
|
556
|
+
|
557
|
+
textarea {
|
558
|
+
min-height: 40px;
|
559
|
+
overflow: auto;
|
560
|
+
resize: vertical;
|
561
|
+
width: 100%; }
|
562
|
+
|
563
|
+
optgroup {
|
564
|
+
color: #000;
|
565
|
+
font-style: normal;
|
566
|
+
font-weight: normal; }
|
567
|
+
|
568
|
+
/* `IE6
|
569
|
+
----------------------------------------------------------------------------------------------------*/
|
570
|
+
/*
|
571
|
+
Everything below this line is for IE6.
|
572
|
+
Delete it if you don't support it! :)
|
573
|
+
|
574
|
+
Classes are added dynamically via JS,
|
575
|
+
because IE6 doesn't support attribute
|
576
|
+
selectors: .ie6_button, .ie6_input, etc.
|
577
|
+
|
578
|
+
Note: These style rules are somewhat
|
579
|
+
duplicated because IE6 bombs out when
|
580
|
+
it sees attribute selectors. Example:
|
581
|
+
|
582
|
+
.ie6_button {
|
583
|
+
This works in IE6.
|
584
|
+
}
|
585
|
+
|
586
|
+
.ie6_button,
|
587
|
+
input[type=submit] {
|
588
|
+
This doesn't work.
|
589
|
+
}
|
590
|
+
*/
|
591
|
+
.ie6_button,
|
592
|
+
* html button {
|
593
|
+
background: #dddddd url(../images/button.png) repeat-x;
|
594
|
+
border: 1px solid;
|
595
|
+
border-color: #ddd #bbb #999;
|
596
|
+
cursor: pointer;
|
597
|
+
color: #333;
|
598
|
+
font: bold 12px/1.2 Arial, sans-serif;
|
599
|
+
padding: 2px 10px 0px;
|
600
|
+
overflow: visible;
|
601
|
+
width: auto; }
|
602
|
+
|
603
|
+
* html button {
|
604
|
+
padding-top: 1px;
|
605
|
+
padding-bottom: 1px; }
|
606
|
+
|
607
|
+
.ie6_input,
|
608
|
+
* html textarea,
|
609
|
+
* html select {
|
610
|
+
background: #fff;
|
611
|
+
border: 1px solid;
|
612
|
+
border-color: #848484 #c1c1c1 #e1e1e1;
|
613
|
+
color: #000;
|
614
|
+
padding: 2px 3px 1px;
|
615
|
+
font-size: 13px;
|
616
|
+
font-family: Arial, sans-serif;
|
617
|
+
vertical-align: top; }
|
618
|
+
|
619
|
+
* html select {
|
620
|
+
margin-top: 1px; }
|
621
|
+
|
622
|
+
.placeholder_text,
|
623
|
+
.ie6_input_disabled,
|
624
|
+
.ie6_button_disabled {
|
625
|
+
color: #888; }
|
626
|
+
|
627
|
+
.ie6_input_disabled {
|
628
|
+
background: #eee; }
|
629
|
+
|
630
|
+
/* Tables */
|
631
|
+
table {
|
632
|
+
margin-bottom: 2em;
|
633
|
+
width: 100%; }
|
634
|
+
|
635
|
+
th {
|
636
|
+
border-bottom: 2px solid #ccc;
|
637
|
+
font-weight: bold;
|
638
|
+
text-align: left; }
|
639
|
+
|
640
|
+
td {
|
641
|
+
border-bottom: 1px solid #ddd; }
|
642
|
+
|
643
|
+
caption, th, td {
|
644
|
+
padding: 4px 10px 4px 0; }
|
645
|
+
|
646
|
+
caption {
|
647
|
+
background: #f1f1f1;
|
648
|
+
margin-bottom: 1em;
|
649
|
+
padding: 10px 0; }
|
650
|
+
|
651
|
+
tr, td, th {
|
652
|
+
vertical-align: middle; }
|
653
|
+
|
654
|
+
/* Use this if you use span-x classes on th/td. */
|
655
|
+
table .last {
|
656
|
+
padding-right: 0; }
|
657
|
+
|
658
|
+
/* Lists */
|
659
|
+
ul, ol {
|
660
|
+
list-style-position: inside;
|
661
|
+
margin-bottom: 1.5em; }
|
662
|
+
|
663
|
+
ul {
|
664
|
+
list-style-type: disc; }
|
665
|
+
|
666
|
+
ol {
|
667
|
+
list-style-type: decimal; }
|
668
|
+
|
669
|
+
dl {
|
670
|
+
line-height: 1.4;
|
671
|
+
margin-bottom: 1.5em; }
|
672
|
+
|
673
|
+
dl dt {
|
674
|
+
font-weight: bold;
|
675
|
+
margin-top: 0.5em; }
|
676
|
+
|
677
|
+
dl dd {
|
678
|
+
margin-bottom: 0em; }
|
679
|
+
|
680
|
+
dd {
|
681
|
+
margin-left: 0.5em; }
|
682
|
+
|
683
|
+
li {
|
684
|
+
line-height: 1.4; }
|
685
|
+
|
686
|
+
ol ol, ol ul, ul ul, ul ol {
|
687
|
+
margin-left: 1em; }
|