dotfiles/userChrome2.css

258 lines
5.8 KiB
CSS

:root:not([customizing]) #navigator-toolbox:not(:hover):not(:focus-within) #TabsToolbar {
visibility: collapse;
}
:root:not([customizing]) #navigator-toolbox:not(:hover):not(:focus-within) {
max-height: 1px;
min-height: calc(0px);
overflow: hidden;
}
tabbrowser tabpanels { background-color: rgb(19,19,20) !important; }
browser { background-color: #131314 !important; }
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/*
* From https://gist.github.com/BenoitAverty/af633ee20e27f48f9ba7178451432206
*/
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
min-height: 0 !important;
}
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] {
visibility: collapse;
}
#tabbrowser-tabs .tabs-newtab-button {
visibility: collapse !important;
}
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox main-window[privatebrowsingmode="temporary"]{
min-height: var(--tab-min-height)
}
#tabbrowser-tabs tab {
min-height: var(--tab-min-height)
}
/*
* From https://support.mozilla.org/en-US/questions/1185426
*/
#nav-bar {
-moz-box-ordinal-group: 1 !important;
border-top-width: 0 !important;
}
#PersonalToolbar {
-moz-box-ordinal-group: 2 !important;
}
#TabsToolbar {
-moz-box-ordinal-group: 3 !important;
}
/*
* Based on firefox own behavior while in fullscreen
*/
/*#navigator-toolbox {
margin-top: -60px; /* has to be adjusted depending on density /
transition: margin-top 0.1s;
}
#navigator-toolbox:hover, #navigator-toolbox:focus-within {
margin-top: 0px;
transition: margin-top 0.1s;
}*/
/*
* From:
* https://www.reddit.com/r/firefox/comments/75y9ii/menus_are_blindingly_white_in_the_dark_theme/
*/
menupopup, popup,
popup > menu > menupopup,
menupopup > menu > menupopup {
-moz-appearance: none !important;
background: #262A33 !important;
border: 1px solid #525A6D !important;
padding: 2px 0px 2px 0px !important;}
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;
}
menupopup menu, menuitem{
-moz-appearance: none !important;
color: #C4C4C4!important;}
menupopup menu:hover, menuitem:hover {
-moz-appearance: none !important;
color:#C4C4C4 !important;
background-color:#165184 !important;}
/*Invert submenu arrow > color*/
.menu-right{
filter: invert(95%)!important;
}
/*
* From: https://gist.github.com/sagars007/9e43d7275e5c55bd99158f229a0cd21f
*/
#app-picker{
color: white !important;
background-color: #2b2a33 !important;
}
button {
-moz-appearance: none !important;
background-color: #42414D !important;
color: white !important;
border: 1px solid #52525E !important;
border-radius: 4px !important;
}
button:hover {
background-color: #5f5e6e !important;
border: 1px solid dodgerblue !important;
}
#app-picker-listbox{
-moz-appearance: none !important;
background-color: #2b2a33 !important;
color: white !important;
border: 1px solid #52525E !important;
}
#unknownContentType {
color: white !important;
background-color: #2b2a33 !important;
}
#openHandler {
-moz-appearance: none !important;
background: #5f5e6e !important;
color: white !important;
border: 1px solid #77758a !important;
border-radius: 4px !important;
}
#openHandler:hover {
border: 1px solid dodgerblue !important;
background: #77758a !important;
}
/*
* From: https://old.reddit.com/r/FirefoxCSS/comments/ml31wy/is_it_possible_to_grey_or_darken_the_exit_and/
*/
/*.dialogBox,
.dialogFrame {
-moz-appearance: none !important;
padding: 5px 1px 5px 1px !important;
background-color: black !important;
color: white !important;
border: none !important;
border-radius: 0 !important;
box-shadow: none !important;
}*/
/*#commonDialogWindow:root[chromehidden] {
background-color: black !important;
background: black !important;
color: white !important;
appearance: none !important;
}*/
.dialogBox {
background-color: darkgray !important;
appearance: none !important;
}
.dialog-button-box > button {
background-color: darkgray !important;
appearance: none !important;
}
/*
* From: https://www.reddit.com/r/firefox/comments/8yd5c2/custom_minimalistinc_slim_scrollbar_for_dark/
*/
scrollbar, scrollbar *, scrollcorner {
-moz-appearance: none !important;
--scrollbar-width: 10px;
--scrollbar-height: var(--scrollbar-width);
}
scrollbar, scrollcorner {
background: transparent !important;
}
scrollbar[orient="vertical"] {
width: var(--scrollbar-width) !important;
min-width: var(--scrollbar-width) !important;
}
scrollbar[orient="horizontal"] {
height: var(--scrollbar-height) !important;
min-height: var(--scrollbar-height) !important;
}
scrollbar thumb {
background: #3a3a3a !important;
}
scrollbar thumb:hover,
scrollbar thumb:active {
background: #545454 !important;
}
scrollbar:inactive scrollbarbutton {
background-color: #444444 !important;
}
scrollbar scrollbarbutton:inactive {
background: #3a3a3a !important;
}
scrollbar scrollbarbutton:inactive {
background: #545454 !important;
}
scrollbar scrollbarbutton {
display: none !important;
}
/*
* From: https://support.mozilla.org/en-US/questions/1196927
*/
/*statuspanel[type="status"] .statuspanel-label {
display:none!important;
}*/
/*
* From: https://support.mozilla.org/en-US/questions/942499
*/
/*#statusbar-display[label^="Looking"] {display:none !important;}
#statusbar-display[label^="Connect"] {display:none !important;}
#statusbar-display[label^="Waiting"] {display:none !important;}
#statusbar-display[label^="Transfer"] {display:none !important;}*/
/*
* From: https://support.mozilla.org/en-US/questions/1289382
*/
#statuspanel #statuspanel-label {
/*display:none!important;*/
background-color: black!important;
border: 1px solid black!important;
color: white!important;
}