[Ext] Classic Theme Restorer

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

You have to change the id of the popup, because you are trying to modify CTRs bookmarks button, not the default one, but that code does not change anything for me either.

Code: Select all

#ctraddon_BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) {margin-left: 215px; margin-right: -215px}
#ctraddon_BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) .panel-arrow {margin-left: -210px; margin-right: 210px}
I misread before, your are on Fx50, but he mentioned option is for Fx51+ where it reduces bookmarks toolbars space. Most likely you are trying to achieve the opposite. What toolbar is it on your screenshot you labeled with "middle toolbar", bookmarks toolbar, navigation toolbar or one of CTRs additional toolbars?

Use this to adjust left/right space of your top toolbars

Code: Select all

#navigator-toolbox > toolbar:not(#toolbar-menubar):not(#TabsToolbar):not(#nav-bar):not(#addon-bar) {
  padding: 4px !important;
}
Ree81
Posts: 17
Joined: January 10th, 2017, 7:39 am
Contact:

Re: [Ext] Classic Theme Restorer

Post by Ree81 »

Aris wrote:What toolbar is it on your screenshot you labeled with "middle toolbar", bookmarks toolbar, navigation toolbar or one of CTRs additional toolbars?

Use this..
Thanks once again. Man, you're good at this. :)

Image
Top is the normal navigation bar. Middle is bookmark bar (not altered). Bottom is tab bar (auto-disappear on one tab, and other stuff).
Sante des femmes viagra spam traitement efficace
Ree81
Posts: 17
Joined: January 10th, 2017, 7:39 am
Contact:

Re: [Ext] Classic Theme Restorer

Post by Ree81 »

Image

So good. [-o<
Sante des femmes viagra spam traitement efficace
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

You won't need the code to adjust bookmarks toolbar in Firefox 51 anymore.
Ree81
Posts: 17
Joined: January 10th, 2017, 7:39 am
Contact:

Re: [Ext] Classic Theme Restorer

Post by Ree81 »

Aris wrote:You won't need the code to adjust bookmarks toolbar in Firefox 51 anymore.
What?
Image
Sante des femmes viagra spam traitement efficace
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

In Firefox 51+ Mozilla already added a gap to bookmarks toolbar, the gap you created using the above code.
Ree81
Posts: 17
Joined: January 10th, 2017, 7:39 am
Contact:

Re: [Ext] Classic Theme Restorer

Post by Ree81 »

Aris wrote:You have to change the id of the popup, because you are trying to modify CTRs bookmarks button, not the default one, but that code does not change anything for me either.

Code: Select all

#ctraddon_BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) {margin-left: 215px; margin-right: -215px}
#ctraddon_BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) .panel-arrow {margin-left: -210px; margin-right: 210px}
That guy came back, and now it works (mostly)! He helped me fine-tune these settings:

Code: Select all

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
#BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) {margin-left: 215px; margin-right: -322px}
#BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) .panel-arrow {margin-left: -210px; margin-right: 322px}
The animation "pops out" from the right instead of from the actual button, but that's a minor thing.

Do you know how to change this to work with CTR's bookmark button (in my opinion superior)?

Edit: Crap, this is just a superficial fix. It's different on every computer and every layout (esp. for CTR users). Don't use the above code, it's basically worthless except for me..
Sante des femmes viagra spam traitement efficace
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

Replace #BMB_bookmarksPopup with #ctraddon_BMB_bookmarksPopup to affect the popup CTRs button uses.
Ree81
Posts: 17
Joined: January 10th, 2017, 7:39 am
Contact:

Re: [Ext] Classic Theme Restorer

Post by Ree81 »

Thanks, but it was borked with those settings, and I probably won't change them every time I change the look of FF.

I guess I'm after the function that tells FF to animate it to the left by default, and change that to 'right by default'.
Sante des femmes viagra spam traitement efficace
Ree81
Posts: 17
Joined: January 10th, 2017, 7:39 am
Contact:

Re: [Ext] Classic Theme Restorer

Post by Ree81 »

Got the solution for the animation from another kind user:

@namespace url(http://www.mozilla.org/keymaster/gateke ... s.only.xul);
#BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) {
margin-left: 340px;
margin-right: -340px;
transform-origin: 0% 0% 0px;
}
#BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) .panel-arrow {
margin-left: -330px;
margin-right: 330px;
transform-origin: 0% 0% 0px;
}

Didn't work with CTR's bookmark button but no one try to fix this as I like the icons on this bookmark button more. Very thankful for the help. :)

Does anyone know if you can enable FF's "press escape to stop gif animations"?
Sante des femmes viagra spam traitement efficace
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

Not sure, if you understood my last post, but the code you got can only affect CTRs button, if you change given id (#BMB_bookmarksPopup) to CTR buttons popup id (#ctraddon_BMB_bookmarksPopup). Its like you trying to call "Bob" using "Mike" and wondering why he is not responding.

This should work in Stylish and on CTRs prefwindow (css code area):

Code: Select all

/*AGENT_SHEET*/
#ctraddon_BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) {
  margin-left: 340px !important;
  margin-right: -340px !important;
  transform-origin: 0% 0% 0px !important;
}
#ctraddon_BMB_bookmarksPopup[arrowposition="after_end"]:-moz-locale-dir(ltr) .panel-arrow {
  margin-left: -330px !important;
  margin-right: 330px !important;
  transform-origin: 0% 0% 0px !important;
}
Ree81
Posts: 17
Joined: January 10th, 2017, 7:39 am
Contact:

Re: [Ext] Classic Theme Restorer

Post by Ree81 »

I understood, I tried that exact code before, and it's borked. Meaning it didn't work properly and something messed up. Arrow and popup spawn location are both in the wrong place.
Sante des femmes viagra spam traitement efficace
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

Code is working fine for me: http://i.imgur.com/We7cmRH.png
Ree81
Posts: 17
Joined: January 10th, 2017, 7:39 am
Contact:

Re: [Ext] Classic Theme Restorer

Post by Ree81 »

The arrow is supposed to be further to the left, right? Not right, left, right?

:P

Edit: Actually that was a confusing comment. If you compare where the arrow is to where it pops out on the FF button, it's slightly to the right (of the main menu area). It also pops out of the left of the window in that image.
Last edited by Ree81 on January 13th, 2017, 8:19 am, edited 1 time in total.
Sante des femmes viagra spam traitement efficace
User avatar
Jack Black
Posts: 82
Joined: January 17th, 2011, 2:17 pm

Re: [Ext] Classic Theme Restorer

Post by Jack Black »

Ree81 wrote:Does anyone know if you can enable FF's "press escape to stop gif animations"?
Since this feature got removed in Firefox 20, along with bug #614304, you now have to rely on an add-on; BetterStop, for example.
Post Reply