From 01d405f862c185bd6dd1130aa3a34dd5a9c07629 Mon Sep 17 00:00:00 2001 From: Adil Hanney Date: Thu, 14 Mar 2024 14:15:33 +0000 Subject: [PATCH] feat: set bg of icons on activity stream page --- src/styles/online.manchester.ac.uk_ultra.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/styles/online.manchester.ac.uk_ultra.scss b/src/styles/online.manchester.ac.uk_ultra.scss index 33f30d8..90415ac 100644 --- a/src/styles/online.manchester.ac.uk_ultra.scss +++ b/src/styles/online.manchester.ac.uk_ultra.scss @@ -580,3 +580,17 @@ button[class*="makeStylespageDropdownButton"] { color: $on-header !important; } } + +.base-recent-activity .activity-stream .activity-group .stream-item { + .element-image { + background: $background; + } + $hover-color: flatten-color(rgba(white, 0.85), $background); + &::before { + // (opacity is set to 1 on hover) + background: $hover-color; + } + &:hover .element-image { + background: $hover-color; + } +}