File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 25
25
& [type = " file" ] {
26
26
overflow : hidden ; // prevent pseudo element button overlap
27
27
28
- & :not (:disabled ):not (:read-only ) {
28
+ & :not (:disabled ):not ([ readonly ] ) {
29
29
cursor : pointer ;
30
30
}
31
31
}
65
65
// disabled if the fieldset is disabled. Due to implementation difficulty, we
66
66
// don't honor that edge case; we style them as disabled anyway.
67
67
& :disabled ,
68
- & :read-only {
68
+ & [ readonly ] {
69
69
background-color : $input-disabled-bg ;
70
70
border-color : $input-disabled-border-color ;
71
71
// iOS fix for unreadable disabled content; see https://github.com/twbs/bootstrap/issues/11655.
88
88
@include transition ($btn-transition );
89
89
}
90
90
91
- & :hover:not (:disabled ):not (:read-only )::file-selector-button {
91
+ & :hover:not (:disabled ):not ([ readonly ] )::file-selector-button {
92
92
background-color : $form-file-button-hover-bg ;
93
93
}
94
94
107
107
@include transition ($btn-transition );
108
108
}
109
109
110
- & :hover:not (:disabled ):not (:read-only )::-webkit-file-upload-button {
110
+ & :hover:not (:disabled ):not ([ readonly ] )::-webkit-file-upload-button {
111
111
background-color : $form-file-button-hover-bg ;
112
112
}
113
113
}
@@ -203,7 +203,7 @@ textarea {
203
203
height : auto ; // Override fixed browser height
204
204
padding : $input-padding-y ;
205
205
206
- & :not (:disabled ):not (:read-only ) {
206
+ & :not (:disabled ):not ([ readonly ] ) {
207
207
cursor : pointer ;
208
208
}
209
209
You can’t perform that action at this time.
0 commit comments