unslopkit

Components / Tooltips and popovers

Message hover actions

A small action bar that floats over the corner of a chat message on hover or focus, each icon with its own one word label.

  1. Tove Lindahl 06:02

    High water is 6:10 on Saturday. Slip by 5:45?

  2. Ravi Nair 06:05

    I have the launch key. Who took the cox box home after Tuesday?

Drawn in your kit, Plain.Change the look

The code

Plain HTML and CSS on your kit's variables. Put it next to tokens/variables.css from your kit's files and it draws in your look.

<div class="ukc-tooltip-message-actions">
<ol class="chat">
  <li class="msg"><span class="av" aria-hidden="true">TL</span><div class="b"><p class="who">Tove Lindahl <span>06:02</span></p><p class="say">High water is 6:10 on Saturday. Slip by 5:45?</p></div><div class="bar" role="toolbar" aria-label="Message actions"><span class="ac"><button type="button" aria-label="React"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M9 10h.01M15 10h.01M8.5 14.5c2 2 5 2 7 0"/></svg></button><span class="lab" aria-hidden="true">React</span></span><span class="ac"><button type="button" aria-label="Reply"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 7l-5 5 5 5"/><path d="M5 12h9a5 5 0 0 1 5 5v2"/></svg></button><span class="lab" aria-hidden="true">Reply</span></span><span class="ac"><button type="button" aria-label="Save"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 4h10v16l-5-4-5 4z"/></svg></button><span class="lab" aria-hidden="true">Save</span></span></div></li>
  <li class="msg show"><span class="av" aria-hidden="true">RN</span><div class="b"><p class="who">Ravi Nair <span>06:05</span></p><p class="say">I have the launch key. Who took the cox box home after Tuesday?</p></div><div class="bar" role="toolbar" aria-label="Message actions"><span class="ac"><button type="button" aria-label="React"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M9 10h.01M15 10h.01M8.5 14.5c2 2 5 2 7 0"/></svg></button><span class="lab" aria-hidden="true">React</span></span><span class="ac on"><button type="button" aria-label="Reply"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M10 7l-5 5 5 5"/><path d="M5 12h9a5 5 0 0 1 5 5v2"/></svg></button><span class="lab" aria-hidden="true">Reply</span></span><span class="ac"><button type="button" aria-label="Save"><svg width="15" height="15" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 4h10v16l-5-4-5 4z"/></svg></button><span class="lab" aria-hidden="true">Save</span></span></div></li>
</ol>
</div>

More tooltips and popovers

All 26
    1. 0:00 to 2:14WrenClose by, in the bramble at the gate
    2. 2:14 to 3:50BlackbirdLoud on the left, top of the alder
    3. 3:50 to 5:30Reed warblerChattering low in the reeds
    4. 5:30 to 6:40CuckooFar off, across the water

    Dawn chorus, Holme Marsh

    1:07 / 6:40 · 3 May, 04:52

    Scrubber preview

  • Payment terms

    The share of each payment the client holds back until the final walkthrough. of 10% is kept from every progress claim on this job and paid out once the client signs off the last inspection.

    Definition term

  • $per hour

    Help toggletip

  • Bordered popover with caret

  • Shows above Shows to the right Shows to the left Shows below

    Four placements

  • Hours logged189 hWeek 46
    1. Monday31 hours
    2. Tuesday38 hours
    3. Wednesday27 hours
    4. Thursday42 hours
    5. Friday35 hours
    6. Saturday12 hours
    7. Sunday4 hours

    Chart value tips