From 7901d08781c69ad2a92bbb24631d38e6cc7e01d7 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Thu, 27 Jun 2019 10:09:07 +0100 Subject: [PATCH] Style soft folder separators If you can see a folder but not its parents we concatenate the breadcrumb into one link. This styles folder separators inside these links a bit differently to make them do a bit less visual separation than the ones outside the links. --- app/assets/stylesheets/components/message.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/app/assets/stylesheets/components/message.scss b/app/assets/stylesheets/components/message.scss index 20dbab56d..7bd652432 100644 --- a/app/assets/stylesheets/components/message.scss +++ b/app/assets/stylesheets/components/message.scss @@ -36,6 +36,13 @@ &:hover { color: $link-hover-colour; + + .message-name-separator { + &:before { + border-color: $link-hover-colour; + } + } + } &:focus { @@ -51,6 +58,16 @@ } } + + .message-name-separator { + + margin-right: -2px; + margin-left: -2px; + + &:before { + border-color: $link-colour; + } + } } &-separator {