stacker.news/components/notifications.module.css

61 lines
1.3 KiB
CSS
Raw Normal View History

2023-08-06 15:47:58 +00:00
.fresh {
border-radius: 0;
border: solid 1px var(--bs-info);
2024-07-11 21:59:07 +00:00
border-bottom: 0;
border-top: 0;
2021-08-17 23:59:22 +00:00
}
2023-08-06 15:47:58 +00:00
.fresh:not(.fresh ~ .fresh) {
border-top-left-radius: .4rem;
border-top-right-radius: .4rem;
border-top: solid 1px var(--bs-info);
2021-08-20 00:13:32 +00:00
}
2023-08-06 15:47:58 +00:00
.fresh:has(+ :not(.fresh)) {
border-bottom-left-radius: .4rem;
border-bottom-right-radius: .4rem;
border-bottom: solid 1px var(--bs-info);
2024-07-11 21:59:07 +00:00
}
.reply {
border-radius: 0;
background-color: var(--theme-note-reply);
border-bottom: 0;
border-top: 0;
}
.reply:hover {
background-color: var(--theme-clickToContextColor);
}
.reply:not(.fresh):not(.reply + .reply) {
border-top-left-radius: .4rem;
border-top-right-radius: .4rem;
}
.reply:not(.fresh):has(+ :not(.reply)) {
border-bottom-left-radius: .4rem;
border-bottom-right-radius: .4rem;
}
.alertBtn {
display: inline-block;
font-weight: bold;
text-align: center;
vertical-align: middle;
user-select: none;
background-color: transparent;
border: 0 solid transparent;
font-size: 0.9rem;
}
.subFormGroup > div {
margin-right: 0 !important;
}
.badge {
color: var(--theme-grey) !important;
background: var(--theme-clickToContextColor) !important;
vertical-align: middle;
margin-left: 0.5rem;
2021-08-17 23:59:22 +00:00
}