[Ext] Classic Theme Restorer

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
John877
Posts: 4
Joined: January 13th, 2015, 8:39 am

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by John877 »

How was it done previously with no text jumping, or does the API or whatever no longer exist in 57?

How to disable the loading image too?
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by Aris »

The icon is there since years. Before that there was no loading animation on tabs.

Hide both with this:

Code: Select all

.tabbrowser-tab .tab-throbber,
.tabbrowser-tab .tab-icon-image{
  display: none !important;
  visibility: collapse !important;
}
No need to reply/post on Github about this, since you are asking about code for Firefox 52.
John877
Posts: 4
Joined: January 13th, 2015, 8:39 am

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by John877 »

My questions were regarding 57 though. Will that work in 57?
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by Aris »

Yes, it works in Firefox up to 59.
rocco.xyz
Posts: 31
Joined: December 28th, 2015, 10:54 pm

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by rocco.xyz »

Hello Aris, good day.
I would like to remove the "View Bookmarks Sidebar" and "Show All Bookmarks" menus from the bookmarks button, but when I do it, there is a separator left over and I do not know how to hide it, it does not have any "ID" that I can identify.
How do I hide it?

Image Image
Thanks in advance. :)
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by Aris »

Try this:

Code: Select all

#BMB_viewBookmarksSidebar,
#BMB_bookmarksShowAllTop,
#BMB_bookmarksShowAllTop + menuseparator,
#BMB_recentBookmarks,
#BMB_recentBookmarks + menuseparator {
  display: none !important;
}
rocco.xyz
Posts: 31
Joined: December 28th, 2015, 10:54 pm

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by rocco.xyz »

It worked, thank you very much! :)
DrStrange
Posts: 46
Joined: March 15th, 2004, 4:15 pm

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by DrStrange »

Hi there.
I use the Nuvola theme in Basilisk. Between the back/forward buttons, there is a drop down history arrow. CTR allows me to move the back/forward arrows to the right of the location bar, but the drop down history arrow does not move with them. Is there any way that I can move them with the back/forward buttons, or can the drop down arrow be hidden?

Thanks.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by Aris »

That back/forward dropmarker is created by Nuvola theme, not by the browser or CTR. It is part of the location bar container, so there is no way to move it. CTR offers an own movable back/forward dropmarker, but it does not get styled by Nuvola theme.
DrStrange
Posts: 46
Joined: March 15th, 2004, 4:15 pm

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by DrStrange »

Thanks for your reply.
This seems to hide the back/forward dropmarker for me:

Code: Select all

    
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */ 
#back-forward-dropmarker { display: none !important; }
{
  display: none;
}
I am happy enough to use the back/forward buttons with their inbuilt history functionality.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by Aris »

It does, but only use this code:

Code: Select all

#back-forward-dropmarker {
  display: none !important;
}
avada
Posts: 1932
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by avada »

Hi Aris!

Is there any chance you could tell me how to fix the Location Bar Enhancer breadcrumbed urlbar being off center?
Image
Is was trying to increase the font size a bit via CSS for better readability, but it gets increasingly off center
And all my attempts to correct it either didn't do anything or mode it worse...

(PS: I have another problem, that I doubt can be fixed via CSS, do you think it's fixable via userscript?)
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by Aris »

Try to increase location bar size too.

Quick test (look for more ui items with DOM Inspector):

Code: Select all

#UIEnhancer_URLBar .enhanced-text-normal, .enhanced-text-noArrow-normal,
#UIEnhancer_URLBar .enhanced-text-textHovered, .enhanced-text-noArrow-textHovered {
  font-size: 16px !important;
  padding: 0 !important;
}

#urlbar {
  height: 28px !important;
  font-size: 16px !important;
}
That add-ons code is quite complex and might need far more fine tuning. Add this to your location bar and look through it:
- extract its xpi file
- find and look through DevtoolsLight.css


Your second problem sound like a Firefox bug. Not sure what I could do about it.

You could try to add one code to userChrome.css (browser ui) and another one to userContent.css (web content) and leave Firefox settings default. That way things might work out the correct way.
avada
Posts: 1932
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by avada »

Aris wrote:Try to increase location bar size too.

Quick test (look for more ui items with DOM Inspector):

Code: Select all

#UIEnhancer_URLBar .enhanced-text-normal, .enhanced-text-noArrow-normal,
#UIEnhancer_URLBar .enhanced-text-textHovered, .enhanced-text-noArrow-textHovered {
  font-size: 16px !important;
  padding: 0 !important;
}

#urlbar {
  height: 28px !important;
  font-size: 16px !important;
}
That add-ons code is quite complex and might need far more fine tuning. Add this to your location bar and look through it:
- extract its xpi file
- find and look through DevtoolsLight.css.
Thanks!
I'll try it.
Aris wrote:You could try to add one code to userChrome.css (browser ui) and another one to userContent.css (web content) and leave Firefox settings default. That way things might work out the correct way.
Is that possible? FF font settings seem a tad more complicated than what CSS can do. It handles monospace/proportional and serfi/sans fonts separately, and some other features.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (Fx 29-56)

Post by Aris »

Sure, I just tried it in Fx56.

userChrome.css (browser ui)

Code: Select all

* {
	font-family: serif !important;
	font-size: 8px !important;
}
userContent.css (web content)

Code: Select all

* {
	font-family: cursive !important;
	font-size: 16px !important;
}
Image
Post Reply