@beterdichtbij/component-library 0.11.2 → 0.11.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/dist/bd-component-lib.cjs.js +30 -30
- package/dist/bd-component-lib.es.js +4593 -4386
- package/dist/bd-component-lib.umd.js +30 -35
- package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts +7 -19
- package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts +60 -0
- package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts.map +1 -0
- package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts +5 -6
- package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDButton/BDButton.vue.d.ts +22 -29
- package/dist/components/atoms/BDButton/BDButton.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDCard/BDCard.vue.d.ts.map +1 -1
- 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/BDForm/BDForm.vue.d.ts +2 -20
- package/dist/components/atoms/BDForm/BDForm.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts +54 -0
- package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts.map +1 -0
- package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts +33 -3
- package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue.d.ts +8 -9
- package/dist/components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts +16 -8
- package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDInputGroup/BDInputGroup.vue.d.ts +28 -2
- package/dist/components/atoms/BDInputGroup/BDInputGroup.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDLink/BDLink.vue.d.ts +6 -8
- package/dist/components/atoms/BDLink/BDLink.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDLogo/BDLogo.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDPagination/BDPagination.vue.d.ts +5 -15
- package/dist/components/atoms/BDPagination/BDPagination.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts +5 -6
- package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts.map +1 -1
- package/dist/components/atoms/BDToast/BDToast.vue.d.ts +75 -0
- package/dist/components/atoms/BDToast/BDToast.vue.d.ts.map +1 -0
- package/dist/components/atoms/BDZoomslider/BDZoomslider.vue.d.ts +4 -18
- package/dist/components/atoms/BDZoomslider/BDZoomslider.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconAttachment.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconBold.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconBulletList.vue.d.ts.map +1 -1
- 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/IconCaretLeft.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconCaretRight.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconCheck.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconClose.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconError.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconFile.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconHyperlink.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconInfo.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconItalic.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconOrderedList.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconRemove.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/IconUnderline.vue.d.ts.map +1 -1
- package/dist/components/atoms/icons/index.d.ts +2 -1
- package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts +14 -9
- package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts.map +1 -1
- package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts +26 -1
- package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts.map +1 -1
- package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts +14 -6
- package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts.map +1 -1
- package/dist/components/molecules/BDUser/BDUser.vue.d.ts +56 -0
- package/dist/components/molecules/BDUser/BDUser.vue.d.ts.map +1 -0
- package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts +25 -26
- package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts.map +1 -1
- package/dist/components/organisms/BDModal/BDModal.vue.d.ts +6 -0
- package/dist/components/organisms/BDModal/BDModal.vue.d.ts.map +1 -1
- package/dist/index.d.ts +10 -3
- package/dist/interfaces/BDAlertProps.d.ts +5 -0
- package/dist/interfaces/BDArticleProps.d.ts +7 -0
- package/dist/interfaces/BDBadgeProps.d.ts +4 -0
- package/dist/interfaces/BDButtonProps.d.ts +9 -0
- package/dist/interfaces/BDCardProps.d.ts +10 -0
- package/dist/interfaces/BDCollapsableCardProps.d.ts +7 -0
- package/dist/interfaces/BDDropDownProps.d.ts +13 -0
- package/dist/interfaces/BDFormCheckboxProps.d.ts +7 -0
- package/dist/{types/BDFormInput.d.ts → interfaces/BDFormInputProps.d.ts} +3 -2
- package/dist/interfaces/BDFormInvalidFeedbackProps.d.ts +4 -0
- package/dist/interfaces/BDFormSelectProps.d.ts +10 -0
- package/dist/{types → interfaces}/BDImage.d.ts +2 -2
- package/dist/interfaces/BDInputGroupProps.d.ts +4 -0
- package/dist/interfaces/BDLinkProps.d.ts +12 -0
- package/dist/interfaces/BDMarkdownEditorProps.d.ts +8 -0
- package/dist/interfaces/BDPaginationProps.d.ts +6 -0
- package/dist/interfaces/BDToastProps.d.ts +10 -0
- package/dist/interfaces/BDUserProps.d.ts +7 -0
- package/dist/interfaces/BDZoomSliderProps.d.ts +4 -0
- package/dist/layout/BDContainer.vue.d.ts +4 -4
- 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 +78 -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/dist/types/BootstrapSizes.d.ts +8 -0
- package/dist/types/BootstrapVariants.d.ts +10 -0
- package/dist/types/ButtonColorVariants.d.ts +14 -0
- package/dist/types/Identifier.d.ts +3 -0
- package/dist/types/ToastVariants.d.ts +8 -0
- package/dist/types/tiptapVariants.d.ts +6 -0
- package/dist/utils/type.d.ts +1 -0
- package/package.json +1 -1
- package/dist/bd-component-lib.css +0 -5
- package/dist/components/organisms/BDHeader/BDHeader.vue.d.ts +0 -37
- package/dist/components/organisms/BDHeader/BDHeader.vue.d.ts.map +0 -1
- package/dist/enums/bootstrap.d.ts +0 -15
- package/dist/enums/tiptapVariants.d.ts +0 -4
- package/dist/enums/variants.d.ts +0 -12
- package/dist/types/BDAlert.d.ts +0 -5
- package/dist/types/BDButton.d.ts +0 -8
- package/dist/types/BDDropDown.d.ts +0 -11
- package/dist/types/BDFormSelect.d.ts +0 -10
- package/dist/types/BDHeader.d.ts +0 -7
- package/dist/types/BDLink.d.ts +0 -13
- package/dist/types/BDMarkdownEditor.d.ts +0 -8
- package/dist/types/BootstrapButtonVariants.d.ts +0 -4
- package/dist/types/BootstrapSize.d.ts +0 -4
- package/dist/types/BootstrapVariant.d.ts +0 -4
- /package/dist/composables/{uniqueIdentifier.d.ts → useUniqueIdentifier.d.ts} +0 -0
- /package/dist/{types/BDDropzone.d.ts → interfaces/BDDropzoneProps.d.ts} +0 -0
- /package/dist/{types/BDModal.d.ts → interfaces/BDModalProps.d.ts} +0 -0
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.bd-markdown-editor {
|
|
2
|
+
padding: 0.5rem;
|
|
3
|
+
border: 1px solid $gray-500;
|
|
4
|
+
background-color: $white;
|
|
5
|
+
border-radius: 0.5rem;
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
&.is-invalid {
|
|
9
|
+
border: 1px solid $color-red;
|
|
10
|
+
|
|
11
|
+
+.invalid-feedback {
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.ProseMirror {
|
|
17
|
+
padding: 8px;
|
|
18
|
+
|
|
19
|
+
&-focused {
|
|
20
|
+
outline: none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
p {
|
|
24
|
+
&.is-editor-empty:first-child::before {
|
|
25
|
+
content: attr(data-placeholder);
|
|
26
|
+
float: left;
|
|
27
|
+
color: #adb5bd;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
height: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__menu-bottom {
|
|
35
|
+
display: flex;
|
|
36
|
+
gap: 0.5rem;
|
|
37
|
+
|
|
38
|
+
.popover-body {
|
|
39
|
+
padding h3 {
|
|
40
|
+
margin-bottom: 5px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
fieldset.form-group {
|
|
44
|
+
margin: 0px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
|
|
2
|
+
.page-link, .page-link:hover {
|
|
3
|
+
width: 40px;
|
|
4
|
+
height: 40px;
|
|
5
|
+
border:$pagination-border-width solid $pagination-border-color;
|
|
6
|
+
border-radius: $pagination-border-radius;
|
|
7
|
+
font-weight: $font-semibold;
|
|
8
|
+
color: $pagination-color;
|
|
9
|
+
margin-right: 8px;
|
|
10
|
+
background-color: $white;
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
|
|
13
|
+
.active &{
|
|
14
|
+
border-color: $primary;
|
|
15
|
+
background-color: $white;
|
|
16
|
+
color: $font-color-primary;
|
|
17
|
+
|
|
18
|
+
.colleague & {
|
|
19
|
+
border-color: $color-colleague;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.disabled &{
|
|
25
|
+
border:none;
|
|
26
|
+
width: 20px;
|
|
27
|
+
background-color: transparent;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
$image-sizes:
|
|
2
|
+
"xs" 27px,
|
|
3
|
+
"sm" 48px,
|
|
4
|
+
"md" 60px,
|
|
5
|
+
"lg" 130px;
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
.bd-profile-picture {
|
|
9
|
+
|
|
10
|
+
@each $variant, $size in $image-sizes {
|
|
11
|
+
&.#{$variant} {
|
|
12
|
+
width:$size;
|
|
13
|
+
height:$size;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
overflow:hidden;
|
|
18
|
+
position: relative;
|
|
19
|
+
background-color:$color-bg;
|
|
20
|
+
|
|
21
|
+
img{
|
|
22
|
+
width:100%;
|
|
23
|
+
height:100%;
|
|
24
|
+
object-fit:cover;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&__footer{
|
|
28
|
+
background-color:rgba($color-black, 0.54);
|
|
29
|
+
font-size: 12px;
|
|
30
|
+
color: $color-white;
|
|
31
|
+
text-align: center;
|
|
32
|
+
height:27px;
|
|
33
|
+
width:100%;
|
|
34
|
+
z-index:1;
|
|
35
|
+
text-decoration: none;
|
|
36
|
+
cursor: pointer;
|
|
37
|
+
&:hover{
|
|
38
|
+
text-decoration: underline;
|
|
39
|
+
color:$color-white;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.sm &, .xs &, .md & {
|
|
43
|
+
display: none;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|