mirror of
https://github.com/pure-css/pure.git
synced 2024-11-24 10:44:21 +00:00
Merge pull request #155 from tilomitra/readonly-focus
fix #143 by removing specific :focus styles for readonly inputs
This commit is contained in:
commit
7b4ba448b2
@ -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)
|
||||
------------------
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user