Skip to content

Commit 185db31

Browse files
committed
Added mixin to be applied on input:disabled
1 parent 6790667 commit 185db31

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
@@ -102,6 +102,10 @@
102102
@apply --paper-input-container-input;
103103
}
104104

105+
input:disabled {
106+
@apply --paper-input-container-input-disabled;
107+
}
108+
105109
input::-webkit-outer-spin-button,
106110
input::-webkit-inner-spin-button {
107111
@apply --paper-input-container-input-webkit-spinner;

0 commit comments

Comments
 (0)