@opentrons/components 0.1.6-alpha.8 → 0.1.7-alpha.0
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 +1 -1
- package/lib/alerts/AlertItem.d.ts +3 -3
- package/lib/assets/localization/en/index.d.ts +104 -0
- package/lib/assets/localization/index.d.ts +188 -0
- package/lib/assets/localization/zh/index.d.ts +82 -0
- package/lib/atoms/Checkbox/index.d.ts +3 -2
- package/lib/atoms/CheckboxField/index.d.ts +4 -4
- package/lib/atoms/Divider/index.d.ts +2 -2
- package/lib/atoms/InputField/index.d.ts +10 -10
- package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordion.d.ts +2 -2
- package/lib/atoms/ListButton/ListButtonChildren/ListButtonAccordionContainer.d.ts +2 -2
- package/lib/atoms/ListButton/index.d.ts +4 -3
- package/lib/atoms/ListItem/ListItemChildren/ListItemCustomize.d.ts +2 -2
- package/lib/atoms/ListItem/ListItemChildren/ListItemDescriptor.d.ts +1 -0
- package/lib/atoms/ListItem/index.d.ts +3 -3
- package/lib/atoms/ListTable/index.d.ts +6 -0
- package/lib/atoms/MenuList/OverflowBtn.d.ts +3 -3
- package/lib/atoms/MenuList/index.d.ts +3 -3
- package/lib/atoms/StyledText/LegacyStyledText.d.ts +3 -3
- package/lib/atoms/StyledText/StyledText.d.ts +7 -3
- package/lib/atoms/SubListTable/index.d.ts +6 -0
- package/lib/atoms/Tag/index.d.ts +2 -1
- package/lib/atoms/Tooltip/index.d.ts +2 -2
- package/lib/atoms/buttons/LargeButton.d.ts +2 -2
- package/lib/atoms/buttons/RadioButton.d.ts +9 -4
- package/lib/atoms/buttons/SecondaryButton.d.ts +1 -0
- package/lib/atoms/buttons/TertiaryButton.d.ts +3 -0
- package/lib/atoms/buttons/index.d.ts +1 -0
- package/lib/atoms/index.d.ts +2 -0
- package/lib/buttons/Button.d.ts +4 -4
- package/lib/controls/ControlInfo.d.ts +2 -2
- package/lib/controls/LabeledButton.d.ts +2 -2
- package/lib/controls/LabeledCheckbox.d.ts +3 -3
- package/lib/controls/LabeledControl.d.ts +3 -3
- package/lib/controls/LabeledRadioGroup.d.ts +2 -2
- package/lib/controls/LabeledToggle.d.ts +2 -2
- package/lib/controls/StackedLabeledControl.d.ts +3 -3
- package/lib/controls/index.d.ts +0 -1
- package/lib/forms/DeprecatedCheckboxField.d.ts +3 -3
- package/lib/forms/FormGroup.d.ts +2 -2
- package/lib/forms/LegacyInputField.d.ts +6 -6
- package/lib/forms/RadioGroup.d.ts +4 -4
- package/lib/forms/SelectField.d.ts +3 -3
- package/lib/forms/ToggleField.d.ts +2 -2
- package/lib/forms/index.d.ts +0 -1
- package/lib/hardware-sim/BaseDeck/BaseDeck.d.ts +6 -6
- package/lib/hardware-sim/BaseDeck/SingleSlotFixture.d.ts +4 -4
- package/lib/hardware-sim/BaseDeck/SlotBase.d.ts +2 -2
- package/lib/hardware-sim/BaseDeck/SlotClip.d.ts +2 -2
- package/lib/hardware-sim/BaseDeck/StagingAreaFixture.d.ts +4 -4
- package/lib/hardware-sim/BaseDeck/WasteChuteFixture.d.ts +12 -3
- package/lib/hardware-sim/BaseDeck/WasteChuteStagingAreaFixture.d.ts +7 -4
- package/lib/hardware-sim/Deck/DeckFromLayers.d.ts +1 -0
- package/lib/hardware-sim/Deck/FlexTrash.d.ts +6 -1
- package/lib/hardware-sim/Deck/MoveLabwareOnDeck.d.ts +2 -2
- package/lib/hardware-sim/Deck/OT2Layers.d.ts +5 -1
- package/lib/hardware-sim/Deck/RobotCoordsForeignDiv.d.ts +5 -3
- package/lib/hardware-sim/Deck/RobotCoordsForeignObject.d.ts +4 -4
- package/lib/hardware-sim/Deck/RobotCoordsText.d.ts +4 -3
- package/lib/hardware-sim/Deck/RobotWorkSpace.d.ts +2 -2
- package/lib/hardware-sim/Deck/__mocks__/getDeckDefinitions.d.ts +1 -1
- package/lib/hardware-sim/DeckConfigurator/FlexStackerFixture.d.ts +11 -0
- package/lib/hardware-sim/DeckConfigurator/index.d.ts +3 -3
- package/lib/hardware-sim/DeckSlotLocation/index.d.ts +4 -4
- package/lib/hardware-sim/Labware/Labware.d.ts +2 -2
- package/lib/hardware-sim/Labware/LabwareRender.d.ts +2 -2
- package/lib/hardware-sim/Labware/LabwareStackRender.d.ts +2 -2
- package/lib/hardware-sim/Labware/labwareInternals/FilledWells.d.ts +3 -3
- package/lib/hardware-sim/Labware/labwareInternals/LabwareWellLabels.d.ts +2 -2
- package/lib/hardware-sim/Labware/labwareInternals/StaticLabware.d.ts +2 -2
- package/lib/hardware-sim/Labware/labwareInternals/StrokedWells.d.ts +3 -3
- package/lib/hardware-sim/Labware/labwareInternals/StyledWells.d.ts +5 -5
- package/lib/hardware-sim/Labware/labwareInternals/Well.d.ts +5 -5
- package/lib/hardware-sim/Labware/labwareInternals/WellLabels.d.ts +2 -2
- package/lib/hardware-sim/Labware/labwareInternals/types.d.ts +2 -2
- package/lib/hardware-sim/Module/ModuleTag.d.ts +2 -2
- package/lib/hardware-sim/Module/index.d.ts +4 -4
- package/lib/hardware-sim/ProtocolDeck/LabwareInfo.d.ts +2 -2
- package/lib/hardware-sim/ProtocolDeck/index.d.ts +4 -7
- package/lib/hardware-sim/ProtocolDeck/utils/index.d.ts +1 -0
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.d.ts +2 -2
- package/lib/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithRef.d.ts +2 -2
- package/lib/hooks/index.d.ts +0 -1
- package/lib/hooks/useMenuHandleClickOutside.d.ts +3 -3
- package/lib/i18n.d.ts +14 -0
- package/lib/icons/Icon.d.ts +2 -2
- package/lib/icons/ModuleIcon.d.ts +1 -1
- package/lib/instrument/InstrumentInfo.d.ts +2 -2
- package/lib/interaction-enhancers/ClickOutside.d.ts +4 -3
- package/lib/interaction-enhancers/HandleKeypress.d.ts +4 -3
- package/lib/lists/SidePanelGroup.d.ts +2 -2
- package/lib/lists/TitledList.d.ts +8 -8
- package/lib/modals/AlertModal.d.ts +3 -3
- package/lib/modals/LegacyModal.d.ts +4 -4
- package/lib/modals/Modal.d.ts +7 -5
- package/lib/modals/ModalHeader.d.ts +5 -4
- package/lib/modals/ModalShell.d.ts +5 -5
- package/lib/modals/Overlay.d.ts +3 -3
- package/lib/modals/SpinnerModalPage.d.ts +2 -2
- package/lib/molecules/Banner/index.d.ts +4 -4
- package/lib/molecules/DeckInfoLabel/index.d.ts +3 -3
- package/lib/molecules/DeckLabel/index.d.ts +2 -1
- package/lib/molecules/DropdownMenu/index.d.ts +22 -6
- package/lib/molecules/InfoScreen/index.d.ts +3 -1
- package/lib/molecules/ListAccordion/index.d.ts +11 -0
- package/lib/molecules/ReleaseNotes/index.d.ts +5 -0
- package/lib/molecules/Tabs/index.d.ts +1 -0
- package/lib/molecules/TextListTableContent/__tests__/TextListTableContent.test.d.ts +1 -0
- package/lib/molecules/TextListTableContent/index.d.ts +8 -0
- package/lib/molecules/index.d.ts +3 -0
- package/lib/nav/SidePanel.d.ts +2 -2
- package/lib/organisms/CommandText/__tests__/CommandText.test.d.ts +1 -0
- package/lib/organisms/CommandText/fixtures/index.d.ts +2 -0
- package/lib/organisms/CommandText/index.d.ts +26 -0
- package/lib/organisms/CommandText/useCommandTextString/index.d.ts +30 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/__tests__/formatDuration.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/__tests__/getFinalLabwareLocation.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/__tests__/getLabwareDisplayLocation.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/__tests__/getPipettingCommandText.test.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getAbsorbanceReaderCommandText.d.ts +12 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getCommentCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getConfigureForVolumeCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getConfigureNozzleLayoutCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getCustomCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getDelayCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getDirectTranslationCommandText.d.ts +11 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getFlexStackerCommandText.d.ts +9 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getHSShakeSpeedCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getLiquidProbeCommandText.d.ts +5 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getLoadCommandText.d.ts +2 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getMoveLabwareCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getMoveRelativeCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToAddressableAreaCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToAddressableAreaForDropTipCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToCoordinatesCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToSlotCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToWellCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getPipettingCommandText.d.ts +2 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getPrepareToAspirateCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getRailLightsCommandText.d.ts +8 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getTCRunExtendedProfileCommandText.d.ts +13 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getTCRunProfileCommandText.d.ts +4 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getTemperatureCommandText.d.ts +12 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getUnknownCommandText.d.ts +2 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getWaitForDurationCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/getWaitForResumeCommandText.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/commandText/index.d.ts +26 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/formatDuration.d.ts +8 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getAddressableAreaDisplayName.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getFinalAddressableAreaCmd.d.ts +8 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getFinalLabwareLocation.d.ts +12 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getLabwareDefinitionsFromCommands.d.ts +2 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getLabwareDisplayLocation.d.ts +15 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getLabwareLocation.d.ts +37 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getLabwareName.d.ts +8 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getLiquidDisplayName.d.ts +2 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getLoadedLabware.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getLoadedModule.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getModuleDisplayLocation.d.ts +2 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getModuleModel.d.ts +3 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getPipetteNameOnMount.d.ts +4 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/getWellRange.d.ts +8 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/helpers.d.ts +1 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/index.d.ts +10 -0
- package/lib/organisms/CommandText/useCommandTextString/utils/types.d.ts +8 -0
- package/lib/organisms/DeckLabelSet/index.d.ts +3 -2
- package/lib/organisms/ProtocolTimelineScrubber/CommandItem.d.ts +12 -0
- package/lib/organisms/ProtocolTimelineScrubber/PipetteVisuals.d.ts +25 -0
- package/lib/organisms/ProtocolTimelineScrubber/index.d.ts +10 -0
- package/lib/organisms/ProtocolTimelineScrubber/types.d.ts +2 -0
- package/lib/organisms/ProtocolTimelineScrubber/utils.d.ts +23 -0
- package/lib/organisms/Toolbox/index.d.ts +5 -8
- package/lib/organisms/index.d.ts +2 -1
- package/lib/primitives/style-props.d.ts +4 -1
- package/lib/primitives/types.d.ts +2 -1
- package/lib/structure/Card.d.ts +3 -3
- package/lib/structure/LabeledValue.d.ts +3 -3
- package/lib/structure/Pill.d.ts +2 -2
- package/lib/structure/TitleBar.d.ts +4 -4
- package/lib/testing/utils/renderWithProviders.d.ts +3 -3
- package/lib/tooltips/DeprecatedTooltip.d.ts +6 -6
- package/lib/tooltips/HoverTooltip.d.ts +4 -3
- package/lib/tooltips/LegacyTooltip.d.ts +5 -6
- package/lib/tooltips/types.d.ts +4 -4
- package/lib/ui-style-constants/animation.d.ts +1 -0
- package/lib/ui-style-constants/index.d.ts +1 -0
- package/package.json +8 -5
- package/src/__mocks__/file.js +10 -0
- package/src/__tests__/utils.test.ts +27 -0
- package/src/alerts/AlertItem.stories.tsx +49 -0
- package/src/alerts/AlertItem.tsx +85 -0
- package/src/alerts/alerts.module.css +103 -0
- package/src/alerts/index.ts +3 -0
- package/src/assets/localization/en/index.ts +8 -0
- package/src/assets/localization/en/protocol_command_text.json +102 -0
- package/src/assets/localization/index.ts +7 -0
- package/src/assets/localization/zh/index.ts +8 -0
- package/src/assets/localization/zh/protocol_command_text.json +80 -0
- package/src/atoms/Checkbox/Checkbox.stories.tsx +24 -0
- package/src/atoms/Checkbox/__tests__/Checkbox.test.tsx +56 -0
- package/src/atoms/Checkbox/index.tsx +133 -0
- package/src/atoms/CheckboxField/CheckboxField.stories.tsx +30 -0
- package/src/atoms/CheckboxField/__tests__/CheckboxField.test.tsx +142 -0
- package/src/atoms/CheckboxField/index.tsx +172 -0
- package/src/atoms/Chip/Chip.stories.tsx +66 -0
- package/src/atoms/Chip/__tests__/Chip.test.tsx +430 -0
- package/src/atoms/Chip/index.tsx +172 -0
- package/src/atoms/Divider/index.tsx +16 -0
- package/src/atoms/InputField/InputField.stories.tsx +77 -0
- package/src/atoms/InputField/__tests__/InputField.test.tsx +64 -0
- package/src/atoms/InputField/index.tsx +384 -0
- package/src/atoms/ListButton/ListButton.stories.tsx +140 -0
- package/src/atoms/ListButton/ListButtonChildren/ListButtonAccordion.tsx +66 -0
- package/src/atoms/ListButton/ListButtonChildren/ListButtonAccordionContainer.tsx +24 -0
- package/src/atoms/ListButton/ListButtonChildren/ListButtonRadioButton.tsx +108 -0
- package/src/atoms/ListButton/ListButtonChildren/index.ts +3 -0
- package/src/atoms/ListButton/__tests__/ListButton.test.tsx +53 -0
- package/src/atoms/ListButton/__tests__/ListButtonAccordion.test.tsx +36 -0
- package/src/atoms/ListButton/__tests__/ListButtonRadioButton.test.tsx +28 -0
- package/src/atoms/ListButton/index.tsx +131 -0
- package/src/atoms/ListItem/ListItem.stories.tsx +126 -0
- package/src/atoms/ListItem/ListItemChildren/ListItemCustomize.tsx +78 -0
- package/src/atoms/ListItem/ListItemChildren/ListItemDescriptor.tsx +42 -0
- package/src/atoms/ListItem/ListItemChildren/index.ts +2 -0
- package/src/atoms/ListItem/__tests__/ListItem.test.tsx +102 -0
- package/src/atoms/ListItem/index.tsx +106 -0
- package/src/atoms/ListTable/ListTable.stories.tsx +70 -0
- package/src/atoms/ListTable/__tests__/ListTable.test.tsx +81 -0
- package/src/atoms/ListTable/index.tsx +92 -0
- package/src/atoms/MenuList/MenuItem.stories.tsx +30 -0
- package/src/atoms/MenuList/MenuItem.tsx +55 -0
- package/src/atoms/MenuList/MenuList.stories.tsx +31 -0
- package/src/atoms/MenuList/OverflowBtn.stories.tsx +17 -0
- package/src/atoms/MenuList/OverflowBtn.tsx +78 -0
- package/src/atoms/MenuList/__tests__/MenuItem.test.tsx +51 -0
- package/src/atoms/MenuList/__tests__/MenuList.test.tsx +37 -0
- package/src/atoms/MenuList/__tests__/OverflowBtn.test.tsx +34 -0
- package/src/atoms/MenuList/index.tsx +50 -0
- package/src/atoms/Snackbar/Snackbar.stories.tsx +67 -0
- package/src/atoms/Snackbar/__tests__/Snackbar.test.tsx +74 -0
- package/src/atoms/Snackbar/index.tsx +91 -0
- package/src/atoms/StepMeter/index.tsx +53 -0
- package/src/atoms/StyledText/LegacyStyledText.stories.tsx +106 -0
- package/src/atoms/StyledText/LegacyStyledText.tsx +95 -0
- package/src/atoms/StyledText/StyledText.stories.tsx +46 -0
- package/src/atoms/StyledText/StyledText.tsx +332 -0
- package/src/atoms/StyledText/index.ts +2 -0
- package/src/atoms/SubListTable/SubListTable.stories.tsx +72 -0
- package/src/atoms/SubListTable/__tests__/SubListTable.test.tsx +81 -0
- package/src/atoms/SubListTable/index.tsx +71 -0
- package/src/atoms/Tag/Tag.stories.tsx +49 -0
- package/src/atoms/Tag/__tests__/Tag.test.tsx +56 -0
- package/src/atoms/Tag/index.tsx +115 -0
- package/src/atoms/Toast/ODDToast.stories.tsx +68 -0
- package/src/atoms/Toast/Toast.stories.tsx +64 -0
- package/src/atoms/Toast/__tests__/ODDToast.test.tsx +179 -0
- package/src/atoms/Toast/__tests__/Toast.test.tsx +175 -0
- package/src/atoms/Toast/index.tsx +439 -0
- package/src/atoms/ToggleGroup/ToggleGroup.stories.tsx +39 -0
- package/src/atoms/ToggleGroup/__tests__/ToggleGroup.test.tsx +29 -0
- package/src/atoms/ToggleGroup/index.tsx +90 -0
- package/src/atoms/Tooltip/Tooltip.stories.tsx +99 -0
- package/src/atoms/Tooltip/__tests__/Tooltip.test.tsx +79 -0
- package/src/atoms/Tooltip/index.tsx +37 -0
- package/src/atoms/buttons/AlertPrimaryButton.tsx +26 -0
- package/src/atoms/buttons/AltPrimaryButton.tsx +31 -0
- package/src/atoms/buttons/EmptySelectorButton.stories.tsx +36 -0
- package/src/atoms/buttons/EmptySelectorButton.tsx +82 -0
- package/src/atoms/buttons/LargeButton.stories.tsx +106 -0
- package/src/atoms/buttons/LargeButton.tsx +322 -0
- package/src/atoms/buttons/PrimaryButton.tsx +36 -0
- package/src/atoms/buttons/RadioButton.stories.tsx +108 -0
- package/src/atoms/buttons/RadioButton.tsx +268 -0
- package/src/atoms/buttons/SecondaryButton.tsx +88 -0
- package/src/atoms/buttons/TertiaryButton.tsx +88 -0
- package/src/atoms/buttons/__tests__/AlertPrimaryButton.test.tsx +48 -0
- package/src/atoms/buttons/__tests__/AltPrimaryButton.test.tsx +58 -0
- package/src/atoms/buttons/__tests__/EmptySelectorButton.test.tsx +43 -0
- package/src/atoms/buttons/__tests__/LargeButton.test.tsx +92 -0
- package/src/atoms/buttons/__tests__/PrimaryButton.test.tsx +65 -0
- package/src/atoms/buttons/__tests__/RadioButton.test.tsx +105 -0
- package/src/atoms/buttons/__tests__/SecondaryButton.test.tsx +55 -0
- package/src/atoms/buttons/buttons.stories.tsx +78 -0
- package/src/atoms/buttons/index.ts +7 -0
- package/src/atoms/index.ts +22 -0
- package/src/barrel.ts +10 -0
- package/src/buttons/Button.tsx +96 -0
- package/src/buttons/DeprecatedPrimaryButton.tsx +24 -0
- package/src/buttons/FlatButton.tsx +21 -0
- package/src/buttons/IconButton.tsx +37 -0
- package/src/buttons/OutlineButton.tsx +24 -0
- package/src/buttons/buttons.module.css +428 -0
- package/src/buttons/index.ts +7 -0
- package/src/controls/ControlInfo.tsx +13 -0
- package/src/controls/LabeledButton.tsx +28 -0
- package/src/controls/LabeledCheckbox.tsx +36 -0
- package/src/controls/LabeledControl.tsx +24 -0
- package/src/controls/LabeledRadioGroup.tsx +26 -0
- package/src/controls/LabeledToggle.tsx +35 -0
- package/src/controls/StackedLabeledControl.tsx +28 -0
- package/src/controls/ToggleButton.tsx +25 -0
- package/src/controls/index.ts +9 -0
- package/src/controls/styles.module.css +103 -0
- package/src/forms/DeprecatedCheckboxField.stories.tsx +31 -0
- package/src/forms/DeprecatedCheckboxField.tsx +95 -0
- package/src/forms/FormGroup.stories.tsx +31 -0
- package/src/forms/FormGroup.tsx +54 -0
- package/src/forms/InputField.stories.tsx +41 -0
- package/src/forms/LegacyInputField.tsx +129 -0
- package/src/forms/RadioGroup.stories.tsx +44 -0
- package/src/forms/RadioGroup.tsx +88 -0
- package/src/forms/Select.module.css +118 -0
- package/src/forms/Select.stories.tsx +117 -0
- package/src/forms/Select.tsx +132 -0
- package/src/forms/SelectField.module.css +16 -0
- package/src/forms/SelectField.tsx +94 -0
- package/src/forms/ToggleField.stories.tsx +31 -0
- package/src/forms/ToggleField.tsx +60 -0
- package/src/forms/__tests__/DeprecatedCheckboxField.test.tsx +5 -0
- package/src/forms/__tests__/InputField.test.tsx +5 -0
- package/src/forms/__tests__/Select.test.tsx +5 -0
- package/src/forms/__tests__/SelectField.test.tsx +5 -0
- package/src/forms/__tests__/ToggleField.test.tsx +5 -0
- package/src/forms/forms.module.css +239 -0
- package/src/forms/index.ts +7 -0
- package/src/hardware-sim/BaseDeck/BaseDeck.stories.tsx +94 -0
- package/src/hardware-sim/BaseDeck/BaseDeck.tsx +428 -0
- package/src/hardware-sim/BaseDeck/SingleSlotFixture.tsx +198 -0
- package/src/hardware-sim/BaseDeck/SlotBase.tsx +5 -0
- package/src/hardware-sim/BaseDeck/SlotClip.tsx +15 -0
- package/src/hardware-sim/BaseDeck/StagingAreaFixture.tsx +113 -0
- package/src/hardware-sim/BaseDeck/WasteChuteFixture.tsx +158 -0
- package/src/hardware-sim/BaseDeck/WasteChuteStagingAreaFixture.tsx +73 -0
- package/src/hardware-sim/BaseDeck/__fixtures__/index.ts +165 -0
- package/src/hardware-sim/BaseDeck/index.ts +5 -0
- package/src/hardware-sim/Deck/DeckFromLayers.tsx +60 -0
- package/src/hardware-sim/Deck/FlexTrash.tsx +147 -0
- package/src/hardware-sim/Deck/MoveLabwareOnDeck.stories.tsx +97 -0
- package/src/hardware-sim/Deck/MoveLabwareOnDeck.tsx +287 -0
- package/src/hardware-sim/Deck/OT2Layers.tsx +160 -0
- package/src/hardware-sim/Deck/RobotCoordsForeignDiv.tsx +51 -0
- package/src/hardware-sim/Deck/RobotCoordsForeignObject.tsx +43 -0
- package/src/hardware-sim/Deck/RobotCoordsText.tsx +33 -0
- package/src/hardware-sim/Deck/RobotWorkSpace.tsx +98 -0
- package/src/hardware-sim/Deck/SlotLabels.tsx +111 -0
- package/src/hardware-sim/Deck/__mocks__/getDeckDefinitions.ts +29 -0
- package/src/hardware-sim/Deck/constants.ts +12 -0
- package/src/hardware-sim/Deck/index.tsx +8 -0
- package/src/hardware-sim/DeckConfigurator/AbsorbanceReaderFixture.tsx +91 -0
- package/src/hardware-sim/DeckConfigurator/DeckConfigurator.stories.tsx +110 -0
- package/src/hardware-sim/DeckConfigurator/EmptyConfigFixture.tsx +131 -0
- package/src/hardware-sim/DeckConfigurator/FlexStackerFixture.tsx +99 -0
- package/src/hardware-sim/DeckConfigurator/HeaterShakerFixture.tsx +102 -0
- package/src/hardware-sim/DeckConfigurator/MagneticBlockFixture.tsx +130 -0
- package/src/hardware-sim/DeckConfigurator/StagingAreaConfigFixture.tsx +89 -0
- package/src/hardware-sim/DeckConfigurator/StaticFixture.tsx +54 -0
- package/src/hardware-sim/DeckConfigurator/TemperatureModuleFixture.tsx +103 -0
- package/src/hardware-sim/DeckConfigurator/ThermocyclerFixture.tsx +89 -0
- package/src/hardware-sim/DeckConfigurator/TrashBinConfigFixture.tsx +99 -0
- package/src/hardware-sim/DeckConfigurator/WasteChuteConfigFixture.tsx +96 -0
- package/src/hardware-sim/DeckConfigurator/constants.ts +81 -0
- package/src/hardware-sim/DeckConfigurator/index.tsx +305 -0
- package/src/hardware-sim/DeckSlotLocation/index.tsx +88 -0
- package/src/hardware-sim/Labware/Labware.tsx +175 -0
- package/src/hardware-sim/Labware/LabwareAdapter/Opentrons96DeepWellAdapter.tsx +23 -0
- package/src/hardware-sim/Labware/LabwareAdapter/Opentrons96FlatBottomAdapter.tsx +7 -0
- package/src/hardware-sim/Labware/LabwareAdapter/OpentronsAluminumFlatBottomPlate.tsx +13 -0
- package/src/hardware-sim/Labware/LabwareAdapter/OpentronsAutoclavableDeckRiser.tsx +100 -0
- package/src/hardware-sim/Labware/LabwareAdapter/OpentronsFlex96TiprackAdapter.tsx +13 -0
- package/src/hardware-sim/Labware/LabwareAdapter/OpentronsToughPCRAutoSealingLid.tsx +83 -0
- package/src/hardware-sim/Labware/LabwareAdapter/OpentronsUniversalFlatAdapter.tsx +13 -0
- package/src/hardware-sim/Labware/LabwareAdapter/index.tsx +73 -0
- package/src/hardware-sim/Labware/LabwareRender.stories.tsx +96 -0
- package/src/hardware-sim/Labware/LabwareRender.tsx +174 -0
- package/src/hardware-sim/Labware/LabwareStackRender.tsx +273 -0
- package/src/hardware-sim/Labware/__tests__/Labware.test.tsx +43 -0
- package/src/hardware-sim/Labware/__tests__/LabwareRender.test.tsx +54 -0
- package/src/hardware-sim/Labware/index.ts +6 -0
- package/src/hardware-sim/Labware/labwareInternals/FilledWells.tsx +41 -0
- package/src/hardware-sim/Labware/labwareInternals/LabwareOutline.tsx +133 -0
- package/src/hardware-sim/Labware/labwareInternals/LabwareWellLabels.tsx +119 -0
- package/src/hardware-sim/Labware/labwareInternals/StaticLabware.tsx +122 -0
- package/src/hardware-sim/Labware/labwareInternals/StrokedWells.tsx +40 -0
- package/src/hardware-sim/Labware/labwareInternals/StyledWells.tsx +79 -0
- package/src/hardware-sim/Labware/labwareInternals/Well.tsx +75 -0
- package/src/hardware-sim/Labware/labwareInternals/WellLabels.tsx +123 -0
- package/src/hardware-sim/Labware/labwareInternals/__tests__/LabwareWellLabels.test.tsx +66 -0
- package/src/hardware-sim/Labware/labwareInternals/__tests__/StrokedWells.test.tsx +31 -0
- package/src/hardware-sim/Labware/labwareInternals/__tests__/WellLabels.test.tsx +91 -0
- package/src/hardware-sim/Labware/labwareInternals/index.ts +8 -0
- package/src/hardware-sim/Labware/labwareInternals/types.ts +18 -0
- package/src/hardware-sim/Module/HeaterShaker.tsx +83 -0
- package/src/hardware-sim/Module/MagneticBlock.tsx +49 -0
- package/src/hardware-sim/Module/MagneticModule.tsx +51 -0
- package/src/hardware-sim/Module/Module.stories.tsx +90 -0
- package/src/hardware-sim/Module/ModuleTag.tsx +39 -0
- package/src/hardware-sim/Module/PlateReader.tsx +208 -0
- package/src/hardware-sim/Module/Temperature.tsx +54 -0
- package/src/hardware-sim/Module/Thermocycler/ThermocyclerGEN1.tsx +248 -0
- package/src/hardware-sim/Module/Thermocycler/ThermocyclerGEN2.tsx +286 -0
- package/src/hardware-sim/Module/Thermocycler/index.tsx +49 -0
- package/src/hardware-sim/Module/index.tsx +223 -0
- package/src/hardware-sim/Pipette/EightEmanatingNozzles.tsx +23 -0
- package/src/hardware-sim/Pipette/EmanatingNozzle.tsx +53 -0
- package/src/hardware-sim/Pipette/PipetteRender.stories.tsx +71 -0
- package/src/hardware-sim/Pipette/PipetteRender.tsx +86 -0
- package/src/hardware-sim/Pipette/__tests__/EightEmanatingNozzles.test.tsx +16 -0
- package/src/hardware-sim/Pipette/__tests__/EmanatingNozzle.test.tsx +68 -0
- package/src/hardware-sim/Pipette/__tests__/PipetteRender.test.tsx +99 -0
- package/src/hardware-sim/Pipette/constants.ts +10 -0
- package/src/hardware-sim/Pipette/index.ts +1 -0
- package/src/hardware-sim/ProtocolDeck/LabwareInfo.tsx +69 -0
- package/src/hardware-sim/ProtocolDeck/ProtocolDeck.stories.tsx +25 -0
- package/src/hardware-sim/ProtocolDeck/__fixtures__/analysis_QIAseqFX24xv4_8.json +47145 -0
- package/src/hardware-sim/ProtocolDeck/index.tsx +85 -0
- package/src/hardware-sim/ProtocolDeck/types.ts +6 -0
- package/src/hardware-sim/ProtocolDeck/utils/__tests__/getLabwareInforByLiquidId.test.ts +158 -0
- package/src/hardware-sim/ProtocolDeck/utils/getInitiallyLoadedLabwareByAdapter.ts +33 -0
- package/src/hardware-sim/ProtocolDeck/utils/getLabwareInSlots.ts +321 -0
- package/src/hardware-sim/ProtocolDeck/utils/getLabwareInfoByLiquidId.ts +43 -0
- package/src/hardware-sim/ProtocolDeck/utils/getModulesInSlots.ts +129 -0
- package/src/hardware-sim/ProtocolDeck/utils/getStandardDeckViewLayerBlockList.ts +29 -0
- package/src/hardware-sim/ProtocolDeck/utils/getWellFillFromLabwareId.ts +30 -0
- package/src/hardware-sim/ProtocolDeck/utils/index.ts +4 -0
- package/src/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpace.tsx +29 -0
- package/src/hardware-sim/RobotCoordinateSpace/RobotCoordinateSpaceWithRef.tsx +51 -0
- package/src/hardware-sim/RobotCoordinateSpace/index.ts +2 -0
- package/src/hardware-sim/index.ts +11 -0
- package/src/hardware-sim/utils.ts +18 -0
- package/src/helix-design-system/borders.ts +32 -0
- package/src/helix-design-system/colors.ts +100 -0
- package/src/helix-design-system/index.ts +4 -0
- package/src/helix-design-system/product/index.ts +1 -0
- package/src/helix-design-system/product/typography.ts +151 -0
- package/src/helix-design-system/style.ts +2 -0
- package/src/hooks/__tests__/useConditionalConfirm.test.tsx +5 -0
- package/src/hooks/__tests__/useDrag.test.ts +46 -0
- package/src/hooks/__tests__/useInterval.test.tsx +5 -0
- package/src/hooks/__tests__/useLongPress.test.ts +25 -0
- package/src/hooks/__tests__/useMountEffect.test.tsx +5 -0
- package/src/hooks/__tests__/usePrevious.test.tsx +5 -0
- package/src/hooks/__tests__/useScrolling.test.tsx +46 -0
- package/src/hooks/__tests__/useSwipe.test.tsx +26 -0
- package/src/hooks/__tests__/useTimeout.test.tsx +5 -0
- package/src/hooks/__tests__/useToggle.test.tsx +5 -0
- package/src/hooks/index.ts +14 -0
- package/src/hooks/useConditionalConfirm.ts +70 -0
- package/src/hooks/useDrag.ts +90 -0
- package/src/hooks/useInterval.ts +37 -0
- package/src/hooks/useLongPress.ts +83 -0
- package/src/hooks/useMenuHandleClickOutside.tsx +46 -0
- package/src/hooks/useMountEffect.ts +12 -0
- package/src/hooks/usePrevious.ts +19 -0
- package/src/hooks/useScrolling.ts +33 -0
- package/src/hooks/useSelectDeckLocation/SelectDeckLocation.stories.tsx +55 -0
- package/src/hooks/useSelectDeckLocation/index.tsx +331 -0
- package/src/hooks/useSwipe.ts +86 -0
- package/src/hooks/useTimeout.ts +33 -0
- package/src/hooks/useToggle.ts +27 -0
- package/src/i18n.ts +61 -0
- package/src/icons/Icon.stories.tsx +44 -0
- package/src/icons/Icon.tsx +79 -0
- package/src/icons/IconList.stories.tsx +108 -0
- package/src/icons/ModuleIcon.tsx +51 -0
- package/src/icons/NotificationIcon.tsx +41 -0
- package/src/icons/icon-data.ts +821 -0
- package/src/icons/index.ts +6 -0
- package/src/images/index.ts +1 -0
- package/src/images/labware/index.ts +1 -0
- package/src/images/labware/measurement-guide/images/depth/depth-plate-flat@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/depth/depth-plate-round@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/depth/depth-plate-v@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/depth/depth-reservoir-and-tubes-flat@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/depth/depth-reservoir-and-tubes-round@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/depth/depth-reservoir-and-tubes-v@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/depth/length-tip-rack@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/dimensions/footprint@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/dimensions/height-alum-block-plate@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/dimensions/height-alum-block-tubes@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/dimensions/height-plate-and-reservoir@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/dimensions/height-tip-rack@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/dimensions/height-tube-rack-irregular@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/dimensions/height-tube-rack@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/offset/offset-reservoir@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/offset/offset-well-circular@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/offset/offset-well-rectangular@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/shape/shape-circular@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/shape/shape-rectangular@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/spacing/spacing-reservoir-multi-row@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/spacing/spacing-reservoir@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/spacing/spacing-well-circular@3x.png +0 -0
- package/src/images/labware/measurement-guide/images/spacing/spacing-well-rectangular@3x.png +0 -0
- package/src/images/labware/measurement-guide/index.ts +272 -0
- package/src/index.module.css +9 -0
- package/src/index.ts +41 -0
- package/src/instrument/InstrumentDiagram.stories.tsx +42 -0
- package/src/instrument/InstrumentDiagram.tsx +58 -0
- package/src/instrument/InstrumentGroup.stories.tsx +88 -0
- package/src/instrument/InstrumentGroup.tsx +35 -0
- package/src/instrument/InstrumentInfo.tsx +106 -0
- package/src/instrument/PipetteSelect.module.css +14 -0
- package/src/instrument/PipetteSelect.stories.tsx +40 -0
- package/src/instrument/PipetteSelect.tsx +170 -0
- package/src/instrument/__tests__/InstrumentInfo.test.tsx +56 -0
- package/src/instrument/__tests__/PipetteSelect.test.tsx +4 -0
- package/src/instrument/eight-channel-flex.png +0 -0
- package/src/instrument/index.ts +4 -0
- package/src/instrument/instrument.module.css +45 -0
- package/src/instrument/multi-channel_GEN1_800px.png +0 -0
- package/src/instrument/multi-channel_GEN2_800px.png +0 -0
- package/src/instrument/ninety-six-channel-gen1.png +0 -0
- package/src/instrument/pipetteGEN2Multi.png +0 -0
- package/src/instrument/pipetteGEN2Single.png +0 -0
- package/src/instrument/pipetteMulti.png +0 -0
- package/src/instrument/pipetteSingle.png +0 -0
- package/src/instrument/single-channel-flex.png +0 -0
- package/src/instrument/single-channel_GEN2_800px.png +0 -0
- package/src/instrument/single_channel_GEN1_800px.png +0 -0
- package/src/interaction-enhancers/ClickOutside.ts +58 -0
- package/src/interaction-enhancers/HandleKeypress.tsx +71 -0
- package/src/interaction-enhancers/__tests__/useHover.test.tsx +4 -0
- package/src/interaction-enhancers/index.ts +4 -0
- package/src/interaction-enhancers/useHover.ts +84 -0
- package/src/interaction-enhancers/useOnClickOutside.ts +42 -0
- package/src/legacy-hardware-sim/LabwareNameOverlay.module.css +20 -0
- package/src/legacy-hardware-sim/LabwareNameOverlay.tsx +22 -0
- package/src/legacy-hardware-sim/ModuleItem.module.css +98 -0
- package/src/legacy-hardware-sim/ModuleItem.tsx +145 -0
- package/src/legacy-hardware-sim/index.ts +2 -0
- package/src/lists/SidePanelGroup.tsx +48 -0
- package/src/lists/TitledList.tsx +155 -0
- package/src/lists/index.ts +3 -0
- package/src/lists/lists.module.css +171 -0
- package/src/modals/AlertModal.tsx +89 -0
- package/src/modals/ContinueModal.tsx +32 -0
- package/src/modals/LegacyModal.tsx +61 -0
- package/src/modals/Modal.stories.tsx +45 -0
- package/src/modals/Modal.tsx +101 -0
- package/src/modals/ModalHeader.tsx +110 -0
- package/src/modals/ModalShell.tsx +157 -0
- package/src/modals/Overlay.tsx +39 -0
- package/src/modals/SpinnerModal.tsx +35 -0
- package/src/modals/SpinnerModalPage.tsx +29 -0
- package/src/modals/__tests__/Modal.test.tsx +66 -0
- package/src/modals/__tests__/ModalHeader.test.tsx +69 -0
- package/src/modals/__tests__/ModalShell.test.tsx +46 -0
- package/src/modals/index.ts +10 -0
- package/src/modals/modals.module.css +275 -0
- package/src/molecules/Banner/Banner.stories.tsx +51 -0
- package/src/molecules/Banner/__tests__/Banner.test.tsx +95 -0
- package/src/molecules/Banner/index.tsx +148 -0
- package/src/molecules/DeckInfoLabel/DeckInfoLabel.stories.tsx +65 -0
- package/src/molecules/DeckInfoLabel/__tests__/DeckInfoLabel.test.tsx +50 -0
- package/src/molecules/DeckInfoLabel/index.tsx +95 -0
- package/src/molecules/DeckLabel/DeckLabel.stories.tsx +31 -0
- package/src/molecules/DeckLabel/__tests__/DeckLabel.test.tsx +71 -0
- package/src/molecules/DeckLabel/index.tsx +82 -0
- package/src/molecules/DropdownMenu/DropdownMenu.stories.tsx +30 -0
- package/src/molecules/DropdownMenu/__tests__/DropdownMenu.test.tsx +86 -0
- package/src/molecules/DropdownMenu/index.tsx +432 -0
- package/src/molecules/InfoScreen/InfoScreen.stories.tsx +50 -0
- package/src/molecules/InfoScreen/__tests__/InfoScreen.test.tsx +57 -0
- package/src/molecules/InfoScreen/index.tsx +54 -0
- package/src/molecules/LiquidIcon/LiquidIcon.stories.tsx +53 -0
- package/src/molecules/LiquidIcon/__tests__/LiquidIcon.test.tsx +51 -0
- package/src/molecules/LiquidIcon/index.tsx +68 -0
- package/src/molecules/ListAccordion/ListAccordion.stories.tsx +128 -0
- package/src/molecules/ListAccordion/__tests__/ListAccordion.test.tsx +123 -0
- package/src/molecules/ListAccordion/index.tsx +182 -0
- package/src/molecules/ParametersTable/ParametersTable.stories.tsx +172 -0
- package/src/molecules/ParametersTable/__tests__/ParametersTable.test.tsx +126 -0
- package/src/molecules/ParametersTable/index.tsx +198 -0
- package/src/molecules/ReleaseNotes/index.tsx +70 -0
- package/src/molecules/ReleaseNotes/styles.module.css +66 -0
- package/src/molecules/Tabs/Tabs.stories.tsx +74 -0
- package/src/molecules/Tabs/__tests__/Tabs.test.tsx +91 -0
- package/src/molecules/Tabs/index.tsx +115 -0
- package/src/molecules/TextListTableContent/TextListTableContent.stories.tsx +114 -0
- package/src/molecules/TextListTableContent/__tests__/TextListTableContent.test.tsx +44 -0
- package/src/molecules/TextListTableContent/index.tsx +45 -0
- package/src/molecules/index.ts +11 -0
- package/src/nav/SidePanel.module.css +34 -0
- package/src/nav/SidePanel.stories.tsx +29 -0
- package/src/nav/SidePanel.tsx +22 -0
- package/src/nav/index.ts +2 -0
- package/src/organisms/CommandText/CommandText.stories.tsx +78 -0
- package/src/organisms/CommandText/__tests__/CommandText.test.tsx +1670 -0
- package/src/organisms/CommandText/fixtures/index.ts +4 -0
- package/src/organisms/CommandText/fixtures/mockRobotSideAnalysis.json +6609 -0
- package/src/organisms/CommandText/index.tsx +278 -0
- package/src/organisms/CommandText/useCommandTextString/index.ts +315 -0
- package/src/organisms/CommandText/useCommandTextString/utils/__tests__/formatDuration.test.tsx +92 -0
- package/src/organisms/CommandText/useCommandTextString/utils/__tests__/getFinalLabwareLocation.test.ts +130 -0
- package/src/organisms/CommandText/useCommandTextString/utils/__tests__/getLabwareDisplayLocation.test.tsx +185 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/__tests__/getPipettingCommandText.test.tsx +187 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getAbsorbanceReaderCommandText.ts +53 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getCommentCommandText.ts +10 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getConfigureForVolumeCommandText.ts +21 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getConfigureNozzleLayoutCommandText.ts +29 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getCustomCommandText.ts +16 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getDelayCommandText.ts +20 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getDirectTranslationCommandText.ts +44 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getFlexStackerCommandText.ts +32 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getHSShakeSpeedCommandText.ts +11 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getLiquidProbeCommandText.ts +60 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getLoadCommandText.ts +172 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getMoveLabwareCommandText.ts +108 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getMoveRelativeCommandText.ts +11 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToAddressableAreaCommandText.ts +19 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToAddressableAreaForDropTipCommandText.ts +19 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToCoordinatesCommandText.ts +11 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToSlotCommandText.ts +11 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getMoveToWellCommandText.ts +46 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getPipettingCommandText.ts +196 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getPrepareToAspirateCommandText.ts +20 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getRailLightsCommandText.ts +15 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getTCRunExtendedProfileCommandText.ts +67 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getTCRunProfileCommandText.ts +29 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getTemperatureCommandText.ts +49 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getUnknownCommandText.ts +5 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getWaitForDurationCommandText.ts +11 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/getWaitForResumeCommandText.ts +11 -0
- package/src/organisms/CommandText/useCommandTextString/utils/commandText/index.ts +26 -0
- package/src/organisms/CommandText/useCommandTextString/utils/formatDuration.ts +44 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getAddressableAreaDisplayName.ts +62 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getFinalAddressableAreaCmd.ts +20 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getFinalLabwareLocation.ts +46 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getLabwareDefinitionsFromCommands.ts +59 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getLabwareDisplayLocation.tsx +140 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getLabwareLocation.tsx +271 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getLabwareName.ts +41 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getLiquidDisplayName.ts +10 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getLoadedLabware.tsx +12 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getLoadedModule.ts +12 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getModuleDisplayLocation.ts +10 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getModuleModel.ts +11 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getPipetteNameOnMount.ts +20 -0
- package/src/organisms/CommandText/useCommandTextString/utils/getWellRange.ts +64 -0
- package/src/organisms/CommandText/useCommandTextString/utils/helpers.ts +15 -0
- package/src/organisms/CommandText/useCommandTextString/utils/index.ts +10 -0
- package/src/organisms/CommandText/useCommandTextString/utils/types.ts +19 -0
- package/src/organisms/DeckLabelSet/DeckLabelSet.stories.tsx +49 -0
- package/src/organisms/DeckLabelSet/__tests__/DeckLabelSet.test.tsx +52 -0
- package/src/organisms/DeckLabelSet/index.tsx +93 -0
- package/src/organisms/ProtocolTimelineScrubber/CommandItem.tsx +113 -0
- package/src/organisms/ProtocolTimelineScrubber/PipetteVisuals.tsx +211 -0
- package/src/organisms/ProtocolTimelineScrubber/index.tsx +335 -0
- package/src/organisms/ProtocolTimelineScrubber/types.ts +6 -0
- package/src/organisms/ProtocolTimelineScrubber/utils.ts +157 -0
- package/src/organisms/Toolbox/Toolbox.stories.tsx +33 -0
- package/src/organisms/Toolbox/__tests__/Toolbox.test.tsx +36 -0
- package/src/organisms/Toolbox/index.tsx +148 -0
- package/src/organisms/index.ts +4 -0
- package/src/primitives/Box.stories.tsx +25 -0
- package/src/primitives/Box.tsx +17 -0
- package/src/primitives/Btn.stories.tsx +105 -0
- package/src/primitives/Btn.tsx +268 -0
- package/src/primitives/Flex.stories.tsx +50 -0
- package/src/primitives/Flex.tsx +17 -0
- package/src/primitives/ForeignObject.tsx +69 -0
- package/src/primitives/Link.stories.tsx +27 -0
- package/src/primitives/Link.tsx +33 -0
- package/src/primitives/README.md +188 -0
- package/src/primitives/Svg.stories.tsx +36 -0
- package/src/primitives/Svg.tsx +69 -0
- package/src/primitives/Text.stories.tsx +17 -0
- package/src/primitives/Text.tsx +18 -0
- package/src/primitives/__tests__/Box.test.tsx +4 -0
- package/src/primitives/__tests__/Btn.test.tsx +4 -0
- package/src/primitives/__tests__/Flex.test.tsx +4 -0
- package/src/primitives/__tests__/Link.test.tsx +4 -0
- package/src/primitives/__tests__/Svg.test.tsx +4 -0
- package/src/primitives/__tests__/Text.test.tsx +4 -0
- package/src/primitives/__tests__/primitives.test.tsx +4 -0
- package/src/primitives/__tests__/style-props.test.tsx +4 -0
- package/src/primitives/index.ts +10 -0
- package/src/primitives/style-props.ts +199 -0
- package/src/primitives/types.ts +120 -0
- package/src/robot-types.ts +4 -0
- package/src/slotmap/OT2SlotMap.tsx +73 -0
- package/src/slotmap/__tests__/OT2SlotMap.test.tsx +4 -0
- package/src/slotmap/index.ts +1 -0
- package/src/slotmap/styles.module.css +18 -0
- package/src/structure/Card.stories.tsx +28 -0
- package/src/structure/Card.tsx +63 -0
- package/src/structure/LabeledValue.stories.tsx +17 -0
- package/src/structure/LabeledValue.tsx +31 -0
- package/src/structure/Pill.module.css +16 -0
- package/src/structure/Pill.tsx +43 -0
- package/src/structure/Splash.module.css +16 -0
- package/src/structure/Splash.stories.tsx +24 -0
- package/src/structure/Splash.tsx +22 -0
- package/src/structure/TitleBar.stories.tsx +42 -0
- package/src/structure/TitleBar.tsx +80 -0
- package/src/structure/index.ts +7 -0
- package/src/structure/structure.module.css +114 -0
- package/src/styles/borders.module.css +20 -0
- package/src/styles/borders.ts +16 -0
- package/src/styles/colors.module.css +57 -0
- package/src/styles/colors.ts +58 -0
- package/src/styles/cursor.ts +12 -0
- package/src/styles/flexbox.ts +39 -0
- package/src/styles/index.module.css +8 -0
- package/src/styles/index.ts +8 -0
- package/src/styles/layout.ts +31 -0
- package/src/styles/position.ts +5 -0
- package/src/styles/spacing.ts +11 -0
- package/src/styles/typography.module.css +22 -0
- package/src/styles/typography.ts +90 -0
- package/src/testing/utils/index.ts +2 -0
- package/src/testing/utils/matchers.ts +31 -0
- package/src/testing/utils/renderWithProviders.tsx +59 -0
- package/src/tooltips/DeprecatedTooltip.tsx +111 -0
- package/src/tooltips/HoverTooltip.tsx +84 -0
- package/src/tooltips/LegacyTooltip.stories.tsx +98 -0
- package/src/tooltips/LegacyTooltip.tsx +151 -0
- package/src/tooltips/__tests__/Tooltip.test.tsx +4 -0
- package/src/tooltips/__tests__/useHoverTooltip.test.tsx +4 -0
- package/src/tooltips/__tests__/usePopper.test.tsx +4 -0
- package/src/tooltips/__tests__/useTooltip.test.tsx +4 -0
- package/src/tooltips/constants.ts +28 -0
- package/src/tooltips/index.ts +10 -0
- package/src/tooltips/styles.ts +20 -0
- package/src/tooltips/tooltips.module.css +72 -0
- package/src/tooltips/types.ts +73 -0
- package/src/tooltips/useHoverTooltip.ts +47 -0
- package/src/tooltips/usePopper.ts +87 -0
- package/src/tooltips/useTooltip.ts +100 -0
- package/src/ui-style-constants/animation.ts +1 -0
- package/src/ui-style-constants/index.ts +5 -0
- package/src/ui-style-constants/responsiveness.ts +15 -0
- package/src/ui-style-constants/spacing.ts +18 -0
- package/src/ui-style-constants/typography.ts +258 -0
- package/src/ui-style-constants/viewport.ts +18 -0
- package/src/utils.ts +56 -0
- package/tsconfig-data.json +13 -0
- package/tsconfig.json +8 -5
- package/vite.config.mts +9 -19
- package/lib/controls/LabeledSelect.d.ts +0 -9
- package/lib/forms/DropdownField.d.ts +0 -38
- package/lib/hooks/useIdle.d.ts +0 -11
- package/lib/index.js +0 -22440
- package/lib/organisms/EndUserAgreementFooter/index.d.ts +0 -1
- package/lib/style.css +0 -3786
- /package/lib/{forms/__tests__/DropdownField.test.d.ts → atoms/ListTable/__tests__/ListTable.test.d.ts} +0 -0
- /package/lib/{hooks/__tests__/useIdle.test.d.ts → atoms/SubListTable/__tests__/SubListTable.test.d.ts} +0 -0
- /package/lib/{organisms/EndUserAgreementFooter/__tests__/EndUserAgreementFooter.test.d.ts → molecules/ListAccordion/__tests__/ListAccordion.test.d.ts} +0 -0
package/lib/style.css
DELETED
|
@@ -1,3786 +0,0 @@
|
|
|
1
|
-
/* common styling for tooltips */
|
|
2
|
-
/* opentrons style library */
|
|
3
|
-
:root {
|
|
4
|
-
/* ot brand */
|
|
5
|
-
--c-mustard: #ffd252;
|
|
6
|
-
--c-blue: #006cfa;
|
|
7
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
8
|
-
|
|
9
|
-
/*
|
|
10
|
-
* grays
|
|
11
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
12
|
-
*/
|
|
13
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
14
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
15
|
-
--c-charcoal: #979797;
|
|
16
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
17
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
18
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
19
|
-
|
|
20
|
-
/*
|
|
21
|
-
* background colors
|
|
22
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
23
|
-
*/
|
|
24
|
-
--c-bg-dark: #4a4a4a;
|
|
25
|
-
--c-bg-light: #fafafa;
|
|
26
|
-
--c-bg-selected: #f0f3ff;
|
|
27
|
-
--c-bg-hover: #f1f1f1;
|
|
28
|
-
--c-bg-success: #b6febc;
|
|
29
|
-
|
|
30
|
-
/* general UI */
|
|
31
|
-
--c-highlight: #5fd8ee;
|
|
32
|
-
--c-selected-dark: #00c3e6;
|
|
33
|
-
--c-warning-dark: #9e5e00;
|
|
34
|
-
--c-warning: #e28200;
|
|
35
|
-
--c-warning-light: #ffd58f;
|
|
36
|
-
--c-error-dark: #ac0505;
|
|
37
|
-
--c-error: #d12929;
|
|
38
|
-
--c-error-light: #ffc0c0;
|
|
39
|
-
--c-success: #60b120;
|
|
40
|
-
--c-blue-enabled: #006cfa;
|
|
41
|
-
--c-light-grey-hover: #c6c6c6;
|
|
42
|
-
|
|
43
|
-
/* Misc */
|
|
44
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
45
|
-
--c-plate-bg: #ccc;
|
|
46
|
-
--c-white: #fff;
|
|
47
|
-
--c-black: #000;
|
|
48
|
-
--c-green: #7ed321;
|
|
49
|
-
--c-red: #f00000;
|
|
50
|
-
--c-orange: #f5a623;
|
|
51
|
-
|
|
52
|
-
--transition-color: {
|
|
53
|
-
transition: color 0.15s ease-in-out;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
--transition-background-color: {
|
|
57
|
-
transition: background-color 0.15s ease-in-out;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
:root {
|
|
61
|
-
--c-font-dark: #4a4a4a;
|
|
62
|
-
--c-font-icon: #6f6f6f;
|
|
63
|
-
--c-font-light: white;
|
|
64
|
-
--c-font-disabled: #9c9c9c;
|
|
65
|
-
--fs-huge: 3rem;
|
|
66
|
-
--fs-header: 1.125rem;
|
|
67
|
-
--fs-default: 1rem;
|
|
68
|
-
--fs-body-2: 0.875rem;
|
|
69
|
-
--fs-body-1: 0.75rem;
|
|
70
|
-
--fs-caption: 0.625rem;
|
|
71
|
-
--fs-tiny: 0.325rem;
|
|
72
|
-
--fs-micro: 0.2rem;
|
|
73
|
-
--fw-bold: 800;
|
|
74
|
-
--fw-semibold: 600;
|
|
75
|
-
--fw-regular: 400;
|
|
76
|
-
--fw-light: 300;
|
|
77
|
-
--ff-code: Consolas, monaco, monospace;
|
|
78
|
-
--lh-solid: 1;
|
|
79
|
-
--lh-title: 1.25;
|
|
80
|
-
--lh-copy: 1.5;
|
|
81
|
-
}
|
|
82
|
-
:root {
|
|
83
|
-
/* borders */
|
|
84
|
-
--bd-radius-default: 2px;
|
|
85
|
-
--bd-radius-form-field: 3px;
|
|
86
|
-
--bd-radius-pill: 12px;
|
|
87
|
-
--bd-width-default: 1px;
|
|
88
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
89
|
-
|
|
90
|
-
/* dropshadows */
|
|
91
|
-
|
|
92
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
93
|
-
--shadow-lvl-1:
|
|
94
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
95
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
96
|
-
--shadow-lvl-2:
|
|
97
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
98
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
99
|
-
}
|
|
100
|
-
* {
|
|
101
|
-
box-sizing: border-box;
|
|
102
|
-
}
|
|
103
|
-
._tooltip_box_1izoa_4 {
|
|
104
|
-
font-size: 0.75rem;
|
|
105
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-light */
|
|
106
|
-
font-weight: 400;
|
|
107
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-light */
|
|
108
|
-
color: white;
|
|
109
|
-
color: var(--c-font-light); /* from legacy --font-body-1-light */
|
|
110
|
-
background-color: #4a4a4a;
|
|
111
|
-
background-color: var(--c-bg-dark);
|
|
112
|
-
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.13), 0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
113
|
-
padding: 8px;
|
|
114
|
-
cursor: pointer;
|
|
115
|
-
z-index: 9001;
|
|
116
|
-
}
|
|
117
|
-
._arrow_1izoa_15 {
|
|
118
|
-
position: absolute;
|
|
119
|
-
bottom: 0;
|
|
120
|
-
left: 0;
|
|
121
|
-
margin-bottom: -0.5em;
|
|
122
|
-
width: 1em;
|
|
123
|
-
height: 0.5em;
|
|
124
|
-
}
|
|
125
|
-
._arrow_1izoa_15::before {
|
|
126
|
-
border-width: 0.5em 0.5em 0 0.5em;
|
|
127
|
-
content: '';
|
|
128
|
-
margin: auto;
|
|
129
|
-
display: block;
|
|
130
|
-
width: 0;
|
|
131
|
-
height: 0;
|
|
132
|
-
border-style: solid;
|
|
133
|
-
border-color: #4a4a4a transparent transparent transparent;
|
|
134
|
-
border-color: var(--c-bg-dark) transparent transparent transparent;
|
|
135
|
-
}
|
|
136
|
-
._arrow_1izoa_15._bottom_1izoa_35 {
|
|
137
|
-
top: 0;
|
|
138
|
-
left: 0;
|
|
139
|
-
margin-top: -0.5em;
|
|
140
|
-
width: 1em;
|
|
141
|
-
height: 0.5em;
|
|
142
|
-
}
|
|
143
|
-
._arrow_1izoa_15._bottom_1izoa_35::before {
|
|
144
|
-
border-width: 0 0.5em 0.5em 0.5em;
|
|
145
|
-
border-color: transparent transparent #4a4a4a transparent;
|
|
146
|
-
border-color: transparent transparent var(--c-bg-dark) transparent;
|
|
147
|
-
}
|
|
148
|
-
._arrow_1izoa_15._right_1izoa_48 {
|
|
149
|
-
top: 0;
|
|
150
|
-
left: 0;
|
|
151
|
-
margin-left: -0.5em;
|
|
152
|
-
height: 1em;
|
|
153
|
-
width: 0.5em;
|
|
154
|
-
}
|
|
155
|
-
._arrow_1izoa_15._right_1izoa_48::before {
|
|
156
|
-
border-width: 0.5em 0.5em 0.5em 0;
|
|
157
|
-
border-color: transparent #4a4a4a transparent transparent;
|
|
158
|
-
border-color: transparent var(--c-bg-dark) transparent transparent;
|
|
159
|
-
}
|
|
160
|
-
._arrow_1izoa_15._left_1izoa_61 {
|
|
161
|
-
top: 0;
|
|
162
|
-
right: 0;
|
|
163
|
-
margin-right: -0.5em;
|
|
164
|
-
height: 1em;
|
|
165
|
-
width: 0.5em;
|
|
166
|
-
}
|
|
167
|
-
._arrow_1izoa_15._left_1izoa_61::before {
|
|
168
|
-
border-width: 0.5em 0 0.5em 0.5em;
|
|
169
|
-
border-color: transparent transparent transparent #4a4a4a;
|
|
170
|
-
border-color: transparent transparent transparent var(--c-bg-dark);
|
|
171
|
-
}
|
|
172
|
-
/* button styling */
|
|
173
|
-
/* opentrons style library */
|
|
174
|
-
:root {
|
|
175
|
-
/* ot brand */
|
|
176
|
-
--c-mustard: #ffd252;
|
|
177
|
-
--c-blue: #006cfa;
|
|
178
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
179
|
-
|
|
180
|
-
/*
|
|
181
|
-
* grays
|
|
182
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
183
|
-
*/
|
|
184
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
185
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
186
|
-
--c-charcoal: #979797;
|
|
187
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
188
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
189
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
190
|
-
|
|
191
|
-
/*
|
|
192
|
-
* background colors
|
|
193
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
194
|
-
*/
|
|
195
|
-
--c-bg-dark: #4a4a4a;
|
|
196
|
-
--c-bg-light: #fafafa;
|
|
197
|
-
--c-bg-selected: #f0f3ff;
|
|
198
|
-
--c-bg-hover: #f1f1f1;
|
|
199
|
-
--c-bg-success: #b6febc;
|
|
200
|
-
|
|
201
|
-
/* general UI */
|
|
202
|
-
--c-highlight: #5fd8ee;
|
|
203
|
-
--c-selected-dark: #00c3e6;
|
|
204
|
-
--c-warning-dark: #9e5e00;
|
|
205
|
-
--c-warning: #e28200;
|
|
206
|
-
--c-warning-light: #ffd58f;
|
|
207
|
-
--c-error-dark: #ac0505;
|
|
208
|
-
--c-error: #d12929;
|
|
209
|
-
--c-error-light: #ffc0c0;
|
|
210
|
-
--c-success: #60b120;
|
|
211
|
-
--c-blue-enabled: #006cfa;
|
|
212
|
-
--c-light-grey-hover: #c6c6c6;
|
|
213
|
-
|
|
214
|
-
/* Misc */
|
|
215
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
216
|
-
--c-plate-bg: #ccc;
|
|
217
|
-
--c-white: #fff;
|
|
218
|
-
--c-black: #000;
|
|
219
|
-
--c-green: #7ed321;
|
|
220
|
-
--c-red: #f00000;
|
|
221
|
-
--c-orange: #f5a623;
|
|
222
|
-
|
|
223
|
-
--transition-color: {
|
|
224
|
-
transition: color 0.15s ease-in-out;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
--transition-background-color: {
|
|
228
|
-
transition: background-color 0.15s ease-in-out;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
:root {
|
|
232
|
-
--c-font-dark: #4a4a4a;
|
|
233
|
-
--c-font-icon: #6f6f6f;
|
|
234
|
-
--c-font-light: white;
|
|
235
|
-
--c-font-disabled: #9c9c9c;
|
|
236
|
-
--fs-huge: 3rem;
|
|
237
|
-
--fs-header: 1.125rem;
|
|
238
|
-
--fs-default: 1rem;
|
|
239
|
-
--fs-body-2: 0.875rem;
|
|
240
|
-
--fs-body-1: 0.75rem;
|
|
241
|
-
--fs-caption: 0.625rem;
|
|
242
|
-
--fs-tiny: 0.325rem;
|
|
243
|
-
--fs-micro: 0.2rem;
|
|
244
|
-
--fw-bold: 800;
|
|
245
|
-
--fw-semibold: 600;
|
|
246
|
-
--fw-regular: 400;
|
|
247
|
-
--fw-light: 300;
|
|
248
|
-
--ff-code: Consolas, monaco, monospace;
|
|
249
|
-
--lh-solid: 1;
|
|
250
|
-
--lh-title: 1.25;
|
|
251
|
-
--lh-copy: 1.5;
|
|
252
|
-
}
|
|
253
|
-
:root {
|
|
254
|
-
/* borders */
|
|
255
|
-
--bd-radius-default: 2px;
|
|
256
|
-
--bd-radius-form-field: 3px;
|
|
257
|
-
--bd-radius-pill: 12px;
|
|
258
|
-
--bd-width-default: 1px;
|
|
259
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
260
|
-
|
|
261
|
-
/* dropshadows */
|
|
262
|
-
|
|
263
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
264
|
-
--shadow-lvl-1:
|
|
265
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
266
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
267
|
-
--shadow-lvl-2:
|
|
268
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
269
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
270
|
-
}
|
|
271
|
-
* {
|
|
272
|
-
box-sizing: border-box;
|
|
273
|
-
}
|
|
274
|
-
:root {
|
|
275
|
-
--button-pad: 0.5rem;
|
|
276
|
-
|
|
277
|
-
--button-inverted: {
|
|
278
|
-
|
|
279
|
-
color: var(--c-font-light);
|
|
280
|
-
border-color: var(--c-font-light);
|
|
281
|
-
|
|
282
|
-
&:active {
|
|
283
|
-
font-weight: var(--fw-regular);
|
|
284
|
-
background-color: rgb(92, 92, 92);
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
&:focus {
|
|
288
|
-
background-color: rgb(83, 83, 83);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
&:hover {
|
|
292
|
-
background-color: rgb(83, 83, 83);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
&:disabled,
|
|
296
|
-
&.disabled {
|
|
297
|
-
background-color: transparent;
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
font-weight: normal;
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
border-color: var(--c-font-disabled);
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
color: var(--c-font-disabled);
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
fill: var(--c-font-disabled);
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
cursor: default;
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
pointer-events: none;
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
&.hover {
|
|
321
|
-
background-color: rgb(83, 83, 83);
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
/* TODO(ka, 2017-2-14): standardize primary button vars */
|
|
328
|
-
._button_primary_17eni_60 {
|
|
329
|
-
/* VVV from legacy --button-default VVV */
|
|
330
|
-
display: inline-block;
|
|
331
|
-
-webkit-text-decoration: none;
|
|
332
|
-
text-decoration: none;
|
|
333
|
-
position: relative;
|
|
334
|
-
line-height: 1.4;
|
|
335
|
-
border: none;
|
|
336
|
-
padding: 0.5rem;
|
|
337
|
-
padding: var(--button-pad);
|
|
338
|
-
font-size: 0.875rem;
|
|
339
|
-
font-size: var(--fs-body-2);
|
|
340
|
-
font-weight: 600;
|
|
341
|
-
font-weight: var(--fw-semibold);
|
|
342
|
-
text-align: center;
|
|
343
|
-
text-transform: uppercase;
|
|
344
|
-
cursor: pointer;
|
|
345
|
-
background: transparent;
|
|
346
|
-
border-radius: 2px;
|
|
347
|
-
border-radius: var(--bd-radius-default);
|
|
348
|
-
|
|
349
|
-
/* ^^^ from legacy --button-default ^^^ */
|
|
350
|
-
|
|
351
|
-
width: 100%;
|
|
352
|
-
color: white;
|
|
353
|
-
color: var(--c-font-light);
|
|
354
|
-
background-color: #4a4a4a;
|
|
355
|
-
background-color: var(--c-bg-dark);
|
|
356
|
-
|
|
357
|
-
/* TODO(mc, 2017-12-07): pull shadows out to central file */
|
|
358
|
-
box-shadow:
|
|
359
|
-
0 0 2px rgba(0, 0, 0, 0.12),
|
|
360
|
-
0 2px 2px rgba(0, 0, 0, 0.24);
|
|
361
|
-
}
|
|
362
|
-
._button_primary_17eni_60:focus {
|
|
363
|
-
background-color: rgb(52, 52, 52);
|
|
364
|
-
}
|
|
365
|
-
._button_primary_17eni_60:hover {
|
|
366
|
-
background-color: rgb(52, 52, 52);
|
|
367
|
-
}
|
|
368
|
-
._button_primary_17eni_60._hover_17eni_50 {
|
|
369
|
-
background-color: rgb(52, 52, 52);
|
|
370
|
-
}
|
|
371
|
-
._button_primary_17eni_60:active {
|
|
372
|
-
font-weight: 400;
|
|
373
|
-
font-weight: var(--fw-regular);
|
|
374
|
-
background-color: rgb(128, 128, 128);
|
|
375
|
-
|
|
376
|
-
/* TODO(mc, 2017-12-07): pull shadows out to central file */
|
|
377
|
-
box-shadow:
|
|
378
|
-
0 0 8px rgba(0, 0, 0, 0.12),
|
|
379
|
-
0 8px 8px rgba(0, 0, 0, 0.24);
|
|
380
|
-
}
|
|
381
|
-
._button_primary_17eni_60._inverted_17eni_109 {
|
|
382
|
-
background-color: #fafafa;
|
|
383
|
-
background-color: var(--c-bg-light);
|
|
384
|
-
color: #4a4a4a;
|
|
385
|
-
color: var(--c-font-dark);
|
|
386
|
-
}
|
|
387
|
-
._button_primary_17eni_60._inverted_17eni_109:focus,
|
|
388
|
-
._button_primary_17eni_60._inverted_17eni_109:hover,
|
|
389
|
-
._button_primary_17eni_60._inverted_17eni_109._hover_17eni_50 {
|
|
390
|
-
background-color: rgb(238, 238, 238);
|
|
391
|
-
}
|
|
392
|
-
._button_primary_17eni_60._inverted_17eni_109:active {
|
|
393
|
-
background-color: rgb(225, 225, 225);
|
|
394
|
-
}
|
|
395
|
-
._button_primary_17eni_60:disabled,
|
|
396
|
-
._button_primary_17eni_60._disabled_17eni_26 {
|
|
397
|
-
/* from legacy --button-disabled */
|
|
398
|
-
font-weight: normal;
|
|
399
|
-
|
|
400
|
-
/* from legacy --button-disabled */
|
|
401
|
-
border-color: #9c9c9c;
|
|
402
|
-
border-color: var(--c-font-disabled);
|
|
403
|
-
|
|
404
|
-
/* from legacy --button-disabled */
|
|
405
|
-
fill: #9c9c9c;
|
|
406
|
-
fill: var(--c-font-disabled);
|
|
407
|
-
|
|
408
|
-
/* from legacy --button-disabled */
|
|
409
|
-
cursor: default;
|
|
410
|
-
|
|
411
|
-
/* from legacy --button-disabled */
|
|
412
|
-
pointer-events: none;
|
|
413
|
-
|
|
414
|
-
/* from legacy --button-disabled */
|
|
415
|
-
|
|
416
|
-
background-color: rgb(201, 201, 201);
|
|
417
|
-
box-shadow: none;
|
|
418
|
-
color: #9c9c9c;
|
|
419
|
-
color: var(--c-font-disabled);
|
|
420
|
-
}
|
|
421
|
-
._button_flat_17eni_149 {
|
|
422
|
-
/* VVV from legacy --button-default VVV */
|
|
423
|
-
display: inline-block;
|
|
424
|
-
-webkit-text-decoration: none;
|
|
425
|
-
text-decoration: none;
|
|
426
|
-
position: relative;
|
|
427
|
-
line-height: 1.4;
|
|
428
|
-
border: none;
|
|
429
|
-
padding: 0.5rem;
|
|
430
|
-
padding: var(--button-pad);
|
|
431
|
-
font-size: 0.875rem;
|
|
432
|
-
font-size: var(--fs-body-2);
|
|
433
|
-
font-weight: 600;
|
|
434
|
-
font-weight: var(--fw-semibold);
|
|
435
|
-
text-align: center;
|
|
436
|
-
text-transform: uppercase;
|
|
437
|
-
cursor: pointer;
|
|
438
|
-
color: #4a4a4a;
|
|
439
|
-
color: var(--c-font-dark);
|
|
440
|
-
background: transparent;
|
|
441
|
-
border-radius: 2px;
|
|
442
|
-
border-radius: var(--bd-radius-default);
|
|
443
|
-
|
|
444
|
-
/* ^^^ from legacy --button-default ^^^ */
|
|
445
|
-
|
|
446
|
-
width: 9rem;
|
|
447
|
-
}
|
|
448
|
-
._button_flat_17eni_149:active {
|
|
449
|
-
font-weight: 400;
|
|
450
|
-
font-weight: var(--fw-regular);
|
|
451
|
-
background-color: rgb(225, 225, 225);
|
|
452
|
-
}
|
|
453
|
-
._button_flat_17eni_149:disabled,
|
|
454
|
-
._button_flat_17eni_149._disabled_17eni_26 {
|
|
455
|
-
background-color: transparent;
|
|
456
|
-
|
|
457
|
-
/* from legacy --button-disabled */
|
|
458
|
-
font-weight: normal;
|
|
459
|
-
|
|
460
|
-
/* from legacy --button-disabled */
|
|
461
|
-
border-color: #9c9c9c;
|
|
462
|
-
border-color: var(--c-font-disabled);
|
|
463
|
-
|
|
464
|
-
/* from legacy --button-disabled */
|
|
465
|
-
color: #9c9c9c;
|
|
466
|
-
color: var(--c-font-disabled);
|
|
467
|
-
|
|
468
|
-
/* from legacy --button-disabled */
|
|
469
|
-
fill: #9c9c9c;
|
|
470
|
-
fill: var(--c-font-disabled);
|
|
471
|
-
|
|
472
|
-
/* from legacy --button-disabled */
|
|
473
|
-
cursor: default;
|
|
474
|
-
|
|
475
|
-
/* from legacy --button-disabled */
|
|
476
|
-
pointer-events: none;
|
|
477
|
-
|
|
478
|
-
/* from legacy --button-disabled */
|
|
479
|
-
}
|
|
480
|
-
._button_flat_17eni_149:focus {
|
|
481
|
-
background-color: rgba(155, 155, 155, 0.25);
|
|
482
|
-
}
|
|
483
|
-
._button_flat_17eni_149:hover {
|
|
484
|
-
background-color: rgba(155, 155, 155, 0.25);
|
|
485
|
-
}
|
|
486
|
-
._button_flat_17eni_149._hover_17eni_50 {
|
|
487
|
-
background-color: rgba(155, 155, 155, 0.25);
|
|
488
|
-
}
|
|
489
|
-
._button_flat_17eni_149._inverted_17eni_109 {
|
|
490
|
-
/* VVV from legacy --button-inverted VVV */
|
|
491
|
-
color: white;
|
|
492
|
-
color: var(--c-font-light);
|
|
493
|
-
border-color: white;
|
|
494
|
-
border-color: var(--c-font-light);
|
|
495
|
-
}
|
|
496
|
-
._button_flat_17eni_149._inverted_17eni_109:active {
|
|
497
|
-
font-weight: 400;
|
|
498
|
-
font-weight: var(--fw-regular);
|
|
499
|
-
background-color: rgb(92, 92, 92);
|
|
500
|
-
}
|
|
501
|
-
._button_flat_17eni_149._inverted_17eni_109:disabled,
|
|
502
|
-
._button_flat_17eni_149._inverted_17eni_109._disabled_17eni_26 {
|
|
503
|
-
background-color: transparent;
|
|
504
|
-
|
|
505
|
-
/* from legacy --button-disabled */
|
|
506
|
-
font-weight: normal;
|
|
507
|
-
|
|
508
|
-
/* from legacy --button-disabled */
|
|
509
|
-
border-color: #9c9c9c;
|
|
510
|
-
border-color: var(--c-font-disabled);
|
|
511
|
-
|
|
512
|
-
/* from legacy --button-disabled */
|
|
513
|
-
color: #9c9c9c;
|
|
514
|
-
color: var(--c-font-disabled);
|
|
515
|
-
|
|
516
|
-
/* from legacy --button-disabled */
|
|
517
|
-
fill: #9c9c9c;
|
|
518
|
-
fill: var(--c-font-disabled);
|
|
519
|
-
|
|
520
|
-
/* from legacy --button-disabled */
|
|
521
|
-
cursor: default;
|
|
522
|
-
|
|
523
|
-
/* from legacy --button-disabled */
|
|
524
|
-
pointer-events: none;
|
|
525
|
-
|
|
526
|
-
/* from legacy --button-disabled */
|
|
527
|
-
}
|
|
528
|
-
._button_flat_17eni_149._inverted_17eni_109:focus {
|
|
529
|
-
background-color: rgb(83, 83, 83);
|
|
530
|
-
}
|
|
531
|
-
._button_flat_17eni_149._inverted_17eni_109:hover {
|
|
532
|
-
background-color: rgb(83, 83, 83);
|
|
533
|
-
}
|
|
534
|
-
._button_flat_17eni_149._inverted_17eni_109._hover_17eni_50 {
|
|
535
|
-
background-color: rgb(83, 83, 83);
|
|
536
|
-
}
|
|
537
|
-
/* ^^^ from legacy --button-default ^^^ */
|
|
538
|
-
._button_outline_17eni_263 {
|
|
539
|
-
/* VVV from legacy --button-default VVV */
|
|
540
|
-
display: inline-block;
|
|
541
|
-
-webkit-text-decoration: none;
|
|
542
|
-
text-decoration: none;
|
|
543
|
-
position: relative;
|
|
544
|
-
line-height: 1.4;
|
|
545
|
-
padding: 0.5rem;
|
|
546
|
-
padding: var(--button-pad);
|
|
547
|
-
font-size: 0.875rem;
|
|
548
|
-
font-size: var(--fs-body-2);
|
|
549
|
-
font-weight: 600;
|
|
550
|
-
font-weight: var(--fw-semibold);
|
|
551
|
-
text-align: center;
|
|
552
|
-
text-transform: uppercase;
|
|
553
|
-
cursor: pointer;
|
|
554
|
-
color: #4a4a4a;
|
|
555
|
-
color: var(--c-font-dark);
|
|
556
|
-
background: transparent;
|
|
557
|
-
border-radius: 2px;
|
|
558
|
-
border-radius: var(--bd-radius-default);
|
|
559
|
-
|
|
560
|
-
/* ^^^ from legacy --button-default ^^^ */
|
|
561
|
-
|
|
562
|
-
width: 9rem;
|
|
563
|
-
border: 1px solid #4a4a4a;
|
|
564
|
-
border: 1px solid var(--c-font-dark);
|
|
565
|
-
}
|
|
566
|
-
._button_outline_17eni_263:active {
|
|
567
|
-
font-weight: 400;
|
|
568
|
-
font-weight: var(--fw-regular);
|
|
569
|
-
background-color: rgb(225, 225, 225);
|
|
570
|
-
}
|
|
571
|
-
._button_outline_17eni_263:disabled,
|
|
572
|
-
._button_outline_17eni_263._disabled_17eni_26 {
|
|
573
|
-
background-color: transparent;
|
|
574
|
-
|
|
575
|
-
/* from legacy --button-disabled */
|
|
576
|
-
font-weight: normal;
|
|
577
|
-
|
|
578
|
-
/* from legacy --button-disabled */
|
|
579
|
-
border-color: #9c9c9c;
|
|
580
|
-
border-color: var(--c-font-disabled);
|
|
581
|
-
|
|
582
|
-
/* from legacy --button-disabled */
|
|
583
|
-
color: #9c9c9c;
|
|
584
|
-
color: var(--c-font-disabled);
|
|
585
|
-
|
|
586
|
-
/* from legacy --button-disabled */
|
|
587
|
-
fill: #9c9c9c;
|
|
588
|
-
fill: var(--c-font-disabled);
|
|
589
|
-
|
|
590
|
-
/* from legacy --button-disabled */
|
|
591
|
-
cursor: default;
|
|
592
|
-
|
|
593
|
-
/* from legacy --button-disabled */
|
|
594
|
-
pointer-events: none;
|
|
595
|
-
|
|
596
|
-
/* from legacy --button-disabled */
|
|
597
|
-
}
|
|
598
|
-
._button_outline_17eni_263:focus {
|
|
599
|
-
background-color: rgba(155, 155, 155, 0.25);
|
|
600
|
-
}
|
|
601
|
-
._button_outline_17eni_263:hover {
|
|
602
|
-
background-color: rgba(155, 155, 155, 0.25);
|
|
603
|
-
}
|
|
604
|
-
._button_outline_17eni_263._hover_17eni_50 {
|
|
605
|
-
background-color: rgba(155, 155, 155, 0.25);
|
|
606
|
-
}
|
|
607
|
-
._button_outline_17eni_263._inverted_17eni_109 {
|
|
608
|
-
/* VVV from legacy --button-inverted VVV */
|
|
609
|
-
color: white;
|
|
610
|
-
color: var(--c-font-light);
|
|
611
|
-
border-color: white;
|
|
612
|
-
border-color: var(--c-font-light);
|
|
613
|
-
}
|
|
614
|
-
._button_outline_17eni_263._inverted_17eni_109:active {
|
|
615
|
-
font-weight: 400;
|
|
616
|
-
font-weight: var(--fw-regular);
|
|
617
|
-
background-color: rgb(92, 92, 92);
|
|
618
|
-
}
|
|
619
|
-
._button_outline_17eni_263._inverted_17eni_109:disabled,
|
|
620
|
-
._button_outline_17eni_263._inverted_17eni_109._disabled_17eni_26 {
|
|
621
|
-
background-color: transparent;
|
|
622
|
-
|
|
623
|
-
/* from legacy --button-disabled */
|
|
624
|
-
font-weight: normal;
|
|
625
|
-
|
|
626
|
-
/* from legacy --button-disabled */
|
|
627
|
-
border-color: #9c9c9c;
|
|
628
|
-
border-color: var(--c-font-disabled);
|
|
629
|
-
|
|
630
|
-
/* from legacy --button-disabled */
|
|
631
|
-
color: #9c9c9c;
|
|
632
|
-
color: var(--c-font-disabled);
|
|
633
|
-
|
|
634
|
-
/* from legacy --button-disabled */
|
|
635
|
-
fill: #9c9c9c;
|
|
636
|
-
fill: var(--c-font-disabled);
|
|
637
|
-
|
|
638
|
-
/* from legacy --button-disabled */
|
|
639
|
-
cursor: default;
|
|
640
|
-
|
|
641
|
-
/* from legacy --button-disabled */
|
|
642
|
-
pointer-events: none;
|
|
643
|
-
|
|
644
|
-
/* from legacy --button-disabled */
|
|
645
|
-
}
|
|
646
|
-
._button_outline_17eni_263._inverted_17eni_109:focus {
|
|
647
|
-
background-color: rgb(83, 83, 83);
|
|
648
|
-
}
|
|
649
|
-
._button_outline_17eni_263._inverted_17eni_109:hover {
|
|
650
|
-
background-color: rgb(83, 83, 83);
|
|
651
|
-
}
|
|
652
|
-
._button_outline_17eni_263._inverted_17eni_109._hover_17eni_50 {
|
|
653
|
-
background-color: rgb(83, 83, 83);
|
|
654
|
-
}
|
|
655
|
-
/* ^^^ from legacy --button-default ^^^ */
|
|
656
|
-
/* style for IconButton */
|
|
657
|
-
._button_icon_17eni_379 {
|
|
658
|
-
width: auto;
|
|
659
|
-
}
|
|
660
|
-
._button_icon_17eni_379 > * {
|
|
661
|
-
display: block;
|
|
662
|
-
height: 100%;
|
|
663
|
-
width: 100%;
|
|
664
|
-
}
|
|
665
|
-
._button_icon_17eni_379._inverted_17eni_109 {
|
|
666
|
-
color: white;
|
|
667
|
-
fill: white;
|
|
668
|
-
|
|
669
|
-
/* TODO(mc, 2019-03-29): Is this correct? Our icons use only fill */
|
|
670
|
-
stroke: white;
|
|
671
|
-
}
|
|
672
|
-
._button_icon_17eni_379._inverted_17eni_109:disabled,
|
|
673
|
-
._button_icon_17eni_379._inverted_17eni_109._disabled_17eni_26 {
|
|
674
|
-
background-color: transparent;
|
|
675
|
-
|
|
676
|
-
/* from legacy --button-disabled */
|
|
677
|
-
font-weight: normal;
|
|
678
|
-
|
|
679
|
-
/* from legacy --button-disabled */
|
|
680
|
-
border-color: #9c9c9c;
|
|
681
|
-
border-color: var(--c-font-disabled);
|
|
682
|
-
|
|
683
|
-
/* from legacy --button-disabled */
|
|
684
|
-
color: #9c9c9c;
|
|
685
|
-
color: var(--c-font-disabled);
|
|
686
|
-
|
|
687
|
-
/* from legacy --button-disabled */
|
|
688
|
-
fill: #9c9c9c;
|
|
689
|
-
fill: var(--c-font-disabled);
|
|
690
|
-
|
|
691
|
-
/* from legacy --button-disabled */
|
|
692
|
-
cursor: default;
|
|
693
|
-
|
|
694
|
-
/* from legacy --button-disabled */
|
|
695
|
-
pointer-events: none;
|
|
696
|
-
|
|
697
|
-
/* from legacy --button-disabled */
|
|
698
|
-
}
|
|
699
|
-
/* style for the supplementary icon displayed by Button */
|
|
700
|
-
._icon_17eni_423 {
|
|
701
|
-
position: absolute;
|
|
702
|
-
top: 0.5rem;
|
|
703
|
-
top: var(--button-pad);
|
|
704
|
-
left: 0.5rem;
|
|
705
|
-
left: var(--button-pad);
|
|
706
|
-
height: calc(100% - 2 * 0.5rem);
|
|
707
|
-
height: calc(100% - 2 * var(--button-pad));
|
|
708
|
-
}/* common styling for modals */
|
|
709
|
-
/* opentrons style library */
|
|
710
|
-
:root {
|
|
711
|
-
/* ot brand */
|
|
712
|
-
--c-mustard: #ffd252;
|
|
713
|
-
--c-blue: #006cfa;
|
|
714
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
715
|
-
|
|
716
|
-
/*
|
|
717
|
-
* grays
|
|
718
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
719
|
-
*/
|
|
720
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
721
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
722
|
-
--c-charcoal: #979797;
|
|
723
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
724
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
725
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
726
|
-
|
|
727
|
-
/*
|
|
728
|
-
* background colors
|
|
729
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
730
|
-
*/
|
|
731
|
-
--c-bg-dark: #4a4a4a;
|
|
732
|
-
--c-bg-light: #fafafa;
|
|
733
|
-
--c-bg-selected: #f0f3ff;
|
|
734
|
-
--c-bg-hover: #f1f1f1;
|
|
735
|
-
--c-bg-success: #b6febc;
|
|
736
|
-
|
|
737
|
-
/* general UI */
|
|
738
|
-
--c-highlight: #5fd8ee;
|
|
739
|
-
--c-selected-dark: #00c3e6;
|
|
740
|
-
--c-warning-dark: #9e5e00;
|
|
741
|
-
--c-warning: #e28200;
|
|
742
|
-
--c-warning-light: #ffd58f;
|
|
743
|
-
--c-error-dark: #ac0505;
|
|
744
|
-
--c-error: #d12929;
|
|
745
|
-
--c-error-light: #ffc0c0;
|
|
746
|
-
--c-success: #60b120;
|
|
747
|
-
--c-blue-enabled: #006cfa;
|
|
748
|
-
--c-light-grey-hover: #c6c6c6;
|
|
749
|
-
|
|
750
|
-
/* Misc */
|
|
751
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
752
|
-
--c-plate-bg: #ccc;
|
|
753
|
-
--c-white: #fff;
|
|
754
|
-
--c-black: #000;
|
|
755
|
-
--c-green: #7ed321;
|
|
756
|
-
--c-red: #f00000;
|
|
757
|
-
--c-orange: #f5a623;
|
|
758
|
-
|
|
759
|
-
--transition-color: {
|
|
760
|
-
transition: color 0.15s ease-in-out;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
--transition-background-color: {
|
|
764
|
-
transition: background-color 0.15s ease-in-out;
|
|
765
|
-
}
|
|
766
|
-
}
|
|
767
|
-
:root {
|
|
768
|
-
--c-font-dark: #4a4a4a;
|
|
769
|
-
--c-font-icon: #6f6f6f;
|
|
770
|
-
--c-font-light: white;
|
|
771
|
-
--c-font-disabled: #9c9c9c;
|
|
772
|
-
--fs-huge: 3rem;
|
|
773
|
-
--fs-header: 1.125rem;
|
|
774
|
-
--fs-default: 1rem;
|
|
775
|
-
--fs-body-2: 0.875rem;
|
|
776
|
-
--fs-body-1: 0.75rem;
|
|
777
|
-
--fs-caption: 0.625rem;
|
|
778
|
-
--fs-tiny: 0.325rem;
|
|
779
|
-
--fs-micro: 0.2rem;
|
|
780
|
-
--fw-bold: 800;
|
|
781
|
-
--fw-semibold: 600;
|
|
782
|
-
--fw-regular: 400;
|
|
783
|
-
--fw-light: 300;
|
|
784
|
-
--ff-code: Consolas, monaco, monospace;
|
|
785
|
-
--lh-solid: 1;
|
|
786
|
-
--lh-title: 1.25;
|
|
787
|
-
--lh-copy: 1.5;
|
|
788
|
-
}
|
|
789
|
-
:root {
|
|
790
|
-
/* borders */
|
|
791
|
-
--bd-radius-default: 2px;
|
|
792
|
-
--bd-radius-form-field: 3px;
|
|
793
|
-
--bd-radius-pill: 12px;
|
|
794
|
-
--bd-width-default: 1px;
|
|
795
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
796
|
-
|
|
797
|
-
/* dropshadows */
|
|
798
|
-
|
|
799
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
800
|
-
--shadow-lvl-1:
|
|
801
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
802
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
803
|
-
--shadow-lvl-2:
|
|
804
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
805
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
806
|
-
}
|
|
807
|
-
* {
|
|
808
|
-
box-sizing: border-box;
|
|
809
|
-
}
|
|
810
|
-
._modal_h7kfv_4 {
|
|
811
|
-
/* from legacy --absolute-fill */
|
|
812
|
-
top: 0;
|
|
813
|
-
|
|
814
|
-
/* from legacy --absolute-fill */
|
|
815
|
-
right: 0;
|
|
816
|
-
|
|
817
|
-
/* from legacy --absolute-fill */
|
|
818
|
-
bottom: 0;
|
|
819
|
-
|
|
820
|
-
/* from legacy --absolute-fill */
|
|
821
|
-
left: 0;
|
|
822
|
-
|
|
823
|
-
/* from legacy --absolute-fill */
|
|
824
|
-
display: flex;
|
|
825
|
-
|
|
826
|
-
/* from legacy --center-children */
|
|
827
|
-
justify-content: center;
|
|
828
|
-
|
|
829
|
-
/* from legacy --center-children */
|
|
830
|
-
align-items: center;
|
|
831
|
-
|
|
832
|
-
/* from legacy --center-children */
|
|
833
|
-
|
|
834
|
-
align-items: flex-start;
|
|
835
|
-
position: fixed;
|
|
836
|
-
z-index: 1;
|
|
837
|
-
padding: 4rem;
|
|
838
|
-
}
|
|
839
|
-
._modal_page_h7kfv_34 {
|
|
840
|
-
position: absolute;
|
|
841
|
-
|
|
842
|
-
/* from legacy --absolute-fill */
|
|
843
|
-
top: 0;
|
|
844
|
-
|
|
845
|
-
/* from legacy --absolute-fill */
|
|
846
|
-
right: 0;
|
|
847
|
-
|
|
848
|
-
/* from legacy --absolute-fill */
|
|
849
|
-
bottom: 0;
|
|
850
|
-
|
|
851
|
-
/* from legacy --absolute-fill */
|
|
852
|
-
left: 0;
|
|
853
|
-
|
|
854
|
-
/* from legacy --absolute-fill */
|
|
855
|
-
|
|
856
|
-
display: flex;
|
|
857
|
-
|
|
858
|
-
/* from legacy --flex-start */
|
|
859
|
-
justify-content: flex-start;
|
|
860
|
-
|
|
861
|
-
/* from legacy --flex-start */
|
|
862
|
-
align-items: center;
|
|
863
|
-
|
|
864
|
-
/* from legacy --flex-start */
|
|
865
|
-
|
|
866
|
-
flex-direction: column;
|
|
867
|
-
padding: 4.5rem 3rem 1rem 3rem;
|
|
868
|
-
}
|
|
869
|
-
._overlay_h7kfv_65 {
|
|
870
|
-
position: absolute;
|
|
871
|
-
|
|
872
|
-
/* from legacy --absolute-fill */
|
|
873
|
-
top: 0;
|
|
874
|
-
|
|
875
|
-
/* from legacy --absolute-fill */
|
|
876
|
-
right: 0;
|
|
877
|
-
|
|
878
|
-
/* from legacy --absolute-fill */
|
|
879
|
-
bottom: 0;
|
|
880
|
-
|
|
881
|
-
/* from legacy --absolute-fill */
|
|
882
|
-
left: 0;
|
|
883
|
-
|
|
884
|
-
/* from legacy --absolute-fill */
|
|
885
|
-
|
|
886
|
-
background-color: rgba(0, 0, 0, 0.9);
|
|
887
|
-
}
|
|
888
|
-
._title_bar_h7kfv_85 {
|
|
889
|
-
position: absolute;
|
|
890
|
-
top: 0;
|
|
891
|
-
left: 0;
|
|
892
|
-
right: 0;
|
|
893
|
-
width: 100%;
|
|
894
|
-
z-index: 3;
|
|
895
|
-
}
|
|
896
|
-
._modal_contents_h7kfv_94 {
|
|
897
|
-
z-index: 1;
|
|
898
|
-
|
|
899
|
-
/* from legacy --modal-contents */
|
|
900
|
-
width: 100%;
|
|
901
|
-
|
|
902
|
-
/* from legacy --modal-contents */
|
|
903
|
-
max-width: 38rem;
|
|
904
|
-
|
|
905
|
-
/* from legacy --modal-contents */
|
|
906
|
-
margin: 0 auto;
|
|
907
|
-
|
|
908
|
-
/* from legacy --modal-contents */
|
|
909
|
-
padding: 1rem;
|
|
910
|
-
|
|
911
|
-
/* from legacy --modal-contents */
|
|
912
|
-
border-radius: 0.5rem;
|
|
913
|
-
|
|
914
|
-
/* from legacy --modal-contents */
|
|
915
|
-
|
|
916
|
-
background-color: white;
|
|
917
|
-
}
|
|
918
|
-
._modal_page_contents_h7kfv_117 {
|
|
919
|
-
z-index: 1;
|
|
920
|
-
|
|
921
|
-
/* from legacy --modal-contents */
|
|
922
|
-
width: 100%;
|
|
923
|
-
|
|
924
|
-
/* from legacy --modal-contents */
|
|
925
|
-
max-width: 38rem;
|
|
926
|
-
|
|
927
|
-
/* from legacy --modal-contents */
|
|
928
|
-
margin: 0 auto;
|
|
929
|
-
|
|
930
|
-
/* from legacy --modal-contents */
|
|
931
|
-
padding: 1rem;
|
|
932
|
-
|
|
933
|
-
/* from legacy --modal-contents */
|
|
934
|
-
border-radius: 0.5rem;
|
|
935
|
-
|
|
936
|
-
/* from legacy --modal-contents */
|
|
937
|
-
|
|
938
|
-
background-color: white;
|
|
939
|
-
max-height: 100%;
|
|
940
|
-
overflow-y: auto;
|
|
941
|
-
padding-top: 1rem;
|
|
942
|
-
}
|
|
943
|
-
._modal_heading_h7kfv_143 {
|
|
944
|
-
font-size: 1.125rem;
|
|
945
|
-
font-size: var(--fs-header);
|
|
946
|
-
|
|
947
|
-
/* from legacy --font-header-dark */
|
|
948
|
-
font-weight: 600;
|
|
949
|
-
font-weight: var(--fw-semibold);
|
|
950
|
-
|
|
951
|
-
/* from legacy --font-header-dark */
|
|
952
|
-
color: #4a4a4a;
|
|
953
|
-
color: var(--c-font-dark);
|
|
954
|
-
|
|
955
|
-
/* from legacy --font-header-dark */
|
|
956
|
-
|
|
957
|
-
margin-top: 0;
|
|
958
|
-
margin-bottom: 1rem;
|
|
959
|
-
text-transform: capitalize;
|
|
960
|
-
}
|
|
961
|
-
._alert_modal_wrapper_h7kfv_159 {
|
|
962
|
-
position: relative;
|
|
963
|
-
max-height: 100%;
|
|
964
|
-
padding-top: 4rem;
|
|
965
|
-
border-radius: 0;
|
|
966
|
-
}
|
|
967
|
-
._alert_modal_heading_h7kfv_166._no_icon_heading_h7kfv_166 {
|
|
968
|
-
padding-left: 2rem;
|
|
969
|
-
}
|
|
970
|
-
._no_alert_header_h7kfv_170 {
|
|
971
|
-
padding-top: 1.5rem;
|
|
972
|
-
}
|
|
973
|
-
._spinner_modal_contents_h7kfv_174 {
|
|
974
|
-
/* from legacy --modal-contents */
|
|
975
|
-
width: 100%;
|
|
976
|
-
|
|
977
|
-
/* from legacy --modal-contents */
|
|
978
|
-
margin: 0 auto;
|
|
979
|
-
|
|
980
|
-
/* from legacy --modal-contents */
|
|
981
|
-
padding: 1rem;
|
|
982
|
-
|
|
983
|
-
/* from legacy --modal-contents */
|
|
984
|
-
border-radius: 0.5rem;
|
|
985
|
-
|
|
986
|
-
/* from legacy --modal-contents */
|
|
987
|
-
font-size: 0.875rem;
|
|
988
|
-
font-size: var(--fs-body-2);
|
|
989
|
-
|
|
990
|
-
/* from legacy --font-body-2-light */
|
|
991
|
-
font-weight: 400;
|
|
992
|
-
font-weight: var(--fw-regular);
|
|
993
|
-
|
|
994
|
-
/* from legacy --font-body-2-light */
|
|
995
|
-
color: white;
|
|
996
|
-
color: var(--c-font-light);
|
|
997
|
-
|
|
998
|
-
/* from legacy --font-body-2-light */
|
|
999
|
-
|
|
1000
|
-
max-width: 30rem;
|
|
1001
|
-
padding-top: 3rem;
|
|
1002
|
-
background-color: transparent;
|
|
1003
|
-
flex-direction: column;
|
|
1004
|
-
font-style: italic;
|
|
1005
|
-
text-align: center;
|
|
1006
|
-
z-index: 4;
|
|
1007
|
-
}
|
|
1008
|
-
._spinner_modal_icon_h7kfv_207 {
|
|
1009
|
-
width: 7.5rem;
|
|
1010
|
-
margin-bottom: 3rem;
|
|
1011
|
-
}
|
|
1012
|
-
._clickable_h7kfv_212 {
|
|
1013
|
-
cursor: pointer;
|
|
1014
|
-
}
|
|
1015
|
-
._alert_modal_h7kfv_159 {
|
|
1016
|
-
z-index: 10;
|
|
1017
|
-
}
|
|
1018
|
-
._alert_modal_overlay_h7kfv_220 {
|
|
1019
|
-
background-color: rgba(115, 115, 115, 0.9);
|
|
1020
|
-
}
|
|
1021
|
-
._alert_modal_contents_h7kfv_224 {
|
|
1022
|
-
font-size: 0.875rem;
|
|
1023
|
-
font-size: var(--fs-body-2);
|
|
1024
|
-
|
|
1025
|
-
/* from legacy --font-body-2-dark */
|
|
1026
|
-
font-weight: 400;
|
|
1027
|
-
font-weight: var(--fw-regular);
|
|
1028
|
-
|
|
1029
|
-
/* from legacy --font-body-2-dark */
|
|
1030
|
-
color: #4a4a4a;
|
|
1031
|
-
color: var(--c-font-dark);
|
|
1032
|
-
|
|
1033
|
-
/* from legacy --font-body-2-dark */
|
|
1034
|
-
|
|
1035
|
-
width: 100%;
|
|
1036
|
-
max-height: 100%;
|
|
1037
|
-
padding: 1rem;
|
|
1038
|
-
}
|
|
1039
|
-
._alert_modal_contents_h7kfv_224 > p {
|
|
1040
|
-
padding-bottom: 1rem;
|
|
1041
|
-
}
|
|
1042
|
-
._alert_modal_heading_h7kfv_166 {
|
|
1043
|
-
font-size: 1.125rem;
|
|
1044
|
-
font-size: var(--fs-header);
|
|
1045
|
-
|
|
1046
|
-
/* from legacy --font-header-dark */
|
|
1047
|
-
color: #4a4a4a;
|
|
1048
|
-
color: var(--c-font-dark);
|
|
1049
|
-
|
|
1050
|
-
/* from legacy --font-header-dark */
|
|
1051
|
-
|
|
1052
|
-
font-weight: normal;
|
|
1053
|
-
position: absolute;
|
|
1054
|
-
top: 0;
|
|
1055
|
-
left: 0;
|
|
1056
|
-
right: 0;
|
|
1057
|
-
display: flex;
|
|
1058
|
-
align-items: center;
|
|
1059
|
-
padding: 1rem;
|
|
1060
|
-
background-color: #e0e0e0;
|
|
1061
|
-
}
|
|
1062
|
-
._alert_modal_icon_h7kfv_263 {
|
|
1063
|
-
height: 1.125rem;
|
|
1064
|
-
margin-right: 0.75rem;
|
|
1065
|
-
}
|
|
1066
|
-
._alert_modal_buttons_h7kfv_268 {
|
|
1067
|
-
float: right;
|
|
1068
|
-
margin-top: 1rem;
|
|
1069
|
-
}
|
|
1070
|
-
._alert_button_h7kfv_273 {
|
|
1071
|
-
margin-left: 1rem;
|
|
1072
|
-
}/* TitleBar styles */
|
|
1073
|
-
/* opentrons style library */
|
|
1074
|
-
:root {
|
|
1075
|
-
/* ot brand */
|
|
1076
|
-
--c-mustard: #ffd252;
|
|
1077
|
-
--c-blue: #006cfa;
|
|
1078
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
1079
|
-
|
|
1080
|
-
/*
|
|
1081
|
-
* grays
|
|
1082
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
1083
|
-
*/
|
|
1084
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
1085
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
1086
|
-
--c-charcoal: #979797;
|
|
1087
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
1088
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
1089
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
1090
|
-
|
|
1091
|
-
/*
|
|
1092
|
-
* background colors
|
|
1093
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
1094
|
-
*/
|
|
1095
|
-
--c-bg-dark: #4a4a4a;
|
|
1096
|
-
--c-bg-light: #fafafa;
|
|
1097
|
-
--c-bg-selected: #f0f3ff;
|
|
1098
|
-
--c-bg-hover: #f1f1f1;
|
|
1099
|
-
--c-bg-success: #b6febc;
|
|
1100
|
-
|
|
1101
|
-
/* general UI */
|
|
1102
|
-
--c-highlight: #5fd8ee;
|
|
1103
|
-
--c-selected-dark: #00c3e6;
|
|
1104
|
-
--c-warning-dark: #9e5e00;
|
|
1105
|
-
--c-warning: #e28200;
|
|
1106
|
-
--c-warning-light: #ffd58f;
|
|
1107
|
-
--c-error-dark: #ac0505;
|
|
1108
|
-
--c-error: #d12929;
|
|
1109
|
-
--c-error-light: #ffc0c0;
|
|
1110
|
-
--c-success: #60b120;
|
|
1111
|
-
--c-blue-enabled: #006cfa;
|
|
1112
|
-
--c-light-grey-hover: #c6c6c6;
|
|
1113
|
-
|
|
1114
|
-
/* Misc */
|
|
1115
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
1116
|
-
--c-plate-bg: #ccc;
|
|
1117
|
-
--c-white: #fff;
|
|
1118
|
-
--c-black: #000;
|
|
1119
|
-
--c-green: #7ed321;
|
|
1120
|
-
--c-red: #f00000;
|
|
1121
|
-
--c-orange: #f5a623;
|
|
1122
|
-
|
|
1123
|
-
--transition-color: {
|
|
1124
|
-
transition: color 0.15s ease-in-out;
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
--transition-background-color: {
|
|
1128
|
-
transition: background-color 0.15s ease-in-out;
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
:root {
|
|
1132
|
-
--c-font-dark: #4a4a4a;
|
|
1133
|
-
--c-font-icon: #6f6f6f;
|
|
1134
|
-
--c-font-light: white;
|
|
1135
|
-
--c-font-disabled: #9c9c9c;
|
|
1136
|
-
--fs-huge: 3rem;
|
|
1137
|
-
--fs-header: 1.125rem;
|
|
1138
|
-
--fs-default: 1rem;
|
|
1139
|
-
--fs-body-2: 0.875rem;
|
|
1140
|
-
--fs-body-1: 0.75rem;
|
|
1141
|
-
--fs-caption: 0.625rem;
|
|
1142
|
-
--fs-tiny: 0.325rem;
|
|
1143
|
-
--fs-micro: 0.2rem;
|
|
1144
|
-
--fw-bold: 800;
|
|
1145
|
-
--fw-semibold: 600;
|
|
1146
|
-
--fw-regular: 400;
|
|
1147
|
-
--fw-light: 300;
|
|
1148
|
-
--ff-code: Consolas, monaco, monospace;
|
|
1149
|
-
--lh-solid: 1;
|
|
1150
|
-
--lh-title: 1.25;
|
|
1151
|
-
--lh-copy: 1.5;
|
|
1152
|
-
}
|
|
1153
|
-
:root {
|
|
1154
|
-
/* borders */
|
|
1155
|
-
--bd-radius-default: 2px;
|
|
1156
|
-
--bd-radius-form-field: 3px;
|
|
1157
|
-
--bd-radius-pill: 12px;
|
|
1158
|
-
--bd-width-default: 1px;
|
|
1159
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
1160
|
-
|
|
1161
|
-
/* dropshadows */
|
|
1162
|
-
|
|
1163
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
1164
|
-
--shadow-lvl-1:
|
|
1165
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
1166
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
1167
|
-
--shadow-lvl-2:
|
|
1168
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
1169
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
1170
|
-
}
|
|
1171
|
-
* {
|
|
1172
|
-
box-sizing: border-box;
|
|
1173
|
-
}
|
|
1174
|
-
._title_bar_1lfcn_4 {
|
|
1175
|
-
display: flex;
|
|
1176
|
-
align-items: center;
|
|
1177
|
-
height: 3rem;
|
|
1178
|
-
text-transform: uppercase;
|
|
1179
|
-
background-color: #4a4a4a;
|
|
1180
|
-
background-color: var(--c-dark-gray);
|
|
1181
|
-
}
|
|
1182
|
-
._title_bar_1lfcn_4,
|
|
1183
|
-
._title_bar_1lfcn_4 a {
|
|
1184
|
-
color: white;
|
|
1185
|
-
}
|
|
1186
|
-
._title_1lfcn_4,
|
|
1187
|
-
._subtitle_1lfcn_18,
|
|
1188
|
-
._separator_1lfcn_19 {
|
|
1189
|
-
font-size: 1.125rem;
|
|
1190
|
-
font-size: var(--fs-header);
|
|
1191
|
-
margin: 0;
|
|
1192
|
-
}
|
|
1193
|
-
._title_1lfcn_4,
|
|
1194
|
-
._separator_1lfcn_19 {
|
|
1195
|
-
font-weight: 600;
|
|
1196
|
-
font-weight: var(--fw-semibold);
|
|
1197
|
-
}
|
|
1198
|
-
._title_1lfcn_4 {
|
|
1199
|
-
white-space: nowrap; /* from legacy --truncate */
|
|
1200
|
-
overflow: hidden; /* from legacy --truncate */
|
|
1201
|
-
text-overflow: ellipsis; /* from legacy --truncate */
|
|
1202
|
-
min-width: 0; /* from legacy --truncate */
|
|
1203
|
-
padding: 0 1.5rem;
|
|
1204
|
-
}
|
|
1205
|
-
._subtitle_1lfcn_18 {
|
|
1206
|
-
padding: 0 1.5rem;
|
|
1207
|
-
font-weight: normal;
|
|
1208
|
-
}
|
|
1209
|
-
._title_1lfcn_4._right_1lfcn_42 {
|
|
1210
|
-
margin-left: auto;
|
|
1211
|
-
}
|
|
1212
|
-
._title_button_1lfcn_46 {
|
|
1213
|
-
flex: none;
|
|
1214
|
-
}
|
|
1215
|
-
._page_tabs_1lfcn_50 {
|
|
1216
|
-
width: 100%;
|
|
1217
|
-
text-align: center;
|
|
1218
|
-
}
|
|
1219
|
-
._tab_link_1lfcn_55 {
|
|
1220
|
-
display: inline-block;
|
|
1221
|
-
width: 50%;
|
|
1222
|
-
padding: 0.25rem 0;
|
|
1223
|
-
font-size: 3rem;
|
|
1224
|
-
font-size: var(--fs-huge);
|
|
1225
|
-
opacity: 0.2;
|
|
1226
|
-
background-color: #9b9b9b;
|
|
1227
|
-
background-color: var(--c-med-gray);
|
|
1228
|
-
color: white;
|
|
1229
|
-
text-transform: uppercase;
|
|
1230
|
-
}
|
|
1231
|
-
._active_tab_link_1lfcn_66 {
|
|
1232
|
-
opacity: 1;
|
|
1233
|
-
}
|
|
1234
|
-
._tab_title_1lfcn_70 {
|
|
1235
|
-
font-weight: normal;
|
|
1236
|
-
}
|
|
1237
|
-
._active_tab_link_1lfcn_66 ._tab_title_1lfcn_70 {
|
|
1238
|
-
font-weight: 800;
|
|
1239
|
-
font-weight: var(--fw-bold);
|
|
1240
|
-
}
|
|
1241
|
-
._disabled_1lfcn_78 {
|
|
1242
|
-
pointer-events: none;
|
|
1243
|
-
background-color: transparent;
|
|
1244
|
-
}
|
|
1245
|
-
._disabled_1lfcn_78 * {
|
|
1246
|
-
color: #9c9c9c;
|
|
1247
|
-
color: var(--c-font-disabled);
|
|
1248
|
-
fill: #9c9c9c;
|
|
1249
|
-
fill: var(--c-font-disabled);
|
|
1250
|
-
background-color: transparent;
|
|
1251
|
-
}
|
|
1252
|
-
._labeled_value_1lfcn_89 {
|
|
1253
|
-
font-size: 0.75rem;
|
|
1254
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
1255
|
-
font-weight: 400;
|
|
1256
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
|
|
1257
|
-
color: #4a4a4a;
|
|
1258
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
1259
|
-
line-height: 1.5;
|
|
1260
|
-
}
|
|
1261
|
-
._labeled_value_1lfcn_89 svg {
|
|
1262
|
-
height: 0.875rem;
|
|
1263
|
-
height: var(--fs-body-2);
|
|
1264
|
-
}
|
|
1265
|
-
._labeled_value_label_1lfcn_100 {
|
|
1266
|
-
font-weight: 600;
|
|
1267
|
-
font-weight: var(--fw-semibold);
|
|
1268
|
-
margin-top: 0;
|
|
1269
|
-
margin-bottom: 0.25rem;
|
|
1270
|
-
}
|
|
1271
|
-
._labeled_value_value_1lfcn_106 {
|
|
1272
|
-
margin: 0;
|
|
1273
|
-
}
|
|
1274
|
-
._right_node_1lfcn_110 {
|
|
1275
|
-
display: flex;
|
|
1276
|
-
justify-content: flex-end;
|
|
1277
|
-
margin-left: auto;
|
|
1278
|
-
}
|
|
1279
|
-
/* opentrons style library */
|
|
1280
|
-
|
|
1281
|
-
:root {
|
|
1282
|
-
/* ot brand */
|
|
1283
|
-
--c-mustard: #ffd252;
|
|
1284
|
-
--c-blue: #006cfa;
|
|
1285
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
1286
|
-
|
|
1287
|
-
/*
|
|
1288
|
-
* grays
|
|
1289
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
1290
|
-
*/
|
|
1291
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
1292
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
1293
|
-
--c-charcoal: #979797;
|
|
1294
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
1295
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
1296
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
1297
|
-
|
|
1298
|
-
/*
|
|
1299
|
-
* background colors
|
|
1300
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
1301
|
-
*/
|
|
1302
|
-
--c-bg-dark: #4a4a4a;
|
|
1303
|
-
--c-bg-light: #fafafa;
|
|
1304
|
-
--c-bg-selected: #f0f3ff;
|
|
1305
|
-
--c-bg-hover: #f1f1f1;
|
|
1306
|
-
--c-bg-success: #b6febc;
|
|
1307
|
-
|
|
1308
|
-
/* general UI */
|
|
1309
|
-
--c-highlight: #5fd8ee;
|
|
1310
|
-
--c-selected-dark: #00c3e6;
|
|
1311
|
-
--c-warning-dark: #9e5e00;
|
|
1312
|
-
--c-warning: #e28200;
|
|
1313
|
-
--c-warning-light: #ffd58f;
|
|
1314
|
-
--c-error-dark: #ac0505;
|
|
1315
|
-
--c-error: #d12929;
|
|
1316
|
-
--c-error-light: #ffc0c0;
|
|
1317
|
-
--c-success: #60b120;
|
|
1318
|
-
--c-blue-enabled: #006cfa;
|
|
1319
|
-
--c-light-grey-hover: #c6c6c6;
|
|
1320
|
-
|
|
1321
|
-
/* Misc */
|
|
1322
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
1323
|
-
--c-plate-bg: #ccc;
|
|
1324
|
-
--c-white: #fff;
|
|
1325
|
-
--c-black: #000;
|
|
1326
|
-
--c-green: #7ed321;
|
|
1327
|
-
--c-red: #f00000;
|
|
1328
|
-
--c-orange: #f5a623;
|
|
1329
|
-
|
|
1330
|
-
--transition-color: {
|
|
1331
|
-
transition: color 0.15s ease-in-out;
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
--transition-background-color: {
|
|
1335
|
-
transition: background-color 0.15s ease-in-out;
|
|
1336
|
-
}
|
|
1337
|
-
}
|
|
1338
|
-
|
|
1339
|
-
:root {
|
|
1340
|
-
--c-font-dark: #4a4a4a;
|
|
1341
|
-
--c-font-icon: #6f6f6f;
|
|
1342
|
-
--c-font-light: white;
|
|
1343
|
-
--c-font-disabled: #9c9c9c;
|
|
1344
|
-
--fs-huge: 3rem;
|
|
1345
|
-
--fs-header: 1.125rem;
|
|
1346
|
-
--fs-default: 1rem;
|
|
1347
|
-
--fs-body-2: 0.875rem;
|
|
1348
|
-
--fs-body-1: 0.75rem;
|
|
1349
|
-
--fs-caption: 0.625rem;
|
|
1350
|
-
--fs-tiny: 0.325rem;
|
|
1351
|
-
--fs-micro: 0.2rem;
|
|
1352
|
-
--fw-bold: 800;
|
|
1353
|
-
--fw-semibold: 600;
|
|
1354
|
-
--fw-regular: 400;
|
|
1355
|
-
--fw-light: 300;
|
|
1356
|
-
--ff-code: Consolas, monaco, monospace;
|
|
1357
|
-
--lh-solid: 1;
|
|
1358
|
-
--lh-title: 1.25;
|
|
1359
|
-
--lh-copy: 1.5;
|
|
1360
|
-
}
|
|
1361
|
-
|
|
1362
|
-
:root {
|
|
1363
|
-
/* borders */
|
|
1364
|
-
--bd-radius-default: 2px;
|
|
1365
|
-
--bd-radius-form-field: 3px;
|
|
1366
|
-
--bd-radius-pill: 12px;
|
|
1367
|
-
--bd-width-default: 1px;
|
|
1368
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
1369
|
-
|
|
1370
|
-
/* dropshadows */
|
|
1371
|
-
|
|
1372
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
1373
|
-
--shadow-lvl-1:
|
|
1374
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
1375
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
1376
|
-
--shadow-lvl-2:
|
|
1377
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
1378
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
1379
|
-
}
|
|
1380
|
-
|
|
1381
|
-
* {
|
|
1382
|
-
box-sizing: border-box;
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
._splash_yl85l_3 {
|
|
1386
|
-
position: relative;
|
|
1387
|
-
width: 100%;
|
|
1388
|
-
height: 100%;
|
|
1389
|
-
color: #e5e2e2;
|
|
1390
|
-
color: var(--c-light-gray);
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
._splash_yl85l_3 > * {
|
|
1394
|
-
position: absolute;
|
|
1395
|
-
top: 50%;
|
|
1396
|
-
left: 50%;
|
|
1397
|
-
transform: translate(-50%, -50%);
|
|
1398
|
-
max-height: 100%;
|
|
1399
|
-
}
|
|
1400
|
-
/* opentrons style library */
|
|
1401
|
-
|
|
1402
|
-
:root {
|
|
1403
|
-
/* ot brand */
|
|
1404
|
-
--c-mustard: #ffd252;
|
|
1405
|
-
--c-blue: #006cfa;
|
|
1406
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
1407
|
-
|
|
1408
|
-
/*
|
|
1409
|
-
* grays
|
|
1410
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
1411
|
-
*/
|
|
1412
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
1413
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
1414
|
-
--c-charcoal: #979797;
|
|
1415
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
1416
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
1417
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
1418
|
-
|
|
1419
|
-
/*
|
|
1420
|
-
* background colors
|
|
1421
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
1422
|
-
*/
|
|
1423
|
-
--c-bg-dark: #4a4a4a;
|
|
1424
|
-
--c-bg-light: #fafafa;
|
|
1425
|
-
--c-bg-selected: #f0f3ff;
|
|
1426
|
-
--c-bg-hover: #f1f1f1;
|
|
1427
|
-
--c-bg-success: #b6febc;
|
|
1428
|
-
|
|
1429
|
-
/* general UI */
|
|
1430
|
-
--c-highlight: #5fd8ee;
|
|
1431
|
-
--c-selected-dark: #00c3e6;
|
|
1432
|
-
--c-warning-dark: #9e5e00;
|
|
1433
|
-
--c-warning: #e28200;
|
|
1434
|
-
--c-warning-light: #ffd58f;
|
|
1435
|
-
--c-error-dark: #ac0505;
|
|
1436
|
-
--c-error: #d12929;
|
|
1437
|
-
--c-error-light: #ffc0c0;
|
|
1438
|
-
--c-success: #60b120;
|
|
1439
|
-
--c-blue-enabled: #006cfa;
|
|
1440
|
-
--c-light-grey-hover: #c6c6c6;
|
|
1441
|
-
|
|
1442
|
-
/* Misc */
|
|
1443
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
1444
|
-
--c-plate-bg: #ccc;
|
|
1445
|
-
--c-white: #fff;
|
|
1446
|
-
--c-black: #000;
|
|
1447
|
-
--c-green: #7ed321;
|
|
1448
|
-
--c-red: #f00000;
|
|
1449
|
-
--c-orange: #f5a623;
|
|
1450
|
-
|
|
1451
|
-
--transition-color: {
|
|
1452
|
-
transition: color 0.15s ease-in-out;
|
|
1453
|
-
}
|
|
1454
|
-
|
|
1455
|
-
--transition-background-color: {
|
|
1456
|
-
transition: background-color 0.15s ease-in-out;
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
:root {
|
|
1461
|
-
--c-font-dark: #4a4a4a;
|
|
1462
|
-
--c-font-icon: #6f6f6f;
|
|
1463
|
-
--c-font-light: white;
|
|
1464
|
-
--c-font-disabled: #9c9c9c;
|
|
1465
|
-
--fs-huge: 3rem;
|
|
1466
|
-
--fs-header: 1.125rem;
|
|
1467
|
-
--fs-default: 1rem;
|
|
1468
|
-
--fs-body-2: 0.875rem;
|
|
1469
|
-
--fs-body-1: 0.75rem;
|
|
1470
|
-
--fs-caption: 0.625rem;
|
|
1471
|
-
--fs-tiny: 0.325rem;
|
|
1472
|
-
--fs-micro: 0.2rem;
|
|
1473
|
-
--fw-bold: 800;
|
|
1474
|
-
--fw-semibold: 600;
|
|
1475
|
-
--fw-regular: 400;
|
|
1476
|
-
--fw-light: 300;
|
|
1477
|
-
--ff-code: Consolas, monaco, monospace;
|
|
1478
|
-
--lh-solid: 1;
|
|
1479
|
-
--lh-title: 1.25;
|
|
1480
|
-
--lh-copy: 1.5;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
:root {
|
|
1484
|
-
/* borders */
|
|
1485
|
-
--bd-radius-default: 2px;
|
|
1486
|
-
--bd-radius-form-field: 3px;
|
|
1487
|
-
--bd-radius-pill: 12px;
|
|
1488
|
-
--bd-width-default: 1px;
|
|
1489
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
1490
|
-
|
|
1491
|
-
/* dropshadows */
|
|
1492
|
-
|
|
1493
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
1494
|
-
--shadow-lvl-1:
|
|
1495
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
1496
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
1497
|
-
--shadow-lvl-2:
|
|
1498
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
1499
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
* {
|
|
1503
|
-
box-sizing: border-box;
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
._pill_11mvp_3 {
|
|
1507
|
-
border-radius: 12px;
|
|
1508
|
-
border-radius: var(--bd-radius-pill);
|
|
1509
|
-
color: #fff;
|
|
1510
|
-
color: var(--c-white);
|
|
1511
|
-
padding: 0.5em;
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1514
|
-
._pill_11mvp_3:empty::before {
|
|
1515
|
-
/* zero width space to give empty pill the same line height */
|
|
1516
|
-
content: "\200b";
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
|
-
._invert_text_11mvp_14 {
|
|
1520
|
-
color: #000;
|
|
1521
|
-
color: var(--c-black);
|
|
1522
|
-
}
|
|
1523
|
-
/* opentrons style library */
|
|
1524
|
-
|
|
1525
|
-
:root {
|
|
1526
|
-
/* ot brand */
|
|
1527
|
-
--c-mustard: #ffd252;
|
|
1528
|
-
--c-blue: #006cfa;
|
|
1529
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
1530
|
-
|
|
1531
|
-
/*
|
|
1532
|
-
* grays
|
|
1533
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
1534
|
-
*/
|
|
1535
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
1536
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
1537
|
-
--c-charcoal: #979797;
|
|
1538
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
1539
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
1540
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
1541
|
-
|
|
1542
|
-
/*
|
|
1543
|
-
* background colors
|
|
1544
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
1545
|
-
*/
|
|
1546
|
-
--c-bg-dark: #4a4a4a;
|
|
1547
|
-
--c-bg-light: #fafafa;
|
|
1548
|
-
--c-bg-selected: #f0f3ff;
|
|
1549
|
-
--c-bg-hover: #f1f1f1;
|
|
1550
|
-
--c-bg-success: #b6febc;
|
|
1551
|
-
|
|
1552
|
-
/* general UI */
|
|
1553
|
-
--c-highlight: #5fd8ee;
|
|
1554
|
-
--c-selected-dark: #00c3e6;
|
|
1555
|
-
--c-warning-dark: #9e5e00;
|
|
1556
|
-
--c-warning: #e28200;
|
|
1557
|
-
--c-warning-light: #ffd58f;
|
|
1558
|
-
--c-error-dark: #ac0505;
|
|
1559
|
-
--c-error: #d12929;
|
|
1560
|
-
--c-error-light: #ffc0c0;
|
|
1561
|
-
--c-success: #60b120;
|
|
1562
|
-
--c-blue-enabled: #006cfa;
|
|
1563
|
-
--c-light-grey-hover: #c6c6c6;
|
|
1564
|
-
|
|
1565
|
-
/* Misc */
|
|
1566
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
1567
|
-
--c-plate-bg: #ccc;
|
|
1568
|
-
--c-white: #fff;
|
|
1569
|
-
--c-black: #000;
|
|
1570
|
-
--c-green: #7ed321;
|
|
1571
|
-
--c-red: #f00000;
|
|
1572
|
-
--c-orange: #f5a623;
|
|
1573
|
-
|
|
1574
|
-
--transition-color: {
|
|
1575
|
-
transition: color 0.15s ease-in-out;
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
--transition-background-color: {
|
|
1579
|
-
transition: background-color 0.15s ease-in-out;
|
|
1580
|
-
}
|
|
1581
|
-
}
|
|
1582
|
-
|
|
1583
|
-
:root {
|
|
1584
|
-
--c-font-dark: #4a4a4a;
|
|
1585
|
-
--c-font-icon: #6f6f6f;
|
|
1586
|
-
--c-font-light: white;
|
|
1587
|
-
--c-font-disabled: #9c9c9c;
|
|
1588
|
-
--fs-huge: 3rem;
|
|
1589
|
-
--fs-header: 1.125rem;
|
|
1590
|
-
--fs-default: 1rem;
|
|
1591
|
-
--fs-body-2: 0.875rem;
|
|
1592
|
-
--fs-body-1: 0.75rem;
|
|
1593
|
-
--fs-caption: 0.625rem;
|
|
1594
|
-
--fs-tiny: 0.325rem;
|
|
1595
|
-
--fs-micro: 0.2rem;
|
|
1596
|
-
--fw-bold: 800;
|
|
1597
|
-
--fw-semibold: 600;
|
|
1598
|
-
--fw-regular: 400;
|
|
1599
|
-
--fw-light: 300;
|
|
1600
|
-
--ff-code: Consolas, monaco, monospace;
|
|
1601
|
-
--lh-solid: 1;
|
|
1602
|
-
--lh-title: 1.25;
|
|
1603
|
-
--lh-copy: 1.5;
|
|
1604
|
-
}
|
|
1605
|
-
|
|
1606
|
-
:root {
|
|
1607
|
-
/* borders */
|
|
1608
|
-
--bd-radius-default: 2px;
|
|
1609
|
-
--bd-radius-form-field: 3px;
|
|
1610
|
-
--bd-radius-pill: 12px;
|
|
1611
|
-
--bd-width-default: 1px;
|
|
1612
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
1613
|
-
|
|
1614
|
-
/* dropshadows */
|
|
1615
|
-
|
|
1616
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
1617
|
-
--shadow-lvl-1:
|
|
1618
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
1619
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
1620
|
-
--shadow-lvl-2:
|
|
1621
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
1622
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
1623
|
-
}
|
|
1624
|
-
|
|
1625
|
-
* {
|
|
1626
|
-
box-sizing: border-box;
|
|
1627
|
-
}
|
|
1628
|
-
|
|
1629
|
-
._alert_15d5j_3 {
|
|
1630
|
-
font-size: 0.875rem;
|
|
1631
|
-
font-size: var(--fs-body-2);
|
|
1632
|
-
font-weight: 400;
|
|
1633
|
-
font-weight: var(--fw-regular);
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
|
-
._alert_15d5j_3:not(:first-of-type) {
|
|
1637
|
-
border-top: none;
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
._title_bar_15d5j_12 {
|
|
1641
|
-
display: flex;
|
|
1642
|
-
flex-direction: row;
|
|
1643
|
-
justify-content: space-between;
|
|
1644
|
-
align-items: center;
|
|
1645
|
-
padding: 0.5rem 1rem;
|
|
1646
|
-
font-weight: 600;
|
|
1647
|
-
font-weight: var(--fw-semibold);
|
|
1648
|
-
}
|
|
1649
|
-
|
|
1650
|
-
._title_15d5j_12 {
|
|
1651
|
-
width: 100%;
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
._success_15d5j_25 {
|
|
1655
|
-
border: 1px solid #60b120;
|
|
1656
|
-
border: 1px solid var(--c-success);
|
|
1657
|
-
}
|
|
1658
|
-
|
|
1659
|
-
._success_15d5j_25 > ._title_bar_15d5j_12 {
|
|
1660
|
-
background-color: #b6febc;
|
|
1661
|
-
background-color: var(--c-bg-success);
|
|
1662
|
-
color: #60b120;
|
|
1663
|
-
color: var(--c-success);
|
|
1664
|
-
}
|
|
1665
|
-
|
|
1666
|
-
._success_15d5j_25 > ._title_bar_15d5j_12 svg {
|
|
1667
|
-
color: #60b120;
|
|
1668
|
-
color: var(--c-success);
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
._info_15d5j_38 {
|
|
1672
|
-
border: 1px solid #5fd8ee;
|
|
1673
|
-
border: 1px solid var(--c-highlight);
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
._info_15d5j_38 > ._title_bar_15d5j_12 {
|
|
1677
|
-
background-color: #f0f3ff;
|
|
1678
|
-
background-color: var(--c-bg-selected);
|
|
1679
|
-
color: #00c3e6;
|
|
1680
|
-
color: var(--c-selected-dark);
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
._info_15d5j_38 > ._title_bar_15d5j_12 svg {
|
|
1684
|
-
color: #5fd8ee;
|
|
1685
|
-
color: var(--c-highlight);
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
._warning_15d5j_51 {
|
|
1689
|
-
border: 1px solid #e28200;
|
|
1690
|
-
border: 1px solid var(--c-warning);
|
|
1691
|
-
}
|
|
1692
|
-
|
|
1693
|
-
._warning_15d5j_51 > ._title_bar_15d5j_12 {
|
|
1694
|
-
background-color: #ffd58f;
|
|
1695
|
-
background-color: var(--c-warning-light);
|
|
1696
|
-
color: #9e5e00;
|
|
1697
|
-
color: var(--c-warning-dark);
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
._warning_15d5j_51 > ._title_bar_15d5j_12 svg {
|
|
1701
|
-
fill: #e28200;
|
|
1702
|
-
fill: var(--c-warning);
|
|
1703
|
-
}
|
|
1704
|
-
|
|
1705
|
-
._error_15d5j_64 {
|
|
1706
|
-
border: 1px solid #d12929;
|
|
1707
|
-
border: 1px solid var(--c-error);
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
|
-
._error_15d5j_64 > ._title_bar_15d5j_12 {
|
|
1711
|
-
background-color: #ffc0c0;
|
|
1712
|
-
background-color: var(--c-error-light);
|
|
1713
|
-
color: #ac0505;
|
|
1714
|
-
color: var(--c-error-dark);
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
._error_15d5j_64 > ._title_bar_15d5j_12 svg {
|
|
1718
|
-
fill: #d12929;
|
|
1719
|
-
fill: var(--c-error);
|
|
1720
|
-
}
|
|
1721
|
-
|
|
1722
|
-
._message_15d5j_77 {
|
|
1723
|
-
padding: 1rem 3rem;
|
|
1724
|
-
background-color: white;
|
|
1725
|
-
}
|
|
1726
|
-
|
|
1727
|
-
._message_15d5j_77 a {
|
|
1728
|
-
-webkit-text-decoration: underline;
|
|
1729
|
-
text-decoration: underline;
|
|
1730
|
-
color: inherit;
|
|
1731
|
-
}
|
|
1732
|
-
|
|
1733
|
-
._message_15d5j_77:empty {
|
|
1734
|
-
padding: 0;
|
|
1735
|
-
}
|
|
1736
|
-
|
|
1737
|
-
._icon_15d5j_91 {
|
|
1738
|
-
width: 1.5rem;
|
|
1739
|
-
margin-right: 0.5rem;
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
|
-
._close_15d5j_96 {
|
|
1743
|
-
width: 2rem;
|
|
1744
|
-
padding: 0.125rem;
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
._close_15d5j_96:hover {
|
|
1748
|
-
background-color: rgba(100, 100, 100, 0.1);
|
|
1749
|
-
}
|
|
1750
|
-
/* opentrons style library */
|
|
1751
|
-
|
|
1752
|
-
:root {
|
|
1753
|
-
/* ot brand */
|
|
1754
|
-
--c-mustard: #ffd252;
|
|
1755
|
-
--c-blue: #006cfa;
|
|
1756
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
1757
|
-
|
|
1758
|
-
/*
|
|
1759
|
-
* grays
|
|
1760
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
1761
|
-
*/
|
|
1762
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
1763
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
1764
|
-
--c-charcoal: #979797;
|
|
1765
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
1766
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
1767
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
1768
|
-
|
|
1769
|
-
/*
|
|
1770
|
-
* background colors
|
|
1771
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
1772
|
-
*/
|
|
1773
|
-
--c-bg-dark: #4a4a4a;
|
|
1774
|
-
--c-bg-light: #fafafa;
|
|
1775
|
-
--c-bg-selected: #f0f3ff;
|
|
1776
|
-
--c-bg-hover: #f1f1f1;
|
|
1777
|
-
--c-bg-success: #b6febc;
|
|
1778
|
-
|
|
1779
|
-
/* general UI */
|
|
1780
|
-
--c-highlight: #5fd8ee;
|
|
1781
|
-
--c-selected-dark: #00c3e6;
|
|
1782
|
-
--c-warning-dark: #9e5e00;
|
|
1783
|
-
--c-warning: #e28200;
|
|
1784
|
-
--c-warning-light: #ffd58f;
|
|
1785
|
-
--c-error-dark: #ac0505;
|
|
1786
|
-
--c-error: #d12929;
|
|
1787
|
-
--c-error-light: #ffc0c0;
|
|
1788
|
-
--c-success: #60b120;
|
|
1789
|
-
--c-blue-enabled: #006cfa;
|
|
1790
|
-
--c-light-grey-hover: #c6c6c6;
|
|
1791
|
-
|
|
1792
|
-
/* Misc */
|
|
1793
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
1794
|
-
--c-plate-bg: #ccc;
|
|
1795
|
-
--c-white: #fff;
|
|
1796
|
-
--c-black: #000;
|
|
1797
|
-
--c-green: #7ed321;
|
|
1798
|
-
--c-red: #f00000;
|
|
1799
|
-
--c-orange: #f5a623;
|
|
1800
|
-
|
|
1801
|
-
--transition-color: {
|
|
1802
|
-
transition: color 0.15s ease-in-out;
|
|
1803
|
-
}
|
|
1804
|
-
|
|
1805
|
-
--transition-background-color: {
|
|
1806
|
-
transition: background-color 0.15s ease-in-out;
|
|
1807
|
-
}
|
|
1808
|
-
}
|
|
1809
|
-
|
|
1810
|
-
:root {
|
|
1811
|
-
--c-font-dark: #4a4a4a;
|
|
1812
|
-
--c-font-icon: #6f6f6f;
|
|
1813
|
-
--c-font-light: white;
|
|
1814
|
-
--c-font-disabled: #9c9c9c;
|
|
1815
|
-
--fs-huge: 3rem;
|
|
1816
|
-
--fs-header: 1.125rem;
|
|
1817
|
-
--fs-default: 1rem;
|
|
1818
|
-
--fs-body-2: 0.875rem;
|
|
1819
|
-
--fs-body-1: 0.75rem;
|
|
1820
|
-
--fs-caption: 0.625rem;
|
|
1821
|
-
--fs-tiny: 0.325rem;
|
|
1822
|
-
--fs-micro: 0.2rem;
|
|
1823
|
-
--fw-bold: 800;
|
|
1824
|
-
--fw-semibold: 600;
|
|
1825
|
-
--fw-regular: 400;
|
|
1826
|
-
--fw-light: 300;
|
|
1827
|
-
--ff-code: Consolas, monaco, monospace;
|
|
1828
|
-
--lh-solid: 1;
|
|
1829
|
-
--lh-title: 1.25;
|
|
1830
|
-
--lh-copy: 1.5;
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
:root {
|
|
1834
|
-
/* borders */
|
|
1835
|
-
--bd-radius-default: 2px;
|
|
1836
|
-
--bd-radius-form-field: 3px;
|
|
1837
|
-
--bd-radius-pill: 12px;
|
|
1838
|
-
--bd-width-default: 1px;
|
|
1839
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
1840
|
-
|
|
1841
|
-
/* dropshadows */
|
|
1842
|
-
|
|
1843
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
1844
|
-
--shadow-lvl-1:
|
|
1845
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
1846
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
1847
|
-
--shadow-lvl-2:
|
|
1848
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
1849
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1852
|
-
* {
|
|
1853
|
-
box-sizing: border-box;
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
:root {
|
|
1857
|
-
--mw-labeled-toggle: 25rem;
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
/* Toggle Button */
|
|
1861
|
-
|
|
1862
|
-
._toggled_on_yhddc_8 {
|
|
1863
|
-
fill: #0ec9eb;
|
|
1864
|
-
color: #0ec9eb;
|
|
1865
|
-
}
|
|
1866
|
-
|
|
1867
|
-
._toggled_off_yhddc_13 {
|
|
1868
|
-
fill: #4a4a4a;
|
|
1869
|
-
fill: var(--c-dark-gray);
|
|
1870
|
-
}
|
|
1871
|
-
|
|
1872
|
-
._labeled_control_wrapper_yhddc_17 {
|
|
1873
|
-
width: 100%;
|
|
1874
|
-
padding: 1rem;
|
|
1875
|
-
display: block;
|
|
1876
|
-
}
|
|
1877
|
-
|
|
1878
|
-
._labeled_control_wrapper_yhddc_17:not(:last-child) {
|
|
1879
|
-
border-bottom: 1px solid #e5e2e2;
|
|
1880
|
-
border-bottom: 1px solid var(--c-light-gray);
|
|
1881
|
-
}
|
|
1882
|
-
|
|
1883
|
-
._labeled_control_yhddc_17 {
|
|
1884
|
-
display: block;
|
|
1885
|
-
}
|
|
1886
|
-
|
|
1887
|
-
._stacked_labeled_control_yhddc_31 {
|
|
1888
|
-
display: block;
|
|
1889
|
-
margin-left: 1rem;
|
|
1890
|
-
margin-top: 0.5rem;
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
._stacked_labeled_control_label_yhddc_37 {
|
|
1894
|
-
font-size: 0.75rem;
|
|
1895
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
1896
|
-
color: #4a4a4a;
|
|
1897
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
1898
|
-
display: inline-block;
|
|
1899
|
-
font-weight: 600;
|
|
1900
|
-
font-weight: var(--fw-semibold);
|
|
1901
|
-
}
|
|
1902
|
-
|
|
1903
|
-
._labeled_control_label_yhddc_44 {
|
|
1904
|
-
font-size: 0.75rem;
|
|
1905
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
1906
|
-
color: #4a4a4a;
|
|
1907
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
1908
|
-
max-width: 25rem;
|
|
1909
|
-
max-width: var(--mw-labeled-toggle);
|
|
1910
|
-
display: inline-block;
|
|
1911
|
-
font-weight: 600;
|
|
1912
|
-
font-weight: var(--fw-semibold);
|
|
1913
|
-
}
|
|
1914
|
-
|
|
1915
|
-
._labeled_toggle_button_yhddc_52 {
|
|
1916
|
-
float: right;
|
|
1917
|
-
width: 2rem;
|
|
1918
|
-
margin-right: 1rem;
|
|
1919
|
-
padding: 0;
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
._labeled_toggle_button_yhddc_52:hover {
|
|
1923
|
-
background-color: transparent;
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
._labeled_button_yhddc_63,
|
|
1927
|
-
._labeled_select_yhddc_64 {
|
|
1928
|
-
float: right;
|
|
1929
|
-
width: 9rem;
|
|
1930
|
-
margin-top: 0.5rem;
|
|
1931
|
-
}
|
|
1932
|
-
|
|
1933
|
-
._labeled_select_yhddc_64 {
|
|
1934
|
-
font-size: 0.875rem;
|
|
1935
|
-
font-size: var(--fs-body-2); /* from legacy --font-body-2-dark */
|
|
1936
|
-
font-weight: 400;
|
|
1937
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-2-dark */
|
|
1938
|
-
color: #4a4a4a;
|
|
1939
|
-
color: var(--c-font-dark); /* from legacy --font-body-2-dark */
|
|
1940
|
-
}
|
|
1941
|
-
|
|
1942
|
-
._labeled_checkbox_yhddc_76 {
|
|
1943
|
-
float: right;
|
|
1944
|
-
}
|
|
1945
|
-
|
|
1946
|
-
._stacked_control_info_yhddc_80 {
|
|
1947
|
-
font-size: 0.75rem;
|
|
1948
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
1949
|
-
font-weight: 400;
|
|
1950
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
|
|
1951
|
-
color: #4a4a4a;
|
|
1952
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
|
-
._stacked_control_info_yhddc_80 > p {
|
|
1956
|
-
margin-top: 0.5rem;
|
|
1957
|
-
margin-bottom: 0;
|
|
1958
|
-
line-height: 1.5;
|
|
1959
|
-
}
|
|
1960
|
-
|
|
1961
|
-
._control_info_yhddc_92 {
|
|
1962
|
-
font-size: 0.75rem;
|
|
1963
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
1964
|
-
font-weight: 400;
|
|
1965
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
|
|
1966
|
-
color: #4a4a4a;
|
|
1967
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
1968
|
-
max-width: 25rem;
|
|
1969
|
-
max-width: var(--mw-labeled-toggle);
|
|
1970
|
-
}
|
|
1971
|
-
|
|
1972
|
-
._control_info_yhddc_92 > p {
|
|
1973
|
-
margin-top: 0.5rem;
|
|
1974
|
-
margin-bottom: 0;
|
|
1975
|
-
line-height: 1.5;
|
|
1976
|
-
}
|
|
1977
|
-
/* opentrons style library */
|
|
1978
|
-
|
|
1979
|
-
:root {
|
|
1980
|
-
/* ot brand */
|
|
1981
|
-
--c-mustard: #ffd252;
|
|
1982
|
-
--c-blue: #006cfa;
|
|
1983
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
1984
|
-
|
|
1985
|
-
/*
|
|
1986
|
-
* grays
|
|
1987
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
1988
|
-
*/
|
|
1989
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
1990
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
1991
|
-
--c-charcoal: #979797;
|
|
1992
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
1993
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
1994
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
1995
|
-
|
|
1996
|
-
/*
|
|
1997
|
-
* background colors
|
|
1998
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
1999
|
-
*/
|
|
2000
|
-
--c-bg-dark: #4a4a4a;
|
|
2001
|
-
--c-bg-light: #fafafa;
|
|
2002
|
-
--c-bg-selected: #f0f3ff;
|
|
2003
|
-
--c-bg-hover: #f1f1f1;
|
|
2004
|
-
--c-bg-success: #b6febc;
|
|
2005
|
-
|
|
2006
|
-
/* general UI */
|
|
2007
|
-
--c-highlight: #5fd8ee;
|
|
2008
|
-
--c-selected-dark: #00c3e6;
|
|
2009
|
-
--c-warning-dark: #9e5e00;
|
|
2010
|
-
--c-warning: #e28200;
|
|
2011
|
-
--c-warning-light: #ffd58f;
|
|
2012
|
-
--c-error-dark: #ac0505;
|
|
2013
|
-
--c-error: #d12929;
|
|
2014
|
-
--c-error-light: #ffc0c0;
|
|
2015
|
-
--c-success: #60b120;
|
|
2016
|
-
--c-blue-enabled: #006cfa;
|
|
2017
|
-
--c-light-grey-hover: #c6c6c6;
|
|
2018
|
-
|
|
2019
|
-
/* Misc */
|
|
2020
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
2021
|
-
--c-plate-bg: #ccc;
|
|
2022
|
-
--c-white: #fff;
|
|
2023
|
-
--c-black: #000;
|
|
2024
|
-
--c-green: #7ed321;
|
|
2025
|
-
--c-red: #f00000;
|
|
2026
|
-
--c-orange: #f5a623;
|
|
2027
|
-
|
|
2028
|
-
--transition-color: {
|
|
2029
|
-
transition: color 0.15s ease-in-out;
|
|
2030
|
-
}
|
|
2031
|
-
|
|
2032
|
-
--transition-background-color: {
|
|
2033
|
-
transition: background-color 0.15s ease-in-out;
|
|
2034
|
-
}
|
|
2035
|
-
}
|
|
2036
|
-
|
|
2037
|
-
:root {
|
|
2038
|
-
--c-font-dark: #4a4a4a;
|
|
2039
|
-
--c-font-icon: #6f6f6f;
|
|
2040
|
-
--c-font-light: white;
|
|
2041
|
-
--c-font-disabled: #9c9c9c;
|
|
2042
|
-
--fs-huge: 3rem;
|
|
2043
|
-
--fs-header: 1.125rem;
|
|
2044
|
-
--fs-default: 1rem;
|
|
2045
|
-
--fs-body-2: 0.875rem;
|
|
2046
|
-
--fs-body-1: 0.75rem;
|
|
2047
|
-
--fs-caption: 0.625rem;
|
|
2048
|
-
--fs-tiny: 0.325rem;
|
|
2049
|
-
--fs-micro: 0.2rem;
|
|
2050
|
-
--fw-bold: 800;
|
|
2051
|
-
--fw-semibold: 600;
|
|
2052
|
-
--fw-regular: 400;
|
|
2053
|
-
--fw-light: 300;
|
|
2054
|
-
--ff-code: Consolas, monaco, monospace;
|
|
2055
|
-
--lh-solid: 1;
|
|
2056
|
-
--lh-title: 1.25;
|
|
2057
|
-
--lh-copy: 1.5;
|
|
2058
|
-
}
|
|
2059
|
-
|
|
2060
|
-
:root {
|
|
2061
|
-
/* borders */
|
|
2062
|
-
--bd-radius-default: 2px;
|
|
2063
|
-
--bd-radius-form-field: 3px;
|
|
2064
|
-
--bd-radius-pill: 12px;
|
|
2065
|
-
--bd-width-default: 1px;
|
|
2066
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
2067
|
-
|
|
2068
|
-
/* dropshadows */
|
|
2069
|
-
|
|
2070
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
2071
|
-
--shadow-lvl-1:
|
|
2072
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
2073
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
2074
|
-
--shadow-lvl-2:
|
|
2075
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
2076
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
2077
|
-
}
|
|
2078
|
-
|
|
2079
|
-
* {
|
|
2080
|
-
box-sizing: border-box;
|
|
2081
|
-
}
|
|
2082
|
-
|
|
2083
|
-
._accessibly_hidden_18cab_3 {
|
|
2084
|
-
position: absolute;
|
|
2085
|
-
overflow: hidden;
|
|
2086
|
-
clip: rect(0 0 0 0);
|
|
2087
|
-
height: 1px;
|
|
2088
|
-
width: 1px;
|
|
2089
|
-
margin: -1px;
|
|
2090
|
-
padding: 0;
|
|
2091
|
-
border: 0;
|
|
2092
|
-
}
|
|
2093
|
-
|
|
2094
|
-
._form_field_18cab_14 {
|
|
2095
|
-
font-size: 0.75rem;
|
|
2096
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
2097
|
-
font-weight: 400;
|
|
2098
|
-
font-weight: var(--fw-regular); /* from legacy --font-form-default */
|
|
2099
|
-
color: #4a4a4a;
|
|
2100
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
2101
|
-
display: flex;
|
|
2102
|
-
align-items: center;
|
|
2103
|
-
line-height: 1;
|
|
2104
|
-
}
|
|
2105
|
-
|
|
2106
|
-
._label_text_18cab_23 {
|
|
2107
|
-
flex: 0 0 auto;
|
|
2108
|
-
padding: 0 0.5rem;
|
|
2109
|
-
}
|
|
2110
|
-
|
|
2111
|
-
._label_text_18cab_23:empty {
|
|
2112
|
-
padding: 0;
|
|
2113
|
-
}
|
|
2114
|
-
|
|
2115
|
-
._form_group_label_18cab_32 {
|
|
2116
|
-
font-size: 0.75rem;
|
|
2117
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
2118
|
-
color: #4a4a4a;
|
|
2119
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
2120
|
-
font-weight: 600;
|
|
2121
|
-
font-weight: var(--fw-semibold);
|
|
2122
|
-
margin-bottom: 0.15rem;
|
|
2123
|
-
text-transform: capitalize;
|
|
2124
|
-
}
|
|
2125
|
-
|
|
2126
|
-
._form_group_label_18cab_32::after {
|
|
2127
|
-
content: ':';
|
|
2128
|
-
}
|
|
2129
|
-
|
|
2130
|
-
._form_group_label_pipette_settings_slideout_18cab_44 {
|
|
2131
|
-
font-weight: 600;
|
|
2132
|
-
font-weight: var(--fw-semibold);
|
|
2133
|
-
margin-bottom: 0.5rem;
|
|
2134
|
-
text-transform: capitalize;
|
|
2135
|
-
font-size: 13px;
|
|
2136
|
-
color: #16212d;
|
|
2137
|
-
}
|
|
2138
|
-
|
|
2139
|
-
._checkbox_icon_18cab_52 {
|
|
2140
|
-
/* Icon for radiobutton and for checkbox */
|
|
2141
|
-
width: 1.25rem;
|
|
2142
|
-
min-width: 1.25rem;
|
|
2143
|
-
color: #4a4a4a;
|
|
2144
|
-
color: var(--c-font-dark);
|
|
2145
|
-
display: flex;
|
|
2146
|
-
justify-content: center;
|
|
2147
|
-
align-items: center;
|
|
2148
|
-
}
|
|
2149
|
-
|
|
2150
|
-
._checkbox_icon_18cab_52:not(._checkbox_disabled_18cab_61):hover {
|
|
2151
|
-
cursor: pointer;
|
|
2152
|
-
}
|
|
2153
|
-
|
|
2154
|
-
._checkbox_icon_18cab_52._error_18cab_65 {
|
|
2155
|
-
color: #9e5e00;
|
|
2156
|
-
color: var(--c-warning-dark);
|
|
2157
|
-
}
|
|
2158
|
-
|
|
2159
|
-
._checkbox_icon_18cab_52._checked_18cab_70 {
|
|
2160
|
-
color: #006cfa;
|
|
2161
|
-
color: var(--c-blue);
|
|
2162
|
-
}
|
|
2163
|
-
|
|
2164
|
-
._toggle_icon_18cab_74 {
|
|
2165
|
-
/* Icon for radiobutton and for checkbox */
|
|
2166
|
-
display: block;
|
|
2167
|
-
width: 2rem;
|
|
2168
|
-
min-width: 2rem;
|
|
2169
|
-
color: #4a4a4a;
|
|
2170
|
-
color: var(--c-font-dark);
|
|
2171
|
-
}
|
|
2172
|
-
|
|
2173
|
-
._toggle_icon_18cab_74:not(._toggle_disabled_18cab_81):hover {
|
|
2174
|
-
cursor: pointer;
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
._dropdown_disabled_18cab_86,
|
|
2178
|
-
._checkbox_disabled_18cab_61,
|
|
2179
|
-
._toggle_disabled_18cab_81 {
|
|
2180
|
-
opacity: 0.5;
|
|
2181
|
-
}
|
|
2182
|
-
|
|
2183
|
-
._input_field_container_18cab_92 {
|
|
2184
|
-
width: 100%;
|
|
2185
|
-
}
|
|
2186
|
-
|
|
2187
|
-
._input_field_18cab_92 {
|
|
2188
|
-
display: flex;
|
|
2189
|
-
flex: 1 1;
|
|
2190
|
-
background-color: #e5e2e2;
|
|
2191
|
-
background-color: var(--c-light-gray);
|
|
2192
|
-
border-radius: 3px;
|
|
2193
|
-
border-radius: var(--bd-radius-form-field);
|
|
2194
|
-
padding: 0.25rem 0.25rem 0.25rem 0.5rem;
|
|
2195
|
-
}
|
|
2196
|
-
|
|
2197
|
-
._input_field_18cab_92 input {
|
|
2198
|
-
font-size: 0.75rem;
|
|
2199
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
2200
|
-
font-weight: 400;
|
|
2201
|
-
font-weight: var(--fw-regular); /* from legacy --font-form-default */
|
|
2202
|
-
color: #4a4a4a;
|
|
2203
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
2204
|
-
background-color: inherit;
|
|
2205
|
-
border-radius: inherit;
|
|
2206
|
-
border: none;
|
|
2207
|
-
flex: 1 1 auto;
|
|
2208
|
-
width: 100%;
|
|
2209
|
-
height: 1rem;
|
|
2210
|
-
|
|
2211
|
-
/* TODO: Ian 2018-09-14 Firefox has 1px padding on input element,
|
|
2212
|
-
* but I can't figure out how to fix it in Firefox without breaking it in Chrome.
|
|
2213
|
-
* Better CSS reset for inputs needed?
|
|
2214
|
-
*/
|
|
2215
|
-
|
|
2216
|
-
/* padding: 1px; */
|
|
2217
|
-
}
|
|
2218
|
-
|
|
2219
|
-
._input_field_18cab_92 input:focus {
|
|
2220
|
-
outline: none;
|
|
2221
|
-
}
|
|
2222
|
-
|
|
2223
|
-
._input_field_18cab_92 input::placeholder {
|
|
2224
|
-
color: #9b9b9b;
|
|
2225
|
-
color: var(--c-med-gray);
|
|
2226
|
-
}
|
|
2227
|
-
|
|
2228
|
-
._input_field_18cab_92:focus-within {
|
|
2229
|
-
background-color: #fff;
|
|
2230
|
-
background-color: var(--c-white);
|
|
2231
|
-
box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.5);
|
|
2232
|
-
}
|
|
2233
|
-
|
|
2234
|
-
._input_field_18cab_92 ._suffix_18cab_135 {
|
|
2235
|
-
font-size: 0.75rem;
|
|
2236
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
2237
|
-
color: #4a4a4a;
|
|
2238
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
2239
|
-
font-weight: 600;
|
|
2240
|
-
font-weight: var(--fw-semibold);
|
|
2241
|
-
display: inline-block;
|
|
2242
|
-
flex: 1 0;
|
|
2243
|
-
text-align: right;
|
|
2244
|
-
align-self: center;
|
|
2245
|
-
}
|
|
2246
|
-
|
|
2247
|
-
._input_caption_18cab_146 {
|
|
2248
|
-
font-size: 0.625rem;
|
|
2249
|
-
font-size: var(--fs-caption); /* from legacy --font-form-caption */
|
|
2250
|
-
font-weight: 600;
|
|
2251
|
-
font-weight: var(--fw-semibold); /* from legacy --font-form-caption */
|
|
2252
|
-
color: #9b9b9b;
|
|
2253
|
-
color: var(--c-med-gray); /* from legacy --font-form-caption */
|
|
2254
|
-
line-height: 1.2;
|
|
2255
|
-
}
|
|
2256
|
-
|
|
2257
|
-
._input_caption_18cab_146 ._right_18cab_152 {
|
|
2258
|
-
float: right;
|
|
2259
|
-
}
|
|
2260
|
-
|
|
2261
|
-
._inline_18cab_157 {
|
|
2262
|
-
display: flex;
|
|
2263
|
-
}
|
|
2264
|
-
|
|
2265
|
-
._inline_18cab_157 ._label_text_18cab_23 {
|
|
2266
|
-
padding-right: 1.5rem;
|
|
2267
|
-
}
|
|
2268
|
-
|
|
2269
|
-
._inline_item_18cab_165 {
|
|
2270
|
-
flex: 1;
|
|
2271
|
-
}
|
|
2272
|
-
|
|
2273
|
-
._error_18cab_65 div,
|
|
2274
|
-
._error_18cab_65 span {
|
|
2275
|
-
color: #9e5e00;
|
|
2276
|
-
color: var(--c-warning-dark);
|
|
2277
|
-
}
|
|
2278
|
-
|
|
2279
|
-
._error_18cab_65 select,
|
|
2280
|
-
._error_18cab_65 ._input_field_18cab_92 {
|
|
2281
|
-
background-color: #ffd58f;
|
|
2282
|
-
background-color: var(--c-warning-light);
|
|
2283
|
-
}
|
|
2284
|
-
|
|
2285
|
-
._dropdown_18cab_86 {
|
|
2286
|
-
background-color: #e5e2e2;
|
|
2287
|
-
background-color: var(--c-light-gray);
|
|
2288
|
-
}
|
|
2289
|
-
|
|
2290
|
-
._dropdown_field_18cab_183 {
|
|
2291
|
-
position: relative;
|
|
2292
|
-
}
|
|
2293
|
-
|
|
2294
|
-
._dropdown_field_18cab_183 select {
|
|
2295
|
-
font-size: 0.75rem;
|
|
2296
|
-
font-size: var(--fs-body-1); /* from legacy --font-form-default */
|
|
2297
|
-
font-weight: 400;
|
|
2298
|
-
font-weight: var(--fw-regular); /* from legacy --font-form-default */
|
|
2299
|
-
color: #4a4a4a;
|
|
2300
|
-
color: var(--c-font-dark); /* from legacy --font-form-default */
|
|
2301
|
-
border: 0;
|
|
2302
|
-
padding: 0.25rem 0.5rem;
|
|
2303
|
-
outline: none;
|
|
2304
|
-
height: 1.5rem;
|
|
2305
|
-
border-radius: 3px;
|
|
2306
|
-
border-radius: var(--bd-radius-form-field);
|
|
2307
|
-
font-family: inherit;
|
|
2308
|
-
width: 100%;
|
|
2309
|
-
-webkit-appearance: none;
|
|
2310
|
-
appearance: none;
|
|
2311
|
-
overflow: hidden;
|
|
2312
|
-
}
|
|
2313
|
-
|
|
2314
|
-
._dropdown_field_18cab_183 select:focus {
|
|
2315
|
-
background-color: #fff;
|
|
2316
|
-
background-color: var(--c-white);
|
|
2317
|
-
box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.5);
|
|
2318
|
-
}
|
|
2319
|
-
|
|
2320
|
-
._dropdown_field_18cab_183 ._dropdown_icon_18cab_206 {
|
|
2321
|
-
position: absolute;
|
|
2322
|
-
top: 0.2rem;
|
|
2323
|
-
right: 0.25rem;
|
|
2324
|
-
width: 1.25rem;
|
|
2325
|
-
pointer-events: none;
|
|
2326
|
-
}
|
|
2327
|
-
|
|
2328
|
-
._dropdown_field_18cab_183 ._dropdown_icon_18cab_206 svg {
|
|
2329
|
-
color: #4a4a4a;
|
|
2330
|
-
color: var(--c-dark-gray);
|
|
2331
|
-
}
|
|
2332
|
-
|
|
2333
|
-
._error_icon_18cab_219 {
|
|
2334
|
-
display: inline-block;
|
|
2335
|
-
width: 1.5rem;
|
|
2336
|
-
min-width: 1.5rem;
|
|
2337
|
-
padding-right: 0.5rem;
|
|
2338
|
-
}
|
|
2339
|
-
|
|
2340
|
-
._disabled_18cab_226 {
|
|
2341
|
-
/* Disable mouse interaction. NOTE: User can still tab to focus a field */
|
|
2342
|
-
pointer-events: none;
|
|
2343
|
-
}
|
|
2344
|
-
|
|
2345
|
-
._disabled_18cab_226 ._form_group_label_18cab_32 {
|
|
2346
|
-
color: #e5e2e2;
|
|
2347
|
-
color: var(--c-light-gray);
|
|
2348
|
-
}
|
|
2349
|
-
|
|
2350
|
-
/* stylelint-disable no-descending-specificity */
|
|
2351
|
-
|
|
2352
|
-
._disabled_18cab_226 input,
|
|
2353
|
-
._disabled_18cab_226 ._suffix_18cab_135 {
|
|
2354
|
-
color: #9b9b9b;
|
|
2355
|
-
color: var(--c-med-gray);
|
|
2356
|
-
}
|
|
2357
|
-
/* stylelint-disable selector-class-pattern */
|
|
2358
|
-
/* opentrons style library */
|
|
2359
|
-
:root {
|
|
2360
|
-
/* ot brand */
|
|
2361
|
-
--c-mustard: #ffd252;
|
|
2362
|
-
--c-blue: #006cfa;
|
|
2363
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
2364
|
-
|
|
2365
|
-
/*
|
|
2366
|
-
* grays
|
|
2367
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
2368
|
-
*/
|
|
2369
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
2370
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
2371
|
-
--c-charcoal: #979797;
|
|
2372
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
2373
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
2374
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
2375
|
-
|
|
2376
|
-
/*
|
|
2377
|
-
* background colors
|
|
2378
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
2379
|
-
*/
|
|
2380
|
-
--c-bg-dark: #4a4a4a;
|
|
2381
|
-
--c-bg-light: #fafafa;
|
|
2382
|
-
--c-bg-selected: #f0f3ff;
|
|
2383
|
-
--c-bg-hover: #f1f1f1;
|
|
2384
|
-
--c-bg-success: #b6febc;
|
|
2385
|
-
|
|
2386
|
-
/* general UI */
|
|
2387
|
-
--c-highlight: #5fd8ee;
|
|
2388
|
-
--c-selected-dark: #00c3e6;
|
|
2389
|
-
--c-warning-dark: #9e5e00;
|
|
2390
|
-
--c-warning: #e28200;
|
|
2391
|
-
--c-warning-light: #ffd58f;
|
|
2392
|
-
--c-error-dark: #ac0505;
|
|
2393
|
-
--c-error: #d12929;
|
|
2394
|
-
--c-error-light: #ffc0c0;
|
|
2395
|
-
--c-success: #60b120;
|
|
2396
|
-
--c-blue-enabled: #006cfa;
|
|
2397
|
-
--c-light-grey-hover: #c6c6c6;
|
|
2398
|
-
|
|
2399
|
-
/* Misc */
|
|
2400
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
2401
|
-
--c-plate-bg: #ccc;
|
|
2402
|
-
--c-white: #fff;
|
|
2403
|
-
--c-black: #000;
|
|
2404
|
-
--c-green: #7ed321;
|
|
2405
|
-
--c-red: #f00000;
|
|
2406
|
-
--c-orange: #f5a623;
|
|
2407
|
-
|
|
2408
|
-
--transition-color: {
|
|
2409
|
-
transition: color 0.15s ease-in-out;
|
|
2410
|
-
}
|
|
2411
|
-
|
|
2412
|
-
--transition-background-color: {
|
|
2413
|
-
transition: background-color 0.15s ease-in-out;
|
|
2414
|
-
}
|
|
2415
|
-
}
|
|
2416
|
-
:root {
|
|
2417
|
-
--c-font-dark: #4a4a4a;
|
|
2418
|
-
--c-font-icon: #6f6f6f;
|
|
2419
|
-
--c-font-light: white;
|
|
2420
|
-
--c-font-disabled: #9c9c9c;
|
|
2421
|
-
--fs-huge: 3rem;
|
|
2422
|
-
--fs-header: 1.125rem;
|
|
2423
|
-
--fs-default: 1rem;
|
|
2424
|
-
--fs-body-2: 0.875rem;
|
|
2425
|
-
--fs-body-1: 0.75rem;
|
|
2426
|
-
--fs-caption: 0.625rem;
|
|
2427
|
-
--fs-tiny: 0.325rem;
|
|
2428
|
-
--fs-micro: 0.2rem;
|
|
2429
|
-
--fw-bold: 800;
|
|
2430
|
-
--fw-semibold: 600;
|
|
2431
|
-
--fw-regular: 400;
|
|
2432
|
-
--fw-light: 300;
|
|
2433
|
-
--ff-code: Consolas, monaco, monospace;
|
|
2434
|
-
--lh-solid: 1;
|
|
2435
|
-
--lh-title: 1.25;
|
|
2436
|
-
--lh-copy: 1.5;
|
|
2437
|
-
}
|
|
2438
|
-
:root {
|
|
2439
|
-
/* borders */
|
|
2440
|
-
--bd-radius-default: 2px;
|
|
2441
|
-
--bd-radius-form-field: 3px;
|
|
2442
|
-
--bd-radius-pill: 12px;
|
|
2443
|
-
--bd-width-default: 1px;
|
|
2444
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
2445
|
-
|
|
2446
|
-
/* dropshadows */
|
|
2447
|
-
|
|
2448
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
2449
|
-
--shadow-lvl-1:
|
|
2450
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
2451
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
2452
|
-
--shadow-lvl-2:
|
|
2453
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
2454
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
2455
|
-
}
|
|
2456
|
-
* {
|
|
2457
|
-
box-sizing: border-box;
|
|
2458
|
-
}
|
|
2459
|
-
/* NOTE(mc, 2021-04-27): this class only used by storybook */
|
|
2460
|
-
._example_select_override_154j2_5 .ot_select__control {
|
|
2461
|
-
background-color: blue;
|
|
2462
|
-
}
|
|
2463
|
-
._select_154j2_11 {
|
|
2464
|
-
position: relative;
|
|
2465
|
-
}
|
|
2466
|
-
._select_154j2_11 .ot_select__control {
|
|
2467
|
-
font-size: 0.75rem;
|
|
2468
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
2469
|
-
font-weight: 400;
|
|
2470
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
|
|
2471
|
-
color: #4a4a4a;
|
|
2472
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
2473
|
-
display: flex;
|
|
2474
|
-
position: relative;
|
|
2475
|
-
background-color: #e5e2e2;
|
|
2476
|
-
background-color: var(--c-light-gray);
|
|
2477
|
-
border: none;
|
|
2478
|
-
padding: 0.25rem 0;
|
|
2479
|
-
outline: none;
|
|
2480
|
-
border-radius: 3px;
|
|
2481
|
-
border-radius: var(--bd-radius-form-field);
|
|
2482
|
-
height: 1.75rem;
|
|
2483
|
-
box-shadow: none;
|
|
2484
|
-
}
|
|
2485
|
-
._select_154j2_11 .ot_select__control--menu-is-open {
|
|
2486
|
-
border-bottom-left-radius: 0;
|
|
2487
|
-
border-bottom-right-radius: 0;
|
|
2488
|
-
}
|
|
2489
|
-
._select_154j2_11 .ot_select__control--menu-is-open,
|
|
2490
|
-
._select_154j2_11 .ot_select__control--is-focused {
|
|
2491
|
-
background-color: #fff;
|
|
2492
|
-
background-color: var(--c-white);
|
|
2493
|
-
box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.5);
|
|
2494
|
-
}
|
|
2495
|
-
._select_154j2_11 .ot_select__option {
|
|
2496
|
-
display: flex;
|
|
2497
|
-
padding: 0.25rem 0.75rem;
|
|
2498
|
-
cursor: default;
|
|
2499
|
-
}
|
|
2500
|
-
._select_154j2_11 .ot_select__option--is-focused {
|
|
2501
|
-
background-color: #e5e2e2;
|
|
2502
|
-
background-color: var(--c-light-gray);
|
|
2503
|
-
}
|
|
2504
|
-
._select_154j2_11 .ot_select__option--is-disabled {
|
|
2505
|
-
color: #9c9c9c;
|
|
2506
|
-
color: var(--c-font-disabled);
|
|
2507
|
-
}
|
|
2508
|
-
._select_154j2_11 .ot_select__group-heading {
|
|
2509
|
-
font-size: 0.625rem;
|
|
2510
|
-
font-size: var(--fs-caption); /* from legacy --font-form-caption */
|
|
2511
|
-
font-weight: 600;
|
|
2512
|
-
font-weight: var(--fw-semibold); /* from legacy --font-form-caption */
|
|
2513
|
-
color: #9b9b9b;
|
|
2514
|
-
color: var(--c-med-gray); /* from legacy --font-form-caption */
|
|
2515
|
-
text-transform: uppercase;
|
|
2516
|
-
margin-left: 0.5rem;
|
|
2517
|
-
}
|
|
2518
|
-
._select_154j2_11 .ot_select__single-value {
|
|
2519
|
-
display: flex;
|
|
2520
|
-
}
|
|
2521
|
-
._select_154j2_11 .ot_select__group:not(:first-child) {
|
|
2522
|
-
margin-top: 0.25rem;
|
|
2523
|
-
border-top: 1px solid rgba(155, 155, 155, 0.4);
|
|
2524
|
-
padding-top: 0.25rem;
|
|
2525
|
-
}
|
|
2526
|
-
._dropdown_indicator_154j2_73 {
|
|
2527
|
-
position: absolute;
|
|
2528
|
-
top: 0.25rem;
|
|
2529
|
-
right: 0.25rem;
|
|
2530
|
-
width: 1.25rem;
|
|
2531
|
-
pointer-events: none;
|
|
2532
|
-
}
|
|
2533
|
-
._dropdown_indicator_154j2_73 > svg {
|
|
2534
|
-
color: #4a4a4a;
|
|
2535
|
-
color: var(--c-dark-gray);
|
|
2536
|
-
}
|
|
2537
|
-
._dropdown_indicator_154j2_73._flipped_154j2_84 > svg {
|
|
2538
|
-
transform: rotate(180deg);
|
|
2539
|
-
}
|
|
2540
|
-
._dropdown_indicator_icon_154j2_89 {
|
|
2541
|
-
width: 100%;
|
|
2542
|
-
}
|
|
2543
|
-
._menu_154j2_93 {
|
|
2544
|
-
font-size: 0.75rem;
|
|
2545
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
2546
|
-
font-weight: 400;
|
|
2547
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
|
|
2548
|
-
color: #4a4a4a;
|
|
2549
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
2550
|
-
position: absolute;
|
|
2551
|
-
top: 100%;
|
|
2552
|
-
left: 0;
|
|
2553
|
-
right: 0;
|
|
2554
|
-
z-index: 99;
|
|
2555
|
-
background-color: #fff;
|
|
2556
|
-
background-color: var(--c-white);
|
|
2557
|
-
box-shadow: 0 0.125rem 0.25rem 0 rgba(0, 0, 0, 0.5);
|
|
2558
|
-
border-bottom-left-radius: 3px;
|
|
2559
|
-
border-bottom-left-radius: var(--bd-radius-form-field);
|
|
2560
|
-
border-bottom-right-radius: 3px;
|
|
2561
|
-
border-bottom-right-radius: var(--bd-radius-form-field);
|
|
2562
|
-
padding-top: 0.25rem;
|
|
2563
|
-
padding-bottom: 0.25rem;
|
|
2564
|
-
}
|
|
2565
|
-
._menu_control_bridge_154j2_110 {
|
|
2566
|
-
position: absolute;
|
|
2567
|
-
background-color: #fff;
|
|
2568
|
-
background-color: var(--c-white);
|
|
2569
|
-
top: calc(100% - 2px);
|
|
2570
|
-
left: 0;
|
|
2571
|
-
right: 0;
|
|
2572
|
-
z-index: 99;
|
|
2573
|
-
height: 4px;
|
|
2574
|
-
}
|
|
2575
|
-
/* opentrons style library */
|
|
2576
|
-
|
|
2577
|
-
:root {
|
|
2578
|
-
/* ot brand */
|
|
2579
|
-
--c-mustard: #ffd252;
|
|
2580
|
-
--c-blue: #006cfa;
|
|
2581
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
2582
|
-
|
|
2583
|
-
/*
|
|
2584
|
-
* grays
|
|
2585
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
2586
|
-
*/
|
|
2587
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
2588
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
2589
|
-
--c-charcoal: #979797;
|
|
2590
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
2591
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
2592
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
2593
|
-
|
|
2594
|
-
/*
|
|
2595
|
-
* background colors
|
|
2596
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
2597
|
-
*/
|
|
2598
|
-
--c-bg-dark: #4a4a4a;
|
|
2599
|
-
--c-bg-light: #fafafa;
|
|
2600
|
-
--c-bg-selected: #f0f3ff;
|
|
2601
|
-
--c-bg-hover: #f1f1f1;
|
|
2602
|
-
--c-bg-success: #b6febc;
|
|
2603
|
-
|
|
2604
|
-
/* general UI */
|
|
2605
|
-
--c-highlight: #5fd8ee;
|
|
2606
|
-
--c-selected-dark: #00c3e6;
|
|
2607
|
-
--c-warning-dark: #9e5e00;
|
|
2608
|
-
--c-warning: #e28200;
|
|
2609
|
-
--c-warning-light: #ffd58f;
|
|
2610
|
-
--c-error-dark: #ac0505;
|
|
2611
|
-
--c-error: #d12929;
|
|
2612
|
-
--c-error-light: #ffc0c0;
|
|
2613
|
-
--c-success: #60b120;
|
|
2614
|
-
--c-blue-enabled: #006cfa;
|
|
2615
|
-
--c-light-grey-hover: #c6c6c6;
|
|
2616
|
-
|
|
2617
|
-
/* Misc */
|
|
2618
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
2619
|
-
--c-plate-bg: #ccc;
|
|
2620
|
-
--c-white: #fff;
|
|
2621
|
-
--c-black: #000;
|
|
2622
|
-
--c-green: #7ed321;
|
|
2623
|
-
--c-red: #f00000;
|
|
2624
|
-
--c-orange: #f5a623;
|
|
2625
|
-
|
|
2626
|
-
--transition-color: {
|
|
2627
|
-
transition: color 0.15s ease-in-out;
|
|
2628
|
-
}
|
|
2629
|
-
|
|
2630
|
-
--transition-background-color: {
|
|
2631
|
-
transition: background-color 0.15s ease-in-out;
|
|
2632
|
-
}
|
|
2633
|
-
}
|
|
2634
|
-
|
|
2635
|
-
:root {
|
|
2636
|
-
--c-font-dark: #4a4a4a;
|
|
2637
|
-
--c-font-icon: #6f6f6f;
|
|
2638
|
-
--c-font-light: white;
|
|
2639
|
-
--c-font-disabled: #9c9c9c;
|
|
2640
|
-
--fs-huge: 3rem;
|
|
2641
|
-
--fs-header: 1.125rem;
|
|
2642
|
-
--fs-default: 1rem;
|
|
2643
|
-
--fs-body-2: 0.875rem;
|
|
2644
|
-
--fs-body-1: 0.75rem;
|
|
2645
|
-
--fs-caption: 0.625rem;
|
|
2646
|
-
--fs-tiny: 0.325rem;
|
|
2647
|
-
--fs-micro: 0.2rem;
|
|
2648
|
-
--fw-bold: 800;
|
|
2649
|
-
--fw-semibold: 600;
|
|
2650
|
-
--fw-regular: 400;
|
|
2651
|
-
--fw-light: 300;
|
|
2652
|
-
--ff-code: Consolas, monaco, monospace;
|
|
2653
|
-
--lh-solid: 1;
|
|
2654
|
-
--lh-title: 1.25;
|
|
2655
|
-
--lh-copy: 1.5;
|
|
2656
|
-
}
|
|
2657
|
-
|
|
2658
|
-
:root {
|
|
2659
|
-
/* borders */
|
|
2660
|
-
--bd-radius-default: 2px;
|
|
2661
|
-
--bd-radius-form-field: 3px;
|
|
2662
|
-
--bd-radius-pill: 12px;
|
|
2663
|
-
--bd-width-default: 1px;
|
|
2664
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
2665
|
-
|
|
2666
|
-
/* dropshadows */
|
|
2667
|
-
|
|
2668
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
2669
|
-
--shadow-lvl-1:
|
|
2670
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
2671
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
2672
|
-
--shadow-lvl-2:
|
|
2673
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
2674
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
2675
|
-
}
|
|
2676
|
-
|
|
2677
|
-
* {
|
|
2678
|
-
box-sizing: border-box;
|
|
2679
|
-
}
|
|
2680
|
-
|
|
2681
|
-
._select_field_10v6n_3._error_10v6n_3 .ot_select__control {
|
|
2682
|
-
background-color: #ffd58f;
|
|
2683
|
-
background-color: var(--c-warning-light);
|
|
2684
|
-
}
|
|
2685
|
-
|
|
2686
|
-
._select_caption_10v6n_9 {
|
|
2687
|
-
font-size: 0.625rem;
|
|
2688
|
-
font-size: var(--fs-caption);
|
|
2689
|
-
}
|
|
2690
|
-
|
|
2691
|
-
._select_caption_10v6n_9._error_10v6n_3 {
|
|
2692
|
-
color: #9e5e00;
|
|
2693
|
-
color: var(--c-warning-dark);
|
|
2694
|
-
font-weight: 600;
|
|
2695
|
-
font-weight: var(--fw-semibold);
|
|
2696
|
-
}
|
|
2697
|
-
/* opentrons style library */
|
|
2698
|
-
|
|
2699
|
-
:root {
|
|
2700
|
-
/* ot brand */
|
|
2701
|
-
--c-mustard: #ffd252;
|
|
2702
|
-
--c-blue: #006cfa;
|
|
2703
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
2704
|
-
|
|
2705
|
-
/*
|
|
2706
|
-
* grays
|
|
2707
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
2708
|
-
*/
|
|
2709
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
2710
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
2711
|
-
--c-charcoal: #979797;
|
|
2712
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
2713
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
2714
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
2715
|
-
|
|
2716
|
-
/*
|
|
2717
|
-
* background colors
|
|
2718
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
2719
|
-
*/
|
|
2720
|
-
--c-bg-dark: #4a4a4a;
|
|
2721
|
-
--c-bg-light: #fafafa;
|
|
2722
|
-
--c-bg-selected: #f0f3ff;
|
|
2723
|
-
--c-bg-hover: #f1f1f1;
|
|
2724
|
-
--c-bg-success: #b6febc;
|
|
2725
|
-
|
|
2726
|
-
/* general UI */
|
|
2727
|
-
--c-highlight: #5fd8ee;
|
|
2728
|
-
--c-selected-dark: #00c3e6;
|
|
2729
|
-
--c-warning-dark: #9e5e00;
|
|
2730
|
-
--c-warning: #e28200;
|
|
2731
|
-
--c-warning-light: #ffd58f;
|
|
2732
|
-
--c-error-dark: #ac0505;
|
|
2733
|
-
--c-error: #d12929;
|
|
2734
|
-
--c-error-light: #ffc0c0;
|
|
2735
|
-
--c-success: #60b120;
|
|
2736
|
-
--c-blue-enabled: #006cfa;
|
|
2737
|
-
--c-light-grey-hover: #c6c6c6;
|
|
2738
|
-
|
|
2739
|
-
/* Misc */
|
|
2740
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
2741
|
-
--c-plate-bg: #ccc;
|
|
2742
|
-
--c-white: #fff;
|
|
2743
|
-
--c-black: #000;
|
|
2744
|
-
--c-green: #7ed321;
|
|
2745
|
-
--c-red: #f00000;
|
|
2746
|
-
--c-orange: #f5a623;
|
|
2747
|
-
|
|
2748
|
-
--transition-color: {
|
|
2749
|
-
transition: color 0.15s ease-in-out;
|
|
2750
|
-
}
|
|
2751
|
-
|
|
2752
|
-
--transition-background-color: {
|
|
2753
|
-
transition: background-color 0.15s ease-in-out;
|
|
2754
|
-
}
|
|
2755
|
-
}
|
|
2756
|
-
|
|
2757
|
-
:root {
|
|
2758
|
-
--c-font-dark: #4a4a4a;
|
|
2759
|
-
--c-font-icon: #6f6f6f;
|
|
2760
|
-
--c-font-light: white;
|
|
2761
|
-
--c-font-disabled: #9c9c9c;
|
|
2762
|
-
--fs-huge: 3rem;
|
|
2763
|
-
--fs-header: 1.125rem;
|
|
2764
|
-
--fs-default: 1rem;
|
|
2765
|
-
--fs-body-2: 0.875rem;
|
|
2766
|
-
--fs-body-1: 0.75rem;
|
|
2767
|
-
--fs-caption: 0.625rem;
|
|
2768
|
-
--fs-tiny: 0.325rem;
|
|
2769
|
-
--fs-micro: 0.2rem;
|
|
2770
|
-
--fw-bold: 800;
|
|
2771
|
-
--fw-semibold: 600;
|
|
2772
|
-
--fw-regular: 400;
|
|
2773
|
-
--fw-light: 300;
|
|
2774
|
-
--ff-code: Consolas, monaco, monospace;
|
|
2775
|
-
--lh-solid: 1;
|
|
2776
|
-
--lh-title: 1.25;
|
|
2777
|
-
--lh-copy: 1.5;
|
|
2778
|
-
}
|
|
2779
|
-
|
|
2780
|
-
:root {
|
|
2781
|
-
/* borders */
|
|
2782
|
-
--bd-radius-default: 2px;
|
|
2783
|
-
--bd-radius-form-field: 3px;
|
|
2784
|
-
--bd-radius-pill: 12px;
|
|
2785
|
-
--bd-width-default: 1px;
|
|
2786
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
2787
|
-
|
|
2788
|
-
/* dropshadows */
|
|
2789
|
-
|
|
2790
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
2791
|
-
--shadow-lvl-1:
|
|
2792
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
2793
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
2794
|
-
--shadow-lvl-2:
|
|
2795
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
2796
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
2797
|
-
}
|
|
2798
|
-
|
|
2799
|
-
* {
|
|
2800
|
-
box-sizing: border-box;
|
|
2801
|
-
}
|
|
2802
|
-
|
|
2803
|
-
._name_overlay_lyt13_3 {
|
|
2804
|
-
width: 100%;
|
|
2805
|
-
font-size: 0.5rem;
|
|
2806
|
-
color: white;
|
|
2807
|
-
color: var(--c-font-light);
|
|
2808
|
-
background-color: rgba(0, 0, 0, 0.75);
|
|
2809
|
-
padding: 0.25rem;
|
|
2810
|
-
border-radius: 0 0 0.5rem 0.5rem;
|
|
2811
|
-
}
|
|
2812
|
-
|
|
2813
|
-
._display_name_lyt13_12 {
|
|
2814
|
-
font-weight: 600;
|
|
2815
|
-
font-weight: var(--fw-semibold);
|
|
2816
|
-
color: white;
|
|
2817
|
-
color: var(--c-font-light);
|
|
2818
|
-
word-wrap: break-word;
|
|
2819
|
-
}
|
|
2820
|
-
|
|
2821
|
-
._deck_slot_lyt13_18:active {
|
|
2822
|
-
cursor: grabbing;
|
|
2823
|
-
}/* opentrons style library */
|
|
2824
|
-
|
|
2825
|
-
:root {
|
|
2826
|
-
/* ot brand */
|
|
2827
|
-
--c-mustard: #ffd252;
|
|
2828
|
-
--c-blue: #006cfa;
|
|
2829
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
2830
|
-
|
|
2831
|
-
/*
|
|
2832
|
-
* grays
|
|
2833
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
2834
|
-
*/
|
|
2835
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
2836
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
2837
|
-
--c-charcoal: #979797;
|
|
2838
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
2839
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
2840
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
2841
|
-
|
|
2842
|
-
/*
|
|
2843
|
-
* background colors
|
|
2844
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
2845
|
-
*/
|
|
2846
|
-
--c-bg-dark: #4a4a4a;
|
|
2847
|
-
--c-bg-light: #fafafa;
|
|
2848
|
-
--c-bg-selected: #f0f3ff;
|
|
2849
|
-
--c-bg-hover: #f1f1f1;
|
|
2850
|
-
--c-bg-success: #b6febc;
|
|
2851
|
-
|
|
2852
|
-
/* general UI */
|
|
2853
|
-
--c-highlight: #5fd8ee;
|
|
2854
|
-
--c-selected-dark: #00c3e6;
|
|
2855
|
-
--c-warning-dark: #9e5e00;
|
|
2856
|
-
--c-warning: #e28200;
|
|
2857
|
-
--c-warning-light: #ffd58f;
|
|
2858
|
-
--c-error-dark: #ac0505;
|
|
2859
|
-
--c-error: #d12929;
|
|
2860
|
-
--c-error-light: #ffc0c0;
|
|
2861
|
-
--c-success: #60b120;
|
|
2862
|
-
--c-blue-enabled: #006cfa;
|
|
2863
|
-
--c-light-grey-hover: #c6c6c6;
|
|
2864
|
-
|
|
2865
|
-
/* Misc */
|
|
2866
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
2867
|
-
--c-plate-bg: #ccc;
|
|
2868
|
-
--c-white: #fff;
|
|
2869
|
-
--c-black: #000;
|
|
2870
|
-
--c-green: #7ed321;
|
|
2871
|
-
--c-red: #f00000;
|
|
2872
|
-
--c-orange: #f5a623;
|
|
2873
|
-
|
|
2874
|
-
--transition-color: {
|
|
2875
|
-
transition: color 0.15s ease-in-out;
|
|
2876
|
-
}
|
|
2877
|
-
|
|
2878
|
-
--transition-background-color: {
|
|
2879
|
-
transition: background-color 0.15s ease-in-out;
|
|
2880
|
-
}
|
|
2881
|
-
}
|
|
2882
|
-
|
|
2883
|
-
:root {
|
|
2884
|
-
--c-font-dark: #4a4a4a;
|
|
2885
|
-
--c-font-icon: #6f6f6f;
|
|
2886
|
-
--c-font-light: white;
|
|
2887
|
-
--c-font-disabled: #9c9c9c;
|
|
2888
|
-
--fs-huge: 3rem;
|
|
2889
|
-
--fs-header: 1.125rem;
|
|
2890
|
-
--fs-default: 1rem;
|
|
2891
|
-
--fs-body-2: 0.875rem;
|
|
2892
|
-
--fs-body-1: 0.75rem;
|
|
2893
|
-
--fs-caption: 0.625rem;
|
|
2894
|
-
--fs-tiny: 0.325rem;
|
|
2895
|
-
--fs-micro: 0.2rem;
|
|
2896
|
-
--fw-bold: 800;
|
|
2897
|
-
--fw-semibold: 600;
|
|
2898
|
-
--fw-regular: 400;
|
|
2899
|
-
--fw-light: 300;
|
|
2900
|
-
--ff-code: Consolas, monaco, monospace;
|
|
2901
|
-
--lh-solid: 1;
|
|
2902
|
-
--lh-title: 1.25;
|
|
2903
|
-
--lh-copy: 1.5;
|
|
2904
|
-
}
|
|
2905
|
-
|
|
2906
|
-
:root {
|
|
2907
|
-
/* borders */
|
|
2908
|
-
--bd-radius-default: 2px;
|
|
2909
|
-
--bd-radius-form-field: 3px;
|
|
2910
|
-
--bd-radius-pill: 12px;
|
|
2911
|
-
--bd-width-default: 1px;
|
|
2912
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
2913
|
-
|
|
2914
|
-
/* dropshadows */
|
|
2915
|
-
|
|
2916
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
2917
|
-
--shadow-lvl-1:
|
|
2918
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
2919
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
2920
|
-
--shadow-lvl-2:
|
|
2921
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
2922
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
2923
|
-
}
|
|
2924
|
-
|
|
2925
|
-
* {
|
|
2926
|
-
box-sizing: border-box;
|
|
2927
|
-
}
|
|
2928
|
-
|
|
2929
|
-
._module_18o7c_3 {
|
|
2930
|
-
color: #000;
|
|
2931
|
-
color: var(--c-black);
|
|
2932
|
-
background-color: #000;
|
|
2933
|
-
background-color: var(--c-black);
|
|
2934
|
-
opacity: 0.9;
|
|
2935
|
-
border-radius: 6px;
|
|
2936
|
-
width: 100%;
|
|
2937
|
-
height: 100%;
|
|
2938
|
-
display: flex;
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
._module_review_icon_18o7c_13 {
|
|
2942
|
-
color: #fff;
|
|
2943
|
-
color: var(--c-white);
|
|
2944
|
-
margin: 0 0.25rem 0 0;
|
|
2945
|
-
height: 12px;
|
|
2946
|
-
width: 12px;
|
|
2947
|
-
}
|
|
2948
|
-
|
|
2949
|
-
._module_review_icon_missing_18o7c_20 {
|
|
2950
|
-
color: #f00000;
|
|
2951
|
-
color: var(--c-red);
|
|
2952
|
-
}
|
|
2953
|
-
|
|
2954
|
-
._module_review_icon_present_18o7c_24 {
|
|
2955
|
-
color: #7ed321;
|
|
2956
|
-
color: var(--c-green);
|
|
2957
|
-
}
|
|
2958
|
-
|
|
2959
|
-
._module_review_text_18o7c_28 {
|
|
2960
|
-
fill: currentColor;
|
|
2961
|
-
font-size: 0.55rem;
|
|
2962
|
-
font-weight: 600;
|
|
2963
|
-
font-weight: var(--fw-semibold);
|
|
2964
|
-
color: #fff;
|
|
2965
|
-
color: var(--c-white);
|
|
2966
|
-
text-transform: capitalize;
|
|
2967
|
-
white-space: pre;
|
|
2968
|
-
margin-bottom: 0.75rem;
|
|
2969
|
-
}
|
|
2970
|
-
|
|
2971
|
-
._module_name_overlay_18o7c_38 {
|
|
2972
|
-
color: #000;
|
|
2973
|
-
color: var(--c-black);
|
|
2974
|
-
opacity: 0.7;
|
|
2975
|
-
}
|
|
2976
|
-
|
|
2977
|
-
._module_connect_info_wrapper_18o7c_43 {
|
|
2978
|
-
display: flex;
|
|
2979
|
-
flex-direction: row;
|
|
2980
|
-
font-size: 0.5rem;
|
|
2981
|
-
color: #fff;
|
|
2982
|
-
color: var(--c-white);
|
|
2983
|
-
}
|
|
2984
|
-
|
|
2985
|
-
._module_port_text_18o7c_50 {
|
|
2986
|
-
fill: currentColor;
|
|
2987
|
-
color: #fff;
|
|
2988
|
-
color: var(--c-white);
|
|
2989
|
-
font-size: 0.65rem;
|
|
2990
|
-
font-weight: 600;
|
|
2991
|
-
font-weight: var(--fw-semibold);
|
|
2992
|
-
text-transform: uppercase;
|
|
2993
|
-
}
|
|
2994
|
-
|
|
2995
|
-
._module_port_text_na_18o7c_58 {
|
|
2996
|
-
fill: currentColor;
|
|
2997
|
-
color: #9b9b9b;
|
|
2998
|
-
color: var(--c-med-gray);
|
|
2999
|
-
font-size: 0.65rem;
|
|
3000
|
-
font-weight: 600;
|
|
3001
|
-
font-weight: var(--fw-semibold);
|
|
3002
|
-
text-transform: uppercase;
|
|
3003
|
-
}
|
|
3004
|
-
|
|
3005
|
-
._module_wrapper_18o7c_66 {
|
|
3006
|
-
display: flex;
|
|
3007
|
-
width: 100%;
|
|
3008
|
-
padding: 1.15rem;
|
|
3009
|
-
justify-content: center;
|
|
3010
|
-
flex-direction: column;
|
|
3011
|
-
align-items: flex-end;
|
|
3012
|
-
}
|
|
3013
|
-
|
|
3014
|
-
._flipped_module_wrapper_18o7c_75 {
|
|
3015
|
-
display: flex;
|
|
3016
|
-
width: 100%;
|
|
3017
|
-
padding: 1.15rem;
|
|
3018
|
-
justify-content: center;
|
|
3019
|
-
flex-direction: column;
|
|
3020
|
-
align-items: flex-start;
|
|
3021
|
-
}
|
|
3022
|
-
|
|
3023
|
-
._module_name_text_18o7c_84 {
|
|
3024
|
-
fill: currentColor;
|
|
3025
|
-
color: #fff;
|
|
3026
|
-
color: var(--c-white);
|
|
3027
|
-
font-size: 0.5rem;
|
|
3028
|
-
font-weight: 600;
|
|
3029
|
-
font-weight: var(--fw-semibold);
|
|
3030
|
-
text-transform: uppercase;
|
|
3031
|
-
}
|
|
3032
|
-
|
|
3033
|
-
._flipped_18o7c_75 {
|
|
3034
|
-
transform: rotate(180deg);
|
|
3035
|
-
}
|
|
3036
|
-
|
|
3037
|
-
._right_icon_18o7c_96 {
|
|
3038
|
-
margin: 0 0 0 1rem;
|
|
3039
|
-
}/* opentrons style library */
|
|
3040
|
-
|
|
3041
|
-
:root {
|
|
3042
|
-
/* ot brand */
|
|
3043
|
-
--c-mustard: #ffd252;
|
|
3044
|
-
--c-blue: #006cfa;
|
|
3045
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
3046
|
-
|
|
3047
|
-
/*
|
|
3048
|
-
* grays
|
|
3049
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
3050
|
-
*/
|
|
3051
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
3052
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
3053
|
-
--c-charcoal: #979797;
|
|
3054
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
3055
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
3056
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
3057
|
-
|
|
3058
|
-
/*
|
|
3059
|
-
* background colors
|
|
3060
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
3061
|
-
*/
|
|
3062
|
-
--c-bg-dark: #4a4a4a;
|
|
3063
|
-
--c-bg-light: #fafafa;
|
|
3064
|
-
--c-bg-selected: #f0f3ff;
|
|
3065
|
-
--c-bg-hover: #f1f1f1;
|
|
3066
|
-
--c-bg-success: #b6febc;
|
|
3067
|
-
|
|
3068
|
-
/* general UI */
|
|
3069
|
-
--c-highlight: #5fd8ee;
|
|
3070
|
-
--c-selected-dark: #00c3e6;
|
|
3071
|
-
--c-warning-dark: #9e5e00;
|
|
3072
|
-
--c-warning: #e28200;
|
|
3073
|
-
--c-warning-light: #ffd58f;
|
|
3074
|
-
--c-error-dark: #ac0505;
|
|
3075
|
-
--c-error: #d12929;
|
|
3076
|
-
--c-error-light: #ffc0c0;
|
|
3077
|
-
--c-success: #60b120;
|
|
3078
|
-
--c-blue-enabled: #006cfa;
|
|
3079
|
-
--c-light-grey-hover: #c6c6c6;
|
|
3080
|
-
|
|
3081
|
-
/* Misc */
|
|
3082
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
3083
|
-
--c-plate-bg: #ccc;
|
|
3084
|
-
--c-white: #fff;
|
|
3085
|
-
--c-black: #000;
|
|
3086
|
-
--c-green: #7ed321;
|
|
3087
|
-
--c-red: #f00000;
|
|
3088
|
-
--c-orange: #f5a623;
|
|
3089
|
-
|
|
3090
|
-
--transition-color: {
|
|
3091
|
-
transition: color 0.15s ease-in-out;
|
|
3092
|
-
}
|
|
3093
|
-
|
|
3094
|
-
--transition-background-color: {
|
|
3095
|
-
transition: background-color 0.15s ease-in-out;
|
|
3096
|
-
}
|
|
3097
|
-
}
|
|
3098
|
-
|
|
3099
|
-
:root {
|
|
3100
|
-
--c-font-dark: #4a4a4a;
|
|
3101
|
-
--c-font-icon: #6f6f6f;
|
|
3102
|
-
--c-font-light: white;
|
|
3103
|
-
--c-font-disabled: #9c9c9c;
|
|
3104
|
-
--fs-huge: 3rem;
|
|
3105
|
-
--fs-header: 1.125rem;
|
|
3106
|
-
--fs-default: 1rem;
|
|
3107
|
-
--fs-body-2: 0.875rem;
|
|
3108
|
-
--fs-body-1: 0.75rem;
|
|
3109
|
-
--fs-caption: 0.625rem;
|
|
3110
|
-
--fs-tiny: 0.325rem;
|
|
3111
|
-
--fs-micro: 0.2rem;
|
|
3112
|
-
--fw-bold: 800;
|
|
3113
|
-
--fw-semibold: 600;
|
|
3114
|
-
--fw-regular: 400;
|
|
3115
|
-
--fw-light: 300;
|
|
3116
|
-
--ff-code: Consolas, monaco, monospace;
|
|
3117
|
-
--lh-solid: 1;
|
|
3118
|
-
--lh-title: 1.25;
|
|
3119
|
-
--lh-copy: 1.5;
|
|
3120
|
-
}
|
|
3121
|
-
|
|
3122
|
-
:root {
|
|
3123
|
-
/* borders */
|
|
3124
|
-
--bd-radius-default: 2px;
|
|
3125
|
-
--bd-radius-form-field: 3px;
|
|
3126
|
-
--bd-radius-pill: 12px;
|
|
3127
|
-
--bd-width-default: 1px;
|
|
3128
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
3129
|
-
|
|
3130
|
-
/* dropshadows */
|
|
3131
|
-
|
|
3132
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
3133
|
-
--shadow-lvl-1:
|
|
3134
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
3135
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
3136
|
-
--shadow-lvl-2:
|
|
3137
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
3138
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
3139
|
-
}
|
|
3140
|
-
|
|
3141
|
-
* {
|
|
3142
|
-
box-sizing: border-box;
|
|
3143
|
-
}
|
|
3144
|
-
|
|
3145
|
-
._pipette_group_df8d3_3 {
|
|
3146
|
-
margin: 0 auto;
|
|
3147
|
-
max-width: 46rem;
|
|
3148
|
-
padding-bottom: 2rem;
|
|
3149
|
-
display: grid;
|
|
3150
|
-
grid-template-columns: 50% 50%;
|
|
3151
|
-
grid-template-areas: 'left right';
|
|
3152
|
-
}
|
|
3153
|
-
|
|
3154
|
-
._right_df8d3_12 {
|
|
3155
|
-
grid-area: right;
|
|
3156
|
-
grid-template-columns: 40% 80%;
|
|
3157
|
-
grid-template-areas: 'img info';
|
|
3158
|
-
}
|
|
3159
|
-
|
|
3160
|
-
._pipette_info_df8d3_18 {
|
|
3161
|
-
grid-area: info;
|
|
3162
|
-
min-height: 8rem;
|
|
3163
|
-
}
|
|
3164
|
-
|
|
3165
|
-
._flipped_image_df8d3_23 {
|
|
3166
|
-
transform: scaleX(-1);
|
|
3167
|
-
filter: FlipH;
|
|
3168
|
-
}
|
|
3169
|
-
|
|
3170
|
-
._pipette_icon_df8d3_28 {
|
|
3171
|
-
grid-area: img;
|
|
3172
|
-
text-align: center;
|
|
3173
|
-
}
|
|
3174
|
-
|
|
3175
|
-
._title_df8d3_33 {
|
|
3176
|
-
font-size: 0.875rem;
|
|
3177
|
-
font-size: var(--fs-body-2);
|
|
3178
|
-
font-weight: 600;
|
|
3179
|
-
font-weight: var(--fw-semibold);
|
|
3180
|
-
color: #4a4a4a;
|
|
3181
|
-
color: var(--c-font-dark);
|
|
3182
|
-
text-transform: capitalize;
|
|
3183
|
-
margin: 2rem 0 0.25rem;
|
|
3184
|
-
}
|
|
3185
|
-
|
|
3186
|
-
._value_df8d3_41 {
|
|
3187
|
-
font-size: 0.875rem;
|
|
3188
|
-
font-size: var(--fs-body-2); /* from legacy --font-body-2-dark */
|
|
3189
|
-
font-weight: 400;
|
|
3190
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-2-dark */
|
|
3191
|
-
color: #4a4a4a;
|
|
3192
|
-
color: var(--c-font-dark); /* from legacy --font-body-2-dark */
|
|
3193
|
-
}
|
|
3194
|
-
._pipette_volume_class_1eicr_1 {
|
|
3195
|
-
cursor: default;
|
|
3196
|
-
min-width: 3.5rem;
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
|
-
._pipette_channels_1eicr_6 {
|
|
3200
|
-
cursor: default;
|
|
3201
|
-
min-width: 7rem;
|
|
3202
|
-
}
|
|
3203
|
-
|
|
3204
|
-
._pipette_category_1eicr_11 {
|
|
3205
|
-
cursor: default;
|
|
3206
|
-
min-width: 2.5rem;
|
|
3207
|
-
}
|
|
3208
|
-
/* opentrons style library */
|
|
3209
|
-
|
|
3210
|
-
:root {
|
|
3211
|
-
/* ot brand */
|
|
3212
|
-
--c-mustard: #ffd252;
|
|
3213
|
-
--c-blue: #006cfa;
|
|
3214
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
3215
|
-
|
|
3216
|
-
/*
|
|
3217
|
-
* grays
|
|
3218
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
3219
|
-
*/
|
|
3220
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
3221
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
3222
|
-
--c-charcoal: #979797;
|
|
3223
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
3224
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
3225
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
3226
|
-
|
|
3227
|
-
/*
|
|
3228
|
-
* background colors
|
|
3229
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
3230
|
-
*/
|
|
3231
|
-
--c-bg-dark: #4a4a4a;
|
|
3232
|
-
--c-bg-light: #fafafa;
|
|
3233
|
-
--c-bg-selected: #f0f3ff;
|
|
3234
|
-
--c-bg-hover: #f1f1f1;
|
|
3235
|
-
--c-bg-success: #b6febc;
|
|
3236
|
-
|
|
3237
|
-
/* general UI */
|
|
3238
|
-
--c-highlight: #5fd8ee;
|
|
3239
|
-
--c-selected-dark: #00c3e6;
|
|
3240
|
-
--c-warning-dark: #9e5e00;
|
|
3241
|
-
--c-warning: #e28200;
|
|
3242
|
-
--c-warning-light: #ffd58f;
|
|
3243
|
-
--c-error-dark: #ac0505;
|
|
3244
|
-
--c-error: #d12929;
|
|
3245
|
-
--c-error-light: #ffc0c0;
|
|
3246
|
-
--c-success: #60b120;
|
|
3247
|
-
--c-blue-enabled: #006cfa;
|
|
3248
|
-
--c-light-grey-hover: #c6c6c6;
|
|
3249
|
-
|
|
3250
|
-
/* Misc */
|
|
3251
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
3252
|
-
--c-plate-bg: #ccc;
|
|
3253
|
-
--c-white: #fff;
|
|
3254
|
-
--c-black: #000;
|
|
3255
|
-
--c-green: #7ed321;
|
|
3256
|
-
--c-red: #f00000;
|
|
3257
|
-
--c-orange: #f5a623;
|
|
3258
|
-
|
|
3259
|
-
--transition-color: {
|
|
3260
|
-
transition: color 0.15s ease-in-out;
|
|
3261
|
-
}
|
|
3262
|
-
|
|
3263
|
-
--transition-background-color: {
|
|
3264
|
-
transition: background-color 0.15s ease-in-out;
|
|
3265
|
-
}
|
|
3266
|
-
}
|
|
3267
|
-
|
|
3268
|
-
:root {
|
|
3269
|
-
--c-font-dark: #4a4a4a;
|
|
3270
|
-
--c-font-icon: #6f6f6f;
|
|
3271
|
-
--c-font-light: white;
|
|
3272
|
-
--c-font-disabled: #9c9c9c;
|
|
3273
|
-
--fs-huge: 3rem;
|
|
3274
|
-
--fs-header: 1.125rem;
|
|
3275
|
-
--fs-default: 1rem;
|
|
3276
|
-
--fs-body-2: 0.875rem;
|
|
3277
|
-
--fs-body-1: 0.75rem;
|
|
3278
|
-
--fs-caption: 0.625rem;
|
|
3279
|
-
--fs-tiny: 0.325rem;
|
|
3280
|
-
--fs-micro: 0.2rem;
|
|
3281
|
-
--fw-bold: 800;
|
|
3282
|
-
--fw-semibold: 600;
|
|
3283
|
-
--fw-regular: 400;
|
|
3284
|
-
--fw-light: 300;
|
|
3285
|
-
--ff-code: Consolas, monaco, monospace;
|
|
3286
|
-
--lh-solid: 1;
|
|
3287
|
-
--lh-title: 1.25;
|
|
3288
|
-
--lh-copy: 1.5;
|
|
3289
|
-
}
|
|
3290
|
-
|
|
3291
|
-
:root {
|
|
3292
|
-
/* borders */
|
|
3293
|
-
--bd-radius-default: 2px;
|
|
3294
|
-
--bd-radius-form-field: 3px;
|
|
3295
|
-
--bd-radius-pill: 12px;
|
|
3296
|
-
--bd-width-default: 1px;
|
|
3297
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
3298
|
-
|
|
3299
|
-
/* dropshadows */
|
|
3300
|
-
|
|
3301
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
3302
|
-
--shadow-lvl-1:
|
|
3303
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
3304
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
3305
|
-
--shadow-lvl-2:
|
|
3306
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
3307
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
3308
|
-
}
|
|
3309
|
-
|
|
3310
|
-
* {
|
|
3311
|
-
box-sizing: border-box;
|
|
3312
|
-
}
|
|
3313
|
-
|
|
3314
|
-
:root {
|
|
3315
|
-
--list-padding-large: 1rem;
|
|
3316
|
-
--list-padding-small: 0.75rem;
|
|
3317
|
-
}
|
|
3318
|
-
|
|
3319
|
-
._clickable_1842h_8 {
|
|
3320
|
-
cursor: pointer;
|
|
3321
|
-
}
|
|
3322
|
-
|
|
3323
|
-
._disabled_1842h_12 {
|
|
3324
|
-
background-color: transparent;
|
|
3325
|
-
}
|
|
3326
|
-
|
|
3327
|
-
._disabled_1842h_12 * {
|
|
3328
|
-
color: #9c9c9c;
|
|
3329
|
-
color: var(--c-font-disabled);
|
|
3330
|
-
outline-color: #eee;
|
|
3331
|
-
fill: #9c9c9c;
|
|
3332
|
-
fill: var(--c-font-disabled);
|
|
3333
|
-
background-color: transparent;
|
|
3334
|
-
}
|
|
3335
|
-
|
|
3336
|
-
._panel_group_1842h_23,
|
|
3337
|
-
._titled_list_1842h_24,
|
|
3338
|
-
._list_item_1842h_25 {
|
|
3339
|
-
background-color: white;
|
|
3340
|
-
}
|
|
3341
|
-
|
|
3342
|
-
._panel_group_1842h_23 {
|
|
3343
|
-
box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.33);
|
|
3344
|
-
}
|
|
3345
|
-
|
|
3346
|
-
._hover_border_1842h_33 {
|
|
3347
|
-
outline: 1px solid #5fd8ee;
|
|
3348
|
-
outline: var(--bd-width-default) solid var(--c-highlight);
|
|
3349
|
-
}
|
|
3350
|
-
|
|
3351
|
-
._header_text_1842h_37 {
|
|
3352
|
-
text-transform: uppercase;
|
|
3353
|
-
font-size: 0.625rem;
|
|
3354
|
-
font-size: var(--fs-caption);
|
|
3355
|
-
font-weight: 600;
|
|
3356
|
-
font-weight: var(--fw-semibold);
|
|
3357
|
-
color: #9c9c9c;
|
|
3358
|
-
color: var(--c-font-disabled);
|
|
3359
|
-
}
|
|
3360
|
-
|
|
3361
|
-
/*
|
|
3362
|
-
TODO(IL, 2021-07-30): when consumers of this class are migrated to CSS-in-JS, keep in mind
|
|
3363
|
-
the meaning of .title_bar is vague, it is widely used by several unrelated components.
|
|
3364
|
-
Also, it's almost the same as .titled_list_title_bar -- they are the same
|
|
3365
|
-
except for flex-related rules.
|
|
3366
|
-
*/
|
|
3367
|
-
|
|
3368
|
-
._title_bar_1842h_46 {
|
|
3369
|
-
position: relative;
|
|
3370
|
-
display: flex;
|
|
3371
|
-
-webkit-text-decoration: none;
|
|
3372
|
-
text-decoration: none;
|
|
3373
|
-
padding: 1rem 0.75rem;
|
|
3374
|
-
padding: var(--list-padding-large) var(--list-padding-small);
|
|
3375
|
-
flex-direction: column;
|
|
3376
|
-
}
|
|
3377
|
-
|
|
3378
|
-
/* Specifically for TitledList */
|
|
3379
|
-
|
|
3380
|
-
._titled_list_title_bar_1842h_47 {
|
|
3381
|
-
position: relative;
|
|
3382
|
-
display: flex;
|
|
3383
|
-
-webkit-text-decoration: none;
|
|
3384
|
-
text-decoration: none;
|
|
3385
|
-
padding: 1rem 0.75rem;
|
|
3386
|
-
padding: var(--list-padding-large) var(--list-padding-small);
|
|
3387
|
-
flex-direction: row;
|
|
3388
|
-
align-items: center;
|
|
3389
|
-
}
|
|
3390
|
-
|
|
3391
|
-
._titled_list_selected_1842h_68 ._title_bar_1842h_46 {
|
|
3392
|
-
background-color: #f0f3ff;
|
|
3393
|
-
background-color: var(--c-bg-selected);
|
|
3394
|
-
}
|
|
3395
|
-
|
|
3396
|
-
._titled_list_selected_1842h_68 ._title_bar_1842h_46 * {
|
|
3397
|
-
color: #00c3e6;
|
|
3398
|
-
color: var(--c-selected-dark);
|
|
3399
|
-
font-weight: 600;
|
|
3400
|
-
font-weight: var(--fw-semibold);
|
|
3401
|
-
}
|
|
3402
|
-
|
|
3403
|
-
._title_1842h_24 {
|
|
3404
|
-
font-size: 0.875rem;
|
|
3405
|
-
font-size: var(--fs-body-2);
|
|
3406
|
-
font-weight: 400;
|
|
3407
|
-
font-weight: var(--fw-regular);
|
|
3408
|
-
margin: 0;
|
|
3409
|
-
text-transform: uppercase;
|
|
3410
|
-
}
|
|
3411
|
-
|
|
3412
|
-
._title_enabled_1842h_86 {
|
|
3413
|
-
color: #4a4a4a;
|
|
3414
|
-
color: var(--c-font-dark);
|
|
3415
|
-
}
|
|
3416
|
-
|
|
3417
|
-
._title_disabled_1842h_90 {
|
|
3418
|
-
color: #9c9c9c;
|
|
3419
|
-
color: var(--c-font-disabled);
|
|
3420
|
-
}
|
|
3421
|
-
|
|
3422
|
-
._title_bar_icon_1842h_94 {
|
|
3423
|
-
color: #4a4a4a;
|
|
3424
|
-
color: var(--c-font-dark);
|
|
3425
|
-
height: 1.5rem;
|
|
3426
|
-
}
|
|
3427
|
-
|
|
3428
|
-
._title_bar_error_1842h_99 {
|
|
3429
|
-
background-color: #ffc0c0;
|
|
3430
|
-
background-color: var(--c-error-light);
|
|
3431
|
-
}
|
|
3432
|
-
|
|
3433
|
-
._icon_left_of_title_1842h_103 {
|
|
3434
|
-
margin-right: 0.5rem;
|
|
3435
|
-
height: 1.2rem;
|
|
3436
|
-
}
|
|
3437
|
-
|
|
3438
|
-
._icon_left_of_title_container_1842h_108 {
|
|
3439
|
-
display: flex;
|
|
3440
|
-
justify-content: flex-start;
|
|
3441
|
-
}
|
|
3442
|
-
|
|
3443
|
-
._title_bar_carat_1842h_113 {
|
|
3444
|
-
position: absolute;
|
|
3445
|
-
top: 0;
|
|
3446
|
-
bottom: 0;
|
|
3447
|
-
right: 0;
|
|
3448
|
-
padding: calc(0.75rem - 1px);
|
|
3449
|
-
padding: calc(var(--list-padding-small) - var(--bd-width-default));
|
|
3450
|
-
padding-top: 1rem;
|
|
3451
|
-
}
|
|
3452
|
-
|
|
3453
|
-
._title_bar_carat_1842h_113:hover {
|
|
3454
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
3455
|
-
}
|
|
3456
|
-
|
|
3457
|
-
._list_1842h_25 {
|
|
3458
|
-
list-style-type: none;
|
|
3459
|
-
padding-left: 0;
|
|
3460
|
-
margin: 0;
|
|
3461
|
-
}
|
|
3462
|
-
|
|
3463
|
-
._list_item_1842h_25 {
|
|
3464
|
-
font-size: 0.75rem;
|
|
3465
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
3466
|
-
font-weight: 400;
|
|
3467
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
|
|
3468
|
-
color: #4a4a4a;
|
|
3469
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
3470
|
-
display: flex;
|
|
3471
|
-
flex-direction: row;
|
|
3472
|
-
align-items: center;
|
|
3473
|
-
width: 100%;
|
|
3474
|
-
line-height: 1.25;
|
|
3475
|
-
margin: 0;
|
|
3476
|
-
padding: 0.75rem;
|
|
3477
|
-
padding: var(--list-padding-small);
|
|
3478
|
-
}
|
|
3479
|
-
|
|
3480
|
-
._list_item_1842h_25:hover {
|
|
3481
|
-
background-color: #f1f1f1;
|
|
3482
|
-
background-color: var(--c-bg-hover);
|
|
3483
|
-
}
|
|
3484
|
-
|
|
3485
|
-
._list_item_1842h_25._active_1842h_148 {
|
|
3486
|
-
background-color: #f0f3ff;
|
|
3487
|
-
background-color: var(--c-bg-selected);
|
|
3488
|
-
}
|
|
3489
|
-
|
|
3490
|
-
a._list_item_1842h_25 {
|
|
3491
|
-
-webkit-text-decoration: none;
|
|
3492
|
-
text-decoration: none;
|
|
3493
|
-
}
|
|
3494
|
-
|
|
3495
|
-
._list_alert_1842h_157 {
|
|
3496
|
-
font-size: 0.75rem;
|
|
3497
|
-
font-size: var(--fs-body-1); /* from legacy --font-body-1-dark */
|
|
3498
|
-
font-weight: 400;
|
|
3499
|
-
font-weight: var(--fw-regular); /* from legacy --font-body-1-dark */
|
|
3500
|
-
color: #4a4a4a;
|
|
3501
|
-
color: var(--c-font-dark); /* from legacy --font-body-1-dark */
|
|
3502
|
-
width: 100%;
|
|
3503
|
-
padding: 0.75rem;
|
|
3504
|
-
padding: var(--list-padding-small);
|
|
3505
|
-
background-color: #fafafa;
|
|
3506
|
-
background-color: var(--c-bg-light);
|
|
3507
|
-
font-style: italic;
|
|
3508
|
-
}
|
|
3509
|
-
|
|
3510
|
-
._item_icon_1842h_167 {
|
|
3511
|
-
flex: none;
|
|
3512
|
-
height: calc(1.25 * 0.75rem);
|
|
3513
|
-
height: calc(1.25 * var(--fs-body-1));
|
|
3514
|
-
margin-right: 0.5rem;
|
|
3515
|
-
}
|
|
3516
|
-
/* opentrons style library */
|
|
3517
|
-
|
|
3518
|
-
:root {
|
|
3519
|
-
/* ot brand */
|
|
3520
|
-
--c-mustard: #ffd252;
|
|
3521
|
-
--c-blue: #006cfa;
|
|
3522
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
3523
|
-
|
|
3524
|
-
/*
|
|
3525
|
-
* grays
|
|
3526
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
3527
|
-
*/
|
|
3528
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
3529
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
3530
|
-
--c-charcoal: #979797;
|
|
3531
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
3532
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
3533
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
3534
|
-
|
|
3535
|
-
/*
|
|
3536
|
-
* background colors
|
|
3537
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
3538
|
-
*/
|
|
3539
|
-
--c-bg-dark: #4a4a4a;
|
|
3540
|
-
--c-bg-light: #fafafa;
|
|
3541
|
-
--c-bg-selected: #f0f3ff;
|
|
3542
|
-
--c-bg-hover: #f1f1f1;
|
|
3543
|
-
--c-bg-success: #b6febc;
|
|
3544
|
-
|
|
3545
|
-
/* general UI */
|
|
3546
|
-
--c-highlight: #5fd8ee;
|
|
3547
|
-
--c-selected-dark: #00c3e6;
|
|
3548
|
-
--c-warning-dark: #9e5e00;
|
|
3549
|
-
--c-warning: #e28200;
|
|
3550
|
-
--c-warning-light: #ffd58f;
|
|
3551
|
-
--c-error-dark: #ac0505;
|
|
3552
|
-
--c-error: #d12929;
|
|
3553
|
-
--c-error-light: #ffc0c0;
|
|
3554
|
-
--c-success: #60b120;
|
|
3555
|
-
--c-blue-enabled: #006cfa;
|
|
3556
|
-
--c-light-grey-hover: #c6c6c6;
|
|
3557
|
-
|
|
3558
|
-
/* Misc */
|
|
3559
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
3560
|
-
--c-plate-bg: #ccc;
|
|
3561
|
-
--c-white: #fff;
|
|
3562
|
-
--c-black: #000;
|
|
3563
|
-
--c-green: #7ed321;
|
|
3564
|
-
--c-red: #f00000;
|
|
3565
|
-
--c-orange: #f5a623;
|
|
3566
|
-
|
|
3567
|
-
--transition-color: {
|
|
3568
|
-
transition: color 0.15s ease-in-out;
|
|
3569
|
-
}
|
|
3570
|
-
|
|
3571
|
-
--transition-background-color: {
|
|
3572
|
-
transition: background-color 0.15s ease-in-out;
|
|
3573
|
-
}
|
|
3574
|
-
}
|
|
3575
|
-
|
|
3576
|
-
:root {
|
|
3577
|
-
--c-font-dark: #4a4a4a;
|
|
3578
|
-
--c-font-icon: #6f6f6f;
|
|
3579
|
-
--c-font-light: white;
|
|
3580
|
-
--c-font-disabled: #9c9c9c;
|
|
3581
|
-
--fs-huge: 3rem;
|
|
3582
|
-
--fs-header: 1.125rem;
|
|
3583
|
-
--fs-default: 1rem;
|
|
3584
|
-
--fs-body-2: 0.875rem;
|
|
3585
|
-
--fs-body-1: 0.75rem;
|
|
3586
|
-
--fs-caption: 0.625rem;
|
|
3587
|
-
--fs-tiny: 0.325rem;
|
|
3588
|
-
--fs-micro: 0.2rem;
|
|
3589
|
-
--fw-bold: 800;
|
|
3590
|
-
--fw-semibold: 600;
|
|
3591
|
-
--fw-regular: 400;
|
|
3592
|
-
--fw-light: 300;
|
|
3593
|
-
--ff-code: Consolas, monaco, monospace;
|
|
3594
|
-
--lh-solid: 1;
|
|
3595
|
-
--lh-title: 1.25;
|
|
3596
|
-
--lh-copy: 1.5;
|
|
3597
|
-
}
|
|
3598
|
-
|
|
3599
|
-
:root {
|
|
3600
|
-
/* borders */
|
|
3601
|
-
--bd-radius-default: 2px;
|
|
3602
|
-
--bd-radius-form-field: 3px;
|
|
3603
|
-
--bd-radius-pill: 12px;
|
|
3604
|
-
--bd-width-default: 1px;
|
|
3605
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
3606
|
-
|
|
3607
|
-
/* dropshadows */
|
|
3608
|
-
|
|
3609
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
3610
|
-
--shadow-lvl-1:
|
|
3611
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
3612
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
3613
|
-
--shadow-lvl-2:
|
|
3614
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
3615
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
3616
|
-
}
|
|
3617
|
-
|
|
3618
|
-
* {
|
|
3619
|
-
box-sizing: border-box;
|
|
3620
|
-
}
|
|
3621
|
-
|
|
3622
|
-
:root {
|
|
3623
|
-
--sidebar-width: 18.25rem;
|
|
3624
|
-
}
|
|
3625
|
-
|
|
3626
|
-
._panel_6dvfp_7 {
|
|
3627
|
-
flex-shrink: 0;
|
|
3628
|
-
overflow: visible;
|
|
3629
|
-
border-right: 1px solid #e5e2e2;
|
|
3630
|
-
border-right: var(--bd-light);
|
|
3631
|
-
background-color: #fafafa;
|
|
3632
|
-
background-color: var(--c-bg-light);
|
|
3633
|
-
position: relative;
|
|
3634
|
-
padding: 0 4px;
|
|
3635
|
-
}
|
|
3636
|
-
|
|
3637
|
-
._title_bar_6dvfp_16 {
|
|
3638
|
-
display: flex;
|
|
3639
|
-
align-items: center;
|
|
3640
|
-
width: 18.25rem;
|
|
3641
|
-
width: var(--sidebar-width);
|
|
3642
|
-
}
|
|
3643
|
-
|
|
3644
|
-
._title_6dvfp_16 {
|
|
3645
|
-
font-size: 1.125rem;
|
|
3646
|
-
font-size: var(--fs-header); /* from legacy --font-header-dark */
|
|
3647
|
-
font-weight: 600;
|
|
3648
|
-
font-weight: var(--fw-semibold); /* from legacy --font-header-dark */
|
|
3649
|
-
color: #4a4a4a;
|
|
3650
|
-
color: var(--c-font-dark); /* from legacy --font-header-dark */
|
|
3651
|
-
margin: 1rem auto;
|
|
3652
|
-
}
|
|
3653
|
-
|
|
3654
|
-
._panel_contents_6dvfp_29 {
|
|
3655
|
-
width: 18.25rem;
|
|
3656
|
-
width: var(--sidebar-width);
|
|
3657
|
-
height: calc(100vh - 3.5rem);
|
|
3658
|
-
overflow-x: hidden;
|
|
3659
|
-
overflow-y: auto;
|
|
3660
|
-
}
|
|
3661
|
-
/* opentrons style library */
|
|
3662
|
-
|
|
3663
|
-
:root {
|
|
3664
|
-
/* ot brand */
|
|
3665
|
-
--c-mustard: #ffd252;
|
|
3666
|
-
--c-blue: #006cfa;
|
|
3667
|
-
--c-light-blue: hsl(214.08, 100%, 85%);
|
|
3668
|
-
|
|
3669
|
-
/*
|
|
3670
|
-
* grays
|
|
3671
|
-
* TODO(mc, 2019-03-22): align with style guide
|
|
3672
|
-
*/
|
|
3673
|
-
--c-near-black: #a4a4a4; /* style guide: n/a */
|
|
3674
|
-
--c-dark-gray: #4a4a4a; /* style guide: near-black */
|
|
3675
|
-
--c-charcoal: #979797;
|
|
3676
|
-
--c-med-gray: #9b9b9b; /* style guide: n/a */
|
|
3677
|
-
--c-light-gray: #e5e2e2; /* style guide: smoke, should be e6e6e6 */
|
|
3678
|
-
--c-lightest-gray: #ededed; /* style guide: n/a */
|
|
3679
|
-
|
|
3680
|
-
/*
|
|
3681
|
-
* background colors
|
|
3682
|
-
* TODO(mc, 2019-03-22): combine with colors
|
|
3683
|
-
*/
|
|
3684
|
-
--c-bg-dark: #4a4a4a;
|
|
3685
|
-
--c-bg-light: #fafafa;
|
|
3686
|
-
--c-bg-selected: #f0f3ff;
|
|
3687
|
-
--c-bg-hover: #f1f1f1;
|
|
3688
|
-
--c-bg-success: #b6febc;
|
|
3689
|
-
|
|
3690
|
-
/* general UI */
|
|
3691
|
-
--c-highlight: #5fd8ee;
|
|
3692
|
-
--c-selected-dark: #00c3e6;
|
|
3693
|
-
--c-warning-dark: #9e5e00;
|
|
3694
|
-
--c-warning: #e28200;
|
|
3695
|
-
--c-warning-light: #ffd58f;
|
|
3696
|
-
--c-error-dark: #ac0505;
|
|
3697
|
-
--c-error: #d12929;
|
|
3698
|
-
--c-error-light: #ffc0c0;
|
|
3699
|
-
--c-success: #60b120;
|
|
3700
|
-
--c-blue-enabled: #006cfa;
|
|
3701
|
-
--c-light-grey-hover: #c6c6c6;
|
|
3702
|
-
|
|
3703
|
-
/* Misc */
|
|
3704
|
-
--c-selection-overlay: rgba(95, 216, 238, 0.3);
|
|
3705
|
-
--c-plate-bg: #ccc;
|
|
3706
|
-
--c-white: #fff;
|
|
3707
|
-
--c-black: #000;
|
|
3708
|
-
--c-green: #7ed321;
|
|
3709
|
-
--c-red: #f00000;
|
|
3710
|
-
--c-orange: #f5a623;
|
|
3711
|
-
|
|
3712
|
-
--transition-color: {
|
|
3713
|
-
transition: color 0.15s ease-in-out;
|
|
3714
|
-
}
|
|
3715
|
-
|
|
3716
|
-
--transition-background-color: {
|
|
3717
|
-
transition: background-color 0.15s ease-in-out;
|
|
3718
|
-
}
|
|
3719
|
-
}
|
|
3720
|
-
|
|
3721
|
-
:root {
|
|
3722
|
-
--c-font-dark: #4a4a4a;
|
|
3723
|
-
--c-font-icon: #6f6f6f;
|
|
3724
|
-
--c-font-light: white;
|
|
3725
|
-
--c-font-disabled: #9c9c9c;
|
|
3726
|
-
--fs-huge: 3rem;
|
|
3727
|
-
--fs-header: 1.125rem;
|
|
3728
|
-
--fs-default: 1rem;
|
|
3729
|
-
--fs-body-2: 0.875rem;
|
|
3730
|
-
--fs-body-1: 0.75rem;
|
|
3731
|
-
--fs-caption: 0.625rem;
|
|
3732
|
-
--fs-tiny: 0.325rem;
|
|
3733
|
-
--fs-micro: 0.2rem;
|
|
3734
|
-
--fw-bold: 800;
|
|
3735
|
-
--fw-semibold: 600;
|
|
3736
|
-
--fw-regular: 400;
|
|
3737
|
-
--fw-light: 300;
|
|
3738
|
-
--ff-code: Consolas, monaco, monospace;
|
|
3739
|
-
--lh-solid: 1;
|
|
3740
|
-
--lh-title: 1.25;
|
|
3741
|
-
--lh-copy: 1.5;
|
|
3742
|
-
}
|
|
3743
|
-
|
|
3744
|
-
:root {
|
|
3745
|
-
/* borders */
|
|
3746
|
-
--bd-radius-default: 2px;
|
|
3747
|
-
--bd-radius-form-field: 3px;
|
|
3748
|
-
--bd-radius-pill: 12px;
|
|
3749
|
-
--bd-width-default: 1px;
|
|
3750
|
-
--bd-light: var(--bd-width-default) solid var(--c-light-gray);
|
|
3751
|
-
|
|
3752
|
-
/* dropshadows */
|
|
3753
|
-
|
|
3754
|
-
/* TODO: Ian 2018-07-26 consolidate all shadows here (eg from buttons) */
|
|
3755
|
-
--shadow-lvl-1:
|
|
3756
|
-
0 1px 3px 0 rgba(0, 0, 0, 0.1),
|
|
3757
|
-
0 1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
3758
|
-
--shadow-lvl-2:
|
|
3759
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.13),
|
|
3760
|
-
0 3px 6px 0 rgba(0, 0, 0, 0.23);
|
|
3761
|
-
}
|
|
3762
|
-
|
|
3763
|
-
* {
|
|
3764
|
-
box-sizing: border-box;
|
|
3765
|
-
}
|
|
3766
|
-
|
|
3767
|
-
._slot_rect_v9we7_3 {
|
|
3768
|
-
stroke: #9b9b9b;
|
|
3769
|
-
stroke: var(--c-med-gray);
|
|
3770
|
-
fill: none;
|
|
3771
|
-
}
|
|
3772
|
-
|
|
3773
|
-
._slot_occupied_v9we7_8 {
|
|
3774
|
-
fill: #e5e2e2;
|
|
3775
|
-
fill: var(--c-light-gray);
|
|
3776
|
-
}
|
|
3777
|
-
|
|
3778
|
-
._slot_occupied_v9we7_8._slot_error_v9we7_12 {
|
|
3779
|
-
fill: #ffd58f;
|
|
3780
|
-
fill: var(--c-warning-light);
|
|
3781
|
-
}
|
|
3782
|
-
|
|
3783
|
-
._collision_icon_v9we7_16 {
|
|
3784
|
-
color: #9b9b9b;
|
|
3785
|
-
color: var(--c-med-gray);
|
|
3786
|
-
}
|