Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Commit

Permalink
1.5.2
Browse files Browse the repository at this point in the history
<b>[locale(s)]</b>
- Greek (el) translation updated (thanks to George M.)
- Upper Sorbian (hsb) translation updated (thanks to milupo)
- Lower Sorbian (dsb) translation updated (thanks to milupo)
- Spanish (es) translation updated (thanks to strel)
- Slovenian (sl-SI) translation updated (thanks to Klofutar)
- Chinese (zh-CN) translation updated (thanks to Cye3s)
- Estonian (et) translation updated (thanks to Maidur)
- Polish (pl-PL) translation updated (thanks to Mrere)
- Ukrainian (uk) translation updated (thanks to Sacredwheels)
- Japanese (ja) translation updated (thanks to kk_m)
- Russian (ru) translation updated (thanks to Alexei)
- French (fr) translation updated (thanks to BlackJack)
- minor locale fixes for English and German locales

<b>[new option(s)]</b>
- Location bar (1): extra urlbar > select target (current, new tab, new
window)
- Location bar / Search bar: border rounding settings for location and
search bar
- Tabs (2) / General UI (1): additional icon for 'close icon' options
- General UI 1: about:home > hide snippets (= info stuff below search
input)
- General UI 2: bookmark buttons popup > 'view sidebar' menuitem
- Old Search: auto adjust popup width
- hidden option to add a separator to main/PanelUI menu button
-> extensions.classicthemerestorer.puibuttonsep
-> puib_nosep (default)
-> puib_leftsep (left separator)
-> puib_rightsep (right separator)
-> this will get an own switch on prefwindow on CTR v1.5.3

<b>[fix(es)]</b>
- issues with main/PanelUI menu button on tabs toolbar
- issues with attribute [mode="text"] on tabs toolbar
- issues with main/PanelUI menu button and text mode
- attribute [mode="text"] + rss icon in location bar
- about:preferences favicon appearance in some cases
- 'Firefox Tour' now works, if main/PanelUI menu button is on a top
toolbar
- MacOSX + tabs not on top v1: 'active tab' appearance
- MacOSX + tabs not on top v1: custom tab colors option for active tab
- bookmarks menu button issue (thanks to Toady)
- (Fx47+) flashing glitch with 'bookmarks star > hide popup' option
- MacOSX: CTR prefwindows height and width
- CTRs reload button glitch after leaving customizing mode
- Fx48+ & generic favicon options: missing icons in location bars popup

<b>[general change(s)]</b>
- moved border rounding settings to own category
- minor tweaks for border rounding options
- minor tweaks for old search popup width option
- MacOSX + squared tabs + tabs not on top v1 + lw-theme: flipped tabs
appearance
- internal changes to movable main/PanelUI menu button to improve
compatibility
- removed 'main/PanelUI menu button separator' item: use default
separators
- removed 'fix border radius' option: use border radius options for
location/search bar
- (Fx46+) minor tweaks to 'alt. options page v2'
- (Fx48+) tweaks for 'alternative autocomplete appearance' option
- (Fx48+) tweaks for 'autocomplete > disable height limit' option
- moved 'autocomplete' related options to location bar (2) category
-> changed some descriptions to match their purpose
- CTRs history menu button: buttons popup > 'view sidebar' menuitem
- CTR prefwindow: moved search settings to own 'search' category

<b>[add-on compatibility]</b>
- 'Setting Sanity' settings on options page/window
- 'Searchbar autoresizer' (broken by CTR 1.5.1)
  • Loading branch information
Aris-t2 committed May 20, 2016
1 parent 75de19b commit f74e721
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 20 deletions.
9 changes: 0 additions & 9 deletions xpi/content/css/hidenavbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
margin-top: unset !important;
margin-bottom: unset !important;
}

#main-window:not([customizing]) #nav-bar #ctraddon_puib_separator{
margin-top: unset !important;
margin-bottom: unset !important;
}

#main-window:not([customizing]) #nav-bar #ctraddon_back-forward-dropmarker{
margin-top: unset !important;
Expand All @@ -40,10 +35,6 @@
padding-top: 1px !important;
}

#main-window:not([customizing]) #PanelUI-button {
visibility: collapse !important;
}

#main-window:not([customizing]) #PersonalToolbar:not(:-moz-lwtheme),
#main-window:not([customizing]) toolbar[id^=ctraddon_extra-bar]:not([collapsed="true"]):not(:-moz-lwtheme) {
background-image: linear-gradient(rgba(253, 253, 253, 0.5), rgba(255, 255, 255, 0));
Expand Down
2 changes: 1 addition & 1 deletion xpi/content/css/mode_txtonly.css
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
box-shadow:none !important;
}

toolbar .toolbarbutton-badge-stack {
toolbar:not(#TabsToolbar) .toolbarbutton-badge-stack {
visibility:collapse !important;
display: -moz-box !important;
}
Expand Down
10 changes: 10 additions & 0 deletions xpi/content/css/puibutton_leftsep.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url(chrome://browser/content/browser.xul) {
#ctraddon_panelui-button #PanelUI-button {
margin-inline-start: 2px !important;
border-inline-start: 1px solid !important;
border-image: linear-gradient(transparent, rgba(0,0,0,.1) 20%, rgba(0,0,0,.1) 80%, transparent) !important;
border-image-slice: 1 !important;
}
}
10 changes: 10 additions & 0 deletions xpi/content/css/puibutton_rightsep.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url(chrome://browser/content/browser.xul) {
#ctraddon_panelui-button #PanelUI-button {
margin-inline-end: 2px !important;
border-inline-end: 1px solid !important;
border-image: linear-gradient(transparent, rgba(0,0,0,.1) 20%, rgba(0,0,0,.1) 80%, transparent) !important;
border-image-slice: 1 !important;
}
}
19 changes: 10 additions & 9 deletions xpi/content/overlay.css
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@
height: unset !important;
max-height: unset !important;
}
toolbar:not(#nav-bar) #ctraddon_panelui-button {
display: block !important;
}
toolbar:not(#nav-bar) #ctraddon_panelui-button #PanelUI-button,
toolbar:not(#nav-bar) #ctraddon_panelui-button #PanelUI-button #PanelUI-menu-button {
visibility: visible !important;
display: block !important;
}

/* PanelUI-CTR-button */
#ctraddon_PanelUI-CTR-button,
Expand Down Expand Up @@ -576,7 +568,7 @@
display:block !important;
}

toolbar[mode="text"] #PanelUI-menu-button .toolbarbutton-icon {
toolbar[mode="text"]:not(#TabsToolbar) #PanelUI-menu-button .toolbarbutton-icon {
-moz-appearance: unset !important;
display:block !important;
visibility: hidden !important;
Expand Down Expand Up @@ -605,6 +597,15 @@
-moz-margin-start: -14px !important;
}

/* icons on tabs toolbar do no get hidden*/
#TabsToolbar[mode="text"] .toolbarbutton-text {
display: none !important;
}

#TabsToolbar[mode="text"] .toolbarbutton-icon {
display: block !important;
}

/* support for old icons+text mode */
toolbar[mode="full"] .toolbarbutton-1:not([type="menu-button"]):not(#urlbar-reload-button):not(#urlbar-stop-button):not(#urlbar-go-button):not(.tabs-newtab-button):not(.tab-close-button):not(#back-button):not(#forward-button) {
-moz-box-orient: vertical !important;
Expand Down
12 changes: 12 additions & 0 deletions xpi/content/overlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -932,6 +932,16 @@ classicthemerestorerjs.ctr = {
if (branch.getBoolPref("wincontrols")) classicthemerestorerjs.ctr.loadUnloadCSS("wincontrols",true);
else classicthemerestorerjs.ctr.loadUnloadCSS("wincontrols",false);
break;

case "puibuttonsep":
classicthemerestorerjs.ctr.loadUnloadCSS('puib_leftsep',false);
classicthemerestorerjs.ctr.loadUnloadCSS('puib_rightsep',false);

if (branch.getCharPref("puibuttonsep")!="puib_nosep"){
classicthemerestorerjs.ctr.loadUnloadCSS(branch.getCharPref("puibuttonsep"),true);
}

break;

case "altalertbox":
if (branch.getBoolPref("altalertbox")
Expand Down Expand Up @@ -3897,6 +3907,8 @@ classicthemerestorerjs.ctr = {
case "mbarforceleft": manageCSS("menuitems_forceleft.css"); break;
case "mbarforceright": manageCSS("menuitems_forceright.css"); break;
case "wincontrols": manageCSS("windowcontrols.css"); break;
case "puib_leftsep": manageCSS("puibutton_leftsep.css"); break;
case "puib_rightsep": manageCSS("puibutton_rightsep.css"); break;
case "oldtoplevimg": manageCSS("old_toplevel_img.css"); break;
case "altalertbox": manageCSS("alt_alertboxfx44.css"); break;
case "navthrobber": manageCSS("navthrobber.css"); break;
Expand Down
1 change: 1 addition & 0 deletions xpi/defaults/preferences/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ pref("extensions.classicthemerestorer.findbar","findbar_default");
pref("extensions.classicthemerestorer.nav_txt_ico","icons");
pref("extensions.classicthemerestorer.iat_notf_vt",false);
pref("extensions.classicthemerestorer.wincontrols",false);
pref("extensions.classicthemerestorer.puibuttonsep",'puib_nosep');
pref("extensions.classicthemerestorer.oldtoplevimg",false);
pref("extensions.classicthemerestorer.altalertbox",false);
pref("extensions.classicthemerestorer.emptyfavico_g",'emptyfavico_g_def');
Expand Down
2 changes: 1 addition & 1 deletion xpi/install.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Description rdf:about="urn:mozilla:install-manifest">
<em:id>ClassicThemeRestorer@ArisT2Noia4dev</em:id>
<em:name>Classic Theme Restorer</em:name>
<em:version>1.5.2beta11</em:version>
<em:version>1.5.2</em:version>
<em:type>2</em:type>
<em:multiprocessCompatible>true</em:multiprocessCompatible>

Expand Down

0 comments on commit f74e721

Please sign in to comment.