Commit e1d23b81 authored by Jérome Perrin's avatar Jérome Perrin

html_style: style selected text

Especially in chrome (75), it's very hard to see selected text in erp5
xhtml style interface, especially in listboxs.
Chrome adds a background color to selected text, but this background is
almost same color as ERP5 background.

This uses https://developer.mozilla.org/en-US/docs/Web/CSS/::selection
to make it visually clear what is selected.

/reviewed-on !889
parent 919cb273
...@@ -1229,3 +1229,7 @@ body[dir="rtl"] .access_tab_table td > div > ul { ...@@ -1229,3 +1229,7 @@ body[dir="rtl"] .access_tab_table td > div > ul {
padding-right: 10px !important; padding-right: 10px !important;
padding-left: 0 !important; padding-left: 0 !important;
} }
::selection {
background: orange;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment