stacker.news/components/comment.module.css

135 lines
1.9 KiB
CSS
Raw Normal View History

2021-04-14 23:56:29 +00:00
.item {
align-items: flex-start;
2021-12-05 17:37:55 +00:00
margin-bottom: 0 !important;
2022-08-18 19:19:01 +00:00
padding-bottom: 0 !important;
2021-04-14 23:56:29 +00:00
}
.upvote {
2021-04-28 19:30:14 +00:00
margin-top: 9px;
2023-07-25 18:32:48 +00:00
margin-left: .25rem;
margin-right: 0rem;
2021-04-14 23:56:29 +00:00
}
.pin {
fill: #a5a5a5;
margin-left: .2rem;
margin-right: .3rem;
flex-shrink: 0;
}
2022-09-21 19:57:36 +00:00
.dontLike {
fill: #a5a5a5;
2023-12-28 00:14:22 +00:00
margin-right: .35rem;
2022-09-21 19:57:36 +00:00
padding: 2px;
margin-left: 1px;
margin-top: 9px;
cursor: pointer;
2022-09-21 19:57:36 +00:00
}
2021-04-14 23:56:29 +00:00
.text {
margin-top: .1rem;
2021-04-29 18:43:17 +00:00
padding-right: 15px;
2021-04-14 23:56:29 +00:00
}
2021-09-23 20:09:07 +00:00
.edit {
display: inline-block;
cursor: pointer;
}
2023-07-24 18:35:05 +00:00
.op {
margin-top: -1px;
vertical-align: text-top;
}
2021-04-30 21:42:51 +00:00
.collapsed .hunk {
margin-bottom: .5rem;
}
.collapsed .text,
.collapsed .children {
display: none;
}
2023-12-28 00:14:22 +00:00
.collapsed .upvote, .collapsed .dontLike {
2021-04-30 21:42:51 +00:00
visibility: hidden;
height: 0;
}
.collapser {
cursor: pointer;
fill: var(--theme-grey);
2021-04-30 21:42:51 +00:00
width: 45px;
margin-left: auto;
user-select: none;
}
2021-04-14 23:56:29 +00:00
.children {
2021-08-10 22:59:06 +00:00
margin-top: 0;
2023-07-25 18:32:48 +00:00
margin-left: 30px;
2021-04-17 18:15:18 +00:00
}
.comments {
2023-07-25 18:32:48 +00:00
margin-left: -.75rem;
2021-04-22 22:14:32 +00:00
}
2023-07-25 18:32:48 +00:00
@media screen and (min-width: 768px) {
.comments {
margin-left: .75rem;
}
}
2021-04-22 22:14:32 +00:00
.skeleton .hunk {
width: 100%;
}
.skeleton .text {
2021-04-28 22:52:03 +00:00
height: 80px;
2021-04-22 22:14:32 +00:00
border-radius: .4rem;
2021-04-29 18:43:17 +00:00
margin-right: 15px;
2021-04-28 22:52:03 +00:00
}
.skeleton .reply {
width: 45px;
height: 10px;
border-radius: .2rem;
}
.replyPadder {
padding: .25rem 0;
padding-bottom: .5rem;
2021-04-28 19:30:14 +00:00
}
2023-01-26 16:11:55 +00:00
.replyContainer {
display: flex;
justify-content: flex-start;
align-items: center;
}
2021-04-28 19:30:14 +00:00
.comment {
border-radius: .4rem;
padding-top: .5rem;
padding-left: .2rem;
2021-11-09 22:43:56 +00:00
background-color: var(--theme-commentBg);
2021-04-28 19:30:14 +00:00
}
2023-01-26 16:11:55 +00:00
.bountyIcon {
margin-left: 5px;
margin-right: 5px;
}
2021-11-12 22:39:52 +00:00
.hunk {
margin-bottom: 0;
margin-top: 0.15rem;
2021-11-12 22:39:52 +00:00
}
2021-12-21 21:29:42 +00:00
.comment:not(:last-of-type) {
2021-04-28 19:30:14 +00:00
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
2021-12-21 21:29:42 +00:00
.comment:not(:first-of-type) {
2021-04-28 19:30:14 +00:00
padding-top: .25rem;
border-top-left-radius: 0;
border-top-right-radius: 0;
2021-04-14 23:56:29 +00:00
}