updated firefox theme and changed default search engine
This commit is contained in:
parent
7b753e2ed1
commit
3ad7f7454a
|
@ -74,7 +74,7 @@
|
||||||
};
|
};
|
||||||
search = {
|
search = {
|
||||||
force = true;
|
force = true;
|
||||||
default = "Celtic Lite";
|
default = "Catgirl";
|
||||||
engines = {
|
engines = {
|
||||||
"Nix Packages" = {
|
"Nix Packages" = {
|
||||||
urls = [
|
urls = [
|
||||||
|
@ -113,6 +113,20 @@
|
||||||
];
|
];
|
||||||
definedAliases = ["@cl"];
|
definedAliases = ["@cl"];
|
||||||
};
|
};
|
||||||
|
"Catgirl" = {
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://sx.catgirl.cloud/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
definedAliases = ["@cg"];
|
||||||
|
};
|
||||||
"Google".metaData.hidden = true;
|
"Google".metaData.hidden = true;
|
||||||
"Amazon.com".metaData.hidden = true;
|
"Amazon.com".metaData.hidden = true;
|
||||||
"Bing".metaData.hidden = true;
|
"Bing".metaData.hidden = true;
|
||||||
|
@ -127,7 +141,7 @@
|
||||||
|
|
||||||
--arrowpanel-background: ${theme.base00} !important;
|
--arrowpanel-background: ${theme.base00} !important;
|
||||||
--arrowpanel-border-color: ${theme.base02} !important;
|
--arrowpanel-border-color: ${theme.base02} !important;
|
||||||
--autocomplete-popup-highlight-color: ${theme.base01} !important;
|
--autocomplete-popup-highlight-color: ${theme.base02} !important;
|
||||||
--autocomplete-popup-highlight-background: ${theme.base06} !important;
|
--autocomplete-popup-highlight-background: ${theme.base06} !important;
|
||||||
--toolbarbutton-active-background: ${theme.base06} !important;
|
--toolbarbutton-active-background: ${theme.base06} !important;
|
||||||
--lwt-toolbarbutton-icon-fill-attention: var(--button-primary-bgcolor, ${theme.base06}) !important;
|
--lwt-toolbarbutton-icon-fill-attention: var(--button-primary-bgcolor, ${theme.base06}) !important;
|
||||||
|
@ -144,41 +158,22 @@
|
||||||
#navigator-toolbox,
|
#navigator-toolbox,
|
||||||
#sidebar-box {
|
#sidebar-box {
|
||||||
background-color: ${theme.base02} !important;
|
background-color: ${theme.base02} !important;
|
||||||
-moz-appearance: none !important;
|
|
||||||
background-image: none !important;
|
|
||||||
border: none !important;
|
|
||||||
}
|
}
|
||||||
.tab-background[selected="true"] {
|
.tab-background[selected="true"] {
|
||||||
background-color: ${theme.base00} !important;
|
background-color: ${theme.base00} !important;
|
||||||
-moz-appearance: none !important;
|
|
||||||
background-image: none !important;
|
|
||||||
border: none !important;
|
|
||||||
}
|
}
|
||||||
.tab-background {
|
.tab-background {
|
||||||
background-color: ${theme.base02} !important;
|
background-color: ${theme.base02} !important;
|
||||||
border-radius: 0px !important;
|
|
||||||
margin-block: 0px !important;
|
|
||||||
min-height: 0px !important;
|
|
||||||
}
|
}
|
||||||
.tabbrowser-tab:hover .tab-background {
|
.tabbrowser-tab:hover .tab-background {
|
||||||
background-color: ${theme.base09} !important;
|
background-color: ${theme.base09} !important;
|
||||||
}
|
}
|
||||||
.tabbrowser-tab[fadein] {
|
|
||||||
max-width: 100vw !important;
|
|
||||||
}
|
|
||||||
#urlbar {
|
#urlbar {
|
||||||
background-color: #11171D !important;
|
background-color: #11171D !important;
|
||||||
border-radius: 10px !important;
|
border-radius: 10px !important;
|
||||||
}
|
}
|
||||||
#nav-bar {
|
#nav-bar {
|
||||||
background-color: ${theme.base02} !important;
|
background-color: ${theme.base02} !important;
|
||||||
-moz-appearance: none !important;
|
|
||||||
background-image: none !important;
|
|
||||||
border: none !important;
|
|
||||||
transition: margin 0.5s !important;
|
|
||||||
}
|
|
||||||
#TabsToolbar {
|
|
||||||
z-index: 1000 !important;
|
|
||||||
}
|
}
|
||||||
#firefox-view-button {
|
#firefox-view-button {
|
||||||
visibility: collapse;
|
visibility: collapse;
|
||||||
|
@ -186,12 +181,6 @@
|
||||||
#alltabs-button {
|
#alltabs-button {
|
||||||
visibility: collapse;
|
visibility: collapse;
|
||||||
}
|
}
|
||||||
hbox.titlebar-spacer:nth-child(3) {
|
|
||||||
visibility: collapse;
|
|
||||||
}
|
|
||||||
hbox.titlebar-buttonbox-container:nth-child(5) {
|
|
||||||
visibility: collapse;
|
|
||||||
}
|
|
||||||
#mainPopupSet menupopup,
|
#mainPopupSet menupopup,
|
||||||
menupopup:not(.in-menulist) > menuitem,
|
menupopup:not(.in-menulist) > menuitem,
|
||||||
menupopup:not(.in-menulist) > menu {
|
menupopup:not(.in-menulist) > menu {
|
||||||
|
@ -199,69 +188,8 @@
|
||||||
border-radius: 0px !important;
|
border-radius: 0px !important;
|
||||||
padding: 0px 0px 0px 0px !important;
|
padding: 0px 0px 0px 0px !important;
|
||||||
}
|
}
|
||||||
.tabbrowser-tab {
|
|
||||||
height: 25px !important;
|
|
||||||
z-index: 1000 !important;
|
|
||||||
padding: none !important;
|
|
||||||
padding-inline: 0px !important;
|
|
||||||
}
|
|
||||||
/*
|
/*
|
||||||
#navigator-toolbox:not(:focus-within):not(:hover) #nav-bar {
|
|
||||||
margin-top: -40px !important;
|
|
||||||
}
|
|
||||||
*/
|
*/
|
||||||
.tab-line {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.tab-icon-image:not([pinned]){
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
#tab-content {
|
|
||||||
vertical-align: middle !important;
|
|
||||||
}
|
|
||||||
.tab-text,
|
|
||||||
.tab-label {
|
|
||||||
-moz-box-flex: 1 !important;
|
|
||||||
text-align: center !important;
|
|
||||||
}
|
|
||||||
.tab-secondary-label {
|
|
||||||
display:none !important;
|
|
||||||
}
|
|
||||||
.tab-label {
|
|
||||||
padding-top: 5px !important;
|
|
||||||
overflow: hidden !important;
|
|
||||||
}
|
|
||||||
.tabbrowser-tab .tab-label-container {
|
|
||||||
margin-inline-end: 7px !important;
|
|
||||||
}
|
|
||||||
.tab-label-container {
|
|
||||||
-moz-box-pack: center !important;
|
|
||||||
-moz-box-orient: horizontal !important;
|
|
||||||
display: grid !important;
|
|
||||||
justify-content: safe center !important;
|
|
||||||
}
|
|
||||||
#tabbrowser-tabs {
|
|
||||||
-moz-box-flex: 1 !important;
|
|
||||||
text-align: center !important;
|
|
||||||
border-inline-start: 0px !important;
|
|
||||||
padding-inline-start: 0px !important;
|
|
||||||
margin-inline-start: 0px !important;
|
|
||||||
}
|
|
||||||
#tabs-newtab-button{
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.tabbrowser-tab::before,
|
|
||||||
.tabbrowser-tab::after{
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
.tab-close-button {
|
|
||||||
display: none !important;
|
|
||||||
border-radius: 10px !important;
|
|
||||||
}
|
|
||||||
#identity-box,
|
|
||||||
#tracking-protection-icon-container {
|
|
||||||
display: none !important;
|
|
||||||
}
|
|
||||||
#back-button>.toolbarbutton-icon {
|
#back-button>.toolbarbutton-icon {
|
||||||
transform: scale(.85, .85) !important;
|
transform: scale(.85, .85) !important;
|
||||||
animation: none !important;
|
animation: none !important;
|
||||||
|
@ -279,7 +207,6 @@
|
||||||
#whats-new-menu-button,
|
#whats-new-menu-button,
|
||||||
#pocket-button,
|
#pocket-button,
|
||||||
#save-to-pocket-button
|
#save-to-pocket-button
|
||||||
#pageActionSeparator,
|
|
||||||
#reader-mode-button {
|
#reader-mode-button {
|
||||||
display: none !important;
|
display: none !important;
|
||||||
}
|
}
|
||||||
|
@ -289,9 +216,6 @@
|
||||||
#save-to-pocket-button {
|
#save-to-pocket-button {
|
||||||
visibility: hidden !important;
|
visibility: hidden !important;
|
||||||
}
|
}
|
||||||
#PanelUI-button {
|
|
||||||
border-image-slice: 0 !important;
|
|
||||||
}
|
|
||||||
#urlbar-input {
|
#urlbar-input {
|
||||||
background-color: ${theme.base00} !important;
|
background-color: ${theme.base00} !important;
|
||||||
padding-left: 5px !important;
|
padding-left: 5px !important;
|
||||||
|
@ -309,13 +233,6 @@
|
||||||
background-color: ${theme.base06} !important;
|
background-color: ${theme.base06} !important;
|
||||||
color: ${theme.base00} !important;
|
color: ${theme.base00} !important;
|
||||||
}
|
}
|
||||||
.urlbarView-body-inner {
|
|
||||||
border-top: none !important;
|
|
||||||
}
|
|
||||||
#nav-bar {
|
|
||||||
border-bottom: 0px !important;
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
#urlbar ::-moz-selection,
|
#urlbar ::-moz-selection,
|
||||||
.searchbar-textbox ::-moz-selection {
|
.searchbar-textbox ::-moz-selection {
|
||||||
background-color: ${theme.base01} !important;
|
background-color: ${theme.base01} !important;
|
||||||
|
@ -345,21 +262,10 @@
|
||||||
padding-inline: var(--urlbarView-item-inline-padding) 18px;
|
padding-inline: var(--urlbarView-item-inline-padding) 18px;
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
:root:not([privatebrowsingmode], [firefoxviewhidden]) :is(toolbarbutton, toolbarpaletteitem) + #tabbrowser-tabs,
|
#tabbrowser-tabs {
|
||||||
:root[privatebrowsingmode]:not([firefoxviewhidden]) :is(
|
border-inline-start: none !important;
|
||||||
toolbarbutton:not(#firefox-view-button),
|
|
||||||
toolbarpaletteitem:not(#wrapper-firefox-view-button)
|
|
||||||
) + #tabbrowser-tabs {
|
|
||||||
border-inline-start: 0px !important;
|
|
||||||
padding-inline-start: 0px !important;
|
|
||||||
margin-inline-start: 0px !important;
|
|
||||||
}
|
}
|
||||||
.tab-icon-stack {
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
.tab-label {
|
|
||||||
white-space: nowrap;
|
|
||||||
line-height: 2 !important; /* override 'normal' in case of fallback math fonts with huge metrics */
|
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
userContent = ''
|
userContent = ''
|
||||||
|
@ -427,9 +333,4 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# home.file."theme" = {
|
|
||||||
# source = "${inputs.firefox-rose}/dist";
|
|
||||||
# target = ".mozilla/firefox/aria/chrome";
|
|
||||||
# recursive = true;
|
|
||||||
# };
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue