Преглед на файлове

prevent user-selection of info/dg text

WestLangley преди 6 години
родител
ревизия
929fa2a68c
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 8 0
      examples/main.css

+ 8 - 0
examples/main.css

@@ -32,9 +32,17 @@ canvas {
 	padding: 10px;
 	padding: 10px;
 	box-sizing: border-box;
 	box-sizing: border-box;
 	text-align: center;
 	text-align: center;
+	-moz-user-select: none;
+	-webkit-user-select: none;
+	-ms-user-select: none;
+	user-select: none;
 	z-index: 1; /* TODO Solve this in HTML */
 	z-index: 1; /* TODO Solve this in HTML */
 }
 }
 
 
 .dg.ac {
 .dg.ac {
+	-moz-user-select: none;
+	-webkit-user-select: none;
+	-ms-user-select: none;
+	user-select: none;
 	z-index: 2 !important; /* TODO Solve this in HTML */
 	z-index: 2 !important; /* TODO Solve this in HTML */
 }
 }