This repository has been archived on 2021-01-21. You can view files and clone it, but cannot push or open issues or pull requests.
blurredfox-nord/userChrome.css

610 lines
15 KiB
CSS
Raw Normal View History

2020-05-20 05:34:10 +00:00
:root {
2020-05-20 22:52:45 +00:00
--bf-bg: #00000066;
--bf-hover-bg: #fefefe20;
2020-05-20 05:34:10 +00:00
--bf-color: #f2f2f2;
--bf-focused-color: #fefefe;
2020-05-20 22:52:45 +00:00
--bf-accent-bg: #4C5FF9CC;
2020-05-20 05:34:10 +00:00
--bf-icon-color: #f2f2f2;
2020-05-20 22:52:45 +00:00
--bf-switch-tab-color: #6498EF;
--bf-bookmark-color: #53E2AE;
2020-05-20 05:34:10 +00:00
--bf-tab-font-size: 11pt;
--bf-tab-font-weight: 500;
--bf-tab-color: var(--bf-color);
2020-05-20 22:52:45 +00:00
--bf-tab-selected-bg: var(--bf-bg);
2020-05-20 05:34:10 +00:00
--bf-tab-height: 32px;
--bf-tab-border-radius: 6px;
2020-05-20 22:52:45 +00:00
--bf-tab-soundplaying-bg: #985EFFCC;
2020-05-20 05:34:10 +00:00
--bf-navbar-padding: 4px;
2020-05-20 22:52:45 +00:00
--bf-urlbar-bg: var(--bf-bg);
--bf-urlbar-active-bg: #000000BB;
2020-05-20 05:34:10 +00:00
--bf-urlbar-color: var(--bf-color);
--bf-urlbar-focused-color: var(--bf-focused-color);
--bf-urlbar-font-size: 12pt;
--bf-urlbar-font-weight: 500;
--bf-urlbar-results-font-size: 12pt;
2020-05-20 22:52:45 +00:00
--bf-urlbar-results-font-weight: 550;
2020-05-20 05:34:10 +00:00
--bf-urlbar-results-url-color: var(--bf-color);
--bf-sidebar-bg: transparent;
--bf-sidebar-color: var(--bf-color);
--bf-menupopup-bg: #00000090;
--bf-menupopup-color: var(--bf-color);
2020-05-20 22:52:45 +00:00
--bf-splitter-bg: #00000090;
2020-05-20 05:34:10 +00:00
--autocomplete-popup-background: var(--bf-bg) !important;
--default-arrowpanel-background: var(--bf-bg) !important;
--default-arrowpanel-color: #fefefa !important;
--lwt-toolbarbutton-icon-fill: var(--bf-icon-color) !important;
--panel-disabled-color: #f9f9fa80;
--toolbar-bgcolor: transparent !important;
--urlbar-separator-color: transparent !important;
}
/*
Transparent Window
*/
#main-window {
2020-05-20 22:52:45 +00:00
background: transparent !important;
2020-05-20 05:34:10 +00:00
border: none !important;
}
/*
Contains navbar, urlbar, and etc.
*/
2020-05-25 23:36:55 +00:00
.browser-toolbar {
background: var(--bf-bg) !important;
}
2020-05-20 05:34:10 +00:00
toolbar {
background-image: none !important;
}
toolbar#nav-bar {
background: var(--bf-bg) !important;
padding: var(--bf-navbar-padding) !important;
}
toolbarbutton {
box-shadow: none !important;
margin-left: 2px !important;
}
2020-05-20 22:52:45 +00:00
.toolbarbutton-1 {
--toolbarbutton-hover-background: var(--bf-hover-bg) !important;
--toolbarbutton-active-background: var(--bf-hover-bg) !important;
}
2020-05-20 05:34:10 +00:00
#urlbar {
max-width: 70% !important;
margin: 0 15% !important;
}
#urlbar-input:focus {
color: var(--bf-urlbar-focused-color) !important;
}
#urlbar-background {
2020-05-21 08:20:13 +00:00
background: var(--bf-urlbar-bg) !important;
2020-05-20 05:34:10 +00:00
border: none !important;
}
2020-05-21 08:20:13 +00:00
.urlbar-icon:not([disabled]):hover,
.urlbar-icon-wrapper:not([disabled]):hover {
background: var(--bf-hover-bg) !important;
}
.urlbar-icon[open],
.urlbar-icon-wrapper[open],
.urlbar-icon:not([disabled]):hover:active,
.urlbar-icon-wrapper:hover:active {
background: var(--bf-hover-bg) !important;
}
.urlbar-icon-wrapper[open] > .urlbar-icon,
.urlbar-icon-wrapper > .urlbar-icon:hover,
.urlbar-icon-wrapper > .urlbar-icon:hover:active {
background: var(--bf-hover-bg) !important;
}
2020-05-20 05:34:10 +00:00
.megabar[breakout-extend="true"]:not([open="true"]) > #urlbar-background {
box-shadow: none !important;
2020-05-21 08:20:13 +00:00
background: transparent !important;
2020-05-20 05:34:10 +00:00
}
2020-05-20 22:52:45 +00:00
.megabar[open=true] > #urlbar-background {
background: var(--bf-urlbar-active-bg) !important;
}
2020-05-20 05:34:10 +00:00
#navigator-toolbox, toolbaritem {
border: none !important;
}
.urlbar-icon {
color: var(--bf-icon-color) !important;
}
.urlbar-icon > image {
fill: var(--bf-icon-color) !important;
color: var(--bf-icon-color) !important;
}
2020-05-22 11:40:26 +00:00
.urlbarView-favicon,
.urlbarView-type-icon {
2020-05-20 05:34:10 +00:00
display: none !important;
}
2020-05-20 22:52:45 +00:00
#star-button {
2020-05-22 11:40:26 +00:00
/* URL bar bookmark button */
display: initial !important;
2020-05-21 08:20:13 +00:00
}
#star-button:hover:not(.no-hover):not([open=true]) {
2020-05-22 11:40:26 +00:00
background: var(--bf-hover-bg) !important;
2020-05-21 08:20:13 +00:00
}
#star-button:hover:active:not(.no-hover),
#star-button[open=true] {
background: var(--bf-hover-bg) !important;
2020-05-20 05:34:10 +00:00
}
.toolbarbutton-text {
color: var(--bf-icon-color) !important;
}
.urlbarView-row[type="bookmark"] > span{
color: var(--bf-bookmark-color) !important;
}
.urlbarView-row[type="switchtab"] > span{
color: var(--bf-switch-tab-color) !important;
}
#urlbar-results {
font-weight: var(--bf-urlbar-results-font-weight);
font-size: var(--bf-urlbar-results-font-size) !important;
color: var(--bf-urlbar-results-color) !important;
}
2020-05-20 22:52:45 +00:00
.urlbarView-row-inner:hover {
/* hover background color */
background: var(--bf-accent-bg) !important;
}
2020-05-20 05:34:10 +00:00
.urlbarView-url, .search-panel-one-offs-container {
color: var(--bf-urlbar-results-url-color) !important;
font-weight: var(--bf-urlbar-results-font-weight);
font-size: var(--bf-urlbar-font-size) !important;
}
#urlbar-input {
font-size: var(--bf-urlbar-font-size) !important;
color: var(--bf-urlbar-color) !important;
font-weight: var(--bf-urlbar-font-weight)!important;
text-align: center !important;
}
2020-05-20 22:52:45 +00:00
::-moz-selection {
/* URL bar hightlight color */
background-color: var(--bf-accent-bg) !important;
}
#searchbar {
background: var(--bf-bg) !important;
border: none !important;
}
.searchbar-textbox {
color: var(--bf-focus-fg) !important;
font-weight: 700 !important;
}
2020-05-20 05:34:10 +00:00
#back-button > .toolbarbutton-icon {
--backbutton-background: transparent !important;
border: none !important;
}
#back-button {
list-style-image: url("left-arrow.svg") !important;
}
#forward-button {
list-style-image: url("right-arrow.svg") !important;
}
2020-05-22 11:40:26 +00:00
#tracking-protection-icon-container {
/* display: none !important; */
}
#identity-box {
display: none !important;
}
2020-05-21 08:20:13 +00:00
#identity-box:hover:not(.no-hover):not([open=true]),
#tracking-protection-icon-container:hover:not(.no-hover):not([open=true]) {
background: var(--bf-hover-bg) !important;
}
#identity-box:hover:active:not(.no-hover),
#identity-box[open=true],
#tracking-protection-icon-container:hover:active:not(.no-hover),
#tracking-protection-icon-container[open=true] {
background: var(--bf-hover-bg) !important;
}
2020-05-20 05:34:10 +00:00
/*
The tabs container
*/
#titlebar {
/* Move tab bar beneath the url bar */
-moz-box-ordinal-group: 3 !important;
}
2020-05-22 11:40:26 +00:00
.toolbar-items {
2020-05-25 23:36:55 +00:00
background-color: transparent !important;
2020-05-22 11:40:26 +00:00
}
#tabbrowser-tabs {
/* Set minimum height for tab bar */
--tab-min-height: 0px;
2020-05-22 11:40:26 +00:00
margin-top: 4px !important;
margin-bottom: 4px !important;
margin-left: 20px !important;
margin-right: 20px !important;
}
#tabbrowser-tabs tab:only-of-type,
#tabbrowser-tabs tab:only-of-type + #tabs-newtab-button {
/* Hide tab bar if there's only one tab */
display: none !important;
}
2020-05-20 05:34:10 +00:00
.tabbrowser-tab[fadein]:not([pinned]) {
/* Stretch Tabs */
max-width: none !important;
}
.tab-background {
border: none !important;
background: transparent !important;
}
.tab-background[selected="true"] {
background: var(--bf-tab-selected-bg) !important;
}
.tab-background:not[visuallyselected] {
background: var(--bf-tab-selected-bg) !important;
opacity: 0.5 !important;
}
.tabbrowser-tab::after,
.tabbrowser-tab::before {
/* Remove the "lines" in tabs */
border-left: none !important;
}
.tabbrowser-arrowscrollbox {
margin-inline-start: 4px !important;
margin-inline-end: 0px !important;
}
.tab-text {
font-weight: var(--bf-tab-font-weight);
font-size: var(--bf-tab-font-size) !important;
color: var(--bf-tab-color);
}
2020-05-23 01:31:53 +00:00
/* Center all content */
.tab-content {
2020-05-20 05:34:10 +00:00
display: flex;
justify-content: center;
2020-05-23 01:31:53 +00:00
align-items: center;
margin-top: -1px;
min-width: 100% !important;
padding: 0 10px !important;
}
/* Prevent tab icons size breaking */
.tab-icon-image, .tab-icon-sound,
.tab-throbber, .tab-throbber-fallback,
.tab-close-button {
min-width: 16px;
}
/* Adjust tab label width */
.tab-label-container {
min-width: 03 !important;
}
/* If tab close button is not present, don't force favicon to the center */
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]) .tab-throbber-fallback,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([busy]) .tab-icon-image,
#tabbrowser-tabs[closebuttons="activetab"] .tabbrowser-tab:not([selected="true"]):not([image]) .tab-label-container {
margin-left: 0 !important;
2020-05-20 05:34:10 +00:00
}
.tab-close-button {
/* Hide close tab button */
display: none !important;
}
hbox.tab-content .tab-icon-image {
2020-05-22 11:40:26 +00:00
/* Tab icon */
display: initial !important;
2020-05-20 05:34:10 +00:00
}
hbox.tab-content[pinned=true] .tab-icon-image {
/* Show the icon of pinned tabs */
display: initial !important;
}
hbox.tab-content[pinned=true] .tab-text {
display: none !important;
}
2020-05-20 22:52:45 +00:00
.tab-line, .tab-bottom-line {
2020-05-20 05:34:10 +00:00
/* Hide the tab line */
display: none !important;
}
.tabbrowser-tab {
border-radius: var(--bf-tab-border-radius) !important;
border-width: 0;
height: var(--bf-tab-height) !important;
margin-top: 0 !important;
2020-05-22 11:40:26 +00:00
margin-bottom: 0 !important;
2020-05-20 05:34:10 +00:00
margin-inline-start: 2px !important;
margin-inline-end: 2px !important;
}
.tabbrowser-tab[soundplaying="true"] {
/* Audio playing background */
background-color: var(--bf-tab-soundplaying-bg) !important;
}
.tab-icon-sound {
/* Hide icon of audio */
display: none !important;
}
#tabs-newtab-button {
list-style-image: url("add.svg") !important;
opacity: 1;
}
2020-05-25 23:36:55 +00:00
.private-browsing-indicator {
display: none;
background: var(--bf-bg);
}
2020-05-20 05:34:10 +00:00
tab.tabbrowser-tab {
overflow: hidden;
}
2020-05-23 01:31:53 +00:00
/* Remove hover effects on tab bar buttons */
#TabsToolbar {
--toolbarbutton-active-background: transparent !important;
--toolbarbutton-hover-background: transparent !important;
}
2020-05-20 05:34:10 +00:00
tab.tabbrowser-tab:hover {
2020-05-20 22:52:45 +00:00
background: var(--bf-hover-bg) !important;
2020-05-20 05:34:10 +00:00
box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
#tabbrowser-tabs {
--tab-loading-fill: var(--bf-color) !important;
}
/*
The findbar
*/
#browser #appcontent #tabbrowser-tabbox findbar,
#browser #appcontent #tabbrowser-tabbox tabpanels {
-moz-appearance: none !important;
2020-05-22 11:40:26 +00:00
background: transparent !important;
border: none !important;
2020-05-20 05:34:10 +00:00
}
2020-05-22 11:40:26 +00:00
#browser #appcontent #tabbrowser-tabbox findbar {
background-color: var(--bf-bg) !important;
}
.findbar-find-previous,
.findbar-find-next {
margin: 0px !important;
border: none !important;
}
2020-05-20 05:34:10 +00:00
#browser #appcontent #tabbrowser-tabbox .findbar-find-fast {
background-color: var(--bf-bg) !important;
}
/*
Contains history, bookmarks, and etc.
*/
2020-05-20 22:52:45 +00:00
#history-panel,
#sidebar-search-container,
#bookmarksPanel {
2020-05-20 05:34:10 +00:00
background: var(--bf-bg) !important;
}
#search-box {
-moz-appearance: none !important;
background: var(--bf-bg) !important;
border-radius: 6px !important;
}
#sidebar-search-container {
background-color: var(--bf-sidebar-bg) !important;
}
.close-icon, .urlbar-icon {
fill: var(--bf-icon-color) !important;
}
2020-05-22 11:40:26 +00:00
#sidebar-icon {
display: none !important;
2020-05-20 05:34:10 +00:00
}
.sidebar-placesTree {
color: var(--bf-sidebar-color) !important;
}
#sidebar-switcher-target {
color: var(--bf-sidebar-color) !important;
}
#sidebar-header {
background: var(--bf-bg) !important;
}
#sidebar-box {
--sidebar-background-color: var(--bf-sidebar-bg) !important;
}
2020-05-20 22:52:45 +00:00
#sidebar-splitter {
2020-05-20 05:34:10 +00:00
border: none !important;
2020-05-20 22:52:45 +00:00
opacity: 1 !important;
background-color: var(--bf-splitter-bg) !important;
2020-05-20 05:34:10 +00:00
}
/*
The dropdown menus
*/
.panel-arrowcontent {
padding: 0px !important;
margin: 0px !important;
}
toolbarseparator {
display: none !important;
}
box.panel-arrowbox {
display: none;
}
box.panel-arrowcontent {
border-radius: 8px !important;
border: none !important;
}
/*
Right-click menu
*/
2020-05-20 22:52:45 +00:00
menupopup, popup,
popup > menu > menupopup,
menupopup > menu > menupopup {
-moz-appearance: none !important;
background: var(--bf-menupopup-bg) !important;
color: #fff !important;
2020-05-20 22:52:45 +00:00
border: 0px !important;
border-radius: 4px !important;
padding: 2px 0px 2px 0px !important;
2020-05-20 05:34:10 +00:00
}
2020-05-20 22:52:45 +00:00
menupopup menuseparator {
-moz-appearance: none !important;
background: #525A6D !important;
margin: 2px 0px 2px 0px !important;
padding: 0 !important;
border-top: none !important;
border-color: transparent !important;
2020-05-20 05:34:10 +00:00
}
/*
The control buttons. Contains, close, minimize, and maximize buttons
*/
#autohide-context, #window-controls {
display:none!important;
}
2020-05-20 22:52:45 +00:00
:root[tabsintitlebar][sizemode="maximized"] #titlebar .titlebar-buttonbox-container {
display: none !important;
}
:root[tabsintitlebar][sizemode="maximized"] #nav-bar {
padding-left: 3px !important;
}
2020-05-20 22:52:45 +00:00
/*
The customization window
*/
#customization-container {
background: var(--bf-bg) !important;
}
.customizationmode-button {
-moz-appearance: none !important;
background: var(--bf-bg) !important;
padding: 5px !important;
border-radius: 6px !important;
}
.customizationmode-button:hover {
-moz-appearance: none !important;
background: var(--bf-hover-bg) !important;
padding: 5px !important;
border-radius: 6px !important;
}
.customizationmode-button label {
color: var(--bf-color) !important;
}