[Ext] Classic Theme Restorer

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
User avatar
ChewInternetExplorer
Posts: 63
Joined: April 7th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by ChewInternetExplorer »

Aris wrote:@ChewInternetExplorer
Any change you can find out which CTR setting is causing this? There were tons of changes for Fx56 beta, but none of them directly affect location bars visibility.
Can you setup a new Fx profile in Portable Firefox for this?
Aris,

Since my troubleshooting was carried out on the same Nightly profile in a production system, I could well be wrong.

It may seem (at least, on my copy) that the following about:config CTR entry is the culprit — hope the issue can be reproduced at your end, as well:—

Code: Select all

lockPref("extensions.classicthemerestorer.backforward", false);
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

ChewInternetExplorer wrote:...
Since my troubleshooting was carried out on the same Nightly profile in a production system, I could well be wrong.

It may seem (at least, on my copy) that the following about:config CTR entry is the culprit — hope the issue can be reproduced at your end, as well:—

Code: Select all

lockPref("extensions.classicthemerestorer.backforward", false);
So everything points to the movable back forward buttons. Could you disable that option and apply this code through CTR custom css area or Stylish? Once the issue occurs remove code piece by piece to find the culpit. I can not reproduce the issue, Maybe it is also related to the theme you are using.

Code: Select all

	#main-window[fx50plus="true"][defaultfxtheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
	  margin-inline-start: -6px !important;
	}
	#main-window[fx50plus="true"][defaultfxtheme="true"][developertheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
	  margin-inline-start: 0px !important;
	}
	
	#main-window:not([fx50plus="true"]):not([defaultfxtheme="true"]) #notification-popup-box[hidden] + *,
	#main-window:not([fx50plus="true"]):not([defaultfxtheme="true"]) #notification-popup-box + .notification-anchor-icon {
	  -moz-padding-start: 0px !important;
	  transition: none !important;
	}
	
	#main-window:not([fx50plus="true"])[defaultfxtheme="true"] #notification-popup-box + .notification-anchor-icon{
	  -moz-padding-start: 5px !important;
	  transition: none !important;
	}

	#main-window:not([fx50plus="true"])[defaultfxtheme="true"] #nav-bar #notification-popup-box[hidden] + * {
	  -moz-padding-start: 6px !important;
	  -moz-padding-end: 5px !important;
	  transition: none !important;
	}

	#main-window:not([fx50plus="true"])[defaultfxtheme="true"] #notification-popup-box:not([hidden]) {
	  padding-left:0px !important;
	  padding-right:0px !important;
	  transition: none !important;
	}
	
	@media (-moz-os-version: windows-win10) {
	  #main-window[fx50plus="true"][defaultfxtheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
		margin-inline-start: -9px !important;
	  }
	  #main-window[fx50plus="true"][defaultfxtheme="true"][developertheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
		margin-inline-start: 0px !important;
	  }
	  #main-window:not([fx50plus="true"])[defaultfxtheme="true"] #nav-bar #notification-popup-box[hidden] + * {
		-moz-padding-start: 4px !important;
	  }
	}
	
	/* START: urlbar border tweaking (default theme does not provide left urlbar border) */
	#main-window[defaultfxtheme="true"] #urlbar {
	  min-height: 24px;
	}

	#main-window[defaultfxtheme="true"] #urlbar,
	#main-window[defaultfxtheme="true"] .searchbar-textbox {
	  border: 1px solid ThreeDShadow !important;
	}
	@media (-moz-windows-default-theme) {
	  #main-window[defaultfxtheme="true"] #urlbar,
	  #main-window[defaultfxtheme="true"] .searchbar-textbox {
		border-color: rgba(0,0,0,.32) !important;
	  }
	}
	#main-window[defaultfxtheme="true"] #urlbar:-moz-lwtheme,
	#main-window[defaultfxtheme="true"] .searchbar-textbox:-moz-lwtheme {
	  border-color: rgba(0,0,0,.32) !important;
	}
	@media (-moz-windows-default-theme) {
	  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme),
	  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme) {
		border-color: hsla(210,54%,20%,.25) hsla(210,54%,20%,.27) hsla(210,54%,20%,.3) hsla(210,54%,20%,.27) !important;
	  }

	  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme)[focused],
	  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
		border-color: Highlight !important;
	  }
	}
	
	@media (-moz-os-version: windows-win10) {
		#main-window[defaultfxtheme="true"] #urlbar,
		#main-window[defaultfxtheme="true"] .searchbar-textbox {
		  border: 1px solid hsl(0,0%,90%) !important;
		}
		@media (-moz-windows-default-theme) {
		  #main-window[defaultfxtheme="true"] #urlbar,
		  #main-window[defaultfxtheme="true"] .searchbar-textbox {
			border-color: hsl(0,0%,90%) !important;
		  }
		}
		#main-window[defaultfxtheme="true"] #urlbar:-moz-lwtheme,
		#main-window[defaultfxtheme="true"] .searchbar-textbox:-moz-lwtheme {
		  border-color: rgba(0,0,0,.32) !important;
		}
		@media (-moz-windows-default-theme) {
		  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme),
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme) {
			border-color: hsl(0,0%,90%) !important;
		  }
		  #main-window[defaultfxtheme="true"] #urlbar:hover:not(:-moz-lwtheme),
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:hover:not(:-moz-lwtheme) {
			border-color: hsl(0,0%,80%) !important;
		  }
		  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme)[focused],
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
			border-color: Highlight !important;
		  }
		}
	}
	/* END: urlbar border tweaking (default theme does not provide left urlbar border) */

	#main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) * toolbar #urlbar-container,
	#main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) * toolbar #urlbar-container[forwarddisabled] {
	  -moz-margin-start: 10px !important;
	}
	#main-window:not([fx57plus="true"])[developertheme="true"]:not([chromehidden~="toolbar"]) * toolbar #urlbar-container,
	#main-window:not([fx57plus="true"])[developertheme="true"]:not([chromehidden~="toolbar"]) * toolbar #urlbar-container[forwarddisabled] {
	  -moz-margin-start: 3px !important;
	}

	@media (-moz-os-version: windows-win10) {
		#main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) * toolbar #urlbar-container,
		#main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) * toolbar #urlbar-container[forwarddisabled] {
		  -moz-margin-start: 12px !important;
		}
		#main-window:not([fx57plus="true"])[developertheme="true"]:not([chromehidden~="toolbar"]) * toolbar #urlbar-container,
		#main-window:not([fx57plus="true"])[developertheme="true"]:not([chromehidden~="toolbar"]) * toolbar #urlbar-container[forwarddisabled] {
		  -moz-margin-start: 3px !important;
		}
	}
	
	#ctraddon_back-forward-button{
	  visibility: visible !important;
	}

	#main-window * * #back-button,
	#main-window * * #forward-button,	
	#main-window * * #urlbar-container #back-button,
	#main-window * * #urlbar-container #forward-button{
	  visibility: collapse !important;
	  display:none !important;
	}
	
    #main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) toolbox #urlbar-wrapper,
	window:not([chromehidden~="toolbar"]) toolbar #urlbar-wrapper,
	#urlbar-container, #urlbar-container *,
	#urlbar-wrapper, #urlbar-wrapper *,
	#urlbar, #urlbar *{
	  clip-path: unset !important;
	}
	
	#urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar {
	  transition: none !important;
	  transition-property: none !important;
	  transition-delay: 0s !important;
	}
	
	#main-window * #urlbar-container #forward-button[disabled]{
	  visibility:collapse !important;
	  opacity: 1.0 !important;
	}
	
	#ctraddon_back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
	#ctraddon_forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon{
	  transform: scaleX(-1);
	}
	
	#main-window:not([fx57plus="true"]) #nav-bar #urlbar-container,
	#main-window:not([fx57plus="true"]) #nav-bar #search-container{
	  margin-top:1px;
	  margin-bottom:1px;
	}
[/size]

Also, test this test version:

Code: Select all

https://www.dropbox.com/s/a4jjzw7fd58peah/20170809_test1.xpi?dl=0
avada
Posts: 1932
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: [Ext] Classic Theme Restorer

Post by avada »

Aris wrote: I can't help with the icons inside bookmark/history items, but this will reduce the header size and replace the main star icon:
avada wrote:I meant the folder icons and section (bookmarks toolbar, bookmarks menu, ... ) icons I shoved on the image, which they replaced with this monochromic horror.
I'd be surprised if these couldn't be replaced as the star icon. Did they actually make that impossible?
Hi!

So I got this far with a google search and tinkering.

Code: Select all

/* Set icon for Bookmark folder in sidebar and library view */
treechildren::-moz-tree-image(container) {
  list-style-image:url("file:///d:/folder.png") !important;
  -moz-image-region:auto !important;
}
Though I'm too incompetent to figure out how to use the png with an internal chrome url. Only after I extracted it.

(I didn't even find the specific icons for the three root folders, much less figuring out how to overwrite them specifically)
(Also by the looks of it I think the actual image is "folder-item.png", but I don't know how to use a region of an image either...)


Okay. So if anyone prefers the old icons this seems to have got me there:
(From the commit that changed it)

Code: Select all

treechildren::-moz-tree-image(title, container) {
  list-style-image: url("chrome://global/skin/icons/folder-item.png");
  -moz-image-region: rect(0px, 32px, 16px, 16px);
}

treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
  list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png");
}

treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
  list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png");
}

treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
  /*list-style-image: url("chrome://browser/skin/places/unfiledBookmarks.png");*/
  list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png");
} 
  
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

avada wrote:
Aris wrote: I can't help with the icons inside bookmark/history items, but this will reduce the header size and replace the main star icon:
avada wrote:I meant the folder icons and section (bookmarks toolbar, bookmarks menu, ... ) icons I shoved on the image, which they replaced with this monochromic horror.
I'd be surprised if these couldn't be replaced as the star icon. Did they actually make that impossible?
Hi!

So I got this far with a google search and tinkering.

Code: Select all

/* Set icon for Bookmark folder in sidebar and library view */
treechildren::-moz-tree-image(container) {
  list-style-image:url("file:///d:/folder.png") !important;
  -moz-image-region:auto !important;
}
Though I'm too incompetent to figure out how to use the png with an internal chrome url. Only after I extracted it.

(I didn't even find the specific icons for the three root folders, much less figuring out how to overwrite them specifically)
(Also by the looks of it I think the actual image is "folder-item.png", but I don't know how to use a region of an image either...)
Surprisingly old icons are still present:

Code: Select all

  treechildren::-moz-tree-image(title, container) {
	list-style-image: url("chrome://global/skin/icons/folder-item.png")!important;
	-moz-image-region: rect(0px, 32px, 16px, 16px) !important;
  }

  treechildren::-moz-tree-image(title, open) {
	-moz-image-region: rect(16px, 32px, 32px, 16px) !important;
  }

  treechildren::-moz-tree-image(title, container, livemark) {
	list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png") !important;
	-moz-image-region: auto !important;
  }

  treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
	list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
	-moz-image-region: auto !important;
  }

  treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
	list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important;
	-moz-image-region: auto !important;
  }

  treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
	list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important;
	-moz-image-region: auto !important;
  }

  treechildren::-moz-tree-image(title, query) {
	list-style-image: url("chrome://browser/skin/places/query.png") !important;
	-moz-image-region: auto !important;
  }
Bookmarks, history and sync icons use this code:

Code: Select all

#sidebar-switcher-bookmarks > .toolbarbutton-icon,
#sidebar-box[sidebarcommand="viewBookmarksSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
  list-style-image: url(chrome://browser/skin/bookmark.svg);
}
#sidebar-switcher-history > .toolbarbutton-icon,
#sidebar-box[sidebarcommand="viewHistorySidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
  list-style-image: url(chrome://browser/skin/history.svg);
}
#sidebar-switcher-tabs > .toolbarbutton-icon,
#sidebar-box[sidebarcommand="viewTabsSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
  list-style-image: url(chrome://browser/skin/synced-tabs.svg);
}
Replace the icons btw. icon paths with own icons like I did with bookmarks in a previous post.
avada
Posts: 1932
Joined: February 10th, 2008, 6:30 am
Location: Hungary

Re: [Ext] Classic Theme Restorer

Post by avada »

Aris wrote:Surprisingly old icons are still present:

Code: Select all

  treechildren::-moz-tree-image(title, container) {
	list-style-image: url("chrome://global/skin/icons/folder-item.png")!important;
	-moz-image-region: rect(0px, 32px, 16px, 16px) !important;
  }

  treechildren::-moz-tree-image(title, open) {
	-moz-image-region: rect(16px, 32px, 32px, 16px) !important;
  }

  treechildren::-moz-tree-image(title, container, livemark) {
	list-style-image: url("chrome://browser/skin/feeds/feedIcon16.png") !important;
	-moz-image-region: auto !important;
  }

  treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksToolbar) {
	list-style-image: url("chrome://browser/skin/places/bookmarksToolbar.png") !important;
	-moz-image-region: auto !important;
  }

  treechildren::-moz-tree-image(container, OrganizerQuery_BookmarksMenu) {
	list-style-image: url("chrome://browser/skin/places/bookmarksMenu.png") !important;
	-moz-image-region: auto !important;
  }

  treechildren::-moz-tree-image(container, OrganizerQuery_UnfiledBookmarks) {
	list-style-image: url("chrome://browser/skin/places/unsortedBookmarks.png") !important;
	-moz-image-region: auto !important;
  }

  treechildren::-moz-tree-image(title, query) {
	list-style-image: url("chrome://browser/skin/places/query.png") !important;
	-moz-image-region: auto !important;
  }
Bookmarks, history and sync icons use this code:

Code: Select all

#sidebar-switcher-bookmarks > .toolbarbutton-icon,
#sidebar-box[sidebarcommand="viewBookmarksSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
  list-style-image: url(chrome://browser/skin/bookmark.svg);
}
#sidebar-switcher-history > .toolbarbutton-icon,
#sidebar-box[sidebarcommand="viewHistorySidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
  list-style-image: url(chrome://browser/skin/history.svg);
}
#sidebar-switcher-tabs > .toolbarbutton-icon,
#sidebar-box[sidebarcommand="viewTabsSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon {
  list-style-image: url(chrome://browser/skin/synced-tabs.svg);
}
Replace the icons btw. icon paths with own icons like I did with bookmarks in a previous post.
Thanks!
ashleylai87
Posts: 218
Joined: December 13th, 2013, 7:40 pm

Re: [Ext] Classic Theme Restorer

Post by ashleylai87 »

Not sure if it is 56.0b1 fault or CTR fault. :-k

Expected result when clicking top left firefox button:
Image

The issue right now:
Image
A transparent box instead of dropdown menu?

Sometime it shows the menu.....sometime it just becomes transparent.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

Facing the same glitch on Fx 56 beta. Seems to be related to AeroGlass and Firefox' 'Hardware Acceleration' option in Fx56 (Fx55 is fine).
I have no fix for that yet and I'm sure its Firefox fault, because Mozilla devs hate "old menupopups". I saw similar glitches happening with other menu popups too. You can try to disable hardware acceleration.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

@ashleylai87

Looks like the combination 'Fx56beta2 + CTR1.6.9beta7' fixes the issue.
User avatar
ChewInternetExplorer
Posts: 63
Joined: April 7th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by ChewInternetExplorer »

Aris wrote:So everything points to the movable back forward buttons. Could you disable that option and apply this code through CTR custom css area or Stylish? Once the issue occurs remove code piece by piece to find the culpit. I can not reproduce the issue, Maybe it is also related to the theme you are using.

Code: Select all

	#main-window[fx50plus="true"][defaultfxtheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
	  margin-inline-start: -6px !important;
	}
	#main-window[fx50plus="true"][defaultfxtheme="true"][developertheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
	  margin-inline-start: 0px !important;
	}
	
	#main-window:not([fx50plus="true"]):not([defaultfxtheme="true"]) #notification-popup-box[hidden] + *,
	#main-window:not([fx50plus="true"]):not([defaultfxtheme="true"]) #notification-popup-box + .notification-anchor-icon {
	  -moz-padding-start: 0px !important;
	  transition: none !important;
	}
	
	#main-window:not([fx50plus="true"])[defaultfxtheme="true"] #notification-popup-box + .notification-anchor-icon{
	  -moz-padding-start: 5px !important;
	  transition: none !important;
	}

	#main-window:not([fx50plus="true"])[defaultfxtheme="true"] #nav-bar #notification-popup-box[hidden] + * {
	  -moz-padding-start: 6px !important;
	  -moz-padding-end: 5px !important;
	  transition: none !important;
	}

	#main-window:not([fx50plus="true"])[defaultfxtheme="true"] #notification-popup-box:not([hidden]) {
	  padding-left:0px !important;
	  padding-right:0px !important;
	  transition: none !important;
	}
	
	@media (-moz-os-version: windows-win10) {
	  #main-window[fx50plus="true"][defaultfxtheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
		margin-inline-start: -9px !important;
	  }
	  #main-window[fx50plus="true"][defaultfxtheme="true"][developertheme="true"]:not([chromehidden~="toolbar"]) #forward-button[disabled="true"] + #urlbar #identity-icon {
		margin-inline-start: 0px !important;
	  }
	  #main-window:not([fx50plus="true"])[defaultfxtheme="true"] #nav-bar #notification-popup-box[hidden] + * {
		-moz-padding-start: 4px !important;
	  }
	}
	
	/* START: urlbar border tweaking (default theme does not provide left urlbar border) */
	#main-window[defaultfxtheme="true"] #urlbar {
	  min-height: 24px;
	}

	#main-window[defaultfxtheme="true"] #urlbar,
	#main-window[defaultfxtheme="true"] .searchbar-textbox {
	  border: 1px solid ThreeDShadow !important;
	}
	@media (-moz-windows-default-theme) {
	  #main-window[defaultfxtheme="true"] #urlbar,
	  #main-window[defaultfxtheme="true"] .searchbar-textbox {
		border-color: rgba(0,0,0,.32) !important;
	  }
	}
	#main-window[defaultfxtheme="true"] #urlbar:-moz-lwtheme,
	#main-window[defaultfxtheme="true"] .searchbar-textbox:-moz-lwtheme {
	  border-color: rgba(0,0,0,.32) !important;
	}
	@media (-moz-windows-default-theme) {
	  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme),
	  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme) {
		border-color: hsla(210,54%,20%,.25) hsla(210,54%,20%,.27) hsla(210,54%,20%,.3) hsla(210,54%,20%,.27) !important;
	  }

	  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme)[focused],
	  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
		border-color: Highlight !important;
	  }
	}
	
	@media (-moz-os-version: windows-win10) {
		#main-window[defaultfxtheme="true"] #urlbar,
		#main-window[defaultfxtheme="true"] .searchbar-textbox {
		  border: 1px solid hsl(0,0%,90%) !important;
		}
		@media (-moz-windows-default-theme) {
		  #main-window[defaultfxtheme="true"] #urlbar,
		  #main-window[defaultfxtheme="true"] .searchbar-textbox {
			border-color: hsl(0,0%,90%) !important;
		  }
		}
		#main-window[defaultfxtheme="true"] #urlbar:-moz-lwtheme,
		#main-window[defaultfxtheme="true"] .searchbar-textbox:-moz-lwtheme {
		  border-color: rgba(0,0,0,.32) !important;
		}
		@media (-moz-windows-default-theme) {
		  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme),
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme) {
			border-color: hsl(0,0%,90%) !important;
		  }
		  #main-window[defaultfxtheme="true"] #urlbar:hover:not(:-moz-lwtheme),
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:hover:not(:-moz-lwtheme) {
			border-color: hsl(0,0%,80%) !important;
		  }
		  #main-window[defaultfxtheme="true"] #urlbar:not(:-moz-lwtheme)[focused],
		  #main-window[defaultfxtheme="true"] .searchbar-textbox:not(:-moz-lwtheme)[focused] {
			border-color: Highlight !important;
		  }
		}
	}
	/* END: urlbar border tweaking (default theme does not provide left urlbar border) */

	#main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) * toolbar #urlbar-container,
	#main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) * toolbar #urlbar-container[forwarddisabled] {
	  -moz-margin-start: 10px !important;
	}
	#main-window:not([fx57plus="true"])[developertheme="true"]:not([chromehidden~="toolbar"]) * toolbar #urlbar-container,
	#main-window:not([fx57plus="true"])[developertheme="true"]:not([chromehidden~="toolbar"]) * toolbar #urlbar-container[forwarddisabled] {
	  -moz-margin-start: 3px !important;
	}

	@media (-moz-os-version: windows-win10) {
		#main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) * toolbar #urlbar-container,
		#main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) * toolbar #urlbar-container[forwarddisabled] {
		  -moz-margin-start: 12px !important;
		}
		#main-window:not([fx57plus="true"])[developertheme="true"]:not([chromehidden~="toolbar"]) * toolbar #urlbar-container,
		#main-window:not([fx57plus="true"])[developertheme="true"]:not([chromehidden~="toolbar"]) * toolbar #urlbar-container[forwarddisabled] {
		  -moz-margin-start: 3px !important;
		}
	}
	
	#ctraddon_back-forward-button{
	  visibility: visible !important;
	}

	#main-window * * #back-button,
	#main-window * * #forward-button,	
	#main-window * * #urlbar-container #back-button,
	#main-window * * #urlbar-container #forward-button{
	  visibility: collapse !important;
	  display:none !important;
	}
	
    #main-window:not([fx57plus="true"]):not([chromehidden~="toolbar"]) toolbox #urlbar-wrapper,
	window:not([chromehidden~="toolbar"]) toolbar #urlbar-wrapper,
	#urlbar-container, #urlbar-container *,
	#urlbar-wrapper, #urlbar-wrapper *,
	#urlbar, #urlbar *{
	  clip-path: unset !important;
	}
	
	#urlbar-container[forwarddisabled] > #urlbar-wrapper > #urlbar {
	  transition: none !important;
	  transition-property: none !important;
	  transition-delay: 0s !important;
	}
	
	#main-window * #urlbar-container #forward-button[disabled]{
	  visibility:collapse !important;
	  opacity: 1.0 !important;
	}
	
	#ctraddon_back-button:-moz-locale-dir(rtl) > .toolbarbutton-icon,
	#ctraddon_forward-button:-moz-locale-dir(rtl) > .toolbarbutton-icon{
	  transform: scaleX(-1);
	}
	
	#main-window:not([fx57plus="true"]) #nav-bar #urlbar-container,
	#main-window:not([fx57plus="true"]) #nav-bar #search-container{
	  margin-top:1px;
	  margin-bottom:1px;
	}
[/size]
First I tried this on Stylish and the CTR Custom CSS Code section, as well — it didn't work.

Aris wrote:Also, test this test version:

Code: Select all

https://www.dropbox.com/s/a4jjzw7fd58peah/20170809_test1.xpi?dl=0
Next I tried this — it didn't work either.

So I tried a lot of permutations and combinations of the above two — nothing worked with lockPref("extensions.classicthemerestorer.backforward", false);

The only workaround (for me) was to change the preference to lockPref("extensions.classicthemerestorer.backforward", true);
ashleylai87
Posts: 218
Joined: December 13th, 2013, 7:40 pm

Re: [Ext] Classic Theme Restorer

Post by ashleylai87 »

Aris wrote:@ashleylai87

Looks like the combination 'Fx56beta2 + CTR1.6.9beta7' fixes the issue.
It seems so. Thanks.
No more transparent menu. 8-)
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

@ChewInternetExplorer

Can you test this on a new profile without locking preferences? Some CTR settings are very sensitive when it comes to locking them by force.
Please also test another lw-theme.
User avatar
fireattack
Posts: 23
Joined: February 2nd, 2009, 3:24 am

Re: [Ext] Classic Theme Restorer

Post by fireattack »

Perhaps has been asked, but old search UI is dead in Fx 56?
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

Yes, it doesn't work anymore, switch to Fx 52ESR.
User avatar
juozas
Posts: 53
Joined: November 9th, 2009, 2:55 am
Location: Lithuania
Contact:

Re: [Ext] Classic Theme Restorer

Post by juozas »

New update (version 55) broke something. The dropdown icons on many addons are now ugly or misplaced. fantastic :D
Image
Image
p.s. I know ctr will stop working on FF 57 but I don't know an alternative yet, only esr ppa or alt. build from moz. site might be an option but my profile was already loaded in version 55 and I'd probably be unable to downgrade it.
Сделано в СССР
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

What about latest CTR beta, does it happen there too?
Post Reply