| 1 |
.odoo-editor-editable a.o_link_in_selection:not(.btn) { |
| 2 |
background-color: #a6e3e2; |
| 3 |
color: black !important; |
| 4 |
border: 1px dashed #008f8c; |
| 5 |
margin: -1px; |
| 6 |
} |
| 7 |
|
| 8 |
.odoo-editor-editable { |
| 9 |
&[contenteditable=true], [contenteditable=true] { |
| 10 |
&.btn, .btn { |
| 11 |
user-select: auto; |
| 12 |
cursor: text; |
| 13 |
} |
| 14 |
} |
| 15 |
|
| 16 |
[contenteditable=false] .btn { |
| 17 |
cursor: pointer; |
| 18 |
} |
| 19 |
|
| 20 |
// Unset the font size and family applied by `.btn` |
| 21 |
// if inside `FONT_SIZE_CLASSES`. |
| 22 |
span[class$="-fs"], |
| 23 |
span.small, |
| 24 |
span[style*="font-size"] { |
| 25 |
.btn:not(:has(span[class$="-fs"], span.small, span[style*="font-size"])) { |
| 26 |
font-family: unset; |
| 27 |
font-size: unset; |
| 28 |
} |
| 29 |
a:not(.btn) { |
| 30 |
font-size: inherit !important; |
| 31 |
} |
| 32 |
} |
| 33 |
font[class^="text-o-"] a, |
| 34 |
font[style*="color"] a { |
| 35 |
color: inherit !important; |
| 36 |
} |
| 37 |
} |