unslopkit

Components / Tooltips and popovers

Confirm popover

A small popover that opens from a remove button, says what will happen, and asks once. Lighter than a modal for a single row.

Saturday · Port Arlen to Skerry

  • 06:55MV Kittiwake

    Remove the 06:55 sailing?

    Nobody is booked on it yet.

  • 07:40MV Sandpiper

    Remove the 07:40 sailing?

    14 booked passengers move to the 08:25 and get a text.

  • 08:25MV Kittiwake

    Remove the 08:25 sailing?

    9 booked passengers move to the 09:10 and get a text.

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-confirm-popover">
<div class="tt">
  <p class="k">Saturday · Port Arlen to Skerry</p>
  <ul class="sail">
    <li><span class="tm">06:55</span><span class="bt">MV Kittiwake</span><details name="ukc-tooltip-confirm-popover"><summary aria-label="Remove the 06:55 sailing"><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="M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v5M14 11v5"/></svg></summary><div class="pop" role="group" aria-labelledby="ukc-tooltip-confirm-popover-0655"><p class="q" id="ukc-tooltip-confirm-popover-0655">Remove the 06:55 sailing?</p><p class="why">Nobody is booked on it yet.</p><div class="acts"><button type="button" class="keep">Keep it</button><button type="button" class="rm"><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="M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v5M14 11v5"/></svg> Remove</button></div></div></details></li>
    <li><span class="tm">07:40</span><span class="bt">MV Sandpiper</span><details name="ukc-tooltip-confirm-popover" open><summary aria-label="Remove the 07:40 sailing"><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="M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v5M14 11v5"/></svg></summary><div class="pop" role="group" aria-labelledby="ukc-tooltip-confirm-popover-0740"><p class="q" id="ukc-tooltip-confirm-popover-0740">Remove the 07:40 sailing?</p><p class="why">14 booked passengers move to the 08:25 and get a text.</p><div class="acts"><button type="button" class="keep">Keep it</button><button type="button" class="rm"><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="M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v5M14 11v5"/></svg> Remove</button></div></div></details></li>
    <li><span class="tm">08:25</span><span class="bt">MV Kittiwake</span><details name="ukc-tooltip-confirm-popover"><summary aria-label="Remove the 08:25 sailing"><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="M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v5M14 11v5"/></svg></summary><div class="pop" role="group" aria-labelledby="ukc-tooltip-confirm-popover-0825"><p class="q" id="ukc-tooltip-confirm-popover-0825">Remove the 08:25 sailing?</p><p class="why">9 booked passengers move to the 09:10 and get a text.</p><div class="acts"><button type="button" class="keep">Keep it</button><button type="button" class="rm"><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="M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v5M14 11v5"/></svg> Remove</button></div></div></details></li>
  </ul>
</div>
</div>

More tooltips and popovers

All 26
  • Chapter 4 · The oil years

    The lamp at Ness Point burned colza oil until 1871,Pressed from rapeseed. It smoked less than whale oil and cost about a third as much.Keeper's log, Ness Point, March 1869 when the keepers changed to paraffin and the weekly ration fell from nine gallons to five.

    Quiet footnote

  • Spike saysFerns sulk in direct sun. Park this one a metre back from the window and mist it on Sundays.

    Boston fern

    14 cm pot · $18 · 6 in the shop

    Speech bubble helper

  • Tall mug$28 · 6 left Bud vase$34 · 3 left Noodle bowl$42 · 2 left
    Autumn firing, ash glaze. Point at a dot for the price.

    Price tag hotspots

  • Loaves sold per hour
    • Today
    • Last Saturday
    1. 7:00 to 8:00Today12Last Sat102 more than last week
    2. 8:00 to 9:00Today31Last Sat265 more than last week
    3. 9:00 to 10:00Today44Last Sat359 more than last week
    4. 10:00 to 11:00Today38Last Sat413 fewer than last week
    5. 11:00 to 12:00Today52Last Sat4012 more than last week
    6. 12:00 to 13:00Today47Last Sat3611 more than last week
    7. 13:00 to 14:00Today29Last Sat301 fewer than last week
    8. 14:00 to 15:00Today18Last Sat224 fewer than last week

    Line chart crosshair

  • Low Tide, mix v3

    4:12 · 24 bit WAV

    Share

    Share this mix

    Who can listen

    Link stops working on 12 December

    Share popover

  • Link preview card