-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
299 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
current/css/locationbar/identitybox_padlock_icon_arrow.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
9 changes: 9 additions & 0 deletions
9
current/css/tabs/alltabs_button_only_visible_in_overflow_mode.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
188
current/css/tabs/tabs_below_navigation_toolbar_fx133.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.