-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreduce-topbar-space.css
47 lines (43 loc) · 1.2 KB
/
reduce-topbar-space.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
/* stolen from https://github.com/Andrew6rant/Discord-plugins-and-themes/blob/main/RemoveTopBar.theme.css */
/* Shrinks titlebar down to nothing */
div[class*="titleBar_"] {
height: 0px;
}
/* Removes the "Discord" text on the top left of the screen */
div[class*="wordmark_"] {
display: none;
}
/* Hide the _ □ X buttons, they are visible on hover */
div[class*=winButton_] {
top: -4px;
/* transform: scale(1); */
padding-right: 4px;
right: -4px;
-webkit-app-region: no-drag !important;
}
div[class*=winButton_]:hover {
color: var(--currentColor);
background-color: hsl(0, 100%, 80%);
}
/* small hack to avoid https://github.com/electron/electron/issues/1354 */
[class^="winButtonClose_"],
[class^="closeButton_"] {
-webkit-app-region: no-drag;
}
div[class^="upperContainer_"] {
-webkit-app-region: drag;
width: calc(100% - 88px);
margin-top: 8px;
}
// reduce height of the top bar
div[class^="subtitleContainer_"] {
margin-top: -12px;
}
// reduce header height to match top bar
.header_fd6364{
padding: 6px;
}
/* revert offset when thread/forum channel is open */
div[class*="threadSidebarOpen_"] > div > section > div[class^="upperContainer_"] {
width: 100%;
}