summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2012-12-13 12:51:45 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2012-12-13 12:51:45 +0100
commit2c41ae437287a2f151936916f942f5447e5015b4 (patch)
treeffe19ee0e350b758ff0ba2344b63244ca954df78 /core
parent7881bf1d4d792f23353d84de1df05c540c31c201 (diff)
downloadnextcloud-server-2c41ae437287a2f151936916f942f5447e5015b4.tar.gz
nextcloud-server-2c41ae437287a2f151936916f942f5447e5015b4.zip
small code reordering of inputs and buttons
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.css11
1 files changed, 6 insertions, 5 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index a790fa296bb..032556cbb57 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -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;