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