Parcourir la source

Add user-select:none to CSS

Jay Salvat il y a 12 ans
Parent
commit
13bdc54243
1 fichiers modifiés avec 25 ajouts et 17 suppressions
  1. 25 17
      jquery.vegas.css

+ 25 - 17
jquery.vegas.css

@@ -1,26 +1,34 @@
 .vegas-loading {
-	/* Loading Gif by http://preloaders.net/ */
-	-moz-border-radius:10px; -webkit-border-radius:10px; border-radius:10px;
-	background:#000 url(images/loading.gif) no-repeat center center;
-	background:rgba(0, 0, 0, 0.7) url(images/loading.gif) no-repeat center center;
-	height:32px;
-	left:20px;
-	position:fixed;
-	top:20px;
-	width:32px; 
-	z-index:0;
+	border-radius: 10px;
+	background: #000;
+	background: rgba(0,0,0,0.7);
+	background: url(images/loading.gif) no-repeat center center; /* Loading Gif by http://preloaders.net/ */
+	height: 32px;
+	left: 20px;
+	position: fixed;
+	top: 20px;
+	width: 32px; 
+	z-index: 0;
 }
 
 .vegas-overlay {
-	background:transparent url(overlays/01.png);
-	opacity:0.5;
-	z-index:-1;
+	background: transparent url(overlays/01.png);
+	opacity: 0.5;
+	z-index: -1;
 }
 
 .vegas-background {
-	image-rendering: optimizeQuality;
 	-ms-interpolation-mode: bicubic;
-	z-index:-2;
-    /* counteracts global img modification by twitter bootstrap library */
-    max-width: none !important;
+	image-rendering: optimizeQuality;
+    max-width: none !important; /* counteracts global img modification by twitter bootstrap library */
+	z-index: -2;
+}
+
+.vegas-overlay,
+.vegas-background {
+	-webkit-user-select: none;
+	 -khtml-user-select: none;
+	   -moz-user-select: none;
+	    -ms-user-select: none;
+	        user-select: none;
 }