]> source.dussan.org Git - nextcloud-server.git/commitdiff
small code reordering of inputs and buttons
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 13 Dec 2012 11:51:45 +0000 (12:51 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 13 Dec 2012 11:51:45 +0000 (12:51 +0100)
core/css/styles.css

index a790fa296bbd22ad162e5fdf060169f8a3848697..032556cbb57081b7159842cecd3471dae80606e1 100644 (file)
@@ -48,7 +48,12 @@ input[type="text"]:hover, input[type="text"]:focus, input[type="text"]:active,
 input[type="password"]:hover, input[type="password"]:focus, input[type="password"]:active,
 .searchbox input[type="search"]:hover, .searchbox input[type="search"]:focus, .searchbox input[type="search"]:active,
 textarea:hover, textarea:focus, textarea:active { background-color:#fff; color:#333; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; }
+input[type="checkbox"] { margin:0; padding:0; height:auto; width:auto; }
+input[type="checkbox"]:hover+label, input[type="checkbox"]:focus+label { color:#111 !important; }
+#quota { cursor:default; }
+
 
+/* BUTTONS */
 input[type="submit"], input[type="button"], button, .button, #quota, div.jp-progress, select, .pager li a {
        width:auto; padding:.4em;
        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;
@@ -59,12 +64,8 @@ input[type="submit"]:hover, input[type="submit"]:focus, input[type="button"]:hov
        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; }
-#quota { cursor:default; }
-
 
-/* PRIMARY ACTION BUTTON, use sparingly */
+/* Primary action button, use sparingly */
 .primary, input[type="submit"].primary, input[type="button"].primary, button.primary, .button.primary {
        border:1px solid #1d2d44;
        background:#35537a; color:#ddd; text-shadow:#000 0 -1px 0;