mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-17 02:25:12 -05:00
feat: refactored firefox config
This commit is contained in:
parent
6a98266619
commit
fa753b9d14
3 changed files with 648 additions and 574 deletions
File diff suppressed because it is too large
Load diff
62
home-manager/modules/firefox/config/userChrome.css
Executable file → Normal file
62
home-manager/modules/firefox/config/userChrome.css
Executable file → Normal file
|
@ -1,98 +1,98 @@
|
|||
/* Title bar */
|
||||
.titlebar-spacer {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Tab bar */
|
||||
#navigator-toolbox {
|
||||
border: 0px !important;
|
||||
border: 0px !important;
|
||||
}
|
||||
#TabsToolbar {
|
||||
margin-left: 3px !important;
|
||||
margin-left: 3px !important;
|
||||
}
|
||||
#TabsToolbar > .tabbrowser-arrowscrollbox {
|
||||
overflow: visible !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
/* Nav bar */
|
||||
#nav-bar {
|
||||
height: 0px;
|
||||
min-height: 0px !important;
|
||||
overflow: hidden;
|
||||
transition: height 0.3s ease-in-out;
|
||||
height: 0px;
|
||||
min-height: 0px !important;
|
||||
overflow: hidden;
|
||||
transition: height 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
/* Only show nav-bar when specifically focused, not when clicking tab bar */
|
||||
#nav-bar:focus-within {
|
||||
overflow: visible;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Remove placeholder text in the URL bar */
|
||||
#urlbar-input::placeholder {
|
||||
color: transparent !important;
|
||||
color: transparent !important;
|
||||
}
|
||||
#urlbar {
|
||||
padding: 2px !important;
|
||||
padding: 2px !important;
|
||||
}
|
||||
|
||||
/* Hide URL bar text */
|
||||
#urlbar-background {
|
||||
border: none !important;
|
||||
border: none !important;
|
||||
}
|
||||
|
||||
#urlbar-border:focus-within {
|
||||
overflow: visible;
|
||||
height: auto;
|
||||
overflow: visible;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/* Hide search engine icon */
|
||||
#urlbar .search-one-offs:not([hidden]) {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide tracking protection icon */
|
||||
#tracking-protection-icon-container {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
#urlbar-container {
|
||||
width: auto !important;
|
||||
width: auto !important;
|
||||
}
|
||||
#urlbar {
|
||||
box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
#page-action-buttons {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide site information button */
|
||||
#identity-box {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide shield icon */
|
||||
#tracking-protection-icon-container {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
/* Hide forward and back buttons when not active */
|
||||
#back-button[disabled="true"] {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
#forward-button[disabled="true"] {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
.personalize-button {
|
||||
display: none !important;
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.tab-close-button {
|
||||
visibility: hidden !important;
|
||||
margin-inline-end: 0 !important;
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
padding: 2px !important;
|
||||
visibility: hidden !important;
|
||||
margin-inline-end: 0 !important;
|
||||
width: 16px !important;
|
||||
height: 16px !important;
|
||||
padding: 2px !important;
|
||||
}
|
||||
.tabbrowser-tab:hover .tab-close-button {
|
||||
visibility: visible !important;
|
||||
visibility: visible !important;
|
||||
}
|
|
@ -6,6 +6,9 @@
|
|||
}: let
|
||||
inherit (flake.config.people) user0;
|
||||
in {
|
||||
imports = [
|
||||
./config/bookmarks.nix
|
||||
];
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.firefox;
|
||||
|
@ -13,7 +16,6 @@ in {
|
|||
${user0} = {
|
||||
isDefault = true;
|
||||
search = import ./config/search.nix;
|
||||
bookmarks = import ./config/bookmarks.nix;
|
||||
settings = import ./config/settings.nix;
|
||||
extensions = import ./config/extensions.nix {inherit nur;};
|
||||
userChrome = builtins.readFile ./config/userChrome.css;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue