mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +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;
|
|
}
|
|
}
|
|
}
|