From d4fce99f8149f352f5bba9deced0c98198d5c4d9 Mon Sep 17 00:00:00 2001 From: BlueRaja Date: Thu, 7 Mar 2013 04:26:49 -0600 Subject: Changed pointer on left/right arrows in score page, and made them unselectable (via new global '.unselectable' class, which you can use elsewhere if you want) --- css/page.css | 9 +++++++++ css/stats.css | 2 +- includes/header.php | 3 +-- js/globe.js | 12 ++++++++---- js/scores.js | 25 +++++++++++++------------ pages/scores.php | 4 ++-- 6 files changed, 34 insertions(+), 21 deletions(-) diff --git a/css/page.css b/css/page.css index 46563d2..ec0f1c9 100644 --- a/css/page.css +++ b/css/page.css @@ -507,5 +507,14 @@ table.score th { background-color:#356; cursor:default; } +.unselectable +{ + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} diff --git a/css/stats.css b/css/stats.css index 1009476..282f58a 100644 --- a/css/stats.css +++ b/css/stats.css @@ -63,7 +63,7 @@ cursor: auto; } .mapNavActive { - cursor: auto; + cursor: pointer; } .mapNavActive:hover { background-color: #343c57; diff --git a/includes/header.php b/includes/header.php index 44d028e..cf427e4 100644 --- a/includes/header.php +++ b/includes/header.php @@ -20,11 +20,10 @@ function htmlHeader($css = array(), $title = 'Pathery', $desc = '', $scripts = a foreach ($scripts as $s) echo ""; ?> + - -