@pinuts/bsr-uikit-relaunch 0.0.3
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/.eslintrc.js +80 -0
- package/.idea/.name +1 -0
- package/.idea/misc.xml +6 -0
- package/.idea/modules.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/CHANGELOG.md +3 -0
- package/README.md +75 -0
- package/bsr-uikit-relaunch.iml +9 -0
- package/config-overrides.js +32 -0
- package/dist/assets/Icon.js +64 -0
- package/dist/assets/IconComponents/getIconAdditionalCostsLarge.js +31 -0
- package/dist/assets/IconComponents/getIconAlertCircle.js +31 -0
- package/dist/assets/IconComponents/getIconAlertTriangle.js +27 -0
- package/dist/assets/IconComponents/getIconArchive.js +31 -0
- package/dist/assets/IconComponents/getIconArrowCornerUpLeft.js +25 -0
- package/dist/assets/IconComponents/getIconArrowDown.js +36 -0
- package/dist/assets/IconComponents/getIconArrowDownNoCircle.js +25 -0
- package/dist/assets/IconComponents/getIconArrowLeftNoCircle.js +25 -0
- package/dist/assets/IconComponents/getIconArrowRightDown.js +28 -0
- package/dist/assets/IconComponents/getIconArrowRightNoCircle.js +19 -0
- package/dist/assets/IconComponents/getIconArrowRightUp.js +28 -0
- package/dist/assets/IconComponents/getIconArrowUpNoCircle.js +25 -0
- package/dist/assets/IconComponents/getIconBarChart.js +40 -0
- package/dist/assets/IconComponents/getIconBell.js +25 -0
- package/dist/assets/IconComponents/getIconBriefCaseLarge.js +29 -0
- package/dist/assets/IconComponents/getIconCalendar.js +40 -0
- package/dist/assets/IconComponents/getIconChairman.js +19 -0
- package/dist/assets/IconComponents/getIconCheck.js +19 -0
- package/dist/assets/IconComponents/getIconCheckCircle.js +23 -0
- package/dist/assets/IconComponents/getIconCheckCircleOpen.js +31 -0
- package/dist/assets/IconComponents/getIconChevronDown.js +19 -0
- package/dist/assets/IconComponents/getIconChevronLeft.js +19 -0
- package/dist/assets/IconComponents/getIconChevronRight.js +19 -0
- package/dist/assets/IconComponents/getIconChevronUp.js +19 -0
- package/dist/assets/IconComponents/getIconCircle.js +21 -0
- package/dist/assets/IconComponents/getIconCircleMinus.js +26 -0
- package/dist/assets/IconComponents/getIconCirclePause.js +19 -0
- package/dist/assets/IconComponents/getIconCirclePlus.js +31 -0
- package/dist/assets/IconComponents/getIconCircleX.js +31 -0
- package/dist/assets/IconComponents/getIconCity.js +23 -0
- package/dist/assets/IconComponents/getIconCross.js +27 -0
- package/dist/assets/IconComponents/getIconDocumentLarge.js +28 -0
- package/dist/assets/IconComponents/getIconDoubleChevronLeft.js +21 -0
- package/dist/assets/IconComponents/getIconDoubleChevronRight.js +21 -0
- package/dist/assets/IconComponents/getIconDownload.js +37 -0
- package/dist/assets/IconComponents/getIconEdit.js +25 -0
- package/dist/assets/IconComponents/getIconEditPen.js +25 -0
- package/dist/assets/IconComponents/getIconEuro.js +21 -0
- package/dist/assets/IconComponents/getIconExclamationMark.js +21 -0
- package/dist/assets/IconComponents/getIconExternalLink.js +26 -0
- package/dist/assets/IconComponents/getIconEye.js +31 -0
- package/dist/assets/IconComponents/getIconEyeOff.js +34 -0
- package/dist/assets/IconComponents/getIconFile.js +25 -0
- package/dist/assets/IconComponents/getIconFileAddLarge.js +29 -0
- package/dist/assets/IconComponents/getIconFileReport.js +37 -0
- package/dist/assets/IconComponents/getIconFileText.js +43 -0
- package/dist/assets/IconComponents/getIconFilter.js +35 -0
- package/dist/assets/IconComponents/getIconFolder.js +37 -0
- package/dist/assets/IconComponents/getIconFolderLarge.js +32 -0
- package/dist/assets/IconComponents/getIconFunnel.js +19 -0
- package/dist/assets/IconComponents/getIconGraduateCapLarge.js +31 -0
- package/dist/assets/IconComponents/getIconInbox.js +25 -0
- package/dist/assets/IconComponents/getIconInfo.js +28 -0
- package/dist/assets/IconComponents/getIconInfoCircle.js +25 -0
- package/dist/assets/IconComponents/getIconInternshipLarge.js +49 -0
- package/dist/assets/IconComponents/getIconLeaf.js +21 -0
- package/dist/assets/IconComponents/getIconLeftChevron.js +21 -0
- package/dist/assets/IconComponents/getIconLineChart.js +24 -0
- package/dist/assets/IconComponents/getIconLineChartWithAxis.js +37 -0
- package/dist/assets/IconComponents/getIconLineDotChart.js +61 -0
- package/dist/assets/IconComponents/getIconLink.js +31 -0
- package/dist/assets/IconComponents/getIconList.js +49 -0
- package/dist/assets/IconComponents/getIconLock.js +25 -0
- package/dist/assets/IconComponents/getIconLogin.js +31 -0
- package/dist/assets/IconComponents/getIconLogout.js +19 -0
- package/dist/assets/IconComponents/getIconMail.js +25 -0
- package/dist/assets/IconComponents/getIconMan.js +36 -0
- package/dist/assets/IconComponents/getIconManagement.js +59 -0
- package/dist/assets/IconComponents/getIconMap.js +29 -0
- package/dist/assets/IconComponents/getIconMapPin.js +19 -0
- package/dist/assets/IconComponents/getIconMenu.js +31 -0
- package/dist/assets/IconComponents/getIconMessageCircle.js +25 -0
- package/dist/assets/IconComponents/getIconMessageSquare.js +39 -0
- package/dist/assets/IconComponents/getIconMinus.js +22 -0
- package/dist/assets/IconComponents/getIconMinusVertical.js +22 -0
- package/dist/assets/IconComponents/getIconMoreHorizontal.js +31 -0
- package/dist/assets/IconComponents/getIconNumbers.js +25 -0
- package/dist/assets/IconComponents/getIconPauseCircle.js +31 -0
- package/dist/assets/IconComponents/getIconPlus.js +31 -0
- package/dist/assets/IconComponents/getIconPresentation.js +36 -0
- package/dist/assets/IconComponents/getIconRect.js +24 -0
- package/dist/assets/IconComponents/getIconRefresh.js +31 -0
- package/dist/assets/IconComponents/getIconRefreshRepeatLarge.js +25 -0
- package/dist/assets/IconComponents/getIconReportAnalytics.js +31 -0
- package/dist/assets/IconComponents/getIconReportMoney.js +29 -0
- package/dist/assets/IconComponents/getIconReportOff.js +23 -0
- package/dist/assets/IconComponents/getIconReqWizAdditionalFundingLarge.js +28 -0
- package/dist/assets/IconComponents/getIconReqWizExtendFundingLarge.js +28 -0
- package/dist/assets/IconComponents/getIconReqWizJobLarge.js +32 -0
- package/dist/assets/IconComponents/getIconReqWizPauseFundingLarge.js +60 -0
- package/dist/assets/IconComponents/getIconReqWizScientificNetworkLarge.js +35 -0
- package/dist/assets/IconComponents/getIconReqWizStayAbroadLarge.js +31 -0
- package/dist/assets/IconComponents/getIconReqWizStudyDataLarge.js +31 -0
- package/dist/assets/IconComponents/getIconReqWizSubsequentFundingLarge.js +26 -0
- package/dist/assets/IconComponents/getIconReqWizWorldGraduateCapLarge copy.js +31 -0
- package/dist/assets/IconComponents/getIconReqWizWorldGraduateCapLarge.js +31 -0
- package/dist/assets/IconComponents/getIconRequestLarge.js +28 -0
- package/dist/assets/IconComponents/getIconRingChart.js +25 -0
- package/dist/assets/IconComponents/getIconRotate.js +17 -0
- package/dist/assets/IconComponents/getIconSearch.js +26 -0
- package/dist/assets/IconComponents/getIconSearchLarger.js +25 -0
- package/dist/assets/IconComponents/getIconSearchReverse.js +25 -0
- package/dist/assets/IconComponents/getIconSetting.js +33 -0
- package/dist/assets/IconComponents/getIconSortAscending.js +39 -0
- package/dist/assets/IconComponents/getIconSortDescending.js +39 -0
- package/dist/assets/IconComponents/getIconStar.js +22 -0
- package/dist/assets/IconComponents/getIconSum.js +19 -0
- package/dist/assets/IconComponents/getIconSupervisory.js +51 -0
- package/dist/assets/IconComponents/getIconThumbDown.js +19 -0
- package/dist/assets/IconComponents/getIconThumbUp.js +19 -0
- package/dist/assets/IconComponents/getIconTrash.js +37 -0
- package/dist/assets/IconComponents/getIconTriangle.js +19 -0
- package/dist/assets/IconComponents/getIconTriangleInverted.js +19 -0
- package/dist/assets/IconComponents/getIconUpload.js +31 -0
- package/dist/assets/IconComponents/getIconUploadCloud.js +37 -0
- package/dist/assets/IconComponents/getIconUploadLarge.js +26 -0
- package/dist/assets/IconComponents/getIconUser.js +19 -0
- package/dist/assets/IconComponents/getIconUserCheck.js +25 -0
- package/dist/assets/IconComponents/getIconUserCircle.js +31 -0
- package/dist/assets/IconComponents/getIconUserLarge.js +26 -0
- package/dist/assets/IconComponents/getIconUserOff.js +26 -0
- package/dist/assets/IconComponents/getIconWoman.js +33 -0
- package/dist/assets/IconComponents/getIconWriteNote.js +31 -0
- package/dist/assets/IconComponents/getIconWriteNoteLarge.js +27 -0
- package/dist/assets/IconComponents/getIconX.js +27 -0
- package/dist/assets/IconComponents/getIconZoomMoney.js +45 -0
- package/dist/assets/IconMapping.js +241 -0
- package/dist/hooks/ValidateComponents.js +31 -0
- package/dist/hooks/index.js +27 -0
- package/dist/hooks/infoPopUp.js +1 -0
- package/dist/hooks/useDebounceFunc.js +25 -0
- package/dist/hooks/useGetOptionList.js +41 -0
- package/dist/hooks/useValidationMessage.js +68 -0
- package/dist/hooks/withFieldGroup.js +206 -0
- package/dist/icons/AlertTriangle.js +42 -0
- package/dist/icons/InfoOutline.js +57 -0
- package/dist/icons/Verify.js +40 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +32 -0
- package/dist/items/ArrayFieldset/ArrayFieldset.js +178 -0
- package/dist/items/BSRAddressSelector/BSRAddressContext.js +95 -0
- package/dist/items/BSRAddressSelector/BSRAddressResetButton.js +59 -0
- package/dist/items/BSRAddressSelector/BSRAddressSelector.js +100 -0
- package/dist/items/BSRAddressSelector/BSRAutocompleteField.js +262 -0
- package/dist/items/BSRAddressSelector/BSRStreetPlzSelector.js +127 -0
- package/dist/items/BSRAddressSelector/HouseNumberSelectField.js +105 -0
- package/dist/items/Badge/Badge.js +33 -0
- package/dist/items/BootstrapInputGroupField/BootstrapInputGroupField.js +68 -0
- package/dist/items/Button/Button.js +70 -0
- package/dist/items/Button/SubmitButton.js +39 -0
- package/dist/items/DateInputField/DateInputField.js +105 -0
- package/dist/items/DropDownButton/DropDownButton.js +101 -0
- package/dist/items/DropzoneUploadField/DropzoneUploadField.js +188 -0
- package/dist/items/DropzoneUploadField/acceptedUploadTypeMapping.js +55 -0
- package/dist/items/FieldLabel/FieldLabel.js +75 -0
- package/dist/items/FieldsetWrapper/FieldsetWrapper.js +51 -0
- package/dist/items/FormFieldWrapper/FormFieldChildPropTypes.js +64 -0
- package/dist/items/FormFieldWrapper/FormFieldWrapper.js +101 -0
- package/dist/items/FormFieldWrapper/FormFieldWrapperComponent.js +6 -0
- package/dist/items/Grid/BSRGridColumn.js +34 -0
- package/dist/items/Grid/BSRGridRow.js +28 -0
- package/dist/items/Grid/BSRGridRowCols.js +36 -0
- package/dist/items/GroupInputField/GroupInputField.js +122 -0
- package/dist/items/HTMLParserSanitized/HTMLParserSanitized.js +45 -0
- package/dist/items/Icon/Icon.js +24 -0
- package/dist/items/Modal/FormModal.js +98 -0
- package/dist/items/Modal/Modal.js +109 -0
- package/dist/items/NumberInputField/NumberInputField.js +142 -0
- package/dist/items/PictureUploadRowField/PictureUploadRowField.js +280 -0
- package/dist/items/PictureUploadRowField/acceptedUploadTypeMapping.js +55 -0
- package/dist/items/SectionSpinner/SectionSpinner.js +49 -0
- package/dist/items/SelectField/SelectField.js +67 -0
- package/dist/items/StaticAlert/StaticAlert.js +39 -0
- package/dist/items/TextAreaField/TextAreaField.js +70 -0
- package/dist/items/TextBox/TextBox.js +43 -0
- package/dist/items/TextInputField/TextInputField.js +55 -0
- package/dist/items/Toast/Toast.js +55 -0
- package/dist/items/ToggleSwitchField/ToggleSwitchField.js +84 -0
- package/dist/items/index.js +196 -0
- package/dist/styles/_ariakit_combobox.scss +279 -0
- package/dist/styles/_colors.scss +165 -0
- package/dist/styles/bootstrap-customized.scss +815 -0
- package/dist/styles/fonts/hbs-fonts/hbs-fonts.css +67 -0
- package/dist/styles/fonts/hbs-fonts/simple-bold/SimpleHBSTT-Bold.eot +0 -0
- package/dist/styles/fonts/hbs-fonts/simple-bold/SimpleHBSTT-Bold.svg +264 -0
- package/dist/styles/fonts/hbs-fonts/simple-bold/SimpleHBSTT-Bold.ttf +0 -0
- package/dist/styles/fonts/hbs-fonts/simple-bold/SimpleHBSTT-Bold.woff +0 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449347/1f2c3faa-231e-4e71-aba4-b1adb03e0322.svg +4846 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449347/51a2e8ba-97c4-47a9-af92-e8b379eeddbd.eot +0 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449347/77019bfb-2faa-487f-97aa-b498678dc990.ttf +0 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449347/89420d17-2c68-4bb3-b4d4-373b0d0f016b.woff2 +0 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449347/e79b121c-bda4-4092-a565-1c29b272ef18.woff +0 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449355/6baa7b6e-6971-4b5f-8129-8630113d8cb7.eot +0 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449355/aab88c6b-6b75-42f0-aec5-74a5c4ed199d.woff2 +0 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449355/ac6c8f47-2d16-43de-96c6-4526ab446296.woff +0 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449355/cc2006cf-463d-41db-88b0-24bf58fdf832.ttf +0 -0
- package/dist/styles/fonts/hbs-fonts/univers/1449355/f6946e91-a2c4-4793-bcb2-b617d23b3b80.svg +5216 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449383/1df6de95-3b72-4134-8e0f-f250931b1cb1.woff +0 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449383/27bd8c18-1ca0-4a74-a175-108571bab2fc.eot +0 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449383/5667db2e-a3c3-408f-ad82-3ca721a0e2e7.svg +4807 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449383/8282dfe6-2f66-4a8e-bc65-669a3066eee8.ttf +0 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449383/a92a459a-dc32-498f-b2dc-b761713792f4.woff2 +0 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449391/14cd37b6-7bde-488e-bbba-17c5046ee4c3.svg +4666 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449391/308dd9a4-aea8-4532-8c6d-a415a35f0015.woff2 +0 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449391/4414ced7-592d-4fdc-8521-8bf095659b6e.eot +0 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449391/9e1c34e4-257a-478b-9d35-84e680e8d373.ttf +0 -0
- package/dist/styles/fonts/hbs-fonts/univers-condensed/1449391/9f5abf71-fdd9-408f-b075-7a8a1b7c9a6e.woff +0 -0
- package/dist/styles/form.module.scss +252 -0
- package/dist/styles/main.scss +18 -0
- package/dist/styles/module-variables.scss +13 -0
- package/dist/styles/variables/_borders.scss +26 -0
- package/dist/styles/variables/_buttons.scss +147 -0
- package/dist/styles/variables/_colors.scss +109 -0
- package/dist/styles/variables/_focus.scss +9 -0
- package/dist/styles/variables/_fonts.scss +101 -0
- package/dist/styles/variables/_gaps.scss +26 -0
- package/dist/styles/variables/_images.scss +18 -0
- package/dist/styles/variables/_responsive.scss +23 -0
- package/dist/styles/variables/_shadows.scss +5 -0
- package/dist/styles/variables/_variables.scss +14 -0
- package/dist/styles/variables.scss +75 -0
- package/dist/utils/getUikitClassNames.js +19 -0
- package/dist/utils/index.js +16 -0
- package/dist/utils/isWindowAvailable.js +9 -0
- package/dist/utils/objectHelpers.js +43 -0
- package/notes.txt +5 -0
- package/package.json +111 -0
- package/webpack.config.js +99 -0
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
@import "./variables/variables";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
.comboboxWrapper {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: flex !important;
|
|
7
|
+
align-items: center;
|
|
8
|
+
justify-content: center;
|
|
9
|
+
|
|
10
|
+
.combobox {
|
|
11
|
+
border: 0;
|
|
12
|
+
outline: 0;
|
|
13
|
+
width: 100%;
|
|
14
|
+
padding-left: 0;
|
|
15
|
+
padding-right: 0;
|
|
16
|
+
padding-top: 0;
|
|
17
|
+
padding-bottom: 0;
|
|
18
|
+
border-radius: $base-gap;
|
|
19
|
+
text-overflow: ellipsis;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.combobox:focus{
|
|
23
|
+
border: $bsr-black-90;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.combobox[data-focus-visible] {
|
|
27
|
+
outline: $bsr-black-90;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
input {
|
|
31
|
+
height: 100%;
|
|
32
|
+
text-overflow: ellipsis;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
input:focus {
|
|
36
|
+
border: $bsr-black-90;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
button {
|
|
40
|
+
height: 100%;
|
|
41
|
+
//width: $input-button-width;
|
|
42
|
+
border-radius: 0.125rem;
|
|
43
|
+
padding: 0px !important;
|
|
44
|
+
background-color: transparent !important;
|
|
45
|
+
|
|
46
|
+
&.comboboxCancel {
|
|
47
|
+
svg {
|
|
48
|
+
width: 1.25rem;
|
|
49
|
+
height: 100%;
|
|
50
|
+
color: $bsr-grey-100;
|
|
51
|
+
stroke-width:1.25pt;
|
|
52
|
+
}
|
|
53
|
+
&:focus {
|
|
54
|
+
background-color: transparent !important;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:active {
|
|
59
|
+
box-shadow: none !important;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// BMSK-AddresdField
|
|
64
|
+
&.focused, &:focus, &:focus-within {
|
|
65
|
+
box-shadow: $bsr-shadow-default !important;
|
|
66
|
+
background-color: $white;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&.dark {
|
|
70
|
+
background-color: $bsr-light-brown-100;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.comboboxCancel {
|
|
75
|
+
width: fit-content;
|
|
76
|
+
background-color: transparent !important;
|
|
77
|
+
svg {
|
|
78
|
+
width: 1.25rem;
|
|
79
|
+
height: 100%;
|
|
80
|
+
color: $bsr-grey-100;
|
|
81
|
+
stroke-width: 1.25pt;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.comboboxPopoverWrapper {
|
|
86
|
+
|
|
87
|
+
// popover darf kein outline haben
|
|
88
|
+
:focus-visible {
|
|
89
|
+
outline: 0;
|
|
90
|
+
border: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.popover {
|
|
94
|
+
position: absolute;
|
|
95
|
+
top: -3px;
|
|
96
|
+
left: 0;
|
|
97
|
+
z-index: 1000;
|
|
98
|
+
display: block;
|
|
99
|
+
max-width: none;
|
|
100
|
+
box-shadow: $bsr-shadow-default;
|
|
101
|
+
border-radius: $border-radius;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
div[role="listbox"] {
|
|
105
|
+
overflow-x: hidden;
|
|
106
|
+
border-radius: $border-radius;
|
|
107
|
+
border-color: currentColor;
|
|
108
|
+
//max-height: min(var(--popover-available-height, $popover-max-height), $popover-max-height);
|
|
109
|
+
//max-height: $popover-max-height;
|
|
110
|
+
padding: 0.3rem;
|
|
111
|
+
|
|
112
|
+
div[role="option"] {
|
|
113
|
+
font-weight: $sub-headline-font-size;
|
|
114
|
+
white-space: normal;
|
|
115
|
+
|
|
116
|
+
&:active, &:hover {
|
|
117
|
+
color: $bsr-black-90 !important;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&[aria-selected=true], &[aria-selected=true].selected {
|
|
121
|
+
box-shadow: 0 0 0 2px #fff, 0 0 0 4px $primary;
|
|
122
|
+
border-color: $primary;
|
|
123
|
+
outline: 0;
|
|
124
|
+
|
|
125
|
+
&:active, &:hover {
|
|
126
|
+
color: $white;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&[aria-selected=true].selected {
|
|
131
|
+
background-color: $primary !important;
|
|
132
|
+
color: $white;
|
|
133
|
+
}
|
|
134
|
+
&.selected {
|
|
135
|
+
box-shadow: none;
|
|
136
|
+
background-color: $primary !important;
|
|
137
|
+
color: $white;
|
|
138
|
+
|
|
139
|
+
&:hover {
|
|
140
|
+
color: $white !important;
|
|
141
|
+
}
|
|
142
|
+
&::after {
|
|
143
|
+
content: "✔";
|
|
144
|
+
margin-inline-start: 0.5rem;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.rowDark {
|
|
152
|
+
.comboboxWrapper {
|
|
153
|
+
.comboboxArrow, .comboboxCancel {
|
|
154
|
+
background-color: transparent;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.disabled {
|
|
160
|
+
pointer-events: none;
|
|
161
|
+
background-color: $bsr-grey-100;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Tags for MultiSelectField
|
|
165
|
+
.tagGrid {
|
|
166
|
+
display: flex;
|
|
167
|
+
flex-direction: row;
|
|
168
|
+
align-items: center;
|
|
169
|
+
justify-content: flex-start;
|
|
170
|
+
width: 100%;
|
|
171
|
+
height: fit-content;
|
|
172
|
+
min-height: 3rem;
|
|
173
|
+
padding: 0;
|
|
174
|
+
|
|
175
|
+
&.focused, &:focus-within, &:focus {
|
|
176
|
+
box-shadow: $bsr-shadow-default !important;
|
|
177
|
+
background-color: $white;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.inputRow {
|
|
181
|
+
width: 100%;
|
|
182
|
+
overflow: auto;
|
|
183
|
+
display: flex;
|
|
184
|
+
flex-wrap: wrap;
|
|
185
|
+
max-height: 3rem;
|
|
186
|
+
|
|
187
|
+
.tag {
|
|
188
|
+
background-color: $bsr-grey-100;
|
|
189
|
+
border: 0;
|
|
190
|
+
border-radius: 1rem;
|
|
191
|
+
margin-inline: 0.25rem;
|
|
192
|
+
margin-block: 0.25rem;
|
|
193
|
+
|
|
194
|
+
&:first-child {
|
|
195
|
+
margin-inline-start: 0.5rem;;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.tagRemove {
|
|
200
|
+
padding-inline-start: 0.5rem;
|
|
201
|
+
font-weight: 600;
|
|
202
|
+
font-size: 0.8rem;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.combobox {
|
|
206
|
+
border: 0;
|
|
207
|
+
padding: 0.375rem 0.75rem;
|
|
208
|
+
border-radius: 0.25rem;
|
|
209
|
+
flex-grow: 1;
|
|
210
|
+
|
|
211
|
+
&:focus, &:active, &:hover {
|
|
212
|
+
outline: none;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.comboboxMultiSelectPopover {
|
|
219
|
+
position: relative;
|
|
220
|
+
top: -2px;
|
|
221
|
+
z-index: 10000;
|
|
222
|
+
display: flex;
|
|
223
|
+
flex-direction: column;
|
|
224
|
+
overflow: auto;
|
|
225
|
+
overscroll-behavior: contain;
|
|
226
|
+
//border: 1px solid $popover-border-color !important;
|
|
227
|
+
border-radius: $border-radius;
|
|
228
|
+
|
|
229
|
+
background-color: $white;
|
|
230
|
+
padding: 0.4rem;
|
|
231
|
+
padding-top: 0.4rem;
|
|
232
|
+
color: hsl(204 4% 0%);
|
|
233
|
+
outline: 2px solid transparent;
|
|
234
|
+
outline-offset: 2px;
|
|
235
|
+
//box-shadow: $popover-box-shadow;
|
|
236
|
+
//max-height: $popover-max-height;
|
|
237
|
+
|
|
238
|
+
div[data-active-item=true] {
|
|
239
|
+
box-shadow: $bsr-shadow-default;
|
|
240
|
+
border-color: $primary;
|
|
241
|
+
outline: 0;
|
|
242
|
+
}
|
|
243
|
+
div[role=option] {
|
|
244
|
+
|
|
245
|
+
font-weight: 600;
|
|
246
|
+
border-radius: 0.25rem;
|
|
247
|
+
padding: 0.25rem;
|
|
248
|
+
|
|
249
|
+
&:focus, &:hover {
|
|
250
|
+
background-color: $bsr-brown-100;
|
|
251
|
+
color: $bsr-black-90;
|
|
252
|
+
cursor: pointer;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
&[aria-selected=true] {
|
|
256
|
+
background-color: $primary;
|
|
257
|
+
color: $white;
|
|
258
|
+
border-color: $primary;
|
|
259
|
+
outline: 0;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
&:not(:last-child) {
|
|
263
|
+
margin-bottom: 0.25rem;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&[aria-selected="true"].selected {
|
|
267
|
+
&::after {
|
|
268
|
+
content: "✔";
|
|
269
|
+
margin-inline-start: 0.5rem;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.pagination {
|
|
276
|
+
button[role="combobox"]{
|
|
277
|
+
height: fit-content;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
// All HBS Colors
|
|
2
|
+
$hbs-rot:rgba(227, 5, 19, 1);
|
|
3
|
+
$hbs-rot-50: tint-color($hbs-rot, 50%);
|
|
4
|
+
$hbs-rot-40: tint-color($hbs-rot, 60%);
|
|
5
|
+
$hbs-rot-30: tint-color($hbs-rot, 70%);
|
|
6
|
+
$hbs-rot-20: tint-color($hbs-rot, 80%);
|
|
7
|
+
$hbs-rot-10: tint-color($hbs-rot, 90%);
|
|
8
|
+
|
|
9
|
+
$hbs-orange:rgba(239, 124, 0, 1);
|
|
10
|
+
$hbs-orange-50: tint-color($hbs-orange, 50%);
|
|
11
|
+
$hbs-orange-40: tint-color($hbs-orange, 60%);
|
|
12
|
+
$hbs-orange-30: tint-color($hbs-orange, 70%);
|
|
13
|
+
$hbs-orange-20: tint-color($hbs-orange, 80%);
|
|
14
|
+
$hbs-orange-10: tint-color($hbs-orange, 90%);
|
|
15
|
+
|
|
16
|
+
$hbs-pink:rgba(214, 0, 126, 1);
|
|
17
|
+
$hbs-pink-50: tint-color($hbs-pink, 50%);
|
|
18
|
+
$hbs-pink-40: tint-color($hbs-pink, 60%);
|
|
19
|
+
$hbs-pink-30: tint-color($hbs-pink, 70%);
|
|
20
|
+
$hbs-pink-20: tint-color($hbs-pink, 80%);
|
|
21
|
+
$hbs-pink-10: tint-color($hbs-pink, 90%);
|
|
22
|
+
|
|
23
|
+
$hbs-lila:rgba(110, 53, 139, 1);
|
|
24
|
+
$hbs-lila-50: tint-color($hbs-lila, 50%);
|
|
25
|
+
$hbs-lila-40: tint-color($hbs-lila, 60%);
|
|
26
|
+
$hbs-lila-30: tint-color($hbs-lila, 70%);
|
|
27
|
+
$hbs-lila-20: tint-color($hbs-lila, 80%);
|
|
28
|
+
$hbs-lila-10: tint-color($hbs-lila, 90%);
|
|
29
|
+
|
|
30
|
+
$hbs-gruen: rgba(14, 150, 93, 1);
|
|
31
|
+
$hbs-gruen-50: tint-color($hbs-gruen, 50%);
|
|
32
|
+
$hbs-gruen-40: tint-color($hbs-gruen, 60%);
|
|
33
|
+
$hbs-gruen-30: tint-color($hbs-gruen, 70%);
|
|
34
|
+
$hbs-gruen-20: tint-color($hbs-gruen, 80%);
|
|
35
|
+
$hbs-gruen-10: tint-color($hbs-gruen, 90%);
|
|
36
|
+
|
|
37
|
+
$hbs-tuerkis:rgba(95, 187, 201, 1);
|
|
38
|
+
$hbs-tuerkis-50: tint-color($hbs-tuerkis, 50%);
|
|
39
|
+
$hbs-tuerkis-40: tint-color($hbs-tuerkis, 60%);
|
|
40
|
+
$hbs-tuerkis-30: tint-color($hbs-tuerkis, 70%);
|
|
41
|
+
$hbs-tuerkis-20: tint-color($hbs-tuerkis, 80%);
|
|
42
|
+
$hbs-tuerkis-10: tint-color($hbs-tuerkis, 90%);
|
|
43
|
+
|
|
44
|
+
$hbs-blau:rgb(0, 130, 173);
|
|
45
|
+
$hbs-blau-50: tint-color($hbs-blau, 50%);
|
|
46
|
+
$hbs-blau-40: tint-color($hbs-blau, 60%);
|
|
47
|
+
$hbs-blau-30: tint-color($hbs-blau, 70%);
|
|
48
|
+
$hbs-blau-20: tint-color($hbs-blau, 80%);
|
|
49
|
+
$hbs-blau-10: tint-color($hbs-blau, 90%);
|
|
50
|
+
|
|
51
|
+
$hbs-sand: rgba(228, 225, 205, 1);
|
|
52
|
+
$hbs-sand-50: tint-color($hbs-sand, 50%);
|
|
53
|
+
$hbs-sand-40: tint-color($hbs-sand, 60%);
|
|
54
|
+
$hbs-sand-30: tint-color($hbs-sand, 70%);
|
|
55
|
+
$hbs-sand-20: tint-color($hbs-sand, 80%);
|
|
56
|
+
$hbs-sand-10: tint-color($hbs-sand, 90%);
|
|
57
|
+
|
|
58
|
+
$hbs-schwarz: rgb(0, 0, 0);
|
|
59
|
+
$hbs-schwarz-60: tint-color($hbs-schwarz, 40%);
|
|
60
|
+
$hbs-schwarz-50: tint-color($hbs-schwarz, 50%);
|
|
61
|
+
$hbs-schwarz-40: tint-color($hbs-schwarz, 60%);
|
|
62
|
+
$hbs-schwarz-30: tint-color($hbs-schwarz, 70%);
|
|
63
|
+
$hbs-schwarz-20: tint-color($hbs-schwarz, 80%);
|
|
64
|
+
$hbs-schwarz-10: tint-color($hbs-schwarz, 90%);
|
|
65
|
+
|
|
66
|
+
$hbs-white: rgba(255, 255, 255, 1);
|
|
67
|
+
|
|
68
|
+
// for mapping
|
|
69
|
+
// use bg-tuerkis or btn-blau etc...
|
|
70
|
+
$hbs-colors: (
|
|
71
|
+
"rot": $hbs-rot,
|
|
72
|
+
"rot-50": $hbs-rot-50,
|
|
73
|
+
"rot-40": $hbs-rot-40,
|
|
74
|
+
"rot-30": $hbs-rot-30,
|
|
75
|
+
"rot-20": $hbs-rot-20,
|
|
76
|
+
"rot-10": $hbs-rot-10,
|
|
77
|
+
|
|
78
|
+
"orange": $hbs-orange,
|
|
79
|
+
"orange-50": $hbs-orange-50,
|
|
80
|
+
"orange-40": $hbs-orange-40,
|
|
81
|
+
"orange-30": $hbs-orange-30,
|
|
82
|
+
"orange-20": $hbs-orange-20,
|
|
83
|
+
"orange-10": $hbs-orange-10,
|
|
84
|
+
|
|
85
|
+
"pink": $hbs-pink,
|
|
86
|
+
"pink-50": $hbs-pink-50,
|
|
87
|
+
"pink-40": $hbs-pink-40,
|
|
88
|
+
"pink-30": $hbs-pink-30,
|
|
89
|
+
"pink-20": $hbs-pink-20,
|
|
90
|
+
"pink-10": $hbs-pink-10,
|
|
91
|
+
|
|
92
|
+
"lila": $hbs-lila,
|
|
93
|
+
"lila-50": $hbs-lila-50,
|
|
94
|
+
"lila-40": $hbs-lila-40,
|
|
95
|
+
"lila-30": $hbs-lila-30,
|
|
96
|
+
"lila-20": $hbs-lila-20,
|
|
97
|
+
"lila-10": $hbs-lila-10,
|
|
98
|
+
|
|
99
|
+
"tuerkis": $hbs-tuerkis,
|
|
100
|
+
"tuerkis-50": $hbs-tuerkis-50,
|
|
101
|
+
"tuerkis-40": $hbs-tuerkis-40,
|
|
102
|
+
"tuerkis-30": $hbs-tuerkis-30,
|
|
103
|
+
"tuerkis-20": $hbs-tuerkis-20,
|
|
104
|
+
"tuerkis-10": $hbs-tuerkis-10,
|
|
105
|
+
|
|
106
|
+
"blau": $hbs-blau,
|
|
107
|
+
"blau-50": $hbs-blau-50,
|
|
108
|
+
"blau-40": $hbs-blau-40,
|
|
109
|
+
"blau-30": $hbs-blau-30,
|
|
110
|
+
"blau-20": $hbs-blau-20,
|
|
111
|
+
"blau-10": $hbs-blau-10,
|
|
112
|
+
|
|
113
|
+
"sand": $hbs-sand,
|
|
114
|
+
"sand-50": $hbs-sand-50,
|
|
115
|
+
"sand-40": $hbs-sand-40,
|
|
116
|
+
"sand-30": $hbs-sand-30,
|
|
117
|
+
"sand-20": $hbs-sand-20,
|
|
118
|
+
"sand-10": $hbs-sand-10,
|
|
119
|
+
|
|
120
|
+
"schwarz": $hbs-schwarz,
|
|
121
|
+
"schwarz-60": $hbs-schwarz-60,
|
|
122
|
+
"schwarz-50": $hbs-schwarz-50, // a11y: not to be used as font color! contrast to white bg not enought accessible
|
|
123
|
+
"schwarz-40": $hbs-schwarz-40,
|
|
124
|
+
"schwarz-30": $hbs-schwarz-30,
|
|
125
|
+
"schwarz-20": $hbs-schwarz-20,
|
|
126
|
+
"schwarz-10": $hbs-schwarz-10,
|
|
127
|
+
|
|
128
|
+
"weiss": $hbs-white, // duplicate for consitency in naming
|
|
129
|
+
"white": $hbs-white,
|
|
130
|
+
);
|
|
131
|
+
$bsr-bg-grey: #F2F2F2;
|
|
132
|
+
$hbs-warning-bg: $hbs-orange-10;
|
|
133
|
+
$hbs-danger-bg: $hbs-pink-10;
|
|
134
|
+
|
|
135
|
+
//Theme Colors
|
|
136
|
+
$primary: $hbs-rot;
|
|
137
|
+
$secondary: $hbs-tuerkis;
|
|
138
|
+
$success: rgba(14, 150, 93, 1);
|
|
139
|
+
$info: $hbs-blau;
|
|
140
|
+
$warning: $hbs-orange;
|
|
141
|
+
$danger: $hbs-pink;
|
|
142
|
+
$blue: $hbs-blau;
|
|
143
|
+
$dark: $hbs-schwarz;
|
|
144
|
+
$gray: rgb(102, 102, 102); // $hbs-schwarz-60;
|
|
145
|
+
$white: $hbs-white;
|
|
146
|
+
$text-color: $hbs-schwarz;
|
|
147
|
+
// theme color remapping
|
|
148
|
+
$theme-colors: (
|
|
149
|
+
"primary": $hbs-rot,
|
|
150
|
+
"secondary": $secondary,
|
|
151
|
+
"success": $hbs-gruen,
|
|
152
|
+
"warning": $hbs-orange,
|
|
153
|
+
"danger": $hbs-pink,
|
|
154
|
+
"info": $hbs-blau,
|
|
155
|
+
"blue": $hbs-blau,
|
|
156
|
+
"dark": $hbs-schwarz,
|
|
157
|
+
"gray": $gray,
|
|
158
|
+
"white": $hbs-white,
|
|
159
|
+
"text-color": $hbs-schwarz,
|
|
160
|
+
);
|
|
161
|
+
|
|
162
|
+
$hbs-success-lightest: tint-color($success, 80%);
|
|
163
|
+
$hbs-danger-lightest: tint-color($danger, 80%);
|
|
164
|
+
$hbs-warning-lightest: tint-color($warning, 80%);
|
|
165
|
+
$hbs-info-lightest: tint-color($info, 80%);
|