]> source.dussan.org Git - nextcloud-server.git/commitdiff
use user-select: none; on header, navigation and user menu
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Fri, 23 May 2014 15:57:29 +0000 (17:57 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Fri, 23 May 2014 15:57:29 +0000 (17:57 +0200)
core/css/styles.css

index 975f0160b15248bd4be71de7162928d6e8bdb310..1ca90439de2cfcdfdb1afac09ea08b438ccf96b0 100644 (file)
@@ -204,6 +204,16 @@ input img, button img, .button img {
 }
 
 
+/* prevent ugly selection effect on accidental selection */
+#header,
+#navigation,
+#expanddiv {
+       -webkit-user-select: none;
+       -moz-user-select: none;
+       -ms-user-select: none;
+}
+
+
 /* SCROLLING */
 ::-webkit-scrollbar {
        width: 8px;
@@ -709,8 +719,6 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
        overflow-y: auto;
        overflow-x: hidden;
        -moz-box-sizing:border-box; box-sizing:border-box;
-       /* prevent ugly selection effect on accidental selection */
-       -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
 }
 #apps {
        height: 100%;
@@ -801,8 +809,6 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
        border-bottom-left-radius:7px; border-bottom:1px #333 solid; border-left:1px #333 solid;
        box-shadow:0 0 7px rgb(29,45,68);
        -moz-box-sizing: border-box; box-sizing: border-box;
-       /* prevent ugly selection effect on accidental selection */
-       -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
 }
        #expanddiv a {
                display: block;