aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.scss
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-11-01 22:26:04 +0200
committerHenry Jameson <me@hjkos.com>2022-11-01 22:26:04 +0200
commit3aadad30133928bdac3067dfc1fd7f94dbf70b52 (patch)
tree22a3b12fecc83326c428e83af08785fdfc91b590 /src/components/timeline/timeline.scss
parent373fb077a820deae28f494e7d2dc8c19370a54bf (diff)
show counter in show new button on mobile
Diffstat (limited to 'src/components/timeline/timeline.scss')
-rw-r--r--src/components/timeline/timeline.scss15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/components/timeline/timeline.scss b/src/components/timeline/timeline.scss
index 9fc2aeab..24a45070 100644
--- a/src/components/timeline/timeline.scss
+++ b/src/components/timeline/timeline.scss
@@ -13,6 +13,21 @@
background-color: var(--badgeNeutral);
}
+ .alert-badge {
+ font-size: 0.75em;
+ line-height: 1;
+ text-align: right;
+ border-radius: var(--tooltipRadius);
+ position: absolute;
+ left: calc(50% - 0.5em);
+ top: calc(50% - 0.4em);
+ padding: 0.2em;
+ margin-left: 0.7em;
+ margin-top: -1em;
+ background-color: var(--badgeNeutral);
+ color: var(--badgeNeutralText);
+ }
+
.loadmore-button {
position: relative
}