From 5ead84a292481b43f44ae3d044193901045ce092 Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 17 May 2021 21:41:19 +0800 Subject: feat: Connection badge. --- .../app/views/timeline-common/timeline-common.sass | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'FrontEnd/src/app/views/timeline-common/timeline-common.sass') diff --git a/FrontEnd/src/app/views/timeline-common/timeline-common.sass b/FrontEnd/src/app/views/timeline-common/timeline-common.sass index 0b0bd24d..4400fead 100644 --- a/FrontEnd/src/app/views/timeline-common/timeline-common.sass +++ b/FrontEnd/src/app/views/timeline-common/timeline-common.sass @@ -228,3 +228,32 @@ $timeline-line-color-current: var(--tl-primary-enhance-color) position: absolute right: 10px top: 2px + +.connection-status-badge + font-size: 0.8em + border-radius: 5px + padding: 0.1em 1em + background-color: rgb(234 242 255) + + &::before + width: 10px + height: 10px + border-radius: 50% + display: inline-block + content: '' + margin-right: 0.6em + + &.success + color: #006100 + &::before + background-color: #006100 + + &.warning + color: #e4a700 + &::before + background-color: #e4a700 + + &.danger + color: #fd1616 + &::before + background-color: #fd1616 -- cgit v1.2.3