stacker.news/components/notifications.module.css

76 lines
1.6 KiB
CSS
Raw Normal View History

2023-08-06 15:47:58 +00:00
.fresh {
border-radius: 0;
2024-07-12 14:12:12 +00:00
border: solid 1px var(--theme-note-fresh);
2024-07-11 21:59:07 +00:00
border-bottom: 0;
border-top: 0;
margin-left: -0.5rem;
padding-left: 0.5rem;
margin-right: -0.5rem;
padding-right: 0.5rem;
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;
2024-07-12 14:12:12 +00:00
border-top: solid 1px var(--theme-note-fresh);
2021-08-20 00:13:32 +00:00
}
2024-07-12 15:55:24 +00:00
.fresh:has(+ :not(.fresh)):has(+ :not(.reply)),
.fresh:not(.reply):has(+ :not(.fresh)) {
2023-08-06 15:47:58 +00:00
border-bottom-left-radius: .4rem;
border-bottom-right-radius: .4rem;
2024-07-12 15:55:24 +00:00
}
.fresh:has(+ :not(.fresh)) {
2024-07-12 14:12:12 +00:00
border-bottom: solid 1px var(--theme-note-fresh);
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;
2024-07-12 15:38:47 +00:00
}
.noteHeader {
display: inline-block;
font-weight: 800;
line-height: 1.25;
vertical-align: middle;
2021-08-17 23:59:22 +00:00
}