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