File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,15 @@ $fallbacks: m3-radio.get-tokens();
7777 }
7878 }
7979 }
80+
81+ .mdc-radio--disabled {
82+ cursor : default ;
83+ pointer-events : none ;
84+
85+ @include cdk .high-contrast {
86+ opacity : 0.5 ;
87+ }
88+ }
8089 }
8190
8291 .mdc-radio__background {
@@ -149,7 +158,8 @@ $fallbacks: m3-radio.get-tokens();
149158 width : token-utils .slot (radio-state-layer-size , $fallbacks );
150159 height : token-utils .slot (radio-state-layer-size , $fallbacks );
151160
152- & :checked , & :disabled {
161+ & :checked ,
162+ & :disabled {
153163 + .mdc-radio__background {
154164 transition : _enter-transition (opacity ), _enter-transition (transform );
155165
@@ -237,8 +247,7 @@ $fallbacks: m3-radio.get-tokens();
237247 pointer-events : auto ;
238248
239249 // stylelint-disable selector-combinator-space-before
240- .mdc-radio__native-control :not (:checked ) + .mdc-radio__background
241- > .mdc-radio__outer-circle {
250+ .mdc-radio__native-control :not (:checked ) + .mdc-radio__background > .mdc-radio__outer-circle {
242251 border-color : token-utils .slot (radio-disabled-unselected-icon-color , $fallbacks );
243252 opacity : token-utils .slot (radio-disabled-unselected-icon-opacity , $fallbacks );
244253 }
You can’t perform that action at this time.
0 commit comments