From adb5baf6bdb58fe0f426f4b2b64294527d589d70 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 10 Nov 2010 00:04:45 -0500 Subject: [PATCH] msgbuttons are now back to being ordinary links. They're smaller this way, and they also don't misbehave under Internet Exploder. --- webcit/static/styles/webcit.css | 17 +++++++---------- webcit/static/t/view_message.html | 7 ++----- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/webcit/static/styles/webcit.css b/webcit/static/styles/webcit.css index bd4758f2c..2089edafd 100644 --- a/webcit/static/styles/webcit.css +++ b/webcit/static/styles/webcit.css @@ -25,7 +25,7 @@ body { font-size: 100%} .address_book_popup_title { font-size: 130% } -#button, #content .msgbuttons a, .button_link a, input#delbutton,.attachfile,.logbuttons input,.buttons input, .buttons a, .customize, .menubar_link, .roomlist_floor, .ib_roomlist_floor, .roomlist_new, .ib_roomlist_new, .roomlist_old, .ib_roomlist_old, #banner ul.room_actions li, .selector_top, .selector_bottom, .banner .infos,li.search,li.view, .room_actions form select option, .selectbox, .message_header, ul.adminitems li span, #message_list tr > td { +#button, #content .button_link a, input#delbutton,.attachfile,.logbuttons input,.buttons input, .buttons a, .customize, .menubar_link, .roomlist_floor, .ib_roomlist_floor, .roomlist_new, .ib_roomlist_new, .roomlist_old, .ib_roomlist_old, #banner ul.room_actions li, .selector_top, .selector_bottom, .banner .infos,li.search,li.view, .room_actions form select option, .selectbox, .message_header, ul.adminitems li span, #message_list tr > td { font-size: 100%; } @@ -389,21 +389,21 @@ a:visited { color: purple} color: black; } -#important_message, .buttons a:hover, .msgbuttons a:hover, #button li:hover, #online_users li a:hover { +#important_message, .buttons a:hover, #button li:hover, #online_users li a:hover { background-color: #3E65AF; color: #3E65AF; } -.button_link a, input, select, li.activeuser, .room_actions form select, .room_actions li.search input, .address_book_popup_title, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input { +.button_link a, input, select, li.activeuser, .room_actions form select, .room_actions li.search input, .address_book_popup_title, input#delbutton,.attachfile, .logbuttons input,.buttons input { background-color: #fbf4ca !important; /* needed for li.activeuser */ } -.button_link a, input, select, .room_actions form select, .room_actions li.search input, .address_book_popup_title, .msgbuttons a, input#delbutton,.attachfile, .logbuttons input,.buttons input { +.button_link a, input, select, .room_actions form select, .room_actions li.search input, .address_book_popup_title, input#delbutton,.attachfile, .logbuttons input,.buttons input { border: 1px solid #999; color: #333; } -.button_link a, .msgbuttons a, input#delbutton,.attachfile, .buttons input { +.button_link a, input#delbutton,.attachfile, .buttons input { cursor: pointer; -webkit-border-radius: 8px; -moz-border-radius: 8px; @@ -416,7 +416,7 @@ a:visited { color: purple} font-weight: bold; } -.msgbuttons a, input#delbutton { font-weight: normal } +input#delbutton { font-weight: normal } /* Layout */ @@ -604,7 +604,7 @@ body { padding: 2px 4px 2px 4px; } -.msgbuttons a, input#delbutton { +input#delbutton { margin: 0 3px 0 3px; padding: 2px 4px 2px 4px; } @@ -659,15 +659,12 @@ body { .msgbuttons { float: right; - visibility: hidden; padding: 2px; font-size: 80%; } .buttons a { text-align: center } -.msgbuttons a span { display: none } - .message_content { margin: 0; padding: 0.3em; diff --git a/webcit/static/t/view_message.html b/webcit/static/t/view_message.html index 9e727645e..aeeee683d 100644 --- a/webcit/static/t/view_message.html +++ b/webcit/static/t/view_message.html @@ -1,7 +1,4 @@ -
").style.visibility="visible" -onMouseOut=document.getElementById("msg").style.visibility="hidden" > - +
@@ -15,7 +12,7 @@ onMouseOut=document.getElementById("msg").style.visibility="hidden

-

&cc=&subject=&force_room=_MAIL_">[] %7C?subject=">[] -- 2.39.2