This repository was archived by the owner on Jan 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Expand file tree Collapse file tree 3 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 21
21
//
22
22
23
23
// Selector '.mdc-*' should only be used in this project.
24
- // stylelint-disable selector-class-pattern
24
+ // stylelint-disable selector-class-pattern --
25
+ // Internal styling for Dialog MDC component.
25
26
26
27
@use ' sass:math' ;
27
28
@use ' @material/animation/functions' as animation-functions ;
36
37
@use ' @material/touch-target/variables' as touch-target-variables ;
37
38
@use ' @material/typography/typography' ;
38
39
@use ' ./dialog-custom-properties' ;
40
+ @use ' @material/icon-button/mixins' as iconbutton-mixins ;
39
41
@use ' ./variables' ;
40
42
41
43
@mixin core-styles ($query : feature-targeting .all ()) {
169
171
}
170
172
}
171
173
174
+ .mdc-dialog--fullscreen {
175
+ .mdc-dialog__header {
176
+ @include feature-targeting .targets ($feat-structure ) {
177
+ display : inline-flex ;
178
+ padding : 0 variables .$header-side-padding
179
+ variables .$title-bottom-padding ;
180
+ border-bottom : 1px solid transparent ;
181
+ justify-content : space-between ;
182
+ align-items : baseline ;
183
+ }
184
+ }
185
+
186
+ .mdc-dialog__title {
187
+ @include feature-targeting .targets ($feat-structure ) {
188
+ padding : 0 ;
189
+ border-bottom : 0 ;
190
+ }
191
+ }
192
+
193
+ .mdc-dialog__close {
194
+ @include iconbutton-mixins .size ($size : 24px , $query : $query );
195
+ }
196
+ }
197
+
172
198
.mdc-dialog__content {
173
199
@include typography .typography (body1, $query : $query );
174
200
Original file line number Diff line number Diff line change @@ -36,5 +36,6 @@ $margin: 16px !default;
36
36
$shape-radius : medium !default ;
37
37
$title-bottom-padding : 9px !default ;
38
38
$actions-padding : 8px !default ;
39
+ $header-side-padding : 16px !default ;
39
40
40
41
$z-index : 7 !default ;
Original file line number Diff line number Diff line change 25
25
"@material/dom" : " ^9.0.0" ,
26
26
"@material/elevation" : " ^9.0.0" ,
27
27
"@material/feature-targeting" : " ^9.0.0" ,
28
+ "@material/icon-button" : " ^9.0.0" ,
28
29
"@material/ripple" : " ^9.0.0" ,
29
30
"@material/rtl" : " ^9.0.0" ,
30
31
"@material/shape" : " ^9.0.0" ,
You can’t perform that action at this time.
0 commit comments