-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebery.css
160 lines (126 loc) · 2.68 KB
/
sidebery.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
/* ROOT */
#root {
/* Tab and PinnedTab height adjustment */
--tabs-height: 33px;
--tabs-pinned-height: var(--tabs-height);
/* Dark Theme base settings */
--bg: #1c1b22 !important;
--tabs-fg: #d4d4d4 !important;
--tabs-bg-hover: #3b3948 !important;
--tabs-activated-bg: #5b5b66 !important;
--nav-btn-activated-bg: #1f222f !important;
}
#root .Tab {
--tabs-indent: 7px;
}
/* TABS */
.Tab .lvl-wrapper:after {
display: none;
}
.Tab {
margin: auto;
width: 94%;
border-radius: 3px;
}
.Tab .close > svg:hover {
/* Styling the tab close button */
border-radius: 3px;
background: #492121 !important;
opacity: 100%;
}
.Tab .title {
overflow: hidden !important;
}
/* PINNED TABS */
.PinnedDock {
background-color: var(--bg) !important;
}
.PinnedTab {
margin: 5px 0px 4px 6px;
border-radius: 3px;
}
/* NAV BAR */
.NavigationBar {
height: 41px !important;
padding: 4.5px 0px 0px 4.5px !important;
background-color: #2b2a33 !important;
margin-bottom: 5px;
}
.NavigationBar .panel-btn:hover {
border-radius: 3px !important;
background-color: var(--tabs-bg-hover) !important;
}
.NavigationBar .panel-btn[data-active="true"] {
border-radius: 3px !important;
background-color: var(--bg) !important;
}
.NavigationBar .panel-btn[data-active="true"]:hover {
border-radius: 3px !important;
background-color: var(--tabs-bg-hover) !important;
}
.NavigationBar .panel-btn > svg,
.NavigationBar .panel-btn > img {
fill: #f2f2f2 !important;
}
/* SIDEBAR HACK PATCHES */
@media (max-width: 50px) {
/* Fix to tab tree identation when minimised */
#root:not(:hover) .Tab {
--tabs-indent: 0px;
}
.Tab[data-lvl] > div.lvl-wrapper {
right: -2px;
}
.Tab {
max-width: 34px;
}
.Tab .fav {
z-index: 1;
}
.Tab .audio {
z-index: 1;
margin-left: -12px;
height: 26px;
}
.Tab .title {
display: none;
}
.PinnedTab {
margin-left: 5px;
}
.NavigationBar .settings-btn {
display: none;
}
}
/* OPTIONAL */
/* Disable these two snippets below to make pinned tabs wrap when minimised */
.PinnedDock {
flex-wrap: nowrap !important;
}
.PinnedTab {
overflow: hidden !important;
min-width: var(--tabs-pinned-width) !important;
}
/* Optional patch for better tab notifications on pinned tabs */
/*
.PinnedTab[data-audible] .fav > img,
.PinnedTab[data-muted] .fav > img,
.PinnedTab[data-loading] .fav > img {
mask: none;
}
.PinnedTab .fav > img {
mask: none;
}
.PinnedTab[data-updated="true"] .fav > img {
mask: radial-gradient(circle at calc(100% - 2px) calc(100% - 2px),rgba(0,0,0,0.141),rgba(0,0,0,0.141) 4px,#000 5px,#000);
}
.PinnedTab .audio-badge {
top: 5px;
}
.PinnedTab .update-badge {
opacity: 0;
}
.PinnedTab[data-updated="true"] .update-badge {
opacity: 100;
}
*/