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 | a3f8daad1706697c6106045f271b74fd241ddcb3 (patch) | |
| tree | a88666ef885f9a694ceb1b657b56f82d6b0d0481 /FrontEnd/src/app/views/timeline-common/timeline-common.sass | |
| parent | c7528bfdfa920f1e2e5de2876c4bb7691419d7d6 (diff) | |
| download | timeline-a3f8daad1706697c6106045f271b74fd241ddcb3.tar.gz timeline-a3f8daad1706697c6106045f271b74fd241ddcb3.tar.bz2 timeline-a3f8daad1706697c6106045f271b74fd241ddcb3.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 |
