155 lines
3.4 KiB
CSS
155 lines
3.4 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-user-notification-pattern {
|
|
display: flex;
|
|
width: var(--layout-user-notification-card-width);
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.sg-card-segment.sg-user-notification-pattern__actions {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.sg-user-notification-staple {
|
|
display: grid;
|
|
width: var(--layout-user-notification-card-width);
|
|
margin-inline: auto;
|
|
padding-inline-end: calc(var(--layout-user-notification-staple-offset) * 2);
|
|
padding-block-end: calc(var(--layout-user-notification-staple-offset) * 2);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.sg-user-notification-staple > .sg-card {
|
|
grid-area: 1 / 1;
|
|
align-self: start;
|
|
width: 100%;
|
|
min-width: 0;
|
|
max-width: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.sg-user-notification-staple > .sg-card:first-child {
|
|
z-index: 3;
|
|
}
|
|
|
|
.sg-user-notification-staple > .sg-card:nth-child(2) {
|
|
z-index: 2;
|
|
transform: translate(
|
|
var(--layout-user-notification-staple-offset),
|
|
var(--layout-user-notification-staple-offset)
|
|
);
|
|
}
|
|
|
|
.sg-user-notification-staple > .sg-card:nth-child(3) {
|
|
z-index: 1;
|
|
transform: translate(
|
|
calc(var(--layout-user-notification-staple-offset) * 2),
|
|
calc(var(--layout-user-notification-staple-offset) * 2)
|
|
);
|
|
}
|
|
|
|
.sg-card-segment.sg-user-notification-staple__actions {
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.sg-vsf-meldungen-mobile {
|
|
display: none;
|
|
}
|
|
|
|
.sg-vsf-meldungen-mobile__panels {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--spacing-small);
|
|
width: 100%;
|
|
}
|
|
|
|
.sg-vsf-meldungen-mobile__panel {
|
|
width: 100%;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.sg-vsf-meldungen-layout {
|
|
display: none;
|
|
}
|
|
|
|
.sg-vsf-meldungen-mobile {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
.sg-user-notification-pattern {
|
|
width: 100%;
|
|
}
|
|
|
|
.sg-user-notification-staple {
|
|
width: 100%;
|
|
}
|
|
}
|