nix/modules/wm/firefox/userChrome

282 lines
6.8 KiB
Plaintext
Raw Normal View History

2024-10-05 21:15:45 +02:00
#alltabs-button { display: none !important; }
2024-10-04 20:34:50 +02:00
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
2024-10-05 21:15:45 +02:00
2024-10-04 20:34:50 +02:00
:root {
2024-10-04 21:30:39 +02:00
--background: #1d2021;
--secondary: #282828;
--foreground: #EBDBB2;
--orange-highlight: #fe8019;
--sound-border: #68217A;
--separator: #665e54;
--toolbar-bgcolor: var(--secondary) !important;
--tab: var(--background);
--tab-btn: var(--tab-inactive);
--tab-inactive: var(--secondary);
--tab-btn-inactive: var(--tab-inactive);
--tab-hover: #32302f;
--tab-btn-hover: #3C3836;
--toolbar-btn-hover: #49463f;
2024-10-05 21:15:45 +02:00
--url-bar: #3C3836; /* Updated color */
--url-focus: #3C3836;
2024-10-04 21:30:39 +02:00
--url-bar-item-hover: #6a6257;
--sidebar: #3C3836;
--sidebar-button-hover: #5A544B;
--sidebar-highlight: #458588;
}
.titlebar-buttonbox-container {
display: none !important;
}
2024-10-04 20:34:50 +02:00
.panel-arrowcontainer {
2024-10-04 21:30:39 +02:00
background-color: var(--secondary) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#PopupAutoComplete,
2024-10-04 21:30:39 +02:00
#PopupSearchAutoComplete {
background-color: var(--url-focus) !important;
color: var(--foreground) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
panelview {
2024-10-04 21:30:39 +02:00
background-color: var(--sidebar) !important;
2024-10-05 21:15:45 +02:00
color: var(--foreground) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
panel[type="autocomplete-richlistbox"] {
2024-10-04 21:30:39 +02:00
--panel-background: none !important;
border-radius: 4px !important;
color: var(--foreground) !important;
}
2024-10-04 20:34:50 +02:00
toolbarseparator,
2024-10-04 21:30:39 +02:00
menuseparator {
border-color: var(--separator) !important;
border-image: none !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
toolbar {
2024-10-04 21:30:39 +02:00
background-color: var(--secondary);
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
toolbar#TabsToolbar {
2024-10-04 21:30:39 +02:00
background-color: var(--background);
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
toolbar#TabsToolbar:-moz-window-inactive {
2024-10-04 21:30:39 +02:00
background-color: var(--toolbar-bgcolor) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#titlebar,
#titlebar-spacer,
2024-10-04 21:30:39 +02:00
#titlebar-buttonbox-container {
background-color: var(--background) !important;
border: none !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#navigator-toolbox {
2024-10-04 21:30:39 +02:00
--tabs-border-color: var(--orange-highlight) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#navigator-toolbox::after {
2024-10-04 21:30:39 +02:00
border-bottom: 0px !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#navigator-toolbox {
2024-10-04 21:30:39 +02:00
border: none !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
#urlbar,
#searchbar {
box-shadow: none !important;
border: none !important;
border-radius: 4px;
color: var(--foreground) !important;
background-color: var(--url-bar) !important;
--autocomplete-popup-separator-color: var(--separator) !important;
}
2024-10-04 20:34:50 +02:00
#urlbar-input,
2024-10-04 21:30:39 +02:00
#urlbar-input-container {
color: var(--foreground) !important;
background-color: var(--url-bar) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#urlbar:not([open]) #urlbar-input-container:focus-within,
2024-10-04 21:30:39 +02:00
#searchbar:focus-within {
2024-10-05 21:15:45 +02:00
border: 2px solid var(--orange-highlight) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#urlbar:focus-within,
#urlbar[open],
#urlbar[open] #urlbar-input-container,
#urlbar[open] #urlbar-input,
#urlbar-input-container:focus-within,
#urlbar-input:focus,
#urlbar-background,
.urlbarView,
#searchbar:focus-within,
2024-10-04 21:30:39 +02:00
menupop {
background-color: var(--url-focus) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#searchbar:focus-within {
2024-10-04 21:30:39 +02:00
outline: none !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
:is(panel, menupopup)::part(content) {
2024-10-04 21:30:39 +02:00
background: none !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
.urlbarView button:hover,
#searchbar button:hover,
.urlbarView-row:hover .urlbarView-row-inner,
2024-10-04 21:30:39 +02:00
.search-autocomplete-richlistbox-popup .autocomplete-richlistitem:hover {
background-color: var(--url-bar-item-hover) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
.urlbarView-row[type="switchtab"] > span {
color: var(--orange-highlight) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#PopupSearchAutoComplete .autocomplete-richlistitem[selected],
.searchbar-engine-one-off-item[selected],
.urlbarView-row[selected],
.urlbarView-row[aria-selected="true"],
.urlbarView-row:not([type="tip"], [type="dynamic"])[selected] > .urlbarView-row-inner,
2024-10-04 21:30:39 +02:00
.urlbarView-row-inner[selected] {
color: var(--foreground) !important;
background-color: var(--sidebar-highlight) !important;
border-radius: 4px !important;
}
2024-10-04 20:34:50 +02:00
#PersonalToolbar {
2024-10-04 21:30:39 +02:00
background-color: var(--secondary) !important;
}
2024-10-04 20:34:50 +02:00
.tab-background[selected="true"] {
2024-10-04 21:30:39 +02:00
background-color: transparent !important;
background-image: none !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"]):not([multiselected]) {
background-color: transparent !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
.tabbrowser-tab[soundplaying="true"] {
2024-10-04 21:30:39 +02:00
--lwt-tab-line-color: var(--sound-border) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
.tab-content[selected="true"] {
2024-10-04 21:30:39 +02:00
border-color: var(--orange-highlight) !important;
--sound-border: var(--orange-highlight) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
.tab-text {
2024-10-04 21:30:39 +02:00
color: var(--foreground);
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
tab,
2024-10-04 21:30:39 +02:00
#tabbrowser-tabs {
background-color: var(--background) !important;
color: var(--foreground) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
tab:-moz-window-inactive,
#tabbrowser-tabs:-moz-window-inactive,
2024-10-04 21:30:39 +02:00
#nav-bar-customization-target {
background-color: var(--secondary) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
.tabbrowser-tab[selected] {
opacity: 1;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
.tab-loading-burst {
2024-10-04 21:30:39 +02:00
background-color: inherit;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
.tab-content {
border-radius: 4px;
margin: 5px 0px 5px 0px !important;
border: 1px solid transparent !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
.tab-content[selected="true"] {
background-color: var(--secondary) !important;
color: var(--foreground) !important;
border: 1px solid var(--orange-highlight) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
.tab-content:not([selected="true"]):hover {
2024-10-04 21:30:39 +02:00
background-color: var(--tab-hover) !important;
}
2024-10-04 20:34:50 +02:00
toolbarbutton {
2024-10-04 21:30:39 +02:00
fill: var(--foreground) !important;
background-color: transparent !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#TabsToolbar toolbarbutton {
2024-10-04 21:30:39 +02:00
border-radius: 4px;
border: 1px solid transparent !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#alltabs-button > .toolbarbutton-badge-stack,
#tabs-newtab-button > .toolbarbutton-icon {
2024-10-04 21:30:39 +02:00
background-image: none;
border-radius: 6px;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#alltabs-button:hover > .toolbarbutton-badge-stack,
#tabs-newtab-button:hover > .toolbarbutton-icon {
2024-10-04 21:30:39 +02:00
background-color: var(--tab-btn-hover) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
#TabsToolbar #firefox-view-button > .toolbarbutton-icon {
background-image: none !important;
border-radius: 4px;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
#TabsToolbar #firefox-view-button[open] > .toolbarbutton-icon {
background-color: var(--secondary) !important;
color: var(--foreground) !important;
padding: 9px !important;
border: 1px solid var(--orange-highlight) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#TabsToolbar #firefox-view-button:not([open]):hover > .toolbarbutton-icon {
2024-10-04 21:30:39 +02:00
background-color: var(--tab-hover) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#nav-bar toolbarbutton > .toolbarbutton-icon,
#nav-bar toolbarbutton > .toolbarbutton-badge-stack {
2024-10-04 21:30:39 +02:00
border-radius: 6px;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#nav-bar toolbarbutton:hover > .toolbarbutton-icon,
#nav-bar toolbarbutton:hover > .toolbarbutton-badge-stack {
2024-10-04 21:30:39 +02:00
background-color: var(--toolbar-btn-hover) !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#back-button {
2024-10-04 21:30:39 +02:00
padding-right: 2px !important;
padding-left: 2px !important;
margin-left: 6px !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#PanelUI-menu-button {
2024-10-04 21:30:39 +02:00
background-color: var(--secondary) !important;
padding-right: 2px !important;
margin-right: 6px !important;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#PersonalToolbar toolbarbutton {
2024-10-04 21:30:39 +02:00
margin: 3px 0px 3px 3px !important;
border-radius: 4px;
2024-10-04 20:34:50 +02:00
}
2024-10-04 21:30:39 +02:00
2024-10-04 20:34:50 +02:00
#PersonalToolbar toolbarbutton:hover {
2024-10-04 21:30:39 +02:00
background-color: var(--toolbar-btn-hover) !important;
2024-10-04 20:34:50 +02:00
}