File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
src/material-experimental/mdc-button Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 9
9
10
10
.mat-mdc-button , .mat-mdc-unelevated-button , .mat-mdc-raised-button , .mat-mdc-outlined-button {
11
11
@include mdc-button-density (0 , $mat-base-styles-query );
12
+ @include _mat-button-interactive ();
13
+ @include _mat-button-disabled ();
14
+ }
12
15
13
- // Add an outline to make buttons more visible in high contrast mode. Stroked buttons
14
- // don't need a special look in high-contrast mode, because those already have an outline.
16
+ // Add an outline to make buttons more visible in high contrast mode. Stroked buttons
17
+ // don't need a special look in high-contrast mode, because those already have an outline.
18
+ .mat-mdc-button :not (.mdc-button--outlined ),
19
+ .mat-mdc-unelevated-button :not (.mdc-button--outlined ),
20
+ .mat-mdc-raised-button :not (.mdc-button--outlined ),
21
+ .mat-mdc-outlined-button :not (.mdc-button--outlined ),
22
+ .mat-mdc-fab ,
23
+ .mat-mdc-mini-fab ,
24
+ .mat-mdc-icon-button {
15
25
@include cdk-high-contrast {
16
- & :not (.mdc-button--outlined ) {
17
- outline : solid 1px ;
18
- }
26
+ outline : solid 1px ;
19
27
}
20
-
21
- @include _mat-button-interactive ();
22
- @include _mat-button-disabled ();
23
28
}
24
29
25
30
// Since the stroked button has has an actual border that reduces the available space for
You can’t perform that action at this time.
0 commit comments