@spothero/ui 15.10.8 → 16.0.0-beta.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/.eslintignore +2 -1
- package/dex.config.js +1 -1
- package/jest.config.json +1 -2
- package/package.json +8 -24
- package/styles/{v2/components → components}/Accordion/Accordion.stories.js +2 -2
- package/styles/{v2/components → components}/Accordion/styles/button.js +1 -1
- package/styles/{v2/components → components}/Alert/Alert.jsx +2 -2
- package/styles/{v2/components → components}/AutoSuggestSelect/AutoSuggestSelect.jsx +7 -0
- package/styles/{v2/components → components}/Button/stories/button.js +1 -1
- package/styles/{v2/components → components}/Button/stories/overview.js +1 -1
- package/styles/{v2/components → components}/FormControl/FormControl.jsx +2 -0
- package/styles/{v2/components → components}/Grid/Grid.stories.js +1 -1
- package/styles/{v2/components → components}/Heading/Heading.styles.js +1 -1
- package/styles/{v2/components → components}/Image/Image.jsx +23 -2
- package/styles/{v2/components → components}/Link/Link.stories.js +2 -2
- package/styles/{v2/components → components}/List/List.stories.js +2 -2
- package/styles/{v2/components → components}/Modal/Modal.jsx +0 -1
- package/styles/{v2/components → components}/Modal/Modal.stories.js +4 -4
- package/styles/{v2/components → components}/Popover/Popover.stories.js +1 -1
- package/styles/{v2/components → components}/Popover/styles/index.js +1 -1
- package/styles/{v2/components/Popover/styles/popper.js → components/Popover/styles/popover-content.js} +8 -5
- package/styles/components/Popover/styles/popper.js +5 -0
- package/styles/{v2/components → components}/Skeleton/index.js +1 -1
- package/styles/{v2/components → components}/Spinner/Spinner.stories.js +1 -1
- package/styles/{v2/components → components}/Table/Table.styles.js +1 -1
- package/styles/{v2/components → components}/Tabs/Tabs.jsx +2 -3
- package/styles/{v2/components → components}/Tabs/combineSizeWithVariant.js +5 -3
- package/styles/{v2/components → components}/Text/Text.styles.js +1 -1
- package/styles/{v2/components → components}/Text/combineAsWithVariant.js +1 -1
- package/styles/{v2/components → components}/ThemeProvider/ThemeProvider.jsx +2 -2
- package/styles/{v2/components → components}/ThemeProvider/ThemeProvider.stories.js +2 -2
- package/v2/index.js +1 -1
- package/v2/index.js.map +1 -1
- package/backlog/Alert/Alert.js +0 -37
- package/backlog/AutoSuggestInput/AutoSuggestInput.js +0 -474
- package/backlog/AutoSuggestInput/AutoSuggestItem.js +0 -99
- package/backlog/AutoSuggestInput/AutoSuggestList.js +0 -126
- package/backlog/Badge/Badge.js +0 -28
- package/backlog/Chart/Chart.js +0 -211
- package/backlog/Checkbox/Checkbox.js +0 -167
- package/backlog/DateTime/DatePicker.js +0 -279
- package/backlog/DateTime/DatePickerCalendar.js +0 -199
- package/backlog/DateTime/DatePickerCalendarNavigation.js +0 -102
- package/backlog/DateTime/DatePickerCalendarWithRange.js +0 -241
- package/backlog/DateTime/DateTimePicker.js +0 -216
- package/backlog/DateTime/DateTimeRangePicker.js +0 -530
- package/backlog/DateTime/TimePicker.js +0 -180
- package/backlog/DateTime/date-time-assertions.js +0 -66
- package/backlog/DateTime/index.js +0 -55
- package/backlog/ErrorBoundary/ErrorBoundary.js +0 -125
- package/backlog/Flyout/Flyout.js +0 -198
- package/backlog/Form/Form.js +0 -193
- package/backlog/Form/FormElementError.js +0 -24
- package/backlog/Form/FormGroup.js +0 -30
- package/backlog/Form/FormGroupError.js +0 -28
- package/backlog/Form/index.js +0 -39
- package/backlog/GooglePlacesSearchInput/GooglePlacesSearchInput.js +0 -253
- package/backlog/GooglePlacesSearchInput/PoweredByGoogle.js +0 -38
- package/backlog/GooglePlacesSearchInput/index.js +0 -23
- package/backlog/HorizontalRule/HorizontalRule.js +0 -30
- package/backlog/Label/Label.js +0 -31
- package/backlog/Notification/Notification.js +0 -178
- package/backlog/Notification/NotificationContainer.js +0 -131
- package/backlog/Notification/NotificationPropTypes.js +0 -37
- package/backlog/Notification/index.js +0 -23
- package/backlog/PasswordControl/PasswordControl.js +0 -201
- package/backlog/Portal/Portal.js +0 -110
- package/backlog/PulseLoader/PulseLoader.js +0 -62
- package/backlog/Radio/Radio.js +0 -135
- package/backlog/Radio/RadioGroup.js +0 -123
- package/backlog/Radio/index.js +0 -23
- package/backlog/RenderInBody/RenderInBody.js +0 -103
- package/backlog/Select/Select.js +0 -275
- package/backlog/Select/SelectItemPropTypes.js +0 -32
- package/backlog/Select/index.js +0 -23
- package/backlog/SelectControlled/SelectControlled.js +0 -270
- package/backlog/SelectControlled/index.js +0 -15
- package/backlog/Sprite/Sprite.js +0 -24
- package/backlog/Tabs/Tab.js +0 -94
- package/backlog/Tabs/TabContent.js +0 -56
- package/backlog/Tabs/TabNavigation.js +0 -108
- package/backlog/Tabs/TabPanel.js +0 -29
- package/backlog/Tabs/Tabs.js +0 -126
- package/backlog/Tabs/index.js +0 -47
- package/backlog/TextArea/TextArea.js +0 -155
- package/backlog/TextInput/TextInput.js +0 -230
- package/backlog/TextInput/TextInputPropTypes.js +0 -114
- package/backlog/TextInput/index.js +0 -23
- package/backlog/Tooltip/Tooltip.js +0 -249
- package/backlog/index.js +0 -393
- package/backlog/v1/components/Button/Button.js +0 -64
- package/backlog/v1/components/Button/button-props.js +0 -48
- package/backlog/v1/components/Image/Image.js +0 -193
- package/backlog/v1/components/Loader/Loader.js +0 -51
- package/backlog/v1/components/Modal/Modal.js +0 -325
- package/backlog/v1/components/Modal/ModalContent.js +0 -154
- package/backlog/v1/components/Modal/ModalFooter.js +0 -89
- package/backlog/v1/components/Modal/index.js +0 -31
- package/backlog/v1/components/Panel/Panel.js +0 -209
- package/backlog/v1/components/Table/Table.js +0 -336
- package/backlog/v1/components/Table/TableCell.js +0 -28
- package/backlog/v1/components/Table/TableCellPropTypes.js +0 -22
- package/backlog/v1/components/Table/TableControls.js +0 -56
- package/backlog/v1/components/Table/TableFooter.js +0 -63
- package/backlog/v1/components/Table/TableHeading.js +0 -126
- package/backlog/v1/components/Table/TableHeadingPropTypes.js +0 -35
- package/backlog/v1/components/Table/TableSortSelector.js +0 -125
- package/backlog/v1/components/Table/TableSortType.js +0 -11
- package/backlog/v1/components/Table/index.js +0 -47
- package/backlog/v1/components/TextButton/TextButton.js +0 -74
- package/backlog/v1/components/index.js +0 -75
- package/backlog/v1/utils/deprecate.js +0 -61
- package/styles/Alert/_Alert.scss +0 -51
- package/styles/AutoSuggestInput/_AutoSuggestInput.scss +0 -116
- package/styles/Badge/_Badge.scss +0 -33
- package/styles/Chart/_Chart.scss +0 -105
- package/styles/Chart/_chartist-settings.scss +0 -131
- package/styles/Chart/_chartist.scss +0 -295
- package/styles/Checkbox/_Checkbox.scss +0 -173
- package/styles/DateTime/_DatePicker.scss +0 -61
- package/styles/DateTime/_DatePickerCalendar.scss +0 -159
- package/styles/DateTime/_DateTime.scss +0 -4
- package/styles/DateTime/_DateTimePicker.scss +0 -46
- package/styles/DateTime/_TimePicker.scss +0 -30
- package/styles/ErrorBoundary/_ErrorBoundary.scss +0 -18
- package/styles/Flyout/_Flyout.scss +0 -73
- package/styles/Form/_Form.scss +0 -53
- package/styles/GooglePlacesSearchInput/_GooglePlacesSearchInput.scss +0 -3
- package/styles/GooglePlacesSearchInput/_PoweredByGoogle.scss +0 -21
- package/styles/HorizontalRule/_HorizontalRule.scss +0 -48
- package/styles/Label/_Label.scss +0 -6
- package/styles/Notification/_Notification.scss +0 -113
- package/styles/PasswordControl/_PasswordControl.scss +0 -86
- package/styles/PulseLoader/_PulseLoader.scss +0 -60
- package/styles/Radio/_Radio.scss +0 -93
- package/styles/Select/_Select.scss +0 -94
- package/styles/Tabs/_Tabs.scss +0 -57
- package/styles/TextArea/_TextArea.scss +0 -26
- package/styles/TextInput/_TextInput.scss +0 -43
- package/styles/Tooltip/_Tooltip.scss +0 -108
- package/styles/_index.scss +0 -34
- package/styles/common/sass/_control-sizing.scss +0 -5
- package/styles/common/sass/_disable-scrolling.scss +0 -7
- package/styles/common/sass/_forms.scss +0 -72
- package/styles/index.js +0 -50
- package/styles/v1/components/Button/Button.jsx +0 -48
- package/styles/v1/components/Button/Button.spec.js +0 -76
- package/styles/v1/components/Button/_Button.scss +0 -178
- package/styles/v1/components/Button/button-props.js +0 -30
- package/styles/v1/components/Button/stories/button.js +0 -20
- package/styles/v1/components/Button/stories/index.stories.js +0 -92
- package/styles/v1/components/Button/stories/overview.js +0 -87
- package/styles/v1/components/Button/stories/types.js +0 -31
- package/styles/v1/components/Image/Image.jsx +0 -175
- package/styles/v1/components/Image/Image.spec.js +0 -113
- package/styles/v1/components/Image/_Image.scss +0 -24
- package/styles/v1/components/Image/stories/Cloudinary.stories.js +0 -39
- package/styles/v1/components/Image/stories/Display.stories.js +0 -92
- package/styles/v1/components/Loader/Loader.jsx +0 -54
- package/styles/v1/components/Loader/Loader.spec.js +0 -67
- package/styles/v1/components/Loader/_Loader.scss +0 -18
- package/styles/v1/components/Loader/stories/Display.stories.js +0 -55
- package/styles/v1/components/Modal/Modal.jsx +0 -315
- package/styles/v1/components/Modal/Modal.spec.js +0 -293
- package/styles/v1/components/Modal/ModalContent.jsx +0 -126
- package/styles/v1/components/Modal/ModalFooter.jsx +0 -53
- package/styles/v1/components/Modal/_Modal.scss +0 -262
- package/styles/v1/components/Modal/index.js +0 -3
- package/styles/v1/components/Modal/stories/Content.stories.js +0 -314
- package/styles/v1/components/Modal/stories/Display.stories.js +0 -208
- package/styles/v1/components/Modal/stories/Methods.stories.js +0 -44
- package/styles/v1/components/Modal/stories/Width.stories.js +0 -82
- package/styles/v1/components/Modal/stories/helpers/ReduxConsumer.jsx +0 -21
- package/styles/v1/components/Panel/Panel.jsx +0 -202
- package/styles/v1/components/Panel/Panel.spec.js +0 -196
- package/styles/v1/components/Panel/_Panel.scss +0 -55
- package/styles/v1/components/Panel/stories/Display.stories.js +0 -82
- package/styles/v1/components/Panel/stories/Methods.stories.js +0 -76
- package/styles/v1/components/Table/Table.jsx +0 -367
- package/styles/v1/components/Table/Table.spec.js +0 -526
- package/styles/v1/components/Table/TableCell.jsx +0 -17
- package/styles/v1/components/Table/TableCellPropTypes.js +0 -10
- package/styles/v1/components/Table/TableControls.jsx +0 -61
- package/styles/v1/components/Table/TableFooter.jsx +0 -72
- package/styles/v1/components/Table/TableHeading.jsx +0 -58
- package/styles/v1/components/Table/TableHeadingPropTypes.js +0 -20
- package/styles/v1/components/Table/TableSortSelector.jsx +0 -63
- package/styles/v1/components/Table/TableSortType.js +0 -4
- package/styles/v1/components/Table/_Table.scss +0 -263
- package/styles/v1/components/Table/index.js +0 -5
- package/styles/v1/components/Table/stories/Display.stories.js +0 -194
- package/styles/v1/components/Table/stories/Methods.stories.js +0 -141
- package/styles/v1/components/Table/stories/helpers/TableCellEmail.jsx +0 -25
- package/styles/v1/components/Table/stories/helpers/TableCustomRow.jsx +0 -35
- package/styles/v1/components/Table/stories/helpers/TableHeadingEmail.jsx +0 -20
- package/styles/v1/components/Table/stories/helpers/table-data.js +0 -26
- package/styles/v1/components/Table/stories/helpers/table-headers.js +0 -14
- package/styles/v1/components/TextButton/TextButton.jsx +0 -78
- package/styles/v1/components/TextButton/TextButton.spec.js +0 -95
- package/styles/v1/components/TextButton/_TextButton.scss +0 -114
- package/styles/v1/components/TextButton/stories/Display.stories.js +0 -46
- package/styles/v1/components/index.js +0 -7
- package/styles/v1/utils/deprecate.js +0 -45
- package/styles/v2/components/Popover/styles/popover-content.js +0 -8
- package/styles/v2/components/index.js +0 -70
- package/styles/v2/components/styles.js +0 -21
- package/styles/v2/theme/global.js +0 -118
- package/styles/v2/theme/index.js +0 -27
- package/styles/v2/utils/Spaces.js +0 -16
- package/v1/assets-manifest.json +0 -5
- package/v1/index.html +0 -1
- package/v1/index.js +0 -3
- package/v1/index.js.LICENSE.txt +0 -23
- package/v1/index.js.map +0 -1
- /package/styles/{v2/components → components}/Accordion/Accordion.jsx +0 -0
- /package/styles/{v2/components → components}/Accordion/index.js +0 -0
- /package/styles/{v2/components → components}/Accordion/styles/container.js +0 -0
- /package/styles/{v2/components → components}/Accordion/styles/index.js +0 -0
- /package/styles/{v2/components → components}/Accordion/styles/panel.js +0 -0
- /package/styles/{v2/components → components}/Alert/Alert.stories.js +0 -0
- /package/styles/{v2/components → components}/Alert/index.js +0 -0
- /package/styles/{v2/components → components}/Alert/styles/index.js +0 -0
- /package/styles/{v2/components → components}/AutoSuggestSelect/index.js +0 -0
- /package/styles/{v2/components → components}/Badge/Badge.jsx +0 -0
- /package/styles/{v2/components → components}/Badge/Badge.stories.js +0 -0
- /package/styles/{v2/components → components}/Badge/styles/index.js +0 -0
- /package/styles/{v2/components → components}/Button/Button.jsx +0 -0
- /package/styles/{v2/components → components}/Button/Button.spec.js +0 -0
- /package/styles/{v2/components → components}/Button/Button.styles.js +0 -0
- /package/styles/{v2/components → components}/Button/button-props.js +0 -0
- /package/styles/{v2/components → components}/Button/index.js +0 -0
- /package/styles/{v2/components → components}/Button/stories/index.stories.js +0 -0
- /package/styles/{v2/components → components}/Card/Card.jsx +0 -0
- /package/styles/{v2/components → components}/Card/Card.stories.js +0 -0
- /package/styles/{v2/components → components}/Checkbox/Checkbox.jsx +0 -0
- /package/styles/{v2/components → components}/Checkbox/Checkbox.stories.js +0 -0
- /package/styles/{v2/components → components}/Checkbox/index.js +0 -0
- /package/styles/{v2/components → components}/Checkbox/styles/index.js +0 -0
- /package/styles/{v2/components → components}/Container/Container.jsx +0 -0
- /package/styles/{v2/components → components}/Container/Container.stories.js +0 -0
- /package/styles/{v2/components → components}/Container/Container.styles.js +0 -0
- /package/styles/{v2/components → components}/Divider/Divider.jsx +0 -0
- /package/styles/{v2/components → components}/Divider/Divider.stories.js +0 -0
- /package/styles/{v2/components → components}/Divider/Divider.styles.js +0 -0
- /package/styles/{v2/components → components}/Grid/Grid.jsx +0 -0
- /package/styles/{v2/components → components}/Grid/Grid.styles.js +0 -0
- /package/styles/{v2/components → components}/Grid/GridItem.jsx +0 -0
- /package/styles/{v2/components → components}/Grid/GridItem.styles.js +0 -0
- /package/styles/{v2/components → components}/Grid/index.js +0 -0
- /package/styles/{v2/components → components}/Heading/Heading.jsx +0 -0
- /package/styles/{v2/components → components}/Heading/Heading.stories.js +0 -0
- /package/styles/{v2/components → components}/Icon/Icon.jsx +0 -0
- /package/styles/{v2/components → components}/Icon/Icon.stories.js +0 -0
- /package/styles/{v2/components → components}/Image/Image.spec.js +0 -0
- /package/styles/{v2/components → components}/Image/Image.stories.js +0 -0
- /package/styles/{v2/components → components}/Input/Input.jsx +0 -0
- /package/styles/{v2/components → components}/Input/Input.stories.js +0 -0
- /package/styles/{v2/components → components}/Input/index.js +0 -0
- /package/styles/{v2/components → components}/Input/styles/index.js +0 -0
- /package/styles/{v2/components → components}/Link/Link.jsx +0 -0
- /package/styles/{v2/components → components}/Link/Link.styles.js +0 -0
- /package/styles/{v2/components → components}/List/List.jsx +0 -0
- /package/styles/{v2/components → components}/List/index.js +0 -0
- /package/styles/{v2/components → components}/List/styles/index.js +0 -0
- /package/styles/{v2/components → components}/List/styles/item.styles.js +0 -0
- /package/styles/{v2/components → components}/Loader/Loader.jsx +0 -0
- /package/styles/{v2/components → components}/Loader/Loader.stories.js +0 -0
- /package/styles/{v2/components → components}/Modal/index.js +0 -0
- /package/styles/{v2/components → components}/Modal/styles/body.js +0 -0
- /package/styles/{v2/components → components}/Modal/styles/closeButton.js +0 -0
- /package/styles/{v2/components → components}/Modal/styles/dialog.js +0 -0
- /package/styles/{v2/components → components}/Modal/styles/dialogContainer.js +0 -0
- /package/styles/{v2/components → components}/Modal/styles/footer.js +0 -0
- /package/styles/{v2/components → components}/Modal/styles/header.js +0 -0
- /package/styles/{v2/components → components}/Modal/styles/index.js +0 -0
- /package/styles/{v2/components → components}/Modal/styles/overlay.js +0 -0
- /package/styles/{v2/components → components}/Popover/Popover.jsx +0 -0
- /package/styles/{v2/components → components}/Popover/PopoverArrow.jsx +0 -0
- /package/styles/{v2/components → components}/Popover/PopoverCloseButton.jsx +0 -0
- /package/styles/{v2/components → components}/Popover/PopoverContent.jsx +0 -0
- /package/styles/{v2/components → components}/Popover/index.js +0 -0
- /package/styles/{v2/components → components}/Popover/styles/popover-arrow.js +0 -0
- /package/styles/{v2/components → components}/Popover/styles/popover-body.js +0 -0
- /package/styles/{v2/components → components}/Popover/styles/popover-close-button.js +0 -0
- /package/styles/{v2/components → components}/Popover/styles/popover-header.js +0 -0
- /package/styles/{v2/components → components}/Radio/Radio.jsx +0 -0
- /package/styles/{v2/components → components}/Radio/Radio.stories.js +0 -0
- /package/styles/{v2/components → components}/Radio/RadioGroup.jsx +0 -0
- /package/styles/{v2/components → components}/Radio/index.js +0 -0
- /package/styles/{v2/components → components}/Radio/styles/index.js +0 -0
- /package/styles/{v2/components → components}/Select/Select.jsx +0 -0
- /package/styles/{v2/components → components}/Select/Select.stories.js +0 -0
- /package/styles/{v2/components → components}/Select/index.js +0 -0
- /package/styles/{v2/components → components}/Select/styles/index.js +0 -0
- /package/styles/{v2/components → components}/Skeleton/Skeleton.stories.jsx +0 -0
- /package/styles/{v2/components → components}/Skeleton/Skeleton.styles.js +0 -0
- /package/styles/{v2/components → components}/Spinner/Spinner.jsx +0 -0
- /package/styles/{v2/components → components}/Spinner/Spinner.styles.js +0 -0
- /package/styles/{v2/components → components}/Switch/Switch.jsx +0 -0
- /package/styles/{v2/components → components}/Switch/Switch.stories.js +0 -0
- /package/styles/{v2/components → components}/Switch/index.js +0 -0
- /package/styles/{v2/components → components}/Switch/styles/index.js +0 -0
- /package/styles/{v2/components → components}/Table/Table.jsx +0 -0
- /package/styles/{v2/components → components}/Table/Table.stories.js +0 -0
- /package/styles/{v2/components → components}/Table/index.js +0 -0
- /package/styles/{v2/components → components}/Tabs/Tabs.stories.js +0 -0
- /package/styles/{v2/components → components}/Tabs/index.js +0 -0
- /package/styles/{v2/components → components}/Tabs/styles/index.js +0 -0
- /package/styles/{v2/components → components}/Text/Text.jsx +0 -0
- /package/styles/{v2/components → components}/Text/Text.stories.js +0 -0
- /package/styles/{v2/components → components}/Text/options.js +0 -0
- /package/styles/{v2/theme → theme}/base/breakpoints.js +0 -0
- /package/styles/{v2/theme → theme}/base/colors.js +0 -0
- /package/styles/{v2/theme → theme}/base/index.js +0 -0
- /package/styles/{v2/theme → theme}/base/sizes.js +0 -0
- /package/styles/{v2/theme → theme}/base/typography.js +0 -0
- /package/styles/{v2/theme → theme}/base/zindices.js +0 -0
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
.AutoSuggestInput {
|
|
2
|
-
position: relative;
|
|
3
|
-
|
|
4
|
-
.FormElement-item {
|
|
5
|
-
padding-right: 35px;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.AutoSuggestInput-suggestions-active {
|
|
10
|
-
.FormElement-item {
|
|
11
|
-
border-bottom-right-radius: 0;
|
|
12
|
-
border-bottom-left-radius: 0;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.AutoSuggestInput-no-suggestions {
|
|
17
|
-
.FormElement-item {
|
|
18
|
-
border-bottom-left-radius: 4px;
|
|
19
|
-
border-bottom-right-radius: 4px;
|
|
20
|
-
|
|
21
|
-
@include breakpoint($breakpoint-md) {
|
|
22
|
-
border-bottom-left-radius: 3px;
|
|
23
|
-
border-bottom-right-radius: 3px;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.AutoSuggestInput-suggestions {
|
|
29
|
-
position: absolute;
|
|
30
|
-
top: 100%;
|
|
31
|
-
left: 0;
|
|
32
|
-
right: 0;
|
|
33
|
-
max-height: 224px;
|
|
34
|
-
padding: 0;
|
|
35
|
-
margin-top: -1px;
|
|
36
|
-
background: $color-white;
|
|
37
|
-
border: 1px solid $color-dashboard;
|
|
38
|
-
overflow-x: hidden;
|
|
39
|
-
overflow-y: auto;
|
|
40
|
-
list-style: none;
|
|
41
|
-
text-align: left;
|
|
42
|
-
z-index: $z-index-layer1;
|
|
43
|
-
border-bottom-left-radius: 2px;
|
|
44
|
-
border-bottom-right-radius: 2px;
|
|
45
|
-
transition: max-height 0.2s, border 0.2s;
|
|
46
|
-
|
|
47
|
-
.AutoSuggestInput-no-suggestions & {
|
|
48
|
-
display: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
@include breakpoint($breakpoint-md) {
|
|
52
|
-
max-height: 25em;
|
|
53
|
-
border-color: $color-black;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.AutoSuggestInput-suggestions-hidden {
|
|
58
|
-
max-height: 0;
|
|
59
|
-
overflow: hidden;
|
|
60
|
-
border-width: 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.AutoSuggestInput-item {
|
|
64
|
-
@include ellipsis;
|
|
65
|
-
font-size: 14px;
|
|
66
|
-
cursor: pointer;
|
|
67
|
-
padding: 7px 10px 7px 16px;
|
|
68
|
-
|
|
69
|
-
&:hover,
|
|
70
|
-
&:focus {
|
|
71
|
-
background: $color-pavement;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
@include breakpoint($breakpoint-md) {
|
|
75
|
-
font-size: 13px;
|
|
76
|
-
padding: 5px 10px 5px 18px;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
%active-suggestions {
|
|
81
|
-
background: $color-shift;
|
|
82
|
-
color: $color-white;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.AutoSuggestInput-item-active {
|
|
86
|
-
@extend %active-suggestions;
|
|
87
|
-
|
|
88
|
-
&:hover,
|
|
89
|
-
&:focus {
|
|
90
|
-
background: $color-shift-hover;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.AutoSuggestInput-clear {
|
|
95
|
-
@include center(false, true);
|
|
96
|
-
left: auto;
|
|
97
|
-
right: 10px;
|
|
98
|
-
margin: auto;
|
|
99
|
-
height: 18px;
|
|
100
|
-
padding: 0;
|
|
101
|
-
color: $color-shift;
|
|
102
|
-
|
|
103
|
-
&:hover {
|
|
104
|
-
color: $color-shift-hover;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.Icon {
|
|
108
|
-
width: 18px;
|
|
109
|
-
height: 18px;
|
|
110
|
-
|
|
111
|
-
// Updated to account for small positioning changes
|
|
112
|
-
// due to the Chakra implementation. Allowed the icon
|
|
113
|
-
// to inherit 'display: inline-block;', and the margin
|
|
114
|
-
// from the v1 Button css.
|
|
115
|
-
}
|
|
116
|
-
}
|
package/styles/Badge/_Badge.scss
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
.Badge {
|
|
2
|
-
font-size: 10px;
|
|
3
|
-
display: inline-block;
|
|
4
|
-
min-width: 16px;
|
|
5
|
-
min-height: 16px;
|
|
6
|
-
border: 1px solid $color-white;
|
|
7
|
-
border-radius: 8px;
|
|
8
|
-
padding: 0.1em 0.5em;
|
|
9
|
-
color: $color-white;
|
|
10
|
-
font-weight: $font-weight-bold;
|
|
11
|
-
text-align: center;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.Badge-default {
|
|
15
|
-
background-color: $color-shift;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.Badge-danger {
|
|
19
|
-
background-color: $color-stop;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.Badge-warning {
|
|
23
|
-
background-color: $color-caution;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.Badge-success {
|
|
27
|
-
background-color: $color-go;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.Badge-info {
|
|
31
|
-
border: 1px solid $color-dashboard;
|
|
32
|
-
color: $color-cement;
|
|
33
|
-
}
|
package/styles/Chart/_Chart.scss
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
@use "sass:list";
|
|
2
|
-
@import "chartist";
|
|
3
|
-
|
|
4
|
-
.ct-area,
|
|
5
|
-
.ct-line {
|
|
6
|
-
pointer-events: none;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.ct-circle {
|
|
10
|
-
fill: $color-white;
|
|
11
|
-
stroke-width: 2;
|
|
12
|
-
stroke: $color-go;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.ct-series {
|
|
16
|
-
@for $i from 0 to length($ct-series-colors) {
|
|
17
|
-
.ct-circle-#{$i} {
|
|
18
|
-
stroke: list.nth($ct-series-colors, $i + 1);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.ct-label {
|
|
24
|
-
&.ct-horizontal {
|
|
25
|
-
transform: translateX(-50%);
|
|
26
|
-
white-space: nowrap;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.ct-legend {
|
|
31
|
-
position: relative;
|
|
32
|
-
color: $color-fuel;
|
|
33
|
-
|
|
34
|
-
li {
|
|
35
|
-
position: relative;
|
|
36
|
-
list-style: none;
|
|
37
|
-
padding-left: 20px;
|
|
38
|
-
margin-bottom: 5px;
|
|
39
|
-
|
|
40
|
-
&::before {
|
|
41
|
-
position: absolute;
|
|
42
|
-
left: 0;
|
|
43
|
-
top: 3px;
|
|
44
|
-
width: $ct-point-size;
|
|
45
|
-
height: $ct-point-size;
|
|
46
|
-
content: "";
|
|
47
|
-
border: $ct-line-width solid transparent;
|
|
48
|
-
border-radius: 50%;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&.inactive {
|
|
52
|
-
&::before {
|
|
53
|
-
background: transparent;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&.ct-legend-inside {
|
|
59
|
-
position: absolute;
|
|
60
|
-
top: 0;
|
|
61
|
-
right: 0;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
@for $i from 0 to length($ct-series-colors) {
|
|
65
|
-
/* stylelint-disable */
|
|
66
|
-
.ct-series-#{$i}::before {
|
|
67
|
-
background-color: list.nth($ct-series-colors, $i + 1);
|
|
68
|
-
border-color: list.nth($ct-series-colors, $i + 1);
|
|
69
|
-
}
|
|
70
|
-
/* stylelint-enable */
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.chartist-tooltip {
|
|
75
|
-
position: absolute;
|
|
76
|
-
display: inline-block;
|
|
77
|
-
padding: 10px;
|
|
78
|
-
background-color: $color-white;
|
|
79
|
-
color: $color-fuel;
|
|
80
|
-
border-top: 4px solid $color-go;
|
|
81
|
-
border-radius: 4px;
|
|
82
|
-
box-shadow: 0 0 24px 0 rgba($color-fuel, 0.15);
|
|
83
|
-
opacity: 0;
|
|
84
|
-
pointer-events: none;
|
|
85
|
-
z-index: $z-index-mid;
|
|
86
|
-
transition: opacity $animation;
|
|
87
|
-
|
|
88
|
-
&::before {
|
|
89
|
-
content: "";
|
|
90
|
-
position: absolute;
|
|
91
|
-
width: 0;
|
|
92
|
-
height: 0;
|
|
93
|
-
border-color: transparent;
|
|
94
|
-
border-style: solid;
|
|
95
|
-
top: 100%;
|
|
96
|
-
left: 50%;
|
|
97
|
-
transform: translateX(-50%);
|
|
98
|
-
border-width: 10px 5px 0;
|
|
99
|
-
border-top-color: $color-white;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
&.tooltip-show {
|
|
103
|
-
opacity: 1;
|
|
104
|
-
}
|
|
105
|
-
}
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
// stylelint-disable
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
|
|
5
|
-
THIS FILE HAS BEEN MODIFIED FROM THE ORIGINAL CHARTIST SOURCE. DO NOT BLINDLY OVERWRITE!!!
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
// Scales for responsive SVG containers
|
|
10
|
-
$ct-scales: (
|
|
11
|
-
(1),
|
|
12
|
-
(15/16),
|
|
13
|
-
(8/9),
|
|
14
|
-
(5/6),
|
|
15
|
-
(4/5),
|
|
16
|
-
(3/4),
|
|
17
|
-
(2/3),
|
|
18
|
-
(5/8),
|
|
19
|
-
(1/1.618),
|
|
20
|
-
(3/5),
|
|
21
|
-
(9/16),
|
|
22
|
-
(8/15),
|
|
23
|
-
(1/2),
|
|
24
|
-
(2/5),
|
|
25
|
-
(3/8),
|
|
26
|
-
(1/3),
|
|
27
|
-
(1/4)
|
|
28
|
-
) !default;
|
|
29
|
-
$ct-scales-names: (
|
|
30
|
-
ct-square,
|
|
31
|
-
ct-minor-second,
|
|
32
|
-
ct-major-second,
|
|
33
|
-
ct-minor-third,
|
|
34
|
-
ct-major-third,
|
|
35
|
-
ct-perfect-fourth,
|
|
36
|
-
ct-perfect-fifth,
|
|
37
|
-
ct-minor-sixth,
|
|
38
|
-
ct-golden-section,
|
|
39
|
-
ct-major-sixth,
|
|
40
|
-
ct-minor-seventh,
|
|
41
|
-
ct-major-seventh,
|
|
42
|
-
ct-octave,
|
|
43
|
-
ct-major-tenth,
|
|
44
|
-
ct-major-eleventh,
|
|
45
|
-
ct-major-twelfth,
|
|
46
|
-
ct-double-octave
|
|
47
|
-
) !default;
|
|
48
|
-
|
|
49
|
-
// Class names to be used when generating CSS
|
|
50
|
-
$ct-class-chart: ct-chart !default;
|
|
51
|
-
$ct-class-chart-line: ct-chart-line !default;
|
|
52
|
-
$ct-class-chart-bar: ct-chart-bar !default;
|
|
53
|
-
$ct-class-horizontal-bars: ct-horizontal-bars !default;
|
|
54
|
-
$ct-class-chart-pie: ct-chart-pie !default;
|
|
55
|
-
$ct-class-chart-donut: ct-chart-donut !default;
|
|
56
|
-
$ct-class-label: ct-label !default;
|
|
57
|
-
$ct-class-series: ct-series !default;
|
|
58
|
-
$ct-class-line: ct-line !default;
|
|
59
|
-
$ct-class-point: ct-point !default;
|
|
60
|
-
$ct-class-area: ct-area !default;
|
|
61
|
-
$ct-class-bar: ct-bar !default;
|
|
62
|
-
$ct-class-slice-pie: ct-slice-pie !default;
|
|
63
|
-
$ct-class-slice-donut: ct-slice-donut !default;
|
|
64
|
-
$ct-class-grid: ct-grid !default;
|
|
65
|
-
$ct-class-grid-background: ct-grid-background !default;
|
|
66
|
-
$ct-class-vertical: ct-vertical !default;
|
|
67
|
-
$ct-class-horizontal: ct-horizontal !default;
|
|
68
|
-
$ct-class-start: ct-start !default;
|
|
69
|
-
$ct-class-end: ct-end !default;
|
|
70
|
-
|
|
71
|
-
// Container ratio
|
|
72
|
-
$ct-container-ratio: (1/1.618) !default;
|
|
73
|
-
|
|
74
|
-
// Text styles for labels
|
|
75
|
-
$ct-text-color: $color-cement !default;
|
|
76
|
-
$ct-text-size: 14px !default;
|
|
77
|
-
$ct-text-align: flex-start !default;
|
|
78
|
-
$ct-text-justify: flex-start !default;
|
|
79
|
-
$ct-text-line-height: 1;
|
|
80
|
-
|
|
81
|
-
// Grid styles
|
|
82
|
-
$ct-grid-color: $color-dashboard !default;
|
|
83
|
-
$ct-grid-dasharray: false !default;
|
|
84
|
-
$ct-grid-width: 1px !default;
|
|
85
|
-
$ct-grid-background-fill: none !default;
|
|
86
|
-
|
|
87
|
-
// Line chart properties
|
|
88
|
-
$ct-line-width: 2px !default;
|
|
89
|
-
$ct-line-dasharray: false !default;
|
|
90
|
-
$ct-point-size: 10px !default;
|
|
91
|
-
// Line chart point, can be either round or square
|
|
92
|
-
$ct-point-shape: round !default;
|
|
93
|
-
// Area fill transparency between 0 and 1
|
|
94
|
-
$ct-area-opacity: 0.1 !default;
|
|
95
|
-
|
|
96
|
-
// Bar chart bar width
|
|
97
|
-
$ct-bar-width: 10px !default;
|
|
98
|
-
|
|
99
|
-
// Donut width (If donut width is to big it can cause issues where the shape gets distorted)
|
|
100
|
-
$ct-donut-width: 60px !default;
|
|
101
|
-
|
|
102
|
-
// If set to true it will include the default classes and generate CSS output. If you're planning to use the mixins you
|
|
103
|
-
// should set this property to false
|
|
104
|
-
$ct-include-classes: true !default;
|
|
105
|
-
|
|
106
|
-
// If this is set to true the CSS will contain colored series. You can extend or change the color with the
|
|
107
|
-
// properties below
|
|
108
|
-
$ct-include-colored-series: $ct-include-classes !default;
|
|
109
|
-
|
|
110
|
-
// If set to true this will include all responsive container variations using the scales defined at the top of the script
|
|
111
|
-
$ct-include-alternative-responsive-containers: $ct-include-classes !default;
|
|
112
|
-
|
|
113
|
-
// Series names and colors. This can be extended or customized as desired. Just add more series and colors.
|
|
114
|
-
$ct-series-names: (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) !default;
|
|
115
|
-
$ct-series-colors: (
|
|
116
|
-
$color-go,
|
|
117
|
-
$color-caution,
|
|
118
|
-
$color-shift,
|
|
119
|
-
$color-fuel,
|
|
120
|
-
$color-stop,
|
|
121
|
-
#59922b,
|
|
122
|
-
#0544d3,
|
|
123
|
-
#6b0392,
|
|
124
|
-
#f05b4f,
|
|
125
|
-
#dda458,
|
|
126
|
-
#eacf7d,
|
|
127
|
-
#86797d,
|
|
128
|
-
#b2c326,
|
|
129
|
-
#6188e2,
|
|
130
|
-
#a748ca
|
|
131
|
-
) !default;
|
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
// stylelint-disable
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
|
|
5
|
-
THIS FILE HAS BEEN MODIFIED FROM THE ORIGINAL CHARTIST SOURCE. DO NOT BLINDLY OVERWRITE!!!
|
|
6
|
-
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
@import "chartist-settings";
|
|
10
|
-
|
|
11
|
-
@mixin ct-responsive-svg-container($width: 100%, $ratio: $ct-container-ratio) {
|
|
12
|
-
display: block;
|
|
13
|
-
position: relative;
|
|
14
|
-
width: $width;
|
|
15
|
-
|
|
16
|
-
&:before {
|
|
17
|
-
display: block;
|
|
18
|
-
float: left;
|
|
19
|
-
content: "";
|
|
20
|
-
width: 0;
|
|
21
|
-
height: 0;
|
|
22
|
-
padding-bottom: $ratio * 100%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&:after {
|
|
26
|
-
content: "";
|
|
27
|
-
display: table;
|
|
28
|
-
clear: both;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
> svg {
|
|
32
|
-
display: block;
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
left: 0;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@mixin ct-align-justify(
|
|
40
|
-
$ct-text-align: $ct-text-align,
|
|
41
|
-
$ct-text-justify: $ct-text-justify
|
|
42
|
-
) {
|
|
43
|
-
-webkit-box-align: $ct-text-align;
|
|
44
|
-
-webkit-align-items: $ct-text-align;
|
|
45
|
-
-ms-flex-align: $ct-text-align;
|
|
46
|
-
align-items: $ct-text-align;
|
|
47
|
-
-webkit-box-pack: $ct-text-justify;
|
|
48
|
-
-webkit-justify-content: $ct-text-justify;
|
|
49
|
-
-ms-flex-pack: $ct-text-justify;
|
|
50
|
-
justify-content: $ct-text-justify;
|
|
51
|
-
// Fallback to text-align for non-flex browsers
|
|
52
|
-
@if ($ct-text-justify == "flex-start") {
|
|
53
|
-
text-align: left;
|
|
54
|
-
} @else if ($ct-text-justify == "flex-end") {
|
|
55
|
-
text-align: right;
|
|
56
|
-
} @else {
|
|
57
|
-
text-align: center;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@mixin ct-flex() {
|
|
62
|
-
// Fallback to block
|
|
63
|
-
display: block;
|
|
64
|
-
display: -webkit-box;
|
|
65
|
-
display: -moz-box;
|
|
66
|
-
display: -ms-flexbox;
|
|
67
|
-
display: -webkit-flex;
|
|
68
|
-
display: flex;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
@mixin ct-chart-label(
|
|
72
|
-
$ct-text-color: $ct-text-color,
|
|
73
|
-
$ct-text-size: $ct-text-size,
|
|
74
|
-
$ct-text-line-height: $ct-text-line-height
|
|
75
|
-
) {
|
|
76
|
-
fill: $ct-text-color;
|
|
77
|
-
color: $ct-text-color;
|
|
78
|
-
font-size: $ct-text-size;
|
|
79
|
-
line-height: $ct-text-line-height;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@mixin ct-chart-grid(
|
|
83
|
-
$ct-grid-color: $ct-grid-color,
|
|
84
|
-
$ct-grid-width: $ct-grid-width,
|
|
85
|
-
$ct-grid-dasharray: $ct-grid-dasharray
|
|
86
|
-
) {
|
|
87
|
-
stroke: $ct-grid-color;
|
|
88
|
-
stroke-width: $ct-grid-width;
|
|
89
|
-
|
|
90
|
-
@if ($ct-grid-dasharray) {
|
|
91
|
-
stroke-dasharray: $ct-grid-dasharray;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
@mixin ct-chart-point(
|
|
96
|
-
$ct-point-size: $ct-point-size,
|
|
97
|
-
$ct-point-shape: $ct-point-shape
|
|
98
|
-
) {
|
|
99
|
-
stroke-width: $ct-point-size;
|
|
100
|
-
stroke-linecap: $ct-point-shape;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
@mixin ct-chart-line(
|
|
104
|
-
$ct-line-width: $ct-line-width,
|
|
105
|
-
$ct-line-dasharray: $ct-line-dasharray
|
|
106
|
-
) {
|
|
107
|
-
fill: none;
|
|
108
|
-
stroke-width: $ct-line-width;
|
|
109
|
-
|
|
110
|
-
@if ($ct-line-dasharray) {
|
|
111
|
-
stroke-dasharray: $ct-line-dasharray;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
@mixin ct-chart-area($ct-area-opacity: $ct-area-opacity) {
|
|
116
|
-
stroke: none;
|
|
117
|
-
fill-opacity: $ct-area-opacity;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@mixin ct-chart-bar($ct-bar-width: $ct-bar-width) {
|
|
121
|
-
fill: none;
|
|
122
|
-
stroke-width: $ct-bar-width;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
@mixin ct-chart-donut($ct-donut-width: $ct-donut-width) {
|
|
126
|
-
fill: none;
|
|
127
|
-
stroke-width: $ct-donut-width;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
@mixin ct-chart-series-color($color) {
|
|
131
|
-
.#{$ct-class-point},
|
|
132
|
-
.#{$ct-class-line},
|
|
133
|
-
.#{$ct-class-bar},
|
|
134
|
-
.#{$ct-class-slice-donut} {
|
|
135
|
-
stroke: $color;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.#{$ct-class-slice-pie},
|
|
139
|
-
.#{$ct-class-area} {
|
|
140
|
-
fill: $color;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@mixin ct-chart(
|
|
145
|
-
$ct-container-ratio: $ct-container-ratio,
|
|
146
|
-
$ct-text-color: $ct-text-color,
|
|
147
|
-
$ct-text-size: $ct-text-size,
|
|
148
|
-
$ct-grid-color: $ct-grid-color,
|
|
149
|
-
$ct-grid-width: $ct-grid-width,
|
|
150
|
-
$ct-grid-dasharray: $ct-grid-dasharray,
|
|
151
|
-
$ct-point-size: $ct-point-size,
|
|
152
|
-
$ct-point-shape: $ct-point-shape,
|
|
153
|
-
$ct-line-width: $ct-line-width,
|
|
154
|
-
$ct-bar-width: $ct-bar-width,
|
|
155
|
-
$ct-donut-width: $ct-donut-width,
|
|
156
|
-
$ct-series-names: $ct-series-names,
|
|
157
|
-
$ct-series-colors: $ct-series-colors
|
|
158
|
-
) {
|
|
159
|
-
.#{$ct-class-label} {
|
|
160
|
-
@include ct-chart-label($ct-text-color, $ct-text-size);
|
|
161
|
-
}
|
|
162
|
-
|
|
163
|
-
.#{$ct-class-chart-line} .#{$ct-class-label},
|
|
164
|
-
.#{$ct-class-chart-bar} .#{$ct-class-label} {
|
|
165
|
-
@include ct-flex();
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.#{$ct-class-chart-pie} .#{$ct-class-label},
|
|
169
|
-
.#{$ct-class-chart-donut} .#{$ct-class-label} {
|
|
170
|
-
dominant-baseline: central;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
|
|
174
|
-
@include ct-align-justify(flex-end, flex-start);
|
|
175
|
-
// Fallback for browsers that don't support foreignObjects
|
|
176
|
-
text-anchor: start;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
|
|
180
|
-
@include ct-align-justify(center, center);
|
|
181
|
-
// Fallback for browsers that don't support foreignObjects
|
|
182
|
-
text-anchor: start;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {
|
|
186
|
-
@include ct-align-justify(flex-end, flex-end);
|
|
187
|
-
// Fallback for browsers that don't support foreignObjects
|
|
188
|
-
text-anchor: end;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {
|
|
192
|
-
@include ct-align-justify(flex-end, flex-start);
|
|
193
|
-
// Fallback for browsers that don't support foreignObjects
|
|
194
|
-
text-anchor: start;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
.#{$ct-class-chart-bar}
|
|
198
|
-
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
|
|
199
|
-
@include ct-align-justify(flex-end, center);
|
|
200
|
-
// Fallback for browsers that don't support foreignObjects
|
|
201
|
-
text-anchor: start;
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
.#{$ct-class-chart-bar}
|
|
205
|
-
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
|
|
206
|
-
@include ct-align-justify(flex-start, center);
|
|
207
|
-
// Fallback for browsers that don't support foreignObjects
|
|
208
|
-
text-anchor: start;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars}
|
|
212
|
-
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-start} {
|
|
213
|
-
@include ct-align-justify(flex-end, flex-start);
|
|
214
|
-
// Fallback for browsers that don't support foreignObjects
|
|
215
|
-
text-anchor: start;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars}
|
|
219
|
-
.#{$ct-class-label}.#{$ct-class-horizontal}.#{$ct-class-end} {
|
|
220
|
-
@include ct-align-justify(flex-start, flex-start);
|
|
221
|
-
// Fallback for browsers that don't support foreignObjects
|
|
222
|
-
text-anchor: start;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars}
|
|
226
|
-
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-start} {
|
|
227
|
-
//@include ct-chart-label($ct-text-color, $ct-text-size, center, $ct-vertical-text-justify);
|
|
228
|
-
@include ct-align-justify(center, flex-end);
|
|
229
|
-
// Fallback for browsers that don't support foreignObjects
|
|
230
|
-
text-anchor: end;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
.#{$ct-class-chart-bar}.#{$ct-class-horizontal-bars}
|
|
234
|
-
.#{$ct-class-label}.#{$ct-class-vertical}.#{$ct-class-end} {
|
|
235
|
-
@include ct-align-justify(center, flex-start);
|
|
236
|
-
// Fallback for browsers that don't support foreignObjects
|
|
237
|
-
text-anchor: end;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.#{$ct-class-grid} {
|
|
241
|
-
@include ct-chart-grid(
|
|
242
|
-
$ct-grid-color,
|
|
243
|
-
$ct-grid-width,
|
|
244
|
-
$ct-grid-dasharray
|
|
245
|
-
);
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
.#{$ct-class-grid-background} {
|
|
249
|
-
fill: $ct-grid-background-fill;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.#{$ct-class-point} {
|
|
253
|
-
@include ct-chart-point($ct-point-size, $ct-point-shape);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
.#{$ct-class-line} {
|
|
257
|
-
@include ct-chart-line($ct-line-width);
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
.#{$ct-class-area} {
|
|
261
|
-
@include ct-chart-area();
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.#{$ct-class-bar} {
|
|
265
|
-
@include ct-chart-bar($ct-bar-width);
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
.#{$ct-class-slice-donut} {
|
|
269
|
-
@include ct-chart-donut($ct-donut-width);
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
@if $ct-include-colored-series {
|
|
273
|
-
@for $i from 0 to length($ct-series-names) {
|
|
274
|
-
.#{$ct-class-series}-#{nth($ct-series-names, $i + 1)} {
|
|
275
|
-
$color: nth($ct-series-colors, $i + 1);
|
|
276
|
-
|
|
277
|
-
@include ct-chart-series-color($color);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
}
|
|
282
|
-
|
|
283
|
-
@if $ct-include-classes {
|
|
284
|
-
@include ct-chart();
|
|
285
|
-
|
|
286
|
-
@if $ct-include-alternative-responsive-containers {
|
|
287
|
-
@for $i from 0 to length($ct-scales-names) {
|
|
288
|
-
.#{nth($ct-scales-names, $i + 1)} {
|
|
289
|
-
@include ct-responsive-svg-container(
|
|
290
|
-
$ratio: nth($ct-scales, $i + 1)
|
|
291
|
-
);
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|