MozillaZine

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

Announce and Discuss the Latest Theme and Extension Releases.
Aris

User avatar
 
Posts: 3086
Joined: February 27th, 2011, 10:14 am

Post Posted November 27th, 2017, 3:28 am

@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.
Customize Firefox 57+ UI || Classic Theme Restorer (Fx 29-56) || Classic Toolbar Buttons || CustomizeMyBird

How to use legacy add-ons after Firefox 57 release? Switch to Firefox 52 ESR or move to Waterfox browser or Basilisk browser.

avada
 
Posts: 1760
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted November 27th, 2017, 3:48 am

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

Aris

User avatar
 
Posts: 3086
Joined: February 27th, 2011, 10:14 am

Post Posted November 27th, 2017, 4:14 am

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
Customize Firefox 57+ UI || Classic Theme Restorer (Fx 29-56) || Classic Toolbar Buttons || CustomizeMyBird

How to use legacy add-ons after Firefox 57 release? Switch to Firefox 52 ESR or move to Waterfox browser or Basilisk browser.

avada
 
Posts: 1760
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted November 27th, 2017, 4:27 am

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!

Frank Lion

User avatar
 
Posts: 19626
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted November 28th, 2017, 7:10 pm

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.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

brent_th
 
Posts: 13
Joined: November 29th, 2010, 9:05 am

Post Posted November 30th, 2017, 5:06 am

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: 1760
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted November 30th, 2017, 8:22 am

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.

Aris

User avatar
 
Posts: 3086
Joined: February 27th, 2011, 10:14 am

Post Posted November 30th, 2017, 9:02 am

@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.
Customize Firefox 57+ UI || Classic Theme Restorer (Fx 29-56) || Classic Toolbar Buttons || CustomizeMyBird

How to use legacy add-ons after Firefox 57 release? Switch to Firefox 52 ESR or move to Waterfox browser or Basilisk browser.

brent_th
 
Posts: 13
Joined: November 29th, 2010, 9:05 am

Post Posted November 30th, 2017, 11:06 am

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!

Aris

User avatar
 
Posts: 3086
Joined: February 27th, 2011, 10:14 am

Post Posted December 2nd, 2017, 3:43 am

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/
Customize Firefox 57+ UI || Classic Theme Restorer (Fx 29-56) || Classic Toolbar Buttons || CustomizeMyBird

How to use legacy add-ons after Firefox 57 release? Switch to Firefox 52 ESR or move to Waterfox browser or Basilisk browser.

avada
 
Posts: 1760
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Post Posted December 2nd, 2017, 4:26 am

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: 13
Joined: November 29th, 2010, 9:05 am

Post Posted December 2nd, 2017, 9:16 am

Thank you so much, Aris. I could never abandon the ESR without your help.

Aris

User avatar
 
Posts: 3086
Joined: February 27th, 2011, 10:14 am

Post Posted December 3rd, 2017, 3:56 am

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/)
Customize Firefox 57+ UI || Classic Theme Restorer (Fx 29-56) || Classic Toolbar Buttons || CustomizeMyBird

How to use legacy add-ons after Firefox 57 release? Switch to Firefox 52 ESR or move to Waterfox browser or Basilisk browser.

Frank Lion

User avatar
 
Posts: 19626
Joined: April 23rd, 2004, 6:59 pm
Location: ... The Exorcist....United Kingdom

Post Posted December 3rd, 2017, 5:19 am

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.
Metal Lion latest SeaMonkey & Thunderbird Themes - Sea Monkey and Silver Sea Monkey
"The only thing necessary for the triumph of evil, is for good men to do nothing." - Edmund Burke (attrib.)

Prof. Martelo
 
Posts: 116
Joined: January 1st, 2010, 10:40 am

Post Posted December 5th, 2017, 4:56 am

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.

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 1 guest