Resource icon

Hover Effect for actionBar

inzanty

Active member
inzanty submitted a new resource:

Hover Effect for actionBar - Hover Effect for actionBar

Add some code to extra.less
Code:
//Action Bar
.message-actionBar {
    .actionBar-action {
        font-size: 0;
        transition: .5s;
      
        &:hover{
            font-size: 100%;
            text-decoration:none;
            color: @xf-paletteColor3;
        }
        &:before {
            font-size: 15px;
            margin-left: 2px;
            text-rendering: auto;
            -webkit-font-smoothing: antialiased;
            margin-right: 5px;
        }...

Read more about this resource...
 

Max Taxable

Well-known member
Pretty cool. Thank you for this nifty extra!

Went with this though, for the IP. Search icon seemed off to me.
CSS:
}
        &--ip:before{
            content: "\f233";
}
 

Max Taxable

Well-known member
Seems to hide or disable the likes reaction
A short conversation with @Russ solved this.

Below this:
CSS:
&--history:before{
            content: "\f1da";
        }

Add this:
CSS:
&--reaction i {
            display: none;
        }
        &--reaction:before {
            content: "\f164";
        }

If you want this:
WITHreaction.jpg


Otherwise you won't see any new reactions abilities, you will only see reactions for posts that were previously reacted to.

Thank you @Russ for taking a look and solving this.
 

Max Taxable

Well-known member
One problem we've noticed.

When you react to a post, the FA icon stays for you after you react to a post. Would be nice to have the FA icon disappear for you after you react to a post.
 

tajhay

Well-known member
One problem we've noticed.

When you react to a post, the FA icon stays for you after you react to a post. Would be nice to have the FA icon disappear for you after you react to a post.
Any updates to incorporate this change?
 

Mouth

Well-known member
In 2.2, the hover effect keeps the 'thumbs up' icon, thus showing 2 of the same icon. I'd like to remove one of the thumbs-up icons when the hover is active, to remove the duplicate. Any pointers on how to achieve this?
I tried the below, but ti didn't change anything.

CSS:
        &--like:before { content: "\f087"; }
        &--like:hover:before { content: ""; }
 

Hotfix

Active member
In 2.2, the hover effect keeps the 'thumbs up' icon, thus showing 2 of the same icon. I'd like to remove one of the thumbs-up icons when the hover is active, to remove the duplicate. Any pointers on how to achieve this?
I tried the below, but ti didn't change anything.

CSS:
        &--like:before { content: "\f087"; }
        &--like:hover:before { content: ""; }
Have you managed to solve this?
 
Top