msgbuttons are now back to being ordinary links.
authorArt Cancro <ajc@citadel.org>
Wed, 10 Nov 2010 05:04:45 +0000 (00:04 -0500)
committerArt Cancro <ajc@citadel.org>
Wed, 10 Nov 2010 05:04:45 +0000 (00:04 -0500)
They're smaller this way, and they also don't misbehave
under Internet Exploder.

webcit/static/styles/webcit.css
webcit/static/t/view_message.html

index bd4758f2c9719301005fe0b93cb1ac6d2237257d..2089edafde16d247cbcbea4f572576fbf6edd509 100644 (file)
@@ -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;
index 9e727645e951bfe324a55b24fc2d2c44928be573..aeeee683dca886ed9d89edf43e551174d6f3560b 100644 (file)
@@ -1,7 +1,4 @@
-<div class="message"
-onMouseOver=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="visible"
-onMouseOut=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="hidden" >
-
+<div class="message">
 <??("COND:ROOM:TYPE_IS", 12, #"VIEW_WIKI")><!-- skip headers for wiki rooms -->
 <div class="message_header">
  <span><?MAIL:SUMM:DATEFULL></span>
@@ -15,7 +12,7 @@ onMouseOut=document.getElementById("msg<?MAIL:SUMM:N>").style.visibility="hidden
  <?!("COND:MAIL:TO", 5)><?_("to")> <?MAIL:SUMM:TO("X")><?!("X", 5)><br/>
 <?!("COND:MAIL:SUMM:CCCC", 6)><?_("CC:")><?MAIL:SUMM:CCCC("X")><??("X", 6)>
 <?!("COND:MAIL:SUBJ", 7)><p class="message_subject"><?_("Subject:")> <?MAIL:SUMM:SUBJECT("X")></p><??("X", 7)>
- <p style="visibility: hidden;" id="msg<?MAIL:SUMM:N>" class="msgbuttons">
+ <p id="msg<?MAIL:SUMM:N>" class="msgbuttons">
  <a href="display_enter?edit=<?MAIL:SUMM:N>&recp=<?MAIL:SUMM:TO("U")>&cc=<?MAIL:SUMM:CCCC("U")>&subject=<?MAIL:SUMM:SUBJECT("U", 0, "", "")>&force_room=_MAIL_"><span>[</span><?_("Edit")><span>]</span></a> 
 <?!("COND:ROOM:TYPE_IS", 8, #"VIEW_BBS")>
    <a href="display_enter?references=<?MAIL:SUMM:REFIDS("U")>%7C<?MAIL:SUMM:INREPLYTO("U")>?subject=<?MAIL:SUMM:SUBJECT("U", 0, "Re: ", "Re:")>"><span>[</span><?_("Reply")><span>]</span></a>