diff options
author | csarven <csarven@controlyourself.ca> | 2008-11-14 22:35:49 -0500 |
---|---|---|
committer | csarven <csarven@controlyourself.ca> | 2008-11-14 22:35:49 -0500 |
commit | 322a79739dbee9f5a9bb4e012cd75a3d034a8bad (patch) | |
tree | 67f0eb5589f27d5a7c0af607028e0f55b630e9b1 /theme/default | |
parent | 6a02f5d3c2b2ffc93619a0e7c6e07ecc05be9909 (diff) |
trac670 trac689 Favorites (duplicate id, background image, JavaScript)
darcs-hash:20081115033549-eefa4-cfbca6f9c723aa63869c39d6851de7a7803f0703.gz
Diffstat (limited to 'theme/default')
-rw-r--r-- | theme/default/display.css | 69 | ||||
-rw-r--r-- | theme/default/icon_heart-01.png | bin | 0 -> 872 bytes | |||
-rw-r--r-- | theme/default/icon_heart-02.png | bin | 0 -> 805 bytes | |||
-rw-r--r-- | theme/default/ie7.css | 10 |
4 files changed, 41 insertions, 38 deletions
diff --git a/theme/default/display.css b/theme/default/display.css index 8408ecd8d..91cc057fa 100644 --- a/theme/default/display.css +++ b/theme/default/display.css @@ -179,6 +179,36 @@ padding-top:2px; padding-left:30px; } + +form#disfavor, form.disfavor, +form#favor, form.favor { + float: right; +} + +/*favorites*/ +input#favor, input.favor, +input#disfavor, input.disfavor { + background-color:#fcfff5; + background-image:url(icon_heart-01.png); + background-repeat:no-repeat; + cursor: pointer; + border: 0; + width: 16px; + height:16px; + text-indent:-9999px; +} + +input#disfavor, input.disfavor { + background-image:url(icon_heart-02.png); +} + +.notice_single:hover input.favor, +.notice_single:hover input.disfavor { + background-color:#f3f8ea; +} + + + /* ----- Nav Footer ----- */ #nav_sub { clear: both; @@ -686,44 +716,9 @@ input#openid_url { line-height: 15px; } -/* ----- favor/disfavor -----*/ -form#disfavor, form.disfavor { - display: inline; - float: right; -} -input#disfavor, input.disfavor { - display: inline; - color: #C15D42; - background-color: #FBF2D7; - cursor: pointer; - border: 0; - width: auto; - } - -form#favor, form.favor { - display: inline; - float: right; -} - -input#favor, input.favor { - display: inline; - color: #C15D42; - background-color: #FBF2D7; - cursor: pointer; - border: 0; - width: auto; - } - -input.favor:hover { - background-color: #f7ebcc; -} -input.disfavor:hover { - background-color: #f7ebcc; -} - /* ----- direct message ----- */ #message_form { @@ -811,8 +806,8 @@ p.tagcloud a.smallest { font-size: 60%; } -/* ----- Mailbox ----- */ +/* ----- Mailbox ----- */ #messages { clear: both; margin: 0 auto; @@ -844,4 +839,4 @@ font-size: 60%; display: inline; margin: 0; padding: 0; - } + }
\ No newline at end of file diff --git a/theme/default/icon_heart-01.png b/theme/default/icon_heart-01.png Binary files differnew file mode 100644 index 000000000..4e77720ca --- /dev/null +++ b/theme/default/icon_heart-01.png diff --git a/theme/default/icon_heart-02.png b/theme/default/icon_heart-02.png Binary files differnew file mode 100644 index 000000000..2fbdd7b6c --- /dev/null +++ b/theme/default/icon_heart-02.png diff --git a/theme/default/ie7.css b/theme/default/ie7.css index bbf52d5cf..99bc4e79f 100644 --- a/theme/default/ie7.css +++ b/theme/default/ie7.css @@ -1,6 +1,14 @@ @charset "UTF-8"; /* CSS Document */ + +input.disfavor, +input.favor { + text-indent:0; + text-align:right; + padding-left:25px; +} + #statistics dd { clear: both; } @@ -17,4 +25,4 @@ img.avatar.original, img.avatar.profile { #nav_pagination li a { padding: 6px 15px; line-height: 27px; - }
\ No newline at end of file + } |