mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-28 17:13:31 +01:00
22 lines
397 B
SCSS
22 lines
397 B
SCSS
// Displays 'timesince' formatted date with full date on hover
|
|
.human-readable-date {
|
|
overflow: hidden;
|
|
display: block;
|
|
position: relative;
|
|
|
|
&:before {
|
|
position: absolute;
|
|
display: none;
|
|
content: attr(title);
|
|
}
|
|
|
|
&:hover {
|
|
visibility: hidden;
|
|
|
|
&:before {
|
|
visibility: visible;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|