summaryrefslogtreecommitdiffstats
path: root/css
diff options
context:
space:
mode:
authorBlueRaja <BlueRaja.admin@gmail.com>2013-06-02 18:13:06 -0500
committerBlueRaja <BlueRaja.admin@gmail.com>2013-06-02 18:13:06 -0500
commitcf8404056ffbaf69b89e14cc010c50a4e6259bb5 (patch)
tree00a0ca45335cfd35eb8ded06ea8027b9aa949dd0 /css
parented5a3cae68e6d9cdb4a3421faeae17d66ae211a9 (diff)
downloadpathery-cf8404056ffbaf69b89e14cc010c50a4e6259bb5.tar.xz
Fixing up spoilers - they now use the 'pointer' cursor, and hide correctly for links.
Diffstat (limited to 'css')
-rw-r--r--css/chat.css17
1 files changed, 17 insertions, 0 deletions
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;