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:
3Dgoo 2014-12-03 09:35:01 +10:30
parent bda0b00b18
commit b239e87fe2

View File

@ -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 */
}
}