Mercurial > public > sg101
annotate gpp/messages/static/css/messages.css @ 505:a5d11471d031
Refactor the logic in the rate limiter decorator. Check to see if the request was ajax, as the ajax view always returns 200. Have to decode the JSON response to see if an error occurred or not.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 03 Dec 2011 19:13:38 +0000 |
parents | 77b3b01843b5 |
children |
rev | line source |
---|---|
bgneal@312 | 1 blockquote { |
bgneal@312 | 2 margin-left: 2em; |
bgneal@312 | 3 border-left: 3px solid grey; |
bgneal@312 | 4 padding-left: 3px; |
bgneal@312 | 5 } |
bgneal@312 | 6 blockquote ul { |
bgneal@312 | 7 margin-left: 1em; |
bgneal@312 | 8 } |
bgneal@312 | 9 |
bgneal@312 | 10 table.messages { |
bgneal@312 | 11 border: 1px solid black; |
bgneal@312 | 12 border-spacing: 0px; |
bgneal@312 | 13 border-collapse: collapse; |
bgneal@425 | 14 margin: 1em auto; |
bgneal@425 | 15 width: 96%; |
bgneal@312 | 16 } |
bgneal@312 | 17 |
bgneal@312 | 18 table.messages th { |
bgneal@312 | 19 color: black; |
bgneal@428 | 20 background: #87b6d9; |
bgneal@312 | 21 padding: 3px 4px 3px 4px; |
bgneal@312 | 22 font-weight: bold; |
bgneal@312 | 23 } |
bgneal@312 | 24 |
bgneal@312 | 25 table.messages td { |
bgneal@312 | 26 border: 1px solid black; |
bgneal@312 | 27 padding: 10px 8px; |
bgneal@312 | 28 } |
bgneal@312 | 29 |
bgneal@312 | 30 table.message-header { |
bgneal@312 | 31 border-spacing: 0px; |
bgneal@312 | 32 border-collapse: collapse; |
bgneal@312 | 33 border-top: 1px solid black; |
bgneal@312 | 34 border-bottom: 1px solid black; |
bgneal@312 | 35 } |
bgneal@312 | 36 |
bgneal@312 | 37 table.message-header tr { |
bgneal@312 | 38 border-bottom: 1px solid black; |
bgneal@312 | 39 } |
bgneal@312 | 40 |
bgneal@312 | 41 table.message-header th { |
bgneal@312 | 42 text-align: left; |
bgneal@312 | 43 font-weight: bold; |
bgneal@312 | 44 padding: 3px; |
bgneal@312 | 45 } |
bgneal@312 | 46 |
bgneal@312 | 47 table.message-header td { |
bgneal@312 | 48 text-align: left; |
bgneal@312 | 49 padding: 3px; |
bgneal@312 | 50 } |
bgneal@312 | 51 |
bgneal@312 | 52 div.message-body { |
bgneal@312 | 53 margin: 1em 1em; |
bgneal@312 | 54 padding-top: 5px; |
bgneal@312 | 55 } |
bgneal@312 | 56 div.message-signature { |
bgneal@312 | 57 font-size: smaller; |
bgneal@312 | 58 margin-left: 1em; |
bgneal@312 | 59 } |
bgneal@312 | 60 div.message-hr { |
bgneal@312 | 61 width: 20%; |
bgneal@312 | 62 margin-left: 0; |
bgneal@312 | 63 border-top: 1px solid black; |
bgneal@312 | 64 } |
bgneal@312 | 65 form.messages-button { |
bgneal@312 | 66 display: inline; |
bgneal@312 | 67 } |
bgneal@425 | 68 .unread { |
bgneal@425 | 69 font-weight: bold; |
bgneal@425 | 70 } |
bgneal@425 | 71 .replied_to { |
bgneal@425 | 72 font-style: italic; |
bgneal@425 | 73 } |
bgneal@425 | 74 .pagination { |
bgneal@425 | 75 text-align: right; |
bgneal@425 | 76 } |