Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add user-select:none to CSS

  • Loading branch information...
commit 13bdc54243737dff23a18764ebbb6fb0c590651e 1 parent 887d808
@jaysalvat authored
Showing with 25 additions and 17 deletions.
  1. +25 −17 jquery.vegas.css
View
42 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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.