[IMP] odoo_theme: improve URL stylings

- Remove external-link icon on images.
- Remove underline from external-link icon on link hover.
- Add overflow-wrap on URLs on mobile.

X-original-commit: 91cb3ca026
This commit is contained in:
Elisabeth Dickinson 2022-06-15 11:18:15 +02:00 committed by Antoine Vandevenne (anv)
parent cfa9494c33
commit 568b75790b

View File

@ -12,15 +12,27 @@ div[aria-label="related navigation"] {
body {
position: relative;
a:not(:hover), a.o_logo {
text-decoration: none !important;
}
a {
@include media-breakpoint-down(lg) {
overflow-wrap: anywhere;
}
a.external:after {
content: '#{$i-external-link}';
font-family: icomoon, sans-serif !important;
@include font-size($font-size-base/1.3);
margin: 0 .2rem;
&:not(:hover), &.o_logo {
text-decoration: none !important;
}
&:hover {
text-underline-position: from-font;
}
&.external {
&:not(.image-reference):after {
content: '#{$i-external-link}';
font-family: icomoon, sans-serif !important;
@include font-size($font-size-base/1.3);
margin: 0 .2rem;
}
}
}
dd {