[IMP][CSS] Replace text-decoration on link with BS override

This commit is contained in:
Elisabeth Dickinson 2023-01-02 14:03:03 +01:00 committed by Antoine Vandevenne (anv)
parent 35230f0fc5
commit e74a893812
2 changed files with 7 additions and 8 deletions

View File

@ -56,10 +56,13 @@ $font-weight-bolder: 700;
$thumbnail-padding: .5rem;
// Links
$link-decoration: none;
$link-hover-decoration: underline;
// Buttons
// For each of Bootstrap's buttons, define text, background, and border color.
$btn-font-size: .875rem;
$btn-close-padding-x: 0;
$btn-font-weight: 500;
$btn-close-focus-shadow: 0 0 0 0 transparent;

View File

@ -17,13 +17,7 @@ body {
position: relative;
a {
&:not(:hover), &.o_logo {
text-decoration: none !important;
}
&:hover {
text-underline-position: from-font;
}
text-underline-position: from-font;
&.external:not(.image-reference):after {
content: '#{$i-external-link}';
@ -100,6 +94,8 @@ header {
}
> .o_logo {
text-decoration: none;
img {
vertical-align: baseline;
margin-bottom: -2px;