styles: Convert [readonly] selector to :read-only pseudo-class.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-10-29 16:38:24 -07:00 committed by Tim Abbott
parent 192f1eb0fc
commit b98434682e
1 changed files with 2 additions and 1 deletions

View File

@ -116,7 +116,8 @@ on a dark background, and don't change the dark labels dark either. */
/* these are converting grey things to "new grey" */ /* these are converting grey things to "new grey" */
:disabled, :disabled,
*[readonly="readonly"], input:read-only,
textarea:read-only,
.sidebar-title, .sidebar-title,
.recipient_row_date { .recipient_row_date {
color: inherit; color: inherit;