Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
File size: 2,390 Bytes
bb8dbe6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 | /* Presentation only: vote state and permissions remain in the player. */
.radio-action-icon {
position: relative;
display: inline-block;
flex: 0 0 auto;
transform-origin: center;
}
.icon-button.like-button.liked {
background: linear-gradient(135deg, #a677e8, #c59af2);
border-color: #dfc3ff;
box-shadow: 0 8px 28px rgba(172, 121, 240, .25);
}
.icon-button.upvote-button.voted {
color: #9edfc5;
background: #20332f;
border-color: rgba(158, 223, 197, .42);
box-shadow: none;
}
.icon-button.downvote-button.voted {
color: #e7a0a7;
background: #38272f;
border-color: rgba(231, 160, 167, .42);
box-shadow: none;
}
.icon-button.report-button.reported {
color: #edc585;
background: #352e22;
border-color: rgba(237, 197, 133, .42);
}
.report-button.reported .radio-action-icon::after {
content: "✓";
position: absolute;
top: -5px;
right: -9px;
width: 11px;
height: 11px;
display: grid;
place-items: center;
border-radius: 50%;
background: #edc585;
color: #352e22;
font-size: 8px;
line-height: 1;
}
.radio-action-feedback {
position: fixed;
z-index: 100;
pointer-events: none;
color: var(--feedback-color);
font-family: system-ui, sans-serif;
}
.radio-feedback-ring {
position: absolute;
inset: 0;
border: 1px solid currentColor;
border-radius: 12px;
}
.radio-feedback-particle {
position: absolute;
left: 50%;
top: 50%;
width: 4px;
height: 4px;
margin: -2px;
border-radius: 50%;
background: currentColor;
}
.radio-feedback-particle.heart {
width: 12px;
height: 12px;
margin: -6px;
background: none;
font-size: 12px;
line-height: 1;
}
.radio-feedback-label {
position: absolute;
top: calc(100% + 8px);
left: 50%;
width: max-content;
padding: 5px 8px;
border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
border-radius: 7px;
background: #191720;
font-size: 11px;
line-height: 1.3;
font-weight: 700;
white-space: nowrap;
}
.radio-feedback-announcement {
position: fixed;
width: 1px;
height: 1px;
overflow: hidden;
clip-path: inset(50%);
white-space: nowrap;
}
@media (max-width: 760px) {
.live-row { flex-direction: column; }
.track-actions { flex-wrap: wrap; max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
.track-actions .icon-button { transition: none; }
.track-actions .icon-button:hover { transform: none; }
}
|