[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.
This commit is contained in:
parent
2e693b3c4a
commit
91cb3ca026
@ -12,15 +12,27 @@ div[aria-label="related navigation"] {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
position: relative;
|
position: relative;
|
||||||
a:not(:hover), a.o_logo {
|
a {
|
||||||
text-decoration: none !important;
|
@include media-breakpoint-down(lg) {
|
||||||
}
|
overflow-wrap: anywhere;
|
||||||
|
}
|
||||||
|
|
||||||
a.external:after {
|
&:not(:hover), &.o_logo {
|
||||||
content: '#{$i-external-link}';
|
text-decoration: none !important;
|
||||||
font-family: icomoon, sans-serif !important;
|
}
|
||||||
@include font-size($font-size-base/1.3);
|
|
||||||
margin: 0 .2rem;
|
&: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 {
|
dd {
|
||||||
|
Loading…
Reference in New Issue
Block a user