[Ext] Classic Theme Restorer (for Australis UI)

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

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Aris »

Well, lets not compare everything pixelwise. ;-)
Keep in mind tabs are internally different and pre-Australis css code can not be poprted 1:1 to Australis without corrupting something. So this ui is as close to the previous one as we get it atm. Comparing Fx default theme on Windows (without using Personas) will give you a higher match rate.

whole navigation/location bar is placed 1 pixel to low
-> only on Personas to remove nav-bars top border and tab toolbars bottom border behind active tab (otherwise you would see a line between active tab and navigation toolbar)

URL is placed 2 pixels too close to favicon
-> this is what Australis urlbar is like, I won't mess around with identity-box, notification box and urlbar, if not absolutely necessary (like for movable back-foward button for example)

Star button in urlbar is placed 2 pixels too close to this button which opens drop-down list
-> Really? From my tests its even 2px farther away, but this is for compatibility reasons.

left border of location bar should be like right border
-> You should either reset 'movable back-forward' option or hit the urlbar-fix option manually on CTR preferences -> special tab. It has to be done this ugly way. Otherwise users can not override urlbar border anymore, if they want to use custom border radius values.
I will look into this to optimise urlbar border tweaking and make urlbar border styling less complicated.

tab in v2 is placed 1 pixel too high and 1 pixel too far to the right
-> v2 is experimental and part of CTR tabs primary for compatibility reasons

The animation options are default Firefox settings (from about:config). If they are enabled by default, CTR won't auto disable them. I reversed the bookmarks animation option to match other animation 'enabled' default status.
User avatar
Virtual_ManPL
Posts: 2052
Joined: July 24th, 2008, 5:52 am
Contact:

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Virtual_ManPL »

I'm perfectionist, so that's why I compare pixel by pixel. If it's for compatibly reasons and for not corrupting something else, that's good and answers for all my questions and suggestions. :)

I'm Presona user so comparing without it is not for me. ;d

Aris wrote:Star button in urlbar is placed 2 pixels too close to this button which opens drop-down list
-> Really? From my tests its even 2px farther away, but this is for compatibility reasons.
Awww, yep, I made a blunder here... ;)

Thanks for mentioning "Fix urlbars border-radius: 2px (Win) / 2.5px (Mac)", it fixes the problem with left border not matching the right border.

About animations, I'm talking about making these options as "Disable", not "Enable". I think it will be better that why, so we will be seeing all Firefox defaults as not marked preferences in Classic Theme Restorer as it's for other preferences.
Virtualfox persona
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
Kelderic
Posts: 34
Joined: June 1st, 2011, 10:06 pm

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Kelderic »

Aris wrote:

Code: Select all

statusbarpanel {
    -moz-appearance:inherit;
    border:none !important;
}


Can you confirm this only happens on Windows Classic visuaul style?
Next build will fix this.


Confirmed, and thanks!
Pixel
Posts: 135
Joined: December 20th, 2007, 5:53 pm

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Pixel »

Using tab max-width of 250px, tabs resize when closing a tab with the mouse instead of maintaining the same size until the mouse exits the tab bar area.
User avatar
Virtual_ManPL
Posts: 2052
Joined: July 24th, 2008, 5:52 am
Contact:

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Virtual_ManPL »

Same here.
Virtualfox persona
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
User avatar
kilara1988
Posts: 374
Joined: July 1st, 2011, 2:57 am

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by kilara1988 »

It is the same even if you set it to 150px too.Anything other than the Australis default(180px) is breaking it.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Aris »

To change tab width this css might be better:

Code: Select all

.tabbrowser-tab:not([pinned]) {
  max-width: 250px !important;
  min-width: 100px !important;
}
.tabbrowser-tab:not([pinned]):not([fadein]) {
  max-width: 0.1px !important;
  min-width: 0.1px !important;
}


However, the code does not work properly when registered/loaded inside an extension, but it works in Stylish.
Set CTRs settings back to default first.
It is also possible to use TabMixPlus or TabUtilities to get 'classic' tab width.

Because of tab resizing issues I didn't want to add tab-width settings to CTR. :D
User avatar
Virtual_ManPL
Posts: 2052
Joined: July 24th, 2008, 5:52 am
Contact:

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Virtual_ManPL »

But if it's Firefox bug, maybe I should report it, that code even if it's in add-on didn't works.
What do you think Aris?
Virtualfox persona
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Aris »

Same happens on pre-Australis too. Try above code using a different max-width in Fx28 with Stylish and it works fine. Add the code to any addon which loads css code and tabs resize once again.

TMP and TU use a different way by appending css to default browser.css on runtime. This seems to work, but I don't want to reuse their code, if users just have to install TMP/TU to have this feature.

Also modifying browser.css inside omni.ja and replacing tabs max width works fine (omni.ja: unpack, edit file, repack).

I'm not sure, if this is a Firefox bug or Mozilla is doing it on purpose.
User avatar
Pizzapops
Posts: 46
Joined: December 22nd, 2013, 6:56 pm
Location: Lake of the Ozarks, MO

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Pizzapops »

Lately, the Stylish code I use for tabs in the Australis Nightly and the Australis Aurora is not working. I have been using the "Opera-like tab shape for Firefox" style. It works fine in Holly Aurora and Cyberfox 27. Even the max tab width set in TMP isn't recognized. If I disable and re-enable the style, it works until Australis is restarted.

Code: Select all

@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

.tabbrowser-tab[pinned]{
 min-width: 25px !important;
 max-width: 25px !important;
 width: 25px !important;
}

 
.tabbrowser-tab[fadein]:not([pinned]) {
    max-width: 120px !important;
    min-width: 50px !important;
}

.tabbrowser-tab[fadein][selected]:not([pinned]) {
    min-width: 50px !important;
}

#tabbrowser-tabs ~ #alltabs-button {
    visibility: visible !important;
}

.tabbrowser-tab {
background-size: 100% -moz-calc(100% - 2 px) !important;
-moz-border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAXCAQAAACVbWY0AAAAAXNSR0IAr
s4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sCCgw7Ce0kW7AAAAACYktHRAAAqo0jMgAAAOVJREFUKJGdUMEKgk
AQfc5ukZQoHoJAMaJL4LGP6Rbdo3N0J/1A32Al055SKGUYtPGJEg2OzSPgdl5vLczQwAMCHRhoo8Bp8m1gEHclvzwEWL+Qsi1CU
nM9jBzgp2KLuU1uuyUE2CGHqED37EOyTYbxziO4212SIY2fGKj0Sb1UqS4o+Tken3GqCKsZY6cm2/kqxwWgc0mCuqDUJ5Cp57qg
aKBRzVVZVZokPRar9QgaqtWhU78UlRHyYzrJ5DVCgE9/iToC0H1518Voo2wpaH3JRtN3RPfphmlG5O8Lfa8aTOKxf4JITp52BrKXVU
AAAAASUVORK5CYII=") 4 5 3 6 / 4px 5px 3px 6px stretch !important;
border-radius: 10px 10px 0 0!important;
/*padding-left: 4px !important;*/
}

.tabs-newtab-button {
background-size: 100% -moz-calc(100% - 2px) !important;
-moz-border-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAXCAQAAACVbWY0AAAAAXNSR0IA
rs4c6QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9sCCgw7Ce0kW7AAAAACYktHRAAAqo0jMgAAAOVJREFUKJGdUMEKg
kAQfc5ukZQoHoJAMaJL4LGP6Rbdo3N0J/1A32Al055SKGUYtPGJEg2OzSPgdl5vLczQwAMCHRhoo8Bp8m1gEHclvzwEWL+Qsi1CU
nM9jBzgp2KLuU1uuyUE2CGHqED37EOyTYbxziO4212SIY2fGKj0Sb1UqS4o+Tken3GqCKsZY6cm2/kqxwWgc0mCuqDUJ5Cp57qg
aKBRzVVZVZokPRar9QgaqtWhU78UlRHyYzrJ5DVCgE9/iToC0H1518Voo2wpaH3JRtN3RPfphmlG5O8Lfa8aTOKxf4JITp52BrKXVU
AAAAASUVORK5CYII=") 4 5 3 6 / 4px 5px 3px 6px stretch !important;
border-radius: 10px 10px 0 0!important;
padding: 1px !important;
}

.tabbrowser-tabs .tabbrowser-tab,
.tabbrowser-tabs .tabbrowser-arrowscrollbox .tabs-newtab-button
{
height: 25px !important;
min-height: 25px !important;
margin: 2px 0px 0px 0px !important;
}
Last edited by smsmith on February 27th, 2014, 12:02 pm, edited 1 time in total.
Reason: added line breaks in code to fix layout format - smsmith/moderator
Windows 10 Pro I7/16mb - work laptop, Windows 10 I7/32mb 6TB - home desktop
Cyberfox 52-64, Waterfox 56, Firefox Nightly 62, Opera 12.18, Opera Dev, Vivaldi 1.16
About 46 extensions in the Fx branches. All are portable and run from a USB 3.0 SSD drive.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Aris »

Obviously the author of that style has to update it ;-)

There were some tab changes a while ago (again).
User avatar
Edds
Posts: 332
Joined: July 21st, 2010, 1:13 pm
Location: SVK

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Edds »

Hi Aris, could you please adjust (at least) Windows 8+ colour theme for squared tabs (classic) ?
I think it's because of bug https://bugzilla.mozilla.org/show_bug.cgi?id=960517 landed
thanks
Laptop: Intel Core i5 1240P | 16GB DDR4 | 500GB NVMe | 1080p | Win 11
Phone: Samsung S24 Ultra | Android 14
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Aris »

What happened to Win8? Has Mozilla finally decided Win95 UI is the future?

Why did they change Nightly builds to Windows classic colors, but kept previous colors for Aurora ?

I will post an updated version soon.
User avatar
Virtual_ManPL
Posts: 2052
Joined: July 24th, 2008, 5:52 am
Contact:

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by Virtual_ManPL »

Aris wrote:

Code: Select all

.tabbrowser-tab:not([pinned]) {
  max-width: 250px !important;
  min-width: 100px !important;
}
.tabbrowser-tab:not([pinned]):not([fadein]) {
  max-width: 0.1px !important;
  min-width: 0.1px !important;
}
It's still broken for me when I add this code in my userChrome.css
Odd...


EDIT:
I reported this bug Bug 978033 - Using custom tab widths breaks bug #465086
Virtualfox persona
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
User avatar
WildcatRay
Posts: 7484
Joined: October 18th, 2007, 7:03 pm
Location: Columbus, OH

Re: [Ext] Classic Theme Restorer (for Australis UI)

Post by WildcatRay »

Aris wrote:What happened to Win8? Has Mozilla finally decided Win95 UI is the future?

Why did they change Nightly builds to Windows classic colors, but kept previous colors for Aurora ?

I will post an updated version soon.

Could someone post a screen shot? I only have Win7, so... 8-[
Ray

OS'es: 4 computers with Win10 Pro 64-bit; Current Firefox, Beta, Nightly, Chrome, Vivaldi
Locked