mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
attr fallback is not yet supported =(
This commit is contained in:
parent
d73bbe8d8c
commit
a307783644
@ -35,11 +35,11 @@ html.anon .topic-list a.title:visited:not(.badge-notification) {color: dark-ligh
|
|||||||
&.last-visit {
|
&.last-visit {
|
||||||
border-bottom: 1px solid scale-color($danger, $lightness: 60%);
|
border-bottom: 1px solid scale-color($danger, $lightness: 60%);
|
||||||
&::after {
|
&::after {
|
||||||
content: attr(data-last-visit-text, 'New');
|
content: attr(data-last-visit-text);
|
||||||
color: scale-color($danger, $lightness: 50%);
|
color: scale-color($danger, $lightness: 50%);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
margin-top: 40px;
|
margin-top: 44px;
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
background: $secondary;
|
background: $secondary;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user