mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 09:05:56 +00:00
Fixing text highlight css
By setting anything to ::selection in the css it resets all selection styling. Meaning highlighted text does not show any indication of highlighting. I have added in the selection color and background so text appears highlighted when selected.
This commit is contained in:
parent
bda0b00b18
commit
b239e87fe2
@ -1,10 +1,14 @@
|
|||||||
/*! text selection */
|
/*! text selection */
|
||||||
::-moz-selection {
|
::-moz-selection {
|
||||||
text-shadow:none;
|
text-shadow:none;
|
||||||
|
color: #ffffff;
|
||||||
|
background: #1389CE;
|
||||||
}
|
}
|
||||||
|
|
||||||
::selection {
|
::selection {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
|
color: #ffffff;
|
||||||
|
background: #1389CE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*! links */
|
/*! links */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user