Users and developers helping users with generic and technical Pale Moon issues on all operating systems.
Moderator: trava90
Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
-
mozart78
- Moon lover
- Posts: 99
- Joined: 2014-08-02, 14:29
- Location: Bulgaria
Unread post
by mozart78 » 2014-08-04, 15:13
Hello everybody
Is there any workaround to rearrange "Next" and "Prev" buttons in Pale Moon? In FF there is a fix used in userChrome.css. I like Next button to be first, but fix for FF don't work in Pale Moon. The fix for FF is:
Code: Select all
findbar toolbarbutton[anonid="find-next"] label:after { content: 'Next' !important; }
findbar toolbarbutton[anonid="find-previous"] label:after { content: 'Prev' !important; }
findbar toolbarbutton[anonid="find-next"] label:after,
findbar toolbarbutton[anonid="find-previous"] label:after { margin-left: 2px !important; }
@-moz-document url("chrome://browser/content/browser.xul") {
.findbar-container spacer { visibility: collapse }
.findbar-closebutton { -moz-box-ordinal-group: 0 !important; }
.findbar-find-previous.tabbable { -moz-box-ordinal-group: 2 !important; }
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#TabsToolbar{-moz-box-ordinal-group:10000!important}
It works perfect even on FF v.31. It looks like that, after the fix:
The code also permits renameing of buttons. Is there some way to drive buttons in this manner in Pale Moon too?
Thank you in advance and kind regards!
-
mikeysc
Unread post
by mikeysc » 2014-08-04, 18:45
Next is 1st by default for me (PM 24.7). I do not have any css code in userChrome relating to this.
-
mozart78
- Moon lover
- Posts: 99
- Joined: 2014-08-02, 14:29
- Location: Bulgaria
Unread post
by mozart78 » 2014-08-05, 10:16
I just tried without userChrome. Backed up it and delete it. Nothing, the result is the same
-
mozart78
- Moon lover
- Posts: 99
- Joined: 2014-08-02, 14:29
- Location: Bulgaria
Unread post
by mozart78 » 2014-08-05, 11:12
Thanks for your help, but this topic is for back and forward buttons. We talk for buttons in the find bar
-
x-15a2
Unread post
by x-15a2 » 2014-08-05, 11:14
mozart78 wrote:Thanks for your help, but this topic is for back and forward buttons. We talk for buttons in the find bar
My bad, sorry.
-
mozart78
- Moon lover
- Posts: 99
- Joined: 2014-08-02, 14:29
- Location: Bulgaria
Unread post
by mozart78 » 2014-08-05, 11:19
You are welcome
For me is a liitle bit difficult to explain in english what I want to say and I hope we understand each oder
-
Supernova
Unread post
by Supernova » 2014-08-05, 16:29
As mikeysc, I have next at left of previous by default on my findbar.
-
mozart78
- Moon lover
- Posts: 99
- Joined: 2014-08-02, 14:29
- Location: Bulgaria
Unread post
by mozart78 » 2014-08-05, 16:35
Sorry, it's my fault, I forgot to say that this is for Linux version. Now I checked it on Windows and there it is ok, but on Linux I can't rearrange them.
-
mozart78
- Moon lover
- Posts: 99
- Joined: 2014-08-02, 14:29
- Location: Bulgaria
Unread post
by mozart78 » 2014-08-08, 14:30
Do I have to write in Linux section of the forum?
-
jumba
Unread post
by jumba » 2014-08-08, 15:04
Moving this topic would be better.
So, linux PM find bar layout is different than what is in windows. On linux the order of the buttons is "< Previous > Next", and on windows it's "▼ Next ▲ Previous". I wonder why they are different?
To rearrange the buttons the find bar would need to be customizable (or maybe using some userchrome.css hacks).
-
mozart78
- Moon lover
- Posts: 99
- Joined: 2014-08-02, 14:29
- Location: Bulgaria
Unread post
by mozart78 » 2014-08-08, 15:17
Yeah, it's obvious why they are in this order, but I seek a way to rearrange them. I use userchrome "hack" on windows and it works, but on Linux it won't:
Code: Select all
findbar toolbarbutton[anonid="find-next"] label:after { content: 'Next' !important; }
findbar toolbarbutton[anonid="find-previous"] label:after { content: 'Prev' !important; }
findbar toolbarbutton[anonid="find-next"] label:after,
findbar toolbarbutton[anonid="find-previous"] label:after { margin-left: 2px !important; }
@-moz-document url("chrome://browser/content/browser.xul") {
.findbar-container spacer { visibility: collapse }
.findbar-closebutton { -moz-box-ordinal-group: 0 !important; }
.findbar-find-previous.tabbable { -moz-box-ordinal-group: 2 !important; }
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
#TabsToolbar{-moz-box-ordinal-group:10000!important}
-
jumba
Unread post
by jumba » 2014-08-08, 15:59
But not that obvious why the order is not the same on both OS. Also you shouldn't need to use the "fix" for PM on windows since the buttons are already on the right order which you want.
But here is a hack for you!
Code: Select all
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#FindToolbar :first-child { -moz-box-ordinal-group: 0!important; }
#FindToolbar :first-child ~ * { -moz-box-ordinal-group: 1!important; }
#FindToolbar .findbar-find-previous { -moz-box-ordinal-group: 3!important; }
#FindToolbar .findbar-find-previous ~ * { -moz-box-ordinal-group: 4!important; }
#FindToolbar .findbar-find-next { -moz-box-ordinal-group: 2!important; }
-
mozart78
- Moon lover
- Posts: 99
- Joined: 2014-08-02, 14:29
- Location: Bulgaria
Unread post
by mozart78 » 2014-08-08, 16:21
Thank you, thank you, thank you!!! It works!!! I'm VERY happy now
I apologize for inconvenience, but is it possible for you to give me the code for renaming the "Previous" button to "Prev"? Thank you once again
-
jumba
Unread post
by jumba » 2014-08-08, 17:02
No problem!
Code: Select all
#FindToolbar .findbar-find-previous .toolbarbutton-text { display: none!important; }
#FindToolbar .findbar-find-previous:after { content: "Prev"; }
-
mozart78
- Moon lover
- Posts: 99
- Joined: 2014-08-02, 14:29
- Location: Bulgaria
Unread post
by mozart78 » 2014-08-08, 21:08
You are GOD! Thank you very, very much! Appreciated!