diff --git a/HISTORY.md b/HISTORY.md index a373b45..f48363f 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,8 +4,11 @@ Pure Change History NEXT ---- +### Forms +* Added `:focus` styles to `[readonly]` `` elements. ([#143][]) +[#143]: https://github.com/yui/pure/issues/143 0.2.1 (2013-07-17) ------------------ diff --git a/src/forms/css/forms.css b/src/forms/css/forms.css index 79d7b3c..709ac85 100644 --- a/src/forms/css/forms.css +++ b/src/forms/css/forms.css @@ -85,16 +85,12 @@ } .pure-form input[readonly], .pure-form select[readonly], -.pure-form textarea[readonly], -.pure-form input[readonly]:focus, -.pure-form select[readonly]:focus, -.pure-form textarea[readonly]:focus { +.pure-form textarea[readonly] { background: #eee; /* menu hover bg color */ color: #777; /* menu text color */ border-color: #ccc; } - .pure-form input:focus:invalid, .pure-form textarea:focus:invalid, .pure-form select:focus:invalid {