[Ext] Classic Theme Restorer

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
rocco.xyz
Posts: 31
Joined: December 28th, 2015, 10:54 pm

misaligned by 1 pixel

Post by rocco.xyz »

Hello friends and Hello Aris.
I have a small (very small) detail with my menu bar.
It happens that I configured CTR to show buttons as text and I moved my extensions to the title bar, but the text of the menus and extensions is not perfectly aligned, and only by 1 pixel! is there a way to fix it? [-o<
Thanks in advance.

Image

Windows 7 Professional (64-bits)
Firefox 51.0.1 (32-bits)
Classic Theme Restorer 1.6.2.1
Classic Toolbar Buttons 1.5.4
very few lines of custom CSS code... :mrgreen:

PS.
CTR:

Code: Select all

CTR_Preferences__DO_NOT_EDIT__'='->booleans__':'->strings__'~'->integers
transptcw10=false
tabseparator:tabsep_black
puibuttonsep:puib_nosep
nbiconsize:small
noconicons=false
oldfontgfx=false
nav_txt_ico:txtonly
ctabtsh:#FFFFFF
ctrosearchrt~0
alt_addonsp=false
lbsize_minw~250
oldtoplevimg2=false
toptb_oldpad=false
autocompl_hlb=true
tabmokcolor2=false
ctabheightcb=true
am_hovshowb=false
tabtextc_def=false
am_nowarning=true
nbcompact=false
combrelstop=true
alttabstb2=true
mbarposition:toolbar-menubar
autocompl_not=false
navbarmar_l~0
cntab2:#007700
alt_newtabp=false
emptyfavico_g:emptyfavico_g_dot
tabtitlepos:tabtitlepos_default
tabcolor_pen=false
menubarnofog=true
iat_notf_vt=false
search_ant=true
html5warning=false
ctab1:#00FF00
ctabact1:#FF8800
tabcolor_hov=false
statusbar=false
urlbardark=false
pref_actindx~6
dblclnewtab=true
tabfita_def=false
ctabpent:#000000
cappbutpc1:#CC33CC
cuibuttons=true
showalltabsb=false
cappbutc1:#00FF00
menubarfs=false
hidezoomres=false
starinurl=true
ctrnewinv=true
invicoextrabar=false
appbautocol=false
hidesbclose=false
bmbviewbmtb=false
tabmokcolor4=false
emptyfavico_t:emptyfavico_t_none
ib_graycolor=false
hidetbwot=false
icopageinfo=false
autocompl_rhl=true
verifiedcolors=false
ctabpen2:#CCD0D4
cappbutpc2:#993399
cstatextlb=false
autocompl_sep=false
altreaderico=false
oldtoplevimg=true
extraurlkeycb=false
altabico:altabico_white
invicotabsbar=false
urlbardropm2=true
closetabbig=false
bmbviewbmsb=false
altmbarpos:altmbarpos0
bf_space=false
cappbutc2:#007700
highaddonsbar=false
cssoverride=true
aboutprefs:category-advanced
pananimation=false
ctabunr1:#FFE599
tabtextsh_act=false
lbradius_right~3
padlockex=false
ctabunr2:#FFE599
locsearchbw10=false
aboutprefsInd~0
transpttbew10=false
iblabels=true
nosnippets=true
tabfbold_unr=false
bmbutnotb=false
appbuttontxt:
altoptions:options_default
os_spsize_minw~200
tabtextsh_hov=false
nonavborder=false
contextitem=false
osearch_dm=false
extraurltarget:tab
alt_addonsm=false
am_compact2=false
ctab2:#007700
closetab:closetab_none
tabtextc_pen=false
nonavtbborder=false
nbisizedelay~0
osearch_meoit=true
sbradius_right~3
ctrosearchct~0
tablowopa_pen=true
appbutton:appbutton_off
tabthrobber:throbber_default
appbutmhi=false
ctabheight~32
bmbunsortbm=false
ctabact2:#FF0000
cssoverridec:/* Barra de menú */
/* Para que mida 28 pixeles de alto. */
#toolbar-menubar { height:28px }

/* Barra de navegación y caja de búsqueda */
/* Para que midan 34 pixeles de alto. */
#urlbar, #searchbar { height:34px }

#identity-box { display:none !important; }

#tabbrowser-tabs {margin-left: -2px; margin-right: -1px}
#ctraddon_panelui-button {padding-right: 7px}

/*AGENT_SHEET*/
    #main-window #navigator-toolbox toolbar:not(#TabsToolbar) :-moz-any(#alltabs-button,#PanelUI-menu-button):not(.tabs-newtab-button):not(.tab-close-button):not(#tabs-closebutton):not(#ctraddon_tabs-closebutton):not(#PlacesChevron) .toolbarbutton-icon {
      visibility: visible !important;
    }
    #main-window #navigator-toolbox toolbar:not(#TabsToolbar) :-moz-any(#alltabs-button,#PanelUI-menu-button):not(.tabs-newtab-button):not(.tab-close-button):not(#tabs-closebutton):not(#ctraddon_tabs-closebutton):not(#PlacesChevron) .toolbarbutton-text {
      visibility: collapse !important;
    }
    toolbar:not(#TabsToolbar) #PanelUI-menu-button .toolbarbutton-badge-stack {
      visibility: visible !important;
    }
aboutprefswh~600
lb_roundness=true
urlbardropm=true
findb_widthva~170
ctabpen1:#D7DBE0
lessaddonsbar=false
tbsep_winc=false
feedinurl=true
nonavbarbg=false
osearch_cwidth=false
smallnavbut=false
noemptypticon=false
closeicon:closeicon_w7
hideurlsrg=false
search_abl=true
ntabcolor_hov=false
alttabstb=false
ctabactt:#000000
bmbunsortbm2=true
backforward=true
findb_widthcb=false
tabc_hov_unl=false
notabbg=false
sbradius_left~3
tabcolor_act=false
ctabunrt:#000000
ctabunrtsh:#FFFFFF
hideprivmask=false
os_spsize_maxw~200
dblclclosefx=false
lbsbradius=true
pmhidelabels=false
ctabwidth~275
invicomenubar=false
aboutprefsww~800
altmenubar=false
ctabhovt:#000000
closetabhfl=true
hightabpososx=false
tabs:tabs_squared
transpttbw10=false
closeabarbut=false
altalertbox=false
inviconavbar=false
tabtextc_unr=false
skipprintpr=false
tabfbold_pen=false
bmbnounsort=false
hidenavbar=false
addonbarfs=false
am_highlight=true
tabtextsh_pen=false
search_aho=true
hide_bf_popup=false
am_showrecup=false
ctabhovtsh:#FFFFFF
navbarpad=false
tbconmenu=false
autocompl_hlu=true
ibinfoico=false
ctabt:#000000
tabcolor_unr=false
autocompl_hln=false
tabfbold_hov=false
cpanelmenus=false
menupopupscr=false
tabc_act_tb=false
searchbardark=false
tabmokcolor=false
cresultsh~400
activndicat=false
ctroldsearch=false
optionsrem=false
tabfita_pen=false
ctabacttsh:#FFFFFF
hideurlzoom=false
osearch_iwidth=true
panelmenucol=false
notextshadow=false
tttitlebar=false
ibinfoico2=false
padlock:padlock_none
oldplacesbut=true
cresultshcb=false
sb_roundness=true
cntabhov2:#FFFF00
tabtextc_hov=false
invicoaddonbar=false
navbarpad_r~2
tabtextc_act=false
nodevtheme2=false
tabtextsh_unr=false
bmbutnotext=false
mbarforceleft=false
am_buticons=false
closeicong:closeicong_default
anewtaburlp:about:privatebrowsing
invicobookbar=false
tabfbold_act=true
sbsize_minw~250
autocompl_it2=true
noaddonbarbg=false
sbsize_maxw~4000
aerocolorsg=false
toolsitem=false
appbclmmenus=true
ctabpentsh:#FFFFFF
chevronfix=false
svgfilters=false
lbradius_left~3
fsaduration=false
notabfog=false
sb_width=false
autocompl_it=true
tabfita_act=false
mbarpositionl:toolbar-menubar
aerocolors=false
ib_nohovcolor=false
tablowopa_unr=true
pref_actindx2~4
faviconurl=false
cntabhov1:#FFFFBB
bmanimation=false
restartapp=false
tabc_hov_unr=false
nobookbarbg=false
addonversion=false
autocompl_hli=false
bmbutclpopup=false
ctabhov1:#A6CEF6
am_compact=true
hidetbwote2=false
ctabmwidth~154
closeonleft=false
findb_hide_ws=false
anewtaburlpcb=false
noresizerxp=false
altautocompl=true
ctroldsearchc=false
square_edges=false
puictrbutton=false
ttoverflow:ttoverfl_def
anewtaburl:https://start.duckduckgo.com/
ctabhov2:#C0E1FD
appbutbdl=false
tabcolor_def=false
hideurelstop2=false
mbarforceright=false
hideurelstop=true
anewtaburlcb=true
tabfita_unr=false
athrobberurl:
bookbarfs=false
tabfita_hov=false
wincontrols=true
navbarpad_l~1
tabfbold_def=false
bmbutpanelm=false
lb_width=false
tabtextsh_def=false
tttitlebar_c=false
hidetbwote=true
tabsontop:unset
am_extrabars~0
appmenuitem=false
hideurlgo=true
hideeditbm=false
appbuttonc:appbuttonc_orange
urlresults=true
appbuttonct=false
navbarmar_r~0
tabmokcolor3=false
lbsize_maxw~4000
ctroldsearchr=true
aboutpages=false
cntab1:#00FF00
ntabcolor_def=false
hideprbutton=false
findbar:findbar_default
CSTBB:

Code: Select all

user_pref("extensions.cstbb-extension.addonbbspace", 5);
user_pref("extensions.cstbb-extension.addonbbspace2", 5);
user_pref("extensions.cstbb-extension.addonbuttons", true);
user_pref("extensions.cstbb-extension.bookbispace", 10);
user_pref("extensions.cstbb-extension.dlindicator", 0);
user_pref("extensions.cstbb-extension.menubbheight", 28);
user_pref("extensions.cstbb-extension.navbarbuttons", "nabbuttons_small");
user_pref("extensions.cstbb-extension.navbbheight", 32);
user_pref("extensions.cstbb-extension.navbbspace", 5);
user_pref("extensions.cstbb-extension.navbbspace2", 3);
user_pref("extensions.cstbb-extension.navbbwidth", 32);
user_pref("extensions.cstbb-extension.starbutton", "ico_orange");
user_pref("extensions.cstbb-extension.tabsbbspace", 5);
user_pref("extensions.cstbb-extension.tabscrollbut", true);
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

dbcooper.dk wrote:Any idea why the vertical padding has become so small with recent nightly builds? (x64 on Win10 x64). Using CTR 1.6.3b3.

http://i.imgur.com/uugVNsr.png

http://i.imgur.com/6J6E4J8.png
Vertical size of navigation toolbar only depends on the big round back button now. Using CTRs movable (and smaller) back and forward buttons leaves less padding now.

You can increase it with this code:

Code: Select all

#nav-bar-customization-target > toolbarbutton,
#nav-bar-overflow-button {
  padding-top:7px !important;
  padding-bottom:7px !important;
}
@rocco.xyz

This was a Firefox glitch for a long time. Same glitch is present in Firefox 29 without any add-ons installed.

You can try to adjust buttons and menubars content using this code:

Code: Select all

/*AGENT_SHEET*/
#menubar-items {
  margin-bottom: 1px !important;
}
#main-window #navigator-toolbox #toolbar-menubar .toolbarbutton-1:not(.tabs-newtab-button):not(.tab-close-button) .toolbarbutton-text {
  padding: 2px 3px 3px 3px !important;
  margin-bottom: 1px !important;
}
rocco.xyz
Posts: 31
Joined: December 28th, 2015, 10:54 pm

Re: [Ext] Classic Theme Restorer

Post by rocco.xyz »

it worked, thank you!
dbcooper.dk
Posts: 895
Joined: March 14th, 2010, 3:44 am

Re: [Ext] Classic Theme Restorer

Post by dbcooper.dk »

Thanks Aris!
max2
Posts: 278
Joined: September 17th, 2011, 5:37 pm

Re: [Ext] Classic Theme Restorer

Post by max2 »

Aris I have a curious question for you. If Classic Theme Restorer does not work at all or even install on Firefix 57+ will you continue to maintain the add-on for users who stay on Firefox 56 and Firefox ESR ? If so for how long ?
User avatar
happysurf
Posts: 351
Joined: January 20th, 2011, 3:14 am

Re: [Ext] Classic Theme Restorer

Post by happysurf »

I have discovered a strange thing about the CTR custom CSS feature.
I use this code in userchrome.css for enlarge the UI font in XP:

Code: Select all

/* global font */
* {
  font-size: 10pt !important;
  font-family: Tahoma !important;
}
However the same code in CTR change the size also in web pages. :shock:
All other codes woks fine.
Surf the Internet is a dirty job but someone has to do it.
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

max2 wrote:Aris I have a curious question for you. If Classic Theme Restorer does not work at all or even install on Firefix 57+ will you continue to maintain the add-on for users who stay on Firefox 56 and Firefox ESR ? If so for how long ?
I will try to keep my add-ons compatible with Fx 52 (esr) - 56 even after Fx 57 arrives, if Mozilla does not start blocking add-on uploads of legacy add-ons by then.
happysurf wrote:I have discovered a strange thing about the CTR custom CSS feature.
I use this code in userchrome.css for enlarge the UI font in XP:

Code: Select all

/* global font */
* {
  font-size: 10pt !important;
  font-family: Tahoma !important;
}
However the same code in CTR change the size also in web pages. :shock:
All other codes woks fine.
CTRs custom css area is far more powerful than userChrome.css. Your code is set to be applied everywhere (--> *).
You could try to specify the areas you need the code for or to exclude web conten by adding this line to your css:

Code: Select all

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
Image
max2
Posts: 278
Joined: September 17th, 2011, 5:37 pm

Re: [Ext] Classic Theme Restorer

Post by max2 »

Aris wrote:
max2 wrote:Aris I have a curious question for you. If Classic Theme Restorer does not work at all or even install on Firefix 57+ will you continue to maintain the add-on for users who stay on Firefox 56 and Firefox ESR ? If so for how long ?
I will try to keep my add-ons compatible with Fx 52 (esr) - 56 even after Fx 57 arrives, if Mozilla does not start blocking add-on uploads of legacy add-ons by then.


Ok thanks
User avatar
happysurf
Posts: 351
Joined: January 20th, 2011, 3:14 am

Re: [Ext] Classic Theme Restorer

Post by happysurf »

Aris wrote: CTRs custom css area is far more powerful than userChrome.css. Your code is set to be applied everywhere (--> *).
You could try to specify the areas you need the code for or to exclude web conten by adding this line to your css:

Code: Select all

@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
Image
Yes, your CSS implementation is much better because the changes are immediately visible without restart Firefox.
Thank you for the tip. :D
Surf the Internet is a dirty job but someone has to do it.
User avatar
juozas
Posts: 53
Joined: November 9th, 2009, 2:55 am
Location: Lithuania
Contact:

Re: [Ext] Classic Theme Restorer

Post by juozas »

A new version of Firefox (52) just released... Many stuff's deprecated, functions removed, many new annoyances.
  1. The warning about typing password on insecure pages, next to input field, currently there's a prefference to disable that, not sure in future, maybe adding this function in ctr on the future would be possible
  2. Many menu icons are missing on context menus and main menu (F10 to show if hidden), dunno what and where to change...
p.s. Many plugins based on NPAPI no longer supported on this new release (all except Flash), also some sites doesn't function propertly if e.g. PDF reader plugin is not installed, as some functions on those sites (e.g. PDF embeding on deviantArt) might be broken. Having the plugin installed and setting pdf to view in your browser might work on some sites while on some would not unless updated.
Last edited by juozas on March 8th, 2017, 11:23 am, edited 1 time in total.
Сделано в СССР
User avatar
Virtual_ManPL
Posts: 2052
Joined: July 24th, 2008, 5:52 am
Contact:

Re: [Ext] Classic Theme Restorer

Post by Virtual_ManPL »

ghacks.net - "The death of [...] Firefox" - It's over, Firefox is dead... (jk) ](*,)
in near time probably we (or without us) will hit 5% of usage share and probably it will still decreasing... #-o
Netscape all over again... [-X
Virtualfox persona
Tired of constant Firefox UI changes? XUL extensions are not working anymore? Try SeaMonkey, Waterfox Classic, Pale Moon.
Paul Allen
Posts: 42
Joined: June 19th, 2004, 7:01 am

Re: [Ext] Classic Theme Restorer

Post by Paul Allen »

Just installed Firefox 53 B1 and I am getting this on all but the first tab:

Image

CTR 1.6.3beta4, Tab Mix Plus 0.5.0.2pre.170102a1

Is this something CTR can fix?
User avatar
Aris
Posts: 3248
Joined: February 27th, 2011, 10:14 am

Re: [Ext] Classic Theme Restorer

Post by Aris »

juozas wrote:A new version of Firefox (52) just released... Many stuff's deprecated, functions removed, many new annoyances.
  1. The warning about typing password on insecure pages, next to input field, currently there's a prefference to disable that, not sure in future, maybe adding this function in ctr on the future would be possible
  2. Many menu icons are missing on context menus and main menu (F10 to show if hidden), dunno what and where to change...
3. p.s. Many plugins based on NPAPI no longer supported on this new release (all except Flash), also some sites doesn't function properly if e.g. PDF reader plugin is not installed, as some functions on those sites (e.g. PDF embeding on deviantArt) might be broken. Having the plugin installed and setting pdf to view in your browser might work on some sites while on some would not unless updated.
1. Share that preference. Have not looked it up yet.

2. Post examples (before/after).

3. Do those sites work correctly in other browsers?
Virtual_ManPL wrote:ghacks.net - "The death of [...] Firefox" - It's over, Firefox is dead... (jk) ](*,)
in near time probably we (or without us) will hit 5% of usage share and probably it will still decreasing... #-o
Netscape all over again... [-X
I guess Mozilla does not care about user numbers, so well it is their loss when we switch to something different.

Paul Allen wrote:Just installed Firefox 53 B1 and I am getting this on all but the first tab:

Image

CTR 1.6.3beta4, Tab Mix Plus 0.5.0.2pre.170102a1

Is this something CTR can fix?
I will look into it.
User avatar
juozas
Posts: 53
Joined: November 9th, 2009, 2:55 am
Location: Lithuania
Contact:

Re: [Ext] Classic Theme Restorer

Post by juozas »

Aris wrote:1. Share that preference. Have not looked it up yet.
2. Post examples (before/after).
3. Do those sites work correctly in other browsers?
1.
  • security.insecure_field_warning.contextual.enabled - hides ugly warning message near password input field
  • security.insecure_password.ui.enabled - disables insecure password warnings in page info popup of some pages
2. Pale moon, older version of firefox (both are on debian and ubuntu vm's) has the icons while newer version of firefox - does not. Screenshots:
ImageImageImage
Menus on pale moon, previous firefox (debian and ubuntu vm)
ImageImage
Latest version of firefox (host pc), current and separate (all addons disabled) profiles

3. in pale moon it embeds default viewer using mozplugger. Installing it on my linux system it works, so sites wouldn't "think" that I don't have a plugin. Also pale moon doesn't have pdfjs thingy too. In old firefox it doesn't work unless mozplugger is installed. It loads in firefox internal pdf viewer. mozplugger disabled - page broken
Last edited by juozas on March 8th, 2017, 1:07 pm, edited 2 times in total.
Сделано в СССР
nohamelin
Posts: 96
Joined: September 3rd, 2013, 4:04 pm
Location: Chile

Re: [Ext] Classic Theme Restorer

Post by nohamelin »

juozas wrote:Many menu icons are missing on context menus and main menu (F10 to show if hidden), dunno what and where to change...
It was bug 1302157: Remove support for obsolete -moz-images-in-menus and -moz-images-in-buttons media queries

In short: the icons aren't shown anymore by design ](*,)
Post Reply