Skip to content

Commit

Permalink
4.5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Aris-t2 committed Oct 5, 2024
1 parent 9a5dbaa commit 1980b10
Show file tree
Hide file tree
Showing 14 changed files with 299 additions and 18 deletions.
8 changes: 4 additions & 4 deletions current/css/appbutton/appbutton_in_titlebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@

/* menubar adjustments */
#main-window[tabsintitlebar] #toolbar-menubar {
margin-inline-start: 95px !important;
padding-inline-start: 95px !important;
}

#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar {
margin-inline-start: 94px !important;
padding-inline-start: 94px !important;
}

#main-window[uidensity=compact][tabsintitlebar] #toolbar-menubar {
margin-inline-start: 93px !important;
padding-inline-start: 93px !important;
}

#main-window[uidensity=compact][tabsintitlebar][sizemode="maximized"] #toolbar-menubar {
margin-inline-start: 92px !important;
padding-inline-start: 92px !important;
}

/* tabs toolbar adjustments */
Expand Down
12 changes: 6 additions & 6 deletions current/css/appbutton/appbutton_in_titlebar_icon_only.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,22 @@

/* tabs toolbar adjustments */
#main-window[tabsintitlebar] #toolbar-menubar {
margin-inline-start: 43px !important;
padding-inline-start: 43px !important;
}
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar {
margin-inline-start: 41px !important;
padding-inline-start: 41px !important;
}
#main-window[uidensity=compact][tabsintitlebar] #toolbar-menubar {
margin-inline-start: 40px !important;
padding-inline-start: 40px !important;
}
#main-window[uidensity=compact][tabsintitlebar][sizemode="maximized"] #toolbar-menubar {
margin-inline-start: 39px !important;
padding-inline-start: 39px !important;
}
#main-window[uidensity=touch][tabsintitlebar] #toolbar-menubar {
margin-inline-start: 48px !important;
padding-inline-start: 48px !important;
}
#main-window[uidensity=touch][tabsintitlebar][sizemode="maximized"] #toolbar-menubar {
margin-inline-start: 47px !important;
padding-inline-start: 47px !important;
}

/* tabs toolbar adjustments */
Expand Down
3 changes: 3 additions & 0 deletions current/css/buttons/custom_backforward_large.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@


/* override custom button shapes */
#main-window:not([customizing]) #nav-bar #nav-bar-customization-target > :is(#back-button, #forward-button):not(#PlacesChevron)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-icon,
#main-window:not([customizing]) #nav-bar #nav-bar-customization-target > :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-text,
#main-window:not([customizing]) #nav-bar #nav-bar-customization-target > :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-badge-stack,
#main-window:not([customizing]) #nav-bar :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-icon,
#main-window:not([customizing]) #nav-bar :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-text,
#main-window:not([customizing]) #nav-bar :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-badge-stack,
Expand Down
3 changes: 3 additions & 0 deletions current/css/buttons/custom_backforward_small.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@


/* override custom button shapes */
#main-window:not([customizing]) #nav-bar #nav-bar-customization-target > :is(#back-button, #forward-button):not(#PlacesChevron)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-icon,
#main-window:not([customizing]) #nav-bar #nav-bar-customization-target > :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-text,
#main-window:not([customizing]) #nav-bar #nav-bar-customization-target > :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-badge-stack,
#main-window:not([customizing]) #nav-bar :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-icon,
#main-window:not([customizing]) #nav-bar :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-text,
#main-window:not([customizing]) #nav-bar :is(#back-button, #forward-button)[disabled=true]:is([open],[checked],:hover:active,:active) > .toolbarbutton-badge-stack,
Expand Down
2 changes: 1 addition & 1 deletion current/css/generalui/popup_menupopup_with_scrollbars.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/****************************************************************************************/


link[href$="arrowscrollbox.css"] ~ .scrollbox-clip scrollbox[orient="vertical"] {
link[href$="arrowscrollbox.css"] ~ scrollbox[orient="vertical"] {
overflow-y: auto !important;
}

Expand Down
9 changes: 3 additions & 6 deletions current/css/generalui/sidebar_header_icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,17 @@
/****************************************************************************************/


#sidebar-switcher-bookmarks::before,
#sidebar-switcher-history::before,
#sidebar-switcher-tabs::before,
#sidebar-reverse-position::before,
#sidebar-menu-close::before {
#sidebarMenu-popup menuitem::before {
content:"" !important;
display: block !important;
width: 16px !important;
height: 16px !important;
-moz-context-properties: fill;
margin-inline-end: 4px !important;
fill: currentColor;
background-repeat: no-repeat;
}


#sidebar-switcher-bookmarks::before {
background-image: url("chrome://browser/skin/bookmark.svg") !important;
}
Expand All @@ -32,6 +28,7 @@

#sidebar-reverse-position::before {
background-image: url("chrome://devtools/skin/images/tool-network.svg") !important;
transform: rotate(90deg);
}

#sidebar-menu-close::before {
Expand Down
24 changes: 24 additions & 0 deletions current/css/locationbar/identitybox_padlock_icon_arrow.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


/* alternative padlock icons */
#urlbar[pageproxystate="valid"] #tracking-protection-icon-container:not([hidden]) ~ #identity-box:is(.verifiedDomain,.verifiedIdentity) #identity-icon,
#urlbar[pageproxystate="valid"] :is(.verifiedDomain,.verifiedIdentity) #connection-icon {
list-style-image: url(./../../image/arrow.svg) !important;
}
#urlbar[pageproxystate="valid"] #tracking-protection-icon-container:not([hidden]) ~ #identity-box:is(.insecureLoginForms,.mixedActiveContent,.notSecure) #identity-icon,
#urlbar[pageproxystate="valid"] :is(.insecureLoginForms,.mixedActiveContent,.notSecure) #connection-icon {
list-style-image: url(./../../image/arrow.svg) !important;
}

#urlbar[pageproxystate="valid"] #tracking-protection-icon-container:not([hidden]) ~ #identity-box:is(.weakCipher,.mixedDisplayContent,.mixedDisplayContentLoadedActiveBlocked,.certUserOverridden) #identity-icon,
#urlbar[pageproxystate="valid"] :is(.weakCipher,.mixedDisplayContent,.mixedDisplayContentLoadedActiveBlocked,.certUserOverridden) #connection-icon {
list-style-image: url(./../../image/arrow.svg) !important;
}

#urlbar[pageproxystate="valid"] #tracking-protection-icon-container:not([hidden]) ~ #identity-box.mixedActiveBlocked #identity-icon,
#urlbar[pageproxystate="valid"] .mixedActiveBlocked #connection-icon {
list-style-image: url(./../../image/arrow.svg) !important;
}
8 changes: 8 additions & 0 deletions current/css/tabs/alltabs_button_old_icon.css
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 ************************************/
/****************************************************************************************/


#alltabs-button .toolbarbutton-icon {
list-style-image: url(chrome://global/skin/icons/arrow-down.svg) !important;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


#tabbrowser-tabs:not([overflow]) ~ #alltabs-button{
visibility: collapse !important;
display: none !important;
}
26 changes: 26 additions & 0 deletions current/css/tabs/tabs_below_main_content_fx133.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


@import "./tabs_below_main_content.css";

/* [!] NOT A STANDALONE FILE! */
/* [!] This code does not achieve the requested result without above files content! */


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

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

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

#main-window[sizemode="maximized"] #toolbar-menubar {
margin-top: -5px !important;
}
188 changes: 188 additions & 0 deletions current/css/tabs/tabs_below_navigation_toolbar_fx133.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@
/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


:root {
--tabs_toolbar_color_tabs_not_on_top: linear-gradient(#f9f9fa,#f9f9fa);
--tab-min-height_tnot: 32px;
--tab_below_navigation_toolbar_bottom_padding: calc( var(--tab-min-height_tnot) + 5px );
--tab_below_navigation_toolbar_bottom_padding_macOS: calc( var(--tab-min-height) + 8px );
--tab_below_navigation_toolbar_toolbox_top_padding_macOS: calc(-1px + var(--tab-min-height));
}

#TabsToolbar {
order: 100;
color: var(--toolbar-color);
}

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

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

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

#main-window[sizemode="maximized"] #toolbar-menubar {
margin-top: -5px !important;
}


/* move caption buttons to windows top right position */
.titlebar-buttonbox-container {
position: fixed;
right: 0;
visibility: visible;
display: block;
}

#main-window[tabsintitlebar]:not([sizemode="fullscreen"]) #toolbar-menubar[autohide="true"]:not([inactive="true"]) ~ #TabsToolbar,
#main-window[tabsintitlebar]:not([sizemode="fullscreen"]) #toolbar-menubar[autohide="false"] ~ #TabsToolbar {
margin-top: 0px !important;
}

@media (-moz-platform: macos) {

#navigator-toolbox {
position: relative;
padding-bottom: var(--tab_below_navigation_toolbar_bottom_padding_macOS);
}

#main-window[tabsintitlebar]:not([sizemode="fullscreen"]):not([inDOMFullscreen="true"]) #navigator-toolbox {
padding-top: var(--tab_below_navigation_toolbar_toolbox_top_padding_macOS);
}

#main-window[tabsintitlebar]:not([sizemode="fullscreen"]):not([inDOMFullscreen="true"]) .titlebar-buttonbox-container {
position: fixed;
top: 3px !important;
right: unset;
left: 0;
visibility: visible;
display: block;
}

:root[lwtheme] #titlebar {
background-image: var(--lwt-header-image, var(--lwt-additional-images));
background-repeat: var(--lwt-background-tiling);
background-position: var(--lwt-background-alignment);
}

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

#main-window[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen="true"]) #titlebar {
height: 0px;
}
}

/* remove unneeded items */
#TabsToolbar .titlebar-buttonbox-container,
#TabsToolbar .private-browsing-indicator,
#TabsToolbar #window-controls,
#TabsToolbar *[type="caption-buttons"],
#TabsToolbar *[type="pre-tabs"],
#TabsToolbar *[type="post-tabs"] {
display: none;
}

/* lw themes support */
/* overrides other settings too */
:root:not([lwtheme]) #navigator-toolbox #TabsToolbar,
:root:not([lwtheme]):not([tabsintitlebar]) #TabsToolbar{
appearance: none !important;
}

@media not (-moz-toolbar-prefers-color-scheme: dark), not (prefers-color-scheme: dark) {
:root:not([lwtheme]) #navigator-toolbox #TabsToolbar{
background-image: var(--tabs_toolbar_color_tabs_not_on_top) !important;
}
}

#nav-bar {
box-shadow: unset !important;
}

/* remove color overlay for lw-themes */
:root[lwtheme][style*='--lwt-header-image'] :is(#nav-bar,#PersonalToolbar,#TabsToolbar){
background: unset !important;
}

/* adjust background color */
:root[lwtheme]:not([style*='--lwt-header-image']) :is(#toolbar-menubar, #TabsToolbar) {
appearance: none !important;
background-image: linear-gradient(var(--toolbar-bgcolor),var(--toolbar-bgcolor)) !important;
}

/* Fixes for projects other settings */
/* remove application/hamburger button in titlebar and tab toolbars start padding */
#main-window[tabsintitlebar][sizemode="fullscreen"] #navigator-toolbox #PanelUI-button {
visibility: collapse;
}

/* override code inside appbutton in titlebar code */
#main-window[tabsintitlebar] #toolbar-menubar[autohide="true"][inactive="true"] ~ #TabsToolbar,
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[autohide="true"][inactive="true"] ~ #TabsToolbar,
#main-window[tabsintitlebar][sizemode="fullscreen"] #TabsToolbar,
#main-window[uidensity=compact][tabsintitlebar] #toolbar-menubar[autohide="true"][inactive="true"] ~ #TabsToolbar,
#main-window[uidensity=compact][tabsintitlebar][sizemode="maximized"] #toolbar-menubar[autohide="true"][inactive="true"] ~ #TabsToolbar,
#main-window[tabsintitlebar]:is([sizemode="normal"],[sizemode="maximized"],[sizemode="fullscreen"]) #navigator-toolbox #TabsToolbar {
padding-inline-start: 0px !important;
margin-inline-start: 0px !important;
}

/* remove restored border between navigation toolbar and tabs toolbar */
:root:not([lwtheme]) #nav-bar{
box-shadow: unset !important;
}

/* notification position */
#tab-notification-deck {
position: absolute;
display: block;
bottom: calc( -2 * var(--tab_below_navigation_toolbar_bottom_padding) + 8px );
width: 100vw;
}

/* Fx 105+ */
:root:not([privatebrowsingmode=temporary]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
:root[privatebrowsingmode=temporary] :is(toolbarbutton:not(#firefox-view-button), toolbarpaletteitem:not(#wrapper-firefox-view-button)) + #tabbrowser-tabs {
border-inline-start: 0px solid color-mix(in srgb, currentColor 25%, transparent) !important;
}

:root:not([privatebrowsingmode=temporary]):not([firefoxviewhidden]) :is(#firefox-view-button, #wrapper-firefox-view-button) + #tabbrowser-tabs:not([overflow]) {
padding-inline-start: 0 !important;
margin-inline-start: 0 !important;
}

/* Fx 106+ */
#private-browsing-indicator-with-label {
display: none !important;
}

@media (-moz-platform: macos) {
#main-window[tabsintitlebar] #TabsToolbar {
padding-inline-end: 0px !important
}

/* draggable window */
#main-window[tabsintitlebar] toolbox#navigator-toolbox{
-moz-window-dragging: drag !important;
}

:is(#TabsToolbar, #nav-bar, #PlacesToolbar) {
-moz-window-dragging: no-drag !important;
}
}

/* Fx 126+ */
:root[lwtheme] #nav-bar {
border-top: 0 !important;
}
8 changes: 8 additions & 0 deletions current/css/webcontent/autofill_forms_background_white.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/

/* filter: unset and background-image: unset refuse to remove default colors */

:autofill {
filter: grayscale(100%) brightness(1.1) !important;
}

/* stopped working in Firefox 131 *//*
:autofill {
filter: unset !important;
background-image: unset !important;
}
*/
6 changes: 6 additions & 0 deletions current/image/arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 1980b10

Please sign in to comment.