@beterdichtbij/component-library 0.22.1 → 0.23.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 +26 -26
- package/dist/bd-component-lib.es.js +1376 -1358
- package/dist/bd-component-lib.umd.js +31 -31
- package/dist/components/atoms/BDToast/BDToast.vue.d.ts +0 -11
- package/dist/components/atoms/icons/IconTriangleExclamation.vue.d.ts +2 -0
- package/dist/components/atoms/icons/IconTriangleExclamation.vue.d.ts.map +1 -0
- package/dist/components/atoms/icons/index.d.ts +2 -1
- package/dist/components/molecules/BDImageAttachmentPreviewList/BDImageAttachmentPreviewList.vue.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/interfaces/BDToastProps.d.ts +0 -1
- package/dist/scss/_button.scss +13 -13
- package/dist/scss/_toast.scss +49 -43
- package/dist/scss/base/variables.scss +40 -30
- package/dist/scss/mixins.scss +52 -39
- package/package.json +1 -1
|
@@ -4,11 +4,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
4
4
|
type: __PropType<string | undefined>;
|
|
5
5
|
required: false;
|
|
6
6
|
};
|
|
7
|
-
show: {
|
|
8
|
-
type: __PropType<boolean | undefined>;
|
|
9
|
-
required: false;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
7
|
variant: {
|
|
13
8
|
type: __PropType<import('../../../types/ToastVariants').toastVariants | undefined>;
|
|
14
9
|
required: false;
|
|
@@ -29,11 +24,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
29
24
|
type: __PropType<string | undefined>;
|
|
30
25
|
required: false;
|
|
31
26
|
};
|
|
32
|
-
show: {
|
|
33
|
-
type: __PropType<boolean | undefined>;
|
|
34
|
-
required: false;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
27
|
variant: {
|
|
38
28
|
type: __PropType<import('../../../types/ToastVariants').toastVariants | undefined>;
|
|
39
29
|
required: false;
|
|
@@ -53,6 +43,5 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
53
43
|
variant: import('../../../types/ToastVariants').toastVariants | undefined;
|
|
54
44
|
text: string | undefined;
|
|
55
45
|
title: string | undefined;
|
|
56
|
-
show: boolean | undefined;
|
|
57
46
|
}, {}>;
|
|
58
47
|
export default _sfc_main;
|
|
@@ -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":"IconTriangleExclamation.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/icons/IconTriangleExclamation.vue"],"names":[],"mappings":";AAwBA,wBAA4E"}
|
|
@@ -25,4 +25,5 @@ import IconMenu from "./IconMenu.vue";
|
|
|
25
25
|
import IconOrderedList from "./IconOrderedList.vue";
|
|
26
26
|
import IconRemove from "./IconRemove.vue";
|
|
27
27
|
import IconUnderline from "./IconUnderline.vue";
|
|
28
|
-
|
|
28
|
+
import IconTriangleExclamation from "./IconTriangleExclamation.vue";
|
|
29
|
+
export { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconUnderline, IconTriangleExclamation };
|
package/dist/components/molecules/BDImageAttachmentPreviewList/BDImageAttachmentPreviewList.vue.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
21
21
|
required: true;
|
|
22
22
|
default: boolean;
|
|
23
23
|
};
|
|
24
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
24
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("delete" | "show")[], "delete" | "show", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
fastDownload: {
|
|
26
26
|
type: __PropType<boolean>;
|
|
27
27
|
required: true;
|
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 { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, IconCalendar, IconDownloadImage, IconMenu, IconEdit, IconCardView, IconListView, IconEyeShow, IconEyeSlash } from "./components/atoms/icons/index";
|
|
4
|
+
import { IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconError, IconFile, IconHyperlink, IconInfo, IconItalic, IconOrderedList, IconRemove, IconUnderline, IconCalendar, IconDownloadImage, IconMenu, IconEdit, IconCardView, IconListView, IconEyeShow, IconEyeSlash, IconTriangleExclamation } 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";
|
|
@@ -34,4 +34,4 @@ import BDModal from "./components/organisms/BDModal/BDModal.vue";
|
|
|
34
34
|
import { useModal } from "./composables/useModal";
|
|
35
35
|
import { useToaster } from "./composables/useToaster";
|
|
36
36
|
import { vBdTooltip } from "./directives/BDTooltip";
|
|
37
|
-
export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDCollapsableCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, BDArticle, BDUser, BDToast, BDAttachmentPreviewList, BDImageAttachmentPreviewList, BDHeader, BDMobileMenu, IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconUnderline, useModal, useToaster, vBdTooltip, };
|
|
37
|
+
export { BDChatCloud, BDCol, BDContainer, BDRow, BDButton, BDLogo, BDLink, BDDropdownItem, BDDropdown, BDAlert, BDProfileImage, BDZoomslider, BDCard, BDCollapsableCard, BDModal, BDFormInput, BDFormInvalidFeedback, BDInputGroup, BDBadge, BDForm, BDPagination, BDDropzone, BDMarkdownEditor, BDFormSelect, BDFormCheckbox, BDArticle, BDUser, BDToast, BDAttachmentPreviewList, BDImageAttachmentPreviewList, BDHeader, BDMobileMenu, IconAcademy, IconArrowDown, IconArrowUp, IconAttachment, IconBold, IconBulletList, IconCalendar, IconCardView, IconCaretDown, IconCaretLeft, IconCaretRight, IconCheck, IconClose, IconDownloadImage, IconEdit, IconError, IconEyeShow, IconEyeSlash, IconFile, IconHyperlink, IconInfo, IconItalic, IconListView, IconMenu, IconOrderedList, IconRemove, IconUnderline, IconTriangleExclamation, useModal, useToaster, vBdTooltip, };
|
package/dist/scss/_button.scss
CHANGED
|
@@ -7,21 +7,21 @@
|
|
|
7
7
|
transition: all 0.5s cubic-bezier(0.36, 0.03, 0.28, 0.99);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
// $variant, $color, $bg-color, $hover-color, $hover-bg-color, $border $solid $border-color
|
|
10
|
+
// $variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color
|
|
11
11
|
$btn-variants:
|
|
12
|
-
"primary" $white $
|
|
13
|
-
"secondary" $primary $color-
|
|
12
|
+
"primary" $white $blue-text $white $blue-dark none,
|
|
13
|
+
"secondary" $font-color-primary $white $font-color-primary $gray-7 $gray 1px solid $gray,
|
|
14
14
|
"danger" $white $danger $danger $white none,
|
|
15
|
-
"colleague" $white $
|
|
16
|
-
"outline-primary" $color-
|
|
17
|
-
"outline-primary-dark" $color-
|
|
18
|
-
"outline-tertiary" $black $white $black $
|
|
15
|
+
"colleague" $white $green-text $white $green-dark none,
|
|
16
|
+
"outline-primary" $font-color-primary $white $white $font-color-primary $gray-primary 1px solid $gray-primary,
|
|
17
|
+
"outline-primary-dark" $font-color-primary transparent $white $font-color-primary $gray-primary 1px solid $gray-primary,
|
|
18
|
+
"outline-tertiary" $black $white $black $gray-7 $gray-primary 1px solid $gray-primary,
|
|
19
19
|
"link" $primary transparent $primary transparent none,
|
|
20
20
|
"white" $white transparent $white transparent none;
|
|
21
21
|
|
|
22
|
-
@each $variant, $color, $bg-color, $hover-color, $hover-bg-color, $border, $solid, $border-color in $btn-variants {
|
|
22
|
+
@each $variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color in $btn-variants {
|
|
23
23
|
.btn-#{$variant} {
|
|
24
|
-
@include button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $border, $solid, $border-color);
|
|
24
|
+
@include button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -45,7 +45,7 @@ $btn-variants:
|
|
|
45
45
|
&:disabled {
|
|
46
46
|
opacity: 1;
|
|
47
47
|
color: $white;
|
|
48
|
-
background-color:
|
|
48
|
+
background-color: $blue-pastel;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -62,8 +62,8 @@ button {
|
|
|
62
62
|
right: -10px;
|
|
63
63
|
margin-top: 0px !important;
|
|
64
64
|
background-color: $primary;
|
|
65
|
-
color:
|
|
66
|
-
fill:
|
|
65
|
+
color: $white;
|
|
66
|
+
fill: $white;
|
|
67
67
|
width: 21px;
|
|
68
68
|
height: 21px;
|
|
69
69
|
border-radius: 50%;
|
|
@@ -72,7 +72,7 @@ button {
|
|
|
72
72
|
text-align: center;
|
|
73
73
|
&:hover {
|
|
74
74
|
fill: $primary;
|
|
75
|
-
background-color:
|
|
75
|
+
background-color: $gray-7;
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
}
|
package/dist/scss/_toast.scss
CHANGED
|
@@ -1,64 +1,70 @@
|
|
|
1
|
-
.toast{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
border-left: 4px solid $info;
|
|
1
|
+
.bd-toast {
|
|
2
|
+
margin: 0.5rem;
|
|
3
|
+
border: 0px;
|
|
4
|
+
margin-left: auto;
|
|
5
|
+
border-left: 4px solid $info;
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
.toast-header {
|
|
8
|
+
border-bottom: 1px solid hsla(203, 62%, 51%, 0.4) ;
|
|
9
|
+
padding: 20px 14px;
|
|
10
|
+
display: flex;
|
|
11
|
+
justify-content: baseline;
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
svg{
|
|
20
|
-
fill: $info;
|
|
21
|
-
margin-right: 1rem;
|
|
22
|
-
}
|
|
13
|
+
button {
|
|
14
|
+
margin-left: auto;
|
|
15
|
+
margin-right: 0px;
|
|
16
|
+
background-color: transparent;
|
|
23
17
|
}
|
|
24
18
|
|
|
25
|
-
|
|
26
|
-
|
|
19
|
+
svg {
|
|
20
|
+
fill: $info;
|
|
21
|
+
margin-right: 1rem;
|
|
27
22
|
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.toast-body {
|
|
26
|
+
padding-left: 20px;
|
|
27
|
+
}
|
|
28
28
|
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
&-danger {
|
|
30
|
+
border-color: $danger;
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
.toast-header {
|
|
33
|
+
border-color: hsla(8, 74%, 53%, 0.4);
|
|
34
34
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
35
|
+
svg {
|
|
36
|
+
fill: $danger;
|
|
38
37
|
}
|
|
39
38
|
}
|
|
39
|
+
}
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
&-warning {
|
|
42
|
+
border-color: $warning;
|
|
43
43
|
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
.toast-header {
|
|
45
|
+
border-color: hsla(48, 100%, 47%, 0.4);
|
|
46
46
|
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
47
|
+
svg {
|
|
48
|
+
fill: $warning;
|
|
50
49
|
}
|
|
51
50
|
}
|
|
51
|
+
}
|
|
52
52
|
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
&-success {
|
|
54
|
+
border-color: $success;
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
.toast-header {
|
|
57
|
+
border-color: hsla(155, 100%, 37%,0.4);
|
|
58
|
+
|
|
59
|
+
svg {
|
|
60
|
+
fill: $success
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.toast-container {
|
|
67
|
+
position: fixed;
|
|
68
|
+
bottom: 0px;
|
|
69
|
+
width: 100%;
|
|
64
70
|
}
|
|
@@ -11,7 +11,7 @@ $gray-800: #343a40;
|
|
|
11
11
|
$gray-900: #212529;
|
|
12
12
|
$black: #000;
|
|
13
13
|
|
|
14
|
-
// colors
|
|
14
|
+
// colors scheme doktr - old color scheme
|
|
15
15
|
$blue: #3594CF; // BD-blue
|
|
16
16
|
$indigo: #6610f2;
|
|
17
17
|
$purple: #6f42c1;
|
|
@@ -23,6 +23,33 @@ $green: #00BF6F; // BD-green
|
|
|
23
23
|
$teal: #20c997;
|
|
24
24
|
$cyan: #0dcaf0;
|
|
25
25
|
|
|
26
|
+
$color-blue :#4D5875; // is een donkerdere kleur dan BD-blauw
|
|
27
|
+
$color-red:#e0462e;
|
|
28
|
+
$color-darkblue:#394156;
|
|
29
|
+
$color-lightblue: #EBF3F8;
|
|
30
|
+
$color-bg:#F5F5F5;
|
|
31
|
+
$color-white : #ffffff;
|
|
32
|
+
$color-black : #000000;
|
|
33
|
+
$color-colleague : $green;
|
|
34
|
+
|
|
35
|
+
// new colorscheme 2024 conform figma designs Ever + de Gier
|
|
36
|
+
$blue-pastel:#D9ECFF; // blauw pastel
|
|
37
|
+
$blue: #418FDE; // blauw: header, BD-blauw
|
|
38
|
+
$blue-text: #2272C4; // blauw tekst: button variant primary
|
|
39
|
+
$blue-dark: #1E66AE; // blauw donker: hover button primary
|
|
40
|
+
|
|
41
|
+
$green-pastel: #DBFFF0; // groen pastel
|
|
42
|
+
$green: #00A862; // groen: header-collega, BD-groen
|
|
43
|
+
$green-text: #00854D; // groen tekst: button variant success
|
|
44
|
+
$green-dark: #006B3E; // groen donker: hover button success
|
|
45
|
+
|
|
46
|
+
$gray: #D1D4DB; // grijs : border button secondary,
|
|
47
|
+
$gray-4: #BEC3CD; // grijs 4: border inputfields
|
|
48
|
+
$gray-6: #F2F3F5; // grijs 6:
|
|
49
|
+
$gray-7: #F7F8FA; // grijs 7: button secondary bg-color hover /border
|
|
50
|
+
$gray-secondary: #6B758A; // grijs secondair: subtitles, date cardview
|
|
51
|
+
$gray-primary: #394156; // grijs primair: headings default tekst color
|
|
52
|
+
|
|
26
53
|
// theme colors
|
|
27
54
|
$danger:$red;
|
|
28
55
|
$primary:$blue;
|
|
@@ -54,32 +81,14 @@ $theme-colors: (
|
|
|
54
81
|
"warning": $warning,
|
|
55
82
|
"danger": $danger,
|
|
56
83
|
"success": $success,
|
|
57
|
-
"light":
|
|
58
|
-
"dark" :
|
|
84
|
+
"light": $light,
|
|
85
|
+
"dark" : $dark
|
|
59
86
|
);
|
|
60
87
|
|
|
61
|
-
//variables
|
|
62
|
-
$font-family-base: 'Work Sans',
|
|
63
|
-
sans-serif;
|
|
64
|
-
$headings-font-family: $font-family-base;
|
|
65
|
-
|
|
66
|
-
//Old BD variables
|
|
67
|
-
$color-blue :#4D5875; // is een donkerdere kleur dan BD-blauw
|
|
68
|
-
$color-red:#e0462e;
|
|
69
|
-
$color-darkblue:#394156;
|
|
70
|
-
$color-lightblue: #EBF3F8;
|
|
71
|
-
$color-bg:#F5F5F5;
|
|
72
|
-
|
|
73
|
-
$color-white : #ffffff;
|
|
74
|
-
$color-black : #000000;
|
|
75
|
-
|
|
76
|
-
$color-colleague : $green;
|
|
77
|
-
|
|
78
88
|
//variables font
|
|
79
|
-
$font-family-base: 'Work Sans',
|
|
80
|
-
sans-serif;
|
|
81
|
-
$font-
|
|
82
|
-
sans-serif;
|
|
89
|
+
$font-family-base: 'Work Sans', sans-serif;
|
|
90
|
+
$font-secondary : 'Quicksand', sans-serif;
|
|
91
|
+
$headings-font-family: $font-family-base;
|
|
83
92
|
|
|
84
93
|
$font-light : 300;
|
|
85
94
|
$font-normal : 400;
|
|
@@ -88,14 +97,15 @@ $font-semibold : 600;
|
|
|
88
97
|
$font-bold : 700;
|
|
89
98
|
$font-black : 900;
|
|
90
99
|
|
|
91
|
-
$font-color-primary
|
|
100
|
+
$font-color-primary: $gray-primary;
|
|
101
|
+
$font-color-secondary: $gray-secondary;
|
|
92
102
|
|
|
93
103
|
//chatcloud
|
|
94
104
|
$color-chatcloud:#E1EFF8;
|
|
95
105
|
|
|
96
106
|
//dropdown item vars
|
|
97
|
-
$dropdown-bg:
|
|
98
|
-
$dropdown-color: $color-
|
|
107
|
+
$dropdown-bg: $white;
|
|
108
|
+
$dropdown-color: $font-color-primary;
|
|
99
109
|
$dropdown-border-radius: 0px;
|
|
100
110
|
$dropdown-border-width: 0px;
|
|
101
111
|
$dropdown-box-shadow: 0 2px 5px 0 rgba(77,88,117,.2);
|
|
@@ -117,7 +127,7 @@ $form-label-margin-bottom: 0.25rem; //deze lijkt niet te werken
|
|
|
117
127
|
// scss-docs-end form-label-variables
|
|
118
128
|
|
|
119
129
|
// scss-docs-start form-input-variables
|
|
120
|
-
$input-color: $color-
|
|
130
|
+
$input-color: $font-color-primary;
|
|
121
131
|
$input-border-color: #abb1bf;
|
|
122
132
|
$input-border-width:1px;
|
|
123
133
|
$input-disabled-color: $gray-300;
|
|
@@ -155,11 +165,11 @@ $btn-close-opacity:1;
|
|
|
155
165
|
|
|
156
166
|
//toast
|
|
157
167
|
$toast-background-color: $color-white;
|
|
158
|
-
$toast-color: $color-
|
|
168
|
+
$toast-color: $font-color-primary;
|
|
159
169
|
$toast-padding-x: 1.25rem;
|
|
160
170
|
$toast-border-radius: $border-radius-default;
|
|
161
171
|
$toast-header-background-color : $color-white;
|
|
162
|
-
$toast-header-color:$color-
|
|
172
|
+
$toast-header-color:$font-color-primary;
|
|
163
173
|
|
|
164
174
|
// pagination variables
|
|
165
175
|
|
package/dist/scss/mixins.scss
CHANGED
|
@@ -1,46 +1,59 @@
|
|
|
1
1
|
@mixin alert($color, $bg-color) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
2
|
+
border-radius: 8px;
|
|
3
|
+
padding: 15px;
|
|
4
|
+
font-size: 16px;
|
|
5
|
+
background-color: $bg-color;
|
|
6
|
+
color: $color;
|
|
7
|
+
border: 1px solid $color;
|
|
8
|
+
svg {
|
|
9
|
+
fill: $color;
|
|
10
|
+
&.icon{
|
|
11
|
+
margin-right:8px;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
@mixin button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $border, $solid, $border-color) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
@mixin button($variant, $color, $bg-color, $hover-color, $hover-bg-color, $hover-border-color, $border, $solid, $border-color) {
|
|
17
|
+
color: $color;
|
|
18
|
+
background-color: $bg-color;
|
|
19
|
+
border:$border $solid $border-color;
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
svg {
|
|
22
|
+
fill: $color;
|
|
23
|
+
path{
|
|
24
|
+
fill:$color
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
28
|
+
&:hover, &:focus{
|
|
29
|
+
color: $hover-color;
|
|
30
|
+
background-color: $hover-bg-color;
|
|
31
|
+
border:$border $solid $hover-border-color;
|
|
32
|
+
|
|
33
|
+
svg {
|
|
34
|
+
fill: $hover-color;
|
|
35
|
+
path{
|
|
36
|
+
fill:$hover-color;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
40
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
&:active{
|
|
42
|
+
color: $color;
|
|
43
|
+
background-color: $bg-color;
|
|
44
|
+
border:$border $solid $border-color;
|
|
45
|
+
|
|
46
|
+
svg {
|
|
47
|
+
fill: $color;
|
|
48
|
+
path{
|
|
49
|
+
fill:$color
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.disabled{
|
|
55
|
+
opacity: 0.5;
|
|
56
|
+
color: $color;
|
|
57
|
+
background-color: $bg-color;
|
|
58
|
+
}
|
|
46
59
|
}
|