This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +138
-101
lines changed
packages/mdc-tab-indicator Expand file tree Collapse file tree 5 files changed +138
-101
lines changed Original file line number Diff line number Diff line change 131
131
"stylelint-config-standard" : " ^18.0.0" ,
132
132
"stylelint-order" : " ^2.0.0" ,
133
133
"stylelint-scss" : " ^3.0.0" ,
134
- "stylelint-selector-bem-pattern" : " ^1.0 .0" ,
134
+ "stylelint-selector-bem-pattern" : " ^2.1 .0" ,
135
135
"testdouble" : " ^3.2.4" ,
136
136
"to-slug-case" : " ^1.0.0" ,
137
137
"ts-loader" : " ^3.5.0" ,
Original file line number Diff line number Diff line change 28
28
}
29
29
30
30
@mixin mdc-tab-indicator-underline-color ($color ) {
31
- > .mdc-tab-indicator__content--underline {
31
+ .mdc-tab-indicator__content--underline {
32
32
@include mdc-theme-prop (background-color , $color );
33
33
}
34
34
}
35
35
36
36
@mixin mdc-tab-indicator-underline-height ($height ) {
37
- > .mdc-tab-indicator__content--underline {
37
+ .mdc-tab-indicator__content--underline {
38
38
height : $height ;
39
39
}
40
40
}
41
41
42
42
@mixin mdc-tab-indicator-underline-top-corner-radius ($radius ) {
43
- > .mdc-tab-indicator__content--underline {
43
+ .mdc-tab-indicator__content--underline {
44
44
border-top-left-radius : $radius ;
45
45
border-top-right-radius : $radius ;
46
46
}
47
47
}
48
48
49
49
@mixin mdc-tab-indicator-icon-color ($color ) {
50
- > .mdc-tab-indicator__content--icon {
50
+ .mdc-tab-indicator__content--icon {
51
51
@include mdc-theme-prop (color , $color );
52
52
}
53
53
}
54
54
55
55
@mixin mdc-tab-indicator-icon-height ($height ) {
56
- > .mdc-tab-indicator__content--icon {
56
+ .mdc-tab-indicator__content--icon {
57
57
height : $height ;
58
58
font-size : $height ;
59
59
}
Original file line number Diff line number Diff line change 57
57
margin : 0 auto ;
58
58
}
59
59
60
- .mdc-tab-indicator--active > .mdc-tab-indicator__content {
60
+ .mdc-tab-indicator--active .mdc-tab-indicator__content {
61
61
opacity : 1 ;
62
62
}
63
63
64
64
// Slide by default
65
- .mdc-tab-indicator > .mdc-tab-indicator__content {
65
+ .mdc-tab-indicator .mdc-tab-indicator__content {
66
66
transition : 250ms transform $mdc-animation-standard-curve-timing-function ;
67
67
}
68
68
69
69
// --no-transition is applied in cases where styles need to be applied immediately to set up a transition
70
- .mdc-tab-indicator--no-transition > .mdc-tab-indicator__content {
70
+ .mdc-tab-indicator--no-transition .mdc-tab-indicator__content {
71
71
transition : none ;
72
72
}
73
73
74
- .mdc-tab-indicator--fade > .mdc-tab-indicator__content {
74
+ .mdc-tab-indicator--fade .mdc-tab-indicator__content {
75
75
transition : 150ms opacity linear ;
76
76
}
77
77
78
78
// postcss-bem-linter: ignore
79
- .mdc-tab-indicator--active.mdc-tab-indicator--fade > .mdc-tab-indicator__content {
79
+ .mdc-tab-indicator--active.mdc-tab-indicator--fade .mdc-tab-indicator__content {
80
80
transition-delay : 100ms ;
81
81
}
82
82
You can’t perform that action at this time.
0 commit comments