summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-04-03 18:45:03 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-04-03 18:45:03 +0200
commita35d869e15c9a18c12e6e3f5694b7969aeb25fde (patch)
tree7cb43a7e86c20128d1e036c06288cb6b9a722e0a /core
parent1c55b3a969797d95d57fe6652c802daba8a38786 (diff)
downloadnextcloud-server-a35d869e15c9a18c12e6e3f5694b7969aeb25fde.tar.gz
nextcloud-server-a35d869e15c9a18c12e6e3f5694b7969aeb25fde.zip
add styles for disabled input fields
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.css9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index a5a867dc0ea..20a9da776d0 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -100,6 +100,15 @@ select:hover, select:focus, select:active {
input[type="submit"] img, input[type="button"] img, button img, .button img { cursor:pointer; }
#header .button { border:none; -moz-box-shadow:none; -webkit-box-shadow:none; box-shadow:none; }
+/* disabled input fields and buttons */
+input:disabled, input:disabled:hover, input:disabled:focus,
+button:disabled, button:disabled:hover, button:disabled:focus,
+.button:disabled, .button:disabled:hover, .button:disabled:focus {
+ background: rgba(230,230,230,.9);
+ color: #999;
+ cursor: default;
+}
+
/* Primary action button, use sparingly */
.primary, input[type="submit"].primary, input[type="button"].primary, button.primary, .button.primary {
border:1px solid #1d2d44;