Feat/SW-1276 implement design * feat(SW-1276) UI implementation Desktop part 1 for MyStay * feat(SW-1276) UI implementation Desktop part 2 for MyStay * feat(SW-1276) UI implementation Mobile part 1 for MyStay * refactor: move files from MyStay/MyStay to MyStay * feat(SW-1276) Sidepeek implementation * feat(SW-1276): Refactoring * feat(SW-1276) UI implementation Mobile part 2 for MyStay * feat(SW-1276): translations * feat(SW-1276) fixed skeleton * feat(SW-1276): Added missing translations * feat(SW-1276): Removed console log * feat(SW-1276) fixed translations * feat(SW-1276): Added translations * feat(SW-1276) fix dynamic ID:s * feat(SW-1276) removed createElement * feat(SW-1276): Fixed build errors * feat(SW-1276): Updated label * feat(SW-1276): Rewrite SummaryCard Approved-by: Niclas Edenvin
49 lines
956 B
CSS
49 lines
956 B
CSS
.toast {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
border-radius: var(--Corner-radius-Large);
|
|
overflow: hidden;
|
|
background: var(--Base-Surface-Primary-light-Normal);
|
|
box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.08);
|
|
align-items: center;
|
|
}
|
|
|
|
.content {
|
|
padding: var(--Spacing-x-one-and-half) var(--Spacing-x3);
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.toast {
|
|
width: var(--width);
|
|
}
|
|
}
|
|
|
|
.toast .message {
|
|
padding: var(--Spacing-x2) var(--Spacing-x-one-and-half);
|
|
}
|
|
|
|
.success {
|
|
--icon-background-color: var(--UI-Semantic-Success);
|
|
}
|
|
|
|
.error {
|
|
--icon-background-color: var(--UI-Semantic-Error);
|
|
}
|
|
|
|
.warning {
|
|
--icon-background-color: var(--UI-Semantic-Warning);
|
|
}
|
|
|
|
.info {
|
|
--icon-background-color: var(--UI-Semantic-Information);
|
|
}
|
|
|
|
.iconContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: var(--icon-background-color);
|
|
padding: var(--Spacing-x2);
|
|
height: 100%;
|
|
}
|