File tree 2 files changed +9
-8
lines changed
2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"sourceFile" : " index.css" ,
3
3
"selectors" : [
4
- " .spectrum-CloseButton" ,
5
4
" .spectrum-Toast" ,
6
5
" .spectrum-Toast .spectrum-Button" ,
6
+ " .spectrum-Toast .spectrum-CloseButton" ,
7
7
" .spectrum-Toast--info" ,
8
8
" .spectrum-Toast--negative" ,
9
9
" .spectrum-Toast--positive" ,
18
18
" .spectrum-Toast:not(:has(.spectrum-Button))"
19
19
],
20
20
"modifiers" : [
21
+ " --mod--spectrum-toast-spacing-block-close-button" ,
21
22
" --mod-toast-background-color-default" ,
22
23
" --mod-toast-corner-radius" ,
23
24
" --mod-toast-font-family" ,
59
60
" --spectrum-toast-min-block-size" ,
60
61
" --spectrum-toast-negative-background-color-default" ,
61
62
" --spectrum-toast-positive-background-color-default" ,
63
+ " --spectrum-toast-spacing-block-close-button" ,
62
64
" --spectrum-toast-spacing-bottom-edge-to-text" ,
63
65
" --spectrum-toast-spacing-button-to-close-button-horizontal" ,
64
66
" --spectrum-toast-spacing-close-button-to-end-edge" ,
Original file line number Diff line number Diff line change 79
79
& : not (: has (.spectrum-Button )) {
80
80
column-gap : var (--mod-toast-spacing-text-to-close-button , var (--spectrum-toast-spacing-text-to-close-button ));
81
81
}
82
+
83
+ .spectrum-CloseButton {
84
+ margin-block : var (--mod--spectrum-toast-spacing-block-close-button , var (--spectrum-toast-spacing-block-close-button ));
85
+ margin-inline-end : var (--mod-toast-spacing-close-button-to-end-edge , var (--spectrum-toast-spacing-close-button-to-end-edge ));
86
+ flex-shrink : 0 ;
87
+ }
82
88
}
83
89
84
90
.spectrum-Toast--negative {
105
111
margin-inline-start : 0 ;
106
112
}
107
113
108
- .spectrum-CloseButton {
109
- margin-block : var (--mod--spectrum-toast-spacing-block-close-button , var (--spectrum-toast-spacing-block-close-button ));
110
- margin-inline-end : var (--mod-toast-spacing-close-button-to-end-edge , var (--spectrum-toast-spacing-close-button-to-end-edge ));
111
- flex-shrink : 0 ;
112
- }
113
-
114
114
.spectrum-Toast .spectrum-Button {
115
115
margin-inline-end : var (--mod-toast-spacing-button-to-close-button-horizontal , var (--spectrum-toast-spacing-button-to-close-button-horizontal ));
116
116
}
122
122
flex : 1 1 auto;
123
123
padding-block : var (--mod-toast-spacing-text-to-button-vertical , var (--spectrum-toast-spacing-edge-to-button-vertical ));
124
124
column-gap : var (--spectrum-toast-spacing-text-to-button-horizontal );
125
-
126
125
}
127
126
128
127
.spectrum-Toast-content {
You can’t perform that action at this time.
0 commit comments