-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathChatRelatedToastsAtTopv2.theme.css
More file actions
105 lines (103 loc) · 2.72 KB
/
Copy pathChatRelatedToastsAtTopv2.theme.css
File metadata and controls
105 lines (103 loc) · 2.72 KB
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
/**
* @name Chat Related Toasts at Top v2
* @author NSPG911
* @version 2.0.0
* @description Seamlessly blends both the `New Messages` and `Viewing Old Messages` at the top of the chat panel
* @source https://nspc911.github.io/themes/vencord/ChatRelatedToastsAtTopv2.theme.css
*/
.chatHeaderBar_dc83f5,
.newTopicsBarContainer__0f481,
.topicsPillContainer__0f481 {
position: absolute;
background: var(--accent-3);
border-bottom: 0px solid transparent !important;
padding: 0 8px;
width: calc(100% - 40px);
left: 12px;
height: 32px;
top: 10px;
border-radius: var(--radius-sm);
z-index: 10;
box-shadow: unset;
outline: none;
&:not(:hover) .chatHeaderBarText_dc83f5 {
color: var(--control-text-primary-default) !important;
}
&:has(> button:hover) .chatHeaderBarText_dc83f5 {
color: white !important;
}
}
.topicsPillCarets__0f481 {
padding-inline-end: 0px !important;
-webkit-padding-inline-end: 0px !important;
}
.topicsPillCarets__0f481 {
padding-inline-end: 0 !important;
-webkit-padding-inline-end: 0 !important;
}
.topicsPillContainer__0f481 {
padding-left: 3px !important;
}
.newTopicsBarTopicSection__0f481 {
margin-inline-start: 3px !important;
-webkit-margin-inline-start: 3px !important;
}
.jumpToPresentBar__0f481 {
position: absolute;
top: 10px;
bottom: unset;
margin: unset !important;
width: calc(100% - 24px);
left: 12px;
background-color: var(--accent-3);
padding: 0 8px;
min-height: unset;
height: 32px;
border-radius: var(--radius-sm);
z-index: 10;
box-shadow: unset;
transition: top 0.5s cubic-bezier(0.47, 1.64, 0.41, 0.8);
button {
border: none;
}
[class*="buttonChildrenWrapper"] {
padding: var(--space-4) var(--space-8) !important;
min-height: unset !important;
box-shadow: unset;
border: unset;
}
.barButtonMain__0f481 {
padding-top: calc(0.5 * (42px - 1rem))
}
&:not(:hover) .barButtonMain__0f481 {
color: var(--control-primary-text-default)
}
}
.newMessagesBar__0f481 {
box-shadow: unset !important;
z-index: 10;
}
.newMessagesBar__0f481 ~ .jumpToPresentBar__0f481,
.newTopicsBarContainer__0f481 ~ .jumpToPresentBar__0f481 {
top: 39px;
border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.newMessagesBar__0f481:has(~ .jumpToPresentBar__0f481),
.newTopicsBarContainer__0f481:has(~ .jumpToPresentBar__0f481) {
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.chatHeaderBar_dc83f5 ~ .messagesWrapper__36d07 > .jumpToPresentBar__0f481 {
top: 43px;
}
.newTopicsBarContainer__0f481 {
width: calc(100% - 41px);
z-index: 1000;
}
.chatHeaderBar_dc83f5:hover
~ .messagesWrapper__36d07
> .jumpToPresentBar__0f481,
.chatHeaderBar_dc83f5
~ .messagesWrapper__36d07
> .jumpToPresentBar__0f481:hover {
top: 50px;
}