stacker.news/components/upvote.module.css
Keyan 5f0494de30
rethinking boost (#1408)
* reuse boost for jobs

* wip

* allow job stopping

* restore upvote.js

* expire boost

* boost beyond edit window

* fix boost bolt styling

* rank comments with boost

* no random sort for jobs

* top boost for month at top of territory

* boost hints

* more boost help

* squash migrations

* for same boost, prioritize older

* show ad only if active

* fix itemCreate/Update boost expiration jobs

* fix fee button precedence
2024-09-19 13:13:14 -05:00

51 lines
833 B
CSS

.upvote {
fill: #a5a5a5;
user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
}
.upvoteWrapper {
position: relative;
padding-right: .2rem;
padding-left: .2rem;
margin-left: -.4rem;
}
.noSelfTips {
transform: scaleX(-1);
}
.upvoteWrapper:not(.noSelfTips):hover {
cursor: pointer;
}
.upvote.voted {
fill: #F6911D;
filter: drop-shadow(0 0 6px #f6911d90);
}
.cover {
background: var(--bs-body-bg);
width: 100%;
overflow: hidden;
mix-blend-mode: color;
position: absolute;
left: 4px;
width: 17px;
}
.pending {
animation-name: pulse;
animation-iteration-count: infinite;
animation-timing-function: linear;
animation-duration: 0.25s;
animation-direction: alternate;
}
@keyframes pulse {
0% {
fill: #a5a5a5;
}
}