Skip to content

Commit

Permalink
4.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris-t2 committed Nov 25, 2024
1 parent 623ce53 commit 3e3e0e6
Show file tree
Hide file tree
Showing 15 changed files with 211 additions and 16 deletions.
4 changes: 2 additions & 2 deletions current/css/locationbar/ac_popup_megabar_compact_results.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@
margin-inline-end: 0 !important;
padding-inline-end: 0 !important;
}

/*
#urlbar[breakout] #urlbar-results .urlbarView-row-inner {
padding-inline-start: 4px !important;
padding-inline-end: 4px !important;
}
}*/

#urlbar[breakout] .urlbarView-row {
padding-block: 0px !important;
Expand Down
12 changes: 12 additions & 0 deletions current/css/locationbar/urlbar_searchmode_switcher_hidden.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


#urlbar-searchmode-switcher {
display: none !important;
}

#urlbar[pageproxystate="invalid"] #identity-box {
display: flex !important;
}
7 changes: 6 additions & 1 deletion current/css/tabs/classic_squared_tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,6 @@
}

/*Fx 127+ */

.tabbrowser-tab:not([pinned]):not([locked]) .tab-throbber,
.tabbrowser-tab:not([pinned]) .tab-icon-pending,
.tabbrowser-tab:not([pinned]) .tab-icon-image,
Expand All @@ -682,3 +681,9 @@
.tab-content {
padding: 0 8px !important;
}

/* Fx 133+ */
#tabbrowser-tabs[orient="horizontal"] .tab-background,
#tabbrowser-tabs[orient="horizontal"] {
min-height: unset !important;
}
6 changes: 5 additions & 1 deletion current/css/tabs/classic_squared_tabs_australized.css
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,6 @@
}

/*Fx 127+ */

.tabbrowser-tab:not([pinned]):not([locked]) .tab-throbber,
.tabbrowser-tab:not([pinned]) .tab-icon-pending,
.tabbrowser-tab:not([pinned]) .tab-icon-image,
Expand All @@ -649,3 +648,8 @@
padding: 0 8px !important;
}

/* Fx 133+ */
#tabbrowser-tabs[orient="horizontal"] .tab-background,
#tabbrowser-tabs[orient="horizontal"] {
min-height: unset !important;
}
5 changes: 5 additions & 0 deletions current/css/tabs/default_tabs_photon.css
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,8 @@
--tab-selected-bgcolor: unset !important;
}

/* Fx 133+ */
#tabbrowser-tabs[orient="horizontal"] .tab-background,
#tabbrowser-tabs[orient="horizontal"] {
min-height: unset !important;
}
6 changes: 6 additions & 0 deletions current/css/tabs/default_tabs_photon_alt.css
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,9 @@
:root {
--tab-selected-bgcolor: unset !important;
}

/* Fx 133+ */
#tabbrowser-tabs[orient="horizontal"] .tab-background,
#tabbrowser-tabs[orient="horizontal"] {
min-height: unset !important;
}
17 changes: 17 additions & 0 deletions current/css/tabs/default_tabs_reduce_height.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


:root {
--tab-min-height: 29px !important;

&[uidensity=compact] {
--tab-min-height: unset !important;
}

&[uidensity=touch] {
--tab-min-height: 36px !important;
}
}

4 changes: 2 additions & 2 deletions current/css/tabs/tabs_below_main_content_fx133.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@


#toolbar-menubar[inactive] ~ #nav-bar {
padding-top: 26px !important;
padding-top: 28px !important;
}

#toolbar-menubar {
padding-inline-end: 140px;
}

#toolbar-menubar:not([inactive]) {
height: 26px !important;
height: 28px !important;
}

#main-window[sizemode="maximized"] #toolbar-menubar {
Expand Down
4 changes: 2 additions & 2 deletions current/css/tabs/tabs_below_navigation_toolbar_fx133.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
}

#main-window[tabsintitlebar]:not([sizemode="fullscreen"]) #toolbar-menubar[inactive] ~ #nav-bar {
padding-top: 26px !important;
padding-top: 28px !important;
}

#toolbar-menubar {
padding-inline-end: 140px;
}

#toolbar-menubar:not([inactive]) {
height: 26px !important;
height: 28px !important;
}

#main-window[sizemode="maximized"] #toolbar-menubar {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


@import "tabs_below_navigation_toolbar_fx133.css";


:root:not([lwtheme])[tabsintitlebar] #nav-bar,
#main-window[tabsintitlebar] #nav-bar {
appearance: none !important;
background: transparent !important;
border-top: unset !important;
}

:root:not([lwtheme])[tabsintitlebar] #toolbar-menubar[autohide][inactive] ~ #nav-bar,
#main-window[tabsintitlebar] #toolbar-menubar[autohide][inactive] ~ #nav-bar {
margin-inline-end: 145px !important;
}

#main-window[tabsintitlebar][sizemode="normal"] #navigator-toolbox #nav-bar {
border-left: 0px !important;
border-right: 0px !important;
}

#main-window[tabsintitlebar] #toolbar-menubar {
margin-bottom: 26px !important;
}
#main-window[tabsintitlebar] #toolbar-menubar[autohide][inactive] {
margin-bottom: 0px !important;
}

#main-window[tabsintitlebar] #toolbar-menubar .titlebar-buttonbox-container {
display: none !important;
}

#main-window[tabsintitlebar] #nav-bar,
#main-window[tabsintitlebar][sizemode="maximized"] #nav-bar {
margin-top: -20px !important;
z-index: 1000 !important;
}

@media (-moz-platform: windows) {
#main-window[tabsintitlebar] #nav-bar,
#main-window[tabsintitlebar][sizemode="maximized"] #nav-bar {
margin-top: -24px !important;
}
}

/* move caption buttons to windows top right position */
#main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) #toolbar-menubar ~ #TabsToolbar .titlebar-buttonbox-container {
position: fixed !important;
right: 0 !important;
visibility: visible !important;
display: block !important;
}

/* caption button position in maximized mode after moving to the top */
#main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) #toolbar-menubar ~ #TabsToolbar .titlebar-buttonbox-container,
#main-window[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen="true"]) #TabsToolbar .titlebar-buttonbox-container {
top: -14px !important;
}


/* Windows */
@media (-moz-platform: windows) {
#main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) #toolbar-menubar ~ #TabsToolbar .titlebar-buttonbox-container {
top: 1px !important;
}
#main-window[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen="true"]) #toolbar-menubar ~ #TabsToolbar .titlebar-buttonbox-container {
top: 0px !important;
}
}

/* Windows 7 extra tweaks */
@media (-moz-os-version:windows-win7), (-moz-os-version: windows-win7) {
@media all and (-moz-windows-compositor) {
#main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) #toolbar-menubar ~ #TabsToolbar .titlebar-buttonbox-container {
display: none !important;
}
}
@media not all and (-moz-windows-compositor) {
#main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) #toolbar-menubar ~ #TabsToolbar .titlebar-buttonbox-container {
top: -2px !important;
}
#main-window[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen="true"]) #toolbar-menubar ~ #TabsToolbar .titlebar-buttonbox-container {
top: 0px !important;
}
#main-window[tabsintitlebar]:not([inDOMFullscreen="true"]) #toolbar-menubar[autohide="true"]:not([inactive="true"]) ~ #TabsToolbar .titlebar-buttonbox-container {
display: none !important;
}
}
}

/* tweaks for fullscreen mode */
#main-window[tabsintitlebar][sizemode="fullscreen"] #toolbar-menubar ~ #TabsToolbar .titlebar-buttonbox-container,
#main-window[tabsintitlebar][sizemode="fullscreen"] #navigator-toolbox #PanelUI-button,
#main-window #TabsToolbar #window-controls {
display: none !important;
}

@media all and (-moz-windows-classic) {
:root:not([lwtheme])[tabsintitlebar] #nav-bar,
#main-window[tabsintitlebar] #nav-bar {
margin-inline-end: 0px !important;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


@import "./tabs_below_navigation_toolbar_higher_navbar_positon_fx133.css";

#main-window[tabsintitlebar] #toolbar-menubar[autohide][inactive] ~ #nav-bar #nav-bar-customization-target {
padding-inline-start: 110px !important;
}
/**/
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


@import "./tabs_below_navigation_toolbar_higher_navbar_positon_fx133.css";

#main-window[tabsintitlebar] #toolbar-menubar[autohide][inactive] ~ #nav-bar #nav-bar-customization-target {
padding-inline-start: 60px !important;
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
}

/* move bookmarks toolbar to bottom + style bookmarks toolbar */
#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox > #PersonalToolbar {
#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox #PersonalToolbar {
-moz-window-dragging: no-drag;
display: flex !important;
position: fixed !important;
Expand All @@ -32,7 +32,7 @@
background-image: var(--lwt-header-image) !important;
}

/* free some space below content */
/* free some space below content *//*
#main-window:not([chromehidden*="toolbar"]):not([sizemode="fullscreen"]) #browser-bottombox {
margin-bottom: calc( var(--addonbar_height) - 1px);
}
Expand Down Expand Up @@ -130,11 +130,11 @@
-moz-box-align: center !important;
align-items: center !important;
}
/*

#main-window:not([inDOMFullscreen="true"],[sizemode="fullscreen"]) #browser,
#main-window:not([inDOMFullscreen="true"],[sizemode="fullscreen"]) #customization-container {
margin-bottom: var(--addonbar_height) !important;
}*/
}

#PersonalToolbar .toolbarbutton-1 {
margin-block: 0px !important;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/

#main-window:not([inDOMFullscreen="true"],[sizemode="fullscreen"]) #browser,
#main-window:not([inDOMFullscreen="true"],[sizemode="fullscreen"]) #customization-container {
margin-bottom: 4px !important;
}
18 changes: 14 additions & 4 deletions current/userChrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Firefox userChrome.css tweaks: main file
Custom CSS for Firefox 128+
Current version: 4.6.0
Current version: 4.6.1
Based on 'Classic Theme Restorer' & 'Classic Toolbar Buttons' add-ons CSS code
Github: https://github.com/aris-t2/customcssforfx
Expand Down Expand Up @@ -573,14 +573,15 @@
[!] Note: 'alt' works with multi-tab lines option up to Fx 132.
[!] Note: '_fx133.css' version works with multi-tab lines option for Fx 133+.
[!] Note: might require overriding url bars 'selection color' --> see corresponding area
[!] _fx133.css for Firefox 133+
[!] only use one option at a time
*/

/* @import "./css/tabs/tabs_below_navigation_toolbar.css"; /**/ /* for Firefox 132 and below */
/* @import "./css/tabs/tabs_below_navigation_toolbar_fx133.css"; /**/ /* for Firefox 133+ */


/* Alternative for multi-lined tabs (Glitches might occur with inactive menubar!)
/* Alternative for multi-lined tabs (Possible glitches with inactive menubar!)
[!] use option below for multiple tab lines support (up to Fx 132 only !)
*/

Expand All @@ -591,14 +592,18 @@


/* Move tabs to a higher position
[!] not compatible to 'tabs toolbar - multiple tab lines' option
[!] not compatible to 'tabs toolbar - multiple tab lines' option up to Fx132, works with Fx133+
[!] _fx133.css for Firefox 133+
[!] only use one option at a time
[!] EXPERIMENTAL
*/

/* @import "./css/tabs/tabs_below_navigation_toolbar_higher_navbar_positon.css"; /**/
/* @import "./css/tabs/tabs_below_navigation_toolbar_higher_navbar_positon_fx133.css"; /**/
/* @import "./css/tabs/tabs_below_navigation_toolbar_higher_navbar_positon_with_appbutton.css"; /**/
/* @import "./css/tabs/tabs_below_navigation_toolbar_higher_navbar_positon_with_appbutton_fx133.css"; /**/
/* @import "./css/tabs/tabs_below_navigation_toolbar_higher_navbar_positon_with_appbutton_icon_only.css"; /**/
/* @import "./css/tabs/tabs_below_navigation_toolbar_higher_navbar_positon_with_appbutton_icon_only_fx133.css"; /**/


/* ----------------------------------------
Expand Down Expand Up @@ -711,7 +716,8 @@
@import "./css/tabs/tab_icon_colors.css"; /**/
/* @import "./css/tabs/tab_title_centered.css"; /**/
/* @import "./css/tabs/tabs_firefox_view_button_hidden.css"; /**/
/* @import "./css/tabs/classic_squared_tabs_old_bordercolor_for_lwthemes.css"; /**/ /* Has to be used along with 'classic_squared_tabs.css' */
/* @import "./css/tabs/classic_squared_tabs_old_bordercolor_for_lwthemes.css"; /**/ /* has to be used along with 'classic_squared_tabs.css' */
/* @import "./css/tabs/default_tabs_reduce_height.css"; /**/ /* Fx133 introduced new tab dimensions this setting tries to bybass */
/* @import "./css/tabs/default_tabs_reduce_spaces.css"; /**/
/* @import "./css/tabs/tabs_fully_squared.css"; /**/
/* @import "./css/tabs/tab_audio_icon.css"; /**/
Expand Down Expand Up @@ -926,9 +932,12 @@
[!] move 'Bookmarks Toolbar Items' to navigation bar to get a top toolbar with bookmarks
[!] not compatible to 'bookmarks toolbar - multiple lines' option
[!] not compatible to 'bookmarks toolbar autohide' option
[!] "addonbar_move_bookmarks_toolbar_to_bottom.css" is currently broken on Fx 132, but works on Fx 128ESR and 133+
[!] use "addonbar_move_bookmarks_toolbar_to_bottom_temp_fix_fx132.css" on Fx 132
*/

/* @import "./css/toolbars/addonbar_move_bookmarks_toolbar_to_bottom.css"; /**/
/* @import "./css/toolbars/addonbar_move_bookmarks_toolbar_to_bottom_temp_fix_fx132.css"; /**/ /* Fx 132 only */
/* @import "./css/toolbars/addonbar_move_bookmarks_toolbar_to_bottom_tabs_on_bottom_compatibility.css"; /**/
/* @import "./css/toolbars/addonbar_status_in_addonbar.css"; /**/
/* @import "./css/toolbars/addonbar_fullscreen_autohide.css"; /**/
Expand Down Expand Up @@ -1135,6 +1144,7 @@
/* @import "./css/locationbar/go_button_in_location_bar_hidden.css"; /**/
/* @import "./css/locationbar/tracking_protection_alternative_icon.css"; /**/
/* @import "./css/locationbar/urlbar_icons_aero_appearance.css"; /**/
/* @import "./css/locationbar/urlbar_searchmode_switcher_hidden.css"; /**/ /* Fx 134+ */


/* ----------------------------
Expand Down

0 comments on commit 3e3e0e6

Please sign in to comment.