@lavalogic/scoria 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +58 -0
- package/dist/Components/Action.svelte +258 -0
- package/dist/Components/Action.svelte.d.ts +30 -0
- package/dist/Components/AlertModal.svelte +373 -0
- package/dist/Components/AlertModal.svelte.d.ts +3 -0
- package/dist/Components/BigRadioSet.svelte +88 -0
- package/dist/Components/BigRadioSet.svelte.d.ts +30 -0
- package/dist/Components/Bubble.svelte +115 -0
- package/dist/Components/Bubble.svelte.d.ts +21 -0
- package/dist/Components/Button.svelte +540 -0
- package/dist/Components/Button.svelte.d.ts +32 -0
- package/dist/Components/Checkbox.svelte +168 -0
- package/dist/Components/Checkbox.svelte.d.ts +15 -0
- package/dist/Components/CollapsibleCard.svelte +136 -0
- package/dist/Components/CollapsibleCard.svelte.d.ts +11 -0
- package/dist/Components/Contexts/ContextMenu.svelte +73 -0
- package/dist/Components/Contexts/ContextMenu.svelte.d.ts +3 -0
- package/dist/Components/Contexts/ContextMenuDivider.svelte +11 -0
- package/dist/Components/Contexts/ContextMenuDivider.svelte.d.ts +6 -0
- package/dist/Components/Contexts/ContextMenuOption.svelte +65 -0
- package/dist/Components/Contexts/ContextMenuOption.svelte.d.ts +10 -0
- package/dist/Components/Contexts/Toast.svelte +89 -0
- package/dist/Components/Contexts/Toast.svelte.d.ts +8 -0
- package/dist/Components/Contexts/ToastContainer.svelte +54 -0
- package/dist/Components/Contexts/ToastContainer.svelte.d.ts +3 -0
- package/dist/Components/Contexts/Tooltip.svelte +116 -0
- package/dist/Components/Contexts/Tooltip.svelte.d.ts +3 -0
- package/dist/Components/DataMatrixIcon.svelte +58 -0
- package/dist/Components/DataMatrixIcon.svelte.d.ts +9 -0
- package/dist/Components/DateInput.svelte +356 -0
- package/dist/Components/DateInput.svelte.d.ts +24 -0
- package/dist/Components/DatePicker.svelte +346 -0
- package/dist/Components/DatePicker.svelte.d.ts +11 -0
- package/dist/Components/DesktopModal.svelte +235 -0
- package/dist/Components/DesktopModal.svelte.d.ts +23 -0
- package/dist/Components/Dial.svelte +219 -0
- package/dist/Components/Dial.svelte.d.ts +37 -0
- package/dist/Components/DimensionInput.svelte +486 -0
- package/dist/Components/DimensionInput.svelte.d.ts +32 -0
- package/dist/Components/FileCard.svelte +32 -0
- package/dist/Components/FileCard.svelte.d.ts +7 -0
- package/dist/Components/FileUpload.svelte +413 -0
- package/dist/Components/FileUpload.svelte.d.ts +27 -0
- package/dist/Components/GridInput.svelte +187 -0
- package/dist/Components/GridInput.svelte.d.ts +30 -0
- package/dist/Components/GridInputSet.svelte +37 -0
- package/dist/Components/GridInputSet.svelte.d.ts +30 -0
- package/dist/Components/HorizontalTabGroup.svelte +81 -0
- package/dist/Components/HorizontalTabGroup.svelte.d.ts +34 -0
- package/dist/Components/HorizontalTabGroupButton.svelte +85 -0
- package/dist/Components/HorizontalTabGroupButton.svelte.d.ts +29 -0
- package/dist/Components/Icon.svelte +1412 -0
- package/dist/Components/Icon.svelte.d.ts +887 -0
- package/dist/Components/LoadingAnimation.svelte +129 -0
- package/dist/Components/LoadingAnimation.svelte.d.ts +6 -0
- package/dist/Components/LoadingModal.svelte +316 -0
- package/dist/Components/LoadingModal.svelte.d.ts +7 -0
- package/dist/Components/LoadingOverlay.svelte +58 -0
- package/dist/Components/LoadingOverlay.svelte.d.ts +8 -0
- package/dist/Components/Modal.svelte +577 -0
- package/dist/Components/Modal.svelte.d.ts +31 -0
- package/dist/Components/MultiSelect.svelte +412 -0
- package/dist/Components/MultiSelect.svelte.d.ts +49 -0
- package/dist/Components/NumberInput.svelte +407 -0
- package/dist/Components/NumberInput.svelte.d.ts +32 -0
- package/dist/Components/PasswordInput.svelte +324 -0
- package/dist/Components/PasswordInput.svelte.d.ts +18 -0
- package/dist/Components/Portal.svelte +31 -0
- package/dist/Components/Portal.svelte.d.ts +8 -0
- package/dist/Components/ProgressBubble.svelte +134 -0
- package/dist/Components/ProgressBubble.svelte.d.ts +8 -0
- package/dist/Components/QuerySelect.svelte +556 -0
- package/dist/Components/QuerySelect.svelte.d.ts +52 -0
- package/dist/Components/SingleSelect.svelte +480 -0
- package/dist/Components/SingleSelect.svelte.d.ts +61 -0
- package/dist/Components/Switch.svelte +151 -0
- package/dist/Components/Switch.svelte.d.ts +12 -0
- package/dist/Components/Table/Body/QuickSearchCell.svelte +527 -0
- package/dist/Components/Table/Body/QuickSearchCell.svelte.d.ts +30 -0
- package/dist/Components/Table/Body/Rows/ColumnHighlight.svelte +67 -0
- package/dist/Components/Table/Body/Rows/ColumnHighlight.svelte.d.ts +8 -0
- package/dist/Components/Table/Body/Rows/ColumnList.svelte +67 -0
- package/dist/Components/Table/Body/Rows/ColumnList.svelte.d.ts +27 -0
- package/dist/Components/Table/Body/Rows/ColumnListRow.svelte +187 -0
- package/dist/Components/Table/Body/Rows/ColumnListRow.svelte.d.ts +28 -0
- package/dist/Components/Table/Body/Rows/Columns/ActionsCell.svelte +305 -0
- package/dist/Components/Table/Body/Rows/Columns/ActionsCell.svelte.d.ts +29 -0
- package/dist/Components/Table/Body/Rows/Columns/BubbleCell.svelte +171 -0
- package/dist/Components/Table/Body/Rows/Columns/BubbleCell.svelte.d.ts +28 -0
- package/dist/Components/Table/Body/Rows/Columns/ExpandCell.svelte +149 -0
- package/dist/Components/Table/Body/Rows/Columns/ExpandCell.svelte.d.ts +31 -0
- package/dist/Components/Table/Body/Rows/Columns/FocusableImmutableCell.svelte +156 -0
- package/dist/Components/Table/Body/Rows/Columns/FocusableImmutableCell.svelte.d.ts +31 -0
- package/dist/Components/Table/Body/Rows/Columns/ProgressCell.svelte +161 -0
- package/dist/Components/Table/Body/Rows/Columns/ProgressCell.svelte.d.ts +28 -0
- package/dist/Components/Table/Body/Rows/Columns/TableAction.svelte +62 -0
- package/dist/Components/Table/Body/Rows/Columns/TableAction.svelte.d.ts +30 -0
- package/dist/Components/Table/Body/Rows/Columns/TableCheckbox.svelte +155 -0
- package/dist/Components/Table/Body/Rows/Columns/TableCheckbox.svelte.d.ts +30 -0
- package/dist/Components/Table/Body/Rows/Columns/TableColumn.svelte +140 -0
- package/dist/Components/Table/Body/Rows/Columns/TableColumn.svelte.d.ts +31 -0
- package/dist/Components/Table/Body/Rows/Columns/TableDatePicker.svelte +290 -0
- package/dist/Components/Table/Body/Rows/Columns/TableDatePicker.svelte.d.ts +28 -0
- package/dist/Components/Table/Body/Rows/Columns/TableNumberInput.svelte +359 -0
- package/dist/Components/Table/Body/Rows/Columns/TableNumberInput.svelte.d.ts +28 -0
- package/dist/Components/Table/Body/Rows/Columns/TableQuerySelect.svelte +331 -0
- package/dist/Components/Table/Body/Rows/Columns/TableQuerySelect.svelte.d.ts +28 -0
- package/dist/Components/Table/Body/Rows/Columns/TableRowSelectionCheckbox.svelte +157 -0
- package/dist/Components/Table/Body/Rows/Columns/TableRowSelectionCheckbox.svelte.d.ts +30 -0
- package/dist/Components/Table/Body/Rows/Columns/TableSelect.svelte +354 -0
- package/dist/Components/Table/Body/Rows/Columns/TableSelect.svelte.d.ts +28 -0
- package/dist/Components/Table/Body/Rows/Columns/TableTextInput.svelte +375 -0
- package/dist/Components/Table/Body/Rows/Columns/TableTextInput.svelte.d.ts +28 -0
- package/dist/Components/Table/Body/Rows/Columns/ValidityCell.svelte +227 -0
- package/dist/Components/Table/Body/Rows/Columns/ValidityCell.svelte.d.ts +33 -0
- package/dist/Components/Table/Body/Rows/TableRow.svelte +201 -0
- package/dist/Components/Table/Body/Rows/TableRow.svelte.d.ts +30 -0
- package/dist/Components/Table/Body/TableBody.svelte +74 -0
- package/dist/Components/Table/Body/TableBody.svelte.d.ts +27 -0
- package/dist/Components/Table/ColumnDefinitions/ExampleItemColumnDef.svelte.d.ts +7 -0
- package/dist/Components/Table/ColumnDefinitions/ExampleItemColumnDef.svelte.js +139 -0
- package/dist/Components/Table/Headers/HighlightAllHeader.svelte +52 -0
- package/dist/Components/Table/Headers/HighlightAllHeader.svelte.d.ts +24 -0
- package/dist/Components/Table/Headers/SelectAllHeader.svelte +62 -0
- package/dist/Components/Table/Headers/SelectAllHeader.svelte.d.ts +24 -0
- package/dist/Components/Table/Headers/TableHead.svelte +366 -0
- package/dist/Components/Table/Headers/TableHead.svelte.d.ts +29 -0
- package/dist/Components/Table/Misc/ColumnPanel.svelte +96 -0
- package/dist/Components/Table/Misc/ColumnPanel.svelte.d.ts +24 -0
- package/dist/Components/Table/Misc/ColumnPanelModal.svelte +137 -0
- package/dist/Components/Table/Misc/ColumnPanelModal.svelte.d.ts +27 -0
- package/dist/Components/Table/Misc/FilterInput.svelte +635 -0
- package/dist/Components/Table/Misc/FilterInput.svelte.d.ts +45 -0
- package/dist/Components/Table/Misc/FilterPanel.svelte +49 -0
- package/dist/Components/Table/Misc/FilterPanel.svelte.d.ts +24 -0
- package/dist/Components/Table/Misc/FilterPanelModal.svelte +74 -0
- package/dist/Components/Table/Misc/FilterPanelModal.svelte.d.ts +27 -0
- package/dist/Components/Table/Misc/SidePanel.svelte +51 -0
- package/dist/Components/Table/Misc/SidePanel.svelte.d.ts +10 -0
- package/dist/Components/Table/Misc/TableFooter.svelte +364 -0
- package/dist/Components/Table/Misc/TableFooter.svelte.d.ts +27 -0
- package/dist/Components/Table/Misc/TableHorizontalBar.svelte +171 -0
- package/dist/Components/Table/Misc/TableHorizontalBar.svelte.d.ts +24 -0
- package/dist/Components/Table/Misc/TableSidebar.svelte +186 -0
- package/dist/Components/Table/Misc/TableSidebar.svelte.d.ts +24 -0
- package/dist/Components/Table/Misc/ToolboxPanel.svelte +84 -0
- package/dist/Components/Table/Misc/ToolboxPanel.svelte.d.ts +24 -0
- package/dist/Components/Table/Misc/ToolboxPanelModal.svelte +108 -0
- package/dist/Components/Table/Misc/ToolboxPanelModal.svelte.d.ts +27 -0
- package/dist/Components/Table/NestedTable.svelte +86 -0
- package/dist/Components/Table/NestedTable.svelte.d.ts +34 -0
- package/dist/Components/Table/Table.svelte +555 -0
- package/dist/Components/Table/Table.svelte.d.ts +37 -0
- package/dist/Components/Table/Types/Columns/AbstractDisplayDef.svelte.d.ts +19 -0
- package/dist/Components/Table/Types/Columns/AbstractDisplayDef.svelte.js +10 -0
- package/dist/Components/Table/Types/Columns/Column.d.ts +10 -0
- package/dist/Components/Table/Types/Columns/Column.js +1 -0
- package/dist/Components/Table/Types/Columns/ColumnDefPreset.d.ts +11 -0
- package/dist/Components/Table/Types/Columns/ColumnDefPreset.js +1 -0
- package/dist/Components/Table/Types/Columns/ColumnPinningState.d.ts +4 -0
- package/dist/Components/Table/Types/Columns/ColumnPinningState.js +1 -0
- package/dist/Components/Table/Types/Columns/ColumnSizingState.d.ts +1 -0
- package/dist/Components/Table/Types/Columns/ColumnSizingState.js +1 -0
- package/dist/Components/Table/Types/Columns/ColumnType.d.ts +9 -0
- package/dist/Components/Table/Types/Columns/ColumnType.js +10 -0
- package/dist/Components/Table/Types/Columns/DateColumn.d.ts +10 -0
- package/dist/Components/Table/Types/Columns/DateColumn.js +1 -0
- package/dist/Components/Table/Types/Columns/DateTableCell.d.ts +8 -0
- package/dist/Components/Table/Types/Columns/DateTableCell.js +1 -0
- package/dist/Components/Table/Types/Columns/Definitions/AccessorFn.d.ts +1 -0
- package/dist/Components/Table/Types/Columns/Definitions/AccessorFn.js +1 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/AccessorDef.svelte.d.ts +10 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/AccessorDef.svelte.js +5 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/AccessorType.d.ts +8 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/AccessorType.js +9 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/CheckboxDef.d.ts +9 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/CheckboxDef.js +8 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/DateInputDef.svelte.d.ts +11 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/DateInputDef.svelte.js +10 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/NumberInputDef.svelte.d.ts +14 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/NumberInputDef.svelte.js +13 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/QueryDef.d.ts +15 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/QueryDef.js +12 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/SelectDef.svelte.d.ts +18 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/SelectDef.svelte.js +16 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/TextInputDef.d.ts +9 -0
- package/dist/Components/Table/Types/Columns/Definitions/Accessors/TextInputDef.js +8 -0
- package/dist/Components/Table/Types/Columns/Definitions/Actions/ActionsDef.svelte.d.ts +16 -0
- package/dist/Components/Table/Types/Columns/Definitions/Actions/ActionsDef.svelte.js +19 -0
- package/dist/Components/Table/Types/Columns/Definitions/ColumnDef.svelte.d.ts +52 -0
- package/dist/Components/Table/Types/Columns/Definitions/ColumnDef.svelte.js +77 -0
- package/dist/Components/Table/Types/Columns/Definitions/ColumnDefSet.d.ts +11 -0
- package/dist/Components/Table/Types/Columns/Definitions/ColumnDefSet.js +1 -0
- package/dist/Components/Table/Types/Columns/Definitions/Display/BubbleDef.svelte.d.ts +11 -0
- package/dist/Components/Table/Types/Columns/Definitions/Display/BubbleDef.svelte.js +10 -0
- package/dist/Components/Table/Types/Columns/Definitions/Display/DisplayDef.d.ts +8 -0
- package/dist/Components/Table/Types/Columns/Definitions/Display/DisplayDef.js +8 -0
- package/dist/Components/Table/Types/Columns/Definitions/Display/ProgressBarDef.svelte.d.ts +11 -0
- package/dist/Components/Table/Types/Columns/Definitions/Display/ProgressBarDef.svelte.js +10 -0
- package/dist/Components/Table/Types/Columns/Definitions/Display/ValidityDef.svelte.d.ts +11 -0
- package/dist/Components/Table/Types/Columns/Definitions/Display/ValidityDef.svelte.js +11 -0
- package/dist/Components/Table/Types/Columns/Definitions/Expand/ExpandDef.svelte.d.ts +21 -0
- package/dist/Components/Table/Types/Columns/Definitions/Expand/ExpandDef.svelte.js +18 -0
- package/dist/Components/Table/Types/Columns/Definitions/FilterOnly/FilterOnlyDef.d.ts +6 -0
- package/dist/Components/Table/Types/Columns/Definitions/FilterOnly/FilterOnlyDef.js +5 -0
- package/dist/Components/Table/Types/Columns/Definitions/RowSelection/RowSelectionDef.svelte.d.ts +7 -0
- package/dist/Components/Table/Types/Columns/Definitions/RowSelection/RowSelectionDef.svelte.js +15 -0
- package/dist/Components/Table/Types/Columns/Definitions/ValidationFn.d.ts +3 -0
- package/dist/Components/Table/Types/Columns/Definitions/ValidationFn.js +1 -0
- package/dist/Components/Table/Types/Columns/DefsWrapper.d.ts +6 -0
- package/dist/Components/Table/Types/Columns/DefsWrapper.js +1 -0
- package/dist/Components/Table/Types/Columns/DisplayType.d.ts +7 -0
- package/dist/Components/Table/Types/Columns/DisplayType.js +8 -0
- package/dist/Components/Table/Types/Columns/ExpandColumn.d.ts +10 -0
- package/dist/Components/Table/Types/Columns/ExpandColumn.js +1 -0
- package/dist/Components/Table/Types/Columns/ExpandTableCell.d.ts +8 -0
- package/dist/Components/Table/Types/Columns/ExpandTableCell.js +1 -0
- package/dist/Components/Table/Types/Columns/ProgressBarColumn.d.ts +10 -0
- package/dist/Components/Table/Types/Columns/ProgressBarColumn.js +1 -0
- package/dist/Components/Table/Types/Columns/ProgressBarTableCell.d.ts +8 -0
- package/dist/Components/Table/Types/Columns/ProgressBarTableCell.js +1 -0
- package/dist/Components/Table/Types/Columns/TableActionButton.d.ts +8 -0
- package/dist/Components/Table/Types/Columns/TableActionButton.js +1 -0
- package/dist/Components/Table/Types/Columns/TableCell.d.ts +8 -0
- package/dist/Components/Table/Types/Columns/TableCell.js +1 -0
- package/dist/Components/Table/Types/Columns/VisibilityState.d.ts +1 -0
- package/dist/Components/Table/Types/Columns/VisibilityState.js +1 -0
- package/dist/Components/Table/Types/Context/ReadonlyRowModel.d.ts +6 -0
- package/dist/Components/Table/Types/Context/ReadonlyRowModel.js +1 -0
- package/dist/Components/Table/Types/Context/Row.d.ts +10 -0
- package/dist/Components/Table/Types/Context/Row.js +1 -0
- package/dist/Components/Table/Types/Context/RowModel.d.ts +5 -0
- package/dist/Components/Table/Types/Context/RowModel.js +1 -0
- package/dist/Components/Table/Types/Context/Table.d.ts +33 -0
- package/dist/Components/Table/Types/Context/Table.js +1 -0
- package/dist/Components/Table/Types/Context/TableContext.svelte.d.ts +232 -0
- package/dist/Components/Table/Types/Context/TableContext.svelte.js +2317 -0
- package/dist/Components/Table/Types/Context/TableInitOptions.d.ts +14 -0
- package/dist/Components/Table/Types/Context/TableInitOptions.js +1 -0
- package/dist/Components/Table/Types/Context/TableSettings.d.ts +8 -0
- package/dist/Components/Table/Types/Context/TableSettings.js +1 -0
- package/dist/Components/Table/Types/Coordinates/CellCoordinates.d.ts +5 -0
- package/dist/Components/Table/Types/Coordinates/CellCoordinates.js +1 -0
- package/dist/Components/Table/Types/Coordinates/CellCoordinatesWithoutColumn.d.ts +2 -0
- package/dist/Components/Table/Types/Coordinates/CellCoordinatesWithoutColumn.js +1 -0
- package/dist/Components/Table/Types/DataRepository/DataRepository.d.ts +40 -0
- package/dist/Components/Table/Types/DataRepository/DataRepository.js +1 -0
- package/dist/Components/Table/Types/DataRepository/LocalDataRepository.d.ts +24 -0
- package/dist/Components/Table/Types/DataRepository/LocalDataRepository.js +1 -0
- package/dist/Components/Table/Types/DataRepository/LocalTableDataRepository.svelte.d.ts +55 -0
- package/dist/Components/Table/Types/DataRepository/LocalTableDataRepository.svelte.js +311 -0
- package/dist/Components/Table/Types/DataRepository/RemoteDataRepository.d.ts +19 -0
- package/dist/Components/Table/Types/DataRepository/RemoteDataRepository.js +1 -0
- package/dist/Components/Table/Types/DataRepository/RemoteTableDataRepository.svelte.d.ts +92 -0
- package/dist/Components/Table/Types/DataRepository/RemoteTableDataRepository.svelte.js +521 -0
- package/dist/Components/Table/Types/DataRepository/SortingState.d.ts +5 -0
- package/dist/Components/Table/Types/DataRepository/SortingState.js +1 -0
- package/dist/Components/Table/Types/DataRepository/TableDataRepository.svelte.d.ts +47 -0
- package/dist/Components/Table/Types/DataRepository/TableDataRepository.svelte.js +75 -0
- package/dist/Components/Table/Types/ExpandedPanel.d.ts +6 -0
- package/dist/Components/Table/Types/ExpandedPanel.js +7 -0
- package/dist/Components/Table/Types/Filtering/ColumnFiltersState.d.ts +5 -0
- package/dist/Components/Table/Types/Filtering/ColumnFiltersState.js +1 -0
- package/dist/Components/Table/Types/Filtering/CustomFilter.d.ts +12 -0
- package/dist/Components/Table/Types/Filtering/CustomFilter.js +1 -0
- package/dist/Components/Table/Types/Filtering/CustomFilterType.d.ts +6 -0
- package/dist/Components/Table/Types/Filtering/CustomFilterType.js +7 -0
- package/dist/Components/Table/Types/Filtering/CustomFlterFn.d.ts +2 -0
- package/dist/Components/Table/Types/Filtering/CustomFlterFn.js +1 -0
- package/dist/Components/Table/Types/Filtering/CustomProxyFIlter.d.ts +10 -0
- package/dist/Components/Table/Types/Filtering/CustomProxyFIlter.js +1 -0
- package/dist/Components/Table/Types/Filtering/CustomRemoteFilters.d.ts +3 -0
- package/dist/Components/Table/Types/Filtering/CustomRemoteFilters.js +1 -0
- package/dist/Components/Table/Types/Filtering/FilterFn.d.ts +9 -0
- package/dist/Components/Table/Types/Filtering/FilterFn.js +1 -0
- package/dist/Components/Table/Types/Filtering/FilterMode.d.ts +3 -0
- package/dist/Components/Table/Types/Filtering/FilterMode.js +1 -0
- package/dist/Components/Table/Types/Filtering/FilterType.d.ts +4 -0
- package/dist/Components/Table/Types/Filtering/FilterType.js +5 -0
- package/dist/Components/Table/Types/Filtering/HasCustomFilterFunction.d.ts +3 -0
- package/dist/Components/Table/Types/Filtering/HasCustomFilterFunction.js +1 -0
- package/dist/Components/Table/Types/Filtering/NumberDateFilterMode.d.ts +13 -0
- package/dist/Components/Table/Types/Filtering/NumberDateFilterMode.js +14 -0
- package/dist/Components/Table/Types/Filtering/StringFilterMode.d.ts +15 -0
- package/dist/Components/Table/Types/Filtering/StringFilterMode.js +16 -0
- package/dist/Components/Table/Types/Focus/MultiFocusEdge.d.ts +10 -0
- package/dist/Components/Table/Types/Focus/MultiFocusEdge.js +11 -0
- package/dist/Components/Table/Types/Focus/TableFocusDetails.svelte.d.ts +40 -0
- package/dist/Components/Table/Types/Focus/TableFocusDetails.svelte.js +174 -0
- package/dist/Components/Table/Types/Header.d.ts +9 -0
- package/dist/Components/Table/Types/Header.js +1 -0
- package/dist/Components/Table/Types/HeaderGroup.d.ts +5 -0
- package/dist/Components/Table/Types/HeaderGroup.js +1 -0
- package/dist/Components/Table/Types/OnChangeFn.d.ts +3 -0
- package/dist/Components/Table/Types/OnChangeFn.js +1 -0
- package/dist/Components/Table/Types/Pagination/PaginationState.d.ts +4 -0
- package/dist/Components/Table/Types/Pagination/PaginationState.js +1 -0
- package/dist/Components/Table/Types/Pagination/PaginationType.d.ts +5 -0
- package/dist/Components/Table/Types/Pagination/PaginationType.js +6 -0
- package/dist/Components/Table/Types/Toolbar/ToolbarPosition.d.ts +6 -0
- package/dist/Components/Table/Types/Toolbar/ToolbarPosition.js +7 -0
- package/dist/Components/TextArea.svelte +349 -0
- package/dist/Components/TextArea.svelte.d.ts +29 -0
- package/dist/Components/TextInput.svelte +407 -0
- package/dist/Components/TextInput.svelte.d.ts +34 -0
- package/dist/Components/ThreeStateRadio.svelte +202 -0
- package/dist/Components/ThreeStateRadio.svelte.d.ts +16 -0
- package/dist/Components/Touch/BoolCard.svelte +180 -0
- package/dist/Components/Touch/BoolCard.svelte.d.ts +13 -0
- package/dist/Components/Touch/DateModal.svelte +256 -0
- package/dist/Components/Touch/DateModal.svelte.d.ts +22 -0
- package/dist/Components/Touch/EditCard.svelte +223 -0
- package/dist/Components/Touch/EditCard.svelte.d.ts +15 -0
- package/dist/Components/Touch/InfoCard.svelte +82 -0
- package/dist/Components/Touch/InfoCard.svelte.d.ts +11 -0
- package/dist/Components/Touch/InfoTextCard.svelte +55 -0
- package/dist/Components/Touch/InfoTextCard.svelte.d.ts +10 -0
- package/dist/Components/Touch/ModalExplanation.svelte +27 -0
- package/dist/Components/Touch/ModalExplanation.svelte.d.ts +9 -0
- package/dist/Components/Touch/NumberKeyboard.svelte +299 -0
- package/dist/Components/Touch/NumberKeyboard.svelte.d.ts +14 -0
- package/dist/Components/Touch/NumberModal.svelte +336 -0
- package/dist/Components/Touch/NumberModal.svelte.d.ts +18 -0
- package/dist/Components/Touch/PlusMinusCard.svelte +94 -0
- package/dist/Components/Touch/PlusMinusCard.svelte.d.ts +9 -0
- package/dist/Components/Touch/SelectModal.svelte +351 -0
- package/dist/Components/Touch/SelectModal.svelte.d.ts +11 -0
- package/dist/Components/Touch/SummaryCard.svelte +348 -0
- package/dist/Components/Touch/SummaryCard.svelte.d.ts +18 -0
- package/dist/Components/Touch/TextAreaModal.svelte +330 -0
- package/dist/Components/Touch/TextAreaModal.svelte.d.ts +15 -0
- package/dist/Components/Touch/TextModal.svelte +377 -0
- package/dist/Components/Touch/TextModal.svelte.d.ts +22 -0
- package/dist/Components/Touch/TouchCard.svelte +169 -0
- package/dist/Components/Touch/TouchCard.svelte.d.ts +9 -0
- package/dist/Components/Touch/TouchModal.svelte +516 -0
- package/dist/Components/Touch/TouchModal.svelte.d.ts +34 -0
- package/dist/Components/Touch/UtilityButton.svelte +192 -0
- package/dist/Components/Touch/UtilityButton.svelte.d.ts +23 -0
- package/dist/Components/VerticalTabGroup.svelte +129 -0
- package/dist/Components/VerticalTabGroup.svelte.d.ts +12 -0
- package/dist/Components/VerticalTabGroupButton.svelte +108 -0
- package/dist/Components/VerticalTabGroupButton.svelte.d.ts +8 -0
- package/dist/Contexts/AlertContext.svelte.d.ts +46 -0
- package/dist/Contexts/AlertContext.svelte.js +118 -0
- package/dist/Contexts/ContextMenuContext.svelte.d.ts +22 -0
- package/dist/Contexts/ContextMenuContext.svelte.js +45 -0
- package/dist/Contexts/ToastContext.svelte.d.ts +9 -0
- package/dist/Contexts/ToastContext.svelte.js +82 -0
- package/dist/Contexts/TooltipContext.svelte.d.ts +31 -0
- package/dist/Contexts/TooltipContext.svelte.js +78 -0
- package/dist/Contexts/UntypedInputContext.svelte.d.ts +13 -0
- package/dist/Contexts/UntypedInputContext.svelte.js +78 -0
- package/dist/Delay/Delay.d.ts +3 -0
- package/dist/Delay/Delay.js +4 -0
- package/dist/Helpers/Datamatrix.d.ts +11 -0
- package/dist/Helpers/Datamatrix.js +2 -0
- package/dist/Helpers/Helpers.svelte.d.ts +102 -0
- package/dist/Helpers/Helpers.svelte.js +490 -0
- package/dist/Helpers/INamed.d.ts +3 -0
- package/dist/Helpers/INamed.js +1 -0
- package/dist/Helpers/skata.d.ts +1 -0
- package/dist/Helpers/skata.js +1 -0
- package/dist/Types/Examples/ExampleItem.d.ts +15 -0
- package/dist/Types/Examples/ExampleItem.js +1 -0
- package/dist/Types/Examples/ExampleModal.svelte +38 -0
- package/dist/Types/Examples/ExampleModal.svelte.d.ts +5 -0
- package/dist/Types/Examples/ExampleSelectEnum.d.ts +6 -0
- package/dist/Types/Examples/ExampleSelectEnum.js +7 -0
- package/dist/Types/Internal/ApplicationIdentifier.d.ts +37 -0
- package/dist/Types/Internal/ApplicationIdentifier.js +2080 -0
- package/dist/Types/Internal/AttributeOperation.d.ts +30 -0
- package/dist/Types/Internal/AttributeOperation.js +33 -0
- package/dist/Types/Internal/BigRadioOption.d.ts +5 -0
- package/dist/Types/Internal/BigRadioOption.js +1 -0
- package/dist/Types/Internal/ButtonProp.d.ts +11 -0
- package/dist/Types/Internal/ButtonProp.js +1 -0
- package/dist/Types/Internal/CallbackButton.d.ts +10 -0
- package/dist/Types/Internal/CallbackButton.js +1 -0
- package/dist/Types/Internal/DateChange.d.ts +5 -0
- package/dist/Types/Internal/DateChange.js +1 -0
- package/dist/Types/Internal/DatePickerType.d.ts +8 -0
- package/dist/Types/Internal/DatePickerType.js +9 -0
- package/dist/Types/Internal/FloService.d.ts +7 -0
- package/dist/Types/Internal/FloService.js +30 -0
- package/dist/Types/Internal/GridItem.d.ts +4 -0
- package/dist/Types/Internal/GridItem.js +1 -0
- package/dist/Types/Internal/GridMultiSelectItem.d.ts +4 -0
- package/dist/Types/Internal/GridMultiSelectItem.js +1 -0
- package/dist/Types/Internal/GridMultiSelectItemAsObject.d.ts +5 -0
- package/dist/Types/Internal/GridMultiSelectItemAsObject.js +1 -0
- package/dist/Types/Internal/GridMultiSelectItemAsPrimitive.d.ts +5 -0
- package/dist/Types/Internal/GridMultiSelectItemAsPrimitive.js +1 -0
- package/dist/Types/Internal/GridNumberItem.d.ts +4 -0
- package/dist/Types/Internal/GridNumberItem.js +1 -0
- package/dist/Types/Internal/GridSelectItem.d.ts +12 -0
- package/dist/Types/Internal/GridSelectItem.js +1 -0
- package/dist/Types/Internal/GridSingleSelectItem.d.ts +5 -0
- package/dist/Types/Internal/GridSingleSelectItem.js +1 -0
- package/dist/Types/Internal/GridSingleSelectItemAsObject.d.ts +5 -0
- package/dist/Types/Internal/GridSingleSelectItemAsObject.js +1 -0
- package/dist/Types/Internal/GridSingleSelectItemAsPrimitive.d.ts +5 -0
- package/dist/Types/Internal/GridSingleSelectItemAsPrimitive.js +1 -0
- package/dist/Types/Internal/GridStringItem.d.ts +9 -0
- package/dist/Types/Internal/GridStringItem.js +1 -0
- package/dist/Types/Internal/GridTextItem.d.ts +4 -0
- package/dist/Types/Internal/GridTextItem.js +1 -0
- package/dist/Types/Internal/IdentifiableToastMessage.d.ts +5 -0
- package/dist/Types/Internal/IdentifiableToastMessage.js +1 -0
- package/dist/Types/Internal/InputVariant.d.ts +6 -0
- package/dist/Types/Internal/InputVariant.js +7 -0
- package/dist/Types/Internal/Misc.d.ts +271 -0
- package/dist/Types/Internal/Misc.js +129 -0
- package/dist/Types/Internal/RefWrapper.d.ts +3 -0
- package/dist/Types/Internal/RefWrapper.js +1 -0
- package/dist/Types/Internal/SelectOption.d.ts +4 -0
- package/dist/Types/Internal/SelectOption.js +1 -0
- package/dist/Types/Internal/Shape.d.ts +4 -0
- package/dist/Types/Internal/Shape.js +5 -0
- package/dist/Types/Internal/Side.d.ts +6 -0
- package/dist/Types/Internal/Side.js +7 -0
- package/dist/Types/Internal/Size.d.ts +13 -0
- package/dist/Types/Internal/Size.js +14 -0
- package/dist/Types/Internal/TabOption.d.ts +12 -0
- package/dist/Types/Internal/TabOption.js +1 -0
- package/dist/Types/Internal/Ternary.d.ts +5 -0
- package/dist/Types/Internal/Ternary.js +6 -0
- package/dist/Types/Internal/ToastMessage.d.ts +10 -0
- package/dist/Types/Internal/ToastMessage.js +1 -0
- package/dist/Types/Internal/Validity.d.ts +7 -0
- package/dist/Types/Internal/Validity.js +8 -0
- package/dist/Types/Internal/ValidityWrapper.d.ts +5 -0
- package/dist/Types/Internal/ValidityWrapper.js +1 -0
- package/dist/Types/Internal/Variant.d.ts +10 -0
- package/dist/Types/Internal/Variant.js +11 -0
- package/dist/Types/Requests/IFillablePodLineDateRequestBody.d.ts +11 -0
- package/dist/Types/Requests/IFillablePodLineDateRequestBody.js +10 -0
- package/dist/Types/Requests/IRequiredPodLineDateRequestBody.d.ts +12 -0
- package/dist/Types/Requests/IRequiredPodLineDateRequestBody.js +8 -0
- package/dist/Types/Requests/IValidatedPodLineDateRequestBody.d.ts +14 -0
- package/dist/Types/Requests/IValidatedPodLineDateRequestBody.js +10 -0
- package/dist/Types/Responses/AddressType.d.ts +3 -0
- package/dist/Types/Responses/AddressType.js +2 -0
- package/dist/Types/Responses/IAddress.d.ts +39 -0
- package/dist/Types/Responses/IAddress.js +30 -0
- package/dist/Types/Responses/IBaseAddress.d.ts +17 -0
- package/dist/Types/Responses/IBaseAddress.js +15 -0
- package/dist/Types/Responses/ICountry.d.ts +16 -0
- package/dist/Types/Responses/ICountry.js +1 -0
- package/dist/Types/Responses/IDBEntry.d.ts +13 -0
- package/dist/Types/Responses/IDBEntry.js +12 -0
- package/dist/Types/Responses/IErrorResponse.d.ts +10 -0
- package/dist/Types/Responses/IErrorResponse.js +1 -0
- package/dist/Types/Responses/ILabelPrinter.d.ts +4 -0
- package/dist/Types/Responses/ILabelPrinter.js +1 -0
- package/dist/Types/Responses/ILaserPrinter.d.ts +4 -0
- package/dist/Types/Responses/ILaserPrinter.js +1 -0
- package/dist/Types/Responses/ILoginResponse.d.ts +8 -0
- package/dist/Types/Responses/ILoginResponse.js +1 -0
- package/dist/Types/Responses/IPaginatedPayload.d.ts +5 -0
- package/dist/Types/Responses/IPaginatedPayload.js +1 -0
- package/dist/Types/Responses/IPaginatedResponse.d.ts +5 -0
- package/dist/Types/Responses/IPaginatedResponse.js +1 -0
- package/dist/Types/Responses/IPagination.d.ts +9 -0
- package/dist/Types/Responses/IPagination.js +1 -0
- package/dist/Types/Responses/IPayload.d.ts +3 -0
- package/dist/Types/Responses/IPayload.js +1 -0
- package/dist/Types/Responses/IPrinter.d.ts +11 -0
- package/dist/Types/Responses/IPrinter.js +1 -0
- package/dist/Types/Responses/IProcessTypeSelectionMethodOutboundType.d.ts +18 -0
- package/dist/Types/Responses/IProcessTypeSelectionMethodOutboundType.js +12 -0
- package/dist/Types/Responses/IProcessTypeSelectionMethodWarehouseCustomer.d.ts +20 -0
- package/dist/Types/Responses/IProcessTypeSelectionMethodWarehouseCustomer.js +14 -0
- package/dist/Types/Responses/IProcessTypeSelectionMethodWarehouseCustomerType.d.ts +20 -0
- package/dist/Types/Responses/IProcessTypeSelectionMethodWarehouseCustomerType.js +14 -0
- package/dist/Types/Responses/IProductCategory.d.ts +19 -0
- package/dist/Types/Responses/IProductCategory.js +13 -0
- package/dist/Types/Responses/IProductCategoryDetails.d.ts +33 -0
- package/dist/Types/Responses/IProductCategoryDetails.js +13 -0
- package/dist/Types/Responses/IProductIgnoreOnAllocationOutboundType.d.ts +17 -0
- package/dist/Types/Responses/IProductIgnoreOnAllocationOutboundType.js +11 -0
- package/dist/Types/Responses/IProductLocation.d.ts +23 -0
- package/dist/Types/Responses/IProductLocation.js +17 -0
- package/dist/Types/Responses/IResponse.d.ts +8 -0
- package/dist/Types/Responses/IResponse.js +1 -0
- package/dist/Types/Responses/IStockSortationMethodCustomer.d.ts +18 -0
- package/dist/Types/Responses/IStockSortationMethodCustomer.js +12 -0
- package/dist/Types/Responses/Pods/IAttributeTypeWithAI.d.ts +8 -0
- package/dist/Types/Responses/Pods/IAttributeTypeWithAI.js +1 -0
- package/dist/Types/Responses/Pods/IBatchType.d.ts +5 -0
- package/dist/Types/Responses/Pods/IBatchType.js +1 -0
- package/dist/Types/Responses/Pods/IDateType.d.ts +6 -0
- package/dist/Types/Responses/Pods/IDateType.js +1 -0
- package/dist/Types/Responses/Pods/IFillablePodLineAttribute.d.ts +10 -0
- package/dist/Types/Responses/Pods/IFillablePodLineAttribute.js +9 -0
- package/dist/Types/Responses/Pods/IFillablePodLineBatch.d.ts +18 -0
- package/dist/Types/Responses/Pods/IFillablePodLineBatch.js +12 -0
- package/dist/Types/Responses/Pods/IFillablePodLineDate.d.ts +19 -0
- package/dist/Types/Responses/Pods/IFillablePodLineDate.js +13 -0
- package/dist/Types/Responses/Pods/IFillablePodLinePurchaseOrder.d.ts +18 -0
- package/dist/Types/Responses/Pods/IFillablePodLinePurchaseOrder.js +12 -0
- package/dist/Types/Responses/Pods/IFillablePodLineSerial.d.ts +18 -0
- package/dist/Types/Responses/Pods/IFillablePodLineSerial.js +12 -0
- package/dist/Types/Responses/Pods/IFillablePodLineTag.d.ts +18 -0
- package/dist/Types/Responses/Pods/IFillablePodLineTag.js +12 -0
- package/dist/Types/Responses/Pods/IPurchaseOrderType.d.ts +5 -0
- package/dist/Types/Responses/Pods/IPurchaseOrderType.js +1 -0
- package/dist/Types/Responses/Pods/IRequiredOrValidatedAttribute.d.ts +5 -0
- package/dist/Types/Responses/Pods/IRequiredOrValidatedAttribute.js +7 -0
- package/dist/Types/Responses/Pods/IRequiredPodLineBatch.d.ts +16 -0
- package/dist/Types/Responses/Pods/IRequiredPodLineBatch.js +8 -0
- package/dist/Types/Responses/Pods/IRequiredPodLineDate.d.ts +17 -0
- package/dist/Types/Responses/Pods/IRequiredPodLineDate.js +8 -0
- package/dist/Types/Responses/Pods/IRequiredPodLinePurchaseOrder.d.ts +19 -0
- package/dist/Types/Responses/Pods/IRequiredPodLinePurchaseOrder.js +8 -0
- package/dist/Types/Responses/Pods/IRequiredPodLineSerial.d.ts +19 -0
- package/dist/Types/Responses/Pods/IRequiredPodLineSerial.js +8 -0
- package/dist/Types/Responses/Pods/IRequiredPodLineTag.d.ts +19 -0
- package/dist/Types/Responses/Pods/IRequiredPodLineTag.js +8 -0
- package/dist/Types/Responses/Pods/ISerialType.d.ts +6 -0
- package/dist/Types/Responses/Pods/ISerialType.js +1 -0
- package/dist/Types/Responses/Pods/ITagType.d.ts +6 -0
- package/dist/Types/Responses/Pods/ITagType.js +1 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineAttribute.d.ts +13 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineAttribute.js +10 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineBatch.d.ts +17 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineBatch.js +10 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineDate.d.ts +19 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineDate.js +10 -0
- package/dist/Types/Responses/Pods/IValidatedPodLinePurchaseOrder.d.ts +20 -0
- package/dist/Types/Responses/Pods/IValidatedPodLinePurchaseOrder.js +10 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineSerial.d.ts +20 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineSerial.js +10 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineTag.d.ts +20 -0
- package/dist/Types/Responses/Pods/IValidatedPodLineTag.js +10 -0
- package/dist/Types/Responses/Products/IAttributeRule.d.ts +34 -0
- package/dist/Types/Responses/Products/IAttributeRule.js +28 -0
- package/dist/Types/Responses/Products/IBarcode.d.ts +18 -0
- package/dist/Types/Responses/Products/IBarcode.js +12 -0
- package/dist/Types/Responses/Products/IBatchRule.d.ts +36 -0
- package/dist/Types/Responses/Products/IBatchRule.js +9 -0
- package/dist/Types/Responses/Products/ICustomerRule.d.ts +23 -0
- package/dist/Types/Responses/Products/ICustomerRule.js +17 -0
- package/dist/Types/Responses/Products/IDateRule.d.ts +36 -0
- package/dist/Types/Responses/Products/IDateRule.js +9 -0
- package/dist/Types/Responses/Products/IPrice.d.ts +19 -0
- package/dist/Types/Responses/Products/IPrice.js +12 -0
- package/dist/Types/Responses/Products/IProduct.d.ts +436 -0
- package/dist/Types/Responses/Products/IProduct.js +77 -0
- package/dist/Types/Responses/Products/IProductKit.d.ts +24 -0
- package/dist/Types/Responses/Products/IProductKit.js +18 -0
- package/dist/Types/Responses/Products/IProductKitMatrix.d.ts +13 -0
- package/dist/Types/Responses/Products/IProductKitMatrix.js +1 -0
- package/dist/Types/Responses/Products/IProductSupplier.d.ts +18 -0
- package/dist/Types/Responses/Products/IProductSupplier.js +12 -0
- package/dist/Types/Responses/Products/IProductTag.d.ts +33 -0
- package/dist/Types/Responses/Products/IProductTag.js +14 -0
- package/dist/Types/Responses/Products/IProductTagType.d.ts +18 -0
- package/dist/Types/Responses/Products/IProductTagType.js +12 -0
- package/dist/Types/Responses/Products/IProductUnitOfMeasure.d.ts +97 -0
- package/dist/Types/Responses/Products/IProductUnitOfMeasure.js +35 -0
- package/dist/Types/Responses/Products/IProductUnitOfMeasurePrice.d.ts +36 -0
- package/dist/Types/Responses/Products/IProductUnitOfMeasurePrice.js +17 -0
- package/dist/Types/Responses/Products/IPurchaseOrderRule.d.ts +36 -0
- package/dist/Types/Responses/Products/IPurchaseOrderRule.js +9 -0
- package/dist/Types/Responses/Products/ISerialRule.d.ts +36 -0
- package/dist/Types/Responses/Products/ISerialRule.js +9 -0
- package/dist/Types/Responses/Products/ITagRule.d.ts +36 -0
- package/dist/Types/Responses/Products/ITagRule.js +9 -0
- package/dist/Types/Responses/Products/IUnitOfMeasure.d.ts +18 -0
- package/dist/Types/Responses/Products/IUnitOfMeasure.js +12 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/scss/basics.scss +12 -0
- package/dist/scss/colours.d.ts +94 -0
- package/dist/scss/colours.js +138 -0
- package/dist/scss/colours.scss +134 -0
- package/dist/scss/mixins.scss +2778 -0
- package/dist/scss/sizing.scss +72 -0
- package/dist/scss/transitions.scss +8 -0
- package/package.json +92 -0
|
@@ -0,0 +1,2778 @@
|
|
|
1
|
+
@use '$lib/scss/colours';
|
|
2
|
+
@use '$lib/scss/sizing';
|
|
3
|
+
@use '$lib/scss/transitions';
|
|
4
|
+
@use '$lib/scss/basics';
|
|
5
|
+
|
|
6
|
+
@mixin header-label {
|
|
7
|
+
margin: 0;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
color: colours.$font-primary;
|
|
12
|
+
user-select: none;
|
|
13
|
+
background-color: colours.$ui-blue-2;
|
|
14
|
+
font-weight: sizing.$font-weight-touch;
|
|
15
|
+
font-size: sizing.$text-large;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@mixin list {
|
|
19
|
+
width: 100%;
|
|
20
|
+
// height: 100%;
|
|
21
|
+
overflow-y: auto;
|
|
22
|
+
flex-grow: 1;
|
|
23
|
+
scroll-snap-type: y proximity;
|
|
24
|
+
list-style: none;
|
|
25
|
+
padding: sizing.$half-padding;
|
|
26
|
+
margin: 0;
|
|
27
|
+
gap: sizing.$half-gap;
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-flow: column;
|
|
30
|
+
align-items: stretch;
|
|
31
|
+
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@mixin list-header {
|
|
36
|
+
background-color: inherit;
|
|
37
|
+
padding: sizing.$half-padding;
|
|
38
|
+
margin: 0;
|
|
39
|
+
gap: sizing.$half-gap;
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-flow: column;
|
|
42
|
+
align-items: stretch;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@mixin card-layout {
|
|
47
|
+
color: colours.$font-primary;
|
|
48
|
+
fill: colours.$font-primary;
|
|
49
|
+
|
|
50
|
+
padding: var(--padding-size, sizing.$card-padding);
|
|
51
|
+
border-radius: var(--border-radius, 0);
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
justify-content: space-around; // could also try space-evenly
|
|
55
|
+
border: basics.$border;
|
|
56
|
+
transition: transitions.$colours;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
background-color: colours.$ui-white;
|
|
59
|
+
align-items: stretch;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@mixin outline {
|
|
63
|
+
outline: solid 1px colours.$brand-dark;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@mixin card {
|
|
67
|
+
@include card-layout;
|
|
68
|
+
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
|
|
71
|
+
&:disabled {
|
|
72
|
+
background-color: var(--background-colour, colours.$ui-blue-2);
|
|
73
|
+
color: colours.$font-disabled;
|
|
74
|
+
--colour: #{colours.$font-disabled};
|
|
75
|
+
cursor: default;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// &button[type='submit']:not([disabled]),
|
|
79
|
+
|
|
80
|
+
&:not([disabled]) {
|
|
81
|
+
&:hover {
|
|
82
|
+
background-color: var(--hover-background-colour, colours.$transparent-10);
|
|
83
|
+
--background-colour: var(--hover-background-colour, colours.$transparent-10) !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:focus,
|
|
87
|
+
&:focus-visible {
|
|
88
|
+
@include outline;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.ticked,
|
|
92
|
+
&.primary {
|
|
93
|
+
color: colours.$ui-white;
|
|
94
|
+
background-color: var(--background-colour, colours.$brand-primary);
|
|
95
|
+
border-color: var(--border-colour, colours.$brand-primary);
|
|
96
|
+
|
|
97
|
+
&:focus,
|
|
98
|
+
&:focus-visible {
|
|
99
|
+
outline-color: colours.$brand-primary;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// &:focus,
|
|
103
|
+
&:hover {
|
|
104
|
+
background-color: var(--hover-background-colour, colours.$brand-dark);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
* {
|
|
110
|
+
user-select: none;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@mixin card-label {
|
|
115
|
+
// position: absolute;
|
|
116
|
+
// top: sizing.$card-inner-gap;
|
|
117
|
+
// left: sizing.$card-inner-gap;
|
|
118
|
+
// padding-top: sizing.$card-inner-gap;
|
|
119
|
+
// padding-bottom: sizing.$card-inner-gap;
|
|
120
|
+
color: colours.$font-secondary;
|
|
121
|
+
--colour: #{colours.$ui-blue-9};
|
|
122
|
+
font-size: sizing.$text-small-small-medium;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@mixin summary-list {
|
|
126
|
+
ul {
|
|
127
|
+
list-style: none;
|
|
128
|
+
display: flex;
|
|
129
|
+
flex-direction: column;
|
|
130
|
+
|
|
131
|
+
padding: 0;
|
|
132
|
+
margin: 0;
|
|
133
|
+
gap: sizing.$half-gap;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
span.desktop-heading {
|
|
137
|
+
@include absolute-label;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
span.desktop-heading-border {
|
|
141
|
+
@include absolute-label-border;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
li,
|
|
145
|
+
.summary-card {
|
|
146
|
+
border: solid 1px colours.$ui-blue-4;
|
|
147
|
+
background-color: colours.$ui-white;
|
|
148
|
+
// padding: sizing.$half-padding;
|
|
149
|
+
display: flex;
|
|
150
|
+
flex-flow: column;
|
|
151
|
+
gap: sizing.$half-gap;
|
|
152
|
+
|
|
153
|
+
.card-row {
|
|
154
|
+
display: flex;
|
|
155
|
+
flex-flow: row;
|
|
156
|
+
width: 100%;
|
|
157
|
+
justify-content: space-between;
|
|
158
|
+
align-items: center;
|
|
159
|
+
|
|
160
|
+
&.heading {
|
|
161
|
+
// margin-top: sizing.$half-padding;
|
|
162
|
+
// margin-bottom: sizing.$half-padding;
|
|
163
|
+
font-size: 1.16rem;
|
|
164
|
+
// font-weight: 700;
|
|
165
|
+
}
|
|
166
|
+
&.detail {
|
|
167
|
+
color: colours.$font-secondary;
|
|
168
|
+
--colour: #{colours.$ui-blue-9};
|
|
169
|
+
font-size: sizing.$text-small-small-medium;
|
|
170
|
+
span {
|
|
171
|
+
flex-shrink: 2;
|
|
172
|
+
|
|
173
|
+
// overflow: hidden;
|
|
174
|
+
// text-overflow: ellipsis;
|
|
175
|
+
white-space: nowrap;
|
|
176
|
+
}
|
|
177
|
+
span:last-child {
|
|
178
|
+
flex-basis: fit-content;
|
|
179
|
+
flex-shrink: 1;
|
|
180
|
+
}
|
|
181
|
+
span.ellipsis {
|
|
182
|
+
margin-left: 0.1875rem;
|
|
183
|
+
opacity: 0.75;
|
|
184
|
+
text-overflow: clip;
|
|
185
|
+
flex-basis: 1rem;
|
|
186
|
+
flex-grow: 1;
|
|
187
|
+
}
|
|
188
|
+
span:not(:first-child) {
|
|
189
|
+
overflow: hidden;
|
|
190
|
+
text-overflow: ellipsis;
|
|
191
|
+
}
|
|
192
|
+
span:first-child {
|
|
193
|
+
flex-basis: fit-content;
|
|
194
|
+
flex-shrink: 0;
|
|
195
|
+
}
|
|
196
|
+
// span:first-child:after {
|
|
197
|
+
// margin-left: 0.1875rem;
|
|
198
|
+
// opacity: 0.75;
|
|
199
|
+
// text-overflow: clip;
|
|
200
|
+
// content: '...............................................................................................................';
|
|
201
|
+
// }
|
|
202
|
+
|
|
203
|
+
.value {
|
|
204
|
+
margin-left: 0.1875rem;
|
|
205
|
+
flex-shrink: 0;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.details {
|
|
211
|
+
color: colours.$font-secondary;
|
|
212
|
+
--colour: #{colours.$ui-blue-9};
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
button.summary-card {
|
|
217
|
+
@include card;
|
|
218
|
+
display: flex;
|
|
219
|
+
flex-flow: column nowrap;
|
|
220
|
+
align-items: baseline;
|
|
221
|
+
padding: 1rem;
|
|
222
|
+
|
|
223
|
+
position: relative;
|
|
224
|
+
|
|
225
|
+
.columns {
|
|
226
|
+
width: 100%;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
&:hover {
|
|
230
|
+
background-color: colours.$transparent-10;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
&.desktop {
|
|
234
|
+
padding: 0;
|
|
235
|
+
border: none;
|
|
236
|
+
border-radius: sizing.$border-radius;
|
|
237
|
+
|
|
238
|
+
.columns {
|
|
239
|
+
padding: 0.75rem;
|
|
240
|
+
// gap: 0.75rem;
|
|
241
|
+
padding-right: 0;
|
|
242
|
+
padding-bottom: 0.5rem;
|
|
243
|
+
border-radius: sizing.$border-radius;
|
|
244
|
+
border: basics.$border;
|
|
245
|
+
|
|
246
|
+
display: flex;
|
|
247
|
+
flex-flow: row nowrap;
|
|
248
|
+
align-items: center;
|
|
249
|
+
|
|
250
|
+
overflow: hidden;
|
|
251
|
+
|
|
252
|
+
.left {
|
|
253
|
+
flex-shrink: 10;
|
|
254
|
+
overflow: hidden;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.right {
|
|
258
|
+
flex-shrink: 0;
|
|
259
|
+
padding: sizing.$half-padding;
|
|
260
|
+
display: flex;
|
|
261
|
+
align-items: center;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&.error {
|
|
267
|
+
background-color: colours.$error-background;
|
|
268
|
+
border-color: colours.$error-border;
|
|
269
|
+
color: colours.$error-border;
|
|
270
|
+
|
|
271
|
+
.card-label {
|
|
272
|
+
color: colours.$error-border;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
// .row {
|
|
277
|
+
// display: flex;
|
|
278
|
+
// flex-flow: row nowrap;
|
|
279
|
+
// width: 100%;
|
|
280
|
+
// align-items: start;
|
|
281
|
+
// justify-content: space-between;
|
|
282
|
+
// // margin: 0 0 0.1875rem 0;
|
|
283
|
+
// }
|
|
284
|
+
|
|
285
|
+
h3 {
|
|
286
|
+
margin: 0;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
@mixin edit-card {
|
|
292
|
+
@include card;
|
|
293
|
+
border-radius: unset;
|
|
294
|
+
min-height: 68px;
|
|
295
|
+
width: 100%;
|
|
296
|
+
position: relative;
|
|
297
|
+
box-sizing: border-box;
|
|
298
|
+
padding-top: sizing.$card-inner-gap;
|
|
299
|
+
padding-bottom: sizing.$card-inner-gap;
|
|
300
|
+
|
|
301
|
+
text-align: start;
|
|
302
|
+
display: flex;
|
|
303
|
+
flex-flow: row nowrap;
|
|
304
|
+
|
|
305
|
+
.left {
|
|
306
|
+
display: flex;
|
|
307
|
+
flex-flow: column nowrap;
|
|
308
|
+
align-items: space-between;
|
|
309
|
+
flex-grow: 1;
|
|
310
|
+
overflow: hidden;
|
|
311
|
+
}
|
|
312
|
+
.right {
|
|
313
|
+
display: flex;
|
|
314
|
+
align-items: center;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.row {
|
|
318
|
+
width: 100%;
|
|
319
|
+
display: flex;
|
|
320
|
+
align-items: center;
|
|
321
|
+
justify-content: stretch;
|
|
322
|
+
flex-grow: 1;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
&.pad-right {
|
|
326
|
+
padding-right: 4rem;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.card-label {
|
|
330
|
+
@include card-label;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.value {
|
|
334
|
+
flex-grow: 1;
|
|
335
|
+
white-space: nowrap;
|
|
336
|
+
overflow: hidden;
|
|
337
|
+
text-overflow: ellipsis;
|
|
338
|
+
font-size: sizing.$text-medium-large;
|
|
339
|
+
font-weight: 600;
|
|
340
|
+
// margin-top: -0.25rem; // why is this here?
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
&.error {
|
|
344
|
+
background-color: colours.$error-background;
|
|
345
|
+
border-color: colours.$error-border;
|
|
346
|
+
color: colours.$error-border;
|
|
347
|
+
--colour: #{colours.$error-border};
|
|
348
|
+
|
|
349
|
+
.card-label {
|
|
350
|
+
color: colours.$error-border;
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
@mixin large-card {
|
|
356
|
+
@include card;
|
|
357
|
+
padding: 1.5rem;
|
|
358
|
+
font-size: 1.5rem;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
@mixin dialog {
|
|
362
|
+
dialog {
|
|
363
|
+
overflow: clip;
|
|
364
|
+
background-color: colours.$ui-blue-2;
|
|
365
|
+
// max-width: 95%;
|
|
366
|
+
max-height: 95%;
|
|
367
|
+
min-height: var(--dialog-min-height);
|
|
368
|
+
min-width: var(--dialog-min-width); //644px; //overly specific due to chrome shenanigans
|
|
369
|
+
width: var(--dialog-width, max-content);
|
|
370
|
+
height: var(--dialog-height, max-content);
|
|
371
|
+
border-radius: 0.1875rem;
|
|
372
|
+
border: none;
|
|
373
|
+
padding: 0;
|
|
374
|
+
|
|
375
|
+
&::backdrop {
|
|
376
|
+
background: rgba(0, 0, 0, 0.3);
|
|
377
|
+
backdrop-filter: blur(1px);
|
|
378
|
+
}
|
|
379
|
+
&.static-height {
|
|
380
|
+
height: 95%;
|
|
381
|
+
}
|
|
382
|
+
&.static-width {
|
|
383
|
+
width: min(95%, sizing.$max-modal-width);
|
|
384
|
+
}
|
|
385
|
+
&[open] {
|
|
386
|
+
animation: zoom 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
387
|
+
display: flex;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
@keyframes zoom {
|
|
391
|
+
from {
|
|
392
|
+
transform: scale(0.98);
|
|
393
|
+
}
|
|
394
|
+
to {
|
|
395
|
+
transform: scale(1);
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.modal-header {
|
|
400
|
+
flex-shrink: 0;
|
|
401
|
+
}
|
|
402
|
+
.modal-main {
|
|
403
|
+
align-content: center;
|
|
404
|
+
flex-shrink: 1;
|
|
405
|
+
overflow: auto;
|
|
406
|
+
|
|
407
|
+
&.noscroll {
|
|
408
|
+
overflow: visible;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
.footer {
|
|
412
|
+
flex-shrink: 0;
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
@mixin touch-modal {
|
|
418
|
+
@include dialog;
|
|
419
|
+
|
|
420
|
+
.modal-root {
|
|
421
|
+
overflow: visible;
|
|
422
|
+
// height: 100%;
|
|
423
|
+
flex-grow: 1;
|
|
424
|
+
max-height: 100%;
|
|
425
|
+
width: 100%;
|
|
426
|
+
display: flex;
|
|
427
|
+
flex-flow: column;
|
|
428
|
+
flex: 1;
|
|
429
|
+
overflow: auto;
|
|
430
|
+
}
|
|
431
|
+
.modal-header {
|
|
432
|
+
position: relative;
|
|
433
|
+
|
|
434
|
+
// .close-button {
|
|
435
|
+
// position: absolute;
|
|
436
|
+
// right: 0.33rem;
|
|
437
|
+
// top: 0.33rem;
|
|
438
|
+
// }
|
|
439
|
+
}
|
|
440
|
+
.modal-heading {
|
|
441
|
+
user-select: none;
|
|
442
|
+
background-color: colours.$brand-primary;
|
|
443
|
+
color: colours.$ui-white;
|
|
444
|
+
margin: 0;
|
|
445
|
+
padding: sizing.$regular-padding;
|
|
446
|
+
text-align: center;
|
|
447
|
+
font-size: sizing.$text-large;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.modal-main {
|
|
451
|
+
flex-grow: 1;
|
|
452
|
+
overflow-y: auto;
|
|
453
|
+
padding: sizing.$half-padding;
|
|
454
|
+
|
|
455
|
+
font-size: 1.33rem;
|
|
456
|
+
background-color: colours.$ui-blue-1;
|
|
457
|
+
|
|
458
|
+
&.noscroll {
|
|
459
|
+
overflow: visible;
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.modal-footer {
|
|
464
|
+
bottom: 0;
|
|
465
|
+
border-top: basics.$border;
|
|
466
|
+
width: 100%;
|
|
467
|
+
box-sizing: border-box;
|
|
468
|
+
display: flex;
|
|
469
|
+
flex-flow: row-reverse wrap;
|
|
470
|
+
justify-content: space-between;
|
|
471
|
+
|
|
472
|
+
padding: sizing.$regular-padding;
|
|
473
|
+
gap: 2rem;
|
|
474
|
+
|
|
475
|
+
button {
|
|
476
|
+
// @include card;
|
|
477
|
+
padding: sizing.$button-padding-lg-wide;
|
|
478
|
+
border-width: sizing.$border-width-double;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.actions {
|
|
483
|
+
display: flex;
|
|
484
|
+
flex-flow: row-reverse nowrap;
|
|
485
|
+
gap: 2.5rem;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.input-container {
|
|
489
|
+
padding: sizing.$regular-padding;
|
|
490
|
+
padding-bottom: sizing.$regular-padding;
|
|
491
|
+
display: flex;
|
|
492
|
+
flex-flow: row wrap;
|
|
493
|
+
justify-content: space-around;
|
|
494
|
+
gap: sizing.$regular-gap;
|
|
495
|
+
|
|
496
|
+
.country-margin {
|
|
497
|
+
width: 100%;
|
|
498
|
+
// box-sizing: border-box;
|
|
499
|
+
margin-top: 1rem;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.button-container {
|
|
504
|
+
padding: sizing.$double-padding;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.card-container,
|
|
508
|
+
.button-container {
|
|
509
|
+
display: flex;
|
|
510
|
+
flex-flow: row nowrap;
|
|
511
|
+
gap: sizing.$regular-gap;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
span {
|
|
515
|
+
text-align: center;
|
|
516
|
+
font-size: 1.33rem;
|
|
517
|
+
color: colours.$font-primary;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.card-container {
|
|
521
|
+
padding: 0 1rem;
|
|
522
|
+
height: 100%;
|
|
523
|
+
|
|
524
|
+
align-content: baseline;
|
|
525
|
+
|
|
526
|
+
&.with-top-padding {
|
|
527
|
+
padding: sizing.$regular-padding;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
.actions {
|
|
531
|
+
button {
|
|
532
|
+
// @include large-card;
|
|
533
|
+
border-width: sizing.$border-width-double;
|
|
534
|
+
// border-radius: 3px;
|
|
535
|
+
border-radius: #{sizing.$border-radius};
|
|
536
|
+
// flex-grow: 1;
|
|
537
|
+
padding: 1rem 2rem;
|
|
538
|
+
// flex-basis: 8rem;
|
|
539
|
+
align-items: center;
|
|
540
|
+
}
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.header-extra,
|
|
544
|
+
.cancel-container {
|
|
545
|
+
padding: sizing.$half-padding;
|
|
546
|
+
background-color: colours.$ui-blue-2;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.header-extra {
|
|
550
|
+
border-bottom: basics.$border;
|
|
551
|
+
display: none;
|
|
552
|
+
|
|
553
|
+
&.visible {
|
|
554
|
+
display: block;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.select-container,
|
|
559
|
+
.cancel-container {
|
|
560
|
+
display: flex;
|
|
561
|
+
flex-flow: column nowrap;
|
|
562
|
+
gap: sizing.$regular-gap;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
.cancel-container {
|
|
566
|
+
border-top: basics.$border;
|
|
567
|
+
bottom: 0;
|
|
568
|
+
z-index: 1;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
span {
|
|
572
|
+
text-align: center;
|
|
573
|
+
font-size: 1.33rem;
|
|
574
|
+
color: colours.$font-primary;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
.select-container {
|
|
578
|
+
box-sizing: border-box;
|
|
579
|
+
padding: 1rem 2.5rem;
|
|
580
|
+
align-content: baseline;
|
|
581
|
+
flex-grow: 1;
|
|
582
|
+
// &.with-top-padding {
|
|
583
|
+
// padding: 2.5rem;
|
|
584
|
+
// }
|
|
585
|
+
}
|
|
586
|
+
button {
|
|
587
|
+
@include large-card;
|
|
588
|
+
|
|
589
|
+
display: block;
|
|
590
|
+
border-width: sizing.$border-width-double;
|
|
591
|
+
// border-radius: 3px;
|
|
592
|
+
border-radius: #{sizing.$border-radius};
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
@mixin modal {
|
|
597
|
+
@include dialog;
|
|
598
|
+
|
|
599
|
+
dialog {
|
|
600
|
+
// border-radius: 4px;
|
|
601
|
+
border-radius: #{sizing.$border-radius};
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.modal-root {
|
|
605
|
+
overflow: visible;
|
|
606
|
+
// height: 100%;
|
|
607
|
+
flex-grow: 1;
|
|
608
|
+
max-height: 100%;
|
|
609
|
+
width: 100%;
|
|
610
|
+
display: flex;
|
|
611
|
+
flex-flow: column;
|
|
612
|
+
flex: 1;
|
|
613
|
+
overflow: auto;
|
|
614
|
+
}
|
|
615
|
+
.modal-header {
|
|
616
|
+
position: relative;
|
|
617
|
+
|
|
618
|
+
// .close-button {
|
|
619
|
+
// position: absolute;
|
|
620
|
+
// right: 0.33rem;
|
|
621
|
+
// top: 0.33rem;
|
|
622
|
+
// }
|
|
623
|
+
}
|
|
624
|
+
.modal-heading {
|
|
625
|
+
user-select: none;
|
|
626
|
+
background-color: colours.$brand-primary;
|
|
627
|
+
color: colours.$ui-white;
|
|
628
|
+
margin: 0;
|
|
629
|
+
padding: sizing.$regular-padding;
|
|
630
|
+
text-align: center;
|
|
631
|
+
font-size: sizing.$text-large;
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
.modal-main {
|
|
635
|
+
display: flex;
|
|
636
|
+
flex-grow: 1;
|
|
637
|
+
// overflow-y: auto;
|
|
638
|
+
padding: sizing.$half-padding;
|
|
639
|
+
background-color: colours.$ui-blue-1;
|
|
640
|
+
|
|
641
|
+
&.noscroll {
|
|
642
|
+
overflow: visible;
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
.modal-footer {
|
|
647
|
+
bottom: 0;
|
|
648
|
+
border-top: basics.$border;
|
|
649
|
+
width: 100%;
|
|
650
|
+
box-sizing: border-box;
|
|
651
|
+
display: flex;
|
|
652
|
+
flex-flow: row-reverse wrap;
|
|
653
|
+
justify-content: space-between;
|
|
654
|
+
|
|
655
|
+
padding: sizing.$regular-padding;
|
|
656
|
+
gap: 2rem;
|
|
657
|
+
|
|
658
|
+
button {
|
|
659
|
+
// @include card;
|
|
660
|
+
padding: sizing.$button-padding-lg-wide;
|
|
661
|
+
border-width: sizing.$border-width-double;
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.actions {
|
|
666
|
+
display: flex;
|
|
667
|
+
flex-flow: row-reverse nowrap;
|
|
668
|
+
gap: 2.5rem;
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.input-container {
|
|
672
|
+
padding: sizing.$regular-padding;
|
|
673
|
+
padding-bottom: sizing.$regular-padding;
|
|
674
|
+
display: flex;
|
|
675
|
+
flex-flow: row wrap;
|
|
676
|
+
justify-content: space-around;
|
|
677
|
+
gap: sizing.$regular-gap;
|
|
678
|
+
|
|
679
|
+
.country-margin {
|
|
680
|
+
width: 100%;
|
|
681
|
+
// box-sizing: border-box;
|
|
682
|
+
margin-top: 1rem;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.button-container {
|
|
687
|
+
padding: sizing.$double-padding;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.card-container,
|
|
691
|
+
.button-container {
|
|
692
|
+
display: flex;
|
|
693
|
+
flex-flow: row nowrap;
|
|
694
|
+
gap: sizing.$regular-gap;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
span {
|
|
698
|
+
text-align: center;
|
|
699
|
+
font-size: 1.33rem;
|
|
700
|
+
color: colours.$font-primary;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.card-container {
|
|
704
|
+
padding: 0 1rem;
|
|
705
|
+
height: 100%;
|
|
706
|
+
|
|
707
|
+
align-content: baseline;
|
|
708
|
+
|
|
709
|
+
&.with-top-padding {
|
|
710
|
+
padding: sizing.$regular-padding;
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
.actions {
|
|
714
|
+
button {
|
|
715
|
+
// @include large-card;
|
|
716
|
+
border-width: sizing.$border-width-double;
|
|
717
|
+
// border-radius: 3px;
|
|
718
|
+
border-radius: #{sizing.$border-radius};
|
|
719
|
+
// flex-grow: 1;
|
|
720
|
+
padding: 1rem 2rem;
|
|
721
|
+
// flex-basis: 8rem;
|
|
722
|
+
align-items: center;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.header-extra,
|
|
727
|
+
.cancel-container {
|
|
728
|
+
padding: sizing.$half-padding;
|
|
729
|
+
background-color: colours.$ui-blue-2;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
.header-extra {
|
|
733
|
+
border-bottom: basics.$border;
|
|
734
|
+
display: none;
|
|
735
|
+
|
|
736
|
+
&.visible {
|
|
737
|
+
display: block;
|
|
738
|
+
}
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.select-container,
|
|
742
|
+
.cancel-container {
|
|
743
|
+
display: flex;
|
|
744
|
+
flex-flow: column nowrap;
|
|
745
|
+
gap: sizing.$regular-gap;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
.cancel-container {
|
|
749
|
+
border-top: basics.$border;
|
|
750
|
+
bottom: 0;
|
|
751
|
+
z-index: 1;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
span {
|
|
755
|
+
text-align: center;
|
|
756
|
+
font-size: 1.33rem;
|
|
757
|
+
color: colours.$font-primary;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
.select-container {
|
|
761
|
+
box-sizing: border-box;
|
|
762
|
+
padding: 1rem 2.5rem;
|
|
763
|
+
align-content: baseline;
|
|
764
|
+
|
|
765
|
+
// &.with-top-padding {
|
|
766
|
+
// padding: 2.5rem;
|
|
767
|
+
// }
|
|
768
|
+
}
|
|
769
|
+
button {
|
|
770
|
+
@include large-card;
|
|
771
|
+
|
|
772
|
+
display: block;
|
|
773
|
+
border-width: sizing.$border-width-double;
|
|
774
|
+
border-radius: sizing.$border-radius;
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
|
|
778
|
+
@mixin regular-input {
|
|
779
|
+
box-sizing: border-box;
|
|
780
|
+
height: 100%;
|
|
781
|
+
width: 100%;
|
|
782
|
+
font-size: #{sizing.$text-small-small-medium};
|
|
783
|
+
font-weight: 400;
|
|
784
|
+
padding-top: var(--input-padding-top, 0.65rem);
|
|
785
|
+
padding-bottom: var(--input-padding-bottom, 0.55rem);
|
|
786
|
+
padding-left: var(--input-padding-left, 0.75rem);
|
|
787
|
+
padding-right: var(--input-padding-right, 0.75rem);
|
|
788
|
+
border: var(--input-border, solid 1px #{colours.$ui-blue-4});
|
|
789
|
+
color: colours.$font-primary;
|
|
790
|
+
transition: transitions.$colours;
|
|
791
|
+
border-radius: var(--input-border-radius, 4px);
|
|
792
|
+
|
|
793
|
+
&:disabled {
|
|
794
|
+
background-color: colours.$ui-blue-1;
|
|
795
|
+
}
|
|
796
|
+
|
|
797
|
+
&.for-default:focus-visible {
|
|
798
|
+
outline-offset: -1px;
|
|
799
|
+
outline-width: 1px;
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
&.invalid {
|
|
803
|
+
border-color: colours.$error-border;
|
|
804
|
+
color: colours.$error-border;
|
|
805
|
+
background-color: colours.$error-background;
|
|
806
|
+
|
|
807
|
+
&:focus,
|
|
808
|
+
&:focus-visible {
|
|
809
|
+
outline-color: colours.$error-border !important;
|
|
810
|
+
}
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
@mixin modal-input-base {
|
|
815
|
+
font-size: 2rem;
|
|
816
|
+
|
|
817
|
+
box-sizing: border-box;
|
|
818
|
+
flex-grow: 1;
|
|
819
|
+
|
|
820
|
+
&.uppercase {
|
|
821
|
+
text-transform: uppercase;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
&:focus {
|
|
825
|
+
outline-color: colours.$brand-dark;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
&.for-modal {
|
|
829
|
+
border-radius: 0;
|
|
830
|
+
height: 100%;
|
|
831
|
+
resize: none;
|
|
832
|
+
padding-top: 1.44rem;
|
|
833
|
+
padding-right: 0.75rem;
|
|
834
|
+
padding-bottom: 0.25rem;
|
|
835
|
+
padding-left: 0.75rem;
|
|
836
|
+
|
|
837
|
+
font-size: sizing.$text-large;
|
|
838
|
+
font-weight: sizing.$font-weight-touch;
|
|
839
|
+
|
|
840
|
+
&.left-pad {
|
|
841
|
+
padding-left: 3.5rem;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
&.right-pad {
|
|
845
|
+
padding-right: 3.5rem;
|
|
846
|
+
}
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
@mixin modal-label {
|
|
851
|
+
box-sizing: border-box;
|
|
852
|
+
font-size: 1.5rem;
|
|
853
|
+
position: relative;
|
|
854
|
+
display: block;
|
|
855
|
+
width: 100%;
|
|
856
|
+
|
|
857
|
+
span.top-label {
|
|
858
|
+
@include card-label;
|
|
859
|
+
z-index: 1;
|
|
860
|
+
position: absolute;
|
|
861
|
+
top: 0.45rem;
|
|
862
|
+
left: 0.75rem;
|
|
863
|
+
|
|
864
|
+
&.invalid {
|
|
865
|
+
color: colours.$error-border;
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
@mixin absolute-label-shared {
|
|
871
|
+
position: absolute;
|
|
872
|
+
left: 0.5rem;
|
|
873
|
+
font-size: sizing.$text-small-small-medium;
|
|
874
|
+
user-select: none;
|
|
875
|
+
padding-left: 0.4rem;
|
|
876
|
+
padding-right: 0.4rem;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
@mixin absolute-label {
|
|
880
|
+
@include absolute-label-shared;
|
|
881
|
+
|
|
882
|
+
padding: 0.1rem 0.4rem;
|
|
883
|
+
top: -0.6rem;
|
|
884
|
+
z-index: 2;
|
|
885
|
+
color: colours.$font-secondary;
|
|
886
|
+
white-space: nowrap;
|
|
887
|
+
|
|
888
|
+
&.invalid {
|
|
889
|
+
color: colours.$error-border;
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
@mixin absolute-label-border {
|
|
894
|
+
@include absolute-label-shared;
|
|
895
|
+
|
|
896
|
+
padding-top: 0;
|
|
897
|
+
padding-bottom: 0;
|
|
898
|
+
z-index: 1;
|
|
899
|
+
white-space: nowrap;
|
|
900
|
+
top: 0%;
|
|
901
|
+
height: 0;
|
|
902
|
+
color: transparent;
|
|
903
|
+
border-bottom: solid 1px colours.$ui-white;
|
|
904
|
+
|
|
905
|
+
&.invalid {
|
|
906
|
+
border-bottom-color: colours.$error-background;
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
|
|
910
|
+
@mixin input-misc {
|
|
911
|
+
span {
|
|
912
|
+
transition: transitions.$colours;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
span.right-label.inset {
|
|
916
|
+
user-select: none;
|
|
917
|
+
font-size: 1rem;
|
|
918
|
+
font-weight: 500;
|
|
919
|
+
position: absolute;
|
|
920
|
+
background-color: colours.$ui-blue-1;
|
|
921
|
+
border-left: basics.$border;
|
|
922
|
+
right: 1px;
|
|
923
|
+
top: 1px;
|
|
924
|
+
bottom: 1px;
|
|
925
|
+
border-radius: 0 sizing.$border-radius sizing.$border-radius 0;
|
|
926
|
+
display: flex;
|
|
927
|
+
flex-flow: column;
|
|
928
|
+
justify-content: center;
|
|
929
|
+
aspect-ratio: 1/1;
|
|
930
|
+
align-content: center;
|
|
931
|
+
text-align: center;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
span.right-label {
|
|
935
|
+
color: colours.$font-secondary-heading;
|
|
936
|
+
display: inline;
|
|
937
|
+
flex-basis: 2rem;
|
|
938
|
+
|
|
939
|
+
&.for-modal {
|
|
940
|
+
align-self: center; // may be moved to always be there, even when not in a modal. I don't know yet
|
|
941
|
+
margin-top: 1rem;
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
span.for-default {
|
|
946
|
+
@include absolute-label;
|
|
947
|
+
}
|
|
948
|
+
|
|
949
|
+
span.border {
|
|
950
|
+
@include absolute-label-border;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.select-none {
|
|
954
|
+
user-select: none;
|
|
955
|
+
}
|
|
956
|
+
.left-pad {
|
|
957
|
+
padding-left: 3rem;
|
|
958
|
+
}
|
|
959
|
+
.right-pad {
|
|
960
|
+
padding-right: 3rem;
|
|
961
|
+
}
|
|
962
|
+
.icon-container {
|
|
963
|
+
position: relative;
|
|
964
|
+
display: flex;
|
|
965
|
+
flex-flow: row;
|
|
966
|
+
width: 100%;
|
|
967
|
+
height: 100%;
|
|
968
|
+
gap: sizing.$regular-gap;
|
|
969
|
+
|
|
970
|
+
&.for-modal {
|
|
971
|
+
// position: absolute;
|
|
972
|
+
height: 100%;
|
|
973
|
+
top: 0;
|
|
974
|
+
bottom: 0;
|
|
975
|
+
left: 0;
|
|
976
|
+
right: 0;
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
.error {
|
|
980
|
+
color: colours.$error-border;
|
|
981
|
+
margin-left: 0.25rem;
|
|
982
|
+
display: block;
|
|
983
|
+
overflow-x: auto;
|
|
984
|
+
white-space: nowrap;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
@mixin textarea {
|
|
989
|
+
textarea {
|
|
990
|
+
@include regular-input;
|
|
991
|
+
|
|
992
|
+
&.noresize {
|
|
993
|
+
resize: none;
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
&.full-width {
|
|
997
|
+
width: 100%;
|
|
998
|
+
flex-basis: 100%;
|
|
999
|
+
flex-grow: 1;
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
label {
|
|
1004
|
+
position: relative;
|
|
1005
|
+
|
|
1006
|
+
width: var(--input-width, 100%);
|
|
1007
|
+
|
|
1008
|
+
&.max-width {
|
|
1009
|
+
flex-grow: 1;
|
|
1010
|
+
}
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
label.for-modal {
|
|
1014
|
+
@include modal-label;
|
|
1015
|
+
|
|
1016
|
+
textarea {
|
|
1017
|
+
@include modal-input-base;
|
|
1018
|
+
height: 4rem;
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
@include input-misc;
|
|
1023
|
+
|
|
1024
|
+
.textarea-error-wrapper {
|
|
1025
|
+
display: block;
|
|
1026
|
+
width: 100%;
|
|
1027
|
+
height: max(var(--input-height, #{sizing.$input-height}), 2rem);
|
|
1028
|
+
width: var(--input-width, 100%);
|
|
1029
|
+
|
|
1030
|
+
&.for-modal {
|
|
1031
|
+
position: relative;
|
|
1032
|
+
height: 100%;
|
|
1033
|
+
}
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
|
|
1037
|
+
@mixin input {
|
|
1038
|
+
input {
|
|
1039
|
+
@include regular-input;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
@include input-misc;
|
|
1043
|
+
|
|
1044
|
+
.right-icon {
|
|
1045
|
+
position: absolute;
|
|
1046
|
+
right: 0.5rem;
|
|
1047
|
+
top: 50%;
|
|
1048
|
+
translate: 0 -50%;
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
label {
|
|
1052
|
+
position: relative;
|
|
1053
|
+
display: block;
|
|
1054
|
+
width: 100%;
|
|
1055
|
+
height: 100%;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.error-wrapper {
|
|
1059
|
+
display: block;
|
|
1060
|
+
// width: 100%;
|
|
1061
|
+
// height: max(var(--input-height, #{sizing.$input-height}), 2rem);
|
|
1062
|
+
height: max(var(--input-height, #{sizing.$input-height}));
|
|
1063
|
+
width: var(--input-width, 100%);
|
|
1064
|
+
|
|
1065
|
+
&.for-table {
|
|
1066
|
+
width: 100%;
|
|
1067
|
+
flex: 1;
|
|
1068
|
+
display: flex;
|
|
1069
|
+
position: absolute;
|
|
1070
|
+
top: 0;
|
|
1071
|
+
bottom: 0;
|
|
1072
|
+
left: 0;
|
|
1073
|
+
right: 0;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
&.for-modal {
|
|
1077
|
+
flex: unset;
|
|
1078
|
+
position: relative;
|
|
1079
|
+
height: 4.17rem;
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
@mixin modal-input {
|
|
1085
|
+
label.for-modal {
|
|
1086
|
+
@include modal-label;
|
|
1087
|
+
|
|
1088
|
+
input {
|
|
1089
|
+
@include modal-input-base;
|
|
1090
|
+
height: 3rem;
|
|
1091
|
+
}
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
@mixin table-input {
|
|
1095
|
+
label.for-table {
|
|
1096
|
+
display: flex;
|
|
1097
|
+
width: 100%;
|
|
1098
|
+
|
|
1099
|
+
input {
|
|
1100
|
+
height: unset;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
@mixin call-to-action {
|
|
1106
|
+
&:not([disabled]) {
|
|
1107
|
+
background-color: colours.$brand-primary;
|
|
1108
|
+
color: colours.$ui-white;
|
|
1109
|
+
fill: colours.$ui-white;
|
|
1110
|
+
border-color: colours.$brand-primary;
|
|
1111
|
+
transition: transitions.$colours;
|
|
1112
|
+
|
|
1113
|
+
// &:focus,
|
|
1114
|
+
&:hover {
|
|
1115
|
+
background-color: colours.$brand-dark;
|
|
1116
|
+
border-color: colours.$brand-dark;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
&:focus,
|
|
1120
|
+
&:focus-visible {
|
|
1121
|
+
@include outline;
|
|
1122
|
+
outline-color: colours.$font-primary !important;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
&:focus {
|
|
1126
|
+
outline-offset: -2px;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
@mixin button-card {
|
|
1132
|
+
@include card;
|
|
1133
|
+
flex-flow: row nowrap;
|
|
1134
|
+
align-items: center;
|
|
1135
|
+
justify-content: space-between;
|
|
1136
|
+
gap: 2rem;
|
|
1137
|
+
font-size: var(--font-size, 1.33rem);
|
|
1138
|
+
color: colours.$font-primary;
|
|
1139
|
+
font-weight: sizing.$font-weight-touch;
|
|
1140
|
+
|
|
1141
|
+
width: 100%; //may suck
|
|
1142
|
+
|
|
1143
|
+
box-sizing: border-box;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
@mixin large-card-detail {
|
|
1147
|
+
font-size: sizing.$text-small-medium;
|
|
1148
|
+
font-weight: sizing.$font-weight-touch;
|
|
1149
|
+
background-color: colours.$ui-blue-1;
|
|
1150
|
+
color: colours.$font-primary;
|
|
1151
|
+
display: flex;
|
|
1152
|
+
border: basics.$border;
|
|
1153
|
+
border-radius: sizing.$border-radius;
|
|
1154
|
+
padding: sizing.$card-detail-padding;
|
|
1155
|
+
user-select: none;
|
|
1156
|
+
gap: sizing.$half-gap;
|
|
1157
|
+
align-items: center;
|
|
1158
|
+
|
|
1159
|
+
&.markable {
|
|
1160
|
+
user-select: unset;
|
|
1161
|
+
cursor: unset;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
&.uom {
|
|
1165
|
+
font-size: sizing.$text-medium-small-medium;
|
|
1166
|
+
color: colours.$font-secondary;
|
|
1167
|
+
--colour: #{colours.$ui-blue-9};
|
|
1168
|
+
text-transform: uppercase;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
&.editable {
|
|
1172
|
+
transition: transitions.$colours;
|
|
1173
|
+
background-color: colours.$ui-white;
|
|
1174
|
+
cursor: pointer;
|
|
1175
|
+
color: colours.$font-primary;
|
|
1176
|
+
fill: colours.$font-primary;
|
|
1177
|
+
|
|
1178
|
+
&:hover {
|
|
1179
|
+
background-color: colours.$transparent-10;
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
&.quantity {
|
|
1184
|
+
@include call-to-action;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
&.optional {
|
|
1188
|
+
justify-content: end;
|
|
1189
|
+
font-size: sizing.$text-medium-small-medium;
|
|
1190
|
+
display: none;
|
|
1191
|
+
line-height: 1.5;
|
|
1192
|
+
|
|
1193
|
+
&.visible {
|
|
1194
|
+
display: flex;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
&:not(.entered) {
|
|
1198
|
+
background-color: colours.$error-background;
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
@mixin card-row {
|
|
1204
|
+
display: flex;
|
|
1205
|
+
justify-content: space-between;
|
|
1206
|
+
text-align: start;
|
|
1207
|
+
|
|
1208
|
+
.card-detail {
|
|
1209
|
+
font-size: sizing.$text-small-medium;
|
|
1210
|
+
font-weight: sizing.$font-weight-touch;
|
|
1211
|
+
background-color: var(--card-detail-background-colour, colours.$ui-blue-1);
|
|
1212
|
+
color: var(--card-colour, colours.$font-primary);
|
|
1213
|
+
display: flex;
|
|
1214
|
+
align-items: center;
|
|
1215
|
+
|
|
1216
|
+
border-radius: sizing.$border-radius; // BORDER RADIUS HERE
|
|
1217
|
+
padding: sizing.$card-detail-padding;
|
|
1218
|
+
|
|
1219
|
+
&.optional {
|
|
1220
|
+
display: none;
|
|
1221
|
+
&.visible {
|
|
1222
|
+
border: basics.$border;
|
|
1223
|
+
display: flex;
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
|
|
1227
|
+
&.primary {
|
|
1228
|
+
background-color: var(--primary-card-background-colour, colours.$brand-primary);
|
|
1229
|
+
color: var(--primary-card-colour, colours.$ui-white);
|
|
1230
|
+
fill: var(--primary-card-colour, colours.$ui-white);
|
|
1231
|
+
}
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
h3 {
|
|
1235
|
+
color: colours.$font-primary;
|
|
1236
|
+
margin: 0;
|
|
1237
|
+
font-size: sizing.$card-title;
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
.left,
|
|
1241
|
+
.right {
|
|
1242
|
+
display: flex;
|
|
1243
|
+
flex-direction: row;
|
|
1244
|
+
justify-content: space-between;
|
|
1245
|
+
gap: sizing.$card-gap;
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
@mixin side-card {
|
|
1250
|
+
button.item-root {
|
|
1251
|
+
@include card;
|
|
1252
|
+
gap: 0.25rem;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
div.item-root {
|
|
1256
|
+
@include card-layout;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
.row {
|
|
1260
|
+
@include card-row;
|
|
1261
|
+
}
|
|
1262
|
+
.product-title {
|
|
1263
|
+
@include product-title;
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
h3 {
|
|
1267
|
+
max-width: 100%;
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
@mixin product-title {
|
|
1272
|
+
color: colours.$font-secondary;
|
|
1273
|
+
--colour: #{colours.$ui-blue-9};
|
|
1274
|
+
font-size: sizing.$text-small-medium;
|
|
1275
|
+
line-height: 21.6px;
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
@mixin touch-main {
|
|
1279
|
+
.touch-main {
|
|
1280
|
+
background-color: colours.$ui-blue-1;
|
|
1281
|
+
flex-grow: 1;
|
|
1282
|
+
overflow-y: auto;
|
|
1283
|
+
display: flex;
|
|
1284
|
+
}
|
|
1285
|
+
.touch-utility {
|
|
1286
|
+
border-top: solid 1px colours.$ui-blue-4;
|
|
1287
|
+
background-color: colours.$ui-blue-1;
|
|
1288
|
+
display: flex;
|
|
1289
|
+
flex-basis: 8rem;
|
|
1290
|
+
flex-shrink: 0;
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
@mixin two-by-three-main {
|
|
1295
|
+
.card-detail {
|
|
1296
|
+
@include large-card-detail;
|
|
1297
|
+
}
|
|
1298
|
+
|
|
1299
|
+
.root {
|
|
1300
|
+
display: flex;
|
|
1301
|
+
flex-direction: row;
|
|
1302
|
+
border: basics.$border-thick;
|
|
1303
|
+
// border-radius: sizing.$thick-border-radius;
|
|
1304
|
+
transition: transitions.$colours;
|
|
1305
|
+
background-color: colours.$ui-white;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
.left-outer {
|
|
1309
|
+
padding: sizing.$card-padding;
|
|
1310
|
+
display: flex;
|
|
1311
|
+
width: 100%;
|
|
1312
|
+
justify-content: space-between;
|
|
1313
|
+
}
|
|
1314
|
+
.right-outer {
|
|
1315
|
+
display: flex;
|
|
1316
|
+
flex-flow: column nowrap;
|
|
1317
|
+
justify-content: space-around;
|
|
1318
|
+
border-left: basics.$border-thick;
|
|
1319
|
+
}
|
|
1320
|
+
.left-inner {
|
|
1321
|
+
display: flex;
|
|
1322
|
+
flex-direction: column;
|
|
1323
|
+
gap: sizing.$card-inner-gap;
|
|
1324
|
+
flex-grow: 1;
|
|
1325
|
+
}
|
|
1326
|
+
.right-inner {
|
|
1327
|
+
display: flex;
|
|
1328
|
+
flex-direction: column;
|
|
1329
|
+
// gap: sizing.$card-gap;
|
|
1330
|
+
justify-content: space-between;
|
|
1331
|
+
align-items: end;
|
|
1332
|
+
}
|
|
1333
|
+
.row {
|
|
1334
|
+
display: flex;
|
|
1335
|
+
gap: sizing.$card-gap;
|
|
1336
|
+
|
|
1337
|
+
h3 {
|
|
1338
|
+
color: colours.$font-primary;
|
|
1339
|
+
margin: 0;
|
|
1340
|
+
font-size: sizing.$card-title;
|
|
1341
|
+
}
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
// TODO rename to something more generic
|
|
1345
|
+
|
|
1346
|
+
.product-title {
|
|
1347
|
+
@include product-title;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
.top {
|
|
1351
|
+
display: flex;
|
|
1352
|
+
height: 100%;
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
@mixin table-column-highlight {
|
|
1357
|
+
td {
|
|
1358
|
+
position: relative;
|
|
1359
|
+
padding: 0;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
div.wrapper {
|
|
1363
|
+
position: absolute;
|
|
1364
|
+
top: 0;
|
|
1365
|
+
bottom: 0;
|
|
1366
|
+
left: 0;
|
|
1367
|
+
right: 0;
|
|
1368
|
+
display: flex;
|
|
1369
|
+
align-items: stretch;
|
|
1370
|
+
justify-content: stretch;
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
@mixin two-by-three-main-wrapper {
|
|
1375
|
+
display: flex;
|
|
1376
|
+
flex-direction: column;
|
|
1377
|
+
align-items: center;
|
|
1378
|
+
padding: sizing.$half-padding;
|
|
1379
|
+
gap: sizing.$half-gap;
|
|
1380
|
+
align-items: stretch;
|
|
1381
|
+
flex-grow: 1;
|
|
1382
|
+
}
|
|
1383
|
+
|
|
1384
|
+
@mixin utility-button-wrapper {
|
|
1385
|
+
.bg-wrapper {
|
|
1386
|
+
flex: 1;
|
|
1387
|
+
display: flex;
|
|
1388
|
+
background-color: colours.$ui-blue-1;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
.spacer-half {
|
|
1392
|
+
background-color: colours.$ui-blue-1;
|
|
1393
|
+
flex-grow: 0.5;
|
|
1394
|
+
}
|
|
1395
|
+
|
|
1396
|
+
.spacer {
|
|
1397
|
+
background-color: colours.$ui-blue-1;
|
|
1398
|
+
flex-grow: 1;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
.button-list-wrapper {
|
|
1402
|
+
background-color: colours.$ui-blue-4;
|
|
1403
|
+
flex: 1;
|
|
1404
|
+
display: flex;
|
|
1405
|
+
flex-flow: row nowrap;
|
|
1406
|
+
gap: 1px;
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
@mixin title-card {
|
|
1411
|
+
@include card-layout;
|
|
1412
|
+
font-size: sizing.$text-x-large;
|
|
1413
|
+
font-weight: sizing.$font-weight-touch;
|
|
1414
|
+
color: colours.$font-primary;
|
|
1415
|
+
background-color: var(--background-colour, #{colours.$ui-blue-1});
|
|
1416
|
+
align-items: center;
|
|
1417
|
+
user-select: none;
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
@mixin mid-title-card {
|
|
1421
|
+
@include title-card;
|
|
1422
|
+
margin: 0 -0.5rem;
|
|
1423
|
+
border-left: none;
|
|
1424
|
+
border-right: none;
|
|
1425
|
+
background-color: colours.$ui-blue-2;
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
@mixin documents-modal {
|
|
1429
|
+
width: 100%;
|
|
1430
|
+
display: flex;
|
|
1431
|
+
padding: sizing.$regular-padding;
|
|
1432
|
+
flex-direction: column;
|
|
1433
|
+
gap: sizing.$regular-gap;
|
|
1434
|
+
|
|
1435
|
+
.row {
|
|
1436
|
+
display: flex;
|
|
1437
|
+
flex-flow: row nowrap;
|
|
1438
|
+
width: 100%;
|
|
1439
|
+
justify-content: space-between;
|
|
1440
|
+
gap: 2%;
|
|
1441
|
+
|
|
1442
|
+
.left,
|
|
1443
|
+
.right,
|
|
1444
|
+
.mid {
|
|
1445
|
+
box-sizing: border-box;
|
|
1446
|
+
display: flex;
|
|
1447
|
+
flex-flow: column nowrap;
|
|
1448
|
+
gap: 0.75rem;
|
|
1449
|
+
align-items: start;
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
.mid {
|
|
1453
|
+
flex-basis: calc(33% - 1.5rem);
|
|
1454
|
+
flex-shrink: 1;
|
|
1455
|
+
overflow: hidden;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
.left {
|
|
1459
|
+
flex-basis: 33%;
|
|
1460
|
+
flex-shrink: 0;
|
|
1461
|
+
}
|
|
1462
|
+
.right {
|
|
1463
|
+
flex-basis: 33%;
|
|
1464
|
+
flex-shrink: 0;
|
|
1465
|
+
}
|
|
1466
|
+
}
|
|
1467
|
+
}
|
|
1468
|
+
|
|
1469
|
+
@mixin modal-side-by-side {
|
|
1470
|
+
padding: sizing.$regular-padding 0;
|
|
1471
|
+
display: flex;
|
|
1472
|
+
flex-flow: row nowrap;
|
|
1473
|
+
gap: sizing.$regular-gap;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
@mixin three-col-splash-screen {
|
|
1477
|
+
.with-gap {
|
|
1478
|
+
display: flex;
|
|
1479
|
+
flex-flow: row wrap;
|
|
1480
|
+
gap: sizing.$half-gap;
|
|
1481
|
+
}
|
|
1482
|
+
.main-wrapper {
|
|
1483
|
+
display: flex;
|
|
1484
|
+
flex: 1;
|
|
1485
|
+
flex-flow: row nowrap;
|
|
1486
|
+
justify-content: center;
|
|
1487
|
+
}
|
|
1488
|
+
.main {
|
|
1489
|
+
display: flex;
|
|
1490
|
+
flex-flow: column;
|
|
1491
|
+
align-self: center;
|
|
1492
|
+
justify-self: center;
|
|
1493
|
+
align-items: center;
|
|
1494
|
+
position: relative;
|
|
1495
|
+
margin-bottom: 5vh;
|
|
1496
|
+
}
|
|
1497
|
+
h1 {
|
|
1498
|
+
color: colours.$font-primary;
|
|
1499
|
+
}
|
|
1500
|
+
.secondary {
|
|
1501
|
+
display: block;
|
|
1502
|
+
color: colours.$font-secondary;
|
|
1503
|
+
--colour: #{colours.$ui-blue-9};
|
|
1504
|
+
line-height: 1.5;
|
|
1505
|
+
font-size: 1.25rem;
|
|
1506
|
+
|
|
1507
|
+
display: flex;
|
|
1508
|
+
flex-flow: row wrap;
|
|
1509
|
+
justify-content: flex-end;
|
|
1510
|
+
align-items: center;
|
|
1511
|
+
gap: sizing.$half-gap;
|
|
1512
|
+
}
|
|
1513
|
+
.left,
|
|
1514
|
+
.right {
|
|
1515
|
+
display: flex;
|
|
1516
|
+
justify-content: space-between;
|
|
1517
|
+
flex-flow: column;
|
|
1518
|
+
padding: sizing.$double-padding;
|
|
1519
|
+
flex-basis: 33%;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
.row {
|
|
1523
|
+
display: flex;
|
|
1524
|
+
flex-flow: row nowrap;
|
|
1525
|
+
gap: sizing.$regular-gap;
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
.left {
|
|
1529
|
+
margin-right: auto;
|
|
1530
|
+
align-items: flex-start;
|
|
1531
|
+
justify-content: space-between;
|
|
1532
|
+
}
|
|
1533
|
+
.right {
|
|
1534
|
+
margin-left: auto;
|
|
1535
|
+
align-items: flex-end;
|
|
1536
|
+
}
|
|
1537
|
+
span.block {
|
|
1538
|
+
display: block;
|
|
1539
|
+
box-sizing: border-box;
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
@mixin table-cell-basic {
|
|
1544
|
+
td {
|
|
1545
|
+
@include table-height-transition;
|
|
1546
|
+
--input-border: none;
|
|
1547
|
+
--input-height: var(--height);
|
|
1548
|
+
white-space: nowrap;
|
|
1549
|
+
overflow-x: clip;
|
|
1550
|
+
text-overflow: ellipsis;
|
|
1551
|
+
position: relative;
|
|
1552
|
+
padding-left: 0.75rem;
|
|
1553
|
+
padding-right: 0.75rem;
|
|
1554
|
+
border: solid 1px colours.$ui-blue-4;
|
|
1555
|
+
border-left: none;
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
|
|
1559
|
+
@mixin table-cell-multifocus {
|
|
1560
|
+
td {
|
|
1561
|
+
&.multifocus {
|
|
1562
|
+
background-color: var(--multifocus-colour, colours.$primary-blue-2);
|
|
1563
|
+
|
|
1564
|
+
&.multifocus-start {
|
|
1565
|
+
background-color: colours.$ui-white;
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
|
|
1571
|
+
@mixin table-cell-focusable {
|
|
1572
|
+
td {
|
|
1573
|
+
&.focusable {
|
|
1574
|
+
user-select: none;
|
|
1575
|
+
cursor: default;
|
|
1576
|
+
outline: none;
|
|
1577
|
+
&.editable {
|
|
1578
|
+
cursor: pointer;
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
@mixin table-cell-validity {
|
|
1585
|
+
td {
|
|
1586
|
+
&.info {
|
|
1587
|
+
background-color: #{colours.$brand-dark};
|
|
1588
|
+
}
|
|
1589
|
+
|
|
1590
|
+
&.warning {
|
|
1591
|
+
background-color: #{colours.$warning};
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1594
|
+
&.error {
|
|
1595
|
+
background-color: #{colours.$error-background};
|
|
1596
|
+
}
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
|
|
1600
|
+
@mixin table-cell-display {
|
|
1601
|
+
td {
|
|
1602
|
+
max-height: var(--max-height);
|
|
1603
|
+
height: var(--height);
|
|
1604
|
+
box-sizing: content-box;
|
|
1605
|
+
overflow-x: clip;
|
|
1606
|
+
--td-padding-left: 0;
|
|
1607
|
+
--td-padding-right: 0;
|
|
1608
|
+
}
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
@mixin table-cell-slot-wrapper {
|
|
1612
|
+
div.slot-wrapper {
|
|
1613
|
+
&.multifocus {
|
|
1614
|
+
background-color: var(--multifocus-colour, colours.$primary-blue-1);
|
|
1615
|
+
|
|
1616
|
+
&.multifocus-start {
|
|
1617
|
+
background-color: colours.$ui-white;
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
position: absolute;
|
|
1622
|
+
top: 0;
|
|
1623
|
+
bottom: 0;
|
|
1624
|
+
left: 0;
|
|
1625
|
+
right: 0;
|
|
1626
|
+
display: flex;
|
|
1627
|
+
align-items: center;
|
|
1628
|
+
justify-content: center;
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
@mixin table-cell-svelecte {
|
|
1633
|
+
td {
|
|
1634
|
+
&.select-cell {
|
|
1635
|
+
padding: unset;
|
|
1636
|
+
box-sizing: border-box;
|
|
1637
|
+
vertical-align: middle;
|
|
1638
|
+
|
|
1639
|
+
text-align: center;
|
|
1640
|
+
}
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
td {
|
|
1644
|
+
--sv-border: none;
|
|
1645
|
+
:global(.select-wrapper) {
|
|
1646
|
+
--sv-min-height: 0px;
|
|
1647
|
+
--sv-general-padding: 0px;
|
|
1648
|
+
--sv-item-wrap-padding: 0px 0.75rem;
|
|
1649
|
+
--input-height: var(--height);
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
@mixin table-cell {
|
|
1654
|
+
@include table-cell-basic;
|
|
1655
|
+
@include table-cell-multifocus;
|
|
1656
|
+
@include table-cell-focusable;
|
|
1657
|
+
@include table-cell-validity;
|
|
1658
|
+
|
|
1659
|
+
td {
|
|
1660
|
+
&.invalid {
|
|
1661
|
+
background-color: colours.$error-background !important;
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
&.focusable.focus {
|
|
1665
|
+
user-select: none;
|
|
1666
|
+
cursor: default;
|
|
1667
|
+
outline: none;
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
&.input-cell,
|
|
1671
|
+
&.select-cell,
|
|
1672
|
+
&.datepicker-cell {
|
|
1673
|
+
padding: unset;
|
|
1674
|
+
box-sizing: border-box;
|
|
1675
|
+
vertical-align: middle;
|
|
1676
|
+
|
|
1677
|
+
.react-datepicker-wrapper {
|
|
1678
|
+
width: 100%;
|
|
1679
|
+
box-sizing: border-box;
|
|
1680
|
+
display: flex;
|
|
1681
|
+
justify-content: center;
|
|
1682
|
+
|
|
1683
|
+
.react-datepicker__input-container {
|
|
1684
|
+
width: 100%;
|
|
1685
|
+
// width: calc(100% - 2px);
|
|
1686
|
+
display: flex;
|
|
1687
|
+
justify-content: center;
|
|
1688
|
+
box-sizing: border-box;
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
input {
|
|
1692
|
+
width: 100%;
|
|
1693
|
+
border: none;
|
|
1694
|
+
outline: none;
|
|
1695
|
+
box-shadow: basics.$table-focus;
|
|
1696
|
+
box-sizing: border-box;
|
|
1697
|
+
border-radius: 0;
|
|
1698
|
+
line-height: 1.5;
|
|
1699
|
+
font-size: inherit;
|
|
1700
|
+
font-family: inherit;
|
|
1701
|
+
padding: 0.8rem 0.75rem;
|
|
1702
|
+
}
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
.select {
|
|
1706
|
+
width: 100%;
|
|
1707
|
+
|
|
1708
|
+
input {
|
|
1709
|
+
padding: 0.8rem 0.75rem;
|
|
1710
|
+
border-radius: 0;
|
|
1711
|
+
width: 100%;
|
|
1712
|
+
border: none;
|
|
1713
|
+
outline: none;
|
|
1714
|
+
box-shadow: basics.$table-focus;
|
|
1715
|
+
}
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
.stretch {
|
|
1720
|
+
display: flex;
|
|
1721
|
+
// position: absolute;
|
|
1722
|
+
// top: 0;
|
|
1723
|
+
// bottom: 0;
|
|
1724
|
+
// left: 0;
|
|
1725
|
+
// right: 0;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
&.checkbox-cell {
|
|
1729
|
+
box-sizing: content-box;
|
|
1730
|
+
height: var(--height);
|
|
1731
|
+
|
|
1732
|
+
& * {
|
|
1733
|
+
outline-color: colours.$transparent-20;
|
|
1734
|
+
// transition: outline-color transitions.$ease;
|
|
1735
|
+
&.focus-within {
|
|
1736
|
+
outline: solid 1px colours.$brand-primary;
|
|
1737
|
+
}
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
// & .checkbox__icn {
|
|
1741
|
+
// transition: all transitions.$ease;
|
|
1742
|
+
// }
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
&.select-cell {
|
|
1746
|
+
input {
|
|
1747
|
+
width: 100%;
|
|
1748
|
+
// width: calc(100% - 2px);
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
&.checkbox-cell,
|
|
1753
|
+
&.select-cell {
|
|
1754
|
+
text-align: center;
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
.input-container {
|
|
1758
|
+
width: 100%;
|
|
1759
|
+
// width: calc(100% - 2px);
|
|
1760
|
+
|
|
1761
|
+
input {
|
|
1762
|
+
width: 100%;
|
|
1763
|
+
box-sizing: border-box;
|
|
1764
|
+
border-radius: 0;
|
|
1765
|
+
|
|
1766
|
+
font-size: inherit;
|
|
1767
|
+
|
|
1768
|
+
&:focus {
|
|
1769
|
+
outline: none;
|
|
1770
|
+
box-shadow: basics.$table-focus;
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
}
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
@mixin table-cell-quick-search {
|
|
1778
|
+
.spaced-around {
|
|
1779
|
+
height: 100%;
|
|
1780
|
+
overflow: hidden;
|
|
1781
|
+
display: flex;
|
|
1782
|
+
padding-left: 4px;
|
|
1783
|
+
padding-right: 4px;
|
|
1784
|
+
gap: 4px;
|
|
1785
|
+
}
|
|
1786
|
+
td {
|
|
1787
|
+
background-color: colours.$ui-blue-1;
|
|
1788
|
+
height: var(--height);
|
|
1789
|
+
overflow: visible;
|
|
1790
|
+
padding-left: 0;
|
|
1791
|
+
padding-right: 0;
|
|
1792
|
+
|
|
1793
|
+
div.stick-right {
|
|
1794
|
+
position: absolute;
|
|
1795
|
+
right: 0.5rem;
|
|
1796
|
+
height: 100%;
|
|
1797
|
+
bottom: 50%;
|
|
1798
|
+
top: 0;
|
|
1799
|
+
display: flex;
|
|
1800
|
+
background-color: transparent;
|
|
1801
|
+
align-items: center;
|
|
1802
|
+
justify-content: center;
|
|
1803
|
+
}
|
|
1804
|
+
}
|
|
1805
|
+
div.floating {
|
|
1806
|
+
position: absolute;
|
|
1807
|
+
width: 18rem;
|
|
1808
|
+
right: -14.5rem;
|
|
1809
|
+
top: calc(100% + 0.75rem);
|
|
1810
|
+
z-index: 99999;
|
|
1811
|
+
border: solid 2px #{colours.$ui-blue-4};
|
|
1812
|
+
border-radius: sizing.$border-radius;
|
|
1813
|
+
box-shadow: 0px 0px 5px 0px #{colours.$ui-blue-3};
|
|
1814
|
+
|
|
1815
|
+
&::after {
|
|
1816
|
+
// TODO fix shape and z-index
|
|
1817
|
+
position: absolute;
|
|
1818
|
+
content: '';
|
|
1819
|
+
padding: 0.7rem;
|
|
1820
|
+
z-index: 5;
|
|
1821
|
+
top: -0.75rem;
|
|
1822
|
+
border-radius: sizing.$border-radius;
|
|
1823
|
+
left: 1rem;
|
|
1824
|
+
transform: rotate(45deg);
|
|
1825
|
+
background-color: #{colours.$ui-white};
|
|
1826
|
+
border: solid 2px #{colours.$ui-blue-4};
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
div.select-wrapper {
|
|
1830
|
+
position: relative;
|
|
1831
|
+
z-index: 99999;
|
|
1832
|
+
padding: 1rem;
|
|
1833
|
+
width: 100%;
|
|
1834
|
+
height: 100%;
|
|
1835
|
+
background-color: #{colours.$ui-white};
|
|
1836
|
+
border-radius: sizing.$border-radius;
|
|
1837
|
+
}
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
div.input-wrapper-parent {
|
|
1841
|
+
height: 100%;
|
|
1842
|
+
width: 100%;
|
|
1843
|
+
--input-height: 100%;
|
|
1844
|
+
--input-min-width: 180px;
|
|
1845
|
+
--sv-min-height: 0px;
|
|
1846
|
+
--sv-border: none;
|
|
1847
|
+
display: flex;
|
|
1848
|
+
flex-flow: row nowrap;
|
|
1849
|
+
gap: 0.25rem;
|
|
1850
|
+
flex-grow: 1;
|
|
1851
|
+
--input-border: none;
|
|
1852
|
+
|
|
1853
|
+
div.input-wrapper {
|
|
1854
|
+
position: relative;
|
|
1855
|
+
|
|
1856
|
+
&.left {
|
|
1857
|
+
flex-grow: 2;
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1860
|
+
&.right {
|
|
1861
|
+
min-width: 100px;
|
|
1862
|
+
flex-grow: 2;
|
|
1863
|
+
--input-padding-right: 2.6rem;
|
|
1864
|
+
}
|
|
1865
|
+
}
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
@mixin table-cell-input-basic {
|
|
1870
|
+
td {
|
|
1871
|
+
&.input-cell {
|
|
1872
|
+
padding: unset;
|
|
1873
|
+
box-sizing: border-box;
|
|
1874
|
+
vertical-align: middle;
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
@mixin table-checkbox-label {
|
|
1880
|
+
label {
|
|
1881
|
+
display: flex;
|
|
1882
|
+
flex-flow: row nowrap;
|
|
1883
|
+
justify-content: center;
|
|
1884
|
+
|
|
1885
|
+
position: absolute;
|
|
1886
|
+
top: 0;
|
|
1887
|
+
bottom: 0;
|
|
1888
|
+
left: 0;
|
|
1889
|
+
right: 0;
|
|
1890
|
+
display: flex;
|
|
1891
|
+
align-items: center;
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
@mixin table-header-checkbox {
|
|
1896
|
+
input[type='checkbox'] {
|
|
1897
|
+
height: var(--checkbox-height);
|
|
1898
|
+
padding: 1rem;
|
|
1899
|
+
// height: 100%;
|
|
1900
|
+
box-sizing: border-box;
|
|
1901
|
+
cursor: pointer;
|
|
1902
|
+
accent-color: var(--colour, colours.$brand-primary);
|
|
1903
|
+
flex-grow: 1;
|
|
1904
|
+
|
|
1905
|
+
&:focus,
|
|
1906
|
+
&:focus-visible,
|
|
1907
|
+
&:focus-within {
|
|
1908
|
+
outline: none !important;
|
|
1909
|
+
// box-shadow: basics.$table-focus;
|
|
1910
|
+
}
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
@include table-checkbox-label;
|
|
1914
|
+
label {
|
|
1915
|
+
cursor: pointer;
|
|
1916
|
+
}
|
|
1917
|
+
}
|
|
1918
|
+
|
|
1919
|
+
@mixin table-checkbox {
|
|
1920
|
+
@include table-header-checkbox;
|
|
1921
|
+
|
|
1922
|
+
label {
|
|
1923
|
+
&.multifocus {
|
|
1924
|
+
background-color: var(--multifocus-colour, colours.$primary-blue-1);
|
|
1925
|
+
|
|
1926
|
+
&.multifocus-start {
|
|
1927
|
+
background-color: colours.$ui-white;
|
|
1928
|
+
}
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
|
|
1933
|
+
@mixin checkbox-cell {
|
|
1934
|
+
@include table-cell;
|
|
1935
|
+
@include table-checkbox;
|
|
1936
|
+
|
|
1937
|
+
label {
|
|
1938
|
+
&.focus-within {
|
|
1939
|
+
outline: none !important;
|
|
1940
|
+
box-shadow: basics.$table-focus;
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
@mixin table-head {
|
|
1946
|
+
th {
|
|
1947
|
+
position: relative;
|
|
1948
|
+
min-width: fit-content;
|
|
1949
|
+
color: colours.$ui-black;
|
|
1950
|
+
border: solid 1px colours.$ui-blue-4;
|
|
1951
|
+
}
|
|
1952
|
+
}
|
|
1953
|
+
|
|
1954
|
+
@mixin table-row-basic {
|
|
1955
|
+
tr {
|
|
1956
|
+
line-height: var(--line-height, 3);
|
|
1957
|
+
@include table-height-transition;
|
|
1958
|
+
background-color: colours.$ui-white;
|
|
1959
|
+
|
|
1960
|
+
td.no-padding {
|
|
1961
|
+
padding: 0;
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
&.alt {
|
|
1965
|
+
background-color: colours.$ui-blue-1;
|
|
1966
|
+
}
|
|
1967
|
+
|
|
1968
|
+
&.highlighted,
|
|
1969
|
+
&.hoverable:hover {
|
|
1970
|
+
background-color: colours.$primary-blue-2;
|
|
1971
|
+
}
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
@mixin table-row-no-hover {
|
|
1976
|
+
tr {
|
|
1977
|
+
line-height: var(--line-height, 3);
|
|
1978
|
+
|
|
1979
|
+
th {
|
|
1980
|
+
border-top: none;
|
|
1981
|
+
border-bottom: none;
|
|
1982
|
+
&:first-of-type {
|
|
1983
|
+
// border-top-left-radius: sizing.$border-radius;
|
|
1984
|
+
border-left: none;
|
|
1985
|
+
}
|
|
1986
|
+
&:last-of-type {
|
|
1987
|
+
// border-top-right-radius: sizing.$border-radius;
|
|
1988
|
+
border-right: none;
|
|
1989
|
+
}
|
|
1990
|
+
}
|
|
1991
|
+
}
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
@mixin table-row {
|
|
1995
|
+
@include table-row-no-hover;
|
|
1996
|
+
tr {
|
|
1997
|
+
&.hovered {
|
|
1998
|
+
background-color: colours.$ui-blue-1;
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
@mixin table-height-transition {
|
|
2004
|
+
transition:
|
|
2005
|
+
line-height 0.2s ease,
|
|
2006
|
+
height 0.2s ease;
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
@mixin datamatrix-row {
|
|
2010
|
+
div.datamatrix-row {
|
|
2011
|
+
display: flex;
|
|
2012
|
+
gap: 0.5rem;
|
|
2013
|
+
flex-flow: row nowrap;
|
|
2014
|
+
width: 100%;
|
|
2015
|
+
}
|
|
2016
|
+
}
|
|
2017
|
+
|
|
2018
|
+
@mixin touch-modal-dyo {
|
|
2019
|
+
dialog {
|
|
2020
|
+
overflow: clip;
|
|
2021
|
+
background-color: colours.$ui-blue-2;
|
|
2022
|
+
// max-width: 95%;
|
|
2023
|
+
max-height: 95%;
|
|
2024
|
+
min-height: var(--dialog-min-height);
|
|
2025
|
+
min-width: var(--dialog-min-width); //644px; //overly specific due to chrome shenanigans
|
|
2026
|
+
width: var(--dialog-width, max-content);
|
|
2027
|
+
height: var(--dialog-height, max-content);
|
|
2028
|
+
border-radius: 0.1875rem;
|
|
2029
|
+
border: none;
|
|
2030
|
+
padding: 0;
|
|
2031
|
+
|
|
2032
|
+
&::backdrop {
|
|
2033
|
+
background: rgba(0, 0, 0, 0.3);
|
|
2034
|
+
backdrop-filter: blur(1px);
|
|
2035
|
+
}
|
|
2036
|
+
&.static-height {
|
|
2037
|
+
height: 95%;
|
|
2038
|
+
}
|
|
2039
|
+
&.static-width {
|
|
2040
|
+
width: min(95%, sizing.$max-modal-width);
|
|
2041
|
+
}
|
|
2042
|
+
&[open] {
|
|
2043
|
+
animation: zoom 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
2044
|
+
display: flex;
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
@keyframes zoom {
|
|
2048
|
+
from {
|
|
2049
|
+
transform: scale(0.98);
|
|
2050
|
+
}
|
|
2051
|
+
to {
|
|
2052
|
+
transform: scale(1);
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
|
|
2056
|
+
.modal-header {
|
|
2057
|
+
flex-shrink: 0;
|
|
2058
|
+
}
|
|
2059
|
+
.modal-main {
|
|
2060
|
+
align-content: center;
|
|
2061
|
+
flex-shrink: 1;
|
|
2062
|
+
overflow: auto;
|
|
2063
|
+
|
|
2064
|
+
&.noscroll {
|
|
2065
|
+
overflow: visible;
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2068
|
+
}
|
|
2069
|
+
|
|
2070
|
+
.modal-root {
|
|
2071
|
+
overflow: visible;
|
|
2072
|
+
// height: 100%;
|
|
2073
|
+
flex-grow: 1;
|
|
2074
|
+
max-height: 100%;
|
|
2075
|
+
width: 100%;
|
|
2076
|
+
display: flex;
|
|
2077
|
+
flex-flow: column;
|
|
2078
|
+
flex: 1;
|
|
2079
|
+
overflow: auto;
|
|
2080
|
+
}
|
|
2081
|
+
.modal-header {
|
|
2082
|
+
position: relative;
|
|
2083
|
+
|
|
2084
|
+
// .close-button {
|
|
2085
|
+
// position: absolute;
|
|
2086
|
+
// right: 0.33rem;
|
|
2087
|
+
// top: 0.33rem;
|
|
2088
|
+
// }
|
|
2089
|
+
}
|
|
2090
|
+
.modal-heading {
|
|
2091
|
+
user-select: none;
|
|
2092
|
+
background-color: colours.$brand-primary;
|
|
2093
|
+
color: colours.$ui-white;
|
|
2094
|
+
margin: 0;
|
|
2095
|
+
padding: sizing.$regular-padding;
|
|
2096
|
+
text-align: center;
|
|
2097
|
+
font-size: sizing.$text-large;
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
.modal-main {
|
|
2101
|
+
flex-grow: 1;
|
|
2102
|
+
overflow-y: auto;
|
|
2103
|
+
padding: sizing.$half-padding;
|
|
2104
|
+
|
|
2105
|
+
font-size: 1.33rem;
|
|
2106
|
+
background-color: colours.$ui-blue-1;
|
|
2107
|
+
|
|
2108
|
+
&.noscroll {
|
|
2109
|
+
overflow: visible;
|
|
2110
|
+
}
|
|
2111
|
+
}
|
|
2112
|
+
|
|
2113
|
+
.modal-footer {
|
|
2114
|
+
bottom: 0;
|
|
2115
|
+
border-top: basics.$border;
|
|
2116
|
+
width: 100%;
|
|
2117
|
+
box-sizing: border-box;
|
|
2118
|
+
display: flex;
|
|
2119
|
+
flex-flow: row-reverse wrap;
|
|
2120
|
+
justify-content: space-between;
|
|
2121
|
+
|
|
2122
|
+
padding: sizing.$regular-padding;
|
|
2123
|
+
gap: 2rem;
|
|
2124
|
+
|
|
2125
|
+
button {
|
|
2126
|
+
// @include card;
|
|
2127
|
+
padding: sizing.$button-padding-lg-wide;
|
|
2128
|
+
border-width: sizing.$border-width-double;
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
button {
|
|
2133
|
+
@include card-layout;
|
|
2134
|
+
|
|
2135
|
+
cursor: pointer;
|
|
2136
|
+
|
|
2137
|
+
&:disabled {
|
|
2138
|
+
background-color: var(--background-colour, colours.$ui-blue-2);
|
|
2139
|
+
color: colours.$font-disabled;
|
|
2140
|
+
--colour: #{colours.$font-disabled};
|
|
2141
|
+
cursor: default;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2144
|
+
// &button[type='submit']:not([disabled]),
|
|
2145
|
+
|
|
2146
|
+
&:not([disabled]) {
|
|
2147
|
+
&:hover {
|
|
2148
|
+
background-color: var(--hover-background-colour, colours.$transparent-10);
|
|
2149
|
+
--background-colour: var(--hover-background-colour, colours.$transparent-10) !important;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
&:focus,
|
|
2153
|
+
&:focus-visible {
|
|
2154
|
+
@include outline;
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
&.primary {
|
|
2158
|
+
color: colours.$ui-white;
|
|
2159
|
+
background-color: var(--background-colour, colours.$brand-primary);
|
|
2160
|
+
border-color: var(--border-colour, colours.$brand-primary);
|
|
2161
|
+
|
|
2162
|
+
&:focus,
|
|
2163
|
+
&:focus-visible {
|
|
2164
|
+
outline-color: colours.$brand-primary;
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
// &:focus,
|
|
2168
|
+
&:hover {
|
|
2169
|
+
background-color: var(--hover-background-colour, colours.$brand-dark);
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
padding: 1.5rem;
|
|
2175
|
+
font-size: 1.5rem;
|
|
2176
|
+
|
|
2177
|
+
display: block;
|
|
2178
|
+
border-width: sizing.$border-width-double;
|
|
2179
|
+
// border-radius: 3px;
|
|
2180
|
+
border-radius: #{sizing.$border-radius};
|
|
2181
|
+
}
|
|
2182
|
+
|
|
2183
|
+
//all good
|
|
2184
|
+
.modal-main {
|
|
2185
|
+
display: flex;
|
|
2186
|
+
flex-flow: column nowrap;
|
|
2187
|
+
|
|
2188
|
+
&.row {
|
|
2189
|
+
flex-flow: row nowrap;
|
|
2190
|
+
|
|
2191
|
+
&.wrap {
|
|
2192
|
+
flex-flow: row wrap;
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
.noscroll {
|
|
2198
|
+
overflow: visible;
|
|
2199
|
+
}
|
|
2200
|
+
|
|
2201
|
+
div.button-barcode-set {
|
|
2202
|
+
display: flex;
|
|
2203
|
+
flex-flow: row nowrap;
|
|
2204
|
+
gap: sizing.$regular-padding;
|
|
2205
|
+
}
|
|
2206
|
+
|
|
2207
|
+
.close-button {
|
|
2208
|
+
margin: 0.25rem;
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
.modal-heading {
|
|
2212
|
+
display: flex;
|
|
2213
|
+
justify-content: center;
|
|
2214
|
+
align-items: center;
|
|
2215
|
+
}
|
|
2216
|
+
|
|
2217
|
+
.title-wrapper {
|
|
2218
|
+
position: relative;
|
|
2219
|
+
display: flex;
|
|
2220
|
+
flex-flow: row nowrap;
|
|
2221
|
+
align-items: center;
|
|
2222
|
+
justify-content: flex-end;
|
|
2223
|
+
height: 4.25rem;
|
|
2224
|
+
|
|
2225
|
+
.modal-heading {
|
|
2226
|
+
width: 100%;
|
|
2227
|
+
// position: absolute;
|
|
2228
|
+
// left: 0;
|
|
2229
|
+
// right: 0;
|
|
2230
|
+
// top: 0;
|
|
2231
|
+
// bottom: 0;
|
|
2232
|
+
|
|
2233
|
+
&.padded {
|
|
2234
|
+
padding-right: 4.5rem;
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
// background-color: colours.$dark-blue;
|
|
2239
|
+
.close-button {
|
|
2240
|
+
position: absolute;
|
|
2241
|
+
}
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
button[type='submit'] {
|
|
2245
|
+
@include call-to-action;
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
div.bar-container {
|
|
2249
|
+
position: relative;
|
|
2250
|
+
background-color: colours.$ui-blue-1;
|
|
2251
|
+
width: 100%;
|
|
2252
|
+
margin-top: 1px;
|
|
2253
|
+
height: 1rem;
|
|
2254
|
+
overflow: hidden;
|
|
2255
|
+
|
|
2256
|
+
@keyframes timer {
|
|
2257
|
+
from {
|
|
2258
|
+
width: 100%;
|
|
2259
|
+
}
|
|
2260
|
+
|
|
2261
|
+
to {
|
|
2262
|
+
width: 0%;
|
|
2263
|
+
}
|
|
2264
|
+
}
|
|
2265
|
+
|
|
2266
|
+
div.bar-timer {
|
|
2267
|
+
position: absolute;
|
|
2268
|
+
top: 0;
|
|
2269
|
+
left: 0;
|
|
2270
|
+
height: 1rem;
|
|
2271
|
+
background-color: colours.$brand-primary;
|
|
2272
|
+
animation: timer linear var(--timer);
|
|
2273
|
+
|
|
2274
|
+
&.paused {
|
|
2275
|
+
animation-play-state: paused;
|
|
2276
|
+
opacity: 0%;
|
|
2277
|
+
transition: opacity 300ms 0s ease-out;
|
|
2278
|
+
}
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2283
|
+
@mixin date-modal {
|
|
2284
|
+
.modal-footer {
|
|
2285
|
+
bottom: 0;
|
|
2286
|
+
border-top: basics.$border;
|
|
2287
|
+
width: 100%;
|
|
2288
|
+
box-sizing: border-box;
|
|
2289
|
+
display: flex;
|
|
2290
|
+
flex-flow: row-reverse wrap;
|
|
2291
|
+
justify-content: space-between;
|
|
2292
|
+
|
|
2293
|
+
padding: sizing.$regular-padding;
|
|
2294
|
+
gap: 2rem;
|
|
2295
|
+
|
|
2296
|
+
button {
|
|
2297
|
+
// @include card;
|
|
2298
|
+
padding: sizing.$button-padding-lg-wide;
|
|
2299
|
+
border-width: sizing.$border-width-double;
|
|
2300
|
+
}
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2303
|
+
button {
|
|
2304
|
+
@include card-layout;
|
|
2305
|
+
|
|
2306
|
+
cursor: pointer;
|
|
2307
|
+
|
|
2308
|
+
&:disabled {
|
|
2309
|
+
background-color: var(--background-colour, colours.$ui-blue-2);
|
|
2310
|
+
color: colours.$font-disabled;
|
|
2311
|
+
--colour: #{colours.$font-disabled};
|
|
2312
|
+
cursor: default;
|
|
2313
|
+
}
|
|
2314
|
+
|
|
2315
|
+
// &button[type='submit']:not([disabled]),
|
|
2316
|
+
|
|
2317
|
+
&:not([disabled]) {
|
|
2318
|
+
&:hover {
|
|
2319
|
+
background-color: var(--hover-background-colour, colours.$transparent-10);
|
|
2320
|
+
--background-colour: var(--hover-background-colour, colours.$transparent-10) !important;
|
|
2321
|
+
}
|
|
2322
|
+
|
|
2323
|
+
&:focus,
|
|
2324
|
+
&:focus-visible {
|
|
2325
|
+
@include outline;
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
padding: 1.5rem;
|
|
2330
|
+
font-size: 1.5rem;
|
|
2331
|
+
|
|
2332
|
+
display: block;
|
|
2333
|
+
border-width: sizing.$border-width-double;
|
|
2334
|
+
// border-radius: 3px;
|
|
2335
|
+
border-radius: #{sizing.$border-radius};
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
div.inputs {
|
|
2339
|
+
margin-bottom: 1rem;
|
|
2340
|
+
|
|
2341
|
+
display: flex;
|
|
2342
|
+
flex-flow: row nowrap;
|
|
2343
|
+
gap: sizing.$regular-gap;
|
|
2344
|
+
justify-content: space-around;
|
|
2345
|
+
}
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
@mixin select {
|
|
2349
|
+
.select-wrapper {
|
|
2350
|
+
// --input-width: #{sizing.$input-width};
|
|
2351
|
+
// --input-height: #{sizing.$input-height};
|
|
2352
|
+
// --sv-min-height: 44px;
|
|
2353
|
+
|
|
2354
|
+
min-width: var(--input-min-width);
|
|
2355
|
+
width: min(100%, max(var(--input-width), #{sizing.$input-width}));
|
|
2356
|
+
// height: min(var(--max-height), max(var(--input-height, 2rem), #{sizing.$input-height}));
|
|
2357
|
+
height: max(var(--input-height, #{sizing.$input-height}));
|
|
2358
|
+
|
|
2359
|
+
display: flex;
|
|
2360
|
+
gap: 2rem;
|
|
2361
|
+
color: colours.$font-primary;
|
|
2362
|
+
// width: 100%;
|
|
2363
|
+
// padding-top: 0.5rem;
|
|
2364
|
+
position: relative;
|
|
2365
|
+
|
|
2366
|
+
&.invalid {
|
|
2367
|
+
--sv-border: solid 1px #{colours.$error-border};
|
|
2368
|
+
--sv-control-bg: #{colours.$error-background};
|
|
2369
|
+
|
|
2370
|
+
label span {
|
|
2371
|
+
&:not(.border) {
|
|
2372
|
+
color: #{colours.$error-border};
|
|
2373
|
+
}
|
|
2374
|
+
border-top-color: #{colours.$error-background};
|
|
2375
|
+
}
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
label {
|
|
2379
|
+
position: absolute;
|
|
2380
|
+
// top: -0.5rem;
|
|
2381
|
+
left: 0.5rem;
|
|
2382
|
+
z-index: 1;
|
|
2383
|
+
|
|
2384
|
+
// background-color: colours.$white;
|
|
2385
|
+
font-size: sizing.$text-small-small-medium;
|
|
2386
|
+
padding: 0.05rem 0.4rem;
|
|
2387
|
+
color: colours.$font-secondary;
|
|
2388
|
+
|
|
2389
|
+
span:not(.border) {
|
|
2390
|
+
// position: absolute;
|
|
2391
|
+
// padding: 0.1rem 0.4rem;
|
|
2392
|
+
// top: -0.6rem;
|
|
2393
|
+
// z-index: 2;
|
|
2394
|
+
// color: colours.$font-secondary;
|
|
2395
|
+
// white-space: nowrap;
|
|
2396
|
+
@include absolute-label;
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
span.border {
|
|
2400
|
+
// position: absolute;
|
|
2401
|
+
// left: 0.5rem;
|
|
2402
|
+
// font-size: sizing.$text-small-small-medium;
|
|
2403
|
+
// padding-left: 0.4rem;
|
|
2404
|
+
// padding-right: 0.4rem;
|
|
2405
|
+
|
|
2406
|
+
// z-index: 1;
|
|
2407
|
+
// white-space: nowrap;
|
|
2408
|
+
// top: 0;
|
|
2409
|
+
// height: 0;
|
|
2410
|
+
// color: transparent;
|
|
2411
|
+
// border-top: solid 1px #{colours.$ui-white};
|
|
2412
|
+
@include absolute-label-border;
|
|
2413
|
+
}
|
|
2414
|
+
}
|
|
2415
|
+
|
|
2416
|
+
:global(.svelecte.svelecte-control) {
|
|
2417
|
+
cursor: pointer;
|
|
2418
|
+
max-width: 100%;
|
|
2419
|
+
max-height: 100%;
|
|
2420
|
+
box-sizing: border-box;
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
:global(.sv-item--content) {
|
|
2424
|
+
font-size: #{sizing.$text-small-small-medium};
|
|
2425
|
+
}
|
|
2426
|
+
|
|
2427
|
+
:global(.sv-item--wrap.in-dropdown) {
|
|
2428
|
+
cursor: pointer;
|
|
2429
|
+
min-height: 40px;
|
|
2430
|
+
align-items: center;
|
|
2431
|
+
}
|
|
2432
|
+
:global(.sv-item--content) {
|
|
2433
|
+
min-height: 1.2rem;
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
:global(.sv-btn-indicator) {
|
|
2437
|
+
cursor: pointer;
|
|
2438
|
+
}
|
|
2439
|
+
&.no-border {
|
|
2440
|
+
--sv-border: none;
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
.select-wrapper.force-upwards {
|
|
2444
|
+
:global {
|
|
2445
|
+
.sv_dropdown.is-open {
|
|
2446
|
+
// position: fixed !important;
|
|
2447
|
+
bottom: var(--dropdown-bottom);
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
:global {
|
|
2453
|
+
.sv-control {
|
|
2454
|
+
width: 100%;
|
|
2455
|
+
height: 100%;
|
|
2456
|
+
font-size: #{sizing.$text-small-small-medium};
|
|
2457
|
+
}
|
|
2458
|
+
.sv-control--selection {
|
|
2459
|
+
flex-flow: row nowrap;
|
|
2460
|
+
span.sv-input--sizer {
|
|
2461
|
+
position: static;
|
|
2462
|
+
margin: -1px; // HACK aligns it with the rest of the table inputs
|
|
2463
|
+
input {
|
|
2464
|
+
font-size: #{sizing.$text-small-small-medium};
|
|
2465
|
+
}
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
|
|
2469
|
+
.svelecte.svelecte-control {
|
|
2470
|
+
cursor: pointer;
|
|
2471
|
+
}
|
|
2472
|
+
|
|
2473
|
+
.sv-item--wrap.in-dropdown {
|
|
2474
|
+
cursor: pointer;
|
|
2475
|
+
min-height: 40px;
|
|
2476
|
+
align-items: center;
|
|
2477
|
+
}
|
|
2478
|
+
.sv-item--content {
|
|
2479
|
+
min-height: 1.2rem;
|
|
2480
|
+
}
|
|
2481
|
+
|
|
2482
|
+
span {
|
|
2483
|
+
transition: transitions.$colours;
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
.sv-control {
|
|
2487
|
+
transition: transitions.$colours;
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
div.sv_dropdown.is-open {
|
|
2491
|
+
z-index: 99;
|
|
2492
|
+
}
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
div.nothing {
|
|
2496
|
+
height: 0;
|
|
2497
|
+
width: 0;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
.dropdown-item,
|
|
2501
|
+
.selection {
|
|
2502
|
+
font-size: #{sizing.$text-small-small-medium};
|
|
2503
|
+
}
|
|
2504
|
+
|
|
2505
|
+
.selection {
|
|
2506
|
+
padding-left: 0.5rem;
|
|
2507
|
+
white-space: nowrap;
|
|
2508
|
+
display: flex;
|
|
2509
|
+
|
|
2510
|
+
&.invalid {
|
|
2511
|
+
color: colours.$error-border;
|
|
2512
|
+
}
|
|
2513
|
+
|
|
2514
|
+
&.hidden {
|
|
2515
|
+
display: none;
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
.icon-bg {
|
|
2519
|
+
display: contents;
|
|
2520
|
+
}
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
|
+
div.icons {
|
|
2524
|
+
display: flex;
|
|
2525
|
+
flex-flow: row nowrap;
|
|
2526
|
+
// padding: 0.25rem;
|
|
2527
|
+
gap: 0.25rem;
|
|
2528
|
+
height: 100%;
|
|
2529
|
+
margin-right: 0.25rem;
|
|
2530
|
+
box-sizing: border-box;
|
|
2531
|
+
}
|
|
2532
|
+
|
|
2533
|
+
.dropdown-item {
|
|
2534
|
+
display: flex;
|
|
2535
|
+
flex-flow: row nowrap;
|
|
2536
|
+
width: 100%;
|
|
2537
|
+
overflow: hidden;
|
|
2538
|
+
text-overflow: ellipsis;
|
|
2539
|
+
gap: 1rem;
|
|
2540
|
+
fill: colours.$brand-primary;
|
|
2541
|
+
|
|
2542
|
+
.toggle-icon {
|
|
2543
|
+
display: flex;
|
|
2544
|
+
align-items: center;
|
|
2545
|
+
justify-content: center;
|
|
2546
|
+
flex-flow: column nowrap;
|
|
2547
|
+
opacity: 0;
|
|
2548
|
+
|
|
2549
|
+
&.yes {
|
|
2550
|
+
opacity: 1;
|
|
2551
|
+
}
|
|
2552
|
+
}
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
@mixin heading {
|
|
2557
|
+
.outer {
|
|
2558
|
+
padding: 1.5rem;
|
|
2559
|
+
display: flex;
|
|
2560
|
+
flex-flow: row nowrap;
|
|
2561
|
+
width: 100%;
|
|
2562
|
+
background-color: colours.$ui-white;
|
|
2563
|
+
border-bottom: solid 1px colours.$ui-blue-4;
|
|
2564
|
+
|
|
2565
|
+
.buttons {
|
|
2566
|
+
display: flex;
|
|
2567
|
+
flex-flow: row-reverse nowrap;
|
|
2568
|
+
align-items: center;
|
|
2569
|
+
justify-content: flex-end;
|
|
2570
|
+
gap: 0.75rem;
|
|
2571
|
+
flex-grow: 1;
|
|
2572
|
+
justify-content: flex-start;
|
|
2573
|
+
}
|
|
2574
|
+
|
|
2575
|
+
.column {
|
|
2576
|
+
flex-grow: 2;
|
|
2577
|
+
display: flex;
|
|
2578
|
+
flex-flow: column nowrap;
|
|
2579
|
+
background-color: colours.$ui-white;
|
|
2580
|
+
h1 {
|
|
2581
|
+
margin-top: 0.25rem;
|
|
2582
|
+
margin-bottom: 0.25rem;
|
|
2583
|
+
color: colours.$ui-blue-14;
|
|
2584
|
+
font-weight: 600;
|
|
2585
|
+
font-size: 1.4rem;
|
|
2586
|
+
}
|
|
2587
|
+
.one-line {
|
|
2588
|
+
display: inline-flex;
|
|
2589
|
+
flex-flow: row;
|
|
2590
|
+
// align-items: flex-start;
|
|
2591
|
+
gap: 1rem;
|
|
2592
|
+
span {
|
|
2593
|
+
display: inline-flex;
|
|
2594
|
+
flex-flow: row;
|
|
2595
|
+
align-items: center;
|
|
2596
|
+
gap: 0.1875rem;
|
|
2597
|
+
fill: colours.$font-secondary;
|
|
2598
|
+
color: colours.$font-secondary;
|
|
2599
|
+
font-size: #{sizing.$text-small-small-medium};
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
}
|
|
2603
|
+
}
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
@mixin attributes-modal-inner {
|
|
2607
|
+
.flex {
|
|
2608
|
+
display: flex;
|
|
2609
|
+
flex-flow: row wrap;
|
|
2610
|
+
gap: 1rem;
|
|
2611
|
+
|
|
2612
|
+
&.column {
|
|
2613
|
+
flex-flow: column nowrap;
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
.padded {
|
|
2618
|
+
font-size: 1rem;
|
|
2619
|
+
padding: 1rem;
|
|
2620
|
+
flex-grow: 1;
|
|
2621
|
+
background-color: #{colours.$ui-white};
|
|
2622
|
+
height: 100%;
|
|
2623
|
+
border-radius: 0 #{sizing.$border-radius} 0 #{sizing.$border-radius};
|
|
2624
|
+
|
|
2625
|
+
h3 {
|
|
2626
|
+
margin-top: 0;
|
|
2627
|
+
font-weight: 500;
|
|
2628
|
+
}
|
|
2629
|
+
|
|
2630
|
+
.row {
|
|
2631
|
+
align-items: center;
|
|
2632
|
+
flex-basis: calc(50% - 0.5rem);
|
|
2633
|
+
flex-shrink: 1;
|
|
2634
|
+
display: flex;
|
|
2635
|
+
flex-flow: row nowrap;
|
|
2636
|
+
gap: 0.5rem;
|
|
2637
|
+
|
|
2638
|
+
--sv-min0width: 100%;
|
|
2639
|
+
|
|
2640
|
+
&.wrap {
|
|
2641
|
+
flex-flow: row wrap;
|
|
2642
|
+
}
|
|
2643
|
+
}
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
@mixin home-page-with-table {
|
|
2648
|
+
.page {
|
|
2649
|
+
position: relative;
|
|
2650
|
+
display: flex;
|
|
2651
|
+
flex-flow: column nowrap;
|
|
2652
|
+
flex-grow: 1;
|
|
2653
|
+
max-height: 100%;
|
|
2654
|
+
// overflow: auto;
|
|
2655
|
+
z-index: 1;
|
|
2656
|
+
}
|
|
2657
|
+
div.table {
|
|
2658
|
+
background-color: colours.$ui-blue-1;
|
|
2659
|
+
display: flex;
|
|
2660
|
+
flex-flow: column nowrap;
|
|
2661
|
+
padding: sizing.$regular-padding;
|
|
2662
|
+
min-height: 400px;
|
|
2663
|
+
width: 100%;
|
|
2664
|
+
flex-grow: 1;
|
|
2665
|
+
}
|
|
2666
|
+
}
|
|
2667
|
+
|
|
2668
|
+
@mixin card-with-info {
|
|
2669
|
+
.container {
|
|
2670
|
+
padding: sizing.$regular-padding;
|
|
2671
|
+
gap: sizing.$regular-gap;
|
|
2672
|
+
display: flex;
|
|
2673
|
+
flex-flow: column nowrap;
|
|
2674
|
+
background-color: colours.$ui-blue-1;
|
|
2675
|
+
}
|
|
2676
|
+
|
|
2677
|
+
.card-content {
|
|
2678
|
+
display: flex;
|
|
2679
|
+
flex-flow: column nowrap;
|
|
2680
|
+
|
|
2681
|
+
hr {
|
|
2682
|
+
width: 100%;
|
|
2683
|
+
border-top: 0;
|
|
2684
|
+
border-bottom: solid 1px #e8e8e8;
|
|
2685
|
+
}
|
|
2686
|
+
|
|
2687
|
+
.group {
|
|
2688
|
+
display: flex;
|
|
2689
|
+
flex-flow: row nowrap;
|
|
2690
|
+
|
|
2691
|
+
.info {
|
|
2692
|
+
// padding: sizing.$half-padding;
|
|
2693
|
+
// width: 16rem;
|
|
2694
|
+
width: 11.3125rem;
|
|
2695
|
+
display: flex;
|
|
2696
|
+
flex-flow: column nowrap;
|
|
2697
|
+
|
|
2698
|
+
h4 {
|
|
2699
|
+
color: colours.$font-secondary-heading;
|
|
2700
|
+
font-weight: 500;
|
|
2701
|
+
margin: 0;
|
|
2702
|
+
}
|
|
2703
|
+
p {
|
|
2704
|
+
color: colours.$font-secondary;
|
|
2705
|
+
font-size: 0.875rem;
|
|
2706
|
+
margin: 0.5rem 0;
|
|
2707
|
+
}
|
|
2708
|
+
}
|
|
2709
|
+
|
|
2710
|
+
.inputs {
|
|
2711
|
+
--input-width: 26rem;
|
|
2712
|
+
display: flex;
|
|
2713
|
+
width: 100%;
|
|
2714
|
+
flex-flow: row wrap;
|
|
2715
|
+
padding: 1rem sizing.$regular-padding;
|
|
2716
|
+
gap: sizing.$five-quarters-gap;
|
|
2717
|
+
// justify-content: space-around;
|
|
2718
|
+
}
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
}
|
|
2722
|
+
|
|
2723
|
+
@mixin packing-attribute-modal {
|
|
2724
|
+
div.attribute-container {
|
|
2725
|
+
display: flex;
|
|
2726
|
+
flex-flow: column nowrap;
|
|
2727
|
+
width: 100%;
|
|
2728
|
+
}
|
|
2729
|
+
|
|
2730
|
+
h4 {
|
|
2731
|
+
margin: 0;
|
|
2732
|
+
}
|
|
2733
|
+
ul {
|
|
2734
|
+
margin: sizing.$half-gap 0;
|
|
2735
|
+
list-style: none;
|
|
2736
|
+
max-height: 4rem;
|
|
2737
|
+
overflow: hidden;
|
|
2738
|
+
transition: max-height ease-out transitions.$transition-length transitions.$transition-delay;
|
|
2739
|
+
|
|
2740
|
+
&.expanded {
|
|
2741
|
+
max-height: 10rem;
|
|
2742
|
+
overflow: scroll;
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2745
|
+
@keyframes accordion {
|
|
2746
|
+
0% {
|
|
2747
|
+
max-height: 1rem;
|
|
2748
|
+
overflow: auto;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
100% {
|
|
2752
|
+
max-height: 10rem;
|
|
2753
|
+
overflow: scroll;
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
div.right-side {
|
|
2759
|
+
margin-left: 1rem;
|
|
2760
|
+
margin-bottom: 1rem;
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2763
|
+
span.hide-on-expand.expanded {
|
|
2764
|
+
display: none;
|
|
2765
|
+
}
|
|
2766
|
+
}
|
|
2767
|
+
|
|
2768
|
+
@mixin not-dialog {
|
|
2769
|
+
div.overlay {
|
|
2770
|
+
position: fixed;
|
|
2771
|
+
top: calc(sizing.$nav-height + var(--env-border-height, 0));
|
|
2772
|
+
bottom: 0;
|
|
2773
|
+
left: 0;
|
|
2774
|
+
right: 0;
|
|
2775
|
+
z-index: 98;
|
|
2776
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
2777
|
+
}
|
|
2778
|
+
}
|