MozillaZine

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

Announce and Discuss the Latest Theme and Extension Releases.
sensitive

User avatar
 
Posts: 483
Joined: October 9th, 2007, 1:22 am

Post Posted November 13th, 2017, 11:26 am

Aris wrote:Set tab close icon to default and add this code to CTRs custom CSS area (it will always keep default state):

Code: Select all
@-moz-document url(chrome://browser/content/browser.xul){

   /* Tabs toolbar tab close button (Fx31+) */
   #navigator-toolbox #TabsToolbar :-moz-any(#tabs-closebutton,#ctraddon_tabs-closebutton,#tabmix-tabs-closebutton){
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
     -moz-appearance: none !important;
     border: none !important;
     padding: 0px !important;
     list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
   }
   #navigator-toolbox #TabsToolbar :-moz-any(#tabs-closebutton,#ctraddon_tabs-closebutton,#tabmix-tabs-closebutton):hover{
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   #navigator-toolbox #TabsToolbar :-moz-any(#tabs-closebutton,#ctraddon_tabs-closebutton,#tabmix-tabs-closebutton):hover:active {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   /* Tab close button */
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button {
     -moz-appearance: none !important;
     -moz-image-region: rect(0, 64px, 16px, 48px) !important;
     border: none !important;
     padding: 0px !important;
     list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover,
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover[selected="true"] {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active,
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active[selected="true"] {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button[selected="true"] {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button{
     opacity: 1.0 !important;
   }

   #TabsToolbar .close-icon > .toolbarbutton-icon {
     width: 16px !important;
   }

}

still highlights

secretagentmoof
 
Posts: 2
Joined: April 30th, 2014, 7:11 pm

Post Posted November 13th, 2017, 2:34 pm

Some odd behavior I found with the new webextensions-based LastPass extension (both 4.1.80.2beta and the 4.2.x version): the LastPass icon wouldn't show up at all in the Navigation toolbar until I disabled CTR, restarted, and reenabled CTR; it didn't show up in customize, either.

Aris

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

Post Posted November 13th, 2017, 4:54 pm

sensitive wrote:...
still highlights


There was an error for non-active tabs. Here is the fixed one:

Code: Select all
@-moz-document url(chrome://browser/content/browser.xul){

   /* Tabs toolbar tab close button (Fx31+) */
   #navigator-toolbox #TabsToolbar :-moz-any(#tabs-closebutton,#ctraddon_tabs-closebutton,#tabmix-tabs-closebutton){
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
     -moz-appearance: none !important;
     border: none !important;
     padding: 0px !important;
     list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
   }
   #navigator-toolbox #TabsToolbar :-moz-any(#tabs-closebutton,#ctraddon_tabs-closebutton,#tabmix-tabs-closebutton):hover{
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   #navigator-toolbox #TabsToolbar :-moz-any(#tabs-closebutton,#ctraddon_tabs-closebutton,#tabmix-tabs-closebutton):hover:active {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   /* Tab close button */
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button {
     -moz-appearance: none !important;
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
     border: none !important;
     padding: 0px !important;
     list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover,
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover[selected="true"] {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active,
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active[selected="true"] {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button[selected="true"] {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button{
     opacity: 1.0 !important;
   }

   #TabsToolbar .close-icon > .toolbarbutton-icon {
     width: 16px !important;
   }

}


secretagentmoof wrote:Some odd behavior I found with the new webextensions-based LastPass extension (both 4.1.80.2beta and the 4.2.x version): the LastPass icon wouldn't show up at all in the Navigation toolbar until I disabled CTR, restarted, and reenabled CTR; it didn't show up in customize, either.


Disabling and enabling LastPass should do the trick too. Resetting toolbar configuration to default in customize mode might also solve issues like this one. I recall LastPass button issues were always above-average. Most of the time they used improper scripts, that try to place the button in navigation toolbar on every startup.
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.

sensitive

User avatar
 
Posts: 483
Joined: October 9th, 2007, 1:22 am

Post Posted November 14th, 2017, 6:34 am

Aris wrote:
sensitive wrote:...
still highlights


There was an error for non-active tabs. Here is the fixed one:

Code: Select all
@-moz-document url(chrome://browser/content/browser.xul){

   /* Tabs toolbar tab close button (Fx31+) */
   #navigator-toolbox #TabsToolbar :-moz-any(#tabs-closebutton,#ctraddon_tabs-closebutton,#tabmix-tabs-closebutton){
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
     -moz-appearance: none !important;
     border: none !important;
     padding: 0px !important;
     list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
   }
   #navigator-toolbox #TabsToolbar :-moz-any(#tabs-closebutton,#ctraddon_tabs-closebutton,#tabmix-tabs-closebutton):hover{
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   #navigator-toolbox #TabsToolbar :-moz-any(#tabs-closebutton,#ctraddon_tabs-closebutton,#tabmix-tabs-closebutton):hover:active {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   /* Tab close button */
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button {
     -moz-appearance: none !important;
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
     border: none !important;
     padding: 0px !important;
     list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover,
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover[selected="true"] {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active,
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active[selected="true"] {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button[selected="true"] {
     -moz-image-region: rect(0, 16px, 16px, 0) !important;
   }
   
   #main-window #navigator-toolbox #TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-close-button{
     opacity: 1.0 !important;
   }

   #TabsToolbar .close-icon > .toolbarbutton-icon {
     width: 16px !important;
   }

}


secretagentmoof wrote:Some odd behavior I found with the new webextensions-based LastPass extension (both 4.1.80.2beta and the 4.2.x version): the LastPass icon wouldn't show up at all in the Navigation toolbar until I disabled CTR, restarted, and reenabled CTR; it didn't show up in customize, either.


Disabling and enabling LastPass should do the trick too. Resetting toolbar configuration to default in customize mode might also solve issues like this one. I recall LastPass button issues were always above-average. Most of the time they used improper scripts, that try to place the button in navigation toolbar on every startup.

no luck. still highlight hover the x close tabs.

Kreibich
 
Posts: 2
Joined: November 14th, 2017, 7:30 am

Post Posted November 14th, 2017, 7:36 am

Hi,
your Classic Theme Restorer addon is not working on new FF 57. Can you make an update that supports FF 57, please? I can send you some donation for it!

Thanks.

Aris

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

Post Posted November 14th, 2017, 8:03 am

You must be doing something wrong. Post a screenshot of CTR prefwindow with custom CSS category opened.
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.

sensitive

User avatar
 
Posts: 483
Joined: October 9th, 2007, 1:22 am

Post Posted November 14th, 2017, 9:03 am

I can't screenshot the tab while clicking closing a tab.

Aris

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

Post Posted November 14th, 2017, 9:38 am

Open CTR prefwindow, go to custom CSS category, make screenshot, post here. I want to see this area of CTR not the hovered close icon.
But if you want to know, you can make screenshots hitting the print key on your keyboard even while you are hovering something.
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.

sensitive

User avatar
 
Posts: 483
Joined: October 9th, 2007, 1:22 am

Post Posted November 14th, 2017, 9:50 am

Aris wrote:Open CTR prefwindow, go to custom CSS category, make screenshot, post here. I want to see this area of CTR not the hovered close icon.
But if you want to know, you can make screenshots hitting the print key on your keyboard even while you are hovering something.

the first option not sure how to do that. second option by hitting the print key on laptop it won't work.

Aris

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

Post Posted November 14th, 2017, 10:04 am

Wait, you don't know how to open CTRs preferences or how to post a screenshot?

Just make sure your CTR prefwindow looks like this after you added the code I posted:

Image
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.

sensitive

User avatar
 
Posts: 483
Joined: October 9th, 2007, 1:22 am

Post Posted November 14th, 2017, 10:06 am

Aris wrote:Wait, you don't know how to open CTRs preferences or how to post a screenshot?

Just make sure your CTR prefwindow looks like this after you added the code I posted:

Image

image doesn't open.

Aris

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

Post Posted November 14th, 2017, 10:48 am

I'm sorry, I did all I can. Now its up to you figuring out how to use given instructions.
Ask family or friends for help, if you havin'g trouble to do things like that on you PC.
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.

FineWine

User avatar
 
Posts: 181
Joined: July 16th, 2004, 12:21 am

Post Posted November 14th, 2017, 6:54 pm

Kreibich wrote:Hi,
your Classic Theme Restorer addon is not working on new FF 57. Can you make an update that supports FF 57, please? I can send you some donation for it!

Thanks.

If you fire up CTR Preferences and at the bottom of the panel you will see a bright Yellow & Red box labeled Firefox 57+ which if you click on it will lead you to all the information you require about CTR & Firefox 57+ But I will provide the link for you.

If, like many, you do not like the new Firefox 57 Quantum then try Waterfox 55.2.2 again you will find that link at the bottom of the panel you will see a bright Yellow & Red box labeled Waterfox. But I will provide the link for you.

Mervil
 
Posts: 1
Joined: November 15th, 2017, 1:43 am

Post Posted November 15th, 2017, 2:08 am

Can we hope for this extension to work on this new Quantum?
The new design looks like....

LIMPET235
Moderator

User avatar
 
Posts: 37588
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Post Posted November 15th, 2017, 2:36 am

Hi Mervil,
The post directly above yours has a link (CTR & Firefox 57 +) to Aris' site where he shows all the details.
ref; > https://github.com/Aris-t2/ClassicTheme ... issues/299

Nope. No chance.
Ancient Amateur Astronomer
Win-7-HP/Intel® DualCore-2.0GHz/500G HDD/4 Gig Ram/550Watt PSU/350WattUPS/Firefox-20.0-56.0.1/T-bird-2.0.0.24/SnagIt-v10.0.1/MWP-7.11.0.
RadioYachting.
(Always choose the "Custom" Install.)

Return to Extension/Theme Releases


Who is online

Users browsing this forum: No registered users and 6 guests