| 1 |
div.document-icon { |
| 2 |
text-align: center; |
| 3 |
} |
| 4 |
|
| 5 |
div.document-icon img { |
| 6 |
width: 89px; |
| 7 |
max-width: 100%; |
| 8 |
border: none; |
| 9 |
} |
| 10 |
|
| 11 |
div.document-icon a { |
| 12 |
font-size: 10px; |
| 13 |
line-height: 12px; |
| 14 |
} |
| 15 |
|
| 16 |
div.document-icon { |
| 17 |
margin: 5px 0 0; |
| 18 |
} |
| 19 |
|
| 20 |
/* WITHOUT DESCRIPTION */ |
| 21 |
div.document-icon { |
| 22 |
display: inline-block; |
| 23 |
vertical-align: top; |
| 24 |
overflow: hidden; |
| 25 |
} |
| 26 |
|
| 27 |
div.document-icon-wrapper { |
| 28 |
width: 100%; |
| 29 |
padding: 0; |
| 30 |
text-align: left; |
| 31 |
} |
| 32 |
|
| 33 |
/* END WITHOUT DESCRIPTION */ |
| 34 |
|
| 35 |
/* WITH DESCRIPTION */ |
| 36 |
div.descriptions.document-icon-wrapper div.document-icon { |
| 37 |
max-width: 115px; |
| 38 |
padding: 0 3px 0 0; |
| 39 |
float: left; |
| 40 |
} |
| 41 |
|
| 42 |
div.descriptions.document-icon-wrapper { |
| 43 |
vertical-align: middle; |
| 44 |
text-align: inherit; |
| 45 |
} |
| 46 |
|
| 47 |
div.descriptions.document-icon-wrapper img { |
| 48 |
width: 65px; |
| 49 |
max-width: 100%; |
| 50 |
} |
| 51 |
|
| 52 |
/* clearfix */ |
| 53 |
/* can't depend on theme having a clearfix class, |
| 54 |
so build it into dg css */ |
| 55 |
div.descriptions.document-icon-wrapper:before, |
| 56 |
div.descriptions.document-icon-wrapper:after { |
| 57 |
content: ""; |
| 58 |
display: table; |
| 59 |
} |
| 60 |
|
| 61 |
div.descriptions.document-icon-wrapper:after { |
| 62 |
clear: both; |
| 63 |
} |
| 64 |
|
| 65 |
div.descriptions.document-icon-wrapper { |
| 66 |
zoom: 1; /* For IE 6/7 (trigger hasLayout) */ |
| 67 |
} |
| 68 |
|
| 69 |
/* END WITH DESCRIPTION */ |