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