Merge pull request #155 from tilomitra/readonly-focus

fix #143 by removing specific :focus styles for readonly inputs
This commit is contained in:
Tilo 2013-08-05 12:14:13 -07:00
commit 7b4ba448b2
2 changed files with 4 additions and 5 deletions

View File

@ -4,8 +4,11 @@ Pure Change History
NEXT
----
### Forms
* Added `:focus` styles to `[readonly]` `<input>` elements. ([#143][])
[#143]: https://github.com/yui/pure/issues/143
0.2.1 (2013-07-17)
------------------

View File

@ -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 {