Author |
Message |
ricktido
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/47c27b8f50ea4fef83200.jpg)
Joined: Nov 09, 2012
Posts: 127
|
Posted:
Wed Jan 09, 2013 6:00 pm |
|
How do I get these hover boxes. I made a video demonstrating it on my site, and then another site (TTG), I was able to replicate it, and I can provide my style.css, but can someone please tell me what part of my css is causing this? I know that this happens in the fisubice theme, as well. Which part of my css is creating this effect? because I would like to use the feature in a different theme, but not carry over any other part of the css, just the hover box part.
Thanks
Only registered users can see links on this board! Get registered or login!
And here is my style.css
Only registered users can see links on this board! Get registered or login! |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Wed Jan 09, 2013 6:30 pm |
|
Just use the input part of the css. It would look something like this:
Code:
input {
border-radius: 4px;
}
input:hover {
border:#d9d9d9 1px solid;border-top-color:#a0a0a0;-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);
}
|
|
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
neralex
Site Admin
![](modules/Forums/images/avatars/201442295664a46e4575d46.jpg)
Joined: Aug 22, 2007
Posts: 1775
|
Posted:
Wed Jan 09, 2013 6:32 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rrclansite
Regular
![Regular Regular](modules/Forums/images/ranks/2stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jan 18, 2011
Posts: 86
|
Posted:
Thu Jan 10, 2013 4:45 pm |
|
I would like to point out though that if you only intend it to be for input fields, you might have to change a certain bit in the .css files.
If you take real good notice, the hovering effect you're after also displays on the italic text box (see 0:43 - 0:44). In the video you see a moment where you slightly hover over the italic text selection box and it displays the same effect.
Again, if it's only for the input fields, make sure you edit the css files to only have it displayed for input fields. If you want it to be active on the whole editor (buttons and whatnot) aswell. Leave .css as is |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ricktido
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jan 10, 2013 6:11 pm |
|
nuken wrote: | Just use the input part of the css. It would look something like this:
Code:
input {
border-radius: 4px;
}
input:hover {
border:#d9d9d9 1px solid;border-top-color:#a0a0a0;-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1);
}
| |
Thanks, that worked, but how do I get the cursor to change to a hand as seen in the video? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jan 10, 2013 6:19 pm |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Thu Jan 10, 2013 6:19 pm |
|
Code:cursor: hand; cursor: pointer;
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ricktido
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jan 10, 2013 7:41 pm |
|
Guardian2003 wrote: | Code:cursor: hand; cursor: pointer;
| | Yes, but how would I implement this with the css code for the hover boxes? I would like the the cursor to turn into a hand while hovering over the boxes, while using that css to make the box have 'shadows' as well... |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Thu Jan 10, 2013 7:58 pm |
|
This is basic stuff with thousands of example on the internet. Just add
to the input:hover. It would look like this:
Code:
input:hover {
cursor: pointer; border:#d9d9d9 1px solid; border-top-color:#a0a0a0; -moz-box-shadow:inset 0 1px 2px rgba(0,0,0,.1); -webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1); box-shadow:inset 0 1px 2px rgba(0,0,0,.1);
}
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
ricktido
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Fri Jan 11, 2013 7:09 am |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|