59 lines
1.5 KiB
CSS
59 lines
1.5 KiB
CSS
/* ========================================================= */
|
|
/* Patterns: Notifications */
|
|
/* ========================================================= */
|
|
|
|
.sg-notifications-pattern {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: var(--spacing-small);
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
}
|
|
|
|
.sg-notifications-pattern__card {
|
|
flex: 0 0 100%;
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: none;
|
|
}
|
|
|
|
/* Dokumentierte Pattern-Variante: Notifications innerhalb Group Card */
|
|
.sg-notifications-pattern.sg-group-card > .sg-notifications-pattern__card {
|
|
flex: 0 0 100%;
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: none;
|
|
}
|
|
|
|
.sg-notifications-pattern.sg-notifications-pattern--multi-row .sg-notifications-pattern__card {
|
|
flex: 0 0 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
.sg-notifications-pattern__card > .sg-notifications-pattern__text-segment {
|
|
height: auto;
|
|
}
|
|
|
|
.sg-notifications-pattern__card > .sg-notifications-pattern__title-segment {
|
|
height: auto;
|
|
}
|
|
|
|
.sg-notifications-pattern__card > .sg-notifications-pattern__text-segment.sg-notifications-pattern__text-segment--small {
|
|
height: auto;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.sg-notifications-pattern__card {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: none;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.sg-notifications-pattern__card > .sg-notifications-pattern__text-segment,
|
|
.sg-notifications-pattern__card > .sg-notifications-pattern__title-segment,
|
|
.sg-notifications-pattern__card > .sg-notifications-pattern__text-segment.sg-notifications-pattern__text-segment--small {
|
|
height: auto;
|
|
}
|
|
}
|