N°2847 - Add SCSS helper for hyperlinks to inherit colors from their parent instead of being of the default color (brand primary)

This commit is contained in:
Molkobain
2020-10-03 23:41:50 +02:00
parent b8af22baad
commit e5b22d270e

View File

@@ -39,6 +39,7 @@
display: flex;
align-items: stretch;
}
%ibo-text-truncated-with-ellipsis{
white-space: nowrap;
overflow-x: hidden;
@@ -61,4 +62,13 @@
background-size: contain;
background-color: var(--ibo-color-grey-500);
}
}
%ibo-hyperlink-inherited-colors{
color: inherit;
&:hover,
&:active{
color: inherit;
}
}