-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui-cleanup-and-enhancements.css
65 lines (60 loc) · 1.67 KB
/
ui-cleanup-and-enhancements.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
/* Align Chatbox
stolen from https://css.f53.dev/discord/AlignedChatBox.css
*/
:is(main,section)[class^=chatContent] > form,
form > div[class^=submitContainer] {
/* align chatbox */
padding: 0px;
> div > div[class^=channelTextArea] {
margin: 0px !important;
> div[class^=scrollableContainer] {
min-height: 49px;
padding-top: 4px;
border-radius: 0px;
}
/* move app launcher to a less dumb place */
/* position: relative; */
}
/* align forum channel thing */
> div { margin-bottom: 0px; border-radius: 0px; }
/* move slowmode/typing indicator to match */
> div[class^=typing] {
top: -24px;
right: calc(var(--custom-index-scrollbar-margin) * 2 + var(--custom-index-scrollbar-width));
margin-left: auto;
width: fit-content;
padding-left: 2px;
padding-right: 9px;
border-radius: 8px 8px 0px 0px;
background-color: var(--channeltextarea-background);
}
/* make scrollbar meet chatbox */
&::after { display: none; }
/* fix replies */
> div > div > div[class^=attachedBars] {
min-height: unset !important;
padding-bottom: 4px;
}
}
/* jump to present */
div[class^=jumpToPresentBar] {
left: 0; right: unset;
border-radius: 0px 8px 0px 0px;
/* background-color: var(--channeltextarea-background); */
background-color: #248046;
> button[class^=barButtonMain] {
flex: 0 0 auto;
display: none;
}
}
/* move app launcher to a less dumb place */
div[class^=channelAppLauncher] {
/* position: absolute;
top: -70px;
right: 16px;; */
display: none;
}
/* collapsable message action*/
[class^=buttonsInner_]:not(:hover)>:is(
[role=button]:not(:last-child), [class^=separator_]
){display: none;}