diff options
author | crupest <crupest@outlook.com> | 2021-05-17 21:41:19 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-05-17 21:41:19 +0800 |
commit | 5ead84a292481b43f44ae3d044193901045ce092 (patch) | |
tree | c5bc4b046f74500721356d0dc83c39a2d76aae52 /FrontEnd/src/app/views/timeline-common/timeline-common.sass | |
parent | 0fc36c865ba46cab42b67e52153cd6115d8087ab (diff) | |
download | timeline-5ead84a292481b43f44ae3d044193901045ce092.tar.gz timeline-5ead84a292481b43f44ae3d044193901045ce092.tar.bz2 timeline-5ead84a292481b43f44ae3d044193901045ce092.zip |
feat: Connection badge.
Diffstat (limited to 'FrontEnd/src/app/views/timeline-common/timeline-common.sass')
-rw-r--r-- | FrontEnd/src/app/views/timeline-common/timeline-common.sass | 29 |
1 files changed, 29 insertions, 0 deletions
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 |