[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 »

Sure, but most people prefer to auto-focus a website. If you set google.com as new tab page Googles search box gets focused for example.

This is how the old override worked before Mozilla replaced it with a broken API witch fails to do this properly. I'll look into it.
felix1088
Posts: 50
Joined: August 20th, 2013, 2:32 pm

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

Post by felix1088 »

Hi,

It seems the latest update removed the status bar (or Add-On bar) at the bottom. How do I get it back?

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

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

Post by Aris »

Not sure what got removed for you, but CTRs add-on bar is still present in Firefox 52.4 and 56.x.
Right-click a toolbar and select "Add-on Bar" from menu or hit "Ctrl + /" on your keyboard.
max2
Posts: 278
Joined: September 17th, 2011, 5:37 pm

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

Post by max2 »

Aris sense Mozilla plans on removing all old XUL addons what are your plans ?
User avatar
MarkRH
Posts: 1358
Joined: September 12th, 2007, 2:30 am
Location: Edmond, OK
Contact:

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

Post by MarkRH »

max2 wrote:Aris sense Mozilla plans on removing all old XUL addons what are your plans ?
Well, for 57+ he's been putting these userChrome.css tweaks out: https://github.com/aris-t2/customcssforfx
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

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

Post by Aris »

@max2
I think you mean Mozillas plans to not support legacy add-on in Firefox 57+ anymore, right? Add-ons won't go anywhere as long Fx52ESR supports them and who knows, maybe they keep them hosted after that too.
Besides releasing many CSS parts of CTR, CTB and NB add-ons on Github I have no other plans when it comes to Mozilla's software. I'm not working on any WebExtensions, if that was part of the question.
felix1088
Posts: 50
Joined: August 20th, 2013, 2:32 pm

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

Post by felix1088 »

Aris wrote:Not sure what got removed for you, but CTRs add-on bar is still present in Firefox 52.4 and 56.x.
Right-click a toolbar and select "Add-on Bar" from menu or hit "Ctrl + /" on your keyboard.
Ah, "CTRL + /" brought it back. Thanks. :D

PS: You'll be supporting FF ESR right up to the end, I hope.. Yes?
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

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

Post by Brummelchen »

another showing of findbar (i dont like results left side, it brakes mouse when clicking into text instead a button ;)

Code: Select all

/*AGENT_SHEET*/

/* Firefox 57+ userChrome.css tweaks ****************************************************/
/* code mostly taken from 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons **/
/* by Aris (aris-addons@gmx.net)*********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


/* short findbar on contents top */

:-moz-any(.browserContainer, #viewSource) .findbar-container :-moz-any(spacer, .findbar-find-fast[anonid="match-case-status"]) {
  visibility: collapse;
}

:-moz-any(.browserContainer, #viewSource) .findbar-closebutton {
  position: relative !important;
  top: 4px !important;
  padding: 0 !important;
  margin: 0 !important;
  -moz-margin-end: 2px !important;
}

:-moz-any(.browserContainer, #viewSource) .findbar-closebutton  .toolbarbutton-icon{
  width: 16px !important;
  height: 16px !important;
}
:-moz-any(.browserContainer, #viewSource) .findbar-textbox {
  font-size: 14px !important;
}

.browserContainer findbar,
#viewSource #FindToolbar {
  -moz-box-ordinal-group: 0;
  position: fixed !important;
  margin-top:-1px !important;
  left: 5px;
  box-shadow: unset !important;
  border: 1px solid #aabccf !important;
  border-top: 0px solid transparent !important;
  border-radius: 0 0 3px 3px;
  transition-property: margin-top, opacity, visibility !important;
  opacity: 1 !important;
}
  
/*default aeroblue toolbars on Windows 7 & Vista*/
@media (-moz-os-version: windows-win7),(-moz-os-version: windows-vista) {
  @media not all and (-moz-windows-classic) {
	.browserContainer findbar, #viewSource #FindToolbar {
	  background: linear-gradient(#ddebf9,#ddebf9) !important;
	}
  }
}

#viewSource #FindToolbar {
  background-color: -moz-dialog;
  color: -moz-dialogtext;
}

:-moz-any(.browserContainer, #viewSource) .findbar-find-status {
  /*-moz-box-ordinal-group: 0;*/
  margin: 0 !important;
  -moz-margin-start: 10px !important;
  -moz-margin-end: 2px !important;
  color: #000080 !important;
  font-style: italic !important;
}

:-moz-any(.browserContainer, #viewSource) .found-matches {
  color: #008000 !important;
  font-weight: bold !important;
}
    
@media not all and (-moz-windows-classic) {
  .browserContainer findbar .findbar-button,
  #viewSource #FindToolbar .findbar-button {
	-moz-appearance: toolbarbutton !important;
	background: unset !important;
	box-shadow: unset !important;
  }
  .browserContainer findbar toolbarbutton * {
	background: unset !important;
	box-shadow: unset !important;
  }
}

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

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

Post by Aris »

felix1088 wrote:...

PS: You'll be supporting FF ESR right up to the end, I hope.. Yes?
Yes, but I'm not sure CTR even needs changes for Fx 52, it runs fine.
Most CTR changes in the last few month were for Fx 55-56.
Brummelchen wrote:another showing of findbar (i dont like results left side, it brakes mouse when clicking into text instead a button ;)
...
Thanks and you are right the jumping text box is somehow annoying.
I'm going to incorporate your code into current CSS file.
rocco.xyz
Posts: 31
Joined: December 28th, 2015, 10:54 pm

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

Post by rocco.xyz »

@Aris
Hi!
How's everything? :D
I was wondering if you know if it's possible to increase the size of the thumbnail that appear when you drag a tab, or otherwise disable them (since with that size I do not find them really useful)
These:
Image
Thanks in advance. :D
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

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

Post by Aris »

I don't if it is possible to change thumbnails size.
Thumbnails can be disabled through the about:config pref nglayout.enable_drag_images.

Maybe Tab Scope offers what you are looking for: https://addons.mozilla.org/addon/tab-scope/
User avatar
Pizzapops
Posts: 46
Joined: December 22nd, 2013, 6:56 pm
Location: Lake of the Ozarks, MO

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

Post by Pizzapops »

Aris,
Thanks for your continued CTR efforts on FF 57+.

I saw no need for the tab close button. I have replaced close_alt.png with an empty transparent 48 x 16 file and activated the close_icon_red.css. My mouse middle button (wheel) works fine for opening a new tab or closing a tab. Yes, I do realize that I have to click on a phantom close button on the findbar, bookmarks sidebar, etc. Now if I could only get rid of the "new tab" button on the tab bar.
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 (Fx 29-56)

Post by Aris »

Pizzapops wrote:Aris,
Thanks for your continued CTR efforts on FF 57+.

I saw no need for the tab close button. I have replaced close_alt.png with an empty transparent 48 x 16 file and activated the close_icon_red.css. My mouse middle button (wheel) works fine for opening a new tab or closing a tab. Yes, I do realize that I have to click on a phantom close button on the findbar, bookmarks sidebar, etc. Now if I could only get rid of the "new tab" button on the tab bar.
I will add more "tab close" settings later incl. completely hiding it. No need to replace images.

You can remove new tab button in customizing mode. Just move it into palette.
User avatar
Pizzapops
Posts: 46
Joined: December 22nd, 2013, 6:56 pm
Location: Lake of the Ozarks, MO

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

Post by Pizzapops »

Thanks for the 'new tab' hint. I totally missed it over by the minimize icon.
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.
marty60
Posts: 475
Joined: March 21st, 2012, 7:09 am

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

Post by marty60 »

Hi Aris, regarding that issue I posted on a few weeks back where the toolbars would not autohide in full screen when the tabbar was put below the navbar, the fix turned out to be very simple. All that was missing was this line:

#TabsToolbar {margin-bottom: 2px !important;}

The margin-top was at 0px but there was nothing for the bottom margin. Just letting everyone know in case they run into the same problem.
Post Reply