removed firefox theme
This commit is contained in:
parent
8ac857faf4
commit
18d5a49e6e
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
theme,
|
||||
...
|
||||
}: {
|
||||
programs.firefox = {
|
||||
|
@ -44,12 +43,13 @@
|
|||
profiles = {
|
||||
"aria" = {
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
vimium
|
||||
tabcenter-reborn
|
||||
ublock-origin
|
||||
bitwarden
|
||||
canvasblocker
|
||||
sponsorblock
|
||||
xbrowsersync
|
||||
sidebery
|
||||
];
|
||||
settings = {
|
||||
"browser.aboutConfig.showWarning" = false;
|
||||
|
@ -134,200 +134,15 @@
|
|||
};
|
||||
};
|
||||
userChrome = ''
|
||||
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||||
* {
|
||||
font-family: "Inter" !important;
|
||||
font-size: 14px !important;
|
||||
|
||||
--arrowpanel-background: ${theme.base00} !important;
|
||||
--arrowpanel-border-color: ${theme.base02} !important;
|
||||
--autocomplete-popup-highlight-color: ${theme.base02} !important;
|
||||
--autocomplete-popup-highlight-background: ${theme.base06} !important;
|
||||
--toolbarbutton-active-background: ${theme.base06} !important;
|
||||
--lwt-toolbarbutton-icon-fill-attention: var(--button-primary-bgcolor, ${theme.base06}) !important;
|
||||
--toolbar-field-focus-border-color: ${theme.base06} !important;
|
||||
}
|
||||
.toolbar {
|
||||
background-color: #11171D !important;
|
||||
}
|
||||
window,
|
||||
#main-window,
|
||||
#toolbar-menubar,
|
||||
#TabsToolbar,
|
||||
#PersonalToolbar,
|
||||
#navigator-toolbox,
|
||||
#sidebar-box {
|
||||
background-color: ${theme.base02} !important;
|
||||
}
|
||||
.tab-background[selected="true"] {
|
||||
background-color: ${theme.base00} !important;
|
||||
}
|
||||
.tab-background {
|
||||
background-color: ${theme.base02} !important;
|
||||
}
|
||||
.tabbrowser-tab:hover .tab-background {
|
||||
background-color: ${theme.base09} !important;
|
||||
}
|
||||
#urlbar {
|
||||
background-color: #11171D !important;
|
||||
border-radius: 10px !important;
|
||||
}
|
||||
#nav-bar {
|
||||
background-color: ${theme.base02} !important;
|
||||
}
|
||||
#firefox-view-button {
|
||||
visibility: collapse;
|
||||
}
|
||||
#alltabs-button {
|
||||
visibility: collapse;
|
||||
}
|
||||
#mainPopupSet menupopup,
|
||||
menupopup:not(.in-menulist) > menuitem,
|
||||
menupopup:not(.in-menulist) > menu {
|
||||
border: 0 !important;
|
||||
border-radius: 0px !important;
|
||||
padding: 0px 0px 0px 0px !important;
|
||||
}
|
||||
/*
|
||||
*/
|
||||
#back-button>.toolbarbutton-icon {
|
||||
transform: scale(.85, .85) !important;
|
||||
animation: none !important;
|
||||
border: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
#back-button:not(:hover),
|
||||
#back-button:not(:hover) > .toolbarbutton-icon {
|
||||
background: none !important;
|
||||
}
|
||||
#back-button:hover,
|
||||
#back-button:hover > .toolbarbutton-icon {
|
||||
border-radius: 2px !important;
|
||||
}
|
||||
#whats-new-menu-button,
|
||||
#pocket-button,
|
||||
#save-to-pocket-button
|
||||
#reader-mode-button {
|
||||
display: none !important;
|
||||
}
|
||||
#star-button {
|
||||
color: ${theme.base06} !important;
|
||||
}
|
||||
#save-to-pocket-button {
|
||||
visibility: hidden !important;
|
||||
}
|
||||
#urlbar-input {
|
||||
background-color: ${theme.base00} !important;
|
||||
padding-left: 5px !important;
|
||||
}
|
||||
#urlbar-results {
|
||||
background-color: ${theme.base00} !important;
|
||||
border-radius: 5px !important;
|
||||
}
|
||||
#urlbar-results .urlbarView-row:hover{
|
||||
color: ${theme.base06} !important;
|
||||
border-radius: 5px !important;
|
||||
}
|
||||
.urlbarView-row[selected] .urlbarView-row-inner {
|
||||
border-radius: 5px !important;
|
||||
background-color: ${theme.base06} !important;
|
||||
color: ${theme.base00} !important;
|
||||
}
|
||||
#urlbar ::-moz-selection,
|
||||
.searchbar-textbox ::-moz-selection {
|
||||
background-color: ${theme.base01} !important;
|
||||
color: ${theme.base09} !important;
|
||||
}
|
||||
#tabbrowser-tabpanels {
|
||||
background-color: ${theme.base01} !important;
|
||||
}
|
||||
urlbar > #urlbar-background {
|
||||
background-color: ${theme.base00} !important;
|
||||
}
|
||||
#urlbar-background {
|
||||
background-color: ${theme.base00} !important;
|
||||
color: ${theme.base02} !important;
|
||||
border: 1px solid ${theme.base06} !important;
|
||||
}
|
||||
#urlbar-background:not([focused]) {
|
||||
background-color: ${theme.base00} !important;
|
||||
color: ${theme.base02} !important;
|
||||
}
|
||||
#urlbar-one-offs-header-label{
|
||||
display: none;
|
||||
}
|
||||
.search-one-offs > .search-panel-one-offs-header::before{
|
||||
display: block;
|
||||
content: "Search With:";
|
||||
padding-inline: var(--urlbarView-item-inline-padding) 18px;
|
||||
opacity: 0.6;
|
||||
}
|
||||
#tabbrowser-tabs {
|
||||
border-inline-start: none !important;
|
||||
}
|
||||
|
||||
}
|
||||
'';
|
||||
userContent = ''
|
||||
@namespace url("http://www.w3.org/1999/xhtml");
|
||||
:root {
|
||||
scrollbar-color: ${theme.base00} ${theme.base02};
|
||||
}
|
||||
* {
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
@-moz-document url-prefix("about:") {
|
||||
:root {
|
||||
--in-content-page-background: ${theme.base00} !important;
|
||||
--toolbar-field-focus-border-color: ${theme.base06} !important;
|
||||
--toolbarbutton-active-background: ${theme.base06} !important;
|
||||
}
|
||||
}
|
||||
@-moz-document url("about:newtab"), url("about:home") {
|
||||
* {
|
||||
font-family: "Inter" !important;
|
||||
}
|
||||
body {
|
||||
background-color: ${theme.base00} !important;
|
||||
}
|
||||
.logo-and-wordmark {
|
||||
display: none !important;
|
||||
}
|
||||
.SnippetBaseContainer {
|
||||
display: none !important;
|
||||
}
|
||||
.search-handoff-button {
|
||||
border-radius: 15px !important;
|
||||
border-width: 4px !important;
|
||||
border-color: ${theme.base02} !important;
|
||||
background-size: 0px !important;
|
||||
background-color: ${theme.base00} !important;
|
||||
padding-inline-start: 10px !important;
|
||||
padding-inline-end: 10px !important;
|
||||
}
|
||||
.icon-settings {
|
||||
display: none !important;
|
||||
}
|
||||
.fake-textbox {
|
||||
text-align: center !important;
|
||||
}
|
||||
.search-wrapper input {
|
||||
background-color: ${theme.base09} !important;
|
||||
border-radius: 0px !important;
|
||||
background-image: none !important;
|
||||
background-size: none !important;
|
||||
text-align: center !important;
|
||||
font-size: 17px !important;
|
||||
padding-inline-start: 10px !important;
|
||||
padding-inline-end: 10px !important;
|
||||
}
|
||||
.search-wrapper input:focus {
|
||||
text-align: left !important;
|
||||
}
|
||||
.body-wrapper {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue