Skip to content

Commit

Permalink
fix(bp-input): Added readonly behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
liviaalmeida committed May 22, 2018
1 parent 9ebb794 commit 18f7840
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/scss/components/_input.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
.bp-input, .bp-input[disabled],
.bp-input[type="email"], .bp-input[type="email"][disabled],
.bp-input[type="number"], .bp-input[type="number"][disabled],
.bp-input[type="search"], .bp-input[type="search"][disabled],
.bp-input[type="text"], .bp-input[type="text"][disabled],
.bp-input[type="tel"], .bp-input[type="tel"][disabled],
.bp-input[type="url"], .bp-input[type="url"][disabled],
.bp-input[type="password"], .bp-input[type="password"][disabled] {
.bp-input[type="email"], .bp-input[type="email"][disabled], bp-input[type="email"][readonly],
.bp-input[type="number"], .bp-input[type="number"][disabled], bp-input[type="number"][readonly],
.bp-input[type="search"], .bp-input[type="search"][disabled], bp-input[type="search"][readonly],
.bp-input[type="text"], .bp-input[type="text"][disabled], bp-input[type="text"][readonly],
.bp-input[type="tel"], .bp-input[type="tel"][disabled], bp-input[type="tel"][readonly],
.bp-input[type="url"], .bp-input[type="url"][disabled], bp-input[type="url"][readonly],
.bp-input[type="password"], .bp-input[type="password"][disabled], .bp-input[type="password"][readonly] {
border: none;
font-size: $bp-fs-6;
background: transparent;
Expand Down

0 comments on commit 18f7840

Please sign in to comment.