Mercurial > public > sg101
annotate media/css/shoutbox_app.css @ 265:1ba2c6bf6eb7
Closing #98. Animated GIFs were losing their transparency and animated properties when saved as avatars. Reworked the avatar save process to only run the avatar through PIL if it is too big. This preserves the original uploaded file if it is within the desired size settings. This may still mangle big animated gifs. If this becomes a problem, then maybe look into calling the PIL Image.resize() method directly. Moved the PIL image specific functions from bio.forms to a new module: core.image for better reusability in the future.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Fri, 24 Sep 2010 02:12:09 +0000 |
parents | 4f07047e0a40 |
children |
rev | line source |
---|---|
gremmie@1 | 1 div.shoutbox-history table { |
gremmie@1 | 2 border-collapse: collapse; |
gremmie@1 | 3 width: 95%; |
gremmie@1 | 4 margin: 1em auto 1em auto; |
gremmie@1 | 5 border: 1px solid black; |
gremmie@1 | 6 } |
bgneal@163 | 7 div.shoutbox-history th { |
bgneal@163 | 8 border: 1px solid black; |
gremmie@1 | 9 padding: 5px 2px; |
gremmie@1 | 10 text-align: center; |
gremmie@1 | 11 width: 10%; |
gremmie@1 | 12 } |
bgneal@163 | 13 div.shoutbox-history td { |
bgneal@163 | 14 border: 1px solid black; |
gremmie@1 | 15 padding: 5px 5px; |
gremmie@1 | 16 width: 90%; |
gremmie@1 | 17 } |
bgneal@163 | 18 div.shoutbox-history tr.odd { |
gremmie@1 | 19 background-color: #ddd; |
gremmie@1 | 20 } |
gremmie@1 | 21 div.shoutbox-history .date { |
gremmie@1 | 22 font-style: italic; |
gremmie@1 | 23 } |
gremmie@1 | 24 |
gremmie@1 | 25 div.shoutbox-history .edit { |
gremmie@1 | 26 padding: 5px 5px; |
gremmie@1 | 27 } |
gremmie@1 | 28 |
gremmie@1 | 29 div.shoutbox-history .edit:hover { |
gremmie@1 | 30 background-color: #7fffd4; |
gremmie@1 | 31 cursor: pointer; |
gremmie@1 | 32 } |