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