Skip to content
Log in

Sheet styling reference

On this page

A sheet is a panel that slides up from the bottom of a POS screen, such as the keypad that opens when operators tap a quantity in the cart on a touch screen. Operators close a sheet by tapping outside it or swiping it down. You can change the sheet fill, corners, and shadow, the color of the short bar at the top of a sheet, the spacing of the options in a sheet, etc. Follow the POS styling API rules when you style sheets.

Where a sheet appears

Sheets appear in these places:

  • The keypad for typing a quantity, on a touch screen or when the On-screen number pad setting is on. Operators open it by tapping a quantity in the cart, on a return, on a fulfillment, on the labels to print, or when adding a product that asks for a quantity. This sheet covers the bottom of the whole screen and has a handle. The keys are a numpad.
  • The Assisted by list when a cart is saved as an open order, on a narrow screen such as a phone. This sheet covers the bottom of the whole screen and has a handle and a list of options. Each option is a menu button.
  • The filters of a list of records, when they don’t fit above the list and collapse into a Filters button. This sheet covers the bottom of the list’s pane only, and has no handle.

Parts

Part What it is Available from
sheet-root The whole sheet: the panel that slides up from the bottom, with the fill, rounded top corners, shadow, and the space around what it holds. v22.0.19
sheet-handle The short bar centered at the top of a sheet. Not every sheet has one. v22.0.19
sheet-body The list of options in a sheet opened from a list such as Assisted by, which scrolls when it’s taller than the sheet. v22.0.19

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

Attributes

To style the sheets inside a pane apart from the sheets over the whole screen, narrow sheet-root by this attribute, inside :where().

Attribute Values Default Available from
data-contained true, false false v22.0.19
  • true: the sheet covers the bottom of one pane of the screen, such as the filters of a list of records, and grows to most of that pane’s height.
  • false: the sheet covers the bottom of the whole screen, and grows to most of the screen’s height.

Component properties

None yet. Style the parts directly.

Examples

Each example is tested against the POS on every change.

“Give the sheets a warmer fill.”

```css

part~=’sheet-root’ { background-color: #fbf7f0; } ```

“Make the sheets’ top corners squarer.”

```css

part~=’sheet-root’ { border-radius: 8px 8px 0 0; } ```

“Drop the shadow of the sheets inside a pane.”

```css

box-shadow: none; } ```

“Give the handle our brand color.”

```css

[part~=’sheet-handle’] { background-color: #0b5394; } ```

“Give the options in a sheet more room between them.”

```css

[part~=’sheet-root’] [part~=’sheet-body’] { gap: 12px; } ```

What can’t be styled yet

  • The blurred backdrop behind a sheet, which has no part yet
  • A single sheet apart from the others, such as the quantity keypad, since no sheet has a name yet
  • What a sheet holds, apart from the options in a list: the filters and the Cancel and Apply filters buttons have no parts, and the keypad is styled as a numpad
  • Where a sheet sits, how tall it grows, and how it slides in, which the POS sets
  • The layer a sheet sits on over the rest of the screen

Retired

None yet.

Was this article helpful?

Was this article helpful?