File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 4
4
flex-direction : row ;
5
5
align-items : center ;
6
6
padding : 0 24px ;
7
+ border-radius : inherit ;
7
8
8
9
& :focus ,
9
10
& :hover {
Original file line number Diff line number Diff line change 3
3
@import ' ../../cdk/a11y/a11y' ;
4
4
5
5
.mat-expansion-panel {
6
+ $border-radius : 4px ;
7
+
6
8
@include mat-elevation-transition ;
7
9
@include mat-overridable-elevation (2 );
8
10
box-sizing : content-box ;
9
11
display : block ;
10
12
margin : 0 ;
11
13
transition : margin 225ms $mat-fast-out-slow-in-timing-function ;
14
+ border-radius : $border-radius ;
15
+
16
+ .mat-accordion & {
17
+ & :not (.mat-expanded ), & :not (.mat-expansion-panel-spacing ) {
18
+ border-radius : 0 ;
19
+ }
20
+
21
+ & :first-of-type {
22
+ border-top-right-radius : $border-radius ;
23
+ border-top-left-radius : $border-radius ;
24
+ }
25
+
26
+ & :last-of-type {
27
+ border-bottom-right-radius : $border-radius ;
28
+ border-bottom-left-radius : $border-radius ;
29
+ }
30
+ }
12
31
13
32
@include cdk-high-contrast {
14
33
outline : solid 1px ;
You can’t perform that action at this time.
0 commit comments