forked from MrOtherGuy/firefox-csshacks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserChrome.css
87 lines (70 loc) · 2.87 KB
/
userChrome.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
@import url(chrome/button_effect_icon_glow.css);
@import url(chrome/blank_page_background.css);
@import url(chrome/dark_additional_windows.css);
@import url(chrome/dark_checkboxes_and_radios.css);
@import url(chrome/dark_context_menus.css);
@import url(chrome/minimal_in-UI_scrollbars.css);
@import url(chrome/minimal_text_fields.css);
@import url(content/about_page_scrollbars.css);
@import url(content/css_scrollbar_width_color.css);
@import url(content/dark_settings_pages.css);
@import url(content/newtab_background_color.css);
:root{
--toolbar-bgcolor: black !important;
--uc-menu-bkgnd: var(--toolbar-bgcolor);
--arrowpanel-background: var(--toolbar-bgcolor) !important;
--autocomplete-popup-background: var(--toolbar-bgcolor) !important;
background-color: black !important;
}
#urlbar-background{ background-color: black !important }
#sidebar-box{ --sidebar-background-color: var(--toolbar-bgcolor) !important; }
window.sidebar-panel{ --lwt-sidebar-background-color: black !important; }
/* Hide the whole toolbar area unless urlbar is focused or cursor is over the toolbar */
/* Dimensions on non-Win10 OS probably needs to be adjusted */
@media (-moz-os-version: windows-win10){
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 10px !important; }
:root[sizemode="maximized"] #navigator-toolbox{ margin-top: -2px }
@media screen and (min-resolution: 1.25dppx){
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 9px !important; }
}
@media screen and (min-resolution: 1.5dppx){
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 8px !important; }
:root[sizemode="maximized"] #navigator-toolbox{ margin-top: -1px }
}
@media screen and (min-resolution: 2dppx){
:root[sizemode="maximized"]:not([inDOMFullscreen]){ margin-top: 7px !important; }
}
}
:root[sizemode="fullscreen"]{ margin-top: 0px !important; }
#navigator-toolbox{
position: fixed !important;
display: block;
background-color: var(--lwt-accent-color,black) !important;
transition: transform 82ms 33ms linear, opacity 82ms 33ms linear !important;
transform-origin: top;
line-height: 0;
z-index: 1;
}
#navigator-toolbox > *{ line-height: normal }
#navigator-toolbox,
#navigator-toolbox > *{
width: 100vw;
-moz-appearance: none !important;
}
#navigator-toolbox:not(:focus-within):not(:hover){
transform: rotateX(86deg);
opacity: 0;
}
:root[sizemode="maximized"] #navigator-toolbox:not(:focus-within):not(:hover){ transform: rotateX(89.5deg) }
:root[customizing] #navigator-toolbox{
position: relative !important;
transform: none !important;
opacity: 1 !important;
}
#navigator-toolbox[inFullscreen] > #PersonalToolbar,
#PersonalToolbar[collapsed="true"]{ display: none }
/* Uncomment this if tabs toolbar is hidden with hide_tabs_toolbar.css */
/*#titlebar{ margin-bottom: -9px }*/
.tab-line[selected="true"] {
background-color:white !important;
}