[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 (Fx 29-56)

Post by Aris »

@Frank Lion

Thanks for the suggestions, I will look into them.

@avada
All I can say is this does not happen on my profile or on a new profile, if you disable the mentioned option. Do yourself a favor and setup a clean browser profile and run your tests there.
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:@Frank Lion

Thanks for the suggestions, I will look into them.

@avada
All I can say is this does not happen on my profile or on a new profile, if you disable the mentioned option. Do yourself a favor and setup a clean browser profile and run your tests there.
Alright. Just tried it with a brand new one, it happens just the same. I only installed CTR, created a test keyworded search (Add a Keyword for this Search…), Disabled the option you mentioned, then typed the keyword and a search string.
Image
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

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

Post by Aris »

OK, I found the problem.

Waterfox and Basilisk users can install CTR 1.7.3.4 from here:

Code: Select all

https://www.dropbox.com/s/szh7yi9yk0x29n9/CTR_v1.7.3.4.xpi?dl=0
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:OK, I found the problem.

Waterfox and Basilisk users can install CTR 1.7.3.4 from here:

Code: Select all

https://www.dropbox.com/s/szh7yi9yk0x29n9/CTR_v1.7.3.4.xpi?dl=0
Thanks!
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

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

Post by Frank Lion »

Aris wrote:@Frank Lion

Thanks for the suggestions, I will look into them.
That chrome.manifest route for scrolls is a dud, even pointing to a clone of default scrollbars.css, the tabs still blow to pieces.

However....the userChrome.js route is a success. So far, I've only styled the vertical slider and thumb with lin-grads. Look fine and I can't blow them up, despite testing.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
brent_th
Posts: 15
Joined: November 29th, 2010, 9:05 am

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

Post by brent_th »

Is it possible to move the whole navigation bar (or called urlbar?) to the bottom of the page (i.e. below the main content)? Thanks in advance!
avada
Posts: 1932
Joined: February 10th, 2008, 6:30 am
Location: Hungary

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

Post by avada »

brent_th wrote:Is it possible to move the whole navigation bar (or called urlbar?) to the bottom of the page (i.e. below the main content)? Thanks in advance!
No, but there's no need. Just move its elements to the addon bar.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

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

Post by Aris »

@Frank Lion
Good to hear. I'm wondering, if they will drop supporting that workaround for userChrome.js any time soon.

@brent_th
It should be possible the same way it is with tabs toolbar and bookmarks toolbar, but why would you want that?

Start with this code inside userChrome.css without combining it with any other code while testing.

Code: Select all

/* move nav-bar to bottom */
#nav-bar {
  position: fixed !important;
  bottom: 0 !important;
  width: 100%;
  border-top: 1px solid var(--toolbox-border-bottom-color);
}
/* free space at the bottom for nav-bar */
#browser-bottombox  {
  margin-bottom: calc( var(--tab-min-height) + 3px );
}
Main menu button and overflow button will need to be adjusted, but you see how its basically done.
brent_th
Posts: 15
Joined: November 29th, 2010, 9:05 am

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

Post by brent_th »

Thanks for your help, Aris.

There is really no particular reason why would I want to move it to the bottom! I am just used to having my firefox looking like this.

I would really appreciate if you can help me more with the length of the urlbar because it looks like this now!

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

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

Post by Aris »

You will have to adjust the values for your setup:

Code: Select all

/* move nav-bar to bottom */
#nav-bar {
  position: fixed !important;
  bottom: 0 !important;
  width: 100%;
  border-top: 1px solid var(--toolbox-border-bottom-color);
  -moz-padding-start: 36px !important;
}
/* free space at the bottom for nav-bar */
#browser-bottombox  {
  margin-bottom: calc( var(--tab-min-height) + 3px );
}

/* set a minimum width for location bar */
#urlbar-container {
  min-width: 400px !important;
}

/* move main menu button to bottom left */
#PanelUI-button {
  position: fixed !important;
  left: 0 !important;
  bottom: 7px !important;
  -moz-box-ordinal-group: 0 !important;
  margin-inline-start: 0px !important;
  border-inline-start: 0px solid !important;
  margin-inline-end: 0px !important;
  border-inline-end: 0px solid !important;
  border-image: unset !important;
  border-image-slice: 0 !important;
}
#main-window[uidensity=compact] #PanelUI-button {
  bottom: 2px !important
}
#main-window[uidensity=touch] #PanelUI-button {
  bottom: 6px !important
}
Curved tabs is something I'm not going to add to CustomCSSforFx project, but there is one project dedicated to them here: https://github.com/wilfredwee/photon-australis/
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:OK, I found the problem.

Waterfox and Basilisk users can install CTR 1.7.3.4 from here:

Code: Select all

https://www.dropbox.com/s/szh7yi9yk0x29n9/CTR_v1.7.3.4.xpi?dl=0
Hmmm. It seems like enabling the hiding of that option causes huge (several second) delays and browser hangs, after I disabled it seems to have stopped happening.

(I also get deja vu, so I probably tried this option before and got the same thing, but I forgot about it.)
brent_th
Posts: 15
Joined: November 29th, 2010, 9:05 am

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

Post by brent_th »

Thank you so much, Aris. I could never abandon the ESR without your help.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

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

Post by Aris »

Frank Lion wrote:
Aris wrote:@Frank Lion

Thanks for the suggestions, I will look into them.
That chrome.manifest route for scrolls is a dud, even pointing to a clone of default scrollbars.css, the tabs still blow to pieces.

However....the userChrome.js route is a success. So far, I've only styled the vertical slider and thumb with lin-grads. Look fine and I can't blow them up, despite testing.
I finally tested the userChrome.js way to customize scrollbars and can confirm it works for me too. Not everything previously possible by "NewScrollbars" add-on can be achieved, but styling in general causes no issues.

Image
- removed scrollbar buttons
- changed scrollbar size
- changed thumb color and border radius
- changed scrollbar background color

I didn't like the fact js scripts clutter /chrome/ folder too much, so I changed their location.

firefox_folder/defaults/pref/config-prefs.js - ("loads" firefox_folder/config.js file)
firefox_folder/config.js - ("loads" profile_folder//chrome/userChrome/userChromeJS.js file)
profile_folder/chrome/userChrome/userChromeJS.js - (main userChrome file)
profile_folder/chrome/userChrome/ - (folder for userChromeJS.js and custom scripts)
profile_folder/chrome/userChrome.js - (imports scripts stored in profile_folder/chrome/userChrome/)
User avatar
Frank Lion
Posts: 21173
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom
Contact:

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

Post by Frank Lion »

Aris wrote: but styling in general causes no issues.
Yeah, seems OK -

Image



I got the code down to 2 files, so put both in the chrome folder. This was useful for my purposes, as I wanted a 'unzip and go' situation, as any @import urls are already preset and so the user doesn't need to go into the chrome folder once it is unzipped.

To work on the scrolls, the cache needs to be constantly wiped to see the effect of changes, but most things seem possible, except that things like margins and paddings don't behave as you'd expect with .css coding, but you can work around it easily enough.

I only glanced at this side (not a problem for me) but turning off JS will cause the scrolls to revert to default, which might be a problem for some users.

Quite how long this side will exist with this Mozilla bunch is a guess, but you could say that, and I do, about userChrome.css as well.
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)
.
Prof. Martelo
Posts: 144
Joined: January 1st, 2010, 10:40 am

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

Post by Prof. Martelo »

Aris,

I tried in FF59 your code in the file "addonlists_show_addon_version_number.css" and it doesn´t work. I must be doing something wrong.
Post Reply