forked from MrOtherGuy/firefox-csshacks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
userChrome.css
78 lines (68 loc) · 1.93 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
@import url(chrome/more-compact-tabs.css);
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
/* @font-face {
font-family: "Geist";
src: url("X:\Art\Fonts\Geist\Geist\GeistVariableVF.ttf"), format("truetype");
font-weight: normal;
font-style: normal;
} */
* {
/* font-family: "Geist", sans-serif; */
font-family: "IBM Plex Sans";
}
/* combined_favicon_and_tab_close_button */
.tab-content {
pointer-events: none;
}
.tab-icon-image:not([busy]) {
display: block !important;
}
/* :where(.tab-content:hover) .tab-icon-image,
:where(.tab-content:hover) > .tab-icon-stack {
visibility: hidden;
} */
/* .tab-close-button {
order: -1;
display: flex !important;
position: relative;
margin-inline: -4px -20px !important;
padding-inline-start: 7px !important;
opacity: 0;
width: unset !important;
pointer-events: auto;
}
.tab-close-button:hover {
opacity: 1;
} */
.tabbrowser-tab[pinned] .tab-close-button {
display: none !important;
}
.tabbrowser-tab:hover .tab-close-button {
opacity: 1;
}
/* :where(.tabbrowser-tab:not([pinned]):hover) .tab-icon-stack,
.tabbrowser-tab:not([pinned]):hover .tab-icon-image {
visibility: hidden;
} */
/* Remove tab closing button */
.tab-close-button {
display: none !important;
}
/* Min Tab width */
.tabbrowser-tab[fadein]:not([pinned]) {
min-width: 2px !important;
}
/* Make all tabs small except selected one */
.tabbrowser-tab[fadein]:not([selected]):not([pinned]) {
max-width: 150px !important;
}
/* Make selected tabs to bigger */
.tabbrowser-tab[selected][fadein]:not([pinned]) {
max-width: 200px !important;
min-width: 200px !important;
}
/* Tab Background fix */
#TabsToolbar #firefox-view-button[open] > .toolbarbutton-icon,
.tab-background:is([selected], [multiselected]) {
background-color: light-dark(rgb(255, 255, 255), rgb(43, 42, 51)) !important;
}