]> source.dussan.org Git - nextcloud-server.git/commitdiff
improve general button coloring
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 13 Dec 2012 11:49:59 +0000 (12:49 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 13 Dec 2012 11:49:59 +0000 (12:49 +0100)
core/css/styles.css

index d5b0a348ee144947619c5288d181679e5e625967..a790fa296bbd22ad162e5fdf060169f8a3848697 100644 (file)
@@ -51,11 +51,13 @@ textarea:hover, textarea:focus, textarea:active { background-color:#fff; color:#
 
 input[type="submit"], input[type="button"], button, .button, #quota, div.jp-progress, select, .pager li a {
        width:auto; padding:.4em;
-       background:#f8f8f8; font-weight:bold; color:#555; text-shadow:#fff 0 1px 0; border:1px solid #ddd; cursor:pointer;
+       background-color:rgba(230,230,230,.5); font-weight:bold; color:#555; text-shadow:#fff 0 1px 0; border:1px solid rgba(180,180,180,.5); cursor:pointer;
        -moz-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset;
        -moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em;
 }
-input[type="submit"]:hover, input[type="submit"]:focus, input[type="button"]:hover, select:hover, select:focus, select:active, input[type="button"]:focus, .button:hover { background:#fff; color:#333; }
+input[type="submit"]:hover, input[type="submit"]:focus, input[type="button"]:hover, select:hover, select:focus, select:active, input[type="button"]:focus, .button:hover {
+       background:rgba(255,255,255,.5); color:#333;
+}
 input[type="submit"] img, input[type="button"] img, button img, .button img { cursor:pointer; }
 input[type="checkbox"] { margin:0; padding:0; height:auto; width:auto; }
 input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; }