shared-ritm 1.3.36 → 1.3.38-alpha.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/index.css +1 -1
- package/dist/shared-ritm.es.js +15284 -14832
- package/dist/shared-ritm.umd.js +564 -564
- package/dist/types/api/services/AuthService.d.ts +1 -0
- package/dist/types/api/services/ControlsService.d.ts +3 -0
- package/dist/types/api/services/EquipmentService.d.ts +15 -5
- package/dist/types/api/services/GanttService.d.ts +22 -0
- package/dist/types/api/services/InstrumentsService.d.ts +6 -1
- package/dist/types/api/services/MetricsService.d.ts +5 -1
- package/dist/types/api/services/RepairsService.d.ts +1 -1
- package/dist/types/api/services/TasksService.d.ts +3 -2
- package/dist/types/api/services/UserIssueService.d.ts +15 -0
- package/dist/types/api/services/UserService.d.ts +2 -1
- package/dist/types/api/services/VideoService.d.ts +2 -1
- package/dist/types/api/settings/ApiService.d.ts +7 -3
- package/dist/types/api/types/Api_Auth.d.ts +15 -0
- package/dist/types/api/types/Api_Controls.d.ts +1 -0
- package/dist/types/api/types/Api_Equipment.d.ts +45 -0
- package/dist/types/api/types/Api_Instruments.d.ts +24 -0
- package/dist/types/api/types/Api_Metrics.d.ts +69 -0
- package/dist/types/api/types/Api_Repairs.d.ts +14 -1
- package/dist/types/api/types/Api_Search.d.ts +1 -0
- package/dist/types/api/types/Api_Tasks.d.ts +1 -0
- package/dist/types/api/types/Api_User.d.ts +12 -0
- package/dist/types/api/types/Api_User_Issue.d.ts +33 -0
- package/dist/types/api/types/Api_Video.d.ts +5 -4
- package/dist/types/common/app-button/Button.stories.d.ts +13 -0
- package/dist/types/common/app-checkbox/Checkbox.stories.d.ts +12 -0
- package/dist/types/common/app-date-picker/DatePicker.stories.d.ts +7 -0
- package/dist/types/common/app-datepicker/Datepicker.stories.d.ts +10 -0
- package/dist/types/common/app-dialogs/Confirm.stories.d.ts +8 -0
- package/dist/types/common/app-dropdown/Dropdown.stories.d.ts +8 -0
- package/dist/types/common/app-file/File.stories.d.ts +8 -0
- package/dist/types/common/app-icon/Icon.stories.d.ts +7 -0
- package/dist/types/common/app-input/Input.stories.d.ts +9 -0
- package/dist/types/common/app-input-new/InputNew.stories.d.ts +12 -0
- package/dist/types/common/app-input-search/InputSearch.stories.d.ts +8 -0
- package/dist/types/common/app-loader/Loader.stories.d.ts +8 -0
- package/dist/types/common/app-select/Select.stories.d.ts +7 -0
- package/dist/types/common/app-table/components/ModalSelect.stories.d.ts +10 -0
- package/dist/types/common/app-toggle/Toggle.stories.d.ts +12 -0
- package/dist/types/configs/storybook.d.ts +1 -0
- package/dist/types/index.d.ts +3 -1
- package/dist/types/utils/files.d.ts +2 -0
- package/package.json +1 -1
- package/src/api/services/AuthService.ts +53 -53
- package/src/api/services/BrigadesService.ts +32 -32
- package/src/api/services/GanttService.ts +23 -23
- package/src/api/services/ModulesService.ts +27 -27
- package/src/api/services/ProjectsService.ts +83 -83
- package/src/api/services/ScheduleService.ts +69 -69
- package/src/api/services/SearchService.ts +22 -22
- package/src/api/services/TasksService.ts +157 -157
- package/src/api/services/VideoService.ts +5 -0
- package/src/api/settings/ApiService.ts +125 -124
- package/src/api/types/Api_Brigades.ts +36 -36
- package/src/api/types/Api_Modules.ts +21 -21
- package/src/api/types/Api_Projects.ts +62 -62
- package/src/api/types/Api_Schedule.ts +64 -64
- package/src/api/types/Api_Tasks.ts +376 -375
- package/src/api/types/Api_Video.ts +7 -4
- package/src/common/app-checkbox/AppCheckbox.vue +26 -26
- package/src/common/app-datepicker/AppDatepicker.vue +218 -218
- package/src/common/app-dialogs/AppConfirmDialog.vue +109 -109
- package/src/common/app-dropdown/AppDropdown.vue +37 -37
- package/src/common/app-icon/AppIcon.vue +108 -108
- package/src/common/app-input/AppInput.vue +148 -148
- package/src/common/app-layout/AppLayout.vue +84 -84
- package/src/common/app-layout/components/AppLayoutHeader.vue +273 -273
- package/src/common/app-select/AppSelect.vue +159 -159
- package/src/common/app-sidebar/components/SidebarMenuItem.vue +149 -149
- package/src/common/app-table/AppTableLayout.vue +137 -137
- package/src/common/app-table/components/TableModal.vue +367 -367
- package/src/common/app-table/controllers/useBaseTable.ts +45 -45
- package/src/common/app-table/controllers/useColumnSelector.ts +45 -45
- package/src/common/app-toggle/AppToggle.vue +24 -24
- package/src/common/app-wrapper/AppWrapper.vue +28 -28
- package/src/icons/dialogs/SafetyIcon.vue +12 -12
- package/src/shared/styles/general.css +124 -124
- package/src/utils/helpers.ts +59 -59
- package/dist/types/api/services/ComentsServise.d.ts +0 -10
- package/dist/types/api/services/PhotoService.d.ts +0 -53
- package/dist/types/api/types/Api_Users.d.ts +0 -43
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { ref, watch, onMounted, Ref } from 'vue'
|
|
2
|
-
|
|
3
|
-
export function useBaseTable(model: {
|
|
4
|
-
initialize: (params: { search: string; page: number }) => Promise<void>
|
|
5
|
-
loading: Ref<boolean>
|
|
6
|
-
columnFilters: Ref<Record<string, any>>
|
|
7
|
-
}) {
|
|
8
|
-
const search = ref('')
|
|
9
|
-
const currentPage = ref(1)
|
|
10
|
-
|
|
11
|
-
const loadTable = async (searchVal = '', pageVal = 1) => {
|
|
12
|
-
await model.initialize({ search: searchVal, page: pageVal })
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
const handleSearch = async (val: string) => {
|
|
16
|
-
search.value = val
|
|
17
|
-
currentPage.value = 1
|
|
18
|
-
await loadTable(val, currentPage.value)
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const handlePageChange = async (page: number) => {
|
|
22
|
-
currentPage.value = page
|
|
23
|
-
await loadTable(search.value, page)
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
watch(
|
|
27
|
-
() => model.columnFilters.value,
|
|
28
|
-
async () => {
|
|
29
|
-
currentPage.value = 1
|
|
30
|
-
await loadTable(search.value, currentPage.value)
|
|
31
|
-
},
|
|
32
|
-
{ deep: true },
|
|
33
|
-
)
|
|
34
|
-
|
|
35
|
-
onMounted(() => loadTable(search.value, currentPage.value))
|
|
36
|
-
|
|
37
|
-
return {
|
|
38
|
-
search,
|
|
39
|
-
currentPage,
|
|
40
|
-
loading: model.loading,
|
|
41
|
-
handleSearch,
|
|
42
|
-
handlePageChange,
|
|
43
|
-
loadTable,
|
|
44
|
-
}
|
|
45
|
-
}
|
|
1
|
+
import { ref, watch, onMounted, Ref } from 'vue'
|
|
2
|
+
|
|
3
|
+
export function useBaseTable(model: {
|
|
4
|
+
initialize: (params: { search: string; page: number }) => Promise<void>
|
|
5
|
+
loading: Ref<boolean>
|
|
6
|
+
columnFilters: Ref<Record<string, any>>
|
|
7
|
+
}) {
|
|
8
|
+
const search = ref('')
|
|
9
|
+
const currentPage = ref(1)
|
|
10
|
+
|
|
11
|
+
const loadTable = async (searchVal = '', pageVal = 1) => {
|
|
12
|
+
await model.initialize({ search: searchVal, page: pageVal })
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const handleSearch = async (val: string) => {
|
|
16
|
+
search.value = val
|
|
17
|
+
currentPage.value = 1
|
|
18
|
+
await loadTable(val, currentPage.value)
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const handlePageChange = async (page: number) => {
|
|
22
|
+
currentPage.value = page
|
|
23
|
+
await loadTable(search.value, page)
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
watch(
|
|
27
|
+
() => model.columnFilters.value,
|
|
28
|
+
async () => {
|
|
29
|
+
currentPage.value = 1
|
|
30
|
+
await loadTable(search.value, currentPage.value)
|
|
31
|
+
},
|
|
32
|
+
{ deep: true },
|
|
33
|
+
)
|
|
34
|
+
|
|
35
|
+
onMounted(() => loadTable(search.value, currentPage.value))
|
|
36
|
+
|
|
37
|
+
return {
|
|
38
|
+
search,
|
|
39
|
+
currentPage,
|
|
40
|
+
loading: model.loading,
|
|
41
|
+
handleSearch,
|
|
42
|
+
handlePageChange,
|
|
43
|
+
loadTable,
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
import { computed, ref } from 'vue'
|
|
2
|
-
|
|
3
|
-
export interface ColumnConfig {
|
|
4
|
-
name: string
|
|
5
|
-
label: string
|
|
6
|
-
[key: string]: any
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export function useColumnSelector(allColumns: ColumnConfig[], fixedColumnNames: string[] = []) {
|
|
10
|
-
const selectedColumnNames = ref<string[]>([...new Set([...fixedColumnNames, ...allColumns.map(col => col.name)])])
|
|
11
|
-
|
|
12
|
-
const visibleColumns = computed(() => allColumns.filter(col => selectedColumnNames.value.includes(col.name)))
|
|
13
|
-
|
|
14
|
-
function openColumnSelectorDialog($q: any) {
|
|
15
|
-
$q.dialog({
|
|
16
|
-
title: 'Выберите колонки',
|
|
17
|
-
options: {
|
|
18
|
-
type: 'checkbox',
|
|
19
|
-
model: [...selectedColumnNames.value],
|
|
20
|
-
items: allColumns.map(col => ({
|
|
21
|
-
label: col.label,
|
|
22
|
-
value: col.name,
|
|
23
|
-
disable: fixedColumnNames.includes(col.name),
|
|
24
|
-
})),
|
|
25
|
-
},
|
|
26
|
-
cancel: {
|
|
27
|
-
label: 'Отмена',
|
|
28
|
-
'data-test': 'cancel-button',
|
|
29
|
-
},
|
|
30
|
-
ok: {
|
|
31
|
-
label: 'Ок',
|
|
32
|
-
'data-test': 'ok-button',
|
|
33
|
-
},
|
|
34
|
-
persistent: true,
|
|
35
|
-
}).onOk((val: string[]) => {
|
|
36
|
-
selectedColumnNames.value = Array.from(new Set([...val, ...fixedColumnNames]))
|
|
37
|
-
})
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return {
|
|
41
|
-
selectedColumnNames,
|
|
42
|
-
visibleColumns,
|
|
43
|
-
openColumnSelectorDialog,
|
|
44
|
-
}
|
|
45
|
-
}
|
|
1
|
+
import { computed, ref } from 'vue'
|
|
2
|
+
|
|
3
|
+
export interface ColumnConfig {
|
|
4
|
+
name: string
|
|
5
|
+
label: string
|
|
6
|
+
[key: string]: any
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function useColumnSelector(allColumns: ColumnConfig[], fixedColumnNames: string[] = []) {
|
|
10
|
+
const selectedColumnNames = ref<string[]>([...new Set([...fixedColumnNames, ...allColumns.map(col => col.name)])])
|
|
11
|
+
|
|
12
|
+
const visibleColumns = computed(() => allColumns.filter(col => selectedColumnNames.value.includes(col.name)))
|
|
13
|
+
|
|
14
|
+
function openColumnSelectorDialog($q: any) {
|
|
15
|
+
$q.dialog({
|
|
16
|
+
title: 'Выберите колонки',
|
|
17
|
+
options: {
|
|
18
|
+
type: 'checkbox',
|
|
19
|
+
model: [...selectedColumnNames.value],
|
|
20
|
+
items: allColumns.map(col => ({
|
|
21
|
+
label: col.label,
|
|
22
|
+
value: col.name,
|
|
23
|
+
disable: fixedColumnNames.includes(col.name),
|
|
24
|
+
})),
|
|
25
|
+
},
|
|
26
|
+
cancel: {
|
|
27
|
+
label: 'Отмена',
|
|
28
|
+
'data-test': 'cancel-button',
|
|
29
|
+
},
|
|
30
|
+
ok: {
|
|
31
|
+
label: 'Ок',
|
|
32
|
+
'data-test': 'ok-button',
|
|
33
|
+
},
|
|
34
|
+
persistent: true,
|
|
35
|
+
}).onOk((val: string[]) => {
|
|
36
|
+
selectedColumnNames.value = Array.from(new Set([...val, ...fixedColumnNames]))
|
|
37
|
+
})
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return {
|
|
41
|
+
selectedColumnNames,
|
|
42
|
+
visibleColumns,
|
|
43
|
+
openColumnSelectorDialog,
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<q-toggle v-model="value" :disable="disable" />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script setup lang="ts">
|
|
8
|
-
import { computed, defineProps, defineEmits } from 'vue'
|
|
9
|
-
|
|
10
|
-
interface Props {
|
|
11
|
-
modelValue: any
|
|
12
|
-
disable?: boolean
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
const props = defineProps<Props>()
|
|
16
|
-
const emit = defineEmits(['update:modelValue', 'number'])
|
|
17
|
-
|
|
18
|
-
const value = computed({
|
|
19
|
-
get: () => props.modelValue,
|
|
20
|
-
set: (newValue: any) => emit('update:modelValue', newValue),
|
|
21
|
-
})
|
|
22
|
-
</script>
|
|
23
|
-
|
|
24
|
-
<style module lang="scss"></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<q-toggle v-model="value" :disable="disable" />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
|
|
7
|
+
<script setup lang="ts">
|
|
8
|
+
import { computed, defineProps, defineEmits } from 'vue'
|
|
9
|
+
|
|
10
|
+
interface Props {
|
|
11
|
+
modelValue: any
|
|
12
|
+
disable?: boolean
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
const props = defineProps<Props>()
|
|
16
|
+
const emit = defineEmits(['update:modelValue', 'number'])
|
|
17
|
+
|
|
18
|
+
const value = computed({
|
|
19
|
+
get: () => props.modelValue,
|
|
20
|
+
set: (newValue: any) => emit('update:modelValue', newValue),
|
|
21
|
+
})
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<style module lang="scss"></style>
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="app-wrapper">
|
|
3
|
-
<slot />
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
<script setup lang="ts"></script>
|
|
7
|
-
<style scoped lang="scss">
|
|
8
|
-
.app-wrapper {
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
margin: 20px 0 12px 0;
|
|
12
|
-
padding: 30px;
|
|
13
|
-
border-radius: 8px;
|
|
14
|
-
background: #fff;
|
|
15
|
-
outline: 4px solid #598dd5;
|
|
16
|
-
outline-offset: -3px;
|
|
17
|
-
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px #c4d7f1 inset,
|
|
18
|
-
0px 0px 6.4px 3px rgba(31, 82, 159, 0.5), 0px 6px 58px 0px rgba(0, 49, 122, 0.1);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
@media (max-width: 1440px) {
|
|
22
|
-
.app-wrapper {
|
|
23
|
-
margin: 10px 0;
|
|
24
|
-
padding: 14px;
|
|
25
|
-
border-radius: 8px;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="app-wrapper">
|
|
3
|
+
<slot />
|
|
4
|
+
</div>
|
|
5
|
+
</template>
|
|
6
|
+
<script setup lang="ts"></script>
|
|
7
|
+
<style scoped lang="scss">
|
|
8
|
+
.app-wrapper {
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
margin: 20px 0 12px 0;
|
|
12
|
+
padding: 30px;
|
|
13
|
+
border-radius: 8px;
|
|
14
|
+
background: #fff;
|
|
15
|
+
outline: 4px solid #598dd5;
|
|
16
|
+
outline-offset: -3px;
|
|
17
|
+
box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25), 0px 4px 4px 0px #c4d7f1 inset,
|
|
18
|
+
0px 0px 6.4px 3px rgba(31, 82, 159, 0.5), 0px 6px 58px 0px rgba(0, 49, 122, 0.1);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
@media (max-width: 1440px) {
|
|
22
|
+
.app-wrapper {
|
|
23
|
+
margin: 10px 0;
|
|
24
|
+
padding: 14px;
|
|
25
|
+
border-radius: 8px;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
</style>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg width="50" height="50" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<path
|
|
4
|
-
fill-rule="evenodd"
|
|
5
|
-
clip-rule="evenodd"
|
|
6
|
-
d="M47.5 2.5H12.5C6.97715 2.5 2.5 6.97715 2.5 12.5V25C2.5 35.9165 9.14893 45.4216 22.0963 53.4484C26.938 56.45 33.062 56.45 37.9037 53.4484L38.8284 52.8657C51.1712 44.9576 57.5 35.6473 57.5 25V12.5C57.5 6.97715 53.0228 2.5 47.5 2.5ZM12.5 7.5H47.5C50.2614 7.5 52.5 9.73858 52.5 12.5V25C52.5 33.7331 47.1592 41.5899 36.1469 48.6456L35.2535 49.2085C32.0413 51.1999 27.9586 51.1999 24.7309 49.1988C13.1268 42.0048 7.5 33.9609 7.5 25V12.5C7.5 9.73858 9.73858 7.5 12.5 7.5ZM44.2833 15.7258C43.3072 14.7492 41.7243 14.7488 40.7477 15.7248L27.5 28.9625L21.7783 23.2302L21.543 23.0221C20.5629 22.2587 19.1448 22.3268 18.2428 23.2273C17.2657 24.2028 17.2643 25.7857 18.2398 26.7628L25.7308 34.2663L25.9662 34.4745C26.9467 35.2382 28.3655 35.1696 29.2673 34.2682L44.2823 19.2613L44.4904 19.0258C45.2532 18.0453 45.1842 16.6272 44.2833 15.7258Z"
|
|
7
|
-
fill="#00D097"
|
|
8
|
-
/>
|
|
9
|
-
</svg>
|
|
10
|
-
</template>
|
|
11
|
-
|
|
12
|
-
<style scoped lang="scss"></style>
|
|
1
|
+
<template>
|
|
2
|
+
<svg width="50" height="50" viewBox="0 0 60 60" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path
|
|
4
|
+
fill-rule="evenodd"
|
|
5
|
+
clip-rule="evenodd"
|
|
6
|
+
d="M47.5 2.5H12.5C6.97715 2.5 2.5 6.97715 2.5 12.5V25C2.5 35.9165 9.14893 45.4216 22.0963 53.4484C26.938 56.45 33.062 56.45 37.9037 53.4484L38.8284 52.8657C51.1712 44.9576 57.5 35.6473 57.5 25V12.5C57.5 6.97715 53.0228 2.5 47.5 2.5ZM12.5 7.5H47.5C50.2614 7.5 52.5 9.73858 52.5 12.5V25C52.5 33.7331 47.1592 41.5899 36.1469 48.6456L35.2535 49.2085C32.0413 51.1999 27.9586 51.1999 24.7309 49.1988C13.1268 42.0048 7.5 33.9609 7.5 25V12.5C7.5 9.73858 9.73858 7.5 12.5 7.5ZM44.2833 15.7258C43.3072 14.7492 41.7243 14.7488 40.7477 15.7248L27.5 28.9625L21.7783 23.2302L21.543 23.0221C20.5629 22.2587 19.1448 22.3268 18.2428 23.2273C17.2657 24.2028 17.2643 25.7857 18.2398 26.7628L25.7308 34.2663L25.9662 34.4745C26.9467 35.2382 28.3655 35.1696 29.2673 34.2682L44.2823 19.2613L44.4904 19.0258C45.2532 18.0453 45.1842 16.6272 44.2833 15.7258Z"
|
|
7
|
+
fill="#00D097"
|
|
8
|
+
/>
|
|
9
|
+
</svg>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<style scoped lang="scss"></style>
|
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--main-header-height: 73px;
|
|
3
|
-
--main-footer-height: 66px;
|
|
4
|
-
--sidebar-width-max: 250px;
|
|
5
|
-
--sidebar-width-min: 66px;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
/*border-radius*/
|
|
9
|
-
:root {
|
|
10
|
-
--border-radius-xxs: 4px;
|
|
11
|
-
--border-radius-xs: 8px;
|
|
12
|
-
--border-radius-s: 12px;
|
|
13
|
-
--border-radius-m: 16px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/*color*/
|
|
17
|
-
:root {
|
|
18
|
-
--g-blue: #3f8cff;
|
|
19
|
-
--g-blue-light: #e4efff;
|
|
20
|
-
--g-blue-dark: #1c75ff;
|
|
21
|
-
--g-green: #00d097;
|
|
22
|
-
--g-green-light: #e0f9f2;
|
|
23
|
-
--g-green-dark: #b8f8e7;
|
|
24
|
-
--g-red: #ff192d;
|
|
25
|
-
--g-red-light: #fdecee;
|
|
26
|
-
--g-red-dark: #ffdcde;
|
|
27
|
-
--g-grey-100: #d8e0f0;
|
|
28
|
-
|
|
29
|
-
--g-font-color: #0a1629;
|
|
30
|
-
--g-font-grey-color: #b9c0c7;
|
|
31
|
-
--g-font-secondary-color: #7d8592;
|
|
32
|
-
|
|
33
|
-
--g-grey-background: #ced5e0;
|
|
34
|
-
--g-grey-hover-background: #9fa5af;
|
|
35
|
-
--g-secondary-background: #f4f9fd;
|
|
36
|
-
--g-thirty-background: #c8cbcf;
|
|
37
|
-
|
|
38
|
-
--g-fire-color-1: #fee7e7;
|
|
39
|
-
--g-fire-color-2: #fed4d5;
|
|
40
|
-
--g-fire-color-3: #fcc0c0;
|
|
41
|
-
--g-fire-color-4: #f9a2a2;
|
|
42
|
-
--g-fire-color-5: #f97d7e;
|
|
43
|
-
--g-fire-color-6: #f65160;
|
|
44
|
-
--g-fire-color-7: #ff192d;
|
|
45
|
-
--g-fire-color-8: #ab0514;
|
|
46
|
-
--g-fire-color-9: #6e000a;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
* {
|
|
50
|
-
margin: 0;
|
|
51
|
-
padding: 0;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
button:active,
|
|
55
|
-
button:focus {
|
|
56
|
-
outline: none !important;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
html {
|
|
60
|
-
font-family: 'NunitoSansFont', sans-serif !important;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.ant-dropdown {
|
|
64
|
-
z-index: 10000;
|
|
65
|
-
.content {
|
|
66
|
-
z-index: 10000;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
@font-face {
|
|
71
|
-
font-family: 'NunitoSansFont';
|
|
72
|
-
src: local('NunitoSansFont-Regular'), url('../fonts/NunitoSansFont.ttf') format('truetype');
|
|
73
|
-
font-weight: 400;
|
|
74
|
-
font-style: normal;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
@font-face {
|
|
78
|
-
font-family: 'NunitoSansFont';
|
|
79
|
-
src: local('NunitoSansFont-Bold'), url('../fonts/NunitoSans_7pt-Bold.ttf') format('truetype');
|
|
80
|
-
font-weight: 700;
|
|
81
|
-
font-style: normal;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@font-face {
|
|
85
|
-
font-family: 'Montserrat';
|
|
86
|
-
src: local('Montserrat-Regular'), url('../fonts/Montserrat.ttf') format('truetype');
|
|
87
|
-
font-weight: 400;
|
|
88
|
-
font-style: normal;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
@font-face {
|
|
92
|
-
font-family: 'Montserrat';
|
|
93
|
-
src: local('Montserrat-Bold'), url('../fonts/Montserrat-Bold.ttf') format('truetype');
|
|
94
|
-
font-weight: 700;
|
|
95
|
-
font-style: normal;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@font-face {
|
|
99
|
-
font-family: 'Inter';
|
|
100
|
-
src: local('Inter-Regular'), url('../fonts/Inter_18pt-Regular.ttf') format('truetype');
|
|
101
|
-
font-weight: 400;
|
|
102
|
-
font-style: normal;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@font-face {
|
|
106
|
-
font-family: 'Inter';
|
|
107
|
-
src: local('Inter-SemiBold'), url('../fonts/Inter_18pt-SemiBold.ttf') format('truetype');
|
|
108
|
-
font-weight: 600;
|
|
109
|
-
font-style: normal;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
@font-face {
|
|
113
|
-
font-family: 'Inter';
|
|
114
|
-
src: local('Inter-Bold'), url('../fonts/Inter_18pt-Bold.ttf') format('truetype');
|
|
115
|
-
font-weight: 700;
|
|
116
|
-
font-style: normal;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
@font-face {
|
|
120
|
-
font-family: 'Inter';
|
|
121
|
-
src: local('Inter-Black'), url('../fonts/Inter_18pt-Black.ttf') format('truetype');
|
|
122
|
-
font-weight: 900;
|
|
123
|
-
font-style: normal;
|
|
124
|
-
}
|
|
1
|
+
:root {
|
|
2
|
+
--main-header-height: 73px;
|
|
3
|
+
--main-footer-height: 66px;
|
|
4
|
+
--sidebar-width-max: 250px;
|
|
5
|
+
--sidebar-width-min: 66px;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
/*border-radius*/
|
|
9
|
+
:root {
|
|
10
|
+
--border-radius-xxs: 4px;
|
|
11
|
+
--border-radius-xs: 8px;
|
|
12
|
+
--border-radius-s: 12px;
|
|
13
|
+
--border-radius-m: 16px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/*color*/
|
|
17
|
+
:root {
|
|
18
|
+
--g-blue: #3f8cff;
|
|
19
|
+
--g-blue-light: #e4efff;
|
|
20
|
+
--g-blue-dark: #1c75ff;
|
|
21
|
+
--g-green: #00d097;
|
|
22
|
+
--g-green-light: #e0f9f2;
|
|
23
|
+
--g-green-dark: #b8f8e7;
|
|
24
|
+
--g-red: #ff192d;
|
|
25
|
+
--g-red-light: #fdecee;
|
|
26
|
+
--g-red-dark: #ffdcde;
|
|
27
|
+
--g-grey-100: #d8e0f0;
|
|
28
|
+
|
|
29
|
+
--g-font-color: #0a1629;
|
|
30
|
+
--g-font-grey-color: #b9c0c7;
|
|
31
|
+
--g-font-secondary-color: #7d8592;
|
|
32
|
+
|
|
33
|
+
--g-grey-background: #ced5e0;
|
|
34
|
+
--g-grey-hover-background: #9fa5af;
|
|
35
|
+
--g-secondary-background: #f4f9fd;
|
|
36
|
+
--g-thirty-background: #c8cbcf;
|
|
37
|
+
|
|
38
|
+
--g-fire-color-1: #fee7e7;
|
|
39
|
+
--g-fire-color-2: #fed4d5;
|
|
40
|
+
--g-fire-color-3: #fcc0c0;
|
|
41
|
+
--g-fire-color-4: #f9a2a2;
|
|
42
|
+
--g-fire-color-5: #f97d7e;
|
|
43
|
+
--g-fire-color-6: #f65160;
|
|
44
|
+
--g-fire-color-7: #ff192d;
|
|
45
|
+
--g-fire-color-8: #ab0514;
|
|
46
|
+
--g-fire-color-9: #6e000a;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
* {
|
|
50
|
+
margin: 0;
|
|
51
|
+
padding: 0;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
button:active,
|
|
55
|
+
button:focus {
|
|
56
|
+
outline: none !important;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
html {
|
|
60
|
+
font-family: 'NunitoSansFont', sans-serif !important;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.ant-dropdown {
|
|
64
|
+
z-index: 10000;
|
|
65
|
+
.content {
|
|
66
|
+
z-index: 10000;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@font-face {
|
|
71
|
+
font-family: 'NunitoSansFont';
|
|
72
|
+
src: local('NunitoSansFont-Regular'), url('../fonts/NunitoSansFont.ttf') format('truetype');
|
|
73
|
+
font-weight: 400;
|
|
74
|
+
font-style: normal;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@font-face {
|
|
78
|
+
font-family: 'NunitoSansFont';
|
|
79
|
+
src: local('NunitoSansFont-Bold'), url('../fonts/NunitoSans_7pt-Bold.ttf') format('truetype');
|
|
80
|
+
font-weight: 700;
|
|
81
|
+
font-style: normal;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@font-face {
|
|
85
|
+
font-family: 'Montserrat';
|
|
86
|
+
src: local('Montserrat-Regular'), url('../fonts/Montserrat.ttf') format('truetype');
|
|
87
|
+
font-weight: 400;
|
|
88
|
+
font-style: normal;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
@font-face {
|
|
92
|
+
font-family: 'Montserrat';
|
|
93
|
+
src: local('Montserrat-Bold'), url('../fonts/Montserrat-Bold.ttf') format('truetype');
|
|
94
|
+
font-weight: 700;
|
|
95
|
+
font-style: normal;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
@font-face {
|
|
99
|
+
font-family: 'Inter';
|
|
100
|
+
src: local('Inter-Regular'), url('../fonts/Inter_18pt-Regular.ttf') format('truetype');
|
|
101
|
+
font-weight: 400;
|
|
102
|
+
font-style: normal;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
@font-face {
|
|
106
|
+
font-family: 'Inter';
|
|
107
|
+
src: local('Inter-SemiBold'), url('../fonts/Inter_18pt-SemiBold.ttf') format('truetype');
|
|
108
|
+
font-weight: 600;
|
|
109
|
+
font-style: normal;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@font-face {
|
|
113
|
+
font-family: 'Inter';
|
|
114
|
+
src: local('Inter-Bold'), url('../fonts/Inter_18pt-Bold.ttf') format('truetype');
|
|
115
|
+
font-weight: 700;
|
|
116
|
+
font-style: normal;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@font-face {
|
|
120
|
+
font-family: 'Inter';
|
|
121
|
+
src: local('Inter-Black'), url('../fonts/Inter_18pt-Black.ttf') format('truetype');
|
|
122
|
+
font-weight: 900;
|
|
123
|
+
font-style: normal;
|
|
124
|
+
}
|