0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-28 17:13:31 +01:00
wagtail/client/scss/components/_human-readable-date.scss
2019-04-11 11:08:47 +02:00

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;
}
}
}