75 lines
1.8 KiB
CSS
75 lines
1.8 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;
|
|
}
|
|
|
|
.sg-vsf-meldungen-layout {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: var(--spacing-small);
|
|
align-items: start;
|
|
width: 100%;
|
|
}
|
|
|
|
.sg-vsf-meldungen-layout > .sg-group-card {
|
|
min-width: 0;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.sg-notifications-pattern__card {
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: none;
|
|
flex: 1 1 auto;
|
|
}
|
|
|
|
.sg-vsf-meldungen-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|