@beterdichtbij/component-library 0.9.0 → 0.11.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/dist/bd-component-lib.cjs.js +30 -30
- package/dist/bd-component-lib.es.js +2947 -2871
- package/dist/bd-component-lib.umd.js +30 -35
- package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts +50 -0
- package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts.map +1 -0
- package/dist/components/atoms/icons/IconCaretDown.vue.d.ts +2 -0
- package/dist/components/atoms/icons/IconCaretDown.vue.d.ts.map +1 -0
- package/dist/components/atoms/icons/index.d.ts +2 -1
- package/dist/index.d.ts +3 -2
- package/dist/interfaces/BDCollapsableCardProps.d.ts +7 -0
- package/dist/layout/BDContainer.vue.d.ts +4 -3
- package/dist/scss/_alert.scss +11 -0
- package/dist/scss/_article.scss +24 -0
- package/dist/scss/_base.scss +2 -0
- package/dist/scss/_button.scss +54 -0
- package/dist/scss/_card.scss +83 -0
- package/dist/scss/_collapsable-card.scss +119 -0
- package/dist/scss/_dropdown.scss +102 -0
- package/dist/scss/_dropzone.scss +72 -0
- package/dist/scss/_forms.scss +2 -0
- package/dist/scss/_icons.scss +53 -0
- package/dist/scss/_markdown-editor.scss +48 -0
- package/dist/scss/_modal.scss +16 -0
- package/dist/scss/_pagination.scss +29 -0
- package/dist/scss/_profile-image.scss +47 -0
- package/dist/scss/_toast.scss +84 -0
- package/dist/scss/_user.scss +6 -0
- package/dist/scss/_zoomslider.scss +72 -0
- package/dist/scss/base/typography.scss +16 -0
- package/dist/scss/base/variables.scss +162 -0
- package/dist/scss/component-library-styling.scss +18 -0
- package/dist/scss/forms/_form-check.scss +12 -0
- package/dist/scss/forms/_form-input.scss +4 -0
- package/dist/scss/mixins.scss +46 -0
- package/package.json +3 -2
- package/dist/bd-component-lib.css +0 -5
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
title: {
|
|
4
|
+
type: __PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
disabled: {
|
|
9
|
+
type: __PropType<boolean>;
|
|
10
|
+
required: true;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
showOn: {
|
|
14
|
+
type: __PropType<import('../../../types/BootstrapSizes').bootstrapSizes>;
|
|
15
|
+
required: true;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
visible: {
|
|
19
|
+
type: __PropType<boolean>;
|
|
20
|
+
required: true;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
title: {
|
|
25
|
+
type: __PropType<string>;
|
|
26
|
+
required: true;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
disabled: {
|
|
30
|
+
type: __PropType<boolean>;
|
|
31
|
+
required: true;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
showOn: {
|
|
35
|
+
type: __PropType<import('../../../types/BootstrapSizes').bootstrapSizes>;
|
|
36
|
+
required: true;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
visible: {
|
|
40
|
+
type: __PropType<boolean>;
|
|
41
|
+
required: true;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
}>>, {
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
title: string;
|
|
47
|
+
showOn: import('../../../types/BootstrapSizes').bootstrapSizes;
|
|
48
|
+
visible: boolean;
|
|
49
|
+
}, {}>;
|
|
50
|
+
export default _sfc_main;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BDCollapsableCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/BDCollapsableCard/BDCollapsableCard.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qHAAqH,CAAC;AAC5I,cAAc,qHAAqH,CAAC;AACpI,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IconCaretDown.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconCaretDown.vue"],"names":[],"mappings":";AAsBA,wBAA4E"}
|
|
@@ -4,6 +4,7 @@ import IconAttachment from "./IconAttachment.vue";
|
|
|
4
4
|
import IconInfo from "./IconInfo.vue";
|
|
5
5
|
import IconRemove from "./IconRemove.vue";
|
|
6
6
|
import IconFile from "./IconFile.vue";
|
|
7
|
+
import IconCaretDown from "./IconCaretDown.vue";
|
|
7
8
|
import IconCaretRight from "./IconCaretRight.vue";
|
|
8
9
|
import IconCaretLeft from "./IconCaretLeft.vue";
|
|
9
10
|
import IconClose from "./IconClose.vue";
|
|
@@ -13,4 +14,4 @@ import IconUnderline from "./IconUnderline.vue";
|
|
|
13
14
|
import IconBulletList from "./IconBulletList.vue";
|
|
14
15
|
import IconOrderedList from "./IconOrderedList.vue";
|
|
15
16
|
import IconHyperlink from "./IconHyperlink.vue";
|
|
16
|
-
export { IconAttachment, IconCheck, IconError, IconInfo, IconRemove, IconFile, IconCaretRight, IconCaretLeft, IconClose, IconItalic, IconBold, IconUnderline, IconBulletList, IconOrderedList, IconHyperlink, };
|
|
17
|
+
export { IconAttachment, IconCheck, IconError, IconInfo, IconRemove, IconFile, IconCaretDown, IconCaretRight, IconCaretLeft, IconClose, IconItalic, IconBold, IconUnderline, IconBulletList, IconOrderedList, IconHyperlink, };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import BDCol from "./layout/BDCol.vue";
|
|
2
2
|
import BDContainer from "./layout/BDContainer.vue";
|
|
3
3
|
import BDRow from "./layout/BDRow.vue";
|
|
4
|
-
import { IconAttachment, IconBold, IconBulletList, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline } from "./components/atoms/icons/index";
|
|
4
|
+
import { IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline } from "./components/atoms/icons/index";
|
|
5
5
|
import BDButton from "./components/atoms/BDButton/BDButton.vue";
|
|
6
6
|
import BDLogo from "./components/atoms/BDLogo/BDLogo.vue";
|
|
7
7
|
import BDLink from "./components/atoms/BDLink/BDLink.vue";
|
|
@@ -9,6 +9,7 @@ import BDAlert from "./components/atoms/BDAlert/BDAlert.vue";
|
|
|
9
9
|
import BDProfileImage from "./components/atoms/BDProfileImage/BDProfileImage.vue";
|
|
10
10
|
import BDZoomslider from "./components/atoms/BDZoomslider/BDZoomslider.vue";
|
|
11
11
|
import BDCard from "./components/atoms/BDCard/BDCard.vue";
|
|
12
|
+
import BDCollapsableCard from "./components/atoms/BDCollapsableCard/BDCollapsableCard.vue";
|
|
12
13
|
import BDFormInput from "./components/atoms/BDFormInput/BDFormInput.vue";
|
|
13
14
|
import BDInputGroup from "./components/atoms/BDInputGroup/BDInputGroup.vue";
|
|
14
15
|
import BDFormInvalidFeedback from "./components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue";
|
|
@@ -25,4 +26,4 @@ import BDMarkdownEditor from "./components/molecules/BDMarkdownEditor/BDMarkdown
|
|
|
25
26
|
import BDUser from "./components/molecules/BDUser/BDUser.vue";
|
|
26
27
|
import BDDropdown from "./components/organisms/BDDropdown/BDDropdown.vue";
|
|
27
28
|
import BDModal from "./components/organisms/BDModal/BDModal.vue";
|
|
28
|
-
export { BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, IconAttachment, IconBold, IconBulletList, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, BDArticle, BDUser, BDToast };
|
|
29
|
+
export { BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDCollapsableCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, BDArticle, BDUser, BDToast };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { bootstrapSizes } from '../types/BootstrapSizes';
|
|
2
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
4
|
class: {
|
|
4
5
|
type: __PropType<string | undefined>;
|
|
@@ -6,7 +7,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
6
7
|
default: string;
|
|
7
8
|
};
|
|
8
9
|
fluid: {
|
|
9
|
-
type: __PropType<
|
|
10
|
+
type: __PropType<boolean | bootstrapSizes | undefined>;
|
|
10
11
|
required: false;
|
|
11
12
|
skipCheck: boolean;
|
|
12
13
|
default: boolean;
|
|
@@ -18,13 +19,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
18
19
|
default: string;
|
|
19
20
|
};
|
|
20
21
|
fluid: {
|
|
21
|
-
type: __PropType<
|
|
22
|
+
type: __PropType<boolean | bootstrapSizes | undefined>;
|
|
22
23
|
required: false;
|
|
23
24
|
skipCheck: boolean;
|
|
24
25
|
default: boolean;
|
|
25
26
|
};
|
|
26
27
|
}>>, {
|
|
27
28
|
class: string | undefined;
|
|
28
|
-
fluid:
|
|
29
|
+
fluid: boolean | bootstrapSizes | undefined;
|
|
29
30
|
}, {}>;
|
|
30
31
|
export default _sfc_main;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
article{
|
|
3
|
+
|
|
4
|
+
&.bd-article{
|
|
5
|
+
display:flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
padding: 1.125rem;
|
|
8
|
+
width:100%;
|
|
9
|
+
gap: 1rem;
|
|
10
|
+
background-color: $white;
|
|
11
|
+
border-radius: 8px;
|
|
12
|
+
|
|
13
|
+
header{
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
footer {
|
|
19
|
+
display:flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.btn {
|
|
2
|
+
font-weight: 500;
|
|
3
|
+
border: none;
|
|
4
|
+
border-radius: $border-radius-default;
|
|
5
|
+
text-align: center;
|
|
6
|
+
margin: 0;
|
|
7
|
+
transition: all .5s cubic-bezier(.36,.03,.28,.99);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// $variant, $color, $bg-color, $hover-color, $hover-bg-color, $border $solid $border-color
|
|
11
|
+
$btn-variants:
|
|
12
|
+
"primary" $white $primary $primary $color-lightblue none,
|
|
13
|
+
"secondary" $primary $color-lightblue $color-lightblue $primary none,
|
|
14
|
+
"danger" $white $danger $danger $white none,
|
|
15
|
+
"colleague" $white $color-colleague $color-colleague #ccf2e2 none,
|
|
16
|
+
"outline-primary" $color-blue $white $white $color-blue 1px solid $color-blue,
|
|
17
|
+
"outline-primary-dark" $color-blue transparent $white $color-blue 1px solid $color-blue,
|
|
18
|
+
"outline-tertiary" $black $white $black $white 1px solid #abb0be,
|
|
19
|
+
"link" $primary transparent $primary transparent none,
|
|
20
|
+
"white" $white transparent $white transparent none;
|
|
21
|
+
|
|
22
|
+
@each $variant, $color, $bg-color, $hover-color, $hover-bg-color, $border, $solid, $border-color in $btn-variants {
|
|
23
|
+
.btn-#{$variant} {
|
|
24
|
+
@include button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $border, $solid, $border-color)
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.btn-link {
|
|
29
|
+
text-decoration: none;
|
|
30
|
+
|
|
31
|
+
&:hover {
|
|
32
|
+
text-decoration: underline;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.btn-outline-tertiary {
|
|
37
|
+
&.disabled{
|
|
38
|
+
opacity: 1;
|
|
39
|
+
color: #afb8cc;
|
|
40
|
+
background-color: #f2f3f5;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.btn-close{
|
|
45
|
+
.modal & {
|
|
46
|
+
background-image: initial;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
.card {
|
|
2
|
+
border:none;
|
|
3
|
+
border-radius: $border-radius-default;
|
|
4
|
+
|
|
5
|
+
.card-header {
|
|
6
|
+
background-color:$primary;
|
|
7
|
+
color:$white;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
position: relative;
|
|
12
|
+
|
|
13
|
+
&.colleague {
|
|
14
|
+
background-color: $color-colleague;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.card-body {
|
|
19
|
+
padding: 20px;
|
|
20
|
+
|
|
21
|
+
ul {
|
|
22
|
+
list-style: none;
|
|
23
|
+
padding: 0px;
|
|
24
|
+
margin: 0px;
|
|
25
|
+
|
|
26
|
+
&:not(:last-of-type) {
|
|
27
|
+
border-bottom: 2px solid $color-bg;
|
|
28
|
+
margin-bottom: 20px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
li &:not(.autocomplete-result) {
|
|
32
|
+
color: $color-darkblue;
|
|
33
|
+
font-size: 16px;
|
|
34
|
+
font-weight: $font-bold;
|
|
35
|
+
|
|
36
|
+
label {
|
|
37
|
+
font-weight: $font-normal;
|
|
38
|
+
margin-right: 5px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
a:not(.attachment-link) {
|
|
42
|
+
text-decoration: underline;
|
|
43
|
+
color: $color-darkblue;
|
|
44
|
+
font-weight: $font-bold;
|
|
45
|
+
|
|
46
|
+
&:active,
|
|
47
|
+
&:focus {
|
|
48
|
+
text-decoration: none;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@include media-breakpoint-up(md) {
|
|
52
|
+
&:hover {
|
|
53
|
+
text-decoration: none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.alert {
|
|
61
|
+
ul {
|
|
62
|
+
padding-top: 10px;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.btn-container {
|
|
67
|
+
margin-top: 10px;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
&.no-body .card-header {
|
|
72
|
+
background-color: $white;
|
|
73
|
+
color: $font-color-primary;
|
|
74
|
+
border:none;
|
|
75
|
+
border-radius: $border-radius-default;
|
|
76
|
+
padding: 20px;
|
|
77
|
+
|
|
78
|
+
h2 {
|
|
79
|
+
font-weight: $font-normal;
|
|
80
|
+
font-family: $font-secondary;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
.bd-collapsable-card {
|
|
2
|
+
margin-bottom: 1rem;
|
|
3
|
+
|
|
4
|
+
&__actions {
|
|
5
|
+
display: flex;
|
|
6
|
+
gap: 8px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.card-header {
|
|
10
|
+
border-radius: $border-radius-default;
|
|
11
|
+
|
|
12
|
+
.patient-detail-template &{
|
|
13
|
+
&.is-disabled{
|
|
14
|
+
border-radius: $border-radius-default;
|
|
15
|
+
padding: 10px 20px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
>.btn-caret.collapsed {
|
|
20
|
+
border-radius: $border-radius-default;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.no-title {
|
|
24
|
+
justify-content: flex-end;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.btn-caret.btn {
|
|
28
|
+
width: fit-content;
|
|
29
|
+
padding: 0px 6px 0px 6px;
|
|
30
|
+
background: transparent;
|
|
31
|
+
|
|
32
|
+
svg {
|
|
33
|
+
margin: revert;
|
|
34
|
+
fill: $color-white;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&:focus,
|
|
38
|
+
&:hover {
|
|
39
|
+
border: none;
|
|
40
|
+
box-shadow: revert;
|
|
41
|
+
background: transparent;
|
|
42
|
+
|
|
43
|
+
svg {
|
|
44
|
+
fill: $color-white;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&[aria-expanded="true"] {
|
|
49
|
+
svg {
|
|
50
|
+
transform: rotate(-180deg);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.round-corners {
|
|
56
|
+
border-radius: $border-radius-default;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
@include media-breakpoint-down(md) {
|
|
60
|
+
min-height: revert;
|
|
61
|
+
height: 60px;
|
|
62
|
+
|
|
63
|
+
&.round-corners-md {
|
|
64
|
+
border-radius: $border-radius-default;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@include media-breakpoint-down(sm) {
|
|
69
|
+
&.round-corners-sm {
|
|
70
|
+
border-radius: $border-radius-default;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.card-body {
|
|
76
|
+
&.display-none {
|
|
77
|
+
display: none;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.collapse {
|
|
81
|
+
@include media-breakpoint-up(lg) {
|
|
82
|
+
&.open-collapse-lg {
|
|
83
|
+
display: block !important
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include media-breakpoint-up(md) {
|
|
88
|
+
&.open-collapse-md {
|
|
89
|
+
display: block !important
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.collapse-body {
|
|
95
|
+
padding: 20px;
|
|
96
|
+
|
|
97
|
+
ul {
|
|
98
|
+
list-style: none;
|
|
99
|
+
padding: 0px;
|
|
100
|
+
margin: 0px;
|
|
101
|
+
|
|
102
|
+
&:not(:last-of-type) {
|
|
103
|
+
border-bottom: 1px solid $color-bg;
|
|
104
|
+
margin-bottom: 20px;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
li {
|
|
109
|
+
font-size: 1rem;
|
|
110
|
+
line-height: 1.375rem;
|
|
111
|
+
word-wrap: break-word;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
label {
|
|
115
|
+
margin-right: 0.4rem;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
|
|
2
|
+
.bd-dropdown.dropdown {
|
|
3
|
+
&.show {
|
|
4
|
+
|
|
5
|
+
&:after {
|
|
6
|
+
transform: rotate(180deg);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
ul.dropdown-menu {
|
|
11
|
+
border: 0px;
|
|
12
|
+
box-shadow: $dropdown-box-shadow;
|
|
13
|
+
margin-top: 0.125rem;
|
|
14
|
+
|
|
15
|
+
&.dropdown-menu-action {
|
|
16
|
+
border: 1px solid rgba(0,0,0,.15);
|
|
17
|
+
border-radius: $border-radius-default;
|
|
18
|
+
|
|
19
|
+
.dropdown-item{
|
|
20
|
+
width:100%;
|
|
21
|
+
padding: 0.25rem 1.5rem;
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
line-height: revert;
|
|
24
|
+
|
|
25
|
+
&:hover{
|
|
26
|
+
background-color: #4d5875;
|
|
27
|
+
color: #f5f5f5;
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
.dropdown-item {
|
|
35
|
+
font-size: 1rem;
|
|
36
|
+
letter-spacing: 0;
|
|
37
|
+
line-height: 2.75rem;
|
|
38
|
+
|
|
39
|
+
&:not(:last-child) {
|
|
40
|
+
border-bottom: 1px solid $color-lightblue;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:active,
|
|
44
|
+
&:focus {
|
|
45
|
+
text-decoration: underline;
|
|
46
|
+
background-color: transparent;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@include media-breakpoint-up(md) {
|
|
50
|
+
&:hover {
|
|
51
|
+
text-decoration: underline;
|
|
52
|
+
background-color: transparent;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.dropdown-toggle {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
font-weight: $font-bold;
|
|
63
|
+
font-size: 16px;
|
|
64
|
+
letter-spacing: 0;
|
|
65
|
+
line-height: 24px;
|
|
66
|
+
margin-right: 21px;
|
|
67
|
+
|
|
68
|
+
&:after {
|
|
69
|
+
border: 0px;
|
|
70
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='10'%3E%3Cpath d='M8.828 6.207L14.632.404a1 1 0 0 1 1.414 0l.707.707a1 1 0 0 1 0 1.414L9.682 9.596a.999.999 0 0 1-.854.282.999.999 0 0 1-.853-.282L.904 2.526a1 1 0 0 1 0-1.415L1.61.404a1 1 0 0 1 1.414 0l5.803 5.803z' fill='%23AFB8CC'/%3E%3C/svg%3E");
|
|
71
|
+
background-repeat: no-repeat;
|
|
72
|
+
background-size: contain;
|
|
73
|
+
background-position: 50%;
|
|
74
|
+
width: 14px;
|
|
75
|
+
height: 10px;
|
|
76
|
+
transition: 0.2s all ease-in;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&-action {
|
|
80
|
+
font-size: calc(13px/16px) * 1rem;
|
|
81
|
+
font-weight: $font-medium;
|
|
82
|
+
padding: 0 10px;
|
|
83
|
+
|
|
84
|
+
&:after{
|
|
85
|
+
background-image:url('data:image/svg+xml, <svg class="icon icon-triangle-down" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" ><path d="M11.071 2.414L6.414 7.071a1 1 0 0 1-1.414 0L.343 2.414A1 1 0 0 1 1.05.707h9.314a1 1 0 0 1 .707 1.707z" /></svg>');
|
|
86
|
+
border: 0;
|
|
87
|
+
box-shadow: none;
|
|
88
|
+
width: 9px;
|
|
89
|
+
height: 7px;
|
|
90
|
+
margin-left: 5px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
a.dropdown-toggle{
|
|
96
|
+
color: $color-darkblue;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.bd-dropdown-item {
|
|
101
|
+
list-style-type: none;
|
|
102
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
@use "sass:math";
|
|
2
|
+
|
|
3
|
+
.dropzone.bd-dropzone, .dropzone.bd-dropzone * {
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
}
|
|
6
|
+
.dropzone.bd-dropzone {
|
|
7
|
+
position: relative;
|
|
8
|
+
color: $color-darkblue;
|
|
9
|
+
font-family: $font-family-base;
|
|
10
|
+
width:fit-content;
|
|
11
|
+
|
|
12
|
+
.dz-message{
|
|
13
|
+
margin-bottom: 1.25rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.dz-preview {
|
|
17
|
+
position: relative;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
|
|
20
|
+
text-align: center;
|
|
21
|
+
|
|
22
|
+
.dz-image{
|
|
23
|
+
min-width: 150px;
|
|
24
|
+
height: 88px;
|
|
25
|
+
object-fit: contain;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.dz-error-message,.dz-success-mark {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&.dz-error {
|
|
33
|
+
.dz-error-message, .dz-error-mark {
|
|
34
|
+
display: block;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
&.dz-success {
|
|
38
|
+
.dz-success-mark {
|
|
39
|
+
display: block;
|
|
40
|
+
background-color: $green;
|
|
41
|
+
border-radius: 50%;
|
|
42
|
+
width:21px;
|
|
43
|
+
height:21px;
|
|
44
|
+
margin: 0px auto;
|
|
45
|
+
svg{
|
|
46
|
+
transform: translateY(-2px);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&.dz-complete {
|
|
52
|
+
.dz-progress {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.dz-remove {
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: -10px;
|
|
60
|
+
right: -10px;
|
|
61
|
+
margin: 0;
|
|
62
|
+
width: 21px;
|
|
63
|
+
height: 21px;
|
|
64
|
+
border-radius: 50%;
|
|
65
|
+
padding: 0px;
|
|
66
|
+
background-color: $primary;
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
align-items: center;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.icon{
|
|
2
|
+
display: inline-block;
|
|
3
|
+
height: 18px;
|
|
4
|
+
width: 17px;
|
|
5
|
+
position: relative;
|
|
6
|
+
|
|
7
|
+
&.icon-check{
|
|
8
|
+
.bd-dropzone &{
|
|
9
|
+
height: 16px;
|
|
10
|
+
width: 11px;
|
|
11
|
+
fill: $color-white;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
&.icon-remove {
|
|
15
|
+
width: 11px;
|
|
16
|
+
height: 11px;
|
|
17
|
+
|
|
18
|
+
.dz-remove &{
|
|
19
|
+
fill: $color-white;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&.icon-file{
|
|
24
|
+
fill: $color-darkblue;
|
|
25
|
+
.dz-details &{
|
|
26
|
+
height: 88px;
|
|
27
|
+
min-width: 150px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.dz-error &{
|
|
31
|
+
fill: $color-red;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.icon-error{
|
|
36
|
+
.dz-error-mark & , .dz-error-message &, .bd-invalid-feedback &{
|
|
37
|
+
path {
|
|
38
|
+
fill: $color-red;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
&.icon-loading{
|
|
43
|
+
width:25px;
|
|
44
|
+
height:25px;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.icon-close{
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
width: 24px;
|
|
50
|
+
height: 24px;
|
|
51
|
+
fill: white;
|
|
52
|
+
}
|
|
53
|
+
}
|