@farm-investimentos/front-mfe-components 14.2.2 → 15.0.1
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/front-mfe-components.common.js +1237 -1139
- package/dist/front-mfe-components.common.js.map +1 -1
- package/dist/front-mfe-components.css +2 -2
- package/dist/front-mfe-components.umd.js +1237 -1139
- package/dist/front-mfe-components.umd.js.map +1 -1
- package/dist/front-mfe-components.umd.min.js +1 -1
- package/dist/front-mfe-components.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/components/AlertBox/AlertBox.scss +3 -2
- package/src/components/AlertBox/AlertBox.vue +2 -0
- package/src/components/Buttons/DefaultButton/DefaultButton.scss +35 -9
- package/src/components/Buttons/DefaultButton/DefaultButton.stories.js +4 -4
- package/src/components/Buttons/DefaultButton/DefaultButton.vue +2 -0
- package/src/components/Buttons/ExportButton/ExportButton.vue +1 -2
- package/src/components/Card/Card.scss +1 -1
- package/src/components/Card/CardComposition.stories.ts +8 -2
- package/src/components/Card/CardContent/CardContent.scss +11 -0
- package/src/components/Card/CardContent/CardContent.stories.js +11 -0
- package/src/components/Card/CardContent/CardContent.vue +9 -1
- package/src/components/CardContext/__tests__/CardContext.spec.js +5 -2
- package/src/components/Checkbox/Checkbox.scss +2 -2
- package/src/components/Checkbox/Checkbox.vue +2 -1
- package/src/components/Chip/Chip.scss +15 -15
- package/src/components/Chip/Chip.stories.js +13 -13
- package/src/components/Chip/Chip.stories.scss +1 -16
- package/src/components/Chip/Chip.vue +25 -3
- package/src/components/Collapsible/Collapsible.scss +8 -3
- package/src/components/Collapsible/Collapsible.stories.js +68 -1
- package/src/components/Collapsible/Collapsible.vue +68 -8
- package/src/components/ContextMenu/ContextMenu.scss +1 -1
- package/src/components/ContextMenu/ContextMenu.stories.js +3 -3
- package/src/components/ContextMenu/ContextMenu.vue +14 -2
- package/src/components/CopyToClipboard/CopyToClipboard.stories.js +7 -1
- package/src/components/CopyToClipboard/CopyToClipboard.vue +15 -3
- package/src/components/DataTableEmptyWrapper/DataTableEmptyWrapper.scss +6 -9
- package/src/components/DataTableEmptyWrapper/DataTableEmptyWrapper.stories.js +4 -0
- package/src/components/DataTableEmptyWrapper/DataTableEmptyWrapper.vue +21 -5
- package/src/components/{TextField/__tests__/TextField.spec.js → DataTableEmptyWrapper/__tests__/DataTableEmptyWrapper.spec.js} +3 -3
- package/src/components/DataTableHeader/DataTableHeader.scss +10 -12
- package/src/components/DataTableHeader/DataTableHeader.vue +5 -4
- package/src/components/DataTablePaginator/DataTablePaginator.scss +71 -69
- package/src/components/DatePicker/DatePicker.scss +5 -5
- package/src/components/DatePicker/vDatePicker.scss +214 -0
- package/src/components/DialogFooter/DialogFooter.scss +1 -1
- package/src/components/DialogFooter/DialogFooter.stories.js +2 -2
- package/src/components/DialogFooter/DialogFooter.vue +1 -1
- package/src/components/DialogHeader/DialogHeader.scss +2 -3
- package/src/components/DialogHeader/DialogHeader.vue +4 -4
- package/src/components/Form/Form.stories.js +1 -1
- package/src/components/Icon/Icon.scss +6 -0
- package/src/components/Icon/Icon.stories.js +19 -1
- package/src/components/Icon/Icon.vue +8 -2
- package/src/components/IconBox/IconBox.stories.js +16 -0
- package/src/components/IconBox/IconBox.vue +17 -7
- package/src/components/IdCaption/IdCaption.vue +27 -13
- package/src/components/Label/Label.scss +17 -5
- package/src/components/Label/Label.stories.js +0 -1
- package/src/components/ListItem/ListItem.scss +5 -3
- package/src/components/ListItem/ListItem.vue +2 -0
- package/src/components/Logger/LoggerItem/LoggerItem.scss +9 -1
- package/src/components/Logger/LoggerItem/LoggerItem.vue +25 -8
- package/src/components/Logger/LoggerItem/__tests__/LoggerItem.spec.js +1 -1
- package/src/components/MainFilter/MainFilter.stories.js +4 -4
- package/src/components/Modal/Modal.scss +3 -3
- package/src/components/ModalPromptUser/ModalPromptUser.stories.js +26 -0
- package/src/components/ModalPromptUser/ModalPromptUser.vue +10 -0
- package/src/components/MultipleFilePicker/MultipleFilePicker.scss +19 -12
- package/src/components/MultipleFilePicker/MultipleFilePicker.stories.js +12 -0
- package/src/components/MultipleFilePicker/MultipleFilePicker.vue +18 -11
- package/src/components/MultipleFilePicker/__tests__/MultipleFilePicker.spec.js +9 -0
- package/src/components/ProgressBar/ProgressBar.vue +4 -0
- package/src/components/Radio/Radio.scss +18 -4
- package/src/components/Radio/Radio.stories.js +2 -1
- package/src/components/Radio/Radio.vue +3 -1
- package/src/components/ResourceMetaInfo/ResourceMetaInfo.vue +8 -8
- package/src/components/Select/Select.scss +4 -0
- package/src/components/Select/Select.vue +4 -0
- package/src/components/Stepper/StepperHeader/StepperHeader.scss +7 -7
- package/src/components/Switcher/Switcher.scss +24 -8
- package/src/components/Switcher/Switcher.stories.js +33 -0
- package/src/components/Switcher/Switcher.vue +24 -3
- package/src/components/TableContextMenu/TableContextMenu.scss +4 -9
- package/src/components/TableContextMenu/TableContextMenu.stories.js +2 -0
- package/src/components/TableContextMenu/TableContextMenu.vue +3 -3
- package/src/components/Tabs/Tabs.scss +24 -10
- package/src/components/Tabs/Tabs.vue +45 -24
- package/src/components/TextArea/TextArea.scss +7 -3
- package/src/components/TextArea/TextArea.vue +1 -0
- package/src/components/TextFieldV2/TextFieldV2.scss +8 -4
- package/src/components/TextFieldV2/TextFieldV2.vue +1 -0
- package/src/components/Tooltip/Tooltip.scss +8 -10
- package/src/components/Tooltip/Tooltip.vue +4 -2
- package/src/components/Typography/BodyText/BodyText.scss +7 -7
- package/src/components/Typography/Caption/Caption.scss +7 -7
- package/src/components/Typography/Caption/Caption.stories.js +1 -1
- package/src/components/Typography/Caption/Caption.vue +4 -1
- package/src/components/Typography/Caption/configurations.ts +3 -2
- package/src/components/Typography/Heading/Heading.scss +19 -19
- package/src/components/Typography/Heading/configurations.ts +5 -5
- package/src/components/Typography/Small/Small.scss +3 -0
- package/src/components/Typography/Small/Small.stories.js +34 -0
- package/src/components/Typography/Small/Small.vue +47 -0
- package/src/components/Typography/Small/__tests__/Small.spec.js +31 -0
- package/src/components/Typography/Small/configurations.ts +7 -0
- package/src/components/Typography/Subtitle/Subtitle.scss +7 -7
- package/src/components/Typography/Typography.scss +10 -0
- package/src/components/Typography/Typography.stories.js +15 -2
- package/src/components/Typography/Typography.vue +6 -2
- package/src/components/Typography/index.ts +2 -1
- package/src/components/ValueCaption/ValueCaption.vue +2 -0
- package/src/components/layout/Line/Line.scss +15 -0
- package/src/components/layout/Line/Line.stories.js +28 -5
- package/src/components/layout/Line/Line.vue +37 -3
- package/src/configurations/_mixins.scss +1 -1
- package/src/configurations/_theme-colors-background.scss +10 -0
- package/src/configurations/_theme-colors-bw.scss +10 -0
- package/src/configurations/_theme-colors.scss +79 -48
- package/src/configurations/_variables.scss +2 -0
- package/src/examples/Colors.stories.js +39 -1
- package/src/examples/Colors.stories.scss +1 -1
- package/src/helpers/index.ts +2 -1
- package/src/helpers/isChildOfFixedElement.js +16 -0
- package/src/main.ts +0 -3
- package/src/scss/Sticky-table.scss +8 -6
- package/src/scss/VuejsDialog.scss +58 -51
- package/src/scss/cssVariablesGenerator.scss +17 -14
- package/src/scss/utils.scss +17 -251
- package/src/components/FilePicker/FilePicker.scss +0 -53
- package/src/components/FilePicker/FilePicker.stories.js +0 -14
- package/src/components/FilePicker/FilePicker.vue +0 -109
- package/src/components/FilePicker/__tests__/FilePicker.spec.js +0 -77
- package/src/components/FilePicker/index.ts +0 -3
- package/src/components/TextField/TextField.scss +0 -43
- package/src/components/TextField/TextField.stories.js +0 -104
- package/src/components/TextField/TextField.vue +0 -18
- package/src/components/TextField/index.ts +0 -4
- package/src/scss/ButtonOverrides.scss +0 -73
- package/src/scss/DefaultModal.scss +0 -89
- package/src/scss/DialogOverrides.scss +0 -94
- package/src/scss/FormOverrides.scss +0 -264
- package/src/scss/Status-Chip.scss +0 -34
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { shallowMount } from '@vue/test-utils';
|
|
2
|
-
import FilePicker from '../FilePicker';
|
|
3
|
-
|
|
4
|
-
describe('FilePicker component', () => {
|
|
5
|
-
let wrapper;
|
|
6
|
-
let component;
|
|
7
|
-
|
|
8
|
-
beforeEach(() => {
|
|
9
|
-
wrapper = shallowMount(FilePicker);
|
|
10
|
-
component = wrapper.vm;
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
test('Created hook', () => {
|
|
14
|
-
expect(wrapper).toBeDefined();
|
|
15
|
-
});
|
|
16
|
-
|
|
17
|
-
describe('Component methods', () => {
|
|
18
|
-
describe('fileChange', () => {
|
|
19
|
-
it('Should emit event with a file', () => {
|
|
20
|
-
component.fileChange([1]);
|
|
21
|
-
expect(wrapper.emitted().onFileChange[0]).toBeDefined();
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
it('Should not emit', () => {
|
|
25
|
-
component.fileChange([]);
|
|
26
|
-
expect(wrapper.emitted().onFileChange).toBeUndefined();
|
|
27
|
-
});
|
|
28
|
-
|
|
29
|
-
it('Should handle max file size', async () => {
|
|
30
|
-
await wrapper.setProps({
|
|
31
|
-
maxFileSize: 5,
|
|
32
|
-
});
|
|
33
|
-
component.fileChange([{ size: 6 * 1024 * 1024 }]);
|
|
34
|
-
expect(wrapper.vm.maxSizeReach).toBeTruthy();
|
|
35
|
-
});
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
describe('handlerFunctionHighlight', () => {
|
|
39
|
-
it('Should add class', () => {
|
|
40
|
-
const spyObj = jest.spyOn(wrapper.vm.dropArea.classList, 'add');
|
|
41
|
-
component.handlerFunctionHighlight();
|
|
42
|
-
expect(spyObj).toHaveBeenCalled();
|
|
43
|
-
});
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
describe('handlerFunctionUnhighlight', () => {
|
|
47
|
-
it('Should add class', () => {
|
|
48
|
-
const spyObj = jest.spyOn(wrapper.vm.dropArea.classList, 'remove');
|
|
49
|
-
wrapper.vm.handlerFunctionUnhighlight();
|
|
50
|
-
expect(spyObj).toHaveBeenCalled();
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
describe('addListeners', () => {
|
|
55
|
-
it('Should add listeners', () => {
|
|
56
|
-
const spyObj = jest.spyOn(wrapper.vm.dropArea, 'addEventListener');
|
|
57
|
-
wrapper.vm.addListeners();
|
|
58
|
-
expect(spyObj).toHaveBeenCalled();
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
describe('Computed properties', () => {
|
|
64
|
-
it('Should return maxSizeReachMsg', () => {
|
|
65
|
-
wrapper.setProps({
|
|
66
|
-
maxFileSize: 5,
|
|
67
|
-
});
|
|
68
|
-
expect(wrapper.vm.maxSizeReachMsg).toContain('Arquivo ultrapassou o tamanho máximo');
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
it('Should have input element', () => {
|
|
72
|
-
expect(component.inputEl).toBeDefined();
|
|
73
|
-
});
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
});
|
|
77
|
-
});
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
.farm-textfield {
|
|
2
|
-
padding-bottom: 4px;
|
|
3
|
-
|
|
4
|
-
&.v-input {
|
|
5
|
-
|
|
6
|
-
&.v-text-field {
|
|
7
|
-
|
|
8
|
-
:deep(.v-input__slot) {
|
|
9
|
-
min-height: 36px !important;
|
|
10
|
-
height: 36px;
|
|
11
|
-
background: white;
|
|
12
|
-
padding: 0 8px;
|
|
13
|
-
|
|
14
|
-
fieldset {
|
|
15
|
-
border-color: var(--farm-gray-lighten);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
input,
|
|
19
|
-
.v-select__selection {
|
|
20
|
-
font-size: 12px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&.v-input--is-label-active.v-input--is-focused:not(.error--text) {
|
|
25
|
-
:deep(.v-input__slot fieldset) {
|
|
26
|
-
border-color: var(--v-secondary-base);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:deep(input) {
|
|
30
|
-
color: var(--v-secondary-base);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&.error--text {
|
|
35
|
-
:deep(.v-input__slot) fieldset {
|
|
36
|
-
border-color: var(--farm-error-primary);
|
|
37
|
-
border-width: 1px;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { withDesign } from 'storybook-addon-designs';
|
|
2
|
-
import TextField from './TextField.vue';
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: 'Form/TextField',
|
|
6
|
-
component: TextField,
|
|
7
|
-
decorators: [withDesign],
|
|
8
|
-
parameters: {
|
|
9
|
-
docs: {
|
|
10
|
-
description: {
|
|
11
|
-
component: `Text field<br />
|
|
12
|
-
selector: <em>farm-texfield</em><br />
|
|
13
|
-
<span style="color: var(--farm-primary-base);">ready for use</span>
|
|
14
|
-
`,
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
design: {
|
|
18
|
-
type: 'figma',
|
|
19
|
-
url: 'https://www.figma.com/file/1f84J4m1IBghWhozQvdyyt/%E2%9C%85---Design-System-%7C-v1?node-id=1503%3A227',
|
|
20
|
-
},
|
|
21
|
-
viewMode: 'docs',
|
|
22
|
-
},
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export const Primary = () => ({
|
|
26
|
-
data() {
|
|
27
|
-
return {
|
|
28
|
-
v: 'input text',
|
|
29
|
-
};
|
|
30
|
-
},
|
|
31
|
-
template: `<div style="width: 480px">
|
|
32
|
-
<farm-textfield v-model="v" />
|
|
33
|
-
value: {{ v }}
|
|
34
|
-
</div>`,
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
export const Disabled = () => ({
|
|
38
|
-
data() {
|
|
39
|
-
return {
|
|
40
|
-
v: 'disabled field',
|
|
41
|
-
};
|
|
42
|
-
},
|
|
43
|
-
template: `<div style="width: 480px">
|
|
44
|
-
<farm-textfield v-model="v" disabled />
|
|
45
|
-
</div>`,
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
export const Readonly = () => ({
|
|
49
|
-
data() {
|
|
50
|
-
return {
|
|
51
|
-
v: 'readonly field',
|
|
52
|
-
};
|
|
53
|
-
},
|
|
54
|
-
template: `<div style="width: 480px">
|
|
55
|
-
<farm-textfield v-model="v" readonly />
|
|
56
|
-
</div>`,
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
export const BindVar = () => ({
|
|
60
|
-
data() {
|
|
61
|
-
return {
|
|
62
|
-
v: '',
|
|
63
|
-
};
|
|
64
|
-
},
|
|
65
|
-
template: `<div style="width: 480px">
|
|
66
|
-
<farm-textfield v-model="v" />
|
|
67
|
-
value: {{ v }}
|
|
68
|
-
</div>`,
|
|
69
|
-
});
|
|
70
|
-
|
|
71
|
-
export const Validate = () => ({
|
|
72
|
-
data() {
|
|
73
|
-
return {
|
|
74
|
-
v1: 'input 1',
|
|
75
|
-
v2: '',
|
|
76
|
-
v3: '',
|
|
77
|
-
v4: '',
|
|
78
|
-
rules: {
|
|
79
|
-
required: value => !!value || 'Required field',
|
|
80
|
-
email: v =>
|
|
81
|
-
!v ||
|
|
82
|
-
/^\w+([.-]?\w+)*@\w+([.-]?\w+)*(\.\w{2,3})+$/.test(v) ||
|
|
83
|
-
'Must be an e-mail',
|
|
84
|
-
},
|
|
85
|
-
};
|
|
86
|
-
},
|
|
87
|
-
template: `<div style="width: 480px">
|
|
88
|
-
<farm-label required>Required field</farm-label>
|
|
89
|
-
<farm-textfield v-model="v1" :rules="[rules.required]" />
|
|
90
|
-
|
|
91
|
-
<farm-label>E-mail</farm-label>
|
|
92
|
-
<farm-textfield v-model="v2" :rules="[rules.email]" />
|
|
93
|
-
|
|
94
|
-
<farm-label required>Required and e-mail</farm-label>
|
|
95
|
-
<farm-textfield v-model="v3" :rules="[rules.required, rules.email]" />
|
|
96
|
-
|
|
97
|
-
<farm-label required>Required field with hint</farm-label>
|
|
98
|
-
<farm-textfield v-model="v4" :rules="[rules.required]" hint="hint text" />
|
|
99
|
-
|
|
100
|
-
<farm-label required>Required field with icon</farm-label>
|
|
101
|
-
<farm-textfield v-model="v1" :rules="[rules.required]" append-icon="mdi-eye" />
|
|
102
|
-
|
|
103
|
-
</div>`,
|
|
104
|
-
});
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<v-text-field class="farm-textfield" v-on="{ ...$listeners }" v-bind="$attrs" outlined />
|
|
3
|
-
</template>
|
|
4
|
-
<script lang="ts">
|
|
5
|
-
import Vue from 'vue';
|
|
6
|
-
import { VTextField } from 'vuetify/lib/components/VTextField';
|
|
7
|
-
|
|
8
|
-
export default Vue.extend({
|
|
9
|
-
name: 'farm-textfield',
|
|
10
|
-
inheritAttrs: true,
|
|
11
|
-
components: {
|
|
12
|
-
VTextField,
|
|
13
|
-
},
|
|
14
|
-
});
|
|
15
|
-
</script>
|
|
16
|
-
<style lang="scss" scoped>
|
|
17
|
-
@import 'TextField.scss';
|
|
18
|
-
</style>
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
.v-btn {
|
|
2
|
-
|
|
3
|
-
.v-btn__content {
|
|
4
|
-
text-transform: none;
|
|
5
|
-
letter-spacing: 0;
|
|
6
|
-
font-weight: 700;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&.v-size--default {
|
|
10
|
-
font-size: 0.75rem !important;
|
|
11
|
-
|
|
12
|
-
.v-icon {
|
|
13
|
-
font-size: 1rem;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&.v-btn-outlined-noborder {
|
|
18
|
-
border: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.v-btn-rounded {
|
|
22
|
-
border-radius: 2rem;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&.v-btn--no-min-width {
|
|
26
|
-
min-width: 0 !important;
|
|
27
|
-
padding: 0.125rem 0.35rem !important;
|
|
28
|
-
height: auto !important;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.v-btn.v-btn-noeffect {
|
|
33
|
-
&:hover {
|
|
34
|
-
opacity: 0.8;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&:before {
|
|
38
|
-
opacity: 0 !important;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.v-ripple__container {
|
|
42
|
-
opacity: 0 !important;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
.v-btn--plain {
|
|
48
|
-
&:not(.v-btn--active):not(.v-btn--loading):not(:focus):not(:hover) {
|
|
49
|
-
.v-btn__content {
|
|
50
|
-
opacity: 1;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
&:hover {
|
|
54
|
-
opacity: 0.62;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
@media screen and (max-width: 600px) {
|
|
60
|
-
|
|
61
|
-
.v-btn.v-btn-responsive,
|
|
62
|
-
.v-btn.v-btn--responsive {
|
|
63
|
-
width: 100%;
|
|
64
|
-
margin: 0;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.farm-btn.v-btn-responsive,
|
|
68
|
-
.farm-btn.v-btn--responsive {
|
|
69
|
-
width: 100%;
|
|
70
|
-
margin: 0;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
.modal-default.v-dialog {
|
|
2
|
-
background: white;
|
|
3
|
-
|
|
4
|
-
header {
|
|
5
|
-
font-size: 0.75rem;
|
|
6
|
-
color: var(--v-secondary-base);
|
|
7
|
-
padding-right: calc(1rem);
|
|
8
|
-
position: absolute;
|
|
9
|
-
z-index: 4;
|
|
10
|
-
max-width: calc(960px);
|
|
11
|
-
margin-top: -1.5rem;
|
|
12
|
-
padding: 1rem;
|
|
13
|
-
background-color: white;
|
|
14
|
-
font-weight: 700;
|
|
15
|
-
border-radius: 4px 4px 0 0;
|
|
16
|
-
border-bottom: 1px solid var(--v-gray-lighten2);
|
|
17
|
-
|
|
18
|
-
.dialog-header__title-icon {
|
|
19
|
-
color: var(--v-secondary-base);
|
|
20
|
-
font-size: 1rem;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.dialog-header__close-icon {
|
|
24
|
-
position: absolute;
|
|
25
|
-
right: 1rem;
|
|
26
|
-
color: var(--v-secondary-base);
|
|
27
|
-
font-size: 1rem;
|
|
28
|
-
&:hover {
|
|
29
|
-
opacity: 0.8;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
> main > .v-main__wrap > section {
|
|
35
|
-
padding: 1.5rem;
|
|
36
|
-
font-size: 0.75rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.v-dialog__footer {
|
|
40
|
-
border-top: 1px solid var(--v-gray-lighten2);
|
|
41
|
-
padding: 1rem;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.modal-default-top {
|
|
45
|
-
position: fixed;
|
|
46
|
-
top: 0;
|
|
47
|
-
header {
|
|
48
|
-
padding-top: 3rem;
|
|
49
|
-
}
|
|
50
|
-
> main > .v-main__wrap > section {
|
|
51
|
-
padding-top: 5rem;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
@media screen and (min-width: 960px) {
|
|
57
|
-
.v-dialog.modal-default {
|
|
58
|
-
max-width: 960px;
|
|
59
|
-
}
|
|
60
|
-
.v-dialog.modal-default.modal-default-small {
|
|
61
|
-
max-width: calc(480px - 2rem);
|
|
62
|
-
|
|
63
|
-
header {
|
|
64
|
-
max-width: calc(480px - 2rem);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.v-dialog.modal-default.modal-default-x-small {
|
|
69
|
-
max-width: calc(392px - 2rem);
|
|
70
|
-
|
|
71
|
-
header {
|
|
72
|
-
max-width: calc(392px - 2rem);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.v-dialog.modal-default.modal-default-md {
|
|
77
|
-
max-width: calc(600px - 2rem);
|
|
78
|
-
|
|
79
|
-
header {
|
|
80
|
-
max-width: calc(600px - 2rem);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@media screen and (max-width: 960px) {
|
|
86
|
-
.v-dialog.modal-default header {
|
|
87
|
-
max-width: calc(100% - 3rem);
|
|
88
|
-
}
|
|
89
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.v-dialog.vuedl-layout {
|
|
3
|
-
.v-toolbar {
|
|
4
|
-
color: var(--v-secondary-base);
|
|
5
|
-
padding-right: calc(1rem);
|
|
6
|
-
padding: 0;
|
|
7
|
-
background-color: white;
|
|
8
|
-
font-weight: 700;
|
|
9
|
-
.v-toolbar__content {
|
|
10
|
-
background-color: white;
|
|
11
|
-
.v-toolbar__title {
|
|
12
|
-
font-size: 0.75rem;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
&.error {
|
|
16
|
-
color: var(--v-error-base);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
.v-dialog-wrapper {
|
|
20
|
-
position: relative;
|
|
21
|
-
}
|
|
22
|
-
.vuedl-layout__closeBtn {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
.v-card__actions {
|
|
26
|
-
border-top: 1px solid var(--v-gray-lighten2);
|
|
27
|
-
padding: 1rem;
|
|
28
|
-
}
|
|
29
|
-
.v-card__text {
|
|
30
|
-
border-top: 1px solid var(--v-gray-lighten2);
|
|
31
|
-
padding-top: 2rem !important;
|
|
32
|
-
padding-bottom: 2rem !important;
|
|
33
|
-
font-size: 0.75rem !important;
|
|
34
|
-
color: var(--v-primary-base) !important;
|
|
35
|
-
font-family: 'Montserrat', sans-serif !important;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.v-btn {
|
|
39
|
-
&.secondary-outlined--text {
|
|
40
|
-
background-color: white;
|
|
41
|
-
border: 1px solid var(--v-secondary-base);
|
|
42
|
-
color: var(--v-secondary-base);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.v-btn.primary--text,
|
|
47
|
-
.v-btn.danger--text {
|
|
48
|
-
background-color: white;
|
|
49
|
-
border: 1px solid var(--v-primary-base);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.v-btn.error--text {
|
|
53
|
-
background-color: var(--v-error-base);
|
|
54
|
-
color: white !important;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.v-btn.secondary--text {
|
|
58
|
-
background-color: var(--v-secondary-base);
|
|
59
|
-
}
|
|
60
|
-
.v-btn.info--text {
|
|
61
|
-
background-color: var(--v-info-base);
|
|
62
|
-
}
|
|
63
|
-
.v-btn.info--text {
|
|
64
|
-
background-color: var(--v-info-base);
|
|
65
|
-
}
|
|
66
|
-
.v-btn.yellow--text {
|
|
67
|
-
background-color: var(--v-yellow-base);
|
|
68
|
-
}
|
|
69
|
-
.v-btn.extra--text {
|
|
70
|
-
background-color: var(--v-extra-base);
|
|
71
|
-
}
|
|
72
|
-
.v-btn.gray--text {
|
|
73
|
-
background-color: var(--v-gray-base);
|
|
74
|
-
}
|
|
75
|
-
.v-btn.info--text,
|
|
76
|
-
.v-btn.yellow--text,
|
|
77
|
-
.v-btn.extra--text,
|
|
78
|
-
.v-btn.gray--text,
|
|
79
|
-
.v-btn.secondary--text,
|
|
80
|
-
.v-btn.yellow--text {
|
|
81
|
-
|
|
82
|
-
margin-left: 0.75rem !important;
|
|
83
|
-
}
|
|
84
|
-
.v-btn.yellow--text {
|
|
85
|
-
color: black !important;
|
|
86
|
-
}
|
|
87
|
-
.v-btn.info--text,
|
|
88
|
-
.v-btn.yellow--text,
|
|
89
|
-
.v-btn.extra--text,
|
|
90
|
-
.v-btn.gray--text,
|
|
91
|
-
.v-btn.secondary--text {
|
|
92
|
-
color: white !important;
|
|
93
|
-
}
|
|
94
|
-
}
|