ElkArte Community

Project Support => Support => Topic started by: Ruth on September 09, 2014, 05:18:34 am

Title: Ugly "Small Pagelinks"
Post by: Ruth on September 09, 2014, 05:18:34 am
Hello!

Just a tiny thing...but I always hated those "triangels" before and after things.
Here they are displayed by the small pagelinks, it looks like this:  << 1 2 >>
Where do they come from? I want to kill them and send them to hell. ;)
(Wow...eine witzige Art der Zensierung! Okay...ich will sie nicht in die Hölle, bzw. zu SMF schicken, sondern dahin, wo der Pfeffer wächst)

Would it be possible to change this styling here?

Code: [Select]
.small_pagelinks {
float: right;
margin-top: -2px;
}

Maybe it would be possible to use icons instead of << and >>
or make a smaller version of the "normal pagelinks" there
or use the styling of the likes_indicator just for the numbers?

I mean this links:
Title: Re: Ugly "Small Pagelinks"
Post by: emanuele on September 09, 2014, 06:16:02 am
You can change them via css:
Code: [Select]
.small_pagelinks:before
It should be in index.css, but I'm not 100% sure.
Title: Re: Ugly "Small Pagelinks"
Post by: Ruth on September 09, 2014, 06:56:15 am
Thank you very much, emanuele, it is in index.css. I can hide it or maybe add a background-image there.

Code: [Select]
/* @todo - Fix for all templates. */
.small_pagelinks {
float: right;
margin-top: -2px;
}
.small_pagelinks li {
float: left;
}
.small_pagelinks li {
display: inline;
}
.small_pagelinks .navPages {
padding: 2px 3px 0 3px;
font-size: 0.857em;
display: block;
float: left;
}
.small_pagelinks:before {display: none;}

This will work for this one <<

Code: [Select]
.small_pagelinks:before 

But how can I get that one >> wich is behind? after? past?  O:-) I don't know the word for it...
Title: Re: Ugly "Small Pagelinks"
Post by: emanuele on September 09, 2014, 07:12:04 am
after. ;)
Title: Re: Ugly "Small Pagelinks"
Post by: Ruth on September 09, 2014, 07:14:06 am
Thank you! :D
Title: Re: Ugly "Small Pagelinks"
Post by: Spuds on September 09, 2014, 09:57:28 am
LOL .. I've always disliked them as well!

Most of them we removed some were replaced with font-awesome one, and the rest (well I hope) were moved to the css with pseudo elements :before :after ... you should be able to simply remove those CSS rules or just set that content to an empty string content: ''; in the css.
Title: Re: Ugly "Small Pagelinks"
Post by: Ruth on September 09, 2014, 04:43:54 pm

I am very glad that you have done this... ;)  It looks much "cleaner" without them, they were annoying me all the time.

It is one of the reasons why I like ElkArte this much, everything looks so clear and well-organized.


First I did not see, that those << and >> at this place don't have any function, so it is okay just to hide them, they need not to be replaced with something else.

I added a bit of color here:
Code: [Select]
.small_pagelinks .navPages {
padding: 2px 3px 0 3px;
font-size: 0.857em;
display: block;
float: left;
background-color: #5985aa;
border: 1px solid #bfd1e2;
border-radius: 4px;
font-weight: bold;
color: #FDF5E6;
line-height: 1.2em;
}
.small_pagelinks:before {display: none;}
.small_pagelinks:after {display: none;}

Now they look a bit like the "new-Button"...I think, it is better now.
Title: Re: Ugly "Small Pagelinks"
Post by: emanuele on September 09, 2014, 05:27:03 pm
That's actually pretty cool!