mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02: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 */
|
||||
::-moz-selection {
|
||||
text-shadow:none;
|
||||
color: #ffffff;
|
||||
background: #1389CE;
|
||||
}
|
||||
|
||||
::selection {
|
||||
text-shadow: none;
|
||||
color: #ffffff;
|
||||
background: #1389CE;
|
||||
}
|
||||
|
||||
/*! links */
|
||||
@ -343,4 +347,4 @@ table {
|
||||
background: -ms-linear-gradient(top, #599BDC 1%,#3072B3 100%); /* IE10+ */
|
||||
background: linear-gradient(to bottom, #599BDC 1%,#3072B3 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#599BDC', endColorstr='#3072B3',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user