@enact/limestone 1.3.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/.github/PULL_REQUEST_TEMPLATE.md +28 -0
- package/.github/workflows/update-copyright-years.yml +25 -0
- package/.travis.yml +40 -0
- package/ActionGuide/ActionGuide.d.ts +73 -0
- package/ActionGuide/ActionGuide.js +164 -0
- package/ActionGuide/ActionGuide.module.css +73 -0
- package/ActionGuide/package.json +3 -0
- package/ActionGuide/tests/ActionGuide-specs.js +51 -0
- package/Alert/Alert.d.ts +155 -0
- package/Alert/Alert.js +313 -0
- package/Alert/Alert.module.css +190 -0
- package/Alert/AlertImage.js +102 -0
- package/Alert/AlertImage.module.css +15 -0
- package/Alert/package.json +3 -0
- package/Alert/tests/Alert-specs.js +204 -0
- package/BodyText/BodyText.d.ts +74 -0
- package/BodyText/BodyText.js +170 -0
- package/BodyText/BodyText.module.css +95 -0
- package/BodyText/package.json +3 -0
- package/BodyText/tests/BodyText-specs.js +55 -0
- package/Button/Button.d.ts +131 -0
- package/Button/Button.js +351 -0
- package/Button/Button.module.css +2518 -0
- package/Button/package.json +3 -0
- package/Button/tests/Button-specs.js +252 -0
- package/CHANGELOG.md +170 -0
- package/Card/Card.d.ts +138 -0
- package/Card/Card.js +396 -0
- package/Card/Card.module.css +1296 -0
- package/Card/package.json +3 -0
- package/Card/tests/Card-specs.js +65 -0
- package/Checkbox/Checkbox.d.ts +99 -0
- package/Checkbox/Checkbox.js +222 -0
- package/Checkbox/Checkbox.module.css +1395 -0
- package/Checkbox/package.json +3 -0
- package/Checkbox/tests/Checkbox-specs.js +79 -0
- package/CheckboxItem/CheckboxItem.d.ts +99 -0
- package/CheckboxItem/CheckboxItem.js +210 -0
- package/CheckboxItem/CheckboxItem.module.css +50 -0
- package/CheckboxItem/package.json +3 -0
- package/CheckboxItem/tests/CheckboxItem-specs.js +52 -0
- package/Chips/Chip.js +252 -0
- package/Chips/Chip.module.css +30 -0
- package/Chips/Chips.js +215 -0
- package/Chips/Chips.module.css +8 -0
- package/Chips/index.js +86 -0
- package/Chips/tests/Chip-specs.js +186 -0
- package/Chips/tests/Chips-specs.js +312 -0
- package/ColorPicker/ColorPicker.js +416 -0
- package/ColorPicker/ColorPicker.module.css +78 -0
- package/ColorPicker/package.json +3 -0
- package/ColorPicker/tests/ColorPicker-specs.js +225 -0
- package/ColorPicker/utils.js +135 -0
- package/ContextualMenuDecorator/ContextualMenuDecorator.d.ts +106 -0
- package/ContextualMenuDecorator/ContextualMenuDecorator.js +264 -0
- package/ContextualMenuDecorator/ContextualMenuDecorator.module.css +42 -0
- package/ContextualMenuDecorator/package.json +3 -0
- package/ContextualMenuDecorator/tests/ContextualMenuDecorator-specs.js +136 -0
- package/ContextualPopupDecorator/ContextualPopup.js +200 -0
- package/ContextualPopupDecorator/ContextualPopup.module.css +270 -0
- package/ContextualPopupDecorator/ContextualPopupDecorator.d.ts +182 -0
- package/ContextualPopupDecorator/ContextualPopupDecorator.js +867 -0
- package/ContextualPopupDecorator/ContextualPopupDecorator.module.css +3 -0
- package/ContextualPopupDecorator/HolePunchScrim.js +69 -0
- package/ContextualPopupDecorator/HolePunchScrim.module.css +38 -0
- package/ContextualPopupDecorator/package.json +3 -0
- package/ContextualPopupDecorator/tests/ContextualPopupDecorator-specs.js +621 -0
- package/DatePicker/DatePicker.d.ts +173 -0
- package/DatePicker/DatePicker.js +175 -0
- package/DatePicker/DatePicker.module.css +5 -0
- package/DatePicker/DatePickerBase.js +348 -0
- package/DatePicker/package.json +3 -0
- package/DatePicker/tests/DatePicker-specs.js +247 -0
- package/DayPicker/DayPicker.d.ts +92 -0
- package/DayPicker/DayPicker.js +188 -0
- package/DayPicker/DayPicker.module.css +35 -0
- package/DayPicker/DaySelectorDecorator.js +301 -0
- package/DayPicker/package.json +3 -0
- package/DayPicker/tests/DayPicker-specs.js +138 -0
- package/Dropdown/Dropdown.d.ts +135 -0
- package/Dropdown/Dropdown.js +460 -0
- package/Dropdown/Dropdown.module.css +160 -0
- package/Dropdown/DropdownList.js +360 -0
- package/Dropdown/package.json +3 -0
- package/Dropdown/tests/Dropdown-specs.js +267 -0
- package/FixedPopupPanels/FixedPopupPanels.d.ts +72 -0
- package/FixedPopupPanels/FixedPopupPanels.js +170 -0
- package/FixedPopupPanels/FixedPopupPanels.module.css +146 -0
- package/FixedPopupPanels/package.json +3 -0
- package/FixedPopupPanels/tests/FixedPopupPanels-specs.js +142 -0
- package/FlexiblePopupPanels/FlexiblePopupPanels.js +177 -0
- package/FlexiblePopupPanels/FlexiblePopupPanels.module.css +291 -0
- package/FlexiblePopupPanels/Header.js +110 -0
- package/FlexiblePopupPanels/Panel.js +256 -0
- package/FlexiblePopupPanels/index.d.ts +145 -0
- package/FlexiblePopupPanels/index.js +68 -0
- package/FlexiblePopupPanels/package.json +3 -0
- package/FlexiblePopupPanels/tests/FlexiblePopupPanels-specs.js +305 -0
- package/FlexiblePopupPanels/useNavButtonFocus.js +65 -0
- package/FormCheckboxItem/FormCheckboxItem.d.ts +87 -0
- package/FormCheckboxItem/FormCheckboxItem.js +200 -0
- package/FormCheckboxItem/FormCheckboxItem.module.css +374 -0
- package/FormCheckboxItem/package.json +3 -0
- package/FormCheckboxItem/tests/FormCheckboxItem-specs.js +164 -0
- package/Heading/Heading.d.ts +104 -0
- package/Heading/Heading.js +203 -0
- package/Heading/Heading.module.css +217 -0
- package/Heading/package.json +3 -0
- package/Heading/tests/Heading-specs.js +57 -0
- package/Icon/Icon.d.ts +377 -0
- package/Icon/Icon.js +503 -0
- package/Icon/Icon.module.css +121 -0
- package/Icon/IconList.js +611 -0
- package/Icon/package.json +3 -0
- package/Icon/tests/Icon-specs.js +131 -0
- package/IconItem/IconItem.d.ts +137 -0
- package/IconItem/IconItem.js +360 -0
- package/IconItem/IconItem.module.css +414 -0
- package/IconItem/package.json +3 -0
- package/IconItem/tests/IconItem-specs.js +106 -0
- package/Image/Image.d.ts +60 -0
- package/Image/Image.js +165 -0
- package/Image/Image.module.css +5 -0
- package/Image/package.json +3 -0
- package/Image/tests/Image-specs.js +62 -0
- package/ImageItem/ImageItem.d.ts +134 -0
- package/ImageItem/ImageItem.js +377 -0
- package/ImageItem/ImageItem.module.css +1079 -0
- package/ImageItem/package.json +3 -0
- package/ImageItem/tests/ImageItem-specs.js +223 -0
- package/Input/Input.js +715 -0
- package/Input/Input.module.css +699 -0
- package/Input/InputField.js +487 -0
- package/Input/InputField.module.css +763 -0
- package/Input/InputFieldDecoratorIcon.js +66 -0
- package/Input/InputFieldSpotlightDecorator.js +380 -0
- package/Input/Keypad.js +111 -0
- package/Input/NumberField.js +311 -0
- package/Input/index.d.ts +423 -0
- package/Input/index.js +87 -0
- package/Input/package.json +3 -0
- package/Input/pointer.js +103 -0
- package/Input/tests/Input-specs.js +537 -0
- package/Input/tests/InputField-specs.js +292 -0
- package/Input/tests/InputPopup-specs.js +56 -0
- package/Input/util.js +130 -0
- package/Item/Item.d.ts +108 -0
- package/Item/Item.js +360 -0
- package/Item/Item.module.css +665 -0
- package/Item/package.json +3 -0
- package/Item/tests/Item-specs.js +108 -0
- package/KeyGuide/KeyGuide.d.ts +103 -0
- package/KeyGuide/KeyGuide.js +254 -0
- package/KeyGuide/KeyGuide.module.css +431 -0
- package/KeyGuide/package.json +3 -0
- package/KeyGuide/tests/KeyGuide-specs.js +168 -0
- package/LICENSE +201 -0
- package/Marquee/Marquee.d.ts +42 -0
- package/Marquee/Marquee.js +45 -0
- package/Marquee/package.json +3 -0
- package/MediaOverlay/MediaOverlay.d.ts +134 -0
- package/MediaOverlay/MediaOverlay.js +304 -0
- package/MediaOverlay/MediaOverlay.module.css +292 -0
- package/MediaOverlay/package.json +3 -0
- package/MediaOverlay/tests/MediaOverlay-specs.js +127 -0
- package/MediaPlayer/MediaControls.js +934 -0
- package/MediaPlayer/MediaControls.module.css +86 -0
- package/MediaPlayer/MediaKnob.js +61 -0
- package/MediaPlayer/MediaSlider.js +131 -0
- package/MediaPlayer/MediaSlider.module.css +319 -0
- package/MediaPlayer/MediaSliderDecorator.js +245 -0
- package/MediaPlayer/Times.js +152 -0
- package/MediaPlayer/Times.module.css +34 -0
- package/MediaPlayer/index.d.ts +223 -0
- package/MediaPlayer/index.js +34 -0
- package/MediaPlayer/package.json +3 -0
- package/MediaPlayer/tests/MediaSlider-specs.js +126 -0
- package/MediaPlayer/tests/util-specs.js +114 -0
- package/MediaPlayer/util.js +83 -0
- package/PageViews/Page.js +77 -0
- package/PageViews/Page.module.css +3 -0
- package/PageViews/PageViews.js +440 -0
- package/PageViews/PageViews.module.css +175 -0
- package/PageViews/PageViewsRouter.js +150 -0
- package/PageViews/index.js +45 -0
- package/PageViews/tests/PageViews-specs.js +192 -0
- package/Panels/Header.js +599 -0
- package/Panels/Header.module.css +243 -0
- package/Panels/Panel.js +347 -0
- package/Panels/Panel.module.css +33 -0
- package/Panels/Panels.js +258 -0
- package/Panels/Panels.module.css +12 -0
- package/Panels/index.d.ts +376 -0
- package/Panels/index.js +66 -0
- package/Panels/package.json +3 -0
- package/Panels/tests/Header-specs.js +146 -0
- package/Panels/tests/Panels-specs.js +257 -0
- package/Picker/Picker.d.ts +193 -0
- package/Picker/Picker.js +389 -0
- package/Picker/Picker.module.css +46 -0
- package/Picker/package.json +3 -0
- package/Picker/tests/Picker-specs.js +91 -0
- package/Popup/Popup.d.ts +169 -0
- package/Popup/Popup.js +690 -0
- package/Popup/Popup.module.css +180 -0
- package/Popup/package.json +3 -0
- package/Popup/tests/Popup-specs.js +475 -0
- package/PopupTabLayout/PopupTabLayout.d.ts +196 -0
- package/PopupTabLayout/PopupTabLayout.js +605 -0
- package/PopupTabLayout/PopupTabLayout.module.css +226 -0
- package/PopupTabLayout/package.json +3 -0
- package/PopupTabLayout/tests/PopupTabLayout-specs.js +285 -0
- package/ProgressBar/ProgressBar.d.ts +171 -0
- package/ProgressBar/ProgressBar.js +223 -0
- package/ProgressBar/ProgressBar.module.css +264 -0
- package/ProgressBar/ProgressBarTooltip.js +359 -0
- package/ProgressBar/ProgressBarTooltip.module.css +86 -0
- package/ProgressBar/package.json +3 -0
- package/ProgressBar/tests/ProgressBar-specs.js +400 -0
- package/ProgressButton/ProgressButton.d.ts +57 -0
- package/ProgressButton/ProgressButton.js +143 -0
- package/ProgressButton/ProgressButton.module.css +147 -0
- package/ProgressButton/package.json +3 -0
- package/ProgressButton/tests/ProgressButton-specs.js +71 -0
- package/QuickGuidePanels/Panel.js +90 -0
- package/QuickGuidePanels/QuickGuidePanels.js +463 -0
- package/QuickGuidePanels/QuickGuidePanels.module.css +26 -0
- package/QuickGuidePanels/index.js +52 -0
- package/QuickGuidePanels/tests/QuickGuidePanels-specs.js +250 -0
- package/README.md +59 -0
- package/RadioItem/RadioItem.d.ts +59 -0
- package/RadioItem/RadioItem.js +146 -0
- package/RadioItem/RadioItem.module.css +233 -0
- package/RadioItem/package.json +3 -0
- package/RadioItem/tests/RadioItem-specs.js +62 -0
- package/RangePicker/RangePicker.d.ts +174 -0
- package/RangePicker/RangePicker.js +372 -0
- package/RangePicker/RangePicker.module.css +55 -0
- package/RangePicker/package.json +3 -0
- package/RangePicker/tests/RangePicker-specs.js +122 -0
- package/Region/Region.d.ts +33 -0
- package/Region/Region.js +91 -0
- package/Region/package.json +3 -0
- package/Region/tests/Region-specs.js +28 -0
- package/Scroller/ContentContainerDecorator.js +24 -0
- package/Scroller/EditableWrapper.js +1036 -0
- package/Scroller/EditableWrapper.module.css +22 -0
- package/Scroller/Scroller.d.ts +270 -0
- package/Scroller/Scroller.js +470 -0
- package/Scroller/Scroller.module.css +41 -0
- package/Scroller/package.json +3 -0
- package/Scroller/tests/ContentContainerDecorator-specs.js +20 -0
- package/Scroller/tests/EditableWrapper-specs.js +133 -0
- package/Scroller/tests/Scroller-specs.js +159 -0
- package/Scroller/useEvent.js +39 -0
- package/Scroller/useThemeScroller.js +410 -0
- package/Skinnable/Skinnable.d.ts +27 -0
- package/Skinnable/Skinnable.js +65 -0
- package/Skinnable/package.json +3 -0
- package/Slider/Slider.d.ts +218 -0
- package/Slider/Slider.js +441 -0
- package/Slider/Slider.module.css +880 -0
- package/Slider/SliderBehaviorDecorator.js +184 -0
- package/Slider/package.json +3 -0
- package/Slider/tests/Slider-specs.js +573 -0
- package/Slider/utils.js +114 -0
- package/Spinner/Spinner.d.ts +64 -0
- package/Spinner/Spinner.js +254 -0
- package/Spinner/Spinner.module.css +368 -0
- package/Spinner/package.json +3 -0
- package/Spinner/tests/Spinner-specs.js +70 -0
- package/Sprite/Sprite.d.ts +100 -0
- package/Sprite/Sprite.js +345 -0
- package/Sprite/Sprite.module.css +32 -0
- package/Sprite/package.json +3 -0
- package/Sprite/tests/Sprite-specs.js +59 -0
- package/Steps/Steps.d.ts +119 -0
- package/Steps/Steps.js +303 -0
- package/Steps/Steps.module.css +130 -0
- package/Steps/package.json +3 -0
- package/Steps/tests/Steps-specs.js +175 -0
- package/Switch/Switch.d.ts +54 -0
- package/Switch/Switch.js +143 -0
- package/Switch/Switch.module.css +714 -0
- package/Switch/package.json +3 -0
- package/Switch/tests/Switch-specs.js +54 -0
- package/SwitchItem/SwitchItem.d.ts +56 -0
- package/SwitchItem/SwitchItem.js +144 -0
- package/SwitchItem/SwitchItem.module.css +31 -0
- package/SwitchItem/package.json +3 -0
- package/SwitchItem/tests/SwitchItem-specs.js +49 -0
- package/TabLayout/RefocusDecorator.js +142 -0
- package/TabLayout/Tab.js +84 -0
- package/TabLayout/TabGroup.js +377 -0
- package/TabLayout/TabGroup.module.css +280 -0
- package/TabLayout/TabLayout.d.ts +161 -0
- package/TabLayout/TabLayout.js +661 -0
- package/TabLayout/TabLayout.module.css +101 -0
- package/TabLayout/package.json +3 -0
- package/TabLayout/tests/TabGroup-specs.js +214 -0
- package/TabLayout/tests/TabLayout-specs.js +740 -0
- package/ThemeDecorator/AccessibilityDecorator.js +151 -0
- package/ThemeDecorator/I18nFontDecorator.js +33 -0
- package/ThemeDecorator/ThemeDecorator.d.ts +143 -0
- package/ThemeDecorator/ThemeDecorator.js +307 -0
- package/ThemeDecorator/ThemeDecorator.module.css +1250 -0
- package/ThemeDecorator/fontGenerator.js +76 -0
- package/ThemeDecorator/package.json +3 -0
- package/ThemeDecorator/screenTypes.json +10 -0
- package/ThemeDecorator/tests/ThemeDecorator-specs.js +151 -0
- package/TimePicker/TimePicker.d.ts +147 -0
- package/TimePicker/TimePicker.js +255 -0
- package/TimePicker/TimePicker.module.css +61 -0
- package/TimePicker/TimePickerBase.js +396 -0
- package/TimePicker/package.json +3 -0
- package/TimePicker/tests/TimePicker-specs.js +248 -0
- package/TooltipDecorator/Tooltip.js +252 -0
- package/TooltipDecorator/Tooltip.module.css +496 -0
- package/TooltipDecorator/TooltipDecorator.d.ts +229 -0
- package/TooltipDecorator/TooltipDecorator.js +260 -0
- package/TooltipDecorator/TooltipLabel.js +117 -0
- package/TooltipDecorator/package.json +3 -0
- package/TooltipDecorator/tests/TooltipDecorator-specs.js +224 -0
- package/TooltipDecorator/tests/useTooltip-specs.js +266 -0
- package/TooltipDecorator/useTooltip.js +278 -0
- package/TooltipDecorator/util.js +273 -0
- package/VideoPlayer/Feedback.js +110 -0
- package/VideoPlayer/Feedback.module.css +55 -0
- package/VideoPlayer/FeedbackContent.js +99 -0
- package/VideoPlayer/FeedbackIcon.js +67 -0
- package/VideoPlayer/FeedbackIcons.js +76 -0
- package/VideoPlayer/FeedbackTooltip.js +242 -0
- package/VideoPlayer/FeedbackTooltip.module.css +160 -0
- package/VideoPlayer/MediaTitle.js +143 -0
- package/VideoPlayer/MediaTitle.module.css +95 -0
- package/VideoPlayer/Overlay.js +51 -0
- package/VideoPlayer/Video.js +345 -0
- package/VideoPlayer/VideoPlayer.d.ts +582 -0
- package/VideoPlayer/VideoPlayer.js +2116 -0
- package/VideoPlayer/VideoPlayer.module.css +164 -0
- package/VideoPlayer/package.json +3 -0
- package/VideoPlayer/tests/Video-specs.js +235 -0
- package/VideoPlayer/tests/VideoPlayer-specs.js +180 -0
- package/VirtualList/VirtualList.d.ts +411 -0
- package/VirtualList/VirtualList.js +931 -0
- package/VirtualList/VirtualList.module.css +52 -0
- package/VirtualList/package.json +3 -0
- package/VirtualList/tests/VirtualGridList-specs.js +289 -0
- package/VirtualList/tests/VirtualGridList-translate-specs.js +711 -0
- package/VirtualList/tests/VirtualList-specs.js +288 -0
- package/VirtualList/tests/VirtualList-translate-specs.js +704 -0
- package/VirtualList/tests/useEvent-specs.js +172 -0
- package/VirtualList/tests/useEvent-translate-specs.js +309 -0
- package/VirtualList/useEvent.js +324 -0
- package/VirtualList/usePreventScroll.js +31 -0
- package/VirtualList/useSpotlight.js +157 -0
- package/VirtualList/useThemeVirtualList.js +471 -0
- package/VirtualList/useThemeVirtualList.module.css +34 -0
- package/WizardPanels/Panel.js +99 -0
- package/WizardPanels/WizardPanels.js +501 -0
- package/WizardPanels/WizardPanels.module.css +15 -0
- package/WizardPanels/index.d.ts +182 -0
- package/WizardPanels/index.js +50 -0
- package/WizardPanels/package.json +3 -0
- package/WizardPanels/tests/WizardPanels-specs.js +713 -0
- package/codecov.yml +13 -0
- package/fonts/Limestone_Icons.ttf +0 -0
- package/fonts/Miso/LICENSE.txt +75 -0
- package/fonts/Miso/Miso-Bold.ttf +0 -0
- package/fonts/Miso/Miso-Light.ttf +0 -0
- package/fonts/Miso/Miso-Regular.ttf +0 -0
- package/fonts/MuseoSans/LICENSE.txt +75 -0
- package/fonts/MuseoSans/MuseoSans-Black.ttf +0 -0
- package/fonts/MuseoSans/MuseoSans-BlackItalic.ttf +0 -0
- package/fonts/MuseoSans/MuseoSans-Bold.ttf +0 -0
- package/fonts/MuseoSans/MuseoSans-BoldItalic.ttf +0 -0
- package/fonts/MuseoSans/MuseoSans-Light.ttf +0 -0
- package/fonts/MuseoSans/MuseoSans-Medium.ttf +0 -0
- package/fonts/MuseoSans/MuseoSans-MediumItalic.ttf +0 -0
- package/fonts/MuseoSans/MuseoSans-Thin.ttf +0 -0
- package/index.js +2 -0
- package/internal/$L/$L.d.ts +21 -0
- package/internal/$L/$L.js +97 -0
- package/internal/$L/package.json +3 -0
- package/internal/AsyncRenderChildren/AsyncRenderChildren.js +74 -0
- package/internal/AsyncRenderChildren/package.json +3 -0
- package/internal/AsyncRenderChildren/tests/AsyncRenderChildren-specs.js +49 -0
- package/internal/DateComponentPicker/DateComponentPicker.js +165 -0
- package/internal/DateComponentPicker/DateComponentPicker.module.css +53 -0
- package/internal/DateComponentPicker/DateComponentRangePicker.js +132 -0
- package/internal/DateComponentPicker/index.js +31 -0
- package/internal/DateComponentPicker/package.json +3 -0
- package/internal/DateTime/DateTime.js +83 -0
- package/internal/DateTime/DateTime.module.css +51 -0
- package/internal/DateTime/DateTimeDecorator.js +268 -0
- package/internal/DateTime/index.js +37 -0
- package/internal/DateTime/package.json +3 -0
- package/internal/DateTime/tests/DateTimeDecorator-specs.js +33 -0
- package/internal/DebounceDecorator/DebounceDecorator.js +125 -0
- package/internal/DebounceDecorator/package.json +3 -0
- package/internal/DebounceDecorator/tests/DebounceDecorator-specs.js +151 -0
- package/internal/Panels/Arrangers.js +248 -0
- package/internal/Panels/CancelDecorator.js +43 -0
- package/internal/Panels/FloatingLayerIdProvider.js +27 -0
- package/internal/Panels/NavigationButton.js +64 -0
- package/internal/Panels/NavigationButton.module.css +69 -0
- package/internal/Panels/PanelsRouter.js +223 -0
- package/internal/Panels/PopupDecorator.js +287 -0
- package/internal/Panels/TransitionDecorator.js +99 -0
- package/internal/Panels/Viewport.js +313 -0
- package/internal/Panels/Viewport.module.css +25 -0
- package/internal/Panels/captureKeys.js +48 -0
- package/internal/Panels/index.js +101 -0
- package/internal/Panels/package.json +3 -0
- package/internal/Panels/useAutoFocus.js +95 -0
- package/internal/Panels/useFocusOnTransition.js +45 -0
- package/internal/Panels/useToggleRole.js +30 -0
- package/internal/Panels/util.js +64 -0
- package/internal/Picker/Picker.js +942 -0
- package/internal/Picker/Picker.module.css +1145 -0
- package/internal/Picker/PickerButton.js +97 -0
- package/internal/Picker/PickerItem.js +38 -0
- package/internal/Picker/SpottablePicker.js +63 -0
- package/internal/Picker/package.json +3 -0
- package/internal/Picker/tests/Picker-specs.js +968 -0
- package/internal/SharedStateDecorator/SharedStateDecorator.js +167 -0
- package/internal/SharedStateDecorator/package.json +3 -0
- package/internal/SharedStateDecorator/tests/SharedStateDecorator-specs.js +277 -0
- package/internal/WindowEventable/WindowEventable.js +114 -0
- package/internal/WindowEventable/package.json +3 -0
- package/internal/util/package.json +3 -0
- package/internal/util/util.js +79 -0
- package/internal/validators/package.json +4 -0
- package/internal/validators/tests/validators-specs.js +80 -0
- package/internal/validators/validators.js +136 -0
- package/package.json +69 -0
- package/resources/ilibmanifest.json +3 -0
- package/styles/color-mixins.less +230 -0
- package/styles/colors-game-green.less +25 -0
- package/styles/colors-game-orange.less +25 -0
- package/styles/colors-game.less +56 -0
- package/styles/colors-highcontrast.less +21 -0
- package/styles/colors.less +435 -0
- package/styles/mixins.less +337 -0
- package/styles/skin.less +54 -0
- package/styles/variables-base.less +32 -0
- package/styles/variables-game.less +25 -0
- package/styles/variables.less +1182 -0
- package/useScroll/HoverToScroll.js +265 -0
- package/useScroll/HoverToScroll.module.css +38 -0
- package/useScroll/OverscrollEffect.module.css +14 -0
- package/useScroll/Scrollbar.js +171 -0
- package/useScroll/Scrollbar.module.css +19 -0
- package/useScroll/ScrollbarPlaceholder.js +64 -0
- package/useScroll/ScrollbarTrack.js +209 -0
- package/useScroll/ScrollbarTrack.module.css +136 -0
- package/useScroll/package.json +3 -0
- package/useScroll/useEvent.js +693 -0
- package/useScroll/useOverscrollEffect.js +105 -0
- package/useScroll/useScroll.js +523 -0
- package/useScroll/useScroll.module.css +49 -0
- package/useScroll/useSpotlight.js +32 -0
- package/useScroll/useThemeScrollContentHandle.js +32 -0
|
@@ -0,0 +1,1182 @@
|
|
|
1
|
+
// Variables
|
|
2
|
+
//
|
|
3
|
+
@import "~@enact/ui/styles/variables.less";
|
|
4
|
+
|
|
5
|
+
//
|
|
6
|
+
// GUI Guide definition library
|
|
7
|
+
//
|
|
8
|
+
// These values come directly from the design guide file. Any changes to that file should be set
|
|
9
|
+
// here first, with measurement adjustments to be preformed on the component value definition lines
|
|
10
|
+
// below.
|
|
11
|
+
//
|
|
12
|
+
// Usage:
|
|
13
|
+
// * These values should be the most basic literal values. Do not use math in this library;
|
|
14
|
+
// those belong in the component definitions.
|
|
15
|
+
// * Always use the full 4-value format for margin and padding defined here for predictability.
|
|
16
|
+
// * Keep the mixins and their rules alphabetized.
|
|
17
|
+
// * Spacing for readability is OK.
|
|
18
|
+
// * Each mixin represents a top-level component.
|
|
19
|
+
//
|
|
20
|
+
#guide() {
|
|
21
|
+
// Common sizes
|
|
22
|
+
// 60px - tiny
|
|
23
|
+
// 78px - small
|
|
24
|
+
// 90px - medium
|
|
25
|
+
// 108px - large
|
|
26
|
+
// 150px - huge
|
|
27
|
+
|
|
28
|
+
// Standard Mixins
|
|
29
|
+
|
|
30
|
+
// .get-edge-size-difference
|
|
31
|
+
//
|
|
32
|
+
// Given the GUI guide line-height and the Enact framework line-height, calculate the difference
|
|
33
|
+
.get-size-difference(@guide-size, @font-size, @line-height) when ((isem(@line-height)) or (ispercentage(@line-height))) {
|
|
34
|
+
@result: #guide.get-size-difference(@guide-size, (@font-size * @line-height))[@result];
|
|
35
|
+
}
|
|
36
|
+
.get-size-difference(@guide-size, @size) {
|
|
37
|
+
@result: (@size - @guide-size);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// .get-edge-size-difference
|
|
41
|
+
//
|
|
42
|
+
// Given the GUI guide line-height and the Enact framework line-height, calculate the difference
|
|
43
|
+
// in one of the edges.
|
|
44
|
+
// Results returned in `@results`
|
|
45
|
+
.get-edge-size-difference(@guide-size, @font-size, @line-height) when ((isem(@line-height)) or (ispercentage(@line-height))) { // Repeating `when` clause here for slightly more descriptive error messages
|
|
46
|
+
@result: (#guide.get-size-difference(@guide-size, @font-size, @line-height)[@result] / 2);
|
|
47
|
+
}
|
|
48
|
+
.get-edge-size-difference(@guide-size, @size) {
|
|
49
|
+
@result: (#guide.get-size-difference(@guide-size, @size)[@result] / 2);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
// Component Definition Mixins
|
|
54
|
+
.header() {
|
|
55
|
+
compact-padding: 60px 60px 0 60px;
|
|
56
|
+
compact-title-font-size: 90px;
|
|
57
|
+
compact-title-line-height: 120px;
|
|
58
|
+
compact-subtitle-font-size: 54px;
|
|
59
|
+
compact-subtitle-line-height: 72px;
|
|
60
|
+
compact-subtitle-height: 84px;
|
|
61
|
+
|
|
62
|
+
mini-margin: 0 0 36px 0;
|
|
63
|
+
mini-padding: 60px 60px 45px 60px;
|
|
64
|
+
mini-title-font-size: 90px;
|
|
65
|
+
mini-title-line-height: 80px;
|
|
66
|
+
|
|
67
|
+
standard-padding: 96px 132px 6px 132px;
|
|
68
|
+
standard-title-font-size: 108px;
|
|
69
|
+
standard-title-line-height: 144px;
|
|
70
|
+
standard-titles-gap: 18px;
|
|
71
|
+
standard-subtitle-font-size: 54px;
|
|
72
|
+
standard-subtitle-line-height: 72px;
|
|
73
|
+
|
|
74
|
+
wizard-padding: 156px 132px 6px 132px;
|
|
75
|
+
wizard-title-font-size: 108px;
|
|
76
|
+
wizard-title-line-height: 144px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.panel() {
|
|
80
|
+
body-padding: 0 132px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// App
|
|
85
|
+
// ---------------------------------------
|
|
86
|
+
@lime-app-keepout: 48px;
|
|
87
|
+
|
|
88
|
+
// Generic/Common/Shared
|
|
89
|
+
// ---------------------------------------
|
|
90
|
+
@lime-component-spacing: 36px;
|
|
91
|
+
@lime-component-spacing-bottom: 30px;
|
|
92
|
+
@lime-overlay-outline-width: 0.021rem; // 1px
|
|
93
|
+
@lime-smallest-tappable-size: 168px;
|
|
94
|
+
@lime-translate-center: translate(-50%, -50%);
|
|
95
|
+
|
|
96
|
+
// Locale
|
|
97
|
+
// ---------------------------------------
|
|
98
|
+
// Cambodian(km), Sinhala(si), Thai(th), Vietnamse(vi)
|
|
99
|
+
@locale-tallglyph-languages: km, si, th, vi;
|
|
100
|
+
|
|
101
|
+
// Spotlight
|
|
102
|
+
// ---------------------------------------
|
|
103
|
+
@lime-spotlight-font-weight: var(--primitive-font-weight-semibold);
|
|
104
|
+
@lime-spotlight-outset: 48px;
|
|
105
|
+
@lime-spotlight-focus-animation-duration: 200ms;
|
|
106
|
+
@lime-spotlight-focus-shadow-height: 36px;
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
// ---------------------------------------
|
|
110
|
+
// Font Rules
|
|
111
|
+
// ---------------------------------------
|
|
112
|
+
|
|
113
|
+
// Font Sizes
|
|
114
|
+
// ---------------------------------------
|
|
115
|
+
@lime-actionguide-label-font-size: var(--primitive-font-size-48);
|
|
116
|
+
@lime-actionguide-label-font-weight: var(--primitive-font-weight-regular);
|
|
117
|
+
@lime-alert-overlay-font-size: var(--primitive-font-size-60);
|
|
118
|
+
@lime-alert-subtitle-font-size: @lime-heading-subtitle-font-size;
|
|
119
|
+
@lime-alert-title-font-size: var(--primitive-font-size-108);
|
|
120
|
+
@lime-base-font-size: var(--primitive-font-size-60);
|
|
121
|
+
@lime-body-font-size: @lime-base-font-size;
|
|
122
|
+
@lime-body-small-font-size: var(--primitive-font-size-54);
|
|
123
|
+
@lime-button-font-size-large: var(--primitive-font-size-96);
|
|
124
|
+
@lime-button-font-size: var(--primitive-font-size-60);
|
|
125
|
+
@lime-button-small-font-size-large: var(--primitive-font-size-72);
|
|
126
|
+
@lime-button-small-font-size: var(--primitive-font-size-54);
|
|
127
|
+
@lime-card-caption-font-size: var(--primitive-font-size-60);
|
|
128
|
+
@lime-card-label-font-size: var(--primitive-font-size-48);
|
|
129
|
+
@lime-header-compact-title-font-size: #guide.header[compact-title-font-size];
|
|
130
|
+
@lime-header-mini-title-font-size: #guide.header[mini-title-font-size];
|
|
131
|
+
@lime-header-wizard-title-font-size: #guide.header[wizard-title-font-size];
|
|
132
|
+
@lime-heading-large-font-size: 72px;
|
|
133
|
+
@lime-heading-medium-font-size: 66px;
|
|
134
|
+
@lime-heading-small-font-size: 54px;
|
|
135
|
+
@lime-heading-tiny-font-size: 48px;
|
|
136
|
+
@lime-heading-subtitle-font-size: #guide.header[standard-subtitle-font-size];
|
|
137
|
+
@lime-heading-title-font-size: #guide.header[standard-title-font-size];
|
|
138
|
+
@lime-iconitem-label-font-size: var(--primitive-font-size-42);
|
|
139
|
+
@lime-iconitem-title-font-size: var(--primitive-font-size-48);
|
|
140
|
+
@lime-imageitem-caption-font-size: var(--primitive-font-size-60);
|
|
141
|
+
@lime-imageitem-label-font-size: var(--primitive-font-size-48);
|
|
142
|
+
@lime-input-font-size: var(--primitive-font-size-78);
|
|
143
|
+
@lime-input-keypad-key-font-size: var(--primitive-font-size-90);
|
|
144
|
+
@lime-input-fullscreen-title-font-size: var(--primitive-font-size-108);
|
|
145
|
+
@lime-input-fullscreen-numbercell-font-size: 126px;
|
|
146
|
+
@lime-input-fullscreen-numbercell-password-font-size: var(--primitive-font-size-48);
|
|
147
|
+
@lime-input-fullscreen-numberfield-font-size: @lime-input-font-size;
|
|
148
|
+
@lime-input-overlay-title-font-size: var(--primitive-font-size-90);
|
|
149
|
+
@lime-input-overlay-numbercell-font-size: var(--primitive-font-size-108);
|
|
150
|
+
@lime-input-overlay-numbercell-password-font-size: var(--primitive-font-size-40);
|
|
151
|
+
@lime-input-overlay-numberfield-font-size: @lime-input-font-size;
|
|
152
|
+
@lime-input-invalid-tooltip-font-size: @lime-inputfield-invalid-tooltip-font-size;
|
|
153
|
+
@lime-inputfield-invalid-tooltip-font-size: var(--primitive-font-size-48);
|
|
154
|
+
@lime-inputfield-small-font-size: var(--primitive-font-size-60);
|
|
155
|
+
@lime-item-font-size: var(--primitive-font-size-60);
|
|
156
|
+
@lime-item-font-size-large: var(--primitive-font-size-72);
|
|
157
|
+
@lime-item-label-font-size: var(--primitive-font-size-48);
|
|
158
|
+
@lime-item-label-font-size-large: var(--primitive-font-size-54);
|
|
159
|
+
@lime-item-small-font-size: var(--primitive-font-size-60);
|
|
160
|
+
@lime-item-small-font-size-large: var(--primitive-font-size-72);
|
|
161
|
+
@lime-item-small-label-font-size: var(--primitive-font-size-48);
|
|
162
|
+
@lime-keyguide-font-size: var(--primitive-font-size-60);
|
|
163
|
+
@lime-mediaoverlay-caption-font-size: var(--primitive-font-size-60);
|
|
164
|
+
@lime-mediaoverlay-text-font-size: var(--primitive-font-size-48);
|
|
165
|
+
@lime-mediaoverlay-subtitle-font-size: var(--primitive-font-size-48);
|
|
166
|
+
@lime-mediaplayer-times-text-size: var(--primitive-font-size-48);
|
|
167
|
+
@lime-picker-font-size: var(--primitive-font-size-54);
|
|
168
|
+
@lime-picker-joined-font-size: var(--primitive-font-size-66);
|
|
169
|
+
@lime-radioitem-icon-font-size: var(--primitive-font-size-48);
|
|
170
|
+
@lime-steps-step-number-font-size: var(--primitive-font-size-48);
|
|
171
|
+
@lime-switch-icon-font-size: 84px;
|
|
172
|
+
@lime-switch-icon-font-size-large: 138px;
|
|
173
|
+
@lime-tablayout-tab-small-font-size: var(--primitive-font-size-48);
|
|
174
|
+
@lime-tablayout-tab-font-size: var(--primitive-font-size-60);
|
|
175
|
+
@lime-tooltip-label-font-size: 54px;
|
|
176
|
+
@lime-tallglyph-alert-title-font-size: @lime-alert-title-font-size;
|
|
177
|
+
@lime-non-latin-body-font-size: 54px;
|
|
178
|
+
@lime-non-latin-body-small-font-size: 48px;
|
|
179
|
+
@lime-tallglyph-body-small-font-size: 48px;
|
|
180
|
+
@lime-non-latin-button-large-font-size: var(--primitive-font-size-54);
|
|
181
|
+
@lime-non-latin-button-small-font-size: var(--primitive-font-size-48);
|
|
182
|
+
@lime-non-latin-header-compact-title-font-size: @lime-header-compact-title-font-size;
|
|
183
|
+
@lime-non-latin-header-mini-title-font-size: @lime-header-mini-title-font-size;
|
|
184
|
+
@lime-non-latin-header-wizard-title-font-size: @lime-header-wizard-title-font-size;
|
|
185
|
+
@lime-tallglyph-heading-subtitle-font-size: (@lime-heading-subtitle-font-size - 6px);
|
|
186
|
+
@lime-tallglyph-heading-title-font-size: 114px;
|
|
187
|
+
@lime-tallglyph-imageitem-caption-font-size: 54px;
|
|
188
|
+
@lime-tallglyph-imageitem-label-font-size: 36px;
|
|
189
|
+
@lime-non-latin-input-fullscreen-title-font-size: @lime-input-fullscreen-title-font-size;
|
|
190
|
+
@lime-non-latin-input-overlay-title-font-size: @lime-input-overlay-title-font-size;
|
|
191
|
+
|
|
192
|
+
// Other Font Properties
|
|
193
|
+
// ---------------------------------------
|
|
194
|
+
@lime-font-family: "Limestone"; // Formerly weight: 700
|
|
195
|
+
@lime-font-family-bold: "Limestone"; // Formerly weight: 900
|
|
196
|
+
@lime-alt-font-family: "Limestone";
|
|
197
|
+
@lime-number-font-family: "Limestone Number";
|
|
198
|
+
@lime-non-latin-font-family: "Limestone";
|
|
199
|
+
@lime-non-latin-font-family-light: "Limestone"; // Formerly weight: Light
|
|
200
|
+
@lime-non-latin-font-family-bold: "Limestone"; // Formerly weight: Bold
|
|
201
|
+
@lime-non-latin-font-weight: var(--primitive-font-weight-regular);
|
|
202
|
+
@lime-non-latin-font-weight-light: var(--primitive-font-weight-light);
|
|
203
|
+
@lime-non-latin-font-weight-bold: var(--primitive-font-weight-bold);
|
|
204
|
+
@lime-spottable-font-weight: var(--primitive-font-weight-semibold);
|
|
205
|
+
@lime-common-line-height: 1.4em;
|
|
206
|
+
@lime-tallglyph-line-height: 1.5em;
|
|
207
|
+
|
|
208
|
+
// Alert
|
|
209
|
+
@lime-alert-font-family: @lime-font-family;
|
|
210
|
+
@lime-alert-font-weight: var(--primitive-font-weight-semibold);
|
|
211
|
+
@lime-alert-line-height: 84px;
|
|
212
|
+
|
|
213
|
+
// Body
|
|
214
|
+
@lime-body-font-family: @lime-font-family;
|
|
215
|
+
@lime-body-font-style: normal;
|
|
216
|
+
@lime-body-font-weight: var(--primitive-font-weight-regular);
|
|
217
|
+
@lime-body-line-height: @lime-common-line-height;
|
|
218
|
+
@lime-body-small-line-height: 1.3em;
|
|
219
|
+
@lime-non-latin-body-font-weight: @lime-non-latin-font-weight-light;
|
|
220
|
+
@lime-non-latin-body-font-style: @lime-body-font-style;
|
|
221
|
+
@lime-tallglyph-body-line-height: 1.7em;
|
|
222
|
+
@lime-non-latin-body-line-height: 66px;
|
|
223
|
+
|
|
224
|
+
// Button
|
|
225
|
+
@lime-button-font-family: @lime-alt-font-family;
|
|
226
|
+
@lime-button-font-style: normal;
|
|
227
|
+
@lime-button-font-weight: @lime-spottable-font-weight;
|
|
228
|
+
@lime-button-small-font-family: @lime-button-font-family;
|
|
229
|
+
@lime-button-small-font-style: @lime-button-font-style;
|
|
230
|
+
@lime-button-small-font-weight: @lime-button-font-weight;
|
|
231
|
+
@lime-non-latin-button-font-family: @lime-non-latin-font-family-bold;
|
|
232
|
+
@lime-non-latin-button-font-style: @lime-button-font-style;
|
|
233
|
+
@lime-non-latin-button-font-weight: @lime-non-latin-font-weight-bold;
|
|
234
|
+
@lime-non-latin-button-small-font-style: @lime-button-small-font-style;
|
|
235
|
+
@lime-non-latin-button-small-font-weight: @lime-non-latin-font-weight-bold;
|
|
236
|
+
|
|
237
|
+
// Card
|
|
238
|
+
@lime-card-caption-font-weight: var(--primitive-font-weight-semibold);
|
|
239
|
+
@lime-card-label-font-weight: var(--primitive-font-weight-regular);
|
|
240
|
+
|
|
241
|
+
// Heading
|
|
242
|
+
@lime-heading-line-height: 1.25em;
|
|
243
|
+
@lime-heading-font-style: normal;
|
|
244
|
+
@lime-heading-title-font-family: @lime-alt-font-family;
|
|
245
|
+
@lime-heading-title-font-weight: var(--primitive-font-weight-semibold);
|
|
246
|
+
@lime-heading-title-line-height: 1.3em;
|
|
247
|
+
@lime-heading-subtitle-font-family: @lime-font-family;
|
|
248
|
+
@lime-heading-subtitle-font-weight: var(--primitive-font-weight-regular);
|
|
249
|
+
@lime-heading-subtitle-line-height: @lime-heading-title-line-height;
|
|
250
|
+
@lime-heading-large-font-family: @lime-font-family;
|
|
251
|
+
@lime-heading-large-font-weight: @lime-spottable-font-weight;
|
|
252
|
+
@lime-heading-medium-font-family: @lime-heading-large-font-family;
|
|
253
|
+
@lime-heading-medium-font-weight: @lime-heading-large-font-weight;
|
|
254
|
+
@lime-heading-small-font-family: @lime-heading-large-font-family;
|
|
255
|
+
@lime-heading-small-font-weight: @lime-heading-large-font-weight;
|
|
256
|
+
@lime-heading-tiny-font-family: @lime-heading-large-font-family;
|
|
257
|
+
@lime-heading-tiny-font-weight: @lime-heading-large-font-weight;
|
|
258
|
+
@lime-heading-letter-spacing: 0;
|
|
259
|
+
@lime-non-latin-heading-font-family: @lime-non-latin-font-family-bold;
|
|
260
|
+
@lime-tallglyph-heading-line-height: @lime-tallglyph-heading-title-line-height;
|
|
261
|
+
@lime-tallglyph-heading-subtitle-line-height: @lime-tallglyph-heading-title-line-height;
|
|
262
|
+
@lime-tallglyph-heading-title-line-height: 1.5em;
|
|
263
|
+
|
|
264
|
+
// Icon
|
|
265
|
+
@lime-icon-font-family: "Limestone Icons";
|
|
266
|
+
@lime-icon-other-font-family: "LG Icons";
|
|
267
|
+
|
|
268
|
+
// IconItem
|
|
269
|
+
@lime-iconitem-label-font-weight: var(--primitive-font-weight-semibold);
|
|
270
|
+
@lime-iconitem-title-font-weight: var(--primitive-font-weight-semibold);
|
|
271
|
+
|
|
272
|
+
// ImageItem
|
|
273
|
+
@lime-imageitem-font-weight: @lime-spottable-font-weight;
|
|
274
|
+
@lime-imageitem-label-font-weight: var(--primitive-font-weight-regular);
|
|
275
|
+
|
|
276
|
+
// Input
|
|
277
|
+
@lime-input-invalid-tooltip-font-weight: @lime-inputfield-invalid-tooltip-font-weight;
|
|
278
|
+
|
|
279
|
+
// InputField
|
|
280
|
+
@lime-inputfield-font-weight: @lime-spottable-font-weight;
|
|
281
|
+
@lime-inputfield-invalid-tooltip-font-weight: var(--primitive-font-weight-semibold);
|
|
282
|
+
|
|
283
|
+
// InputNumber
|
|
284
|
+
@lime-input-number-font-family: @lime-body-font-family;
|
|
285
|
+
|
|
286
|
+
// Item
|
|
287
|
+
@lime-item-font-weight: @lime-spottable-font-weight;
|
|
288
|
+
@lime-item-label-font-weight: var(--primitive-font-weight-regular);
|
|
289
|
+
@lime-item-line-height: @lime-common-line-height;
|
|
290
|
+
@lime-item-line-height-large: @lime-item-line-height;
|
|
291
|
+
@lime-item-label-line-height: 1.25em;
|
|
292
|
+
@lime-item-small-font-weight: @lime-item-font-weight;
|
|
293
|
+
@lime-item-small-label-font-weight: @lime-item-label-font-weight;
|
|
294
|
+
@lime-item-small-line-height: @lime-common-line-height;
|
|
295
|
+
@lime-item-small-line-height-large: @lime-item-small-line-height;
|
|
296
|
+
@lime-item-small-label-line-height: @lime-item-small-line-height;
|
|
297
|
+
@lime-tallglyph-item-line-height: @lime-tallglyph-line-height;
|
|
298
|
+
@lime-tallglyph-item-line-height-large: @lime-tallglyph-item-line-height;
|
|
299
|
+
@lime-tallglyph-item-label-line-height: @lime-tallglyph-item-line-height;
|
|
300
|
+
@lime-tallglyph-item-small-line-height: @lime-tallglyph-line-height;
|
|
301
|
+
@lime-tallglyph-item-small-line-height-large: @lime-tallglyph-item-small-line-height;
|
|
302
|
+
@lime-tallglyph-item-small-label-line-height: @lime-tallglyph-item-small-line-height;
|
|
303
|
+
|
|
304
|
+
// Picker
|
|
305
|
+
@lime-tallglyph-picker-line-height: @lime-tallglyph-body-line-height;
|
|
306
|
+
@lime-picker-font-weight: var(--primitive-font-weight-semibold);
|
|
307
|
+
|
|
308
|
+
// ---------------------------------------
|
|
309
|
+
// Component Rules
|
|
310
|
+
// ---------------------------------------
|
|
311
|
+
|
|
312
|
+
// ActionGuide
|
|
313
|
+
// ---------------------------------------
|
|
314
|
+
@lime-actionguide-max-width: 1500px;
|
|
315
|
+
@lime-actionguide-label-height: 60px;
|
|
316
|
+
@lime-actionguide-icon-height: 84px;
|
|
317
|
+
@lime-actionguide-icon-margin: 0 0 -12px 0;
|
|
318
|
+
@lime-actionguide-padding: var(--primitive-spacing-12) 0 var(--primitive-spacing-36) 0;
|
|
319
|
+
|
|
320
|
+
// Alert
|
|
321
|
+
// ---------------------------------------
|
|
322
|
+
@lime-alert-buttons-margin-top: var(--primitive-spacing-96);
|
|
323
|
+
@lime-alert-fullscreen-content-margin: var(--primitive-spacing-36) 0 0 0;
|
|
324
|
+
@lime-alert-fullscreen-image-spacing: var(--primitive-spacing-60);
|
|
325
|
+
@lime-alert-fullscreen-max-width: 2400px;
|
|
326
|
+
@lime-portrait-alert-fullscreen-max-width: 1896px;
|
|
327
|
+
@lime-alert-overlay-buttons-margin-top: var(--primitive-spacing-36);
|
|
328
|
+
@lime-alert-overlay-max-height: 2028px;
|
|
329
|
+
@lime-alert-overlay-image-margin-bottom: var(--primitive-spacing-36);
|
|
330
|
+
@lime-alert-overlay-padding: var(--primitive-spacing-84) 0;
|
|
331
|
+
@lime-alert-overlay-body-padding: 0 var(--primitive-spacing-84);
|
|
332
|
+
@lime-alert-overlay-image-padding: 0 var(--primitive-spacing-84);
|
|
333
|
+
@lime-alert-overlay-width: 1128px;
|
|
334
|
+
|
|
335
|
+
// AlertImage
|
|
336
|
+
// ---------------------------------------
|
|
337
|
+
@lime-alert-image-thumbnail-width: 960px;
|
|
338
|
+
@lime-alert-image-thumbnail-height: 540px;
|
|
339
|
+
@lime-alert-image-icon-large-size: 252px;
|
|
340
|
+
@lime-alert-image-icon-small-size: 180px;
|
|
341
|
+
|
|
342
|
+
// BodyText
|
|
343
|
+
// ---------------------------------------
|
|
344
|
+
@lime-bodytext-margin: 0 @lime-component-spacing @lime-body-font-size @lime-component-spacing;
|
|
345
|
+
@lime-bodytext-padding: 0;
|
|
346
|
+
|
|
347
|
+
// Button
|
|
348
|
+
// ---------------------------------------
|
|
349
|
+
@lime-button-border-width: 6px;
|
|
350
|
+
@lime-button-bg-opacity: 1;
|
|
351
|
+
@lime-button-transparent-bg-opacity: 0;
|
|
352
|
+
@lime-button-transparent-selected-bg-opacity: 1;
|
|
353
|
+
@lime-button-transparent-disabled-selected-bg-opacity: 0.3;
|
|
354
|
+
@lime-button-margin: 36px;
|
|
355
|
+
@lime-button-focusexpand-margin: 9px .extract(@lime-button-margin, right)[]; // 9px provides enough space for the expanded focus state
|
|
356
|
+
@lime-button-h-padding: 60px;
|
|
357
|
+
@lime-button-height-large: 192px;
|
|
358
|
+
@lime-button-height: 132px;
|
|
359
|
+
@lime-button-icon-h-margin: 24px;
|
|
360
|
+
@lime-button-icon-margin-end: @lime-button-icon-h-margin;
|
|
361
|
+
@lime-button-icon-margin-start: 0;
|
|
362
|
+
@lime-button-icon-padding: 0 ((@lime-button-height - @lime-icon-large-size) / 2);
|
|
363
|
+
@lime-button-icon-position-after-margin-end: @lime-button-icon-margin-start;
|
|
364
|
+
@lime-button-icon-position-after-margin-start: @lime-button-icon-margin-end;
|
|
365
|
+
@lime-button-icon-position-after-small-margin-end: 0;
|
|
366
|
+
@lime-button-icon-position-after-small-margin-start: @lime-button-icon-small-margin-end;
|
|
367
|
+
@lime-button-icon-small-h-margin: @lime-button-icon-h-margin;
|
|
368
|
+
@lime-button-icon-small-margin-end: @lime-button-icon-small-h-margin;
|
|
369
|
+
@lime-button-icon-small-margin-start: 0;
|
|
370
|
+
@lime-button-icon-small-padding: 0 ((@lime-button-small-height - @lime-icon-small-size) / 2);
|
|
371
|
+
@lime-button-max-width: 1200px;
|
|
372
|
+
@lime-button-min-width: 300px;
|
|
373
|
+
@lime-button-min-width-default: 840px;
|
|
374
|
+
@lime-button-focusexpand-focus-bg-transform: scale(1.1);
|
|
375
|
+
@lime-button-focusexpand-pressed-bg-transform: scale(1.02);
|
|
376
|
+
@lime-button-focus-duration: @lime-spotlight-focus-animation-duration;
|
|
377
|
+
@lime-button-small-margin: var(--primitive-spacing-24);
|
|
378
|
+
@lime-button-small-focusexpand-margin: @lime-button-focusexpand-margin;
|
|
379
|
+
@lime-button-small-h-padding: 60px;
|
|
380
|
+
@lime-button-small-height-large: 144px;
|
|
381
|
+
@lime-button-small-height: 108px;
|
|
382
|
+
@lime-button-small-max-width: 1020px;
|
|
383
|
+
@lime-button-small-min-width: 264px;
|
|
384
|
+
@lime-button-small-min-width-default: 720px;
|
|
385
|
+
@lime-button-small-focusexpand-focus-bg-transform: scale(1.1);
|
|
386
|
+
@lime-button-small-focusexpand-pressed-bg-transform: scale(1.04);
|
|
387
|
+
@lime-button-colordot-bottom: var(--primitive-spacing-12);
|
|
388
|
+
@lime-button-colordot-border-radius: var(--semantic-radius-full);
|
|
389
|
+
@lime-button-colordot-width: 60px;
|
|
390
|
+
@lime-button-colordot-h-margin: 84px;
|
|
391
|
+
@lime-button-colordot-height: 12px;
|
|
392
|
+
@lime-button-colordot-h-padding: var(--primitive-spacing-24);
|
|
393
|
+
@lime-button-colordot-padding-start: 36px;
|
|
394
|
+
@lime-button-small-colordot-bottom: var(--primitive-spacing-12);
|
|
395
|
+
@lime-button-small-colordot-width: 51px;
|
|
396
|
+
@lime-button-small-colordot-h-margin: 72px;
|
|
397
|
+
@lime-button-small-colordot-height: 9px;
|
|
398
|
+
@lime-button-small-colordot-padding-start: 30px;
|
|
399
|
+
@lime-button-icon-only-colordot-width: 66px;
|
|
400
|
+
@lime-button-icon-only-colordot-height: 9px;
|
|
401
|
+
@lime-button-collapse-duration: 300ms;
|
|
402
|
+
@lime-button-collapsable-icon-margin: 0 var(--primitive-spacing-24);
|
|
403
|
+
|
|
404
|
+
// Card
|
|
405
|
+
// ---------------------------------------
|
|
406
|
+
@lime-card-margin: @lime-item-margin;
|
|
407
|
+
@lime-card-border-radius: 36px;
|
|
408
|
+
@lime-card-image-border-width: 6px;
|
|
409
|
+
@lime-card-resting-border-width: 3px;
|
|
410
|
+
@lime-card-selection-icon-size: 90px;
|
|
411
|
+
@lime-card-selection-icon-border-radius: 50%;
|
|
412
|
+
@lime-card-selection-icon-margin: 0;
|
|
413
|
+
@lime-card-selection-icon-line-height: 90px;
|
|
414
|
+
@lime-card-badge-size: 108px;
|
|
415
|
+
@lime-card-badge-margin: 0;
|
|
416
|
+
@lime-card-badge-top: 24px;
|
|
417
|
+
@lime-card-badge-left: 24px;
|
|
418
|
+
@lime-card-badge-right: 24px;
|
|
419
|
+
@lime-card-caption-line-height: 84px;
|
|
420
|
+
@lime-card-caption-height: 84px;
|
|
421
|
+
@lime-card-label-line-height: 60px;
|
|
422
|
+
@lime-card-label-height: 60px;
|
|
423
|
+
@lime-card-vertical-captions-padding: 36px 0;
|
|
424
|
+
@lime-card-vertical-captions-gap: 48px;
|
|
425
|
+
@lime-card-vertical-image-icon-size: 180px;
|
|
426
|
+
@lime-card-vertical-image-icon-margin: 0;
|
|
427
|
+
@lime-card-vertical-caption-overlay-captions-padding: 48px;
|
|
428
|
+
@lime-card-vertical-has-container-captions-padding: 36px 48px;
|
|
429
|
+
@lime-card-horizontal-width: 1320px;
|
|
430
|
+
@lime-card-horizontal-height: 336px;
|
|
431
|
+
@lime-card-horizontal-captions-padding: 48px;
|
|
432
|
+
|
|
433
|
+
// Checkbox
|
|
434
|
+
// ---------------------------------------
|
|
435
|
+
@lime-checkbox-border-radius: var(--semantic-radius-full);
|
|
436
|
+
@lime-checkbox-border-width: 4px;
|
|
437
|
+
@lime-checkbox-container-position: ((@lime-icon-tiny-size - 132px) / 2); // Container's total dimensions should be `132px` defined in the GUI spec
|
|
438
|
+
@lime-checkbox-container-border-radius: var(--semantic-radius-button);
|
|
439
|
+
|
|
440
|
+
// CheckboxItem
|
|
441
|
+
// ---------------------------------------
|
|
442
|
+
@lime-checkboxitem-padding: var(--primitive-spacing-36) var(--primitive-spacing-48) var(--primitive-spacing-36) var(--primitive-spacing-60);
|
|
443
|
+
@lime-checkboxitem-padding-rtl: var(--primitive-spacing-36) var(--primitive-spacing-60) var(--primitive-spacing-36) var(--primitive-spacing-48);
|
|
444
|
+
@lime-checkboxitem-withlabel-padding: var(--primitive-spacing-48) var(--primitive-spacing-48) var(--primitive-spacing-48) var(--primitive-spacing-60);
|
|
445
|
+
@lime-checkboxitem-withlabel-padding-rtl: var(--primitive-spacing-48) var(--primitive-spacing-60) var(--primitive-spacing-48) var(--primitive-spacing-48);
|
|
446
|
+
|
|
447
|
+
// Chip
|
|
448
|
+
// ---------------------------------------
|
|
449
|
+
@lime-chip-margin: 0;
|
|
450
|
+
@lime-chip-button-spacing: 12px;
|
|
451
|
+
@lime-chip-min-width: 108px;
|
|
452
|
+
@lime-chips-gap: 36px;
|
|
453
|
+
|
|
454
|
+
// ContextualMenu
|
|
455
|
+
// ---------------------------------------
|
|
456
|
+
@lime-contextualmenu-container-padding: var(--primitive-spacing-36) 0;
|
|
457
|
+
@lime-contextualmenu-max-items: 5;
|
|
458
|
+
@lime-contextualmenu-innercontainer-max-height: @lime-contextualmenu-max-items * @lime-item-small-height;
|
|
459
|
+
@lime-contextualmenu-max-height: (@lime-contextualmenu-innercontainer-max-height + 72px);
|
|
460
|
+
@lime-contextualmenu-large-width: 960px;
|
|
461
|
+
@lime-contextualmenu-large-withScrollbar-width: 984px;
|
|
462
|
+
@lime-contextualmenu-small-width: 612px;
|
|
463
|
+
@lime-contextualmenu-small-withScrollbar-width: 636px;
|
|
464
|
+
|
|
465
|
+
// ContextualPopup
|
|
466
|
+
// ---------------------------------------
|
|
467
|
+
@lime-contextualpopup-padding: 36px 0;
|
|
468
|
+
@lime-contextualpopup-arrow-height: 60px;
|
|
469
|
+
@lime-contextualpopup-arrow-width: 60px;
|
|
470
|
+
@lime-contextualpopup-offset-overlap: 36px; // used as inverse of small to cause overlap
|
|
471
|
+
@lime-contextualpopup-offset-small: 18px;
|
|
472
|
+
@lime-contextualpopup-offset-large: 36px;
|
|
473
|
+
|
|
474
|
+
// Date and Time Picker
|
|
475
|
+
@lime-datecomponentpicker-margin: 0 24px;
|
|
476
|
+
@lime-datetime-heading-margin: 0 0 var(--primitive-spacing-132);
|
|
477
|
+
@lime-timepicker-colon-margin: 0 var(--primitive-spacing-6);
|
|
478
|
+
|
|
479
|
+
// Dropdown
|
|
480
|
+
// ---------------------------------------
|
|
481
|
+
@lime-dropdown-margin: 0 @lime-spotlight-outset; // this extra margin used to align dropdown container with the outer element
|
|
482
|
+
@lime-dropdown-padding: 0 var(--primitive-spacing-48);
|
|
483
|
+
@lime-dropdown-min-width: @lime-button-min-width;
|
|
484
|
+
@lime-dropdown-icon-margin: var(--primitive-spacing-36);
|
|
485
|
+
@lime-dropdown-title-padding: 36px 24px;
|
|
486
|
+
@lime-dropdown-title-min-width: (@lime-dropdown-min-width - .extract(@lime-dropdown-title-padding, left)[] * 2);
|
|
487
|
+
@lime-dropdown-tiny-width: 480px;
|
|
488
|
+
@lime-dropdown-tiny-title-width: (@lime-dropdown-tiny-width - .extract(@lime-dropdown-title-padding, left)[] * 2);
|
|
489
|
+
@lime-dropdown-small-width: 540px;
|
|
490
|
+
@lime-dropdown-small-title-width: (@lime-dropdown-small-width - .extract(@lime-dropdown-title-padding, left)[] * 2);
|
|
491
|
+
@lime-dropdown-medium-width: 690px;
|
|
492
|
+
@lime-dropdown-medium-title-width: (@lime-dropdown-medium-width - .extract(@lime-dropdown-title-padding, left)[] * 2);
|
|
493
|
+
@lime-dropdown-large-width: 840px;
|
|
494
|
+
@lime-dropdown-large-title-width: (@lime-dropdown-large-width - .extract(@lime-dropdown-title-padding, left)[] * 2);
|
|
495
|
+
@lime-dropdown-x-large-width: 1050px;
|
|
496
|
+
@lime-dropdown-x-large-title-width: (@lime-dropdown-x-large-width - .extract(@lime-dropdown-title-padding, left)[] * 2);
|
|
497
|
+
@lime-dropdown-huge-width: 1380px;
|
|
498
|
+
@lime-dropdown-huge-title-width: (@lime-dropdown-huge-width - .extract(@lime-dropdown-title-padding, left)[] * 2);
|
|
499
|
+
@lime-dropdown-list-tiny-width: (@lime-dropdown-tiny-width - @lime-button-border-width);
|
|
500
|
+
@lime-dropdown-list-small-width: (@lime-dropdown-small-width - @lime-button-border-width);
|
|
501
|
+
@lime-dropdown-list-medium-width: (@lime-dropdown-medium-width - @lime-button-border-width);
|
|
502
|
+
@lime-dropdown-list-large-width: (@lime-dropdown-large-width - @lime-button-border-width);
|
|
503
|
+
@lime-dropdown-list-x-large-width: (@lime-dropdown-x-large-width - @lime-button-border-width);
|
|
504
|
+
@lime-dropdown-list-huge-width: (@lime-dropdown-huge-width - @lime-button-border-width);
|
|
505
|
+
@lime-dropdown-max-items: 5;
|
|
506
|
+
@lime-dropdown-list-min-width: @lime-dropdown-min-width;
|
|
507
|
+
@lime-dropdown-list-max-height: (@lime-dropdown-max-items * @lime-item-height + @lime-item-shadow-height);
|
|
508
|
+
@lime-dropdown-list-max-height-large: (@lime-dropdown-max-items * @lime-item-small-height-large + @lime-item-shadow-height);
|
|
509
|
+
|
|
510
|
+
// FixedPopupPanels
|
|
511
|
+
// ---------------------------------------
|
|
512
|
+
@lime-fixedpopuppanels-width: 1200px;
|
|
513
|
+
@lime-fixedpopuppanels-half-width: 1716px;
|
|
514
|
+
@lime-fixedpopuppanels-margin: 60px 60px 132px;
|
|
515
|
+
@lime-fixedpopuppanels-border-radius: var(--semantic-radius-overlay);
|
|
516
|
+
@lime-fixedpopuppanels-panel-body-padding: var(--primitive-spacing-60);
|
|
517
|
+
|
|
518
|
+
// FlexiblePopupPanels
|
|
519
|
+
// ---------------------------------------
|
|
520
|
+
@lime-flexiblepopuppanels-min-width: 1140px;
|
|
521
|
+
@lime-flexiblepopuppanels-margin: 60px 0;
|
|
522
|
+
@lime-flexiblepopuppanels-padding: 0 60px (36px + (18px * 1.75)); // Math in an attempt to use the shadow values to calculate the proper margin size so no shadow clipping occurs.
|
|
523
|
+
@lime-flexiblepopuppanels-panel-border-radius: var(--semantic-radius-overlay);
|
|
524
|
+
@lime-flexiblepopuppanels-panel-margin: 0 60px;
|
|
525
|
+
@lime-flexiblepopuppanels-panel-padding: 60px (60px - @lime-component-spacing);
|
|
526
|
+
@lime-flexiblepopuppanels-body-padding: 0 108px;
|
|
527
|
+
@lime-flexiblepopuppanels-navbutton-margin: 0;
|
|
528
|
+
@lime-flexiblepopuppanels-small-width: 600px;
|
|
529
|
+
@lime-flexiblepopuppanels-large-width: 1320px;
|
|
530
|
+
|
|
531
|
+
// FormCheckboxItem
|
|
532
|
+
// ---------------------------------------
|
|
533
|
+
@lime-formcheckboxitem-checkbox-margin-end: abs(.extract(@lime-checkbox-container-position, right)[]); // checkbox container is a negative value, but we're only interested in positive margin values for this. It's also currently just one value, but could be more in the future, so we'll extract the "right" value.
|
|
534
|
+
|
|
535
|
+
// Header
|
|
536
|
+
// ---------------------------------------
|
|
537
|
+
@lime-header-slotabove-margin: 0 -@lime-component-spacing var(--primitive-spacing-24) -@lime-component-spacing; // Negative margins accommodate the component-spacing
|
|
538
|
+
@lime-header-slotbelow-margin: 18px -@lime-component-spacing 0 -@lime-component-spacing; // Negative margins accommodate the component-spacing
|
|
539
|
+
@lime-header-subtitle-height: (@lime-heading-subtitle-font-size * @lime-heading-subtitle-line-height);
|
|
540
|
+
@lime-header-subtitle-margin-start: var(--primitive-spacing-6);
|
|
541
|
+
// STOP! READ THE FOLLOWING BEFORE EDITING.
|
|
542
|
+
//
|
|
543
|
+
// Panel imposes no padding so Header is fully responsible for its own positioning. The code below
|
|
544
|
+
// reads values out of the guide definition library and uses them as the basis for calculations when
|
|
545
|
+
// determining the correct padding (positioning) for Header. The GUI guide differs in its
|
|
546
|
+
// line-height vs the framework's line-height due to the framework accounting for tall-glyphs during
|
|
547
|
+
// localization. The visual result of the below calculations is expected to be a match with the
|
|
548
|
+
// guide. Inspecting the Header's padding will result in intentional different values than the
|
|
549
|
+
// values in the guide.
|
|
550
|
+
@lime-header-standard-margin: 0;
|
|
551
|
+
@lime-header-standard-padding:
|
|
552
|
+
(
|
|
553
|
+
.extract(#guide.header[standard-padding], top)[]
|
|
554
|
+
- #guide.get-edge-size-difference(
|
|
555
|
+
#guide.header[standard-title-line-height],
|
|
556
|
+
@lime-heading-title-font-size,
|
|
557
|
+
@lime-heading-title-line-height
|
|
558
|
+
)[@result]
|
|
559
|
+
)
|
|
560
|
+
.extract(#guide.header[standard-padding], right)[]
|
|
561
|
+
.extract(#guide.header[standard-padding], bottom)[]
|
|
562
|
+
.extract(#guide.header[standard-padding], left)[];
|
|
563
|
+
@lime-header-standard-title-padding: 0;
|
|
564
|
+
@lime-header-standard-title-margin-top: var(--primitive-spacing-60);
|
|
565
|
+
@lime-header-standard-subtitle-margin:
|
|
566
|
+
(
|
|
567
|
+
.extract(#guide.header[standard-titles-gap], top)[]
|
|
568
|
+
- #guide.get-edge-size-difference(
|
|
569
|
+
#guide.header[standard-title-line-height],
|
|
570
|
+
@lime-heading-title-font-size,
|
|
571
|
+
@lime-heading-title-line-height
|
|
572
|
+
)[@result]
|
|
573
|
+
- #guide.get-edge-size-difference(
|
|
574
|
+
#guide.header[standard-subtitle-line-height],
|
|
575
|
+
@lime-heading-subtitle-font-size,
|
|
576
|
+
@lime-heading-subtitle-line-height
|
|
577
|
+
)[@result]
|
|
578
|
+
)
|
|
579
|
+
0 0 0;
|
|
580
|
+
@lime-header-standard-slotbefore-margin-end: var(--primitive-spacing-36);
|
|
581
|
+
@lime-header-standard-slotafter-margin-start: var(--primitive-spacing-36);
|
|
582
|
+
@lime-header-compact-margin: 0;
|
|
583
|
+
@lime-header-compact-padding:
|
|
584
|
+
(
|
|
585
|
+
.extract(#guide.header[compact-padding], top)[]
|
|
586
|
+
- #guide.get-edge-size-difference(
|
|
587
|
+
#guide.header[compact-title-line-height],
|
|
588
|
+
@lime-header-compact-title-font-size,
|
|
589
|
+
@lime-heading-title-line-height
|
|
590
|
+
)[@result]
|
|
591
|
+
)
|
|
592
|
+
.extract(#guide.header[compact-padding], right)[]
|
|
593
|
+
(
|
|
594
|
+
.extract(#guide.header[compact-padding], bottom)[]
|
|
595
|
+
- #guide.get-edge-size-difference(
|
|
596
|
+
#guide.header[compact-title-line-height],
|
|
597
|
+
@lime-header-compact-title-font-size,
|
|
598
|
+
@lime-heading-title-line-height
|
|
599
|
+
)[@result]
|
|
600
|
+
)
|
|
601
|
+
.extract(#guide.header[compact-padding], left)[];
|
|
602
|
+
@lime-header-compact-title-padding: 0;
|
|
603
|
+
@lime-header-compact-titles-row-padding: 0 0 #guide.header[compact-subtitle-height];
|
|
604
|
+
@lime-header-compact-subtitle-padding: 0;
|
|
605
|
+
@lime-header-compact-subtitle-margin-top: (#guide.header[compact-subtitle-height] - #guide.header[compact-subtitle-line-height]);
|
|
606
|
+
@lime-header-compact-slotbefore-margin-end: var(--primitive-spacing-24);
|
|
607
|
+
@lime-header-compact-slotafter-margin-start: var(--primitive-spacing-30);
|
|
608
|
+
@lime-header-mini-margin:
|
|
609
|
+
6px
|
|
610
|
+
@lime-component-spacing
|
|
611
|
+
.extract(#guide.header[mini-padding], bottom)[]
|
|
612
|
+
@lime-component-spacing; // 6px top to account for a focused button, so it doesn't clip.
|
|
613
|
+
@lime-header-mini-margin: #guide.header[mini-margin];
|
|
614
|
+
@lime-header-mini-padding:
|
|
615
|
+
(
|
|
616
|
+
.extract(#guide.header[mini-padding], top)[]
|
|
617
|
+
- #guide.get-edge-size-difference(
|
|
618
|
+
#guide.header[mini-title-line-height],
|
|
619
|
+
@lime-header-mini-title-font-size,
|
|
620
|
+
@lime-heading-title-line-height
|
|
621
|
+
)[@result]
|
|
622
|
+
)
|
|
623
|
+
.extract(#guide.header[mini-padding], right)[]
|
|
624
|
+
(
|
|
625
|
+
.extract(#guide.header[mini-padding], bottom)[]
|
|
626
|
+
- #guide.get-edge-size-difference(
|
|
627
|
+
#guide.header[mini-title-line-height],
|
|
628
|
+
@lime-header-mini-title-font-size,
|
|
629
|
+
@lime-heading-title-line-height
|
|
630
|
+
)[@result]
|
|
631
|
+
)
|
|
632
|
+
.extract(#guide.header[mini-padding], left)[];
|
|
633
|
+
@lime-header-wizard-nosubtitle-padding-bottom: ~"calc("@lime-header-subtitle-height ~"+ var(--primitive-spacing-6))";
|
|
634
|
+
@lime-header-wizard-margin: 0;
|
|
635
|
+
@lime-header-wizard-padding:
|
|
636
|
+
(
|
|
637
|
+
.extract(#guide.header[wizard-padding], top)[]
|
|
638
|
+
- #guide.get-edge-size-difference(
|
|
639
|
+
#guide.header[wizard-title-line-height],
|
|
640
|
+
@lime-header-wizard-title-font-size,
|
|
641
|
+
@lime-heading-title-line-height
|
|
642
|
+
)[@result]
|
|
643
|
+
)
|
|
644
|
+
.extract(#guide.header[wizard-padding], right)[]
|
|
645
|
+
.extract(#guide.header[wizard-padding], bottom)[]
|
|
646
|
+
.extract(#guide.header[wizard-padding], left)[]; // 66px comes from the GUI guide, as the distance from the bottom of the 2-line subtitle to the top of the content area. We must subtract the padding-top of panel.body to get the total spacing to match the guide.
|
|
647
|
+
@lime-header-wizard-title-padding: 0;
|
|
648
|
+
@lime-header-wizard-subtitle-padding: 0;
|
|
649
|
+
@lime-header-back-container-width: (@lime-button-small-height + @lime-button-icon-small-h-margin);
|
|
650
|
+
|
|
651
|
+
// Heading
|
|
652
|
+
// ---------------------------------------
|
|
653
|
+
@lime-heading-border-width: 1px;
|
|
654
|
+
@lime-heading-margin: 0 var(--primitive-spacing-24) var(--primitive-spacing-36);
|
|
655
|
+
@lime-heading-margin-tiny: var(--primitive-spacing-36) var(--primitive-spacing-24);
|
|
656
|
+
@lime-heading-padding: 0;
|
|
657
|
+
@lime-heading-spacing-title: 0;
|
|
658
|
+
@lime-heading-spacing-subtitle: 0;
|
|
659
|
+
@lime-heading-spacing-large: 78px;
|
|
660
|
+
@lime-heading-spacing-medium: 42px;
|
|
661
|
+
@lime-heading-spacing-small: 18px;
|
|
662
|
+
@lime-heading-spacing-small-margin-bottom: ~"calc(var(--primitive-spacing-36) -" @lime-heading-border-width ~")";
|
|
663
|
+
|
|
664
|
+
// HolePunchScrim
|
|
665
|
+
// ---------------------------------------
|
|
666
|
+
|
|
667
|
+
// Icon
|
|
668
|
+
// ---------------------------------------
|
|
669
|
+
@lime-icon-large-size: 84px;
|
|
670
|
+
@lime-icon-medium-size: 78px;
|
|
671
|
+
@lime-icon-small-size: 72px;
|
|
672
|
+
@lime-icon-tiny-size: 60px;
|
|
673
|
+
@lime-icon-margin: 24px;
|
|
674
|
+
@lime-icon-large-size-large: (@lime-icon-large-size * 1.2);
|
|
675
|
+
@lime-icon-small-size-large: (@lime-icon-small-size * 1.2);
|
|
676
|
+
|
|
677
|
+
// IconItem
|
|
678
|
+
// ---------------------------------------
|
|
679
|
+
@lime-iconitem-height: 256px;
|
|
680
|
+
@lime-iconitem-width: 334px;
|
|
681
|
+
@lime-iconitem-title-height: ~"calc("@lime-iconitem-height ~"+ "@lime-iconitem-title-line-height ~"+ 24px)";
|
|
682
|
+
@lime-iconitem-border-radius: var(--semantic-radius-container);
|
|
683
|
+
@lime-iconitem-border-style: solid;
|
|
684
|
+
@lime-iconitem-border-width: 4px;
|
|
685
|
+
@lime-iconitem-focus-transform: scale(1.1);
|
|
686
|
+
@lime-iconitem-icon-margin: 0;
|
|
687
|
+
@lime-iconitem-icon-height: 120px;
|
|
688
|
+
@lime-iconitem-icon-width: @lime-iconitem-icon-height;
|
|
689
|
+
@lime-iconitem-image-height: 230px;
|
|
690
|
+
@lime-iconitem-image-width: @lime-iconitem-image-height;
|
|
691
|
+
@lime-iconitem-label-image-height: ~"calc("@lime-iconitem-height ~"- "@lime-iconitem-label-line-height ~"- 24px)";
|
|
692
|
+
@lime-iconitem-label-line-height: 54px;
|
|
693
|
+
@lime-iconitem-label-padding: 0 var(--primitive-spacing-12);
|
|
694
|
+
@lime-iconitem-title-line-height: 60px;
|
|
695
|
+
@lime-iconitem-title-margin: var(--primitive-spacing-24) 0 0 0;
|
|
696
|
+
|
|
697
|
+
// ImageItem
|
|
698
|
+
// ---------------------------------------
|
|
699
|
+
@lime-imageitem-margin: @lime-item-margin;
|
|
700
|
+
@lime-imageitem-border-radius: var(--semantic-radius-button);
|
|
701
|
+
@lime-imageitem-image-border-width: 6px;
|
|
702
|
+
@lime-imageitem-caption-line-height: 84px;
|
|
703
|
+
@lime-imageitem-label-line-height: 60px;
|
|
704
|
+
@lime-imageitem-placeholder-caption-height: 102px;
|
|
705
|
+
@lime-imageitem-placeholder-label-height: 66px;
|
|
706
|
+
@lime-imageitem-horizontal-padding: 30px;
|
|
707
|
+
@lime-imageitem-horizontal-image-width: 180px;
|
|
708
|
+
@lime-imageitem-horizontal-image-height: @lime-imageitem-horizontal-image-width;
|
|
709
|
+
@lime-imageitem-horizontal-image-margin: var(--primitive-spacing-48);
|
|
710
|
+
@lime-imageitem-horizontal-selection-icon-margin-left: var(--primitive-spacing-12);
|
|
711
|
+
@lime-imageitem-horizontal-selection-icon-margin-right: var(--primitive-spacing-48);
|
|
712
|
+
@lime-imageitem-horizontal-wideimage-padding: var(--primitive-spacing-48);
|
|
713
|
+
@lime-imageitem-horizontal-wideimage-image-width: 426px;
|
|
714
|
+
@lime-imageitem-horizontal-wideimage-image-height: 240px;
|
|
715
|
+
@lime-imageitem-vertical-padding: var(--primitive-spacing-24) var(--primitive-spacing-24) var(--primitive-spacing-30);
|
|
716
|
+
@lime-imageitem-vertical-full-image-padding: 60px; // 24px(for expanding) + 36px(for showing shadow)
|
|
717
|
+
@lime-imageitem-vertical-full-image-border-width: 2px;
|
|
718
|
+
@lime-imageitem-vertical-full-image-focus-border-width: 6px;
|
|
719
|
+
@lime-imageitem-vertical-captions-margin-top: var(--primitive-spacing-30);
|
|
720
|
+
@lime-imageitem-vertical-label-height: 60px;
|
|
721
|
+
@lime-imageitem-vertical-focus-image-transform: scale(1.1);
|
|
722
|
+
@lime-imageitem-vertical-image-icon-margin: 0 var(--primitive-spacing-24) 0 0;
|
|
723
|
+
@lime-imageitem-vertical-image-icon-size: 132px;
|
|
724
|
+
@lime-imageitem-vertical-selection-icon-size: 120px;
|
|
725
|
+
|
|
726
|
+
// Input
|
|
727
|
+
// ---------------------------------------
|
|
728
|
+
@lime-input-numbercell-border-radius: var(--semantic-radius-button);
|
|
729
|
+
@lime-input-keypad-key-margin: 0;
|
|
730
|
+
@lime-input-keypad-key-padding: var(--primitive-spacing-24);
|
|
731
|
+
@lime-input-keypad-key-height: 168px;
|
|
732
|
+
@lime-input-keypad-key-width: @lime-input-keypad-key-height;
|
|
733
|
+
@lime-input-fullscreen-padding: (156px - .extract(@lime-popup-padding, top)[]) (324px - .extract(@lime-popup-padding, right)[]) 0 (324px - .extract(@lime-popup-padding, left)[]);
|
|
734
|
+
@lime-portrait-input-fullscreen-padding: (96px - .extract(@lime-popup-padding, top)[]) (132px - .extract(@lime-popup-padding, right)[]) 0 (132px - .extract(@lime-popup-padding, left)[]);
|
|
735
|
+
@lime-input-fullscreen-title-height: 228px;
|
|
736
|
+
@lime-input-fullscreen-vkb-height: 876px;
|
|
737
|
+
@lime-input-fullscreen-footer-height: 240px;
|
|
738
|
+
@lime-input-fullscreen-footer-withbuttons-height: 300px;
|
|
739
|
+
@lime-input-fullscreen-numbertype-margin: var(--primitive-spacing-120) 0 0 0;
|
|
740
|
+
@lime-input-fullscreen-numbertype-withbuttons-margin: var(--primitive-spacing-60) 0 0 0;
|
|
741
|
+
@lime-input-fullscreen-numbercell-width: 180px;
|
|
742
|
+
@lime-input-fullscreen-numbercell-height: 240px;
|
|
743
|
+
@lime-input-fullscreen-numbercell-margin: 0;
|
|
744
|
+
@lime-input-fullscreen-numbercell-gap: 60px;
|
|
745
|
+
@lime-input-fullscreen-numberfield-width: 1104px;
|
|
746
|
+
@lime-input-fullscreen-numberfield-height: 132px;
|
|
747
|
+
@lime-input-fullscreen-numberfield-margin: auto;
|
|
748
|
+
@lime-input-fullscreen-numberfield-padding: 0 var(--primitive-spacing-48);
|
|
749
|
+
@lime-input-fullscreen-numberfield-letter-spacing: var(--primitive-spacing-30);
|
|
750
|
+
@lime-input-fullscreen-keypad-margin: var(--primitive-spacing-132) auto 0 auto;
|
|
751
|
+
@lime-input-fullscreen-buttonarea-margin: 0;
|
|
752
|
+
@lime-input-fullscreen-invalid-tooltip-width: 3240px;
|
|
753
|
+
@lime-input-fullscreen-back-button-top: 108px;
|
|
754
|
+
@lime-input-fullscreen-back-button-start: 132px;
|
|
755
|
+
@lime-portrait-input-fullscreen-keypad-margin: var(--primitive-spacing-132) auto 0 auto;
|
|
756
|
+
@lime-portrait-input-fullscreen-number-inputarea-margin: var(--primitive-spacing-96) 0 0 0;
|
|
757
|
+
@lime-input-overlay-body-padding: var(--primitive-spacing-84) var(--primitive-spacing-60);
|
|
758
|
+
@lime-input-overlay-border-radius: var(--semantic-radius-popup);
|
|
759
|
+
@lime-input-overlay-width: 1320px;
|
|
760
|
+
@lime-input-overlay-inputarea-margin: var(--primitive-spacing-60) 0 0 0;
|
|
761
|
+
@lime-input-overlay-numbercell-margin: 0 var(--primitive-spacing-24);
|
|
762
|
+
@lime-input-overlay-numbercell-width: 132px;
|
|
763
|
+
@lime-input-overlay-numbercell-height: 156px;
|
|
764
|
+
@lime-input-overlay-numberfield-width: 936px;
|
|
765
|
+
@lime-input-overlay-numberfield-height: 132px;
|
|
766
|
+
@lime-input-overlay-numberfield-margin: @lime-input-fullscreen-numberfield-margin;
|
|
767
|
+
@lime-input-overlay-numberfield-padding: 0 var(--primitive-spacing-48);
|
|
768
|
+
@lime-input-overlay-numberfield-letter-spacing: var(--primitive-spacing-30);
|
|
769
|
+
@lime-input-overlay-keypad-gap: var(--primitive-spacing-60);
|
|
770
|
+
@lime-input-overlay-keypad-margin: var(--primitive-spacing-132) 198px 60px 198px;
|
|
771
|
+
@lime-input-overlay-keypad-width: 624px;
|
|
772
|
+
@lime-input-overlay-keypad-width-large: 120px + (@lime-button-height-large * 3);
|
|
773
|
+
@lime-input-overlay-buttonarea-margin: 0;
|
|
774
|
+
@lime-input-overlay-submitbutton-margin: var(--primitive-spacing-60) auto 0 auto;
|
|
775
|
+
@lime-input-overlay-invalid-tooltip-width: 738px;
|
|
776
|
+
@lime-input-overlay-textfield-width: 1032px;
|
|
777
|
+
@lime-input-overlay-title-margin: 0 var(--primitive-spacing-144) 0 var(--primitive-spacing-144);
|
|
778
|
+
@lime-input-invalid-tooltip-margin-top: var(--primitive-spacing-24);
|
|
779
|
+
@lime-input-invalid-tooltip-line-height: 60px;
|
|
780
|
+
|
|
781
|
+
// InputField
|
|
782
|
+
// ---------------------------------------
|
|
783
|
+
@lime-inputfield-margin: 0;
|
|
784
|
+
@lime-inputfield-icon-margin: var(--primitive-spacing-30);
|
|
785
|
+
@lime-inputfield-padding: var(--primitive-spacing-24) var(--primitive-spacing-48);
|
|
786
|
+
@lime-inputfield-padding-large: 0 @lime-inputfield-icon-margin;
|
|
787
|
+
@lime-inputfield-password-spacing: var(--primitive-spacing-30);
|
|
788
|
+
@lime-inputfield-text-indent: 0.2em;
|
|
789
|
+
@lime-inputfield-border-radius: var(--semantic-radius-button);
|
|
790
|
+
@lime-inputfield-invalid-tooltip-margin-top: var(--primitive-spacing-30);
|
|
791
|
+
@lime-inputfield-height: 168px;
|
|
792
|
+
@lime-inputfield-width: 1560px;
|
|
793
|
+
@lime-inputfield-small-height: 132px;
|
|
794
|
+
@lime-inputfield-highlight-height: 100%;
|
|
795
|
+
@lime-inputfield-small-width: 1200px;
|
|
796
|
+
|
|
797
|
+
// Item
|
|
798
|
+
// ---------------------------------------
|
|
799
|
+
@lime-item-height: 156px;
|
|
800
|
+
@lime-item-height-large: @lime-item-height;
|
|
801
|
+
@lime-item-shadow-height: @lime-spotlight-focus-shadow-height;
|
|
802
|
+
@lime-item-withlabel-height: 240px;
|
|
803
|
+
@lime-item-withlabel-padding: var(--primitive-spacing-48) var(--primitive-spacing-48);
|
|
804
|
+
@lime-item-inline-max-width: 480px;
|
|
805
|
+
@lime-item-border-radius: var(--semantic-radius-container);
|
|
806
|
+
@lime-item-slotafter-spacing: var(--primitive-spacing-48);
|
|
807
|
+
@lime-item-slotbefore-spacing: var(--primitive-spacing-48);
|
|
808
|
+
@lime-item-margin: 0 @lime-component-spacing @lime-component-spacing-bottom @lime-component-spacing;
|
|
809
|
+
@lime-item-padding: var(--primitive-spacing-36) var(--primitive-spacing-48);
|
|
810
|
+
@lime-item-small-height: 126px;
|
|
811
|
+
@lime-item-small-height-large: @lime-item-small-height;
|
|
812
|
+
@lime-item-small-withlabel-height: 210px;
|
|
813
|
+
|
|
814
|
+
// Keyguide
|
|
815
|
+
// ---------------------------------------
|
|
816
|
+
@lime-keyguide-colordot-height: 12px;
|
|
817
|
+
@lime-keyguide-colordot-margin: 0 ((@lime-icon-large-size - @lime-keyguide-colordot-width) / 2); // Keep this centered by adapting its margins
|
|
818
|
+
@lime-keyguide-colordot-width: 60px;
|
|
819
|
+
@lime-keyguide-colordot-border-radius: var(--semantic-radius-full);
|
|
820
|
+
@lime-keyguide-font-weight: var(--primitive-font-weight-regular);
|
|
821
|
+
@lime-keyguide-icon-border-radius: var(--semantic-radius-container);
|
|
822
|
+
@lime-keyguide-icon-icon-margin-right: var(--primitive-spacing-48);
|
|
823
|
+
@lime-keyguide-icon-gap: var(--primitive-spacing-42);
|
|
824
|
+
@lime-keyguide-icon-padding: var(--primitive-spacing-48);
|
|
825
|
+
@lime-keyguide-icon-position-bottom: 120px;
|
|
826
|
+
@lime-keyguide-icon-position-right: 150px;
|
|
827
|
+
@lime-keyguide-icon-width: 750px;
|
|
828
|
+
@lime-keyguide-image-padding: var(--primitive-spacing-32) var(--primitive-spacing-42);
|
|
829
|
+
@lime-keyguide-image-margin: 0;
|
|
830
|
+
@lime-keyguide-item-height: 84px;
|
|
831
|
+
@lime-keyguide-image-item-height: 252px;
|
|
832
|
+
@lime-keyguide-image-item-width: 856px;
|
|
833
|
+
@lime-keyguide-image-image-width: 180px;
|
|
834
|
+
@lime-keyguide-image-image-height: 180px;
|
|
835
|
+
@lime-keyguide-image-image-margin-right: var(--primitive-spacing-48);
|
|
836
|
+
@lime-keyguide-arrow-border-width: 30px;
|
|
837
|
+
|
|
838
|
+
// MediaOverlay
|
|
839
|
+
// ---------------------------------------
|
|
840
|
+
@lime-mediaoverlay-border-radius: var(--primitive-radius-12);
|
|
841
|
+
@lime-mediaoverlay-caption-margin-top: var(--primitive-spacing-36);
|
|
842
|
+
@lime-mediaoverlay-caption-margin-bottom: var(--primitive-spacing-36);
|
|
843
|
+
@lime-mediaoverlay-caption-font-weight: var(--primitive-font-weight-semibold);
|
|
844
|
+
@lime-mediaoverlay-font-weight: var(--primitive-font-weight-regular);
|
|
845
|
+
@lime-mediaoverlay-line-height: 1.3em;
|
|
846
|
+
@lime-mediaoverlay-caption-line-height: 1.4em;
|
|
847
|
+
@lime-mediaoverlay-padding: var(--primitive-spacing-24);
|
|
848
|
+
@lime-mediaoverlay-progressbar-margin: var(--primitive-spacing-24);
|
|
849
|
+
@lime-mediaoverlay-text-margin-bottom: var(--primitive-spacing-36);
|
|
850
|
+
@lime-mediaoverlay-textlayout-margin: var(--primitive-spacing-24) var(--primitive-spacing-60);
|
|
851
|
+
@lime-mediaoverlay-width: 768px;
|
|
852
|
+
@lime-mediaoverlay-focus-media-transform: scale(1.1);
|
|
853
|
+
@lime-mediaoverlay-focus-media-outline-width: 6px;
|
|
854
|
+
|
|
855
|
+
// MediaPlayer
|
|
856
|
+
// ---------------------------------------
|
|
857
|
+
@lime-mediaplayer-button-client-padding: 0 18px;
|
|
858
|
+
@lime-mediaplayer-button-border-radius: 96px;
|
|
859
|
+
@lime-mediaplayer-button-height: 180px;
|
|
860
|
+
@lime-mediaplayer-button-icon-size: 108px;
|
|
861
|
+
@lime-mediaplayer-button-padding: var(--primitive-spacing-36);
|
|
862
|
+
@lime-mediaplayer-controls-actionguide-height: 168px;
|
|
863
|
+
@lime-mediaplayer-controls-actionguide-padding-bottom: 0;
|
|
864
|
+
@lime-mediaplayer-controls-actionguide-padding-top: var(--primitive-spacing-72);
|
|
865
|
+
@lime-mediaplayer-controls-actionguide-time: 0.2s; // Length of the animation
|
|
866
|
+
@lime-mediaplayer-controls-button-margin-start: 90px;
|
|
867
|
+
@lime-mediaplayer-controls-gap: var(--primitive-spacing-120);
|
|
868
|
+
@lime-mediaplayer-controls-height: 180px;
|
|
869
|
+
@lime-mediaplayer-controls-margin-top: 36px;
|
|
870
|
+
@lime-mediaplayer-controls-moreComponents-gap: 204px;
|
|
871
|
+
@lime-mediaplayer-controls-moreComponents-margin-top: 60px;
|
|
872
|
+
@lime-mediaplayer-controls-moreComponents-time: 0.3s; // Length of the animation
|
|
873
|
+
@lime-mediaplayer-slider-height: 12px;
|
|
874
|
+
@lime-mediaplayer-slider-knob-resting-state-scale: @lime-slider-knob-resting-state-scale;
|
|
875
|
+
@lime-mediaplayer-slider-knob-size: 48px;
|
|
876
|
+
@lime-mediaplayer-slider-tap-area: 60px;
|
|
877
|
+
@lime-mediaplayer-times-line-height: 60px;
|
|
878
|
+
@lime-mediaplayer-times-min-width: 192px;
|
|
879
|
+
|
|
880
|
+
// PageViews
|
|
881
|
+
// ---------------------------------------
|
|
882
|
+
@lime-pageviews-contents-border-radius: var(--semantic-radius-container);
|
|
883
|
+
@lime-pageviews-navigation-button-area-width: 216px;
|
|
884
|
+
@lime-pageviews-steps-area-min-height: 132px;
|
|
885
|
+
@lime-pageviews-steps-height: 96px;
|
|
886
|
+
@lime-pageviews-dot-highlighted-step-size: 24px;
|
|
887
|
+
@lime-pageviews-dot-step-size: 18px;
|
|
888
|
+
@lime-pageviews-dot-steps-area-min-height: @lime-pageviews-steps-area-min-height;
|
|
889
|
+
@lime-pageviews-full-contents-bottom-steps-bottom: 0;
|
|
890
|
+
@lime-pageviews-number-navigation-button-area-width: 132px;
|
|
891
|
+
@lime-pageviews-number-steps-area-min-height: 252px;
|
|
892
|
+
@lime-pageviews-number-steps-number-width: 168px;
|
|
893
|
+
@lime-pageviews-number-steps-separator-width: 33px;
|
|
894
|
+
@lime-pageviews-indicator-icon-opacity: 0.4;
|
|
895
|
+
@lime-pageviews-indicator-icon-gap: var(--primitive-spacing-24);
|
|
896
|
+
@lime-pageviews-navigation-text-area-padding: 0 var(--primitive-spacing-36);
|
|
897
|
+
|
|
898
|
+
// Panels
|
|
899
|
+
// ---------------------------------------
|
|
900
|
+
@lime-panel-padding: 0;
|
|
901
|
+
@lime-panel-body-padding-top: .extract(#guide.panel[body-padding], top)[]; // Used in this file only, for consistency
|
|
902
|
+
@lime-panel-body-padding: @lime-panel-body-padding-top (.extract(#guide.panel[body-padding], right)[] - @lime-component-spacing);
|
|
903
|
+
|
|
904
|
+
// Picker
|
|
905
|
+
// ----------------------------------------
|
|
906
|
+
@lime-picker-title-margin-left: @lime-component-spacing + .extract(@lime-button-margin, left)[] + .extract(@lime-button-icon-small-padding, left)[];
|
|
907
|
+
@lime-picker-title-max-width: 480px;
|
|
908
|
+
@lime-picker-margin: 0 @lime-component-spacing;
|
|
909
|
+
@lime-picker-item-padding: 0 @lime-spotlight-outset;
|
|
910
|
+
@lime-picker-focus-duration: @lime-spotlight-focus-animation-duration;
|
|
911
|
+
@lime-picker-value-height: 72px;
|
|
912
|
+
@lime-picker-vertical-height: 362px;
|
|
913
|
+
@lime-picker-vertical-large-value-width: 696px;
|
|
914
|
+
@lime-picker-joined-horizontal-border-radius: var(--semantic-radius-full);
|
|
915
|
+
@lime-picker-joined-horizontal-height: 210px;
|
|
916
|
+
@lime-picker-joined-horizontal-large-value-width: 696px;
|
|
917
|
+
@lime-picker-joined-horizontal-padding: var(--primitive-spacing-36) var(--primitive-spacing-48);
|
|
918
|
+
@lime-picker-joined-horizontal-value-margin: 0 0 var(--primitive-spacing-48) 0;
|
|
919
|
+
@lime-picker-joined-vertical-border-radius: var(--semantic-radius-button);
|
|
920
|
+
@lime-picker-joined-value-height: 90px;
|
|
921
|
+
@lime-picker-small-value-width: (@lime-icon-large-size + (@lime-spotlight-outset * 3));
|
|
922
|
+
@lime-picker-medium-value-width: 360px;
|
|
923
|
+
@lime-picker-large-value-width: 468px;
|
|
924
|
+
@lime-picker-incrementer-margin: var(--primitive-spacing-36);
|
|
925
|
+
@lime-picker-incrementer-width: 120px;
|
|
926
|
+
@lime-picker-indicator-width: 24px;
|
|
927
|
+
@lime-picker-indicator-height: 24px;
|
|
928
|
+
@lime-picker-indicator-border-radius: @lime-picker-indicator-width;
|
|
929
|
+
@lime-picker-indicator-inactive-scale: 0.75;
|
|
930
|
+
@lime-picker-indicator-active-scale: 1;
|
|
931
|
+
@lime-picker-indicator-margin: var(--primitive-spacing-30) var(--primitive-spacing-12) 0;
|
|
932
|
+
|
|
933
|
+
// Popup
|
|
934
|
+
// ---------------------------------------
|
|
935
|
+
@lime-popup-padding: 48px 72px;
|
|
936
|
+
@lime-popup-border-radius: 24px;
|
|
937
|
+
// Remove the margin on the leading edge so we're not wasting some of our transition frames on animating empty space, but also account for the shadow.
|
|
938
|
+
@lime-popup-position-top-margin: 150px 120px 78px 120px; // 78px is the amount of space the shadow renders onto, so it's not clipped.
|
|
939
|
+
@lime-popup-position-right-margin: 120px 60px 120px @lime-component-spacing;
|
|
940
|
+
@lime-popup-position-bottom-margin: 0 120px 150px 120px;
|
|
941
|
+
@lime-popup-position-left-margin: 120px @lime-component-spacing 120px 60px;
|
|
942
|
+
@lime-popup-position-corner-margin: 60px;
|
|
943
|
+
|
|
944
|
+
// PopupTabLayout
|
|
945
|
+
// ---------------------------------------
|
|
946
|
+
@lime-popuptablayout-margin: 60px auto 132px 60px;
|
|
947
|
+
@lime-popuptablayout-tabs-border-radius: var(--semantic-radius-container);
|
|
948
|
+
@lime-popuptablayout-tabs-content-spacing: var(--primitive-spacing-36);
|
|
949
|
+
@lime-popuptablayout-content-border-radius: var(--semantic-radius-popup);
|
|
950
|
+
@lime-popuptablayout-content-margin: 0;
|
|
951
|
+
@lime-popuptablayout-panel-body-padding: var(--primitive-spacing-60);
|
|
952
|
+
|
|
953
|
+
// ProgressBar
|
|
954
|
+
// ---------------------------------------
|
|
955
|
+
@lime-progressbar-bar-thickness: 12px;
|
|
956
|
+
@lime-progressbar-bar-border-radius: var(--semantic-radius-full);
|
|
957
|
+
@lime-progressbar-margin: var(--primitive-spacing-24) 0;
|
|
958
|
+
@lime-progressbar-vertical-min-height: 240px;
|
|
959
|
+
@lime-progressbar-radial-size: 68px;
|
|
960
|
+
@lime-progressbar-radial-thickness: 6px;
|
|
961
|
+
@lime-progressbar-anchor-width: 6px;
|
|
962
|
+
@lime-progressbar-anchor-height: 48px;
|
|
963
|
+
@lime-progressbar-tooltip-offset: 12px;
|
|
964
|
+
@lime-progressbar-tooltip-above-offset: (@lime-progressbar-tooltip-offset + @lime-progressbar-bar-thickness);
|
|
965
|
+
@lime-progressbar-tooltip-below-offset: @lime-progressbar-tooltip-above-offset;
|
|
966
|
+
@lime-progressbar-tooltip-before-offset: @lime-progressbar-tooltip-below-offset;
|
|
967
|
+
@lime-progressbar-tooltip-after-offset: @lime-progressbar-tooltip-above-offset;
|
|
968
|
+
@lime-progressbar-tooltip-radial-offset: @lime-progressbar-tooltip-above-offset;
|
|
969
|
+
|
|
970
|
+
// ProgressButton
|
|
971
|
+
// ---------------------------------------
|
|
972
|
+
@lime-progressbutton-icon-font-size: (@lime-icon-tiny-size / 2);
|
|
973
|
+
|
|
974
|
+
// QuickGuidePanels
|
|
975
|
+
// ---------------------------------------
|
|
976
|
+
@lime-quickguidepanels-close-button-margin-top: (
|
|
977
|
+
.extract(#guide.header[standard-padding], top)[]
|
|
978
|
+
- #guide.get-edge-size-difference(
|
|
979
|
+
#guide.header[standard-title-line-height],
|
|
980
|
+
@lime-heading-title-font-size,
|
|
981
|
+
@lime-heading-title-line-height
|
|
982
|
+
)[@result]
|
|
983
|
+
) + 10px;
|
|
984
|
+
@lime-quickguidepanels-close-button-margin-end: 150px;
|
|
985
|
+
@lime-quickguidepanels-navigation-button-margin: 0 12px;
|
|
986
|
+
@lime-quickguidepanels-steps-margin-top: 90px;
|
|
987
|
+
@lime-quickguidepanels-steps-min-height: 48px;
|
|
988
|
+
|
|
989
|
+
// RadioItem
|
|
990
|
+
// ---------------------------------------
|
|
991
|
+
@lime-radioitem-icon-border-width: 4px; // ### Exceptional Case ###
|
|
992
|
+
// 4px, not being a multiple of 3, poses special problems. Any math or assignment related to
|
|
993
|
+
// this value must be specifically considered as to not impose layout issues related to, for
|
|
994
|
+
// example a width of 39.9996px, which can be treated by 38px or 40px, depending on the case.
|
|
995
|
+
@lime-radioitem-icon-border-radius: var(--semantic-radius-full);
|
|
996
|
+
@lime-radioitem-icon-margin: var(--primitive-spacing-24);
|
|
997
|
+
|
|
998
|
+
// Scrim
|
|
999
|
+
// ---------------------------------------
|
|
1000
|
+
@lime-scrim-color: fade(black, 30%);
|
|
1001
|
+
|
|
1002
|
+
// Scrollbar
|
|
1003
|
+
// ---------------------------------------
|
|
1004
|
+
@lime-scrollbar-padding: 12px;
|
|
1005
|
+
@lime-scrollbar-size: 36px;
|
|
1006
|
+
@lime-scrollbar-focusable-size: 60px;
|
|
1007
|
+
@lime-scrollbar-track-margin: 12px;
|
|
1008
|
+
@lime-scrollbar-track-focusable-margin: 24px;
|
|
1009
|
+
@lime-scrollbar-track-width: 12px;
|
|
1010
|
+
@lime-scrollbar-track-border-radius: var(--semantic-radius-full);
|
|
1011
|
+
@lime-scrollbar-thumb-border-radius: var(--semantic-radius-full);
|
|
1012
|
+
@lime-scrollbar-thumb-focus-width: 30px;
|
|
1013
|
+
@lime-scrollbar-thumb-focus-left: -9px;
|
|
1014
|
+
@lime-scrollbar-thumb-focus-border-radius: var(--semantic-radius-full);
|
|
1015
|
+
@lime-scrollbar-thumb-focus-box-shadow: 0 6px 18px;
|
|
1016
|
+
@lime-scrollbar-thumb-focus-direction-indicator-width: 18px;
|
|
1017
|
+
@lime-scrollbar-thumb-focus-direction-indicator-height: 12px;
|
|
1018
|
+
@lime-scrollbar-thumb-focus-direction-indicator-top: 9px;
|
|
1019
|
+
@lime-scrollbar-thumb-focus-direction-indicator-left: 6px;
|
|
1020
|
+
|
|
1021
|
+
// Scroller
|
|
1022
|
+
// ---------------------------------------
|
|
1023
|
+
@lime-scroll-fade-out-size: 48px;
|
|
1024
|
+
@lime-scroll-fade-out-offset: 24px;
|
|
1025
|
+
@lime-scroll-vertical-fade-out-padding: @lime-scroll-fade-out-size 0;
|
|
1026
|
+
@lime-scroll-horizontal-fade-out-padding: 0 @lime-scroll-fade-out-size;
|
|
1027
|
+
@lime-scroll-hover-area-size: 120px;
|
|
1028
|
+
@lime-scroll-focusablebody-padding: 72px 48px 72px 90px;
|
|
1029
|
+
@lime-scroll-focusablebody-padding-rtl: 72px 90px 72px 48px;
|
|
1030
|
+
@lime-scroll-focusablebody-focus-border-radius: 12px;
|
|
1031
|
+
|
|
1032
|
+
// Slider
|
|
1033
|
+
// ---------------------------------------
|
|
1034
|
+
@lime-slider-bar-height: @lime-progressbar-bar-thickness;
|
|
1035
|
+
@lime-slider-bar-vertical-min-height: 240px;
|
|
1036
|
+
@lime-slider-bar-padding: 24px;
|
|
1037
|
+
@lime-slider-knob-width: 48px;
|
|
1038
|
+
@lime-slider-knob-width-large: @lime-slider-knob-width;
|
|
1039
|
+
@lime-slider-knob-height: @lime-slider-knob-width;
|
|
1040
|
+
@lime-slider-knob-height-large: @lime-slider-knob-height;
|
|
1041
|
+
@lime-slider-tooltip-offset: (@lime-slider-knob-height / 2);
|
|
1042
|
+
@lime-slider-knob-resting-state-scale: 0.75;
|
|
1043
|
+
@lime-slider-tooltip-above-offset: (-@lime-progressbar-bar-thickness);
|
|
1044
|
+
@lime-slider-tooltip-below-offset: (@lime-progressbar-bar-thickness);
|
|
1045
|
+
@lime-slider-tooltip-before-offset: (-@lime-progressbar-bar-thickness);
|
|
1046
|
+
@lime-slider-tooltip-after-offset: (@lime-progressbar-bar-thickness);
|
|
1047
|
+
|
|
1048
|
+
// Spinner
|
|
1049
|
+
// ---------------------------------------
|
|
1050
|
+
@lime-spinner-size: 96px;
|
|
1051
|
+
@lime-spinner-small-size: 48px;
|
|
1052
|
+
@lime-spinner-small-size-large: 84px;
|
|
1053
|
+
@lime-spinner-time: 1.25s; // Length of the spinner animation
|
|
1054
|
+
@lime-spinner-line-width: 6px;
|
|
1055
|
+
@lime-spinner-small-line-width: 6px;
|
|
1056
|
+
@lime-spinner-line-margin: 24px;
|
|
1057
|
+
@lime-spinner-small-line-margin: 12px;
|
|
1058
|
+
@lime-spinner-font-weight: var(--primitive-font-weight-semibold);
|
|
1059
|
+
@lime-spinner-client-height: 132px;
|
|
1060
|
+
@lime-spinner-client-line-height: @lime-common-line-height;
|
|
1061
|
+
|
|
1062
|
+
// Steps
|
|
1063
|
+
// ---------------------------------------
|
|
1064
|
+
@lime-steps-step-number-font-weight: var(--primitive-font-weight-semibold);
|
|
1065
|
+
@lime-steps-step-margin: 0 var(--primitive-spacing-30);
|
|
1066
|
+
@lime-steps-step-current-opacity: 1;
|
|
1067
|
+
@lime-steps-step-future-opacity: 1;
|
|
1068
|
+
@lime-steps-step-highlight-current-only-future-opacity: 1;
|
|
1069
|
+
@lime-steps-pageindicator-size: 18px;
|
|
1070
|
+
@lime-steps-pageindicator-margin: 0 var(--primitive-spacing-12);
|
|
1071
|
+
@lime-steps-pageindicator-border-radius: var(--semantic-radius-full);
|
|
1072
|
+
@lime-steps-pageindicator-current-size: 24px;
|
|
1073
|
+
@lime-steps-pageindicator-current-margin: 0 var(--primitive-spacing-6);
|
|
1074
|
+
|
|
1075
|
+
// Switch
|
|
1076
|
+
// ---------------------------------------
|
|
1077
|
+
@lime-switch-border-radius: 30px;
|
|
1078
|
+
@lime-switch-height: 60px;
|
|
1079
|
+
@lime-switch-width: 120px;
|
|
1080
|
+
@lime-switch-icon-height: 48px;
|
|
1081
|
+
@lime-switch-icon-line-height: @lime-switch-height;
|
|
1082
|
+
@lime-switch-height-large: @lime-icon-small-size-large;
|
|
1083
|
+
@lime-switch-width-large: 162px;
|
|
1084
|
+
@lime-switch-icon-height-large: @lime-icon-small-size-large;
|
|
1085
|
+
@lime-switch-icon-line-height-large: @lime-switch-icon-height-large;
|
|
1086
|
+
@lime-switch-icon-top: ((@lime-switch-height - @lime-switch-icon-height) / 2);
|
|
1087
|
+
@lime-switch-spottable-margin: @lime-component-spacing;
|
|
1088
|
+
@lime-switch-spottable-border-radius: 24px;
|
|
1089
|
+
@lime-switch-spottable-position: -@lime-component-spacing; // These correlate with the numbers from 'margin" above
|
|
1090
|
+
|
|
1091
|
+
// TabLayout
|
|
1092
|
+
// ---------------------------------------
|
|
1093
|
+
@lime-tablayout-border-radius: var(--semantic-radius-container);
|
|
1094
|
+
@lime-tablayout-collapse-duration: 250ms;
|
|
1095
|
+
@lime-tablayout-vertical-content-margin-top: 0;
|
|
1096
|
+
@lime-tablayout-horizontal-content-margin-top: var(--primitive-spacing-96);
|
|
1097
|
+
@lime-tablayout-horizontal-tabs-margin: 0 18px;
|
|
1098
|
+
@lime-tablayout-horizontal-tabs-padding: var(--primitive-spacing-12);
|
|
1099
|
+
@lime-tablayout-horizontal-tabs-spacing: var(--primitive-spacing-48);
|
|
1100
|
+
@lime-tablayout-vertical-tabs-padding: var(--primitive-spacing-36);
|
|
1101
|
+
@lime-tablayout-vertical-tabs-spacing: @lime-tablayout-vertical-tabs-padding;
|
|
1102
|
+
@lime-tablayout-tab-vertical-button-height: 156px;
|
|
1103
|
+
@lime-tablayout-tab-vertical-margin: var(--primitive-spacing-30);
|
|
1104
|
+
@lime-tablayout-tab-vertical-padding: var(--primitive-spacing-36) var(--primitive-spacing-48);
|
|
1105
|
+
@lime-tablayout-tab-vertical-icon-padding: var(--primitive-spacing-30);
|
|
1106
|
+
@lime-tablayout-tab-vertical-icon-padding-right: var(--primitive-spacing-48);
|
|
1107
|
+
@lime-tablayout-tab-horizontal-button-height: 108px;
|
|
1108
|
+
@lime-tablayout-tab-horizontal-small-button-height: 96px;
|
|
1109
|
+
@lime-tablayout-tab-horizontal-small-button-line-height: 60px;
|
|
1110
|
+
@lime-tablayout-tab-horizontal-padding: var(--primitive-spacing-24);
|
|
1111
|
+
@lime-tablayout-tab-group-vertical-height: 1584px;
|
|
1112
|
+
@lime-tablayout-tab-group-vertical-scrollbar-track-margin: 36px;
|
|
1113
|
+
@lime-tablayout-tab-group-vertical-scrollbar-height: calc(100% - 72px);
|
|
1114
|
+
@lime-tablayout-tab-margin: 0;
|
|
1115
|
+
|
|
1116
|
+
// Tooltip
|
|
1117
|
+
// ---------------------------------------
|
|
1118
|
+
@lime-tooltip-font-weight: var(--primitive-font-weight-semibold);
|
|
1119
|
+
@lime-tooltip-transparent-font-weight: var(--primitive-font-weight-regular);
|
|
1120
|
+
@lime-tooltip-offset: var(--primitive-spacing-24);
|
|
1121
|
+
@lime-tooltip-transparent-label-offset: 0px;
|
|
1122
|
+
@lime-tooltip-arrow-offset: 0;
|
|
1123
|
+
@lime-tooltip-point-width: 31px; // actual value is 30px. +1px to ensure no gaps
|
|
1124
|
+
@lime-tooltip-point-height: 37px; // actual value is 36px. +1px to ensure no gaps
|
|
1125
|
+
@lime-tooltip-border-radius: var(--semantic-radius-button);
|
|
1126
|
+
@lime-tooltip-label-line-height: 72px;
|
|
1127
|
+
@lime-tooltip-padding: var(--primitive-spacing-12) var(--primitive-spacing-48);
|
|
1128
|
+
@lime-tooltip-margin-offset: var(--primitive-spacing-18); // GUI for the length of the arrow
|
|
1129
|
+
@lime-tooltip-marquee-width: 600px;
|
|
1130
|
+
@lime-tooltip-max-width: 1200px;
|
|
1131
|
+
|
|
1132
|
+
// Video
|
|
1133
|
+
// ---------------------------------------
|
|
1134
|
+
@lime-video-back-button-left: 132px;
|
|
1135
|
+
@lime-video-back-button-top: 102px;
|
|
1136
|
+
@lime-video-slider-tooltip-arrow-border-left-right: 18px;
|
|
1137
|
+
@lime-video-slider-tooltip-arrow-border-top: 24px;
|
|
1138
|
+
@lime-video-slider-tooltip-position-bottom: 42px;
|
|
1139
|
+
@lime-video-slider-tooltip-shift-position-bottom: @lime-video-slider-tooltip-position-bottom + @lime-video-slider-tooltip-arrow-border-top;
|
|
1140
|
+
@lime-video-slider-tooltip-margin-bottom: 6px;
|
|
1141
|
+
@lime-video-slider-tooltip-font-size: 48px;
|
|
1142
|
+
@lime-video-slider-tooltip-font-weight: var(--primitive-font-weight-regular);
|
|
1143
|
+
@lime-video-slider-tooltip-line-height: 72px;
|
|
1144
|
+
@lime-video-slider-tooltip-gutter-width: var(--primitive-spacing-12);
|
|
1145
|
+
@lime-video-slider-tooltip-thumbnail-border-width: 6px;
|
|
1146
|
+
@lime-video-slider-tooltip-thumbnail-width: 426px;
|
|
1147
|
+
@lime-video-slider-tooltip-thumbnail-height: 240px;
|
|
1148
|
+
@lime-video-slider-tooltip-deactivated-thumbnail-opacity: 0.5;
|
|
1149
|
+
@lime-video-feedback-icon-font-size: 1.25em;
|
|
1150
|
+
@lime-video-feedback-margin: 24px;
|
|
1151
|
+
@lime-video-feedback-mini-font-size: var(--primitive-font-size-60);
|
|
1152
|
+
@lime-video-feedback-mini-font-weight: var(--primitive-font-weight-regular);
|
|
1153
|
+
@lime-video-feedback-mini-height: 168px;
|
|
1154
|
+
@lime-video-feedback-mini-line-height: @lime-common-line-height;
|
|
1155
|
+
@lime-video-feedback-mini-margin-bottom: 72px;
|
|
1156
|
+
@lime-video-feedback-message-font-weight: var(--primitive-font-weight-semibold);
|
|
1157
|
+
@lime-video-player-badge-text-size: var(--primitive-font-size-48);
|
|
1158
|
+
@lime-video-player-info-font-size: var(--primitive-font-size-54);
|
|
1159
|
+
@lime-video-player-info-font-weight: var(--primitive-font-weight-regular);
|
|
1160
|
+
@lime-video-player-info-height: 84px;
|
|
1161
|
+
@lime-video-player-info-line-height: 72px;
|
|
1162
|
+
@lime-video-player-info-padding: var(--primitive-spacing-72) var(--primitive-spacing-48) 0;
|
|
1163
|
+
@lime-video-player-info-margin-bottom: 60px;
|
|
1164
|
+
@lime-video-player-slider-container-height: 132px;
|
|
1165
|
+
@lime-video-player-slider-container-padding: 0 var(--primitive-spacing-48);
|
|
1166
|
+
@lime-video-player-padding-bottom: 0;
|
|
1167
|
+
@lime-video-player-padding-side: 132px;
|
|
1168
|
+
@lime-video-player-label-font-size: var(--primitive-font-size-90);
|
|
1169
|
+
@lime-video-player-label-font-weight: var(--primitive-font-weight-semibold);
|
|
1170
|
+
@lime-video-player-label-line-height: 120px;
|
|
1171
|
+
|
|
1172
|
+
// VirtualList
|
|
1173
|
+
// ---------------------------------------
|
|
1174
|
+
@lime-virtuallist-container-border-radius: var(--semantic-radius-container);
|
|
1175
|
+
|
|
1176
|
+
// WizardPanels
|
|
1177
|
+
// ---------------------------------------
|
|
1178
|
+
@lime-wizardpanels-steps-height: 60px;
|
|
1179
|
+
@lime-wizardpanels-steps-margin-top: ~"calc("var(--primitive-spacing-84) ~"* -1)"; // The negative value (-84px = steps height (60px) + additional spacing between the title and steps (24px)), ensures the steps component doesn't affect the padding between title and top of the container
|
|
1180
|
+
@lime-wizardpanels-content-margin: var(--primitive-spacing-60) (324px - .extract(@lime-panel-body-padding, left)[]);
|
|
1181
|
+
@lime-wizardpanels-footer-margin: 0 0 var(--primitive-spacing-132) 0;
|
|
1182
|
+
@lime-wizardpanels-button-icon-text-gap: var(--primitive-spacing-36);
|