Skip to content

Commit 5722373

Browse files
authored
Merge pull request #540 from robertop87/chore/added-mixin-input-disabled
Added mixin to be applied on input:disabled
2 parents b03fe85 + 185db31 commit 5722373

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

paper-input-container.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
`--paper-input-container-label-focus` | Mixin applied to the label when the input is focused | `{}`
100100
`--paper-input-container-label-floating` | Mixin applied to the label when floating | `{}`
101101
`--paper-input-container-input` | Mixin applied to the input | `{}`
102+
`--paper-input-container-input-disabled` | Mixin applied to the input when the component is disabled | `{}`
102103
`--paper-input-container-input-focus` | Mixin applied to the input when focused | `{}`
103104
`--paper-input-container-input-invalid` | Mixin applied to the input when invalid | `{}`
104105
`--paper-input-container-input-webkit-spinner` | Mixin applied to the webkit spinner | `{}`

paper-input.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@
109109
@apply --paper-input-container-input;
110110
}
111111

112+
input:disabled {
113+
@apply --paper-input-container-input-disabled;
114+
}
115+
112116
input::-webkit-outer-spin-button,
113117
input::-webkit-inner-spin-button {
114118
@apply --paper-input-container-input-webkit-spinner;

0 commit comments

Comments
 (0)