Skip to content
Log in

Fulfillment row styling reference

On this page

A fulfillment row is one line on a station ticket, such as 2× Coffee, in the dialog that opens when operators tap a ticket. When operators can advance the lines of a ticket one at a time, each fulfillment row has a checkbox for selecting the line. You can change the fill, spacing, and type of fulfillment rows, and the shape of the checkboxes. Follow the POS styling API rules when you style fulfillment rows.

Where a fulfillment row appears

Fulfillment rows appear in the list of items in a station ticket’s dialog. The dialog opens from a ticket on a station’s screen, on the stations overview, or on an order.

When a ticket has more than one line that is not complete, operators can select Select items to put the ticket in selection mode, then choose lines and advance them separately. Fulfillment rows on any other ticket have no checkbox.

In a station’s list, a ticket is a station ticket row or a card.

Parts

Part What it is Available from
fulfillment-row-root The whole row, with the fill, corners, and padding: one line of a station ticket in the ticket’s dialog. v22.0.19
fulfillment-row-checkbox The checkbox at the start of the row, on a ticket whose lines can be advanced one by one. It’s hidden, with the line’s name pulled over it, until the ticket is in selection mode. v22.0.19
fulfillment-row-item The line’s quantity and item, such as 2× Coffee. v22.0.19

The Available from column shows the first release that carries the name.

Attributes

Narrow fulfillment-row-root by these, inside :where(), to style the rows in selection mode or the lines picked.

Attribute Values Default Available from
data-selecting true, false false v22.0.19
data-selected true, false false v22.0.19
  • data-selecting: whether the ticket is in selection mode, with each line’s checkbox showing so the row can be picked. A row on a ticket whose lines can’t be picked is never selecting.
  • data-selected: whether the line is picked to advance on its own, on a primary soft fill.

Component properties

Set these on fulfillment-row-root, on fulfillment-row-root narrowed by an attribute, or on :root.

Property What it sets Default Available from
--sc-fulfillment-row-padding The space inside the row, around the content. var(–sc-spacing-2) var(–sc-spacing-3) v22.0.19
--sc-fulfillment-row-min-height The least height of the row. var(–sc-input-height-4) v22.0.19

Examples

Each example is tested against the POS on every change.

“Give each line more room.”

```css

part~=’fulfillment-row-root’ { –sc-fulfillment-row-padding: 12px 16px; –sc-fulfillment-row-min-height: 64px; } ```

“Show the picked lines in our brand green.” Narrow the row by whether it’s picked:

```css

background-color: #1e7b34; color: #ffffff; } ```

“Outline the lines while the ticket is in selection mode.”

```css

outline: 1px solid #d0d0d0; } ```

“Make the items bigger.”

```css

[part~=’fulfillment-row-item’] { font-size: 18px; } ```

“Round the checkboxes.”

```css

[part~=’fulfillment-row-checkbox’] { border-radius: 50%; } ```

What can’t be styled yet

  • The tint a row shows while hovered in selection mode, picked or not: a fill you set replaces it, so add a :hover rule beside yours to keep one
  • A row on a ticket whose lines can’t be picked, apart from one on a ticket whose lines can, before selection mode opens
  • The size, margins, and opacity of the checkboxes: until selection mode opens, each checkbox is transparent, with the item pulled over it by a negative margin, so changing any of these shows the checkbox or leaves a gap before the item

Retired

None yet.

Was this article helpful?

Was this article helpful?