The Arcive of vBulletin Modifications Site. |
|
[DMC]CSS Button Hover for All vB Default Button Details »»
|
|||||||||||||||||||||||||||
|
[DMC]CSS Button Hover for All vB Default Button
Developer Last Online: May 2014
Reply Post Button
![]() Postbit Edit Post ![]() New Thread ![]() ok how to add it ? add this code to additional CSS ur template PHP Code:
then replace with PHP Code:
this is a default code for NEW THREAD BUTTON PHP Code:
PHP Code:
![]() for add Image on CSS Button u can use this code on CSS Adittional PHP Code:
Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Nice mod, this is a decent little change for a lot of themes.
|
|
#3
|
||||
|
||||
|
Exactly what i was looking for my new skin, thanks a lot dude
|
|
#4
|
||||
|
||||
|
nice work
i like Css codes |
|
#5
|
||||
|
||||
|
Yes, it looks nice. But what about Multiquoting:
Code:
<if condition="$show['multiquote_post']"><a href="$post[replylink]" rel="nofollow" onclick="return false"> <img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on <else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a></if> I would also advise to add outline:none; and text-decoration:none; to the CSS code to get rid of that annoying outline that is making after clicking a button, and to remove the underline. |
|
#6
|
||||
|
||||
|
Looks great but... how to change font's colors???
|
|
#7
|
||||
|
||||
|
Just change the value of underlined and red text in the CSS code:
Code:
color:#3b5998; |
|
#8
|
||||
|
||||
|
I tried it but i feel that the code into the main CSS is having any conflict with it due doesn't matters the color i insert it the text into buttons is always blue, any idea?
|
|
#9
|
||||
|
||||
|
Ahh my bad. In order to play with links color (button links in this example) you need to add another code to the CSS:
Code:
.button a:link {
color:#000000;
}
Code:
.button {
display:inline;
}
.button a {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
display: block;
padding:5px 21px;
background:#F9f9f9;
color:#3b5998;
float:left;
text-align:center;
border-top:1px solid #C9C9DA;
border-right:1px solid #C9C9DA;
border-bottom:1px solid #C9C9DA;
border-left:1px solid #C9C9DA;
}
.button a:link {
color:#000000;
}
.button a:hover {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
background:#FFFFE0;
color:#3b5998;
border-top:1px solid #C9C9DA;
border-right:1px solid #C9C9DA;
border-bottom:1px solid #C9C9DA;
border-left:1px solid #C9C9DA;
}
.button a:link { - is to show the color of links .button a:hover { - is to show the color of links with the mouse over them There is also a:active state, that show the links after you press them. But it has no use in this example. I hope this will help you
|
|
#10
|
||||
|
||||
|
Quote:
Did you ever get the position for the CSS button code sorted for the multi-quote string? |
![]() |
|
|