aboutsummaryrefslogtreecommitdiff
path: root/src/api/Notifications/styles.css
diff options
context:
space:
mode:
authorNuckyz <61953774+Nuckyz@users.noreply.github.com>2023-03-04 14:49:15 -0300
committerGitHub <noreply@github.com>2023-03-04 18:49:15 +0100
commite219aaa062563202c6b723ada06f115437ab35a7 (patch)
tree66baa307976f8472360d8e69f5d1ec54e51371c2 /src/api/Notifications/styles.css
parentcab72e1be627fb7cb06725d0a3e262e214de170f (diff)
downloadVencord-e219aaa062563202c6b723ada06f115437ab35a7.tar.gz
Vencord-e219aaa062563202c6b723ada06f115437ab35a7.tar.bz2
Vencord-e219aaa062563202c6b723ada06f115437ab35a7.zip
Notifications: Permanent option and close button (#563)
Co-authored-by: Ven <vendicated@riseup.net>
Diffstat (limited to 'src/api/Notifications/styles.css')
-rw-r--r--src/api/Notifications/styles.css33
1 files changed, 28 insertions, 5 deletions
diff --git a/src/api/Notifications/styles.css b/src/api/Notifications/styles.css
index 84d8ff7..a3db81e 100644
--- a/src/api/Notifications/styles.css
+++ b/src/api/Notifications/styles.css
@@ -22,17 +22,40 @@
gap: 1.25rem;
}
+.vc-notification-content {
+ width: 100%;
+}
+
+.vc-notification-header {
+ display: flex;
+ justify-content: space-between;
+}
+
+.vc-notification-title {
+ color: var(--header-primary);
+ font-size: 1rem;
+ font-weight: 600;
+ line-height: 1.25rem;
+ text-transform: uppercase;
+}
+
+.vc-notification-close-btn {
+ color: var(--interactive-normal);
+ opacity: 0.5;
+ transition: opacity 0.2s ease-in-out, color 0.2s ease-in-out;
+}
+
+.vc-notification-close-btn:hover {
+ color: var(--interactive-hover);
+ opacity: 1;
+}
+
.vc-notification-icon {
height: 4rem;
width: 4rem;
border-radius: 6px;
}
-/* Discord adding 3km margin to generic tags */
-.vc-notification h2 {
- margin: unset;
-}
-
.vc-notification-progressbar {
height: 0.25rem;
border-radius: 5px;