-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserChrome.css
166 lines (156 loc) · 4.01 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
:root {
--uc-autohide-toolbox-delay: 200ms;
--uc-toolbox-rotation: 82deg;
}
:root[sizemode="maximized"] {
--uc-toolbox-rotation: 89deg;
}
:root[sizemode="fullscreen"] {
margin-top: 0px !important;
}
@media (-moz-os-version: windows-win7), (-moz-os-version: windows-win10) {
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen])
> body
> box {
margin-top: 8px !important;
}
@media screen and (min-resolution: 1.25dppx) {
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen])
> body
> box {
margin-top: 7px !important;
}
}
@media screen and (min-resolution: 1.5dppx) {
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen])
> body
> box {
margin-top: 7px !important;
}
}
@media screen and (min-resolution: 2dppx) {
:root[tabsintitlebar][sizemode="maximized"]:not([inDOMFullscreen])
> body
> box {
margin-top: 6px !important;
}
:root[tabsintitlebar][sizemode="maximized"] #navigator-toolbox {
margin-top: -1px;
}
}
#navigator-toolbox:not(:-moz-lwtheme) {
background-color: -moz-dialog !important;
}
}
/* hide */
#toolbar-menubar {
display: none;
}
#navigator-toolbox {
background-color: transparent;
position: fixed;
top: 0;
height: 1px;
border: none;
}
#urlbar {
display: none;
}
#urlbar-background {
display: none;
height: 0 !important;
}
.urlbar-input-container {
height: 0 !important;
}
#urlbar-background,
.urlbar-input-container {
height: 0 !important;
overflow: hidden;
transition:
height 0.3s ease,
opacity 0.3s ease; /* Smooth transition */
}
/* hover */
#navigator-toolbox:hover {
height: fit-content;
}
#navigator-toolbox:hover #urlbar {
display: block;
}
#navigator-toolbox:hover #urlbar-background,
#navigator-toolbox:hover .urlbar-input-container {
height: fit-content !important;
opacity: 1;
transition:
height 0.3s ease,
opacity 0.5s ease;
}
/* Don't apply transform before window has been fully created */
:root:not([sessionrestored]) #navigator-toolbox {
transform: none !important;
}
:root[customizing] #navigator-toolbox {
position: relative !important;
transform: none !important;
opacity: 1 !important;
}
#navigator-toolbox[inFullscreen] > #PersonalToolbar,
#PersonalToolbar[collapsed="true"] {
display: none;
}
/* SIDEBAR CUSTOMIZATION FOR TREESTYLE TAB */
/* Hide main tabs toolbar */
#TabsToolbar {
visibility: collapse;
}
/* Sidebar min and max width removal */
#sidebar {
max-width: none !important;
min-width: 0px !important;
}
/* Hide splitter, when using Tree Style Tab. */
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]
+ #sidebar-splitter {
display: none !important;
}
/* Hide sidebar header, when using Tree Style Tab. */
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]
#sidebar-header {
visibility: collapse;
}
/* Shrink sidebar when using Tree Style Tab. */
:root {
--thin-tab-width: 45px;
--wide-tab-width: 150px;
}
#sidebar-box:not(
[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]
) {
min-width: var(--wide-tab-width) !important;
max-width: none !important;
}
#sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"] {
position: relative !important;
transition: all 300ms !important;
min-width: var(--thin-tab-width) !important;
max-width: var(--thin-tab-width) !important;
}
/* #sidebar-box[sidebarcommand="treestyletab_piro_sakura_ne_jp-sidebar-action"]:hover { */
/* transition: all 300ms !important; */
/* min-width: var(--wide-tab-width) !important; */
/* max-width: var(--wide-tab-width) !important; */
/* margin-right: calc((var(--wide-tab-width) - var(--thin-tab-width)) * -1) !important; */
/* } */
#context-sendpagetodevice,
#context-sep-sendpagetodevice,
#context-sendlinktodevice,
#context-sep-sendlinktodevice,
#context_sendTabToDevice,
#context_sendTabToDevice_separator {
display: none !important;
}
#sidebar {
border: none !important;
}
/* End of Sidebar */