superdesk-ui-framework 2.4.21 → 3.0.0-rc12
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/app/fonts/sd_big-icons.eot +0 -0
- package/app/fonts/sd_big-icons.svg +55 -53
- package/app/fonts/sd_big-icons.ttf +0 -0
- package/app/fonts/sd_big-icons.woff +0 -0
- package/app/fonts/sd_icons.eot +0 -0
- package/app/fonts/sd_icons.svg +15 -7
- package/app/fonts/sd_icons.ttf +0 -0
- package/app/fonts/sd_icons.woff +0 -0
- package/app/img/SD-logo.svg +52 -0
- package/app/img/dots.svg +3 -0
- package/app/img/spinner.svg +3 -0
- package/app/img/themes/theme-base.svg +1 -0
- package/app/img/themes/theme-contrast.svg +45 -0
- package/app/img/themes/theme-dark.svg +1 -0
- package/app/img/themes/theme-light.svg +1 -0
- package/app/index.js +2 -1
- package/app/scripts/check.js +1 -1
- package/app/scripts/modals.js +1 -0
- package/app/scripts/toggleBoxNext.js +1 -1
- package/app/styles/_accessibility.scss +309 -6
- package/app/styles/_alerts.scss +227 -97
- package/app/styles/_avatar.scss +60 -33
- package/app/styles/_badge.scss +55 -26
- package/app/styles/_big-icon-font.scss +64 -23
- package/app/styles/_boxed-list.scss +70 -23
- package/app/styles/_buttons.scss +553 -1026
- package/app/styles/_carousel.scss +19 -13
- package/app/styles/_content-divider.scss +180 -0
- package/app/styles/_design-tokens.scss +2 -0
- package/app/styles/_drag-drop.scss +1 -1
- package/app/styles/_empty-states.scss +9 -1
- package/app/styles/_hamburger.scss +160 -0
- package/app/styles/_helpers.scss +684 -311
- package/app/styles/_icon-font.scss +353 -309
- package/app/styles/_icon-labels.scss +69 -14
- package/app/styles/_labels.scss +65 -53
- package/app/styles/_loaders.scss +28 -0
- package/app/styles/_master-desk.scss +14 -13
- package/app/styles/_mixins.scss +21 -13
- package/app/styles/_modals.scss +109 -119
- package/app/styles/_normalize.scss +5 -0
- package/app/styles/_panel-info.scss +21 -16
- package/app/styles/_popover.scss +2 -2
- package/app/styles/_pr-superdesk-theme.scss +4 -0
- package/app/styles/_publisher-styles.scss +182 -0
- package/app/styles/_reboot.scss +1 -0
- package/app/styles/_sd-tag-input.scss +311 -264
- package/app/styles/_simple-list.scss +39 -19
- package/app/styles/_table-list.scss +348 -0
- package/app/styles/_tables.scss +5 -4
- package/app/styles/_tabs.scss +24 -75
- package/app/styles/_tag-labels.scss +47 -47
- package/app/styles/_thumb-carousel.scss +11 -10
- package/app/styles/_toggle-box.scss +52 -46
- package/app/styles/_toggle-button.scss +42 -0
- package/app/styles/_tooltips.scss +55 -98
- package/app/styles/_variables.scss +0 -1
- package/app/styles/app.scss +22 -1
- package/app/styles/components/_card-item.scss +41 -28
- package/app/styles/components/_list-item.scss +78 -125
- package/app/styles/components/_sd-circular-progress.scss +1 -1
- package/app/styles/components/_sd-collapse-box.scss +11 -38
- package/app/styles/components/_sd-comment-box.scss +8 -4
- package/app/styles/components/_sd-dropzone.scss +114 -0
- package/app/styles/components/_sd-editor-popup.scss +4 -4
- package/app/styles/components/_sd-grid-item.scss +105 -193
- package/app/styles/components/_sd-loader.scss +1 -16
- package/app/styles/components/_sd-media-carousel.scss +47 -14
- package/app/styles/components/_sd-notification-panel.scss +48 -0
- package/app/styles/components/_sd-photo-preview.scss +16 -16
- package/app/styles/components/_sd-searchbar.scss +50 -127
- package/app/styles/components/_sd-toaster.scss +13 -6
- package/app/styles/components/_subnav.scss +475 -474
- package/app/styles/components/_theme-selector.scss +189 -0
- package/app/styles/components/sd-slider.scss +11 -11
- package/app/styles/design-tokens/_design-tokens-general.scss +81 -0
- package/app/styles/design-tokens/_new-colors.scss +724 -0
- package/app/styles/dropdowns/_basic-dropdown.scss +125 -76
- package/app/styles/dropdowns/_navigation_dropdown.scss +7 -8
- package/app/styles/dropdowns/_nested-dropdown.scss +30 -16
- package/app/styles/dropdowns/_other_dropdown.scss +1 -1
- package/app/styles/editor/_editor-buttons.scss +54 -0
- package/app/styles/editor/_editor-themes.scss +437 -0
- package/app/styles/form-elements/_autocomplete.scss +12 -41
- package/app/styles/form-elements/_checkbox.scss +180 -245
- package/app/styles/form-elements/_forms-general.scss +173 -27
- package/app/styles/form-elements/_input-wrap.scss +138 -0
- package/app/styles/form-elements/_inputs.scss +646 -421
- package/app/styles/form-elements/_radio.scss +6 -6
- package/app/styles/form-elements/_select-grid.scss +16 -14
- package/app/styles/form-elements/_switch.scss +26 -47
- package/app/styles/grids/_basic-grid.scss +52 -26
- package/app/styles/grids/_grid-layout.scss +256 -94
- package/app/styles/grids/_layout-grid.scss +6 -6
- package/app/styles/grids/_sd-kanban-list.scss +2 -2
- package/app/styles/interface-elements/_side-panel.scss +116 -84
- package/app/styles/layout/_basic-layout.scss +13 -21
- package/app/styles/layout/_container.scss +35 -0
- package/app/styles/layout/_editor.scss +404 -0
- package/app/styles/layout/_general.scss +4 -5
- package/app/styles/menus/_sd-bottom-tabs.scss +70 -0
- package/app/styles/menus/_sd-content-navigation.scss +1 -1
- package/app/styles/menus/_sd-left-navigation.scss +57 -18
- package/app/styles/menus/_sd-sidebar-menu.scss +124 -30
- package/app/styles/menus/_sd-top-menu.scss +22 -8
- package/app/styles/primereact/_pr-datepicker.scss +64 -11
- package/app/styles/primereact/_pr-dialog.scss +136 -30
- package/app/styles/primereact/_pr-dropdown.scss +190 -18
- package/app/styles/primereact/_pr-general.scss +14 -7
- package/app/styles/primereact/_pr-menu.scss +14 -16
- package/app/styles/variables/_colors.scss +152 -544
- package/app/styles/variables/_dimensions.scss +82 -4
- package/app/styles/variables/_form-elements.scss +0 -2
- package/app/styles/variables/_typography.scss +2 -0
- package/app-typescript/components/Alert.tsx +16 -1
- package/app-typescript/components/Avatar.tsx +21 -0
- package/app-typescript/components/Badge.tsx +3 -2
- package/app-typescript/components/ButtonGroup.tsx +9 -5
- package/app-typescript/components/Carousel.tsx +1 -1
- package/app-typescript/components/CheckButtonGroup.tsx +19 -5
- package/app-typescript/components/CheckGroup.tsx +2 -1
- package/app-typescript/components/Checkbox.tsx +7 -3
- package/app-typescript/components/CheckboxButton.tsx +9 -2
- package/app-typescript/components/ContentDivider.tsx +37 -0
- package/app-typescript/components/CreateButton.tsx +38 -0
- package/app-typescript/components/DatePicker.tsx +77 -38
- package/app-typescript/components/DonutChart.tsx +1 -1
- package/app-typescript/components/DropZone.tsx +89 -0
- package/app-typescript/components/Dropdown.tsx +141 -77
- package/app-typescript/components/DropdownFirst.tsx +1 -1
- package/app-typescript/components/DurationInput.tsx +400 -0
- package/app-typescript/components/Editor/EditorButton.tsx +34 -0
- package/app-typescript/components/EmptyState.tsx +2 -1
- package/app-typescript/components/Form/FormGroup.tsx +33 -0
- package/app-typescript/components/Form/FormItem.tsx +20 -0
- package/app-typescript/components/Form/FormLabel.tsx +29 -0
- package/app-typescript/components/Form/FormRow.tsx +40 -0
- package/app-typescript/components/Form/FormRowNew.tsx +41 -0
- package/app-typescript/components/Form/FormText.tsx +15 -0
- package/app-typescript/components/Form/InputBase.tsx +95 -0
- package/app-typescript/components/Form/InputNew.tsx +107 -0
- package/app-typescript/components/Form/InputWrapper.tsx +79 -0
- package/app-typescript/components/Form/index.tsx +9 -0
- package/app-typescript/components/Icon.tsx +4 -2
- package/app-typescript/components/IconButton.tsx +30 -12
- package/app-typescript/components/IconLabel.tsx +8 -1
- package/app-typescript/components/Input.tsx +68 -52
- package/app-typescript/components/Label.tsx +65 -10
- package/app-typescript/components/Layouts/AuthorinInnerSideBar.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringContainer.tsx +28 -0
- package/app-typescript/components/Layouts/AuthoringFrame.tsx +73 -0
- package/app-typescript/components/Layouts/AuthoringFrameContainer.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameLeftBar.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameMain.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameNavBar.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameOverlay.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringFrameRightBar.tsx +34 -0
- package/app-typescript/components/Layouts/AuthoringFrameSidePanel.tsx +22 -0
- package/app-typescript/components/Layouts/AuthoringFrameSidePanelOverlay.tsx +22 -0
- package/app-typescript/components/Layouts/AuthoringInnerBody.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +40 -0
- package/app-typescript/components/Layouts/AuthoringMain.tsx +52 -0
- package/app-typescript/components/Layouts/AuthoringMainContainer.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringMainContent.tsx +15 -0
- package/app-typescript/components/Layouts/AuthoringMainToolBar.tsx +21 -0
- package/app-typescript/components/Layouts/BottomBarAction.tsx +35 -0
- package/app-typescript/components/Layouts/Container.tsx +30 -0
- package/app-typescript/components/Layouts/ContentSplitter.tsx +23 -0
- package/app-typescript/components/Layouts/CoreLayout.tsx +63 -0
- package/app-typescript/components/Layouts/CoreLayoutContainer.tsx +16 -0
- package/app-typescript/components/Layouts/CoreLayoutFooter.tsx +15 -0
- package/app-typescript/components/Layouts/CoreLayoutMain.tsx +22 -0
- package/app-typescript/components/Layouts/CoreLayoutOverlay.tsx +15 -0
- package/app-typescript/components/Layouts/CoreLayoutSlideInMenu.tsx +24 -0
- package/app-typescript/components/Layouts/CoreLayoutTopMenu.tsx +35 -0
- package/app-typescript/components/Layouts/HamburgerButton.tsx +41 -0
- package/app-typescript/components/Layouts/HeaderPanel.tsx +15 -0
- package/app-typescript/components/Layouts/Layout.tsx +33 -0
- package/app-typescript/components/Layouts/LayoutContainer.tsx +15 -0
- package/app-typescript/components/Layouts/LeftPanel.tsx +24 -0
- package/app-typescript/components/Layouts/MainMenu.tsx +101 -0
- package/app-typescript/components/Layouts/MainPanel.tsx +27 -0
- package/app-typescript/components/Layouts/NotificationPanel.tsx +109 -0
- package/app-typescript/components/Layouts/OverlayPanel.tsx +19 -0
- package/app-typescript/components/Layouts/PageLayout.tsx +51 -0
- package/app-typescript/components/Layouts/Panel.tsx +208 -0
- package/app-typescript/components/Layouts/RightPanel.tsx +16 -0
- package/app-typescript/components/Layouts/index.tsx +43 -0
- package/app-typescript/components/LeftMenu.tsx +116 -31
- package/app-typescript/components/Lists/BoxedList.tsx +169 -0
- package/app-typescript/components/Lists/ContentList.tsx +133 -0
- package/app-typescript/components/Lists/SimpleList.tsx +54 -0
- package/app-typescript/components/Lists/TableList.tsx +405 -0
- package/app-typescript/components/Lists/index.tsx +2 -0
- package/app-typescript/components/Menu.tsx +33 -9
- package/app-typescript/components/Modal.tsx +34 -16
- package/app-typescript/components/MultiSelect.tsx +99 -0
- package/app-typescript/components/NavButton.tsx +6 -1
- package/app-typescript/components/Navigation/BottomNav.tsx +83 -0
- package/app-typescript/components/Navigation/QuickNavBar.tsx +114 -0
- package/app-typescript/components/Navigation/SideBarMenu.tsx +68 -0
- package/app-typescript/components/Navigation/SideBarTabs.tsx +87 -0
- package/app-typescript/components/Navigation/index.tsx +3 -0
- package/app-typescript/components/RadioButtonGroup.tsx +113 -0
- package/app-typescript/components/RadioGroup.tsx +69 -0
- package/app-typescript/components/SearchBar.tsx +106 -0
- package/app-typescript/components/Select.tsx +29 -39
- package/app-typescript/components/SelectGrid.tsx +4 -4
- package/app-typescript/components/SelectWithTemplate.tsx +32 -7
- package/app-typescript/components/SidebarMenu.tsx +68 -0
- package/app-typescript/components/Skeleton.tsx +1 -1
- package/app-typescript/components/SlidingToolbar.tsx +8 -2
- package/app-typescript/components/Spacer.tsx +87 -0
- package/app-typescript/components/Spinner.tsx +1 -2
- package/app-typescript/components/SubNav.tsx +25 -4
- package/app-typescript/components/Switch.tsx +34 -12
- package/app-typescript/components/SwitchGroup.tsx +2 -1
- package/app-typescript/components/TabCustom.tsx +40 -89
- package/app-typescript/components/TabList.tsx +18 -43
- package/app-typescript/components/Tag.tsx +32 -9
- package/app-typescript/components/Text/Heading.tsx +67 -0
- package/app-typescript/components/Text/Text.tsx +36 -0
- package/app-typescript/components/Text/Time.tsx +34 -0
- package/app-typescript/components/ThemeSelector.tsx +113 -0
- package/app-typescript/components/TimePicker.tsx +38 -15
- package/app-typescript/components/Togglebox.tsx +9 -7
- package/app-typescript/components/Tooltip.tsx +7 -5
- package/app-typescript/components/TreeSelect.tsx +664 -0
- package/app-typescript/components/WithSizeObserver.tsx +88 -0
- package/app-typescript/helpers.tsx +3 -0
- package/app-typescript/index.ts +27 -4
- package/dist/SD-logo.svg +52 -0
- package/dist/avatar-2.jpg +0 -0
- package/dist/avatar-3.jpg +0 -0
- package/dist/avatar-4.jpg +0 -0
- package/dist/avatar-5.jpg +0 -0
- package/dist/avatar-6.jpg +0 -0
- package/dist/avatar_64.png +0 -0
- package/dist/components/basic-grid.html +1 -1
- package/dist/components/checkbox.html +1 -1
- package/dist/dots.svg +3 -0
- package/dist/examples.bundle.css +10746 -2781
- package/dist/examples.bundle.js +94094 -67758
- package/dist/index.html +9 -12
- package/dist/playgrounds/accessible-theme-test.html +1 -1
- package/dist/playgrounds/boxed-list.html +1 -1
- package/dist/playgrounds/cards.html +9 -4
- package/dist/playgrounds/editor-3-test.html +15 -0
- package/dist/playgrounds/form-layout.html +9 -7
- package/dist/playgrounds/layout-test-2.html +41 -37
- package/dist/playgrounds/list-item-test.html +2 -2
- package/dist/playgrounds/master-desk.html +2 -4
- package/dist/playgrounds/media-carousel.html +1 -1
- package/dist/playgrounds/photo-desk.html +34 -34
- package/dist/playgrounds/planning.html +1 -1
- package/dist/playgrounds/publish.html +1 -1
- package/dist/playgrounds/publisher-content-analytics.html +1 -1
- package/dist/playgrounds/publisher-content-list-automatic.html +1 -1
- package/dist/playgrounds/publisher-content-list-manual.html +1 -1
- package/dist/playgrounds/publisher-content-lists.html +1 -1
- package/dist/playgrounds/publisher-dashboard.html +1 -1
- package/dist/playgrounds/publisher-output-control.html +1 -1
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +156 -0
- package/dist/playgrounds/react-playgrounds/EditorTest.tsx +459 -0
- package/dist/playgrounds/react-playgrounds/FirstPlayground.tsx +4 -4
- package/dist/playgrounds/react-playgrounds/Index.tsx +9 -1
- package/dist/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/dist/playgrounds/react-playgrounds/PageLayoutTest.tsx +161 -0
- package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +635 -0
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +469 -0
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +1001 -0
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +41 -41
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +631 -24
- package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +304 -0
- package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +26 -0
- package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +22 -0
- package/dist/playgrounds/react-playgrounds/components/Index.tsx +6 -1
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +3 -3
- package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +11 -1
- package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +51 -9
- package/dist/playgrounds/swimlane-view.html +1 -1
- package/dist/playgrounds/tags-input.html +1 -1
- package/dist/playgrounds/toasts.html +1 -1
- package/dist/playgrounds/video-editor.html +1 -1
- package/dist/react/Alerts.tsx +123 -23
- package/dist/react/Avatar.tsx +314 -127
- package/dist/react/Badges.tsx +18 -0
- package/dist/react/BoxedList.tsx +362 -0
- package/dist/react/ButtonGroups.tsx +66 -65
- package/dist/react/Buttons.tsx +62 -247
- package/dist/react/Carousel.tsx +2 -3
- package/dist/react/Checkboxs.tsx +66 -25
- package/dist/react/Container.tsx +143 -0
- package/dist/react/ContentDivider.tsx +182 -0
- package/dist/react/ContentList.tsx +462 -0
- package/dist/react/CreateButton.tsx +71 -0
- package/dist/react/DatePicker.tsx +31 -6
- package/dist/react/DropZone.tsx +111 -0
- package/dist/react/Dropdowns.tsx +580 -48
- package/dist/react/DurationInput.tsx +108 -0
- package/dist/react/Heading.tsx +106 -0
- package/dist/react/IconButtons.tsx +49 -42
- package/dist/react/IconLabels.tsx +24 -2
- package/dist/react/Index.tsx +143 -11
- package/dist/react/Inputs.tsx +284 -23
- package/dist/react/Labels.tsx +51 -1
- package/dist/react/LeftNavigations.tsx +194 -15
- package/dist/react/ListItems.tsx +3 -3
- package/dist/react/Modal.tsx +174 -19
- package/dist/react/MultiSelect.tsx +201 -0
- package/dist/react/NavButtons.tsx +35 -5
- package/dist/react/Panel.tsx +366 -0
- package/dist/react/QuickNavigationBar.tsx +142 -0
- package/dist/react/RadioGroup.tsx +351 -0
- package/dist/react/SelectWithTemplate.tsx +7 -2
- package/dist/react/Selects.tsx +50 -15
- package/dist/react/SimpleList.tsx +148 -0
- package/dist/react/SubNav.tsx +69 -20
- package/dist/react/TableList.tsx +161 -0
- package/dist/react/Tabs.tsx +72 -248
- package/dist/react/Tags.tsx +52 -13
- package/dist/react/Text.tsx +134 -0
- package/dist/react/TimePicker.tsx +22 -12
- package/dist/react/Togglebox.tsx +1 -1
- package/dist/react/Tooltips.tsx +1 -1
- package/dist/react/TreeSelect.tsx +422 -0
- package/dist/react/WithSizeObserver.tsx +44 -0
- package/dist/react/tree-select/TreeSelect.tsx +273 -0
- package/dist/react/tree-select/example-1.tsx +71 -0
- package/dist/react/tree-select/example-2.tsx +59 -0
- package/dist/react.html +4 -0
- package/dist/sd_big-icons.eot +0 -0
- package/dist/sd_big-icons.svg +55 -53
- package/dist/sd_big-icons.ttf +0 -0
- package/dist/sd_big-icons.woff +0 -0
- package/dist/sd_icons.eot +0 -0
- package/dist/sd_icons.svg +15 -7
- package/dist/sd_icons.ttf +0 -0
- package/dist/sd_icons.woff +0 -0
- package/dist/superdesk-ui.bundle.css +55041 -26655
- package/dist/superdesk-ui.bundle.js +88737 -67504
- package/dist/vendor.bundle.js +25070 -25074
- package/examples/css/docs-page.css +208 -50
- package/examples/img/avatar-2.jpg +0 -0
- package/examples/img/avatar-3.jpg +0 -0
- package/examples/img/avatar-4.jpg +0 -0
- package/examples/img/avatar-5.jpg +0 -0
- package/examples/img/avatar-6.jpg +0 -0
- package/examples/index.html +9 -12
- package/examples/index.js +36 -0
- package/examples/pages/components/basic-grid.html +1 -1
- package/examples/pages/components/checkbox.html +1 -1
- package/examples/pages/playgrounds/accessible-theme-test.html +1 -1
- package/examples/pages/playgrounds/boxed-list.html +1 -1
- package/examples/pages/playgrounds/cards.html +9 -4
- package/examples/pages/playgrounds/editor-3-test.html +15 -0
- package/examples/pages/playgrounds/form-layout.html +9 -7
- package/examples/pages/playgrounds/layout-test-2.html +41 -37
- package/examples/pages/playgrounds/list-item-test.html +2 -2
- package/examples/pages/playgrounds/master-desk.html +2 -4
- package/examples/pages/playgrounds/media-carousel.html +1 -1
- package/examples/pages/playgrounds/photo-desk.html +34 -34
- package/examples/pages/playgrounds/planning.html +1 -1
- package/examples/pages/playgrounds/publish.html +1 -1
- package/examples/pages/playgrounds/publisher-content-analytics.html +1 -1
- package/examples/pages/playgrounds/publisher-content-list-automatic.html +1 -1
- package/examples/pages/playgrounds/publisher-content-list-manual.html +1 -1
- package/examples/pages/playgrounds/publisher-content-lists.html +1 -1
- package/examples/pages/playgrounds/publisher-dashboard.html +1 -1
- package/examples/pages/playgrounds/publisher-output-control.html +1 -1
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +156 -0
- package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +459 -0
- package/examples/pages/playgrounds/react-playgrounds/FirstPlayground.tsx +4 -4
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +9 -1
- package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/examples/pages/playgrounds/react-playgrounds/PageLayoutTest.tsx +161 -0
- package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +635 -0
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +469 -0
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +1001 -0
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +41 -41
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +631 -24
- package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +304 -0
- package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +26 -0
- package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +22 -0
- package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +6 -1
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +3 -3
- package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +11 -1
- package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +51 -9
- package/examples/pages/playgrounds/swimlane-view.html +1 -1
- package/examples/pages/playgrounds/tags-input.html +1 -1
- package/examples/pages/playgrounds/toasts.html +1 -1
- package/examples/pages/playgrounds/video-editor.html +1 -1
- package/examples/pages/react/Alerts.tsx +123 -23
- package/examples/pages/react/Avatar.tsx +314 -127
- package/examples/pages/react/Badges.tsx +18 -0
- package/examples/pages/react/BoxedList.tsx +362 -0
- package/examples/pages/react/ButtonGroups.tsx +66 -65
- package/examples/pages/react/Buttons.tsx +62 -247
- package/examples/pages/react/Carousel.tsx +2 -3
- package/examples/pages/react/Checkboxs.tsx +66 -25
- package/examples/pages/react/Container.tsx +143 -0
- package/examples/pages/react/ContentDivider.tsx +182 -0
- package/examples/pages/react/ContentList.tsx +462 -0
- package/examples/pages/react/CreateButton.tsx +71 -0
- package/examples/pages/react/DatePicker.tsx +31 -6
- package/examples/pages/react/DropZone.tsx +111 -0
- package/examples/pages/react/Dropdowns.tsx +580 -48
- package/examples/pages/react/DurationInput.tsx +108 -0
- package/examples/pages/react/Heading.tsx +106 -0
- package/examples/pages/react/IconButtons.tsx +49 -42
- package/examples/pages/react/IconLabels.tsx +24 -2
- package/examples/pages/react/Index.tsx +143 -11
- package/examples/pages/react/Inputs.tsx +284 -23
- package/examples/pages/react/Labels.tsx +51 -1
- package/examples/pages/react/LeftNavigations.tsx +194 -15
- package/examples/pages/react/ListItems.tsx +3 -3
- package/examples/pages/react/Modal.tsx +174 -19
- package/examples/pages/react/MultiSelect.tsx +201 -0
- package/examples/pages/react/NavButtons.tsx +35 -5
- package/examples/pages/react/Panel.tsx +366 -0
- package/examples/pages/react/QuickNavigationBar.tsx +142 -0
- package/examples/pages/react/RadioGroup.tsx +351 -0
- package/examples/pages/react/SelectWithTemplate.tsx +7 -2
- package/examples/pages/react/Selects.tsx +50 -15
- package/examples/pages/react/SimpleList.tsx +148 -0
- package/examples/pages/react/SubNav.tsx +69 -20
- package/examples/pages/react/TableList.tsx +161 -0
- package/examples/pages/react/Tabs.tsx +72 -248
- package/examples/pages/react/Tags.tsx +52 -13
- package/examples/pages/react/Text.tsx +134 -0
- package/examples/pages/react/TimePicker.tsx +22 -12
- package/examples/pages/react/Togglebox.tsx +1 -1
- package/examples/pages/react/Tooltips.tsx +1 -1
- package/examples/pages/react/TreeSelect.tsx +422 -0
- package/examples/pages/react/WithSizeObserver.tsx +44 -0
- package/examples/pages/react/tree-select/TreeSelect.tsx +273 -0
- package/examples/pages/react/tree-select/example-1.tsx +71 -0
- package/examples/pages/react/tree-select/example-2.tsx +59 -0
- package/examples/pages/react.html +4 -0
- package/images/avatar_64.png +0 -0
- package/package.json +17 -12
- package/react/components/Alert.d.ts +3 -0
- package/react/components/Alert.js +17 -7
- package/react/components/Autocomplete.js +16 -12
- package/react/components/Avatar.d.ts +9 -0
- package/react/components/Avatar.js +24 -4
- package/react/components/Badge.d.ts +1 -0
- package/react/components/Badge.js +9 -7
- package/react/components/Button.js +8 -6
- package/react/components/ButtonGroup.d.ts +4 -2
- package/react/components/ButtonGroup.js +11 -7
- package/react/components/Carousel.js +5 -3
- package/react/components/CheckButtonGroup.d.ts +3 -1
- package/react/components/CheckButtonGroup.js +14 -6
- package/react/components/CheckGroup.d.ts +1 -0
- package/react/components/CheckGroup.js +6 -4
- package/react/components/Checkbox.d.ts +2 -1
- package/react/components/Checkbox.js +7 -5
- package/react/components/CheckboxButton.d.ts +1 -0
- package/react/components/CheckboxButton.js +8 -6
- package/react/components/ContentDivider.d.ts +13 -0
- package/react/components/ContentDivider.js +70 -0
- package/react/components/CreateButton.d.ts +17 -0
- package/react/components/CreateButton.js +68 -0
- package/react/components/DatePicker.d.ts +11 -0
- package/react/components/DatePicker.js +45 -31
- package/react/components/Divider.js +6 -4
- package/react/components/DonutChart.d.ts +1 -1
- package/react/components/DonutChart.js +24 -6
- package/react/components/DropZone.d.ts +25 -0
- package/react/components/DropZone.js +95 -0
- package/react/components/Dropdown.d.ts +7 -5
- package/react/components/Dropdown.js +84 -51
- package/react/components/DropdownFirst.js +19 -12
- package/react/components/DurationInput.d.ts +42 -0
- package/react/components/DurationInput.js +364 -0
- package/react/components/EmptyState.d.ts +1 -0
- package/react/components/EmptyState.js +8 -6
- package/react/components/Form/FormGroup.d.ts +13 -0
- package/react/components/Form/FormGroup.js +63 -0
- package/react/components/Form/FormItem.d.ts +9 -0
- package/react/components/Form/FormItem.js +56 -0
- package/react/components/Form/FormLabel.d.ts +13 -0
- package/react/components/Form/FormLabel.js +62 -0
- package/react/components/Form/FormRow.d.ts +17 -0
- package/react/components/Form/FormRow.js +64 -0
- package/react/components/Form/FormRowNew.d.ts +12 -0
- package/react/components/Form/FormRowNew.js +67 -0
- package/react/components/Form/FormText.d.ts +8 -0
- package/react/components/Form/FormText.js +49 -0
- package/react/components/Form/InputBase.d.ts +41 -0
- package/react/components/Form/InputBase.js +86 -0
- package/react/components/Form/InputNew.d.ts +45 -0
- package/react/components/Form/InputNew.js +75 -0
- package/react/components/Form/InputWrapper.d.ts +28 -0
- package/react/components/Form/InputWrapper.js +91 -0
- package/react/components/Form/index.d.ts +9 -0
- package/react/components/Form/index.js +21 -0
- package/react/components/FormLabel.js +5 -3
- package/react/components/GridItem.js +9 -7
- package/react/components/GridList.js +8 -6
- package/react/components/HeadingText.js +4 -2
- package/react/components/HelloWorld.js +4 -2
- package/react/components/Icon.d.ts +2 -1
- package/react/components/Icon.js +9 -6
- package/react/components/IconButton.d.ts +9 -2
- package/react/components/IconButton.js +17 -7
- package/react/components/IconLabel.d.ts +2 -0
- package/react/components/IconLabel.js +12 -7
- package/react/components/IconPicker.js +13 -9
- package/react/components/Input.d.ts +25 -7
- package/react/components/Input.js +21 -38
- package/react/components/Label.d.ts +2 -0
- package/react/components/Label.js +44 -11
- package/react/components/Layouts/AuthorinInnerSideBar.d.ts +8 -0
- package/react/components/Layouts/AuthorinInnerSideBar.js +49 -0
- package/react/components/Layouts/AuthoringContainer.d.ts +12 -0
- package/react/components/Layouts/AuthoringContainer.js +60 -0
- package/react/components/Layouts/AuthoringFrame.d.ts +19 -0
- package/react/components/Layouts/AuthoringFrame.js +58 -0
- package/react/components/Layouts/AuthoringFrameContainer.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameContainer.js +49 -0
- package/react/components/Layouts/AuthoringFrameLeftBar.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameLeftBar.js +49 -0
- package/react/components/Layouts/AuthoringFrameMain.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameMain.js +49 -0
- package/react/components/Layouts/AuthoringFrameNavBar.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameNavBar.js +49 -0
- package/react/components/Layouts/AuthoringFrameOverlay.d.ts +8 -0
- package/react/components/Layouts/AuthoringFrameOverlay.js +49 -0
- package/react/components/Layouts/AuthoringFrameRightBar.d.ts +15 -0
- package/react/components/Layouts/AuthoringFrameRightBar.js +60 -0
- package/react/components/Layouts/AuthoringFrameSidePanel.d.ts +10 -0
- package/react/components/Layouts/AuthoringFrameSidePanel.js +58 -0
- package/react/components/Layouts/AuthoringFrameSidePanelOverlay.d.ts +9 -0
- package/react/components/Layouts/AuthoringFrameSidePanelOverlay.js +58 -0
- package/react/components/Layouts/AuthoringInnerBody.d.ts +8 -0
- package/react/components/Layouts/AuthoringInnerBody.js +49 -0
- package/react/components/Layouts/AuthoringInnerHeader.d.ts +14 -0
- package/react/components/Layouts/AuthoringInnerHeader.js +68 -0
- package/react/components/Layouts/AuthoringMain.d.ts +14 -0
- package/react/components/Layouts/AuthoringMain.js +55 -0
- package/react/components/Layouts/AuthoringMainContainer.d.ts +8 -0
- package/react/components/Layouts/AuthoringMainContainer.js +49 -0
- package/react/components/Layouts/AuthoringMainContent.d.ts +8 -0
- package/react/components/Layouts/AuthoringMainContent.js +49 -0
- package/react/components/Layouts/AuthoringMainToolBar.d.ts +9 -0
- package/react/components/Layouts/AuthoringMainToolBar.js +56 -0
- package/react/components/Layouts/BottomBarAction.d.ts +12 -0
- package/react/components/Layouts/BottomBarAction.js +59 -0
- package/react/components/Layouts/Container.d.ts +14 -0
- package/react/components/Layouts/Container.js +62 -0
- package/react/components/Layouts/ContentSplitter.d.ts +10 -0
- package/react/components/Layouts/ContentSplitter.js +58 -0
- package/react/components/Layouts/CoreLayout.d.ts +20 -0
- package/react/components/Layouts/CoreLayout.js +55 -0
- package/react/components/Layouts/CoreLayoutContainer.d.ts +9 -0
- package/react/components/Layouts/CoreLayoutContainer.js +49 -0
- package/react/components/Layouts/CoreLayoutFooter.d.ts +8 -0
- package/react/components/Layouts/CoreLayoutFooter.js +49 -0
- package/react/components/Layouts/CoreLayoutMain.d.ts +10 -0
- package/react/components/Layouts/CoreLayoutMain.js +56 -0
- package/react/components/Layouts/CoreLayoutOverlay.d.ts +8 -0
- package/react/components/Layouts/CoreLayoutOverlay.js +49 -0
- package/react/components/Layouts/CoreLayoutSlideInMenu.d.ts +11 -0
- package/react/components/Layouts/CoreLayoutSlideInMenu.js +58 -0
- package/react/components/Layouts/CoreLayoutTopMenu.d.ts +14 -0
- package/react/components/Layouts/CoreLayoutTopMenu.js +54 -0
- package/react/components/Layouts/HamburgerButton.d.ts +14 -0
- package/react/components/Layouts/HamburgerButton.js +63 -0
- package/react/components/Layouts/HeaderPanel.d.ts +8 -0
- package/react/components/Layouts/HeaderPanel.js +49 -0
- package/react/components/Layouts/Layout.d.ts +8 -0
- package/react/components/Layouts/Layout.js +36 -0
- package/react/components/Layouts/LayoutContainer.d.ts +8 -0
- package/react/components/Layouts/LayoutContainer.js +49 -0
- package/react/components/Layouts/LeftPanel.d.ts +9 -0
- package/react/components/Layouts/LeftPanel.js +56 -0
- package/react/components/Layouts/MainMenu.d.ts +41 -0
- package/react/components/Layouts/MainMenu.js +103 -0
- package/react/components/Layouts/MainPanel.d.ts +11 -0
- package/react/components/Layouts/MainPanel.js +59 -0
- package/react/components/Layouts/NotificationPanel.d.ts +45 -0
- package/react/components/Layouts/NotificationPanel.js +110 -0
- package/react/components/Layouts/OverlayPanel.d.ts +8 -0
- package/react/components/Layouts/OverlayPanel.js +51 -0
- package/react/components/Layouts/PageLayout.d.ts +16 -0
- package/react/components/Layouts/PageLayout.js +66 -0
- package/react/components/Layouts/Panel.d.ts +66 -0
- package/react/components/Layouts/Panel.js +168 -0
- package/react/components/Layouts/RightPanel.d.ts +9 -0
- package/react/components/Layouts/RightPanel.js +49 -0
- package/react/components/Layouts/index.d.ts +39 -0
- package/react/components/Layouts/index.js +86 -0
- package/react/components/LeftMenu.d.ts +13 -4
- package/react/components/LeftMenu.js +71 -18
- package/react/components/ListItemLoader.js +4 -2
- package/react/components/Lists/BoxedList.d.ts +44 -0
- package/react/components/Lists/BoxedList.js +160 -0
- package/react/components/Lists/ContentList.d.ts +51 -0
- package/react/components/Lists/ContentList.js +110 -0
- package/react/components/Lists/SimpleList.d.ts +21 -0
- package/react/components/Lists/SimpleList.js +80 -0
- package/react/components/Lists/TableList.d.ts +64 -0
- package/react/components/Lists/TableList.js +240 -0
- package/react/components/Lists/index.d.ts +2 -0
- package/react/components/Lists/index.js +10 -0
- package/react/components/Loader.js +4 -2
- package/react/components/Menu.d.ts +2 -1
- package/react/components/Menu.js +48 -12
- package/react/components/Modal.d.ts +7 -2
- package/react/components/Modal.js +35 -5
- package/react/components/MultiSelect.d.ts +40 -0
- package/react/components/MultiSelect.js +70 -0
- package/react/components/NavButton.d.ts +2 -1
- package/react/components/NavButton.js +9 -4
- package/react/components/Navigation/BottomNav.d.ts +24 -0
- package/react/components/Navigation/BottomNav.js +88 -0
- package/react/components/Navigation/QuickNavBar.d.ts +24 -0
- package/react/components/Navigation/QuickNavBar.js +117 -0
- package/react/components/Navigation/SideBarMenu.d.ts +21 -0
- package/react/components/Navigation/SideBarMenu.js +79 -0
- package/react/components/Navigation/SideBarTabs.d.ts +23 -0
- package/react/components/Navigation/SideBarTabs.js +88 -0
- package/react/components/Navigation/index.d.ts +3 -0
- package/react/components/Navigation/index.js +9 -0
- package/react/components/Popover.js +4 -2
- package/react/components/PropsList.js +4 -2
- package/react/components/RadioButtonGroup.d.ts +29 -0
- package/react/components/RadioButtonGroup.js +91 -0
- package/react/components/{Radio.d.ts → RadioGroup.d.ts} +7 -3
- package/react/components/{Radio.js → RadioGroup.js} +20 -14
- package/react/components/SearchBar.d.ts +24 -0
- package/react/components/SearchBar.js +113 -0
- package/react/components/Select.d.ts +7 -2
- package/react/components/Select.js +9 -29
- package/react/components/SelectGrid.d.ts +1 -1
- package/react/components/SelectGrid.js +44 -23
- package/react/components/SelectWithTemplate.d.ts +11 -1
- package/react/components/SelectWithTemplate.js +23 -12
- package/react/components/Skeleton.d.ts +1 -1
- package/react/components/Skeleton.js +26 -5
- package/react/components/SlidingToolbar.d.ts +1 -1
- package/react/components/SlidingToolbar.js +15 -3
- package/react/components/Spinner.d.ts +0 -1
- package/react/components/Spinner.js +7 -6
- package/react/components/StrechBar.js +4 -2
- package/react/components/SubNav.d.ts +8 -1
- package/react/components/SubNav.js +28 -8
- package/react/components/Switch.d.ts +4 -1
- package/react/components/Switch.js +25 -11
- package/react/components/SwitchGroup.d.ts +1 -0
- package/react/components/SwitchGroup.js +6 -4
- package/react/components/TabCustom.d.ts +11 -22
- package/react/components/TabCustom.js +32 -57
- package/react/components/TabList.d.ts +2 -11
- package/react/components/TabList.js +17 -36
- package/react/components/Tag.d.ts +4 -4
- package/react/components/Tag.js +21 -9
- package/react/components/TagInput.d.ts +0 -1
- package/react/components/TagInput.js +7 -6
- package/react/components/TagInputTest.js +13 -9
- package/react/components/Text/Heading.d.ts +15 -0
- package/react/components/Text/Heading.js +79 -0
- package/react/components/Text/Text.d.ts +15 -0
- package/react/components/Text/Text.js +67 -0
- package/react/components/Text/Time.d.ts +15 -0
- package/react/components/Text/Time.js +65 -0
- package/react/components/{RadioButton.d.ts → ThemeSelector.d.ts} +4 -3
- package/react/components/ThemeSelector.js +114 -0
- package/react/components/TimePicker.d.ts +11 -1
- package/react/components/TimePicker.js +14 -5
- package/react/components/Toast.js +1 -1
- package/react/components/ToastMessage.js +6 -5
- package/react/components/ToastText.js +1 -1
- package/react/components/ToastWrapper.d.ts +2 -2
- package/react/components/ToastWrapper.js +14 -10
- package/react/components/Togglebox.d.ts +2 -1
- package/react/components/Togglebox.js +42 -14
- package/react/components/Tooltip.d.ts +1 -0
- package/react/components/Tooltip.js +14 -10
- package/react/components/TreeSelect.d.ts +82 -0
- package/react/components/TreeSelect.js +521 -0
- package/react/components/WithSizeObserver.d.ts +25 -0
- package/react/components/WithSizeObserver.js +95 -0
- package/react/components/_Positioner.js +4 -2
- package/react/helpers.d.ts +1 -0
- package/react/helpers.js +7 -0
- package/react/index.d.ts +26 -4
- package/react/index.js +62 -6
- package/app/styles/_editor-themes.scss +0 -326
- package/app/styles/variables/_design-tokens-general.scss +0 -76
- package/app-typescript/components/Radio.tsx +0 -57
- package/app-typescript/components/RadioButton.tsx +0 -57
- package/dist/react/Radios.tsx +0 -391
- package/examples/pages/react/Radios.tsx +0 -391
- package/patches/@superdesk+primereact+5.0.2-4.patch +0 -13
- package/react/components/RadioButton.js +0 -65
@@ -1,63 +1,80 @@
|
|
1
1
|
// FORM ELEMENTS : Input and slect : form-elements/inputs.scss
|
2
|
-
//
|
3
|
-
|
4
2
|
// input, textarea, select {
|
5
3
|
|
6
4
|
@mixin Line-input-base {
|
7
|
-
width: 100%;
|
8
5
|
@include appearance-reset();
|
9
|
-
|
10
|
-
|
6
|
+
width: 100%;
|
7
|
+
color: var(--color-text);
|
11
8
|
border: 0;
|
12
9
|
border-bottom: 1px solid var(--color-input-border);
|
13
|
-
background-color: transparent;
|
14
|
-
padding: 0;
|
15
10
|
font-size: 1.4rem;
|
16
|
-
|
17
|
-
transition:
|
18
|
-
|
11
|
+
background-color: var(--color-input-bg);
|
12
|
+
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
13
|
+
padding: 0 0.8rem;
|
14
|
+
height: $form-input-height;
|
15
|
+
border-radius: $border-radius__base--x-small $border-radius__base--x-small 0 0;
|
16
|
+
display: block;
|
17
|
+
position: relative;
|
18
|
+
&::placeholder {
|
19
|
+
color: var(--color-text-lighter);
|
20
|
+
font-weight: 400;
|
21
|
+
opacity: 0.75;
|
22
|
+
}
|
19
23
|
&:hover {
|
20
24
|
border-color: var(--color-input-border-hover);
|
21
|
-
background-color:
|
22
|
-
}
|
23
|
-
&:focus {
|
24
|
-
box-shadow: 0 1px 0 0 $sd-blue;
|
25
|
-
border-color: $sd-blue;
|
26
|
-
background-color: transparent;
|
27
|
-
}
|
28
|
-
}
|
29
|
-
@mixin Line-input-boxed {
|
30
|
-
@include Line-input-base;
|
31
|
-
border-radius: 2px;
|
32
|
-
background-color: rgba(0, 0, 0, 0.05);
|
33
|
-
padding: 0 1rem;
|
34
|
-
height: 3.2rem;
|
35
|
-
transition: border linear 0.2s, box-shadow linear 0.2s, background-color linear 0.2s;
|
36
|
-
&:hover {
|
37
|
-
background-color: rgba(0, 0, 0, 0.10);
|
25
|
+
background-color: var(--color-input-bg--hover);
|
38
26
|
}
|
39
27
|
&:focus {
|
40
|
-
|
28
|
+
box-shadow: 0 1px 0 0 var(--sd-colour-interactive);
|
29
|
+
border-color: var(--sd-colour-interactive);
|
30
|
+
background-color: var(--sd-colour-interactive--alpha-20);
|
31
|
+
&::placeholder {
|
32
|
+
opacity: 0.45;
|
33
|
+
}
|
41
34
|
}
|
42
35
|
}
|
43
36
|
|
44
37
|
@mixin Form-label-base {
|
45
|
-
display: inline-
|
38
|
+
display: inline-flex;
|
39
|
+
align-items: flex-start;
|
40
|
+
justify-content: flex-start;
|
46
41
|
font-size: 1.1rem;
|
47
42
|
margin: 0 0.5rem 0 0;
|
48
|
-
line-height:
|
43
|
+
line-height: 1;
|
49
44
|
color: var(--color-label-text);
|
50
45
|
text-transform: uppercase;
|
51
46
|
font-weight: 500;
|
52
47
|
letter-spacing: 0.08em;
|
53
48
|
}
|
54
|
-
|
49
|
+
@mixin Boxed-label-base {
|
50
|
+
background-color: hsla(214, 13%, 30%, 0.4);
|
51
|
+
border-radius: var(--b-radius--small);
|
52
|
+
color: hsl(214, 13%, 96%);
|
53
|
+
display: inline-flex;
|
54
|
+
align-items: center;
|
55
|
+
justify-content: center;
|
56
|
+
padding: 2px 8px;
|
57
|
+
font-size: 1.1rem;
|
58
|
+
font-family: $baseFontFamily;
|
59
|
+
font-weight: 400;
|
60
|
+
line-height: 2rem;
|
61
|
+
text-transform: uppercase;
|
62
|
+
font-style: normal;
|
63
|
+
letter-spacing: 0.08em;
|
64
|
+
height: 2rem;
|
65
|
+
transition: opacity ease 0.2s;
|
66
|
+
justify-self: start;
|
67
|
+
position: relative;
|
68
|
+
margin-bottom: $sd-base-increment;
|
69
|
+
transition: background-color ease 0.2s;
|
70
|
+
}
|
55
71
|
|
56
72
|
.form-label {
|
57
73
|
@include Form-label-base;
|
58
74
|
min-width: 75px;
|
75
|
+
min-height: 1.6rem;
|
59
76
|
&--light {
|
60
|
-
color:
|
77
|
+
color: var(--color-text-lighter);
|
61
78
|
font-weight: 400;
|
62
79
|
}
|
63
80
|
&--marg-b10 {
|
@@ -73,7 +90,50 @@
|
|
73
90
|
content: "*";
|
74
91
|
vertical-align: top;
|
75
92
|
font-size: 1.2rem;
|
76
|
-
padding-
|
93
|
+
padding-inline-start: 0.3rem;
|
94
|
+
margin-top: -2px
|
95
|
+
}
|
96
|
+
}
|
97
|
+
&--invalid {
|
98
|
+
color: $red;
|
99
|
+
}
|
100
|
+
&--focused {
|
101
|
+
color: var(--sd-colour-interactive);
|
102
|
+
&.form-label--invalid {
|
103
|
+
color: $red;
|
104
|
+
}
|
105
|
+
}
|
106
|
+
&--boxed {
|
107
|
+
@include Boxed-label-base;
|
108
|
+
&--light {
|
109
|
+
background-color: hsla(214, 13%, 30%, 0.4);
|
110
|
+
color: hsl(214, 13%, 96%);
|
111
|
+
}
|
112
|
+
&--dark {
|
113
|
+
background-color: hsla(214, 13%, 30%, 0.4);
|
114
|
+
color: hsl(214, 13%, 96%);
|
115
|
+
}
|
116
|
+
&.form-label--required {
|
117
|
+
&::after {
|
118
|
+
margin-inline-start: 0.2rem;
|
119
|
+
color: #e41b21;
|
120
|
+
content: "*";
|
121
|
+
vertical-align: top;
|
122
|
+
font-size: 1.2rem;
|
123
|
+
padding-inline-start: 0.3rem;
|
124
|
+
position: absolute;
|
125
|
+
inset-block-start: -4px;
|
126
|
+
inset-inline-end: -10px;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
&.form-label--invalid,
|
130
|
+
&.form-label--invalid.form-label--focused {
|
131
|
+
background-color: $red;
|
132
|
+
color: hsl(214, 13%, 96%);
|
133
|
+
}
|
134
|
+
&.form-label--focused {
|
135
|
+
background-color: var(--sd-colour-interactive);
|
136
|
+
color: hsl(214, 13%, 96%);
|
77
137
|
}
|
78
138
|
}
|
79
139
|
}
|
@@ -88,23 +148,23 @@
|
|
88
148
|
.form-label__info-block {
|
89
149
|
color: inherit;
|
90
150
|
font-size: 1.2rem;
|
91
|
-
text-align:
|
151
|
+
text-align: end;
|
92
152
|
font-weight: 300;
|
93
153
|
}
|
94
154
|
|
95
155
|
.sd-line-input {
|
96
156
|
margin: 0 0 1.8em 0;
|
97
|
-
padding-top: 1.
|
157
|
+
padding-top: 1.8rem;
|
98
158
|
position: relative;
|
99
159
|
|
100
160
|
&--flex-row {
|
101
161
|
display: inline-flex;
|
102
162
|
align-items: center;
|
103
|
-
border-bottom: 1px solid
|
163
|
+
border-bottom: 1px solid var(--color-input-border);
|
104
164
|
width: 100%;
|
105
165
|
}
|
106
166
|
&__value {
|
107
|
-
margin-
|
167
|
+
margin-inline-end: 6px;
|
108
168
|
text-transform: uppercase;
|
109
169
|
}
|
110
170
|
input, textarea {
|
@@ -147,96 +207,60 @@
|
|
147
207
|
position: relative;
|
148
208
|
z-index: 2;
|
149
209
|
option {
|
150
|
-
color
|
210
|
+
color: var(--color-text);
|
151
211
|
font-size: 1.4rem;
|
152
212
|
line-height: 2rem;
|
213
|
+
background-color: var(--color-dropdown-menu-Bg);
|
153
214
|
}
|
154
215
|
}
|
155
216
|
cursor: pointer;
|
156
217
|
}
|
157
218
|
textarea.sd-line-input__input {
|
158
|
-
|
159
|
-
|
219
|
+
padding-top: 0.6rem;
|
220
|
+
display: block;
|
160
221
|
}
|
161
222
|
.sd-line-input__info-left, .sd-line-input__info-right { // use for 1-2 letter info that appear inside inputs ("W" - for width; "H" - for height; px, mm - for units, etc.)
|
162
223
|
position: absolute;
|
163
|
-
|
224
|
+
inset-block-start: 2.5rem;
|
164
225
|
opacity: 0.3;
|
165
226
|
font-size: 1.5rem;
|
166
227
|
font-weight: 300;
|
167
228
|
}
|
168
229
|
.sd-line-input__info-right {
|
169
|
-
|
230
|
+
inset-inline-end: 0.8rem;
|
170
231
|
}
|
171
232
|
.sd-line-input__info-left {
|
172
|
-
|
233
|
+
inset-inline-start: 0.8rem;
|
173
234
|
}
|
174
235
|
|
175
236
|
.sd-line-input__icon-left, .sd-line-input__icon-right {
|
176
237
|
position: absolute;
|
177
|
-
|
238
|
+
inset-block-start: 1.6rem;
|
178
239
|
cursor: pointer;
|
179
240
|
}
|
180
241
|
.sd-line-input__icon-right {
|
181
|
-
|
242
|
+
inset-inline-end: 0.2rem;
|
182
243
|
}
|
183
|
-
.sd-line-input__icon-
|
184
|
-
|
244
|
+
.sd-line-input__icon-right.icn-btn {
|
245
|
+
inset-inline-end: 0.2rem;
|
246
|
+
inset-block-start: 1.8rem;
|
247
|
+
z-index: 1;
|
185
248
|
}
|
186
|
-
|
187
|
-
|
188
|
-
padding-top: 1.8rem;
|
189
|
-
input, textarea {
|
190
|
-
&.sd-line-input__input {
|
191
|
-
@include Line-input-boxed;
|
192
|
-
}
|
193
|
-
}
|
194
|
-
textarea {
|
195
|
-
&.sd-line-input__input {
|
196
|
-
padding-top: 0.6rem;
|
197
|
-
}
|
198
|
-
}
|
199
|
-
select {
|
200
|
-
&.sd-line-input__select {
|
201
|
-
@include Line-input-boxed;
|
202
|
-
}
|
203
|
-
}
|
204
|
-
&.sd-line-input--disabled {
|
205
|
-
input, textarea {
|
206
|
-
&.sd-line-input__input {
|
207
|
-
background-color: rgba(0, 0, 0, 0.03);
|
208
|
-
border-bottom: 1px dotted $grayLight !important;
|
209
|
-
}
|
210
|
-
}
|
211
|
-
select {
|
212
|
-
&.sd-line-input__select, &.sd-line-input__select:hover {
|
213
|
-
background-color: rgba(0, 0, 0, 0.03);
|
214
|
-
border-bottom: 1px dotted $grayLight !important;
|
215
|
-
}
|
216
|
-
}
|
217
|
-
}
|
218
|
-
.sd-line-input__icon-right, .sd-line-input__icon-left {
|
219
|
-
top: 1.6rem;
|
220
|
-
}
|
221
|
-
.sd-line-input__icon-left {
|
222
|
-
left: 0.2rem;
|
223
|
-
}
|
224
|
-
.sd-line-input__icon-right {
|
225
|
-
right: 0.2rem;
|
226
|
-
}
|
249
|
+
.sd-line-input__icon-left {
|
250
|
+
left: 0.2rem;
|
227
251
|
}
|
228
252
|
|
229
253
|
&.sd-line-input--indent-l30 {
|
230
254
|
input, textarea {
|
231
255
|
&.sd-line-input__input {
|
232
|
-
padding-
|
256
|
+
padding-inline-start: 3rem;
|
233
257
|
}
|
234
258
|
}
|
235
259
|
}
|
236
260
|
&.sd-line-input--indent-r30 {
|
237
261
|
input, textarea {
|
238
262
|
&.sd-line-input__input {
|
239
|
-
padding-
|
263
|
+
padding-inline-end: 3rem;
|
240
264
|
}
|
241
265
|
}
|
242
266
|
}
|
@@ -246,14 +270,15 @@
|
|
246
270
|
position: absolute;
|
247
271
|
line-height: 100%;
|
248
272
|
margin: 0;
|
249
|
-
|
273
|
+
inset-block-start:0;
|
250
274
|
&--required::after {
|
251
275
|
color:$red;
|
252
276
|
content: "*";
|
253
277
|
vertical-align: top;
|
254
278
|
font-size: 1.2rem;
|
255
|
-
padding-
|
279
|
+
padding-inline-start: 0.3rem;
|
256
280
|
}
|
281
|
+
|
257
282
|
}
|
258
283
|
.sd-line-input__hint,
|
259
284
|
.sd-line-input__message,
|
@@ -261,21 +286,21 @@
|
|
261
286
|
font-size: 1.2rem;
|
262
287
|
line-height: 1.4rem;
|
263
288
|
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
264
|
-
color:
|
289
|
+
color: var(--color-text-light);
|
265
290
|
font-weight: 300;
|
266
291
|
letter-spacing: 0.03em;
|
267
292
|
}
|
268
293
|
.sd-line-input__hint {
|
269
294
|
position: absolute;
|
270
|
-
|
271
|
-
|
272
|
-
padding-
|
295
|
+
inset-inline-start: 1px;
|
296
|
+
inset-inline-end: auto;
|
297
|
+
padding-inline-end: 5.5rem;
|
273
298
|
margin-top: 0.4rem;
|
274
299
|
}
|
275
300
|
.sd-line-input__char-count {
|
276
301
|
position: absolute;
|
277
|
-
|
278
|
-
|
302
|
+
inset-inline-end: 1px;
|
303
|
+
inset-inline-start: auto;
|
279
304
|
margin-top: 0.5rem;
|
280
305
|
font-size: 1.1rem;
|
281
306
|
font-weight: 400;
|
@@ -291,16 +316,30 @@
|
|
291
316
|
}
|
292
317
|
input, textarea {
|
293
318
|
&.sd-line-input__input {
|
319
|
+
background-color: hsla(357, 79%, 50%, 0.075);
|
294
320
|
border-color: $red;
|
321
|
+
&:hover {
|
322
|
+
background-color: hsla(357, 79%, 50%, 0.12);
|
323
|
+
border-color: $red;
|
324
|
+
}
|
295
325
|
&:focus {
|
326
|
+
background-color: hsla(357, 79%, 50%, 0.16);
|
327
|
+
border-color: $red;
|
296
328
|
box-shadow: 0 1px 0 0 $red;
|
297
329
|
}
|
298
330
|
}
|
299
331
|
}
|
300
332
|
select {
|
301
333
|
&.sd-line-input__select {
|
334
|
+
background-color: hsla(357, 79%, 50%, 0.075);
|
302
335
|
border-color: $red;
|
336
|
+
&:hover {
|
337
|
+
background-color: hsla(357, 79%, 50%, 0.12);
|
338
|
+
border-color: $red;
|
339
|
+
}
|
303
340
|
&:focus {
|
341
|
+
background-color: hsla(357, 79%, 50%, 0.16);
|
342
|
+
border-color: $red;
|
304
343
|
box-shadow: 0 1px 0 0 $red;
|
305
344
|
}
|
306
345
|
}
|
@@ -309,15 +348,21 @@
|
|
309
348
|
|
310
349
|
&.sd-line-input--disabled {
|
311
350
|
input, textarea {
|
312
|
-
&.sd-line-input__input {
|
313
|
-
|
314
|
-
|
351
|
+
&.sd-line-input__input, &.sd-input__input:hover, &.sd-input__input:focus {
|
352
|
+
opacity: 0.5;
|
353
|
+
background-color: var(--color-input-bg);
|
354
|
+
border-bottom: 1px dotted var(--color-input-border);
|
355
|
+
cursor: not-allowed !important;
|
356
|
+
box-shadow: none;
|
315
357
|
}
|
316
358
|
}
|
317
359
|
select {
|
318
|
-
&.sd-line-input__select {
|
319
|
-
|
320
|
-
|
360
|
+
&.sd-line-input__select, &.sd-line-input__select:hover, &.sd-line-input__select:focus {
|
361
|
+
opacity: 0.5;
|
362
|
+
background-color: var(--color-input-bg);
|
363
|
+
border-bottom: 1px dotted var(--color-input-border);
|
364
|
+
cursor: not-allowed !important;
|
365
|
+
box-shadow: none;
|
321
366
|
}
|
322
367
|
}
|
323
368
|
}
|
@@ -326,50 +371,39 @@
|
|
326
371
|
&.sd-line-input--is-select {
|
327
372
|
&::after {
|
328
373
|
position: absolute;
|
329
|
-
|
330
|
-
|
374
|
+
inset-block-start: 3.2rem;
|
375
|
+
inset-inline-end: 0.8rem;
|
331
376
|
display: inline-block;
|
332
377
|
width: 0;
|
333
378
|
height: 0;
|
334
379
|
vertical-align: middle;
|
335
380
|
border-left: 0.4rem solid transparent;
|
336
381
|
border-right: 0.4rem solid transparent;
|
337
|
-
border-top: 0.4rem solid
|
338
|
-
|
382
|
+
border-top: 0.4rem solid $sd-text;
|
383
|
+
opacity: 0.3;
|
339
384
|
content: "";
|
340
385
|
z-index: 0;
|
341
386
|
}
|
342
387
|
&:hover {
|
343
388
|
&::after {
|
344
|
-
|
389
|
+
opacity: 0.6;
|
345
390
|
}
|
346
391
|
}
|
347
392
|
&.sd-line-input--disabled {
|
348
393
|
&:hover {
|
349
394
|
&::after {
|
350
|
-
|
395
|
+
opacity: 0.3;
|
351
396
|
}
|
352
397
|
}
|
353
398
|
}
|
354
|
-
&.sd-line-input--boxed {
|
355
|
-
&::after {
|
356
|
-
top: 3.2rem;
|
357
|
-
right: 0.8rem;
|
358
|
-
}
|
359
|
-
}
|
360
399
|
&.sd-line-input--no-label {
|
361
400
|
&::after {
|
362
|
-
|
363
|
-
}
|
364
|
-
&.sd-line-input--boxed {
|
365
|
-
&::after {
|
366
|
-
top: 1.4rem;
|
367
|
-
}
|
401
|
+
inset-block-start: 1.4rem;
|
368
402
|
}
|
369
403
|
}
|
370
404
|
&.sd-line-input--label-left {
|
371
405
|
&::after {
|
372
|
-
|
406
|
+
inset-block-start: 1.2rem;
|
373
407
|
}
|
374
408
|
}
|
375
409
|
}
|
@@ -378,117 +412,6 @@
|
|
378
412
|
line-height: 140%;
|
379
413
|
}
|
380
414
|
}
|
381
|
-
// DARK UI
|
382
|
-
// modifications for dark background color
|
383
|
-
|
384
|
-
&--dark-ui {
|
385
|
-
input, textarea, textarea {
|
386
|
-
&.sd-line-input__input {
|
387
|
-
border-bottom-color: rgba($sd-inputBorderColor-darkUi, 0.2);
|
388
|
-
color: rgba($white, 0.8);
|
389
|
-
&:hover {
|
390
|
-
border-bottom-color: $sd-inputBorderColor-darkUi;
|
391
|
-
}
|
392
|
-
&:focus {
|
393
|
-
box-shadow: 0 1px 0 0 $sd-blue;
|
394
|
-
border-color: $sd-blue;
|
395
|
-
}
|
396
|
-
}
|
397
|
-
}
|
398
|
-
select {
|
399
|
-
&.sd-line-input__select {
|
400
|
-
border-bottom-color: rgba($sd-inputBorderColor-darkUi, 0.2);
|
401
|
-
color: rgba($white, 0.8);
|
402
|
-
&:hover {
|
403
|
-
border-bottom-color: $sd-inputBorderColor-darkUi;
|
404
|
-
}
|
405
|
-
&:focus {
|
406
|
-
box-shadow: 0 1px 0 0 $sd-blue;
|
407
|
-
border-color: $sd-blue;
|
408
|
-
}
|
409
|
-
}
|
410
|
-
}
|
411
|
-
.sd-line-input__label {
|
412
|
-
color: rgba(255,255,255,.4);
|
413
|
-
}
|
414
|
-
&.sd-line-input--disabled {
|
415
|
-
input, textarea {
|
416
|
-
&.sd-line-input__input {
|
417
|
-
border-bottom: 1px dotted rgba($sd-inputBorderColor-darkUi, 0.2);
|
418
|
-
&:focus, &:hover {
|
419
|
-
border-bottom: 1px dotted rgba($sd-inputBorderColor-darkUi, 0.2);
|
420
|
-
box-shadow: none;
|
421
|
-
}
|
422
|
-
}
|
423
|
-
}
|
424
|
-
select {
|
425
|
-
&.sd-line-input__select {
|
426
|
-
border-bottom: 1px dotted rgba($sd-inputBorderColor-darkUi, 0.2);
|
427
|
-
&:focus, &:hover {
|
428
|
-
border-bottom: 1px dotted rgba($sd-inputBorderColor-darkUi, 0.2);
|
429
|
-
box-shadow: none;
|
430
|
-
}
|
431
|
-
}
|
432
|
-
}
|
433
|
-
}
|
434
|
-
&.sd-line-input--boxed {
|
435
|
-
input, textarea, textarea {
|
436
|
-
&.sd-line-input__input {
|
437
|
-
background-color: rgba(255, 255, 255, 0.05);
|
438
|
-
}
|
439
|
-
&:hover {
|
440
|
-
background-color: rgba(255, 255, 255, 0.1);
|
441
|
-
}
|
442
|
-
&:focus {
|
443
|
-
background-color: rgba(255, 255, 255, 0.05);
|
444
|
-
}
|
445
|
-
}
|
446
|
-
select {
|
447
|
-
&.sd-line-input__select {
|
448
|
-
background-color: rgba(255, 255, 255, 0.05);
|
449
|
-
}
|
450
|
-
&:hover {
|
451
|
-
background-color: rgba(255, 255, 255, 0.1);
|
452
|
-
}
|
453
|
-
&:focus {
|
454
|
-
background-color: rgba(255, 255, 255, 0.05);
|
455
|
-
}
|
456
|
-
}
|
457
|
-
&.sd-line-input--disabled {
|
458
|
-
input, textarea, textarea {
|
459
|
-
&.sd-line-input__input {
|
460
|
-
background-color: rgba(255, 255, 255, 0.03);
|
461
|
-
border-bottom-color: rgba($sd-inputBorderColor-darkUi, 0.2) !important;
|
462
|
-
}
|
463
|
-
}
|
464
|
-
select {
|
465
|
-
&.sd-line-input__select, &.sd-line-input__select:hover {
|
466
|
-
background-color: rgba(255, 255, 255, 0.03);
|
467
|
-
border-bottom-color: rgba($sd-inputBorderColor-darkUi, 0.2) !important;
|
468
|
-
}
|
469
|
-
}
|
470
|
-
}
|
471
|
-
}
|
472
|
-
|
473
|
-
&.sd-line-input--invalid {
|
474
|
-
input, textarea {
|
475
|
-
&.sd-line-input__input {
|
476
|
-
border-color: $red;
|
477
|
-
}
|
478
|
-
}
|
479
|
-
select {
|
480
|
-
&.sd-line-input__select {
|
481
|
-
border-color: $red;
|
482
|
-
}
|
483
|
-
}
|
484
|
-
}
|
485
|
-
&.sd-line-input--is-select {
|
486
|
-
&::after {
|
487
|
-
border-top-color: #fff;
|
488
|
-
}
|
489
|
-
}
|
490
|
-
}
|
491
|
-
// End DARK UI
|
492
415
|
|
493
416
|
&.sd-line-input--required {
|
494
417
|
.sd-line-input__label::after {
|
@@ -496,7 +419,7 @@
|
|
496
419
|
content: "*";
|
497
420
|
vertical-align: top;
|
498
421
|
font-size: 1.2rem;
|
499
|
-
padding-
|
422
|
+
padding-inline-start: 0.3rem;
|
500
423
|
}
|
501
424
|
}
|
502
425
|
&.sd-line-input--no-label {
|
@@ -531,14 +454,14 @@
|
|
531
454
|
position: static;
|
532
455
|
grid-row: 2/3;
|
533
456
|
grid-column: 3/4;
|
534
|
-
padding-
|
457
|
+
padding-inline-end: 0;
|
535
458
|
}
|
536
459
|
.sd-line-input__char-count {
|
537
460
|
position: static;
|
538
461
|
grid-row: 2/3;
|
539
462
|
grid-column: 5/4;
|
540
|
-
text-align:
|
541
|
-
padding-
|
463
|
+
text-align: end;
|
464
|
+
padding-inline-start: 1.6rem;
|
542
465
|
}
|
543
466
|
}
|
544
467
|
&--label-left-auto {
|
@@ -558,19 +481,19 @@
|
|
558
481
|
&--with-icon-l {
|
559
482
|
input, textarea {
|
560
483
|
&.sd-line-input__input {
|
561
|
-
padding-
|
484
|
+
padding-inline-end: 3rem;
|
562
485
|
}
|
563
486
|
}
|
564
487
|
}
|
565
488
|
.sd-line-input__plus-btn {
|
566
489
|
position: absolute;
|
567
|
-
|
568
|
-
|
490
|
+
inset-block-start: 1.8rem;
|
491
|
+
inset-inline-start: 0;
|
569
492
|
height: 2.2rem;
|
570
493
|
width: 2.2rem;
|
571
|
-
background-color:
|
494
|
+
background-color: var(--sd-colour-interactive--alpha-70);
|
572
495
|
transition: $button-transition;
|
573
|
-
border-radius:
|
496
|
+
border-radius: $border-radius__base--x-small;
|
574
497
|
cursor: pointer;
|
575
498
|
text-align: center;
|
576
499
|
&::before {
|
@@ -582,134 +505,137 @@
|
|
582
505
|
-moz-osx-font-smoothing: grayscale;
|
583
506
|
}
|
584
507
|
&:hover {
|
585
|
-
background-color: $sd-
|
508
|
+
background-color: $sd-colour-interactive;
|
586
509
|
}
|
587
510
|
}
|
588
511
|
|
589
512
|
}
|
590
513
|
|
591
|
-
// DARK UI ---------------------------------------------
|
592
|
-
//------------------------------------------------------
|
593
514
|
|
594
|
-
|
595
|
-
[class*="--dark-ui"],
|
596
|
-
[class^="dark-ui"],
|
597
|
-
[class*="dark-ui"] {
|
598
|
-
.form-label {
|
599
|
-
color: inherit;
|
600
|
-
opacity: 0.4;
|
601
|
-
}
|
515
|
+
///////////////// -------------------- NEW INPUTS --------------------- /////////////////
|
602
516
|
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
&:focus {
|
612
|
-
box-shadow: 0 1px 0 0 $sd-blue;
|
613
|
-
border-color: $sd-blue;
|
614
|
-
}
|
615
|
-
}
|
517
|
+
.sd-input__input {
|
518
|
+
@include Line-input-base;
|
519
|
+
&--invalid {
|
520
|
+
border-bottom: 1px solid $red;
|
521
|
+
background-color: hsla(357, 79%, 50%, 0.075);
|
522
|
+
&:hover {
|
523
|
+
background-color: hsla(357, 79%, 50%, 0.12);
|
524
|
+
border-bottom-color: $red;
|
616
525
|
}
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
621
|
-
&:hover {
|
622
|
-
border-bottom-color: $sd-inputBorderColor-darkUi;
|
623
|
-
}
|
624
|
-
&:focus {
|
625
|
-
box-shadow: 0 1px 0 0 $sd-blue;
|
626
|
-
border-color: $sd-blue;
|
627
|
-
}
|
628
|
-
}
|
526
|
+
&:focus {
|
527
|
+
background-color: hsla(357, 79%, 50%, 0.16);
|
528
|
+
border-bottom-color: $red;
|
529
|
+
box-shadow: 0 1px 0 0 $red;
|
629
530
|
}
|
630
|
-
|
631
|
-
|
531
|
+
}
|
532
|
+
&--disabled {
|
533
|
+
opacity: 0.5;
|
534
|
+
background-color: var(--color-input-bg);
|
535
|
+
border-bottom: 1px dotted var(--color-input-border);
|
536
|
+
cursor: not-allowed !important;
|
537
|
+
box-shadow: none;
|
538
|
+
&:hover {
|
539
|
+
background-color: var(--color-input-bg);
|
540
|
+
border-bottom-color: var(--color-input-border);
|
632
541
|
}
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
&.sd-line-input__select {
|
645
|
-
border-bottom: 1px dotted rgba($sd-inputBorderColor-darkUi, 0.2);
|
646
|
-
&:focus, &:hover {
|
647
|
-
border-bottom: 1px dotted rgba($sd-inputBorderColor-darkUi, 0.2);
|
648
|
-
box-shadow: none;
|
649
|
-
}
|
650
|
-
}
|
651
|
-
}
|
542
|
+
}
|
543
|
+
&--boxed-style {
|
544
|
+
border: 0;
|
545
|
+
border: 2px solid var(--color-input-border);
|
546
|
+
background-color: transparent;
|
547
|
+
transition: all ease 0.3s;
|
548
|
+
border-radius: var(--b-radius--large);
|
549
|
+
display: block;
|
550
|
+
&:hover {
|
551
|
+
border-color: var(--color-input-border-hover);
|
552
|
+
background-color: transparent;
|
652
553
|
}
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
&:hover {
|
659
|
-
background-color: rgba(255, 255, 255, 0.1);
|
660
|
-
}
|
661
|
-
&:focus {
|
662
|
-
background-color: rgba(255, 255, 255, 0.05);
|
663
|
-
}
|
664
|
-
}
|
665
|
-
select {
|
666
|
-
&.sd-line-input__select {
|
667
|
-
background-color: rgba(255, 255, 255, 0.05);
|
668
|
-
}
|
669
|
-
&:hover {
|
670
|
-
background-color: rgba(255, 255, 255, 0.1);
|
671
|
-
}
|
672
|
-
&:focus {
|
673
|
-
background-color: rgba(255, 255, 255, 0.05);
|
674
|
-
}
|
675
|
-
}
|
676
|
-
&.sd-line-input--disabled {
|
677
|
-
input, textarea, textarea {
|
678
|
-
&.sd-line-input__input {
|
679
|
-
background-color: rgba(255, 255, 255, 0.03);
|
680
|
-
border-bottom-color: rgba($sd-inputBorderColor-darkUi, 0.2) !important;
|
681
|
-
}
|
682
|
-
}
|
683
|
-
select {
|
684
|
-
&.sd-line-input__select, &.sd-line-input__select:hover {
|
685
|
-
background-color: rgba(255, 255, 255, 0.03);
|
686
|
-
border-bottom-color: rgba($sd-inputBorderColor-darkUi, 0.2) !important;
|
687
|
-
}
|
688
|
-
}
|
689
|
-
}
|
554
|
+
&:focus {
|
555
|
+
outline: none;
|
556
|
+
border-color: var(--sd-colour-interactive--alpha-50);
|
557
|
+
box-shadow: inset 0 0 0 4px var(--sd-colour-interactive--alpha-20);
|
558
|
+
background-color: transparent;
|
690
559
|
}
|
691
560
|
|
692
|
-
&.sd-
|
693
|
-
|
694
|
-
|
695
|
-
|
696
|
-
|
697
|
-
|
698
|
-
|
699
|
-
&.sd-line-input__select {
|
700
|
-
border-color: $red;
|
701
|
-
}
|
561
|
+
&.sd-input__input--disabled {
|
562
|
+
border: 2px solid var(--color-input-border);
|
563
|
+
// cursor: not-allowed !important;
|
564
|
+
box-shadow: none;
|
565
|
+
&:hover {
|
566
|
+
//background-color: var(--color-input-bg);
|
567
|
+
border-color: var(--color-input-border);
|
702
568
|
}
|
703
569
|
}
|
704
|
-
|
705
|
-
|
706
|
-
|
570
|
+
|
571
|
+
&.sd-input__input--invalid {
|
572
|
+
background-color: hsla(357, 79%, 50%, 0.075);
|
573
|
+
border-color: $red;
|
574
|
+
&:hover,
|
575
|
+
&:focus {
|
576
|
+
background-color: hsla(357, 79%, 50%, 0.12);
|
577
|
+
box-shadow: none !important;
|
707
578
|
}
|
708
579
|
}
|
709
580
|
}
|
581
|
+
&--medium {
|
582
|
+
border-radius: var(--b-radius--medium);
|
583
|
+
&:focus {
|
584
|
+
box-shadow: inset 0 0 0 3px var(--sd-colour-interactive--alpha-20);
|
585
|
+
}
|
586
|
+
}
|
587
|
+
&--large {
|
588
|
+
padding: 0 1.6rem;
|
589
|
+
min-height: 4.8rem;
|
590
|
+
font-size: 2.4rem;
|
591
|
+
font-weight: 500;
|
592
|
+
}
|
593
|
+
&--x-large {
|
594
|
+
padding: 0 1.6rem;
|
595
|
+
min-height: 5.6rem;
|
596
|
+
font-size: 3.2rem;
|
597
|
+
font-weight: 500;
|
598
|
+
}
|
710
599
|
}
|
711
600
|
|
712
|
-
|
601
|
+
.sd-input__select {
|
602
|
+
display: block;
|
603
|
+
position: relative;
|
604
|
+
@include Line-input-base;
|
605
|
+
padding-inline-end: 2rem;
|
606
|
+
min-width: 5rem;
|
607
|
+
cursor: pointer;
|
608
|
+
option {
|
609
|
+
color:inherit;
|
610
|
+
font-size: 1.4rem;
|
611
|
+
line-height: 2rem;
|
612
|
+
background-color: var(--color-dropdown-menu-Bg);
|
613
|
+
color: var(--color-dropdown-menu-text);
|
614
|
+
}
|
615
|
+
}
|
616
|
+
|
617
|
+
.sd-input__hint,
|
618
|
+
.sd-input__message,
|
619
|
+
.sd-input__char-count {
|
620
|
+
font-size: 1.2rem;
|
621
|
+
line-height: 1.4rem;
|
622
|
+
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
623
|
+
color: var(--color-text-light);
|
624
|
+
font-weight: 300;
|
625
|
+
letter-spacing: 0.03em;
|
626
|
+
display: block;
|
627
|
+
}
|
628
|
+
.sd-input__char-count {
|
629
|
+
font-size: 1.1rem;
|
630
|
+
font-weight: 400;
|
631
|
+
font-style: italic;
|
632
|
+
&--error {
|
633
|
+
color: $red;
|
634
|
+
}
|
635
|
+
}
|
636
|
+
|
637
|
+
|
638
|
+
//----
|
713
639
|
|
714
640
|
.sd-input {
|
715
641
|
padding-top: 0;
|
@@ -719,26 +645,19 @@
|
|
719
645
|
grid-template-rows: $form-label-height auto auto;
|
720
646
|
grid-gap: 0;
|
721
647
|
position: relative;
|
648
|
+
align-self: stretch;
|
722
649
|
|
723
|
-
input, textarea, select {
|
724
|
-
&.sd-input__input {
|
725
|
-
@include Line-input-base;
|
726
|
-
background-color: var(--color-input-bg);
|
727
|
-
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
728
|
-
padding: 0 0.8rem;
|
729
|
-
height: $form-input-height;
|
730
|
-
border-radius: 2px 2px 0 0;
|
731
|
-
grid-row: 2/3;
|
732
|
-
grid-column: 2/4;
|
733
|
-
&:hover {
|
734
|
-
background-color: var(--color-input-bg--hover);
|
735
|
-
}
|
736
|
-
&:focus {
|
737
|
-
background-color: var(--color-input-bg--focus);
|
738
|
-
}
|
739
|
-
}
|
740
650
|
|
651
|
+
.sd-input__input {
|
652
|
+
//@include Line-input-base;
|
653
|
+
grid-row: 2/3;
|
654
|
+
grid-column: 2/4;
|
655
|
+
}
|
656
|
+
.sd-input__input-container {
|
657
|
+
grid-row: 2/3;
|
658
|
+
grid-column: 2/4;
|
741
659
|
}
|
660
|
+
|
742
661
|
textarea {
|
743
662
|
&.sd-input__input {
|
744
663
|
height: auto;
|
@@ -755,32 +674,22 @@
|
|
755
674
|
}
|
756
675
|
}
|
757
676
|
}
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
background-color: var(--color-input-bg--focus);
|
775
|
-
}
|
776
|
-
option {
|
777
|
-
color:inherit;
|
778
|
-
font-size: 1.4rem;
|
779
|
-
line-height: 2rem;
|
780
|
-
background-color: var(--color-bg__select-option);
|
781
|
-
}
|
782
|
-
}
|
783
|
-
cursor: pointer;
|
677
|
+
.sd-input__select {
|
678
|
+
// display: block;
|
679
|
+
// position: relative;
|
680
|
+
// @include Line-input-base;
|
681
|
+
// padding-inline-end: 2rem;
|
682
|
+
grid-row: 2/3;
|
683
|
+
grid-column: 2/4;
|
684
|
+
// min-width: 5rem;
|
685
|
+
// cursor: pointer;
|
686
|
+
// option {
|
687
|
+
// color:inherit;
|
688
|
+
// font-size: 1.4rem;
|
689
|
+
// line-height: 2rem;
|
690
|
+
// background-color: var(--color-dropdown-menu-Bg);
|
691
|
+
// color: var(--color-dropdown-menu-text);
|
692
|
+
// }
|
784
693
|
}
|
785
694
|
&.sd-input--is-select {
|
786
695
|
&::after {
|
@@ -789,23 +698,23 @@
|
|
789
698
|
grid-row: 2/3;
|
790
699
|
grid-column: 2/4;
|
791
700
|
align-self: center;
|
792
|
-
justify-self:
|
701
|
+
justify-self: flex-end;
|
793
702
|
display: inline-block;
|
794
703
|
width: 0;
|
795
704
|
height: 0;
|
796
|
-
margin-
|
705
|
+
margin-inline-end: 1rem;
|
797
706
|
vertical-align: middle;
|
798
707
|
border-left: 0.4rem solid transparent;
|
799
708
|
border-right: 0.4rem solid transparent;
|
800
709
|
border-top: 0.4rem solid var(--color-text);
|
801
710
|
pointer-events: none;
|
802
|
-
|
711
|
+
opacity: 0.4;
|
803
712
|
content: "";
|
804
713
|
z-index: 0;
|
805
714
|
}
|
806
715
|
&:hover {
|
807
716
|
&::after {
|
808
|
-
|
717
|
+
opacity: 0.6;
|
809
718
|
}
|
810
719
|
}
|
811
720
|
}
|
@@ -821,24 +730,24 @@
|
|
821
730
|
.sd-input__hint,
|
822
731
|
.sd-input__message,
|
823
732
|
.sd-input__char-count {
|
824
|
-
font-size: 1.2rem;
|
825
|
-
line-height: 1.4rem;
|
826
|
-
transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
827
|
-
color:
|
828
|
-
font-weight: 300;
|
733
|
+
// font-size: 1.2rem;
|
734
|
+
// line-height: 1.4rem;
|
735
|
+
// transition: all 0.3s cubic-bezier(0.55, 0, 0.55, 0.2);
|
736
|
+
// color: var(--color-text-light);
|
737
|
+
// font-weight: 300;
|
829
738
|
margin: 0.5rem 0;
|
830
|
-
letter-spacing: 0.03em;
|
831
|
-
display: block;
|
739
|
+
// letter-spacing: 0.03em;
|
740
|
+
// display: block;
|
832
741
|
}
|
833
742
|
.sd-input__char-count {
|
834
|
-
font-size: 1.1rem;
|
835
|
-
font-weight: 400;
|
836
|
-
font-style: italic;
|
743
|
+
// font-size: 1.1rem;
|
744
|
+
// font-weight: 400;
|
745
|
+
// font-style: italic;
|
837
746
|
grid-row: 3/4;
|
838
747
|
grid-column: 3/4;
|
839
|
-
&--error {
|
840
|
-
|
841
|
-
}
|
748
|
+
// &--error {
|
749
|
+
// color: $red;
|
750
|
+
// }
|
842
751
|
}
|
843
752
|
.sd-input__label {
|
844
753
|
@include Form-label-base;
|
@@ -853,7 +762,10 @@
|
|
853
762
|
content: "*";
|
854
763
|
vertical-align: top;
|
855
764
|
font-size: 1.2rem;
|
856
|
-
padding-
|
765
|
+
padding-inline-start: 0.3rem;
|
766
|
+
}
|
767
|
+
&--boxed {
|
768
|
+
@include Boxed-label-base;
|
857
769
|
}
|
858
770
|
}
|
859
771
|
&--inline-label {
|
@@ -862,20 +774,37 @@
|
|
862
774
|
.sd-input__label {
|
863
775
|
grid-row: 2/3;
|
864
776
|
grid-column: 1/2;
|
865
|
-
padding: 1rem
|
777
|
+
padding-inline-end: 1rem;
|
778
|
+
padding-inline-start: 0;
|
779
|
+
padding-block-start: 0.4rem;
|
780
|
+
padding-block-end: 0;
|
781
|
+
position: relative;
|
782
|
+
|
783
|
+
max-width: 260px;
|
784
|
+
min-width: 100px;
|
785
|
+
text-align: end;
|
786
|
+
position: relative;
|
787
|
+
align-self: center;
|
788
|
+
line-height: 1.2;
|
789
|
+
&::after {
|
790
|
+
position: absolute;
|
791
|
+
z-index: 2;
|
792
|
+
inset-block-start: -2px;
|
793
|
+
inset-inline-end: 4px;
|
794
|
+
}
|
866
795
|
}
|
867
796
|
}
|
868
797
|
&--invalid {
|
869
798
|
input, textarea {
|
870
799
|
&.sd-input__input {
|
871
|
-
background-color:
|
800
|
+
background-color: hsla(357, 79%, 50%, 0.075);
|
872
801
|
border-color: $red;
|
873
802
|
&:hover {
|
874
|
-
background-color:
|
803
|
+
background-color: hsla(357, 79%, 50%, 0.12);
|
875
804
|
border-color: $red;
|
876
805
|
}
|
877
806
|
&:focus {
|
878
|
-
background-color:
|
807
|
+
background-color: hsla(357, 79%, 50%, 0.16);
|
879
808
|
border-color: $red;
|
880
809
|
box-shadow: 0 1px 0 0 $red;
|
881
810
|
}
|
@@ -883,14 +812,14 @@
|
|
883
812
|
}
|
884
813
|
select {
|
885
814
|
&.sd-input__select {
|
886
|
-
background-color:
|
815
|
+
background-color: hsla(357, 79%, 50%, 0.075);
|
887
816
|
border-color: $red;
|
888
817
|
&:hover {
|
889
|
-
background-color:
|
818
|
+
background-color: hsla(357, 79%, 50%, 0.12);
|
890
819
|
border-color: $red;
|
891
820
|
}
|
892
821
|
&:focus {
|
893
|
-
background-color:
|
822
|
+
background-color: hsla(357, 79%, 50%, 0.16);
|
894
823
|
border-color: $red;
|
895
824
|
box-shadow: 0 1px 0 0 $red;
|
896
825
|
}
|
@@ -906,7 +835,12 @@
|
|
906
835
|
content: "*";
|
907
836
|
vertical-align: top;
|
908
837
|
font-size: 1.2rem;
|
909
|
-
padding-
|
838
|
+
padding-inline-start: 0.3rem;
|
839
|
+
}
|
840
|
+
.sd-input__label.sd-input__label--boxed::after {
|
841
|
+
position: absolute;
|
842
|
+
inset-block-start: -4px;
|
843
|
+
inset-inline-end: -10px;
|
910
844
|
}
|
911
845
|
}
|
912
846
|
&--disabled {
|
@@ -933,8 +867,27 @@
|
|
933
867
|
}
|
934
868
|
}
|
935
869
|
}
|
870
|
+
div {
|
871
|
+
&.sd-input__duration-input, &.sd-input__duration-input:hover, &.sd-input__duration-input:focus {
|
872
|
+
opacity: 0.5;
|
873
|
+
//background-color: var(--color-input-bg);
|
874
|
+
//border-bottom: 1px dotted var(--color-input-border);
|
875
|
+
cursor: not-allowed !important;
|
876
|
+
box-shadow: none;
|
877
|
+
}
|
878
|
+
input {
|
879
|
+
&.duration-input, &.duration-input:hover, &.duration-input:focus {
|
880
|
+
opacity: 0.5;
|
881
|
+
//background-color: var(--color-input-bg);
|
882
|
+
//border-bottom: 1px dotted var(--color-input-border);
|
883
|
+
cursor: not-allowed !important;
|
884
|
+
box-shadow: none;
|
885
|
+
}
|
886
|
+
}
|
887
|
+
}
|
936
888
|
.sd-input__label, .sd-input__message-box, .sd-input__char-count {
|
937
|
-
opacity: 0.5;
|
889
|
+
opacity: 0.5 !important;
|
890
|
+
pointer-events: none !important;
|
938
891
|
}
|
939
892
|
.sd-input__hint,
|
940
893
|
.sd-input__message,
|
@@ -942,4 +895,276 @@
|
|
942
895
|
pointer-events: none;
|
943
896
|
}
|
944
897
|
}
|
898
|
+
&--no-label {
|
899
|
+
grid-template-rows: auto auto auto;
|
900
|
+
}
|
901
|
+
&--full-width {
|
902
|
+
flex-grow: 1;
|
903
|
+
width: 100%;
|
904
|
+
}
|
905
|
+
|
906
|
+
&--medium {
|
907
|
+
&.sd-input--boxed-style {
|
908
|
+
.sd-input__input,
|
909
|
+
.sd-input__select {
|
910
|
+
border-radius: var(--b-radius--medium);
|
911
|
+
&:focus {
|
912
|
+
box-shadow: inset 0 0 0 3px var(--sd-colour-interactive--alpha-20);
|
913
|
+
}
|
914
|
+
}
|
915
|
+
}
|
916
|
+
}
|
917
|
+
&--large {
|
918
|
+
.sd-input__input,
|
919
|
+
.sd-input__select {
|
920
|
+
padding: 0 1.6rem;
|
921
|
+
min-height: 4.8rem;
|
922
|
+
font-size: 2.4rem;
|
923
|
+
font-weight: 500;
|
924
|
+
}
|
925
|
+
.sd-input__select {
|
926
|
+
line-height: 2.4rem;
|
927
|
+
option {
|
928
|
+
color: var(--color-text);
|
929
|
+
font-size: 1.4rem !important;
|
930
|
+
line-height: 2rem;
|
931
|
+
background-color: var(--color-dropdown-menu-Bg);
|
932
|
+
}
|
933
|
+
}
|
934
|
+
}
|
935
|
+
&--x-large {
|
936
|
+
.sd-input__input,
|
937
|
+
.sd-input__select {
|
938
|
+
padding: 0 1.6rem;
|
939
|
+
min-height: 5.6rem;
|
940
|
+
font-size: 3.2rem;
|
941
|
+
font-weight: 500;
|
942
|
+
}
|
943
|
+
.sd-input__select {
|
944
|
+
line-height: 3.2rem;
|
945
|
+
option {
|
946
|
+
color: var(--color-text);
|
947
|
+
font-size: 1.4rem !important;
|
948
|
+
line-height: 2rem;
|
949
|
+
background-color: var(--color-dropdown-menu-Bg);
|
950
|
+
}
|
951
|
+
}
|
952
|
+
}
|
953
|
+
&--boxed-style {
|
954
|
+
.sd-input__input,
|
955
|
+
.sd-input__select {
|
956
|
+
border: 0;
|
957
|
+
border: 2px solid var(--color-input-border);
|
958
|
+
background-color: transparent;
|
959
|
+
transition: all ease 0.3s;
|
960
|
+
border-radius: var(--b-radius--large);
|
961
|
+
display: block;
|
962
|
+
&:hover {
|
963
|
+
border-color: var(--color-input-border-hover);
|
964
|
+
background-color: transparent;
|
965
|
+
}
|
966
|
+
&:focus {
|
967
|
+
outline: none;
|
968
|
+
border-color: var(--sd-colour-interactive--alpha-50);
|
969
|
+
box-shadow: inset 0 0 0 4px var(--sd-colour-interactive--alpha-20);
|
970
|
+
background-color: transparent;
|
971
|
+
}
|
972
|
+
}
|
973
|
+
|
974
|
+
&.sd-input--disabled {
|
975
|
+
input,
|
976
|
+
textarea {
|
977
|
+
&.sd-input__input,
|
978
|
+
&.sd-input__input:hover,
|
979
|
+
&.sd-input__input:focus {
|
980
|
+
opacity: 0.5;
|
981
|
+
background-color: transparent;
|
982
|
+
border: 2px solid var(--color-input-border) !important;
|
983
|
+
box-shadow: none;
|
984
|
+
}
|
985
|
+
}
|
986
|
+
select {
|
987
|
+
&.sd-input__select,
|
988
|
+
&.sd-input__select:hover,
|
989
|
+
&.sd-input__select:focus {
|
990
|
+
opacity: 0.5;
|
991
|
+
background-color: transparent;
|
992
|
+
border: 2px solid var(--color-input-border) !important;
|
993
|
+
//ursor: not-allowed !important;
|
994
|
+
box-shadow: none;
|
995
|
+
}
|
996
|
+
}
|
997
|
+
.tags-input__add-button {
|
998
|
+
pointer-events: none;
|
999
|
+
}
|
1000
|
+
.sd-input__label,
|
1001
|
+
.sd-input__message-box,
|
1002
|
+
.sd-input__char-count {
|
1003
|
+
.sd-input__label,
|
1004
|
+
.sd-input__message-box,
|
1005
|
+
.sd-input__char-count {
|
1006
|
+
opacity: 0.5;
|
1007
|
+
}
|
1008
|
+
}
|
1009
|
+
.sd-input__hint,
|
1010
|
+
.sd-input__message,
|
1011
|
+
.sd-input__char-count {
|
1012
|
+
pointer-events: none;
|
1013
|
+
}
|
1014
|
+
}
|
1015
|
+
|
1016
|
+
&.sd-input--invalid {
|
1017
|
+
input, textarea {
|
1018
|
+
&.sd-input__input {
|
1019
|
+
&:focus {
|
1020
|
+
background-color: hsla(357, 79%, 50%, 0.1);
|
1021
|
+
box-shadow: none;
|
1022
|
+
}
|
1023
|
+
}
|
1024
|
+
}
|
1025
|
+
select {
|
1026
|
+
&.sd-input__select {
|
1027
|
+
&:focus {
|
1028
|
+
background-color: hsla(357, 79%, 50%, 0.1);
|
1029
|
+
box-shadow: none;
|
1030
|
+
}
|
1031
|
+
}
|
1032
|
+
}
|
1033
|
+
.sd-input__label, .sd-input__message {
|
1034
|
+
color: $red;
|
1035
|
+
}
|
1036
|
+
}
|
1037
|
+
}
|
1038
|
+
&--boxed-label {
|
1039
|
+
grid-template-columns: auto 1fr auto;
|
1040
|
+
grid-template-rows: auto auto auto;
|
1041
|
+
&:hover {
|
1042
|
+
.sd-input__label {
|
1043
|
+
&.sd-input__label--boxed {
|
1044
|
+
background-color: hsla(214, 13%, 30%, 0.54);
|
1045
|
+
}
|
1046
|
+
}
|
1047
|
+
}
|
1048
|
+
&:focus-within {
|
1049
|
+
.sd-input__label {
|
1050
|
+
&.sd-input__label--boxed {
|
1051
|
+
background-color: var(--sd-colour-interactive--alpha-70);
|
1052
|
+
}
|
1053
|
+
}
|
1054
|
+
}
|
1055
|
+
&.sd-input--invalid {
|
1056
|
+
.sd-input__label--boxed {
|
1057
|
+
background-color: $red !important;
|
1058
|
+
color: hsla(214, 13%, 100%, 1);
|
1059
|
+
}
|
1060
|
+
}
|
1061
|
+
&.sd-input--disabled {
|
1062
|
+
.sd-input__label--boxed {
|
1063
|
+
background-color: hsla(214, 13%, 0%, 0.4) !important;
|
1064
|
+
}
|
1065
|
+
}
|
1066
|
+
}
|
1067
|
+
|
1068
|
+
}
|
1069
|
+
|
1070
|
+
///////////////// -------------------- Duration & Time-Date input --------------------- /////////////////
|
1071
|
+
|
1072
|
+
|
1073
|
+
|
1074
|
+
|
1075
|
+
|
1076
|
+
|
1077
|
+
|
1078
|
+
.sd-input__duration-input,
|
1079
|
+
.sd-input__time-date-input {
|
1080
|
+
@include Line-input-base;
|
1081
|
+
display: flex;
|
1082
|
+
gap: 2px;
|
1083
|
+
grid-row: 2/3;
|
1084
|
+
grid-column: 2/4;
|
1085
|
+
&:focus-within {
|
1086
|
+
box-shadow: 0 1px 0 0 var(--sd-colour-interactive);
|
1087
|
+
border-color: var(--sd-colour-interactive);
|
1088
|
+
background-color: var(--sd-colour-interactive--alpha-20);
|
1089
|
+
}
|
1090
|
+
}
|
1091
|
+
|
1092
|
+
.sd-input__duration-input {
|
1093
|
+
input {
|
1094
|
+
-webkit-appearance: none;
|
1095
|
+
-moz-appearance: none;
|
1096
|
+
appearance: none;
|
1097
|
+
border: 0;
|
1098
|
+
background-color: transparent;
|
1099
|
+
height: 3.2rem;
|
1100
|
+
display: inline-block;
|
1101
|
+
color: var(--color-text);
|
1102
|
+
text-align: end;
|
1103
|
+
width: 2.5ch;
|
1104
|
+
font-size: 1.4rem;
|
1105
|
+
padding: 0 !important;
|
1106
|
+
line-height: 3.2rem;
|
1107
|
+
&::-webkit-outer-spin-button,
|
1108
|
+
&::-webkit-inner-spin-button {
|
1109
|
+
-webkit-appearance: none;
|
1110
|
+
margin: 0;
|
1111
|
+
}
|
1112
|
+
&[type=number] {
|
1113
|
+
-moz-appearance: textfield;
|
1114
|
+
}
|
1115
|
+
}
|
1116
|
+
span {
|
1117
|
+
display: flex;
|
1118
|
+
align-items: center;
|
1119
|
+
}
|
1120
|
+
.sd-input__suffix {
|
1121
|
+
height: 3.2rem;
|
1122
|
+
line-height: 3.2rem;
|
1123
|
+
font-size: 1.4rem;
|
1124
|
+
color: var(--color-text-light);
|
1125
|
+
display: inline-block;
|
1126
|
+
pointer-events: none;
|
1127
|
+
margin-inline-end: 2px;
|
1128
|
+
text-align: center;
|
1129
|
+
}
|
1130
|
+
}
|
1131
|
+
|
1132
|
+
.sd-input {
|
1133
|
+
.p-multiselect,
|
1134
|
+
.p-calendar,
|
1135
|
+
.p-multiselect,
|
1136
|
+
.p-dropdown,
|
1137
|
+
.tags-input {
|
1138
|
+
grid-row: 2/3;
|
1139
|
+
grid-column: 2/4;
|
1140
|
+
width: 100%;
|
1141
|
+
}
|
1142
|
+
&.sd-input--disabled,
|
1143
|
+
&.sd-input--disabled:hover {
|
1144
|
+
.p-multiselect,
|
1145
|
+
.p-calendar,
|
1146
|
+
.p-multiselect,
|
1147
|
+
.p-dropdown,
|
1148
|
+
.tags-input {
|
1149
|
+
opacity: 0.5;
|
1150
|
+
cursor: not-allowed;
|
1151
|
+
}
|
1152
|
+
.p-calendar {
|
1153
|
+
.p-calendar-icon {
|
1154
|
+
pointer-events: none;
|
1155
|
+
}
|
1156
|
+
border-bottom: 1px dotted var(--color-input-border);
|
1157
|
+
background-color: var(--color-input-bg);
|
1158
|
+
}
|
1159
|
+
}
|
1160
|
+
}
|
1161
|
+
|
1162
|
+
.blink_me {
|
1163
|
+
animation: blinker 1s linear infinite;
|
1164
|
+
}
|
1165
|
+
|
1166
|
+
@keyframes blinker {
|
1167
|
+
50% {
|
1168
|
+
opacity: 0;
|
1169
|
+
}
|
945
1170
|
}
|