58 lines
2.0 KiB
CSS
58 lines
2.0 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: 1 1 var(--layout-notifications-card-flex-basis);
|
|
min-width: var(--layout-notifications-card-min-width);
|
|
max-width: var(--layout-notifications-card-max-width);
|
|
}
|
|
|
|
/* Dokumentierte Pattern-Variante: Notifications innerhalb Group Card */
|
|
.sg-notifications-pattern.sg-group-card > .sg-notifications-pattern__card {
|
|
flex: 1 1 var(--layout-notifications-card-flex-basis);
|
|
min-width: var(--layout-notifications-card-min-width);
|
|
max-width: var(--layout-notifications-card-max-width);
|
|
width: auto;
|
|
}
|
|
|
|
.sg-notifications-pattern.sg-notifications-pattern--multi-row .sg-notifications-pattern__card {
|
|
flex: 0 0 var(--layout-object-card-shared-width);
|
|
width: var(--layout-object-card-shared-width);
|
|
}
|
|
|
|
.sg-notifications-pattern__card > .sg-notifications-pattern__text-segment {
|
|
height: var(--layout-notifications-text-segment-fixed-height);
|
|
}
|
|
|
|
.sg-notifications-pattern__card > .sg-notifications-pattern__title-segment {
|
|
height: var(--layout-notifications-text-segment-fixed-height);
|
|
}
|
|
|
|
.sg-notifications-pattern__card > .sg-notifications-pattern__text-segment.sg-notifications-pattern__text-segment--small {
|
|
height: var(--layout-notifications-text-segment-fixed-height-small);
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|