styles/cubometry-style/theme/buttons.css
changeset 10 2829504a06be
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/styles/cubometry-style/theme/buttons.css	Thu Mar 08 01:28:49 2012 +0400
     1.3 @@ -0,0 +1,169 @@
     1.4 +/* Button Styles
     1.5 +---------------------------------------- */
     1.6 +
     1.7 +/* Rollover buttons
     1.8 +   Based on: http://wellstyled.com/css-nopreload-rollovers.html
     1.9 +----------------------------------------*/
    1.10 +.buttons {
    1.11 +	float: left;
    1.12 +	width: auto;
    1.13 +	height: auto;
    1.14 +}
    1.15 +
    1.16 +/* Rollover state */
    1.17 +.buttons div {
    1.18 +	float: left;
    1.19 +	margin: 0 5px 0 0;
    1.20 +	background-position: 0 100%;
    1.21 +}
    1.22 +
    1.23 +/* Rolloff state */
    1.24 +.buttons div a {
    1.25 +	display: block;
    1.26 +	width: 100%;
    1.27 +	height: 100%;
    1.28 +	background-position: 0 0;
    1.29 +	position: relative;
    1.30 +	overflow: hidden;
    1.31 +}
    1.32 +
    1.33 +/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
    1.34 +/*.buttons div span		{ display: none; }*/
    1.35 +/*.buttons div a:hover	{ background-image: none; }*/
    1.36 +.buttons div span			{ position: absolute; width: 100%; height: 100%; cursor: pointer;}
    1.37 +.buttons div a:hover span	{ background-position: 0 100%; }
    1.38 +
    1.39 +/* Big button images */
    1.40 +.reply-icon span	{ background: transparent none 0 0 no-repeat; }
    1.41 +.post-icon span		{ background: transparent none 0 0 no-repeat; }
    1.42 +.locked-icon span	{ background: transparent none 0 0 no-repeat; }
    1.43 +.pmreply-icon span	{ background: none 0 0 no-repeat; }
    1.44 +.newpm-icon span 	{ background: none 0 0 no-repeat; }
    1.45 +.forwardpm-icon span 	{ background: none 0 0 no-repeat; }
    1.46 +
    1.47 +/* Set big button dimensions */
    1.48 +.buttons div.reply-icon		{ width: {IMG_BUTTON_TOPIC_REPLY_WIDTH}px; height: {IMG_BUTTON_TOPIC_REPLY_HEIGHT}px; }
    1.49 +.buttons div.post-icon		{ width: {IMG_BUTTON_TOPIC_NEW_WIDTH}px; height: {IMG_BUTTON_TOPIC_NEW_HEIGHT}px; }
    1.50 +.buttons div.locked-icon	{ width: {IMG_BUTTON_TOPIC_LOCKED_WIDTH}px; height: {IMG_BUTTON_TOPIC_LOCKED_HEIGHT}px; }
    1.51 +.buttons div.pmreply-icon	{ width: {IMG_BUTTON_PM_REPLY_WIDTH}px; height: {IMG_BUTTON_PM_REPLY_HEIGHT}px; }
    1.52 +.buttons div.newpm-icon		{ width: {IMG_BUTTON_PM_NEW_WIDTH}px; height: {IMG_BUTTON_PM_NEW_HEIGHT}px; }
    1.53 +.buttons div.forwardpm-icon	{ width: {IMG_BUTTON_PM_FORWARD_WIDTH}px; height: {IMG_BUTTON_PM_FORWARD_HEIGHT}px; }
    1.54 +
    1.55 +/* Sub-header (navigation bar)
    1.56 +--------------------------------------------- */
    1.57 +a.print, a.sendemail, a.fontsize {
    1.58 +	display: block;
    1.59 +	overflow: hidden;
    1.60 +	height: 18px;
    1.61 +	text-indent: -5000px;
    1.62 +	text-align: left;
    1.63 +	background-repeat: no-repeat;
    1.64 +}
    1.65 +
    1.66 +a.print {
    1.67 +	background-image: none;
    1.68 +	width: 22px;
    1.69 +}
    1.70 +
    1.71 +a.sendemail {
    1.72 +	background-image: none;
    1.73 +	width: 22px;
    1.74 +}
    1.75 +
    1.76 +a.fontsize {
    1.77 +	background-image: none;
    1.78 +	background-position: 0 -1px;
    1.79 +	width: 29px;
    1.80 +}
    1.81 +
    1.82 +a.fontsize:hover {
    1.83 +	background-position: 0 -20px;
    1.84 +	text-decoration: none;
    1.85 +}
    1.86 +
    1.87 +/* Icon images
    1.88 +---------------------------------------- */
    1.89 +.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout,
    1.90 +.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search {
    1.91 +	background-position: 0 50%;
    1.92 +	background-repeat: no-repeat;
    1.93 +	background-image: none;
    1.94 +	padding: 1px 0 0 17px;
    1.95 +}
    1.96 +
    1.97 +/* Poster profile icons
    1.98 +----------------------------------------*/
    1.99 +ul.profile-icons {
   1.100 +	padding-top: 10px;
   1.101 +	list-style: none;
   1.102 +}
   1.103 +
   1.104 +/* Rollover state */
   1.105 +ul.profile-icons li {
   1.106 +	float: left;
   1.107 +	margin: 0 6px 3px 0;
   1.108 +	background-position: 0 100%;
   1.109 +}
   1.110 +
   1.111 +/* Rolloff state */
   1.112 +ul.profile-icons li a {
   1.113 +	display: block;
   1.114 +	width: 100%;
   1.115 +	height: 100%;
   1.116 +	background-position: 0 0;
   1.117 +}
   1.118 +
   1.119 +/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */
   1.120 +ul.profile-icons li span { display:none; }
   1.121 +ul.profile-icons li a:hover { background: none; }
   1.122 +
   1.123 +/* Positioning of moderator icons */
   1.124 +.postbody ul.profile-icons {
   1.125 +	float: right;
   1.126 +	width: auto;
   1.127 +	padding: 0;
   1.128 +}
   1.129 +
   1.130 +.postbody ul.profile-icons li {
   1.131 +	margin: 0 3px;
   1.132 +}
   1.133 +
   1.134 +/* Profile & navigation icons */
   1.135 +.email-icon, .email-icon a		{ background: none top left no-repeat; }
   1.136 +.aim-icon, .aim-icon a			{ background: none top left no-repeat; }
   1.137 +.yahoo-icon, .yahoo-icon a		{ background: none top left no-repeat; }
   1.138 +.web-icon, .web-icon a			{ background: none top left no-repeat; }
   1.139 +.msnm-icon, .msnm-icon a			{ background: none top left no-repeat; }
   1.140 +.icq-icon, .icq-icon a			{ background: none top left no-repeat; }
   1.141 +.jabber-icon, .jabber-icon a		{ background: none top left no-repeat; }
   1.142 +.pm-icon, .pm-icon a				{ background: none top left no-repeat; }
   1.143 +.quote-icon, .quote-icon a		{ background: none top left no-repeat; }
   1.144 +
   1.145 +/* Moderator icons */
   1.146 +.report-icon, .report-icon a		{ background: none top left no-repeat; }
   1.147 +.warn-icon, .warn-icon a			{ background: none top left no-repeat; }
   1.148 +.edit-icon, .edit-icon a			{ background: none top left no-repeat; }
   1.149 +.delete-icon, .delete-icon a		{ background: none top left no-repeat; }
   1.150 +.info-icon, .info-icon a			{ background: none top left no-repeat; }
   1.151 +
   1.152 +/* Set profile icon dimensions */
   1.153 +ul.profile-icons li.email-icon		{ width: {IMG_ICON_CONTACT_EMAIL_WIDTH}px; height: {IMG_ICON_CONTACT_EMAIL_HEIGHT}px; }
   1.154 +ul.profile-icons li.aim-icon	{ width: {IMG_ICON_CONTACT_AIM_WIDTH}px; height: {IMG_ICON_CONTACT_AIM_HEIGHT}px; }
   1.155 +ul.profile-icons li.yahoo-icon	{ width: {IMG_ICON_CONTACT_YAHOO_WIDTH}px; height: {IMG_ICON_CONTACT_YAHOO_HEIGHT}px; }
   1.156 +ul.profile-icons li.web-icon	{ width: {IMG_ICON_CONTACT_WWW_WIDTH}px; height: {IMG_ICON_CONTACT_WWW_HEIGHT}px; }
   1.157 +ul.profile-icons li.msnm-icon	{ width: {IMG_ICON_CONTACT_MSNM_WIDTH}px; height: {IMG_ICON_CONTACT_MSNM_HEIGHT}px; }
   1.158 +ul.profile-icons li.icq-icon	{ width: {IMG_ICON_CONTACT_ICQ_WIDTH}px; height: {IMG_ICON_CONTACT_ICQ_HEIGHT}px; }
   1.159 +ul.profile-icons li.jabber-icon	{ width: {IMG_ICON_CONTACT_JABBER_WIDTH}px; height: {IMG_ICON_CONTACT_JABBER_HEIGHT}px; }
   1.160 +ul.profile-icons li.pm-icon		{ width: {IMG_ICON_CONTACT_PM_WIDTH}px; height: {IMG_ICON_CONTACT_PM_HEIGHT}px; }
   1.161 +ul.profile-icons li.quote-icon	{ width: {IMG_ICON_POST_QUOTE_WIDTH}px; height: {IMG_ICON_POST_QUOTE_HEIGHT}px; }
   1.162 +ul.profile-icons li.report-icon	{ width: {IMG_ICON_POST_REPORT_WIDTH}px; height: {IMG_ICON_POST_REPORT_HEIGHT}px; }
   1.163 +ul.profile-icons li.edit-icon	{ width: {IMG_ICON_POST_EDIT_WIDTH}px; height: {IMG_ICON_POST_EDIT_HEIGHT}px; }
   1.164 +ul.profile-icons li.delete-icon	{ width: {IMG_ICON_POST_DELETE_WIDTH}px; height: {IMG_ICON_POST_DELETE_HEIGHT}px; }
   1.165 +ul.profile-icons li.info-icon	{ width: {IMG_ICON_POST_INFO_WIDTH}px; height: {IMG_ICON_POST_INFO_HEIGHT}px; }
   1.166 +ul.profile-icons li.warn-icon	{ width: {IMG_ICON_USER_WARN_WIDTH}px; height: {IMG_ICON_USER_WARN_HEIGHT}px; }
   1.167 +
   1.168 +/* Fix profile icon default margins */
   1.169 +ul.profile-icons li.edit-icon	{ margin: 0 0 0 3px; }
   1.170 +ul.profile-icons li.quote-icon	{ margin: 0 0 0 10px; }
   1.171 +ul.profile-icons li.info-icon, ul.profile-icons li.report-icon	{ margin: 0 3px 0 0; }
   1.172 +