From 5a5a5f9825345ee68a71b9fd3b6b6c7afe81310d Mon Sep 17 00:00:00 2001 From: rstular Date: Thu, 30 Jan 2020 00:46:24 +0100 Subject: Attempted to fix blue flash on checkbox, fixed default view --- css/styles.css | 10 ++++++++++ js/initialize.js | 2 +- pages/grades.html | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index 25e5fe0..73c6be6 100644 --- a/css/styles.css +++ b/css/styles.css @@ -89,4 +89,14 @@ a.collection-item { .fc-unthemed td.fc-today { background: var(--color-primary-light); +} + +.no-select { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; + -webkit-tap-highlight-color: transparent; } \ No newline at end of file diff --git a/js/initialize.js b/js/initialize.js index bfad5fc..39ed505 100644 --- a/js/initialize.js +++ b/js/initialize.js @@ -28,7 +28,7 @@ localforage.getItem("logged_in") } else if (value === false) { window.location.replace("/login.html"); } else { - window.location.replace("/pages/teachers.html"); + window.location.replace("/pages/timetable.html"); } } ).catch( diff --git a/pages/grades.html b/pages/grades.html index 6332d59..2c300cc 100644 --- a/pages/grades.html +++ b/pages/grades.html @@ -103,7 +103,7 @@