indvdum@10: /* Button Styles indvdum@10: ---------------------------------------- */ indvdum@10: indvdum@10: /* Rollover buttons indvdum@10: Based on: http://wellstyled.com/css-nopreload-rollovers.html indvdum@10: ----------------------------------------*/ indvdum@10: .buttons { indvdum@10: float: left; indvdum@10: width: auto; indvdum@10: height: auto; indvdum@10: } indvdum@10: indvdum@10: /* Rollover state */ indvdum@10: .buttons div { indvdum@10: float: left; indvdum@10: margin: 0 5px 0 0; indvdum@10: background-position: 0 100%; indvdum@10: } indvdum@10: indvdum@10: /* Rolloff state */ indvdum@10: .buttons div a { indvdum@10: display: block; indvdum@10: width: 100%; indvdum@10: height: 100%; indvdum@10: background-position: 0 0; indvdum@10: position: relative; indvdum@10: overflow: hidden; indvdum@10: } indvdum@10: indvdum@10: /* Hide text and hide off-state image when rolling over (prevents flicker in IE) */ indvdum@10: /*.buttons div span { display: none; }*/ indvdum@10: /*.buttons div a:hover { background-image: none; }*/ indvdum@10: .buttons div span { position: absolute; width: 100%; height: 100%; cursor: pointer;} indvdum@10: .buttons div a:hover span { background-position: 0 100%; } indvdum@10: indvdum@10: /* Big button images */ indvdum@10: .reply-icon span { background: transparent none 0 0 no-repeat; } indvdum@10: .post-icon span { background: transparent none 0 0 no-repeat; } indvdum@10: .locked-icon span { background: transparent none 0 0 no-repeat; } indvdum@10: .pmreply-icon span { background: none 0 0 no-repeat; } indvdum@10: .newpm-icon span { background: none 0 0 no-repeat; } indvdum@10: .forwardpm-icon span { background: none 0 0 no-repeat; } indvdum@10: indvdum@10: /* Set big button dimensions */ indvdum@10: .buttons div.reply-icon { width: {IMG_BUTTON_TOPIC_REPLY_WIDTH}px; height: {IMG_BUTTON_TOPIC_REPLY_HEIGHT}px; } indvdum@10: .buttons div.post-icon { width: {IMG_BUTTON_TOPIC_NEW_WIDTH}px; height: {IMG_BUTTON_TOPIC_NEW_HEIGHT}px; } indvdum@10: .buttons div.locked-icon { width: {IMG_BUTTON_TOPIC_LOCKED_WIDTH}px; height: {IMG_BUTTON_TOPIC_LOCKED_HEIGHT}px; } indvdum@10: .buttons div.pmreply-icon { width: {IMG_BUTTON_PM_REPLY_WIDTH}px; height: {IMG_BUTTON_PM_REPLY_HEIGHT}px; } indvdum@10: .buttons div.newpm-icon { width: {IMG_BUTTON_PM_NEW_WIDTH}px; height: {IMG_BUTTON_PM_NEW_HEIGHT}px; } indvdum@10: .buttons div.forwardpm-icon { width: {IMG_BUTTON_PM_FORWARD_WIDTH}px; height: {IMG_BUTTON_PM_FORWARD_HEIGHT}px; } indvdum@10: indvdum@10: /* Sub-header (navigation bar) indvdum@10: --------------------------------------------- */ indvdum@10: a.print, a.sendemail, a.fontsize { indvdum@10: display: block; indvdum@10: overflow: hidden; indvdum@10: height: 18px; indvdum@10: text-indent: -5000px; indvdum@10: text-align: left; indvdum@10: background-repeat: no-repeat; indvdum@10: } indvdum@10: indvdum@10: a.print { indvdum@10: background-image: none; indvdum@10: width: 22px; indvdum@10: } indvdum@10: indvdum@10: a.sendemail { indvdum@10: background-image: none; indvdum@10: width: 22px; indvdum@10: } indvdum@10: indvdum@10: a.fontsize { indvdum@10: background-image: none; indvdum@10: background-position: 0 -1px; indvdum@10: width: 29px; indvdum@10: } indvdum@10: indvdum@10: a.fontsize:hover { indvdum@10: background-position: 0 -20px; indvdum@10: text-decoration: none; indvdum@10: } indvdum@10: indvdum@10: /* Icon images indvdum@10: ---------------------------------------- */ indvdum@10: .sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout, indvdum@10: .icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search { indvdum@10: background-position: 0 50%; indvdum@10: background-repeat: no-repeat; indvdum@10: background-image: none; indvdum@10: padding: 1px 0 0 17px; indvdum@10: } indvdum@10: indvdum@10: /* Poster profile icons indvdum@10: ----------------------------------------*/ indvdum@10: ul.profile-icons { indvdum@10: padding-top: 10px; indvdum@10: list-style: none; indvdum@10: } indvdum@10: indvdum@10: /* Rollover state */ indvdum@10: ul.profile-icons li { indvdum@10: float: left; indvdum@10: margin: 0 6px 3px 0; indvdum@10: background-position: 0 100%; indvdum@10: } indvdum@10: indvdum@10: /* Rolloff state */ indvdum@10: ul.profile-icons li a { indvdum@10: display: block; indvdum@10: width: 100%; indvdum@10: height: 100%; indvdum@10: background-position: 0 0; indvdum@10: } indvdum@10: indvdum@10: /* Hide text and hide off-state image when rolling over (prevents flicker in IE) */ indvdum@10: ul.profile-icons li span { display:none; } indvdum@10: ul.profile-icons li a:hover { background: none; } indvdum@10: indvdum@10: /* Positioning of moderator icons */ indvdum@10: .postbody ul.profile-icons { indvdum@10: float: right; indvdum@10: width: auto; indvdum@10: padding: 0; indvdum@10: } indvdum@10: indvdum@10: .postbody ul.profile-icons li { indvdum@10: margin: 0 3px; indvdum@10: } indvdum@10: indvdum@10: /* Profile & navigation icons */ indvdum@10: .email-icon, .email-icon a { background: none top left no-repeat; } indvdum@10: .aim-icon, .aim-icon a { background: none top left no-repeat; } indvdum@10: .yahoo-icon, .yahoo-icon a { background: none top left no-repeat; } indvdum@10: .web-icon, .web-icon a { background: none top left no-repeat; } indvdum@10: .msnm-icon, .msnm-icon a { background: none top left no-repeat; } indvdum@10: .icq-icon, .icq-icon a { background: none top left no-repeat; } indvdum@10: .jabber-icon, .jabber-icon a { background: none top left no-repeat; } indvdum@10: .pm-icon, .pm-icon a { background: none top left no-repeat; } indvdum@10: .quote-icon, .quote-icon a { background: none top left no-repeat; } indvdum@10: indvdum@10: /* Moderator icons */ indvdum@10: .report-icon, .report-icon a { background: none top left no-repeat; } indvdum@10: .warn-icon, .warn-icon a { background: none top left no-repeat; } indvdum@10: .edit-icon, .edit-icon a { background: none top left no-repeat; } indvdum@10: .delete-icon, .delete-icon a { background: none top left no-repeat; } indvdum@10: .info-icon, .info-icon a { background: none top left no-repeat; } indvdum@10: indvdum@10: /* Set profile icon dimensions */ indvdum@10: ul.profile-icons li.email-icon { width: {IMG_ICON_CONTACT_EMAIL_WIDTH}px; height: {IMG_ICON_CONTACT_EMAIL_HEIGHT}px; } indvdum@10: ul.profile-icons li.aim-icon { width: {IMG_ICON_CONTACT_AIM_WIDTH}px; height: {IMG_ICON_CONTACT_AIM_HEIGHT}px; } indvdum@10: ul.profile-icons li.yahoo-icon { width: {IMG_ICON_CONTACT_YAHOO_WIDTH}px; height: {IMG_ICON_CONTACT_YAHOO_HEIGHT}px; } indvdum@10: ul.profile-icons li.web-icon { width: {IMG_ICON_CONTACT_WWW_WIDTH}px; height: {IMG_ICON_CONTACT_WWW_HEIGHT}px; } indvdum@10: ul.profile-icons li.msnm-icon { width: {IMG_ICON_CONTACT_MSNM_WIDTH}px; height: {IMG_ICON_CONTACT_MSNM_HEIGHT}px; } indvdum@10: ul.profile-icons li.icq-icon { width: {IMG_ICON_CONTACT_ICQ_WIDTH}px; height: {IMG_ICON_CONTACT_ICQ_HEIGHT}px; } indvdum@10: ul.profile-icons li.jabber-icon { width: {IMG_ICON_CONTACT_JABBER_WIDTH}px; height: {IMG_ICON_CONTACT_JABBER_HEIGHT}px; } indvdum@10: ul.profile-icons li.pm-icon { width: {IMG_ICON_CONTACT_PM_WIDTH}px; height: {IMG_ICON_CONTACT_PM_HEIGHT}px; } indvdum@10: ul.profile-icons li.quote-icon { width: {IMG_ICON_POST_QUOTE_WIDTH}px; height: {IMG_ICON_POST_QUOTE_HEIGHT}px; } indvdum@10: ul.profile-icons li.report-icon { width: {IMG_ICON_POST_REPORT_WIDTH}px; height: {IMG_ICON_POST_REPORT_HEIGHT}px; } indvdum@10: ul.profile-icons li.edit-icon { width: {IMG_ICON_POST_EDIT_WIDTH}px; height: {IMG_ICON_POST_EDIT_HEIGHT}px; } indvdum@10: ul.profile-icons li.delete-icon { width: {IMG_ICON_POST_DELETE_WIDTH}px; height: {IMG_ICON_POST_DELETE_HEIGHT}px; } indvdum@10: ul.profile-icons li.info-icon { width: {IMG_ICON_POST_INFO_WIDTH}px; height: {IMG_ICON_POST_INFO_HEIGHT}px; } indvdum@10: ul.profile-icons li.warn-icon { width: {IMG_ICON_USER_WARN_WIDTH}px; height: {IMG_ICON_USER_WARN_HEIGHT}px; } indvdum@10: indvdum@10: /* Fix profile icon default margins */ indvdum@10: ul.profile-icons li.edit-icon { margin: 0 0 0 3px; } indvdum@10: ul.profile-icons li.quote-icon { margin: 0 0 0 10px; } indvdum@10: ul.profile-icons li.info-icon, ul.profile-icons li.report-icon { margin: 0 3px 0 0; } indvdum@10: