@@ -9,11 +9,6 @@ const style = {
99 textAlign : 'center' ,
1010 width : 'auto' ,
1111 alignItems : 'center' ,
12- '& $icon' : {
13- '& >*' : {
14- verticalAlign : 'middle'
15- }
16- } ,
1712 padding : '0.25rem 1rem' ,
1813 boxSizing : 'border-box' ,
1914 borderBottom : `1px solid var(--messageBoxBorderColor)` ,
@@ -27,44 +22,32 @@ const style = {
2722 '&[data-type="Error"]' : {
2823 '--sapPageFooter_BorderColor' : ThemingParameters . sapErrorBorderColor ,
2924 '--messageBoxBorderColor' : ThemingParameters . sapErrorBorderColor ,
30- '& $icon' : {
31- '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapNegativeElementColor
32- }
25+ '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapNegativeElementColor
3326 } ,
3427 '&[data-type="Warning"]' : {
3528 '--sapPageFooter_BorderColor' : ThemingParameters . sapWarningBorderColor ,
3629 '--messageBoxBorderColor' : ThemingParameters . sapWarningBorderColor ,
37- '& $icon' : {
38- '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapCriticalElementColor
39- }
30+ '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapCriticalElementColor
4031 } ,
4132 '&[data-type="Success"]' : {
4233 '--sapPageFooter_BorderColor' : ThemingParameters . sapSuccessBorderColor ,
4334 '--messageBoxBorderColor' : ThemingParameters . sapSuccessBorderColor ,
44- '& $icon' : {
45- '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapPositiveElementColor
46- }
35+ '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapPositiveElementColor
4736 } ,
4837 '&[data-type="Confirm"]' : {
4938 '--sapPageFooter_BorderColor' : ThemingParameters . sapNeutralBorderColor ,
5039 '--messageBoxBorderColor' : ThemingParameters . sapNeutralBorderColor ,
51- '& $icon' : {
52- '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapNeutralElementColor
53- }
40+ '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapNeutralElementColor
5441 } ,
5542 '&[data-type="Information"]' : {
5643 '--sapPageFooter_BorderColor' : ThemingParameters . sapNeutralBorderColor ,
5744 '--messageBoxBorderColor' : ThemingParameters . sapNeutralBorderColor ,
58- '& $icon' : {
59- '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapNeutralElementColor
60- }
45+ '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapNeutralElementColor
6146 } ,
6247 '&[data-type="Highlight"]' : {
6348 '--sapPageFooter_BorderColor' : ThemingParameters . sapInformationBorderColor ,
6449 '--messageBoxBorderColor' : ThemingParameters . sapInformationBorderColor ,
65- '& $icon' : {
66- '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapInformativeElementColor
67- }
50+ '--sapContent_NonInteractiveIconColor' : ThemingParameters . sapInformativeElementColor
6851 }
6952 } ,
7053 content : {
@@ -80,7 +63,8 @@ const style = {
8063 margin : '0 0.25rem'
8164 } ,
8265 '& > ui5-button' : {
83- display : 'flex'
66+ display : 'flex' ,
67+ minWidth : '4rem'
8468 }
8569 }
8670} ;
0 commit comments