-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathuserChrome-new.css
141 lines (118 loc) · 3.06 KB
/
userChrome-new.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
:root {
--navbar-height: 48px;
--wc-height: 16px;
--wc-left-margin: 10px;
--wc-red: #f38ba8;
--wc-yellow: #f9e2af;
--wc-green: #a6e3a1;
--wc-inactive: #61616c;
--sidebar-collapsed-width: var(--navbar-height);
--sidebar-width: 250px;
--transition-duration: 0.2s;
--transition-ease: ease-out;
}
/* hide tabline */
#navigator-toolbox {
-moz-window-dragging: drag;
padding: 8px 0;
}
#titlebar {
appearance: none !important;
}
#TabsToolbar .toolbar-items {
display: none !important;
}
#TabsToolbar.browser-toolbar {
display: block !important;
position: absolute;
right: 0;
top: calc((var(--navbar-height) - var(--wc-height)) / 2);
}
#nav-bar {
height: calc(var(--navbar-height) - 16px) !important;
margin-right: calc(var(--wc-height) * 6 + var(--wc-left-margin));
padding: calc((var(--navbar-height) - 40px) / 2) 0;
}
#urlbar {
--urlbar-toolbar-height: calc(var(--navbar-height) - 16px) !important;
z-index: 200 !important;
}
#urlbar[breakout][breakout-extend] {
top: -4px !important;
}
#urlbar[breakout][breakout-extend] > #urlbar-input-container {
height: calc(var(--navbar-height) - 8px) !important;
padding-block: 4px !important;
}
#private-browsing-indicator-with-label {
display: none !important;
}
.titlebar-button > .toolbarbutton-icon {
visibility: hidden;
}
.titlebar-button {
padding: 0 !important;
height: var(--wc-height) !important;
min-height: var(--wc-height) !important;
width: var(--wc-height) !important;
min-width: var(--wc-height) !important;
border-radius: 50%;
opacity: 1 !important;
}
.titlebar-button:hover {
/* transform: scale(1.1); */
opacity: 0.7 !important;
cursor: pointer;
}
.titlebar-buttonbox {
display: flex;
margin-right: var(--wc-height);
gap: var(--wc-height);
}
.titlebar-close {
background: var(--wc-red) !important;
}
.titlebar-min {
background: var(--wc-yellow) !important;
}
.titlebar-max,
.titlebar-restore {
background: var(--wc-green) !important;
}
.titlebar-close:-moz-window-inactive,
.titlebar-min:-moz-window-inactive,
.titlebar-max:-moz-window-inactive,
.titlebar-restore:-moz-window-inactive {
background: var(--wc-inactive) !important;
}
/* hide sidebar header */
#sidebar-box[sidebarcommand='treestyletab_piro_sakura_ne_jp-sidebar-action']
#sidebar-header {
display: none;
}
#sidebar-box {
z-index: 100 !important;
position: relative !important;
min-width: var(--sidebar-collapsed-width) !important;
max-width: var(--sidebar-collapsed-width) !important;
}
/* hide sidebar resize handle */
.sidebar-splitter {
display: none !important;
}
/* inner width = expanded width & move inner to only show initial-width long section */
#sidebar-box #sidebar {
min-width: var(--sidebar-width) !important;
max-width: var(--sidebar-width) !important;
width: var(--sidebar-width) !important;
transform: translateX(
calc(var(--sidebar-collapsed-width) - var(--sidebar-width))
);
transition: var(--transition-duration) var(--transition-ease);
}
#sidebar-box #sidebar:hover {
transform: translateX(0) !important;
}
#sidebar-box[sidebarcommand='viewBookmarksSidebar'] #sidebar {
transform: translateX(0) !important;
}