Changed how cursors act on the page

This commit is contained in:
Kasper Rynning-Tønnesen
2016-02-08 13:12:56 +01:00
parent 50bba53145
commit c5822d77f6
5 changed files with 32 additions and 5 deletions

View File

@@ -11,7 +11,7 @@
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
<?php include("php/header.php"); ?>
</head>
<body id="channelpage" class="noselect">
<body id="channelpage" class="noselect cursor-default">
<header>
<div class="navbar-fixed">
<nav id="nav">
@@ -26,7 +26,7 @@
</div>
<ul class="title-container">
<li class="song-title truncate" id="song-title">
<li class="song-title cursor-pointer truncate" id="song-title">
Loading...
</li>
<li class="search-container hide" id="search-wrapper">

View File

@@ -4,7 +4,7 @@
<?php include("header.php"); ?>
<link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/jemjlblambcgjmmhheaklfnphncdmfmb" />
</head>
<body>
<body class="noselect cursor-default">
<header>
<nav id="fp-nav">
<div class="nav-wrapper">

View File

@@ -56,7 +56,7 @@
</div>
</div>
</div>
<footer class="page-footer">
<footer class="page-footer cursor-default">
<div class="container">
<div class="row">
<div class="col l6 s12">

View File

@@ -10,7 +10,7 @@ if(isset($_GET['chan'])){
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
<?php include("header.php"); ?>
</head>
<body class="noselect">
<body class="noselect cursor-default">
<header>
<nav id="fp-nav">
<div class="nav-wrapper">

View File

@@ -59,6 +59,25 @@
user-select: none;
}
.select{
-webkit-touch-callout: initial;
-webkit-user-select: initial;
-khtml-user-select: initial;
-moz-user-select: initial;
-ms-user-select: initial;
user-select: initial;
}
#chatchannel li, #chatall li{
cursor:text;
-webkit-touch-callout: initial;
-webkit-user-select: initial;
-khtml-user-select: initial;
-moz-user-select: initial;
-ms-user-select: initial;
user-select: initial;
}
#channel-load{
/*display:none;*/
position: absolute;
@@ -500,6 +519,14 @@ hide mdi-action-visibility mdi-action-visibility-off
text-shadow:rgba(0,0,0,0) 0px 0px 0px;
}
.cursor-pointer{
cursor:pointer;
}
.cursor-default{
cursor:default;
}
.contact-button-submit:hover{
background-color:#2d2d2d;
color:white;