diff --git a/src/forms/css/forms.css b/src/forms/css/forms.css index e434b34..c45ba77 100644 --- a/src/forms/css/forms.css +++ b/src/forms/css/forms.css @@ -78,15 +78,18 @@ .pure-form input[type="tel"][disabled], .pure-form input[type="color"][disabled], .pure-form select[disabled], -.pure-form textarea[disabled], -.pure-form input[readonly], -.pure-form select[readonly], -.pure-form textarea[readonly] { +.pure-form textarea[disabled] { cursor: not-allowed; background-color: #eaeded; color: #cad2d3; border-color: transparent; } +.pure-form input[readonly], +.pure-form select[readonly], +.pure-form textarea[readonly] { + cursor: not-allowed; + color: #777; +} .pure-form input:focus:invalid, .pure-form textarea:focus:invalid, .pure-form select:focus:invalid { diff --git a/src/forms/tests/manual/forms.html b/src/forms/tests/manual/forms.html index 247a348..c3f6ae8 100644 --- a/src/forms/tests/manual/forms.html +++ b/src/forms/tests/manual/forms.html @@ -250,7 +250,13 @@

Disabled Inputs

Add the disabled attribute to any form control.

- + +
+ +

Readonly Inputs

+

Add the readonly attribute to any form control.

+
+

Rounded Form