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