This repository was archived by the owner on Dec 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuserChrome.css
More file actions
160 lines (134 loc) · 4.03 KB
/
userChrome.css
File metadata and controls
160 lines (134 loc) · 4.03 KB
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
@namespace url('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul');
/* Intended to be used with this theme:
https://addons.mozilla.org/en-US/firefox/addon/dark-chromium-esque-theme/
*/
/* ROOT - VARS */
:root {
/* fix for full screen mode */
--tab-toolbar-navbar-overlap: 0px !important;
/* set minimum tab height */
--tab-min-height: 33px !important;
--tab-block-margin: 8px !important;
}
/* TABS: height */
#tabbrowser-tabs,
#tabbrowser-tabs > #tabbrowser-arrowscrollbox,
.tabbrowser-tabs .tabbrowser-tab {
height: 33px !important;
min-height: 33px !important;
}
#tabbrowser-tabs {
padding-right: 25px !important;
}
.tabbrowser-tab {
height: 33px !important;
min-height: 33px !important;
margin-top: 2px !important;
padding: 0px 0px 0px 0px !important;
}
/* TABS: remove box shadow for stying purpose */
#TabsToolbar #firefox-view-button[open] > .toolbarbutton-icon,
#tabbrowser-tabs:not([noshadowfortests])
.tab-background:is([selected], [multiselected]) {
box-shadow: none !important;
}
/* New Tab Button Parent: specify height and padding*/
#tabbrowser-arrowscrollbox-periphery {
height: 34px !important;
min-height: 34px !important;
padding-bottom: 2px !important;
padding-top: 0px !important;
border-radius: 6px;
border-width: 1px;
margin-top: 2px !important;
margin-bottom: 2px !important;
}
.tabs-newtab-button {
width: 32px !important;
padding: 2px !important;
}
/* Specify block margins and padding for the toolbar*/
#TabsToolbar {
margin-top: -1px !important;
/* margin-bottom: 5px !important; */
--tab-block-margin: 0px !important;
--toolbarbutton-inner-padding: 8px !important;
}
/* Override vertical shifts when moving a tab */
#TabsToolbar[movingtab] {
padding-bottom: 0px !important;
}
#TabsToolbar[movingtab] > .tabbrowser-tabs {
padding-bottom: 0px !important;
margin-bottom: 5px !important;
}
#TabsToolbar[movingtab] + #nav-bar {
margin-top: 0px !important;
}
/* Specify the rounded borders for tabs */
.tab-background {
border-radius: 6px 6px 0px 0px !important;
}
#TabsToolbar .toolbarbutton-1 {
margin: 0px !important;
}
/* New Tab Button Icon: Change Image and size, adjust padding / margins. Work could be done here to make it look better. */
#tabs-newtab-button.toolbarbutton-1 .toolbarbutton-icon {
list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABmJLR0QA/wD/AP+gvaeTAAAAYUlEQVRoge3XsQ2AMAwAQcL+O4capJThhbgbwNYrjXMcAKWxa/Ccc94WjbFl17lj6JsE1ATUBNQE1ATUBNQE1JY3+vOer63+E59/AQE1f+KagJqAmoCagJqAmoCaAIB/uwBJeQxGJRr+vQAAAABJRU5ErkJggg==') !important;
opacity: 1 !important;
border-radius: 0 !important;
width: 30px !important;
margin-left: 0px !important;
margin-top: 0px !important;
padding: 6px !important;
height: 32px !important;
min-height: 32px !important;
}
/* New Tab Button: sepcify the height and border radius */
#tabs-newtab-button {
/* height: 32px !important; */
/* min-height: 32px !important; */
border-radius: 6px !important;
}
#main-window:not([customizing])
#navigator-toolbox:not(:focus-within):not(:hover) {
margin-top: -105px; /**/
}
/* Specify the height of the entire title bar */
#titlebar {
height: 25px !important;
}
/* Removes black shadow line under tabs */
#nav-bar {
--tabs-navbar-shadow-size: 0px !important;
}
/* Close Tab Buttons: Hides them when not active tab, when the tab is hovered, the close button is shown */
/* - Replicating the chromium-based feature */
.tabbrowser-tab:not([selected]):not([pinned]) .tab-close-button {
visibility: hidden !important;
}
.tabbrowser-tab:not([selected]):not([pinned]):hover .tab-close-button {
visibility: visible !important;
display: -moz-inline-box !important;
fill: #ffffff !important;
}
.tab-content {
margin-bottom: 2px !important;
}
/* #firefox-view-button {
margin-top: 12px !important;
}
#alltabs-button {
margin-top: 12px !important;
} */
.tab-close-button:hover {
fill: #ffffff !important;
color: #eaf3ff !important;
}
#tabbrowser-tabs {
margin-left: 4px !important;
}
.titlebar-spacer[type='pre-tabs'],
.titlebar-spacer[type='post-tabs'] {
width: 0px !important;
}