stacker.news/components/item.module.css

202 lines
3.1 KiB
CSS
Raw Normal View History

2021-04-13 19:57:32 -05:00
.title {
font-weight: 500;
2021-04-14 18:56:29 -05:00
white-space: normal;
max-width: 100%;
2023-07-14 11:07:03 -05:00
display: inline-block;
vertical-align: middle;
2023-07-24 13:35:05 -05:00
padding-bottom: .15rem;
2023-07-14 11:07:03 -05:00
}
.notification {
position: absolute;
2023-08-06 14:31:24 -05:00
padding: 3px;
background-color: var(--bs-info);
2023-08-06 14:31:24 -05:00
top: -3px;
right: -4px;
border: 1px solid var(--bs-body-bg);
}
2023-07-14 11:07:03 -05:00
.icon {
2023-07-15 11:35:10 -05:00
display: inline-block;
2021-04-13 19:57:32 -05:00
}
a.title:visited {
color: var(--theme-grey) !important;
}
2021-04-28 14:30:14 -05:00
.upvote {
2021-11-12 16:39:52 -06:00
margin-top: 3px;
2023-07-25 13:32:48 -05:00
padding-right: .2rem;
2021-04-28 14:30:14 -05:00
}
2021-04-13 19:57:32 -05:00
.link {
font-size: 80%;
2021-04-14 18:56:29 -05:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
flex: 1 0 128px;
2023-07-24 13:35:05 -05:00
padding-bottom: .15rem;
2021-04-13 19:57:32 -05:00
}
.newComment {
color: var(--theme-grey) !important;
background: var(--theme-clickToContextColor) !important;
2022-09-27 16:19:15 -05:00
vertical-align: middle;
2023-07-24 13:35:05 -05:00
margin-top: -1px;
margin-left: 0.1rem;
}
2022-01-07 10:32:31 -06:00
.pin {
2022-01-10 12:53:26 -06:00
fill: #a5a5a5;
2023-07-25 13:32:48 -05:00
margin-right: .4rem;
2023-07-26 08:48:46 -05:00
margin-left: -.2rem;
2023-08-16 17:53:51 -05:00
flex-shrink: 0;
}
.ad {
fill: #a5a5a5ac;
margin-right: .4rem;
margin-left: -.2rem;
flex-shrink: 0;
2022-01-07 10:32:31 -06:00
}
2022-09-21 14:57:36 -05:00
.dontLike {
fill: #a5a5a5;
2023-08-16 17:53:51 -05:00
margin-right: .35rem;
margin-left: -.2rem;
flex-shrink: 0;
2022-09-21 14:57:36 -05:00
}
2022-02-17 11:23:43 -06:00
.case {
fill: #a5a5a5;
margin-right: .2rem;
margin-top: .2rem;
padding: 0 2px;
}
2021-09-15 18:42:44 -05:00
.linkSmall {
width: 128px;
display: inline-block;
vertical-align: text-top;
}
2021-09-11 11:45:20 -05:00
a.link:visited {
color: var(--theme-linkVisited) !important;
2021-09-11 11:45:20 -05:00
}
2021-04-13 19:57:32 -05:00
.other {
font-size: 80%;
color: var(--theme-grey);
2023-07-24 13:35:05 -05:00
vertical-align: text-top;
margin-bottom: .125rem;
}
.other svg {
vertical-align: text-top;
}
.other .dropdown svg {
margin-top: -1px;
2021-04-14 18:56:29 -05:00
}
.item {
display: flex;
justify-content: flex-start;
min-width: 0;
padding-bottom: .5rem;
2022-07-21 17:55:05 -05:00
}
.item .companyImage {
border-radius: 100%;
align-self: center;
margin-right: 0.5rem;
margin-left: 0.3rem;
2021-12-05 11:37:55 -06:00
}
2022-06-02 18:25:21 -05:00
.itemDead {
pointer-events: none;
opacity: .5;
}
2021-12-05 11:37:55 -06:00
.item .cover {
top: 4px;
2021-04-14 18:56:29 -05:00
}
.hunk {
2022-09-21 14:57:36 -05:00
min-width: 0;
2021-04-28 11:30:02 -05:00
width: 100%;
line-height: 1.06rem;
2021-04-14 18:56:29 -05:00
}
2023-01-26 10:11:55 -06:00
.bountyIcon {
margin-left: 5px;
margin-right: 5px;
margin-top: -2px;
}
2022-07-21 17:55:05 -05:00
/* .itemJob .hunk {
align-self: center;
}
.itemJob .rank {
align-self: center;
} */
2021-04-14 18:56:29 -05:00
.main {
display: flex;
align-items: baseline;
}
.children {
2021-12-05 11:37:55 -06:00
margin-left: 28px;
2021-04-22 17:14:32 -05:00
}
.rank {
font-weight: 600;
margin-top: .25rem;
2021-04-22 17:14:32 -05:00
display: flex;
color: var(--theme-grey);
2021-04-22 17:14:32 -05:00
font-size: 90%;
}
.skeleton .other {
2021-11-12 16:39:52 -06:00
height: 14px;
2021-04-22 17:14:32 -05:00
align-items: center;
}
.skeleton .title {
background-color: var(--theme-grey);
2021-04-22 17:14:32 -05:00
width: 500px;
border-radius: .4rem;
2021-11-12 16:39:52 -06:00
height: 17px;
margin: 0;
2021-04-22 17:14:32 -05:00
}
2022-10-25 16:35:32 -05:00
.skeleton .name {
background-color: var(--theme-grey);
width: 100px;
border-radius: .4rem;
height: 17px;
margin: 0;
}
2021-04-22 17:14:32 -05:00
.skeleton .link {
height: 14px;
background-color: var(--theme-grey);
2021-04-22 17:14:32 -05:00
width: 800px;
2021-04-28 17:52:03 -05:00
border-radius: .3rem;
2021-11-12 16:39:52 -06:00
margin: 2px 0px;
2021-04-22 17:14:32 -05:00
}
.skeleton .otherItem {
display: inline-flex;
width: 42px;
height: 70%;
2021-04-28 17:52:03 -05:00
border-radius: .27rem;
background-color: var(--theme-grey);
2021-04-22 17:14:32 -05:00
margin-right: .5rem;
}
.skeleton .otherItemLonger {
width: 60px;
2021-04-13 19:57:32 -05:00
}