UNPKG

@lyra/form-builder

Version:
68 lines (53 loc) 1.29 kB
@import 'part:@lyra/base/theme/variables-style'; .root { display: block; position: relative; } .list { user-select: none; } .listReadOnly { composes: list; opacity: 0.5; } .list + .functions { padding-top: var(--medium-padding); } .popupAnchor { position: absolute; top: 75%; left: 2em; } .movingItem { composes: movingItem from 'part:@lyra/base/theme/layout/helpers'; } .listItem { composes: listItemStates from 'part:@lyra/base/theme/layout/backgrounds-style'; composes: lineBetween from 'part:@lyra/components/lists/default-item-style'; cursor: default; } .listItemMute { composes: lineBetween from 'part:@lyra/components/lists/default-item-style'; } .gridItem { display: block; } .popupAnchorRelative { margin-left: calc(var(--medium-padding) * -1); margin-right: calc(var(--medium-padding) * -1); /* Hack for the draghandle */ @nest &.sortable { margin-left: calc(var(--medium-padding) * -1 - 2.5rem); } } .warning { composes: root from 'part:@lyra/components/fieldsets/default-style'; padding: var(--medium-padding); border: 5px dashed var(--state-warning-color); @nest & > h3 { color: var(--state-warning-color); } } .functions { composes: functions from 'part:@lyra/components/fieldsets/default-style'; }