64 lines
1.2 KiB
CSS
64 lines
1.2 KiB
CSS
.row {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: var(--mud-default-borderradius);
|
|
box-shadow: var(--custom-box-shadow);
|
|
width: 100%;
|
|
}
|
|
|
|
.behind {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
padding-right: 14px;
|
|
background: var(--mud-palette-error);
|
|
z-index: 0;
|
|
}
|
|
|
|
.trash-btn {
|
|
color: white;
|
|
padding: 10px 15px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.notification-card {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 12px;
|
|
background: var(--mud-palette-background);
|
|
transition: transform .2s ease;
|
|
touch-action: pan-y;
|
|
will-change: transform;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.avatar {
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 12px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: #0b1220;
|
|
border: 1px solid #1f2937;
|
|
font-weight: bold;
|
|
color: #22d3ee;
|
|
}
|
|
|
|
.title {
|
|
font-weight: 700;
|
|
margin-bottom: unset !important;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 13px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.collapsing {
|
|
transition: height .22s ease, margin .22s ease, opacity .22s ease;
|
|
overflow: hidden;
|
|
} |