UNPKG

react-pdf-annotations

Version:
37 lines (31 loc) 592 B
.Highlight { position: absolute; } .Highlight__emoji { position: absolute; color: black; opacity: 1; font-size: 28px; } .Highlight__parts { opacity: 1; } .Highlight__part { cursor: pointer; position: absolute; background: rgba(255, 226, 143, 1); transition: background 0.3s; } .Highlight__popup { background-color: #3d464d; border: 1px solid rgba(255, 255, 255, 0.25); color: white; padding: 0.5rem 1rem; border-radius: 3px; max-width: 300px; max-height: 100px; overflow-y: scroll; } .Highlight--scrolledTo .Highlight__part { background: #ff4141; }