From 6aa1b2e7ef2283dabb96b21a38a21b34b3fda31c Mon Sep 17 00:00:00 2001 From: taffyko Date: Wed, 23 Oct 2024 11:14:03 -0700 Subject: [PATCH] Remove addition of left-edge highlight on message mentions It is clear that it would be best for me to address this piece in a separate PR. --- res/css/views/rooms/_EventTile.pcss | 8 -------- res/themes/dark/css/_dark.pcss | 1 - res/themes/legacy-dark/css/_legacy-dark.pcss | 1 - res/themes/legacy-light/css/_legacy-light.pcss | 1 - res/themes/light-custom/css/_custom.pcss | 1 - res/themes/light/css/_light.pcss | 1 - 6 files changed, 13 deletions(-) diff --git a/res/css/views/rooms/_EventTile.pcss b/res/css/views/rooms/_EventTile.pcss index 09b9fe4f42..56a2c57f34 100644 --- a/res/css/views/rooms/_EventTile.pcss +++ b/res/css/views/rooms/_EventTile.pcss @@ -578,14 +578,6 @@ $left-gutter: 64px; padding-inline-start: calc(var(--EventTile_group_line-spacing-inline-start) + 20px); } } - - &.mx_EventTile_highlight, - &.mx_EventTile_highlight .markdown-body { - > .mx_EventTile_line { - box-shadow: inset var(--EventTile-box-shadow-offset-x) 0 0 var(--EventTile-box-shadow-spread-radius) - $event-highlight-edge-color; - } - } } &[data-layout="bubble"] { diff --git a/res/themes/dark/css/_dark.pcss b/res/themes/dark/css/_dark.pcss index c83d9419b9..56630763fe 100644 --- a/res/themes/dark/css/_dark.pcss +++ b/res/themes/dark/css/_dark.pcss @@ -83,7 +83,6 @@ $spacePanel-bg-color: rgba(38, 39, 43, 0.82); $panel-gradient: rgba(34, 38, 46, 0), rgba(34, 38, 46, 1); $h3-color: $primary-content; $event-highlight-bg-color: #25271f; -$event-highlight-edge-color: #f0b132; $header-panel-text-primary-color: $text-secondary-color; /* ******************** */ diff --git a/res/themes/legacy-dark/css/_legacy-dark.pcss b/res/themes/legacy-dark/css/_legacy-dark.pcss index 41482a7353..c6840f5b90 100644 --- a/res/themes/legacy-dark/css/_legacy-dark.pcss +++ b/res/themes/legacy-dark/css/_legacy-dark.pcss @@ -164,7 +164,6 @@ $widget-menu-bar-bg-color: $header-panel-bg-color; $widget-body-bg-color: #1a1d23; $event-highlight-bg-color: #25271f; -$event-highlight-edge-color: #f0b132; /* event timestamp */ $event-timestamp-color: $text-secondary-color; diff --git a/res/themes/legacy-light/css/_legacy-light.pcss b/res/themes/legacy-light/css/_legacy-light.pcss index e150aca0d5..398cf0e1f1 100644 --- a/res/themes/legacy-light/css/_legacy-light.pcss +++ b/res/themes/legacy-light/css/_legacy-light.pcss @@ -235,7 +235,6 @@ $widget-body-bg-color: #fff; $yellow-background: #fff8e3; $event-highlight-bg-color: $yellow-background; -$event-highlight-edge-color: var(--cpd-color-yellow-500); /* event timestamp */ $event-timestamp-color: #acacac; diff --git a/res/themes/light-custom/css/_custom.pcss b/res/themes/light-custom/css/_custom.pcss index 10b23c9b8d..0dfb38da98 100644 --- a/res/themes/light-custom/css/_custom.pcss +++ b/res/themes/light-custom/css/_custom.pcss @@ -100,7 +100,6 @@ $button-danger-disabled-bg-color: var(--warning-color-50pct); /* still needs alp /* --timeline-highlights-color */ $event-selected-color: var(--timeline-highlights-color); $event-highlight-bg-color: var(--timeline-highlights-color); -$event-highlight-edge-color: var(--timeline-highlights-color); /* redirect some variables away from their hardcoded values in the light theme */ $settings-grey-fg-color: $primary-content; diff --git a/res/themes/light/css/_light.pcss b/res/themes/light/css/_light.pcss index 026ef2cc74..d649b6b38d 100644 --- a/res/themes/light/css/_light.pcss +++ b/res/themes/light/css/_light.pcss @@ -112,7 +112,6 @@ $spacePanel-bg-color: rgba(232, 232, 232, 0.77); $panel-gradient: rgba(242, 245, 248, 0), rgba(242, 245, 248, 1); $h3-color: #3d3b39; $event-highlight-bg-color: $yellow-background; -$event-highlight-edge-color: var(--cpd-color-yellow-500); $header-panel-text-primary-color: #91a1c0; /* ******************** */