UNPKG

wix-style-react

Version:
75 lines (61 loc) 1.21 kB
:import { -st-from: "../Foundation/stylable/colors.st.css"; -st-named: D60; } :import { -st-from: "../Foundation/stylable/mixins/flex-gap-polyfilled.js"; -st-named: gap; } .root { -st-states: reducedSpacingAndImprovedLayout; display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; padding: 21px 30px; height: 78px; width: 100%; } .root:reducedSpacingAndImprovedLayout { padding: 18px 24px; height: initial; } .item { -st-states: layout(enum(button)); display: flex; } .item:not(:first-child) { margin-inline-start: 12px; } .item:not(:last-child) { margin-inline-end: 12px; } .item:layout(button):not(:first-child){ margin-inline-start: 0px; } .item:layout(button):not(:last-child){ margin-inline-end: 0px; } .itemLabel { -st-mixin: gap(12px); display: flex; align-items: center; } .itemGroup { -st-states: position(enum(end, start)); display: flex; align-items: center; } .itemGroup:position(end) { justify-content: end; } .itemGroup:position(start) { justify-content: start; } .divider { height: 36px; width: 1px; margin-inline-start: 18px; margin-inline-end: 17px; background-color: value(D60); }