From 53a4b1f9a6a9aa6bc044609c3accb074d924daf9 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 31 Jan 2024 17:39:51 +0200 Subject: better virtual components and stuff --- src/components/notifications/notifications.scss | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'src/components/notifications/notifications.scss') diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss index 5749e430..708d111b 100644 --- a/src/components/notifications/notifications.scss +++ b/src/components/notifications/notifications.scss @@ -7,8 +7,7 @@ } .loadmore-error { - color: $fallback--text; - color: var(--text, $fallback--text); + color: var(--text); } .notification { @@ -25,7 +24,7 @@ &.unseen { .notification-overlay { - background-image: linear-gradient(135deg, var(--badgeNotification, $fallback--cRed) 4px, transparent 10px); + background-image: linear-gradient(135deg, var(--badgeNotification) 4px, transparent 10px); } } } @@ -60,24 +59,17 @@ width: 32px; height: 32px; } - - .faint { - --link: var(--faintLink); - --text: var(--faint); - } } .follow-request-accept { &:hover { - color: $fallback--text; - color: var(--text, $fallback--text); + color: var(--text); } } .follow-request-reject { &:hover { - color: $fallback--cRed; - color: var(--cRed, $fallback--cRed); + color: var(--cRed); } } -- cgit v1.2.3-70-g09d2 From 9e66c1184ff5e6228a40c75c20ecd00b9f550208 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Thu, 22 Feb 2024 01:32:52 +0200 Subject: fix notifications links --- src/components/mention_link/mention_link.scss | 1 - src/components/notifications/notifications.scss | 24 +++++++++++++++++++----- 2 files changed, 19 insertions(+), 6 deletions(-) (limited to 'src/components/notifications/notifications.scss') diff --git a/src/components/mention_link/mention_link.scss b/src/components/mention_link/mention_link.scss index 69e9fed1..1b242bdf 100644 --- a/src/components/mention_link/mention_link.scss +++ b/src/components/mention_link/mention_link.scss @@ -4,7 +4,6 @@ position: relative; white-space: normal; display: inline; - color: var(--link); word-break: normal; & .new, diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss index 708d111b..1acccb8d 100644 --- a/src/components/notifications/notifications.scss +++ b/src/components/notifications/notifications.scss @@ -34,6 +34,11 @@ .notification { box-sizing: border-box; + /* TODO cleanup this */ + .Status { + flex: 1; + } + &:hover .animated.Avatar { canvas { display: none; @@ -55,6 +60,20 @@ padding: 0.6em; min-width: 0; + .RichContent { + a { + --link: var(--linkFaint); + } + + .greentext { + --funtextGreentext: var(--funtextGreentextFaint); + } + + .cyantext { + --funtextCyantext: var(--funtextCyantextFaint); + } + } + .avatar-container { width: 32px; height: 32px; @@ -89,11 +108,6 @@ } } - /* TODO cleanup this */ - .Status { - flex: 1; - } - time { white-space: nowrap; } -- cgit v1.2.3-70-g09d2 From d8827932bc8f329c66bdf23fa0eb7af4ed41179a Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 27 Feb 2024 01:08:04 +0200 Subject: fix collapsed notifications incorrect styles --- src/components/notification/notification.vue | 1 - src/components/notifications/notifications.scss | 14 -------------- src/components/rich_content/rich_content.jsx | 8 +++++++- src/components/rich_content/rich_content.scss | 9 +++++++++ src/components/status_body/status_body.vue | 2 ++ src/components/status_content/status_content.vue | 10 ---------- 6 files changed, 18 insertions(+), 26 deletions(-) (limited to 'src/components/notifications/notifications.scss') diff --git a/src/components/notification/notification.vue b/src/components/notification/notification.vue index 5c425200..632ae6e9 100644 --- a/src/components/notification/notification.vue +++ b/src/components/notification/notification.vue @@ -247,7 +247,6 @@ />