From cf8404056ffbaf69b89e14cc010c50a4e6259bb5 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Sun, 2 Jun 2013 18:13:06 -0500 Subject: Fixing up spoilers - they now use the 'pointer' cursor, and hide correctly for links. --- css/chat.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'css') diff --git a/css/chat.css b/css/chat.css index 5279cf8..5973b4d 100644 --- a/css/chat.css +++ b/css/chat.css @@ -143,7 +143,24 @@ .chatText.spoiler { color:transparent; + + /* Change cursor to pointer - http://stackoverflow.com/a/2076480/238419 */ + cursor: pointer; + cursor: hand; + + /* Don't allow selection - http://stackoverflow.com/a/4407335/238419 */ + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} + +.chatText.spoiler a { + color:transparent; } + .chatText.spoiler:before { content: " Click to reveal Spoiler "; color:#7AF; -- cgit v1.2.3