mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: adds countdown attribute to [date] (#8037)
When used, dates will be displayed as a countdown in a human friendly way.
This commit is contained in:
parent
39c31a3d76
commit
bf05a8da96
5 changed files with 33 additions and 1 deletions
|
@ -12,6 +12,10 @@
|
|||
&.past {
|
||||
border-bottom-color: $primary-low-mid;
|
||||
}
|
||||
|
||||
&.past[data-countdown] {
|
||||
color: $primary-medium;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue