unslopkit

Components / Tooltips and popovers

Settings popover

A popover under its button with a title, a line of help, and label and field pairs side by side, for a quick setting without a dialog.

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-basecoat-settings-popover">
<div class="anchor">
  <button class="trig" type="button" aria-expanded="true" aria-controls="ukc-bc-pop"><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="3"/><path d="M12 2v3M12 19v3M2 12h3M19 12h3M4.9 4.9l2.1 2.1M17 17l2.1 2.1M4.9 19.1L7 17M17 7l2.1-2.1"/></svg> Print size</button>
  <div class="pop" id="ukc-bc-pop" role="dialog" aria-labelledby="ukc-bc-pop-title">
    <p class="ttl" id="ukc-bc-pop-title">Printed invoices</p>
    <p class="sub">Paper size and margins for the PDF.</p>
    <div class="rows">
      <label for="ukc-bc-pop-w">Width</label><input id="ukc-bc-pop-w" type="text" value="210 mm">
      <label for="ukc-bc-pop-h">Height</label><input id="ukc-bc-pop-h" type="text" value="297 mm">
      <label for="ukc-bc-pop-m">Margin</label><input id="ukc-bc-pop-m" type="text" value="18 mm">
    </div>
  </div>
</div>
</div>

More tooltips and popovers

All 26
  • 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.

    Confirm popover

  • 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