[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
parent f5c4792640
commit 29748e888c
2 changed files with 7 additions and 8 deletions

View File

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

View File

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