File tree Expand file tree Collapse file tree 1 file changed +29
-7
lines changed
src/components/Ui/Infobox Expand file tree Collapse file tree 1 file changed +29
-7
lines changed Original file line number Diff line number Diff line change 99}
1010
1111.icon {
12- font-size : 4.5rem ;
1312 flex-shrink : 0 ;
1413 width : 1.5rem ;
1514 height : 1.5rem ;
1615 color : # fff ;
17-
18- margin-right : 1rem ;
16+ margin-right : 1.25rem ;
1917}
2018
2119.content {
4442}
4543
4644.variant-normal {
47- background : linear-gradient ( 135 deg , # 6e8efb , # a777e3 );
45+ background : var ( --sapNeutralTextColor );
4846}
4947
5048.variant-success {
51- background : linear-gradient ( 135 deg , # 56ab2f , # a8e063 );
49+ background : var ( --sapPositiveTextColor );
5250}
5351
5452.variant-warning {
55- background : linear-gradient ( 135 deg , # ffc837 , # ff8008 );
53+ background : var ( --sapCriticalTextColor );
5654}
5755
5856.variant-danger {
59- background : linear-gradient ( 135 deg , # e53935 , # e35d5b );
57+ background : var ( --sapErrorTextColor );
6058}
6159
6260.content > * : not (: last-child ) {
7674 color : # 000 ;
7775 }
7876}
77+
78+ /* .variant-normal {
79+ border-color: var(--sapNeutralTextColor);
80+ background-color: var(--sapNeutralBackground);
81+ color: var(--sapNeutralTextColor);
82+ }
83+
84+ .variant-success {
85+ border-color: var(--sapPositiveTextColor);
86+ background-color: var(--sapPositiveBackground);
87+ color: var(--sapPositiveTextColor);
88+ }
89+
90+ .variant-warning {
91+ border-color: var(--sapCriticalTextColor);
92+ background-color: var(--sapCriticalBackground);
93+ color: var(--sapCriticalTextColor);
94+ }
95+
96+ .variant-danger {
97+ border-color: var(--sapNegativeTextColor);
98+ background-color: var(--sapErrorBackground);
99+ color: var(--sapNegativeTextColor);
100+ } */
You can’t perform that action at this time.
0 commit comments