fundamental-styles 0.24.2-rc.4 → 0.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-bar.css +2 -233
- package/dist/action-sheet.css +2 -135
- package/dist/alert.css +2 -246
- package/dist/avatar-group.css +3 -652
- package/dist/avatar.css +2 -338
- package/dist/badge.css +2 -52
- package/dist/bar.css +2 -281
- package/dist/breadcrumb.css +2 -69
- package/dist/busy-indicator.css +2 -142
- package/dist/button-split.css +2 -391
- package/dist/button.css +2 -634
- package/dist/calendar.css +2 -887
- package/dist/card.css +2 -823
- package/dist/carousel.css +2 -341
- package/dist/checkbox.css +2 -503
- package/dist/code.css +2 -40
- package/dist/counter.css +2 -47
- package/dist/dialog.css +3 -295
- package/dist/dynamic-page.css +2 -766
- package/dist/dynamic-side-content.css +2 -123
- package/dist/facet.css +2 -156
- package/dist/feed-input.css +2 -112
- package/dist/feed-list.css +2 -276
- package/dist/fieldset.css +3 -151
- package/dist/file-uploader.css +2 -68
- package/dist/fixed-card-layout.css +2 -450
- package/dist/flexible-column-layout.css +2 -146
- package/dist/form-group.css +2 -116
- package/dist/form-header.css +2 -64
- package/dist/form-item.css +2 -62
- package/dist/form-label.css +2 -123
- package/dist/form-layout-grid.css +2 -1818
- package/dist/form-message.css +2 -64
- package/dist/fundamental-styles.css +37 -42974
- package/dist/grid-list.css +2 -596
- package/dist/helpers.css +2 -274
- package/dist/horizontal-navigation.css +2 -30
- package/dist/icon-tab-bar.css +2 -2185
- package/dist/icon.css +2 -3290
- package/dist/illustrated-message.css +2 -244
- package/dist/info-label.css +2 -188
- package/dist/input-group.css +2 -509
- package/dist/input.css +2 -319
- package/dist/layout-grid.css +2 -1174
- package/dist/layout-panel.css +2 -239
- package/dist/layout.css +3 -149
- package/dist/link.css +2 -186
- package/dist/list.css +2 -1566
- package/dist/margins.css +2 -180
- package/dist/menu.css +2 -500
- package/dist/message-box.css +2 -265
- package/dist/message-page.css +2 -183
- package/dist/message-strip.css +2 -233
- package/dist/message-toast.css +2 -42
- package/dist/micro-process-flow.css +2 -431
- package/dist/nested-list.css +2 -1538
- package/dist/notification.css +2 -481
- package/dist/numeric-content.css +2 -380
- package/dist/object-attribute.css +2 -58
- package/dist/object-identifier.css +2 -59
- package/dist/object-list.css +2 -1865
- package/dist/object-marker.css +2 -238
- package/dist/object-number.css +2 -83
- package/dist/object-status.css +2 -777
- package/dist/off-screen.css +2 -40
- package/dist/paddings.css +2 -42
- package/dist/page-footer.css +2 -193
- package/dist/page.css +2 -136
- package/dist/pagination.css +2 -253
- package/dist/panel.css +2 -103
- package/dist/popover.css +2 -425
- package/dist/product-switch.css +3 -488
- package/dist/progress-indicator.css +2 -382
- package/dist/quick-view.css +2 -112
- package/dist/radio.css +2 -447
- package/dist/rating-indicator.css +2 -330
- package/dist/resizable-card-layout.css +2 -221
- package/dist/scrollbar.css +2 -45
- package/dist/section.css +2 -185
- package/dist/segmented-button.css +2 -73
- package/dist/select.css +2 -663
- package/dist/shellbar.css +2 -337
- package/dist/side-nav.css +2 -1867
- package/dist/slider.css +2 -357
- package/dist/splitter.css +2 -270
- package/dist/status-indicator.css +2 -215
- package/dist/step-input.css +2 -511
- package/dist/switch.css +2 -399
- package/dist/table.css +2 -1221
- package/dist/tabs.css +2 -711
- package/dist/text.css +2 -53
- package/dist/textarea.css +2 -341
- package/dist/theming/sap_fiori_3.css +7 -1
- package/dist/theming/sap_fiori_3_dark.css +7 -1
- package/dist/theming/sap_fiori_3_hcb.css +7 -1
- package/dist/theming/sap_fiori_3_hcw.css +7 -1
- package/dist/theming/sap_fiori_3_light_dark.css +7 -1
- package/dist/theming/sap_horizon.css +37 -31
- package/dist/theming/sap_horizon_dark.css +37 -31
- package/dist/theming/sap_horizon_hcb.css +7 -1
- package/dist/theming/sap_horizon_hcw.css +7 -1
- package/dist/tile.css +2 -1097
- package/dist/time.css +2 -373
- package/dist/title.css +2 -58
- package/dist/token.css +2 -201
- package/dist/tokenizer.css +2 -244
- package/dist/tool-header.css +2 -442
- package/dist/toolbar.css +2 -306
- package/dist/tree.css +2 -899
- package/dist/upload-collection.css +2 -468
- package/dist/user-menu.css +2 -130
- package/dist/vertical-nav.css +2 -545
- package/dist/wizard.css +2 -571
- package/package.json +1 -1
package/dist/action-bar.css
CHANGED
|
@@ -1,236 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Fundamental Library Styles v0.24.2
|
|
2
|
+
* Fundamental Library Styles v0.24.2
|
|
3
3
|
* Copyright (c) 2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)
|
|
5
|
-
|
|
6
|
-
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
7
|
-
/* stylelint-disable */
|
|
8
|
-
/* stylelint-enable */
|
|
9
|
-
/* stylelint-disable */
|
|
10
|
-
/* stylelint-enable */
|
|
11
|
-
/* stylelint-disable */
|
|
12
|
-
/* stylelint-enable */
|
|
13
|
-
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
14
|
-
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
15
|
-
.fd-action-bar {
|
|
16
|
-
font-size: var(--sapFontSize);
|
|
17
|
-
line-height: var(--sapContent_LineHeight);
|
|
18
|
-
color: var(--sapTextColor);
|
|
19
|
-
font-family: var(--sapFontFamily);
|
|
20
|
-
font-weight: normal;
|
|
21
|
-
-webkit-box-sizing: border-box;
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
padding: 0;
|
|
24
|
-
margin: 0;
|
|
25
|
-
border: 0;
|
|
26
|
-
-webkit-box-shadow: var(--sapContent_HeaderShadow);
|
|
27
|
-
box-shadow: var(--sapContent_HeaderShadow);
|
|
28
|
-
background-color: var(--sapPageHeader_Background);
|
|
29
|
-
min-height: 3rem;
|
|
30
|
-
max-height: 4.25rem;
|
|
31
|
-
word-wrap: break-word;
|
|
32
|
-
-webkit-box-pack: justify;
|
|
33
|
-
-ms-flex-pack: justify;
|
|
34
|
-
justify-content: space-between;
|
|
35
|
-
padding: 0.5rem 2rem;
|
|
36
|
-
}
|
|
37
|
-
.fd-action-bar::before, .fd-action-bar::after {
|
|
38
|
-
-webkit-box-sizing: inherit;
|
|
39
|
-
box-sizing: inherit;
|
|
40
|
-
font-size: inherit;
|
|
41
|
-
}
|
|
42
|
-
.fd-action-bar__header {
|
|
43
|
-
font-size: var(--sapFontSize);
|
|
44
|
-
line-height: var(--sapContent_LineHeight);
|
|
45
|
-
color: var(--sapTextColor);
|
|
46
|
-
font-family: var(--sapFontFamily);
|
|
47
|
-
font-weight: normal;
|
|
48
|
-
-webkit-box-sizing: border-box;
|
|
49
|
-
box-sizing: border-box;
|
|
50
|
-
padding: 0;
|
|
51
|
-
margin: 0;
|
|
52
|
-
border: 0;
|
|
53
|
-
height: 2rem;
|
|
54
|
-
-webkit-box-flex: 1;
|
|
55
|
-
-ms-flex-positive: 1;
|
|
56
|
-
flex-grow: 1;
|
|
57
|
-
display: -webkit-box;
|
|
58
|
-
display: -ms-flexbox;
|
|
59
|
-
display: flex;
|
|
60
|
-
-webkit-box-orient: horizontal;
|
|
61
|
-
-webkit-box-direction: normal;
|
|
62
|
-
-ms-flex-direction: row;
|
|
63
|
-
flex-direction: row;
|
|
64
|
-
-webkit-box-align: center;
|
|
65
|
-
-ms-flex-align: center;
|
|
66
|
-
align-items: center;
|
|
67
|
-
}
|
|
68
|
-
.fd-action-bar__header::before, .fd-action-bar__header::after {
|
|
69
|
-
-webkit-box-sizing: inherit;
|
|
70
|
-
box-sizing: inherit;
|
|
71
|
-
font-size: inherit;
|
|
72
|
-
}
|
|
73
|
-
.fd-action-bar__back {
|
|
74
|
-
font-size: var(--sapFontSize);
|
|
75
|
-
line-height: var(--sapContent_LineHeight);
|
|
76
|
-
color: var(--sapTextColor);
|
|
77
|
-
font-family: var(--sapFontFamily);
|
|
78
|
-
font-weight: normal;
|
|
79
|
-
-webkit-box-sizing: border-box;
|
|
80
|
-
box-sizing: border-box;
|
|
81
|
-
padding: 0;
|
|
82
|
-
margin: 0;
|
|
83
|
-
border: 0;
|
|
84
|
-
display: block;
|
|
85
|
-
position: relative;
|
|
86
|
-
margin-right: 0.5rem;
|
|
87
|
-
}
|
|
88
|
-
.fd-action-bar__back::before, .fd-action-bar__back::after {
|
|
89
|
-
-webkit-box-sizing: inherit;
|
|
90
|
-
box-sizing: inherit;
|
|
91
|
-
font-size: inherit;
|
|
92
|
-
}
|
|
93
|
-
@media (min-width: 320px) {
|
|
94
|
-
.fd-action-bar__back {
|
|
95
|
-
display: none !important;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
@media (min-width: 600px) {
|
|
99
|
-
.fd-action-bar__back {
|
|
100
|
-
display: inline-block !important;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
[dir=rtl] .fd-action-bar__back, .fd-action-bar__back[dir=rtl] {
|
|
104
|
-
margin-right: 0;
|
|
105
|
-
margin-left: 0.5rem;
|
|
106
|
-
}
|
|
107
|
-
.fd-action-bar__title {
|
|
108
|
-
font-size: var(--sapFontSize);
|
|
109
|
-
line-height: var(--sapContent_LineHeight);
|
|
110
|
-
color: var(--sapTextColor);
|
|
111
|
-
font-family: var(--sapFontFamily);
|
|
112
|
-
font-weight: normal;
|
|
113
|
-
-webkit-box-sizing: border-box;
|
|
114
|
-
box-sizing: border-box;
|
|
115
|
-
padding: 0;
|
|
116
|
-
margin: 0;
|
|
117
|
-
border: 0;
|
|
118
|
-
white-space: nowrap;
|
|
119
|
-
overflow: hidden;
|
|
120
|
-
text-overflow: ellipsis;
|
|
121
|
-
text-rendering: optimizeLegibility;
|
|
122
|
-
font-family: var(--sapFontHeaderFamily);
|
|
123
|
-
color: var(--sapGroup_TitleTextColor);
|
|
124
|
-
-webkit-box-flex: 1;
|
|
125
|
-
-ms-flex-positive: 1;
|
|
126
|
-
flex-grow: 1;
|
|
127
|
-
-ms-flex-preferred-size: 0;
|
|
128
|
-
flex-basis: 0;
|
|
129
|
-
line-height: 1.375rem;
|
|
130
|
-
padding-right: 0.5rem;
|
|
131
|
-
vertical-align: middle;
|
|
132
|
-
margin: 0;
|
|
133
|
-
}
|
|
134
|
-
.fd-action-bar__title::before, .fd-action-bar__title::after {
|
|
135
|
-
-webkit-box-sizing: inherit;
|
|
136
|
-
box-sizing: inherit;
|
|
137
|
-
font-size: inherit;
|
|
138
|
-
}
|
|
139
|
-
[dir=rtl] .fd-action-bar__title, .fd-action-bar__title[dir=rtl] {
|
|
140
|
-
padding-right: 0;
|
|
141
|
-
padding-left: 0.5rem;
|
|
142
|
-
}
|
|
143
|
-
.fd-action-bar__description {
|
|
144
|
-
font-size: var(--sapFontSize);
|
|
145
|
-
line-height: var(--sapContent_LineHeight);
|
|
146
|
-
color: var(--sapTextColor);
|
|
147
|
-
font-family: var(--sapFontFamily);
|
|
148
|
-
font-weight: normal;
|
|
149
|
-
-webkit-box-sizing: border-box;
|
|
150
|
-
box-sizing: border-box;
|
|
151
|
-
padding: 0;
|
|
152
|
-
margin: 0;
|
|
153
|
-
border: 0;
|
|
154
|
-
color: var(--sapContent_LabelColor);
|
|
155
|
-
white-space: nowrap;
|
|
156
|
-
overflow: hidden;
|
|
157
|
-
text-overflow: ellipsis;
|
|
158
|
-
width: 100%;
|
|
159
|
-
height: 1.25rem;
|
|
160
|
-
vertical-align: middle;
|
|
161
|
-
}
|
|
162
|
-
.fd-action-bar__description::before, .fd-action-bar__description::after {
|
|
163
|
-
-webkit-box-sizing: inherit;
|
|
164
|
-
box-sizing: inherit;
|
|
165
|
-
font-size: inherit;
|
|
166
|
-
}
|
|
167
|
-
@media (min-width: 320px) {
|
|
168
|
-
.fd-action-bar__description {
|
|
169
|
-
display: none !important;
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
@media (min-width: 600px) {
|
|
173
|
-
.fd-action-bar__description {
|
|
174
|
-
display: inline-block !important;
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
.fd-action-bar__description--back {
|
|
178
|
-
padding-left: 2.5rem;
|
|
179
|
-
}
|
|
180
|
-
[dir=rtl] .fd-action-bar__description--back, .fd-action-bar__description--back[dir=rtl] {
|
|
181
|
-
padding-left: 0;
|
|
182
|
-
padding-right: 2.5rem;
|
|
183
|
-
}
|
|
184
|
-
.fd-action-bar__actions {
|
|
185
|
-
font-size: var(--sapFontSize);
|
|
186
|
-
line-height: var(--sapContent_LineHeight);
|
|
187
|
-
color: var(--sapTextColor);
|
|
188
|
-
font-family: var(--sapFontFamily);
|
|
189
|
-
font-weight: normal;
|
|
190
|
-
-webkit-box-sizing: border-box;
|
|
191
|
-
box-sizing: border-box;
|
|
192
|
-
padding: 0;
|
|
193
|
-
margin: 0;
|
|
194
|
-
border: 0;
|
|
195
|
-
display: -webkit-box;
|
|
196
|
-
display: -ms-flexbox;
|
|
197
|
-
display: flex;
|
|
198
|
-
-webkit-box-align: center;
|
|
199
|
-
-ms-flex-align: center;
|
|
200
|
-
align-items: center;
|
|
201
|
-
-webkit-transition: opacity 0.25s ease-in;
|
|
202
|
-
transition: opacity 0.25s ease-in;
|
|
203
|
-
visibility: visible;
|
|
204
|
-
height: 2rem;
|
|
205
|
-
}
|
|
206
|
-
.fd-action-bar__actions::before, .fd-action-bar__actions::after {
|
|
207
|
-
-webkit-box-sizing: inherit;
|
|
208
|
-
box-sizing: inherit;
|
|
209
|
-
font-size: inherit;
|
|
210
|
-
}
|
|
211
|
-
.fd-action-bar__actions.is-disabled, .fd-action-bar__actions[aria-hidden=true] {
|
|
212
|
-
opacity: 0;
|
|
213
|
-
visibility: hidden;
|
|
214
|
-
}
|
|
215
|
-
.fd-action-bar__actions > *:nth-child(n+1) {
|
|
216
|
-
margin-left: 0.5rem;
|
|
217
|
-
}
|
|
218
|
-
.fd-action-bar__actions > *:first-child {
|
|
219
|
-
margin-left: 0;
|
|
220
|
-
}
|
|
221
|
-
[dir=rtl] .fd-action-bar__actions > *:nth-child(n+1), .fd-action-bar__actions > *[dir=rtl]:nth-child(n+1) {
|
|
222
|
-
margin-right: 0.5rem;
|
|
223
|
-
margin-left: 0;
|
|
224
|
-
}
|
|
225
|
-
[dir=rtl] .fd-action-bar__actions > *:first-child, .fd-action-bar__actions > *[dir=rtl]:first-child {
|
|
226
|
-
margin-right: 0;
|
|
227
|
-
}
|
|
228
|
-
.fd-action-bar--s {
|
|
229
|
-
padding: 0.5rem 1rem;
|
|
230
|
-
}
|
|
231
|
-
.fd-action-bar--m_l {
|
|
232
|
-
padding: 0.5rem 2rem;
|
|
233
|
-
}
|
|
234
|
-
.fd-action-bar--xl {
|
|
235
|
-
padding: 0.5rem 3rem;
|
|
236
|
-
}
|
|
5
|
+
*/.fd-action-bar{-webkit-box-sizing:border-box;-webkit-box-shadow:var(--sapContent_HeaderShadow);word-wrap:break-word;-webkit-box-pack:justify;-ms-flex-pack:justify;background-color:var(--sapPageHeader_Background);border:0;box-shadow:var(--sapContent_HeaderShadow);box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;justify-content:space-between;line-height:var(--sapContent_LineHeight);margin:0;max-height:4.25rem;min-height:3rem;padding:.5rem 2rem}.fd-action-bar:after,.fd-action-bar:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-action-bar__header{-webkit-box-sizing:border-box;-webkit-box-flex:1;-ms-flex-positive:1;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:row;flex-grow:1;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;height:2rem;line-height:var(--sapContent_LineHeight);margin:0;padding:0}.fd-action-bar__header:after,.fd-action-bar__header:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-action-bar__back{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;line-height:var(--sapContent_LineHeight);margin:0 .5rem 0 0;padding:0;position:relative}.fd-action-bar__back:after,.fd-action-bar__back:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}@media (min-width:320px){.fd-action-bar__back{display:none!important}}@media (min-width:600px){.fd-action-bar__back{display:inline-block!important}}.fd-action-bar__back[dir=rtl],[dir=rtl] .fd-action-bar__back{margin-left:.5rem;margin-right:0}.fd-action-bar__title{-webkit-box-sizing:border-box;text-rendering:optimizeLegibility;-webkit-box-flex:1;-ms-flex-positive:1;-ms-flex-preferred-size:0;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapGroup_TitleTextColor);flex-basis:0;flex-grow:1;font-family:var(--sapFontFamily);font-family:var(--sapFontHeaderFamily);font-size:var(--sapFontSize);font-weight:400;line-height:var(--sapContent_LineHeight);line-height:1.375rem;margin:0;overflow:hidden;padding:0 .5rem 0 0;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.fd-action-bar__title:after,.fd-action-bar__title:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-action-bar__title[dir=rtl],[dir=rtl] .fd-action-bar__title{padding-left:.5rem;padding-right:0}.fd-action-bar__description{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapContent_LabelColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;height:1.25rem;line-height:var(--sapContent_LineHeight);margin:0;overflow:hidden;padding:0;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap;width:100%}.fd-action-bar__description:after,.fd-action-bar__description:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}@media (min-width:320px){.fd-action-bar__description{display:none!important}}@media (min-width:600px){.fd-action-bar__description{display:inline-block!important}}.fd-action-bar__description--back{padding-left:2.5rem}.fd-action-bar__description--back[dir=rtl],[dir=rtl] .fd-action-bar__description--back{padding-left:0;padding-right:2.5rem}.fd-action-bar__actions{-webkit-box-sizing:border-box;-webkit-box-align:center;-ms-flex-align:center;-webkit-transition:opacity .25s ease-in;align-items:center;border:0;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;height:2rem;line-height:var(--sapContent_LineHeight);margin:0;padding:0;transition:opacity .25s ease-in;visibility:visible}.fd-action-bar__actions:after,.fd-action-bar__actions:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-action-bar__actions.is-disabled,.fd-action-bar__actions[aria-hidden=true]{opacity:0;visibility:hidden}.fd-action-bar__actions>:nth-child(n+1){margin-left:.5rem}.fd-action-bar__actions>:first-child{margin-left:0}.fd-action-bar__actions>[dir=rtl]:nth-child(n+1),[dir=rtl] .fd-action-bar__actions>:nth-child(n+1){margin-left:0;margin-right:.5rem}.fd-action-bar__actions>[dir=rtl]:first-child,[dir=rtl] .fd-action-bar__actions>:first-child{margin-right:0}.fd-action-bar--s{padding:.5rem 1rem}.fd-action-bar--m_l{padding:.5rem 2rem}.fd-action-bar--xl{padding:.5rem 3rem}
|
package/dist/action-sheet.css
CHANGED
|
@@ -1,138 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Fundamental Library Styles v0.24.2
|
|
2
|
+
* Fundamental Library Styles v0.24.2
|
|
3
3
|
* Copyright (c) 2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)
|
|
5
|
-
|
|
6
|
-
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
7
|
-
/* stylelint-disable */
|
|
8
|
-
/* stylelint-enable */
|
|
9
|
-
/* stylelint-disable */
|
|
10
|
-
/* stylelint-enable */
|
|
11
|
-
/* stylelint-disable */
|
|
12
|
-
/* stylelint-enable */
|
|
13
|
-
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
14
|
-
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
15
|
-
.fd-action-sheet {
|
|
16
|
-
font-size: var(--sapFontSize);
|
|
17
|
-
line-height: var(--sapContent_LineHeight);
|
|
18
|
-
color: var(--sapTextColor);
|
|
19
|
-
font-family: var(--sapFontFamily);
|
|
20
|
-
font-weight: normal;
|
|
21
|
-
-webkit-box-sizing: border-box;
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
padding: 0;
|
|
24
|
-
margin: 0;
|
|
25
|
-
border: 0;
|
|
26
|
-
padding: 0.25rem 0.5rem;
|
|
27
|
-
width: 100%;
|
|
28
|
-
}
|
|
29
|
-
.fd-action-sheet::before, .fd-action-sheet::after {
|
|
30
|
-
-webkit-box-sizing: inherit;
|
|
31
|
-
box-sizing: inherit;
|
|
32
|
-
font-size: inherit;
|
|
33
|
-
}
|
|
34
|
-
.fd-action-sheet__item {
|
|
35
|
-
font-size: var(--sapFontSize);
|
|
36
|
-
line-height: var(--sapContent_LineHeight);
|
|
37
|
-
color: var(--sapTextColor);
|
|
38
|
-
font-family: var(--sapFontFamily);
|
|
39
|
-
font-weight: normal;
|
|
40
|
-
-webkit-box-sizing: border-box;
|
|
41
|
-
box-sizing: border-box;
|
|
42
|
-
padding: 0;
|
|
43
|
-
margin: 0;
|
|
44
|
-
border: 0;
|
|
45
|
-
display: block;
|
|
46
|
-
width: 100%;
|
|
47
|
-
padding: 0.25rem 0;
|
|
48
|
-
}
|
|
49
|
-
.fd-action-sheet__item::before, .fd-action-sheet__item::after {
|
|
50
|
-
-webkit-box-sizing: inherit;
|
|
51
|
-
box-sizing: inherit;
|
|
52
|
-
font-size: inherit;
|
|
53
|
-
}
|
|
54
|
-
.fd-action-sheet__wrapper {
|
|
55
|
-
position: absolute;
|
|
56
|
-
width: 100%;
|
|
57
|
-
height: 100%;
|
|
58
|
-
left: 0;
|
|
59
|
-
top: 0;
|
|
60
|
-
display: none;
|
|
61
|
-
border-radius: var(--fdPopover_Border_Radius);
|
|
62
|
-
}
|
|
63
|
-
.fd-action-sheet__wrapper::before {
|
|
64
|
-
content: "";
|
|
65
|
-
display: block;
|
|
66
|
-
position: absolute;
|
|
67
|
-
top: 0;
|
|
68
|
-
left: 0;
|
|
69
|
-
width: 100%;
|
|
70
|
-
height: 100%;
|
|
71
|
-
opacity: var(--fdOverlay_Background_Opacity);
|
|
72
|
-
background-color: var(--sapBlockLayer_Background);
|
|
73
|
-
border-radius: var(--fdPopover_Border_Radius);
|
|
74
|
-
}
|
|
75
|
-
.fd-action-sheet__wrapper--active {
|
|
76
|
-
display: -webkit-box;
|
|
77
|
-
display: -ms-flexbox;
|
|
78
|
-
display: flex;
|
|
79
|
-
-webkit-box-orient: vertical;
|
|
80
|
-
-webkit-box-direction: normal;
|
|
81
|
-
-ms-flex-direction: column;
|
|
82
|
-
flex-direction: column;
|
|
83
|
-
-webkit-box-pack: end;
|
|
84
|
-
-ms-flex-pack: end;
|
|
85
|
-
justify-content: flex-end;
|
|
86
|
-
-webkit-box-align: start;
|
|
87
|
-
-ms-flex-align: start;
|
|
88
|
-
align-items: flex-start;
|
|
89
|
-
}
|
|
90
|
-
.fd-action-sheet__title {
|
|
91
|
-
font-size: var(--sapFontSize);
|
|
92
|
-
line-height: var(--sapContent_LineHeight);
|
|
93
|
-
color: var(--sapTextColor);
|
|
94
|
-
font-family: var(--sapFontFamily);
|
|
95
|
-
font-weight: normal;
|
|
96
|
-
-webkit-box-sizing: border-box;
|
|
97
|
-
box-sizing: border-box;
|
|
98
|
-
padding: 0;
|
|
99
|
-
margin: 0;
|
|
100
|
-
border: 0;
|
|
101
|
-
font-family: var(--sapFontHeaderFamily);
|
|
102
|
-
color: var(--sapGroup_TitleTextColor);
|
|
103
|
-
font-size: var(--sapFontHeader6Size);
|
|
104
|
-
white-space: nowrap;
|
|
105
|
-
overflow: hidden;
|
|
106
|
-
text-overflow: ellipsis;
|
|
107
|
-
max-width: 100%;
|
|
108
|
-
z-index: 1;
|
|
109
|
-
padding: 0 1rem 0.5rem 1rem;
|
|
110
|
-
color: var(--sapContent_ContrastTextColor);
|
|
111
|
-
}
|
|
112
|
-
.fd-action-sheet__title::before, .fd-action-sheet__title::after {
|
|
113
|
-
-webkit-box-sizing: inherit;
|
|
114
|
-
box-sizing: inherit;
|
|
115
|
-
font-size: inherit;
|
|
116
|
-
}
|
|
117
|
-
.fd-action-sheet--compact {
|
|
118
|
-
padding: 0.1875rem 0.375rem;
|
|
119
|
-
}
|
|
120
|
-
.fd-action-sheet--compact .fd-action-sheet__item {
|
|
121
|
-
padding: 0.1875rem 0;
|
|
122
|
-
}
|
|
123
|
-
.fd-action-sheet--mobile {
|
|
124
|
-
background-color: var(--sapGroup_ContentBackground);
|
|
125
|
-
z-index: 1;
|
|
126
|
-
-webkit-box-shadow: var(--sapContent_Shadow1);
|
|
127
|
-
box-shadow: var(--sapContent_Shadow1);
|
|
128
|
-
width: calc(100% - var(--sapGroup_BorderWidth) * 2);
|
|
129
|
-
position: relative;
|
|
130
|
-
overflow: auto;
|
|
131
|
-
left: var(--sapGroup_BorderWidth);
|
|
132
|
-
right: auto;
|
|
133
|
-
border-radius: var(--fdPopover_Border_Radius);
|
|
134
|
-
}
|
|
135
|
-
[dir=rtl] .fd-action-sheet--mobile, .fd-action-sheet--mobile[dir=rtl] {
|
|
136
|
-
right: var(--sapGroup_BorderWidth);
|
|
137
|
-
left: auto;
|
|
138
|
-
}
|
|
5
|
+
*/.fd-action-sheet{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;line-height:var(--sapContent_LineHeight);margin:0;padding:.25rem .5rem;width:100%}.fd-action-sheet:after,.fd-action-sheet:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-action-sheet__item{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);display:block;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;line-height:var(--sapContent_LineHeight);margin:0;padding:.25rem 0;width:100%}.fd-action-sheet__item:after,.fd-action-sheet__item:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-action-sheet__wrapper{display:none}.fd-action-sheet__wrapper,.fd-action-sheet__wrapper:before{border-radius:var(--fdPopover_Border_Radius);height:100%;left:0;position:absolute;top:0;width:100%}.fd-action-sheet__wrapper:before{background-color:var(--sapBlockLayer_Background);content:"";display:block;opacity:var(--fdOverlay_Background_Opacity)}.fd-action-sheet__wrapper--active{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;flex-direction:column;justify-content:flex-end}.fd-action-sheet__title{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);color:var(--sapGroup_TitleTextColor);color:var(--sapContent_ContrastTextColor);font-family:var(--sapFontFamily);font-family:var(--sapFontHeaderFamily);font-size:var(--sapFontSize);font-size:var(--sapFontHeader6Size);font-weight:400;line-height:var(--sapContent_LineHeight);margin:0;max-width:100%;overflow:hidden;padding:0 1rem .5rem;text-overflow:ellipsis;white-space:nowrap;z-index:1}.fd-action-sheet__title:after,.fd-action-sheet__title:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-action-sheet--compact{padding:.1875rem .375rem}.fd-action-sheet--compact .fd-action-sheet__item{padding:.1875rem 0}.fd-action-sheet--mobile{-webkit-box-shadow:var(--sapContent_Shadow1);background-color:var(--sapGroup_ContentBackground);border-radius:var(--fdPopover_Border_Radius);box-shadow:var(--sapContent_Shadow1);left:var(--sapGroup_BorderWidth);overflow:auto;position:relative;right:auto;width:calc(100% - var(--sapGroup_BorderWidth)*2);z-index:1}.fd-action-sheet--mobile[dir=rtl],[dir=rtl] .fd-action-sheet--mobile{left:auto;right:var(--sapGroup_BorderWidth)}
|
package/dist/alert.css
CHANGED
|
@@ -1,253 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Fundamental Library Styles v0.24.2
|
|
2
|
+
* Fundamental Library Styles v0.24.2
|
|
3
3
|
* Copyright (c) 2022 SAP SE or an SAP affiliate company.
|
|
4
4
|
* Licensed under Apache License 2.0 (https://github.com/SAP/fundamental-styles/blob/main/LICENSE)
|
|
5
5
|
*/
|
|
6
|
-
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
7
|
-
/* stylelint-disable */
|
|
8
|
-
/* stylelint-enable */
|
|
9
|
-
/* stylelint-disable */
|
|
10
|
-
/* stylelint-enable */
|
|
11
|
-
/* stylelint-disable */
|
|
12
|
-
/* stylelint-enable */
|
|
13
|
-
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
14
|
-
/* Fully expanded pseudo element. Requires parent to have specified position */
|
|
15
6
|
/*!
|
|
16
7
|
.fd-alert+(--information, --success, --warning, --error, --no-icon)
|
|
17
8
|
.fd-alert__close
|
|
18
|
-
|
|
19
|
-
.fd-alert {
|
|
20
|
-
font-size: var(--sapFontSize);
|
|
21
|
-
line-height: var(--sapContent_LineHeight);
|
|
22
|
-
color: var(--sapTextColor);
|
|
23
|
-
font-family: var(--sapFontFamily);
|
|
24
|
-
font-weight: normal;
|
|
25
|
-
-webkit-box-sizing: border-box;
|
|
26
|
-
box-sizing: border-box;
|
|
27
|
-
padding: 0;
|
|
28
|
-
margin: 0;
|
|
29
|
-
border: 0;
|
|
30
|
-
font-size: var(--sapFontSize);
|
|
31
|
-
position: relative;
|
|
32
|
-
color: var(--sapTextColor);
|
|
33
|
-
background-color: var(--sapNeutralBackground);
|
|
34
|
-
border: 1px solid;
|
|
35
|
-
border-color: var(--sapNeutralBorderColor);
|
|
36
|
-
border-radius: 0.25rem;
|
|
37
|
-
padding: 0.4375rem 1rem;
|
|
38
|
-
display: -webkit-box;
|
|
39
|
-
display: -ms-flexbox;
|
|
40
|
-
display: flex;
|
|
41
|
-
-webkit-box-align: center;
|
|
42
|
-
-ms-flex-align: center;
|
|
43
|
-
align-items: center;
|
|
44
|
-
min-height: 2rem;
|
|
45
|
-
}
|
|
46
|
-
.fd-alert::before, .fd-alert::after {
|
|
47
|
-
-webkit-box-sizing: inherit;
|
|
48
|
-
box-sizing: inherit;
|
|
49
|
-
font-size: inherit;
|
|
50
|
-
}
|
|
51
|
-
.fd-alert .sap-icon--message-error,
|
|
52
|
-
.fd-alert .sap-icon--message-warning,
|
|
53
|
-
.fd-alert .sap-icon--message-success,
|
|
54
|
-
.fd-alert .sap-icon--message-information {
|
|
55
|
-
display: none;
|
|
56
|
-
}
|
|
57
|
-
.fd-alert__close {
|
|
58
|
-
position: absolute;
|
|
59
|
-
top: 0.125rem;
|
|
60
|
-
right: 0.125rem;
|
|
61
|
-
}
|
|
62
|
-
.fd-alert__close::before {
|
|
63
|
-
font-family: "SAP-icons";
|
|
64
|
-
text-align: center;
|
|
65
|
-
text-decoration: inherit;
|
|
66
|
-
text-transform: none;
|
|
67
|
-
text-rendering: optimizeLegibility;
|
|
68
|
-
}
|
|
69
|
-
.fd-alert__close::before {
|
|
70
|
-
content: "\e03e";
|
|
71
|
-
}
|
|
72
|
-
[dir=rtl] .fd-alert__close, .fd-alert__close[dir=rtl] {
|
|
73
|
-
left: 0.125rem;
|
|
74
|
-
right: auto;
|
|
75
|
-
}
|
|
76
|
-
.fd-alert--dismissible {
|
|
77
|
-
padding-right: 2.5rem;
|
|
78
|
-
}
|
|
79
|
-
[dir=rtl] .fd-alert--dismissible, .fd-alert--dismissible[dir=rtl] {
|
|
80
|
-
padding-right: 1rem;
|
|
81
|
-
padding-left: 2.5rem;
|
|
82
|
-
}
|
|
83
|
-
.fd-alert--warning, .fd-alert--information, .fd-alert--success, .fd-alert--error {
|
|
84
|
-
padding-left: 2.5rem;
|
|
85
|
-
}
|
|
86
|
-
.fd-alert--warning::before, .fd-alert--warning::after, .fd-alert--information::before, .fd-alert--information::after, .fd-alert--success::before, .fd-alert--success::after, .fd-alert--error::before, .fd-alert--error::after {
|
|
87
|
-
position: absolute;
|
|
88
|
-
width: 2.5rem;
|
|
89
|
-
top: 0.4375rem;
|
|
90
|
-
left: 0;
|
|
91
|
-
line-height: 1rem;
|
|
92
|
-
}
|
|
93
|
-
[dir=rtl] .fd-alert--warning, .fd-alert--warning[dir=rtl], [dir=rtl] .fd-alert--information, .fd-alert--information[dir=rtl], [dir=rtl] .fd-alert--success, .fd-alert--success[dir=rtl], [dir=rtl] .fd-alert--error, .fd-alert--error[dir=rtl] {
|
|
94
|
-
padding-right: 2.5rem;
|
|
95
|
-
padding-left: 1rem;
|
|
96
|
-
}
|
|
97
|
-
[dir=rtl] .fd-alert--warning::before, [dir=rtl] .fd-alert--warning::after, .fd-alert--warning[dir=rtl]::before, .fd-alert--warning[dir=rtl]::after, [dir=rtl] .fd-alert--information::before, [dir=rtl] .fd-alert--information::after, .fd-alert--information[dir=rtl]::before, .fd-alert--information[dir=rtl]::after, [dir=rtl] .fd-alert--success::before, [dir=rtl] .fd-alert--success::after, .fd-alert--success[dir=rtl]::before, .fd-alert--success[dir=rtl]::after, [dir=rtl] .fd-alert--error::before, [dir=rtl] .fd-alert--error::after, .fd-alert--error[dir=rtl]::before, .fd-alert--error[dir=rtl]::after {
|
|
98
|
-
left: auto;
|
|
99
|
-
right: 0;
|
|
100
|
-
}
|
|
101
|
-
.fd-alert--warning.fd-alert--dismissible, .fd-alert--information.fd-alert--dismissible, .fd-alert--success.fd-alert--dismissible, .fd-alert--error.fd-alert--dismissible {
|
|
102
|
-
padding-right: 2.5rem;
|
|
103
|
-
}
|
|
104
|
-
[dir=rtl] .fd-alert--warning.fd-alert--dismissible, .fd-alert--warning.fd-alert--dismissible[dir=rtl], [dir=rtl] .fd-alert--information.fd-alert--dismissible, .fd-alert--information.fd-alert--dismissible[dir=rtl], [dir=rtl] .fd-alert--success.fd-alert--dismissible, .fd-alert--success.fd-alert--dismissible[dir=rtl], [dir=rtl] .fd-alert--error.fd-alert--dismissible, .fd-alert--error.fd-alert--dismissible[dir=rtl] {
|
|
105
|
-
padding-left: 2.5rem;
|
|
106
|
-
}
|
|
107
|
-
[dir=rtl] .fd-alert--warning::after, .fd-alert--warning[dir=rtl]::after, [dir=rtl] .fd-alert--information::after, .fd-alert--information[dir=rtl]::after, [dir=rtl] .fd-alert--success::after, .fd-alert--success[dir=rtl]::after, [dir=rtl] .fd-alert--error::after, .fd-alert--error[dir=rtl]::after {
|
|
108
|
-
font-family: "SAP-icons";
|
|
109
|
-
text-align: center;
|
|
110
|
-
text-decoration: inherit;
|
|
111
|
-
text-transform: none;
|
|
112
|
-
text-rendering: optimizeLegibility;
|
|
113
|
-
position: absolute;
|
|
114
|
-
right: 0;
|
|
115
|
-
}
|
|
116
|
-
.fd-alert--warning {
|
|
117
|
-
background-color: var(--sapWarningBackground);
|
|
118
|
-
border-color: var(--sapWarningBorderColor);
|
|
119
|
-
}
|
|
120
|
-
.fd-alert--warning::before, .fd-alert--warning::after {
|
|
121
|
-
color: var(--sapWarningBorderColor);
|
|
122
|
-
}
|
|
123
|
-
.fd-alert--warning::before {
|
|
124
|
-
font-family: "SAP-icons";
|
|
125
|
-
text-align: center;
|
|
126
|
-
text-decoration: inherit;
|
|
127
|
-
text-transform: none;
|
|
128
|
-
text-rendering: optimizeLegibility;
|
|
129
|
-
}
|
|
130
|
-
.fd-alert--warning::before {
|
|
131
|
-
content: "\e201";
|
|
132
|
-
}
|
|
133
|
-
[dir=rtl] .fd-alert--warning::after, .fd-alert--warning[dir=rtl]::after {
|
|
134
|
-
font-family: "SAP-icons";
|
|
135
|
-
text-align: center;
|
|
136
|
-
text-decoration: inherit;
|
|
137
|
-
text-transform: none;
|
|
138
|
-
text-rendering: optimizeLegibility;
|
|
139
|
-
}
|
|
140
|
-
[dir=rtl] .fd-alert--warning::after, .fd-alert--warning[dir=rtl]::after {
|
|
141
|
-
content: "\e201";
|
|
142
|
-
}
|
|
143
|
-
.fd-alert--error {
|
|
144
|
-
background-color: var(--sapErrorBackground);
|
|
145
|
-
border-color: var(--sapErrorBorderColor);
|
|
146
|
-
}
|
|
147
|
-
.fd-alert--error::before, .fd-alert--error::after {
|
|
148
|
-
color: var(--sapErrorBorderColor);
|
|
149
|
-
}
|
|
150
|
-
.fd-alert--error::before {
|
|
151
|
-
font-family: "SAP-icons";
|
|
152
|
-
text-align: center;
|
|
153
|
-
text-decoration: inherit;
|
|
154
|
-
text-transform: none;
|
|
155
|
-
text-rendering: optimizeLegibility;
|
|
156
|
-
}
|
|
157
|
-
.fd-alert--error::before {
|
|
158
|
-
content: "\e0b1";
|
|
159
|
-
}
|
|
160
|
-
[dir=rtl] .fd-alert--error::after, .fd-alert--error[dir=rtl]::after {
|
|
161
|
-
font-family: "SAP-icons";
|
|
162
|
-
text-align: center;
|
|
163
|
-
text-decoration: inherit;
|
|
164
|
-
text-transform: none;
|
|
165
|
-
text-rendering: optimizeLegibility;
|
|
166
|
-
}
|
|
167
|
-
[dir=rtl] .fd-alert--error::after, .fd-alert--error[dir=rtl]::after {
|
|
168
|
-
content: "\e0b1";
|
|
169
|
-
}
|
|
170
|
-
.fd-alert--success {
|
|
171
|
-
background-color: var(--sapSuccessBackground);
|
|
172
|
-
border-color: var(--sapSuccessBorderColor);
|
|
173
|
-
}
|
|
174
|
-
.fd-alert--success::before, .fd-alert--success::after {
|
|
175
|
-
color: var(--sapSuccessBorderColor);
|
|
176
|
-
}
|
|
177
|
-
.fd-alert--success::before {
|
|
178
|
-
font-family: "SAP-icons";
|
|
179
|
-
text-align: center;
|
|
180
|
-
text-decoration: inherit;
|
|
181
|
-
text-transform: none;
|
|
182
|
-
text-rendering: optimizeLegibility;
|
|
183
|
-
}
|
|
184
|
-
.fd-alert--success::before {
|
|
185
|
-
content: "\e203";
|
|
186
|
-
}
|
|
187
|
-
[dir=rtl] .fd-alert--success::after, .fd-alert--success[dir=rtl]::after {
|
|
188
|
-
font-family: "SAP-icons";
|
|
189
|
-
text-align: center;
|
|
190
|
-
text-decoration: inherit;
|
|
191
|
-
text-transform: none;
|
|
192
|
-
text-rendering: optimizeLegibility;
|
|
193
|
-
}
|
|
194
|
-
[dir=rtl] .fd-alert--success::after, .fd-alert--success[dir=rtl]::after {
|
|
195
|
-
content: "\e203";
|
|
196
|
-
}
|
|
197
|
-
.fd-alert--information {
|
|
198
|
-
background-color: var(--sapInformationBackground);
|
|
199
|
-
border-color: var(--sapInformationBorderColor);
|
|
200
|
-
}
|
|
201
|
-
.fd-alert--information::before, .fd-alert--information::after {
|
|
202
|
-
color: var(--sapInformationBorderColor);
|
|
203
|
-
}
|
|
204
|
-
.fd-alert--information::before {
|
|
205
|
-
font-family: "SAP-icons";
|
|
206
|
-
text-align: center;
|
|
207
|
-
text-decoration: inherit;
|
|
208
|
-
text-transform: none;
|
|
209
|
-
text-rendering: optimizeLegibility;
|
|
210
|
-
}
|
|
211
|
-
.fd-alert--information::before {
|
|
212
|
-
content: "\e202";
|
|
213
|
-
}
|
|
214
|
-
[dir=rtl] .fd-alert--information::after, .fd-alert--information[dir=rtl]::after {
|
|
215
|
-
font-family: "SAP-icons";
|
|
216
|
-
text-align: center;
|
|
217
|
-
text-decoration: inherit;
|
|
218
|
-
text-transform: none;
|
|
219
|
-
text-rendering: optimizeLegibility;
|
|
220
|
-
}
|
|
221
|
-
[dir=rtl] .fd-alert--information::after, .fd-alert--information[dir=rtl]::after {
|
|
222
|
-
content: "\e202";
|
|
223
|
-
}
|
|
224
|
-
.fd-alert--no-icon {
|
|
225
|
-
padding-left: 1rem;
|
|
226
|
-
}
|
|
227
|
-
.fd-alert--no-icon::before {
|
|
228
|
-
display: none;
|
|
229
|
-
}
|
|
230
|
-
[dir=rtl] .fd-alert--no-icon, .fd-alert--no-icon[dir=rtl] {
|
|
231
|
-
padding-right: 1rem;
|
|
232
|
-
}
|
|
233
|
-
[dir=rtl] .fd-alert--no-icon::after, .fd-alert--no-icon[dir=rtl]::after {
|
|
234
|
-
display: none;
|
|
235
|
-
}
|
|
236
|
-
.fd-alert__text {
|
|
237
|
-
font-size: var(--sapFontSize);
|
|
238
|
-
line-height: var(--sapContent_LineHeight);
|
|
239
|
-
color: var(--sapTextColor);
|
|
240
|
-
font-family: var(--sapFontFamily);
|
|
241
|
-
font-weight: normal;
|
|
242
|
-
-webkit-box-sizing: border-box;
|
|
243
|
-
box-sizing: border-box;
|
|
244
|
-
padding: 0;
|
|
245
|
-
margin: 0;
|
|
246
|
-
border: 0;
|
|
247
|
-
line-height: 1rem;
|
|
248
|
-
}
|
|
249
|
-
.fd-alert__text::before, .fd-alert__text::after {
|
|
250
|
-
-webkit-box-sizing: inherit;
|
|
251
|
-
box-sizing: inherit;
|
|
252
|
-
font-size: inherit;
|
|
253
|
-
}
|
|
9
|
+
*/.fd-alert{-webkit-box-sizing:border-box;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--sapNeutralBackground);border:1px solid;border-color:var(--sapNeutralBorderColor);border-radius:.25rem;box-sizing:border-box;color:var(--sapTextColor);display:-webkit-box;display:-ms-flexbox;display:flex;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;line-height:var(--sapContent_LineHeight);margin:0;min-height:2rem;padding:.4375rem 1rem;position:relative}.fd-alert:after,.fd-alert:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}.fd-alert .sap-icon--message-error,.fd-alert .sap-icon--message-information,.fd-alert .sap-icon--message-success,.fd-alert .sap-icon--message-warning{display:none}.fd-alert__close{position:absolute;right:.125rem;top:.125rem}.fd-alert__close:before{text-rendering:optimizeLegibility;content:"\e03e";font-family:SAP-icons;text-align:center;text-decoration:inherit;text-transform:none}.fd-alert__close[dir=rtl],[dir=rtl] .fd-alert__close{left:.125rem;right:auto}.fd-alert--dismissible{padding-right:2.5rem}.fd-alert--dismissible[dir=rtl],[dir=rtl] .fd-alert--dismissible{padding-left:2.5rem;padding-right:1rem}.fd-alert--error,.fd-alert--information,.fd-alert--success,.fd-alert--warning{padding-left:2.5rem}.fd-alert--error:after,.fd-alert--error:before,.fd-alert--information:after,.fd-alert--information:before,.fd-alert--success:after,.fd-alert--success:before,.fd-alert--warning:after,.fd-alert--warning:before{left:0;line-height:1rem;position:absolute;top:.4375rem;width:2.5rem}.fd-alert--error[dir=rtl],.fd-alert--information[dir=rtl],.fd-alert--success[dir=rtl],.fd-alert--warning[dir=rtl],[dir=rtl] .fd-alert--error,[dir=rtl] .fd-alert--information,[dir=rtl] .fd-alert--success,[dir=rtl] .fd-alert--warning{padding-left:1rem;padding-right:2.5rem}.fd-alert--error[dir=rtl]:after,.fd-alert--error[dir=rtl]:before,.fd-alert--information[dir=rtl]:after,.fd-alert--information[dir=rtl]:before,.fd-alert--success[dir=rtl]:after,.fd-alert--success[dir=rtl]:before,.fd-alert--warning[dir=rtl]:after,.fd-alert--warning[dir=rtl]:before,[dir=rtl] .fd-alert--error:after,[dir=rtl] .fd-alert--error:before,[dir=rtl] .fd-alert--information:after,[dir=rtl] .fd-alert--information:before,[dir=rtl] .fd-alert--success:after,[dir=rtl] .fd-alert--success:before,[dir=rtl] .fd-alert--warning:after,[dir=rtl] .fd-alert--warning:before{left:auto;right:0}.fd-alert--error.fd-alert--dismissible,.fd-alert--information.fd-alert--dismissible,.fd-alert--success.fd-alert--dismissible,.fd-alert--warning.fd-alert--dismissible{padding-right:2.5rem}.fd-alert--error.fd-alert--dismissible[dir=rtl],.fd-alert--information.fd-alert--dismissible[dir=rtl],.fd-alert--success.fd-alert--dismissible[dir=rtl],.fd-alert--warning.fd-alert--dismissible[dir=rtl],[dir=rtl] .fd-alert--error.fd-alert--dismissible,[dir=rtl] .fd-alert--information.fd-alert--dismissible,[dir=rtl] .fd-alert--success.fd-alert--dismissible,[dir=rtl] .fd-alert--warning.fd-alert--dismissible{padding-left:2.5rem}.fd-alert--error[dir=rtl]:after,.fd-alert--information[dir=rtl]:after,.fd-alert--success[dir=rtl]:after,.fd-alert--warning[dir=rtl]:after,[dir=rtl] .fd-alert--error:after,[dir=rtl] .fd-alert--information:after,[dir=rtl] .fd-alert--success:after,[dir=rtl] .fd-alert--warning:after{text-rendering:optimizeLegibility;font-family:SAP-icons;position:absolute;right:0;text-align:center;text-decoration:inherit;text-transform:none}.fd-alert--warning{background-color:var(--sapWarningBackground);border-color:var(--sapWarningBorderColor)}.fd-alert--warning:after,.fd-alert--warning:before{color:var(--sapWarningBorderColor)}.fd-alert--warning:before{content:"\e201"}.fd-alert--warning:before,.fd-alert--warning[dir=rtl]:after,[dir=rtl] .fd-alert--warning:after{text-rendering:optimizeLegibility;font-family:SAP-icons;text-align:center;text-decoration:inherit;text-transform:none}.fd-alert--warning[dir=rtl]:after,[dir=rtl] .fd-alert--warning:after{content:"\e201"}.fd-alert--error{background-color:var(--sapErrorBackground);border-color:var(--sapErrorBorderColor)}.fd-alert--error:after,.fd-alert--error:before{color:var(--sapErrorBorderColor)}.fd-alert--error:before{content:"\e0b1"}.fd-alert--error:before,.fd-alert--error[dir=rtl]:after,[dir=rtl] .fd-alert--error:after{text-rendering:optimizeLegibility;font-family:SAP-icons;text-align:center;text-decoration:inherit;text-transform:none}.fd-alert--error[dir=rtl]:after,[dir=rtl] .fd-alert--error:after{content:"\e0b1"}.fd-alert--success{background-color:var(--sapSuccessBackground);border-color:var(--sapSuccessBorderColor)}.fd-alert--success:after,.fd-alert--success:before{color:var(--sapSuccessBorderColor)}.fd-alert--success:before{content:"\e203"}.fd-alert--success:before,.fd-alert--success[dir=rtl]:after,[dir=rtl] .fd-alert--success:after{text-rendering:optimizeLegibility;font-family:SAP-icons;text-align:center;text-decoration:inherit;text-transform:none}.fd-alert--success[dir=rtl]:after,[dir=rtl] .fd-alert--success:after{content:"\e203"}.fd-alert--information{background-color:var(--sapInformationBackground);border-color:var(--sapInformationBorderColor)}.fd-alert--information:after,.fd-alert--information:before{color:var(--sapInformationBorderColor)}.fd-alert--information:before{content:"\e202"}.fd-alert--information:before,.fd-alert--information[dir=rtl]:after,[dir=rtl] .fd-alert--information:after{text-rendering:optimizeLegibility;font-family:SAP-icons;text-align:center;text-decoration:inherit;text-transform:none}.fd-alert--information[dir=rtl]:after,[dir=rtl] .fd-alert--information:after{content:"\e202"}.fd-alert--no-icon{padding-left:1rem}.fd-alert--no-icon:before{display:none}.fd-alert--no-icon[dir=rtl],[dir=rtl] .fd-alert--no-icon{padding-right:1rem}.fd-alert--no-icon[dir=rtl]:after,[dir=rtl] .fd-alert--no-icon:after{display:none}.fd-alert__text{-webkit-box-sizing:border-box;border:0;box-sizing:border-box;color:var(--sapTextColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;line-height:var(--sapContent_LineHeight);line-height:1rem;margin:0;padding:0}.fd-alert__text:after,.fd-alert__text:before{-webkit-box-sizing:inherit;box-sizing:inherit;font-size:inherit}
|