-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserChrome.css
181 lines (148 loc) · 4.84 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
/*https://www.reddit.com/r/FirefoxCSS/comments/89h44y/my_setup_theming_firefox_like_safari/*/
#TabsToolbar {
-moz-box-ordinal-group: 3;
}
#nav-bar-customization-target,
#PanelUI-button {
margin-top: 4px;
margin-bottom: 4px;
}
#tabbrowser-tabs {
--tab-min-height: 25px !important;
--toolbarbutton-inner-padding: 4px !important;
}
.tabbrowser-tab:hover > .tab-stack > .tab-background:not([selected="true"]) {
background-color: transparent !important;
}
/*https://www.reddit.com/r/FirefoxCSS/comments/89h44y/my_setup_theming_firefox_like_safari/*/
/*https://www.reddit.com/r/FirefoxCSS/comments/8x604c/is_it_possible_to_move_the_upper_tab_line_below/*/
.tab-line {
-moz-box-ordinal-group: 2;
}
/*https://www.reddit.com/r/FirefoxCSS/comments/8x604c/is_it_possible_to_move_the_upper_tab_line_below/*/
/*https://www.reddit.com/r/FirefoxCSS/comments/8x604c/is_it_possible_to_move_the_upper_tab_line_below/
.tab-background {
-moz-box-direction: reverse
}
/*https://www.reddit.com/r/FirefoxCSS/comments/8x604c/is_it_possible_to_move_the_upper_tab_line_below/*/
/*https://www.reddit.com/r/FirefoxCSS/comments/8w79g3/trying_to_remove_a_1px_line_under_my_navigation/
#navigator-toolbox::after {
border-bottom: 0px !important;
}
/*https://www.reddit.com/r/FirefoxCSS/comments/8w79g3/trying_to_remove_a_1px_line_under_my_navigation/*/
/*https://github.com/Timvde/UserChrome-Tweaks/blob/master/tabs/close-button-hover.css
.tabbrowser-tab:not([selected]):not([pinned]) .tab-close-button {
display: none !important;
}
.tabbrowser-tab:not([selected]):not([pinned]):hover .tab-close-button {
display: -moz-box !important;
}
/*https://github.com/Timvde/UserChrome-Tweaks/blob/master/tabs/close-button-hover.css*/
/*https://www.reddit.com/r/FirefoxCSS/comments/89h44y/my_setup_theming_firefox_like_safari/*/
.tab-content:not([pinned]) .tab-icon-image {
display: none;
}
.tab-content:not([pinned]) .tab-label-container {
display: -moz-grid !important;
margin-left: 3px;
margin-right: 17px;
}
.tab-content:not([pinned]) .tab-label-container .tab-text.tab-label {
text-align: center;
}
.tab-content:not([pinned]) .tab-close-button {
-moz-box-ordinal-group: 1;
opacity: 0;
transition: unset !important;
transition-property: opacity !important;
transition-duration: .2s !important;
}
.tab-content:hover:not([pinned]) .tab-close-button {
opacity: 1;
}
.tab-content[pinned] {
padding: 0 10px !important;
}
.tab-content[pinned] .tab-icon-image {
filter: saturate(0%);
opacity: .75 !important;
transition: filter .2s, opacity .25s;
}
.tab-content[pinned][selected] .tab-icon-image {
filter: saturate(100%);
opacity: 1 !important;
transition: unset !important;
}
.tab-content[pinned]:hover:not([selected]) .tab-icon-image {
filter: saturate(80%);
opacity: .95 !important;
}
.tab-icon-image,
.tab-icon-sound,
.tab-close-button {
margin-top: 0 !important;
}
.tab-icon-sound {
margin-right: 4px;
}
#TabsToolbar > #alltabs-button {
background-color: transparent !important;
border-radius: 1px !important;
}
#TabsToolbar > hbox.titlebar-placeholder {
display: none !important;
}
#TabsToolbar .titlebar-placeholder {
display: none !important;
}
#TabsToolbar > hbox.titlebar-placeholder {
display: none;
}
/*Shadow below de navigator toolbox*/
#navigator-toolbox {
box-shadow:0px 2px 6px -2px rgba(0, 0, 0, 0.75);
}
/*#TabsToolbar.titlebar-color.customization-target tabs#tabbrowser-tabs {
box-shadow:0px 2px 6px -2px rgba(0, 0, 0, 0.75);
}*/
.tabbrowser-tab[fadein]:not([pinned]) {
max-width: unset !important;
}
.tabbrowser-tab::after,
.tabbrowser-tab::before {
border-left: 1px solid rgba(0,0,0,.1) !important;
}
#PersonalToolbar {
-moz-box-ordinal-group: 2;
padding: 0 !important;
border-bottom: 1px solid rgba(0,0,0,.1);
}
#personal-bookmarks {
padding: 2px 0 0 0;
}
#PlacesToolbarItems {
align-items: center;
justify-content: center;
display: flex;
}
#PlacesToolbarItems .box-inherit scrollbox-innerbox {
width: auto;
}
/*https://www.reddit.com/r/FirefoxCSS/comments/89h44y/my_setup_theming_firefox_like_safari/*/
/*https://gist.github.com/BenoitAverty/af633ee20e27f48f9ba7178451432206*/
#tabbrowser-tabs, #tabbrowser-tabs > .tabbrowser-arrowscrollbox {
min-height: 0 !important;
}
/* Thanks to @Speravir for making it work again in the latest versions. */
#tabbrowser-tabs tab[first-visible-tab="true"][last-visible-tab="true"] {
visibility: collapse;
}
/* I don't use tabs so I just hide the new tab button. You should be able to use a similar trick as the rule above with
css siblings selectors if you want to keep it when the tab bar is visible. */
#tabbrowser-tabs .tabs-newtab-button {
visibility: collapse !important;
}
#tabbrowser-tabs tab {
min-height: var(--tab-min-height)
}
/*https://gist.github.com/BenoitAverty/af633ee20e27f48f9ba7178451432206*/