diff --git a/css/style.uni-form.css b/css/style.uni-form.css index 63137bf..ca9a9bd 100644 --- a/css/style.uni-form.css +++ b/css/style.uni-form.css @@ -95,6 +95,16 @@ .uni-form .input-file {} +/* Disabled inputs */ + +.uni-form .input-disabled { + background-color: #f4f4f4; + border-color: #ccc; + color: #999; + -webkit-box-shadow: none; + box-shadow: none; +} + /* ========================================================================== Widths ========================================================================== */ @@ -197,6 +207,23 @@ color: #999; } +/* Disabled actions */ + +.uni-form .action-disabled, +.uni-form .action-disabled:link, +.uni-form .action-disabled:visited, +.uni-form .action-disabled:focus, +.uni-form .action-disabled:hover, +.uni-form .action-disabled:active { + background: #ccc; + border: 1px solid #aaa; + color: #999; + text-shadow: 1px 1px 0 rgba(255,255,255,.25); + -webkit-box-shadow: none; + box-shadow: none; + cursor: default; +} + /* ========================================================================== Required fields asterisks ========================================================================== */ diff --git a/demos/fauxform.html b/demos/fauxform.html index 269db09..742c67b 100755 --- a/demos/fauxform.html +++ b/demos/fauxform.html @@ -441,10 +441,32 @@

Columns

-
- - -
+
+ +

Disabled Fields

+ +
+ + +

This is a form hint.

+
+ +
+ +
+ +
+ +
+ +

Actions

+ +
+ + +
+ +