mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-16 13:44:12 +02:00
- fix images off, css on problem for post/reply buttons
- changed calculating new/unread pm count to no longer rely on code logic, but apply all rules, operate on messages and then re-calculating after delivery. git-svn-id: file:///svn/phpbb/trunk@8229 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -23,19 +23,22 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-position: 0 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
|
||||
.buttons div span { display: none; }
|
||||
.buttons div a:hover { background-image: none; }
|
||||
/*.buttons div span { display: none; }*/
|
||||
/*.buttons div a:hover { background-image: none; }*/
|
||||
.buttons div span { position: absolute; width: 100%; height: 100%; cursor: pointer; }
|
||||
.buttons div a:hover span { background-position: 0 100%; }
|
||||
|
||||
/* Big button images */
|
||||
.reply-icon, .reply-icon a { background: transparent none 0 0 no-repeat; }
|
||||
.post-icon, .post-icon a { background: transparent none 0 0 no-repeat; }
|
||||
.locked-icon, .locked-icon a { background: transparent none 0 0 no-repeat; }
|
||||
.pmreply-icon, .pmreply-icon a { background: none 0 0 no-repeat; }
|
||||
.newpm-icon, .newpm-icon a { background: none 0 0 no-repeat; }
|
||||
.forwardpm-icon, .forwardpm-icon a { background: none 0 0 no-repeat; }
|
||||
.reply-icon span { background: transparent none 0 0 no-repeat; }
|
||||
.post-icon span { background: transparent none 0 0 no-repeat; }
|
||||
.locked-icon span { background: transparent none 0 0 no-repeat; }
|
||||
.pmreply-icon span { background: none 0 0 no-repeat; }
|
||||
.newpm-icon span { background: none 0 0 no-repeat; }
|
||||
.forwardpm-icon span { background: none 0 0 no-repeat; }
|
||||
|
||||
/* Set big button dimensions */
|
||||
.buttons div.reply-icon { width: {IMG_BUTTON_TOPIC_REPLY_WIDTH}px; height: {IMG_BUTTON_TOPIC_REPLY_HEIGHT}px; }
|
||||
|
@@ -647,12 +647,12 @@ Colours and backgrounds for buttons.css
|
||||
-------------------------------------------------------------- */
|
||||
|
||||
/* Big button images */
|
||||
.reply-icon, .reply-icon a { background-image: url("{IMG_BUTTON_TOPIC_REPLY_SRC}"); }
|
||||
.post-icon, .post-icon a { background-image: url("{IMG_BUTTON_TOPIC_NEW_SRC}") ;}
|
||||
.locked-icon, .locked-icon a { background-image: url("{IMG_BUTTON_TOPIC_LOCKED_SRC}"); }
|
||||
.pmreply-icon, .pmreply-icon a { background-image: url("{IMG_BUTTON_PM_REPLY_SRC}") ;}
|
||||
.newpm-icon, .newpm-icon a { background-image: url("{IMG_BUTTON_PM_NEW_SRC}") ;}
|
||||
.forwardpm-icon, .forwardpm-icon a { background-image: url("{IMG_BUTTON_PM_FORWARD_SRC}") ;}
|
||||
.reply-icon span { background-image: url("{IMG_BUTTON_TOPIC_REPLY_SRC}"); }
|
||||
.post-icon span { background-image: url("{IMG_BUTTON_TOPIC_NEW_SRC}"); }
|
||||
.locked-icon span { background-image: url("{IMG_BUTTON_TOPIC_LOCKED_SRC}"); }
|
||||
.pmreply-icon span { background-image: url("{IMG_BUTTON_PM_REPLY_SRC}") ;}
|
||||
.newpm-icon span { background-image: url("{IMG_BUTTON_PM_NEW_SRC}") ;}
|
||||
.forwardpm-icon span { background-image: url("{IMG_BUTTON_PM_FORWARD_SRC}") ;}
|
||||
|
||||
a.print {
|
||||
background-image: url("{T_THEME_PATH}/images/icon_print.gif");
|
||||
|
Reference in New Issue
Block a user