@inceptionbg/iui 1.0.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/package.json +40 -0
- package/src/Elements/Accordions/Accordions.tsx +64 -0
- package/src/Elements/Alert/Alert.tsx +31 -0
- package/src/Elements/Alert/alert.scss +36 -0
- package/src/Elements/Button/Button.tsx +55 -0
- package/src/Elements/Button/IconButton.tsx +42 -0
- package/src/Elements/Button/button.scss +97 -0
- package/src/Elements/Dialog/Dialog.tsx +175 -0
- package/src/Elements/Helper/Collapse.tsx +39 -0
- package/src/Elements/Helper/NoAccessInfo.tsx +195 -0
- package/src/Elements/Tooltip/Tooltip.tsx +116 -0
- package/src/Elements/Tooltip/tooltip.scss +46 -0
- package/src/Elements/Wrappers/ConditionalWrapper.tsx +10 -0
- package/src/Elements/Wrappers/FormWrapper.tsx +67 -0
- package/src/Elements/Wrappers/FullPageWrapper.tsx +87 -0
- package/src/Elements/Wrappers/PageWrapper.tsx +148 -0
- package/src/icons/duotone/faArrowLeftFromLine.ts +17 -0
- package/src/icons/duotone/faArrowRightToLine.ts +17 -0
- package/src/icons/duotone/faBell.ts +17 -0
- package/src/icons/duotone/faEye.ts +17 -0
- package/src/icons/duotone/faEyeSlash.ts +17 -0
- package/src/icons/duotone/faHouseHeart.ts +17 -0
- package/src/icons/duotone/faPlusCircle.ts +18 -0
- package/src/icons/duotone/faUser.ts +18 -0
- package/src/icons/duotone/index.ts +19 -0
- package/src/icons/light/faAngleDown.ts +15 -0
- package/src/icons/light/faArrowDownShortWide.ts +15 -0
- package/src/icons/light/faArrowDownWideShort.ts +15 -0
- package/src/icons/light/faArrowsToLine.ts +15 -0
- package/src/icons/light/faArrowsUpDown.ts +15 -0
- package/src/icons/light/faBell.ts +15 -0
- package/src/icons/light/faCheck.ts +15 -0
- package/src/icons/light/faClockRotateLeft.ts +15 -0
- package/src/icons/light/faEllipsisVertical.ts +15 -0
- package/src/icons/light/faXmark.ts +15 -0
- package/src/icons/light/index.ts +23 -0
- package/src/icons/regular/faArrowRightArrowLeft.ts +15 -0
- package/src/icons/regular/faCalendar.ts +15 -0
- package/src/icons/regular/faCircleCheck.ts +15 -0
- package/src/icons/regular/faCircleExclamation.ts +15 -0
- package/src/icons/regular/faCircleInfo.ts +15 -0
- package/src/icons/regular/faFileArrowDown.ts +15 -0
- package/src/icons/regular/faFilterCircleXmark.ts +15 -0
- package/src/icons/regular/faTriangleExclamation.ts +15 -0
- package/src/icons/solid/faAngleLeft.ts +15 -0
- package/src/icons/solid/faAngleRight.ts +15 -0
- package/src/icons/solid/faArrowDownWideShort.ts +15 -0
- package/src/icons/solid/faArrowLeft.ts +15 -0
- package/src/icons/solid/faEllipsisVertical.ts +15 -0
- package/src/icons/solid/faFilter.ts +15 -0
- package/src/icons/solid/faGripDotsVertical.ts +15 -0
- package/src/icons/solid/faListUl.ts +15 -0
- package/src/icons/solid/faMagnifyingGlass.ts +15 -0
- package/src/icons/solid/faPrint.ts +15 -0
- package/src/icons/solid/faRotateRight.ts +15 -0
- package/src/icons/solid/faXmark.ts +15 -0
- package/src/index.ts +186 -0
- package/src/styles/App.scss +25 -0
- package/src/styles/iui/common/_animations.scss +56 -0
- package/src/styles/iui/common/_typography.scss +76 -0
- package/src/styles/iui/common/_variables.scss +56 -0
- package/src/styles/iui/common/helpers/_base.scss +32 -0
- package/src/styles/iui/common/helpers/_color.scss +7 -0
- package/src/styles/iui/common/helpers/_display.scss +54 -0
- package/src/styles/iui/common/helpers/_size.scss +17 -0
- package/src/styles/iui/common/maps/_align.scss +24 -0
- package/src/styles/iui/common/maps/_spacing.scss +78 -0
- package/src/styles/iui/components/_accordions.scss +47 -0
- package/src/styles/iui/components/_badge.scss +52 -0
- package/src/styles/iui/components/_card.scss +24 -0
- package/src/styles/iui/components/_dialog.scss +75 -0
- package/src/styles/iui/components/_header.scss +22 -0
- package/src/styles/iui/components/_input.scss +225 -0
- package/src/styles/iui/components/_loader.scss +93 -0
- package/src/styles/iui/components/_menu.scss +44 -0
- package/src/styles/iui/components/_notifications.scss +86 -0
- package/src/styles/iui/components/_page.scss +50 -0
- package/src/styles/iui/components/_pagePrelogin.scss +66 -0
- package/src/styles/iui/components/_portal.scss +8 -0
- package/src/styles/iui/components/_print.scss +92 -0
- package/src/styles/iui/components/_scrollbar.scss +18 -0
- package/src/styles/iui/components/_selectInput.scss +15 -0
- package/src/styles/iui/components/_sidebar.scss +171 -0
- package/src/styles/iui/components/_smallComponents.scss +24 -0
- package/src/styles/iui/components/_table.scss +207 -0
- package/src/styles/iui/components/_tabs.scss +94 -0
- package/src/styles/iui.scss +28 -0
- package/src/styles/red-variables.scss +9 -0
- package/src/types/IBasic.ts +31 -0
- package/src/types/IError.ts +4 -0
- package/src/types/IHeaderAction.ts +12 -0
- package/src/types/ISelect.ts +6 -0
- package/src/types/ISidebar.ts +29 -0
- package/src/types/ITab.ts +10 -0
- package/src/types/ITable.ts +210 -0
- package/src/types/custom.d.ts +9 -0
- package/src/utils/DateUtils.ts +30 -0
- package/src/utils/NumberUtils.ts +21 -0
- package/src/utils/ObjectUtils.ts +49 -0
- package/src/utils/StringUtils.ts +2 -0
- package/src/utils/Toasts.ts +6 -0
- package/src/utils/icons.ts +11 -0
- package/src/utils/index.ts +41 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
+
|
|
3
|
+
const prefix = "fas";
|
|
4
|
+
const iconName = "print";
|
|
5
|
+
const width = 512;
|
|
6
|
+
const height = 512;
|
|
7
|
+
const unicode = "f02f";
|
|
8
|
+
const svgPathData =
|
|
9
|
+
"M448 192H64C28.65 192 0 220.7 0 256v96c0 17.67 14.33 32 32 32h32v96c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-96h32c17.67 0 32-14.33 32-32V256C512 220.7 483.3 192 448 192zM384 448H128v-96h256V448zM432 296c-13.25 0-24-10.75-24-24c0-13.27 10.75-24 24-24s24 10.73 24 24C456 285.3 445.3 296 432 296zM128 64h229.5L384 90.51V160h64V77.25c0-8.484-3.375-16.62-9.375-22.62l-45.25-45.25C387.4 3.375 379.2 0 370.8 0H96C78.34 0 64 14.33 64 32v128h64V64z";
|
|
10
|
+
|
|
11
|
+
export const faPrint: IconDefinition = {
|
|
12
|
+
prefix,
|
|
13
|
+
iconName,
|
|
14
|
+
icon: [width, height, [], unicode, svgPathData],
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
+
|
|
3
|
+
const prefix = "fas";
|
|
4
|
+
const iconName = "rotate-right";
|
|
5
|
+
const width = 512;
|
|
6
|
+
const height = 512;
|
|
7
|
+
const unicode = "f2f9";
|
|
8
|
+
const svgPathData =
|
|
9
|
+
"M468.9 32.11c13.87 0 27.18 10.77 27.18 27.04v145.9c0 10.59-8.584 19.17-19.17 19.17h-145.7c-16.28 0-27.06-13.32-27.06-27.2c0-6.634 2.461-13.4 7.96-18.9l45.12-45.14c-28.22-23.14-63.85-36.64-101.3-36.64c-88.09 0-159.8 71.69-159.8 159.8S167.8 415.9 255.9 415.9c73.14 0 89.44-38.31 115.1-38.31c18.48 0 31.97 15.04 31.97 31.96c0 35.04-81.59 70.41-147 70.41c-123.4 0-223.9-100.5-223.9-223.9S132.6 32.44 256 32.44c54.6 0 106.2 20.39 146.4 55.26l47.6-47.63C455.5 34.57 462.3 32.11 468.9 32.11z";
|
|
10
|
+
|
|
11
|
+
export const faRotateRight: IconDefinition = {
|
|
12
|
+
prefix,
|
|
13
|
+
iconName,
|
|
14
|
+
icon: [width, height, [], unicode, svgPathData],
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IconDefinition } from "@fortawesome/fontawesome-svg-core";
|
|
2
|
+
|
|
3
|
+
const prefix = "fas";
|
|
4
|
+
const iconName = "xmark";
|
|
5
|
+
const width = 320;
|
|
6
|
+
const height = 512;
|
|
7
|
+
const unicode = "f00d";
|
|
8
|
+
const svgPathData =
|
|
9
|
+
"M310.6 361.4c12.5 12.5 12.5 32.75 0 45.25C304.4 412.9 296.2 416 288 416s-16.38-3.125-22.62-9.375L160 301.3L54.63 406.6C48.38 412.9 40.19 416 32 416S15.63 412.9 9.375 406.6c-12.5-12.5-12.5-32.75 0-45.25l105.4-105.4L9.375 150.6c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L160 210.8l105.4-105.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-105.4 105.4L310.6 361.4z";
|
|
10
|
+
|
|
11
|
+
export const faXmark: IconDefinition = {
|
|
12
|
+
prefix,
|
|
13
|
+
iconName,
|
|
14
|
+
icon: [width, height, [], unicode, svgPathData],
|
|
15
|
+
};
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import clsx from "clsx";
|
|
2
|
+
import moment from "moment";
|
|
3
|
+
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
|
|
4
|
+
|
|
5
|
+
// import { ToastContainer } from "react-toastify";
|
|
6
|
+
import "./styles/iui.scss";
|
|
7
|
+
// import "react-toastify/dist/ReactToastify.min.css";
|
|
8
|
+
import type {
|
|
9
|
+
IAnyObject,
|
|
10
|
+
IStringObject,
|
|
11
|
+
IBooleanObject,
|
|
12
|
+
ISimpleObject,
|
|
13
|
+
ISimpleObjectWithCode,
|
|
14
|
+
ISimpleObjectWithCodeNew,
|
|
15
|
+
IValueLabel,
|
|
16
|
+
} from "./types/IBasic";
|
|
17
|
+
import type { IError } from "./types/IError";
|
|
18
|
+
import type { ITab } from "./types/ITab";
|
|
19
|
+
import type {
|
|
20
|
+
IPagination,
|
|
21
|
+
IServerSidePagination,
|
|
22
|
+
ITable,
|
|
23
|
+
ITableColumn,
|
|
24
|
+
ITableDataItem,
|
|
25
|
+
ITableEditRow,
|
|
26
|
+
ITableFilter,
|
|
27
|
+
ITableFilterData,
|
|
28
|
+
ITableFilterItem,
|
|
29
|
+
ITableSort,
|
|
30
|
+
} from "./types/ITable";
|
|
31
|
+
import type { ISidebarItem } from "./types/ISidebar";
|
|
32
|
+
import type { ISelectData } from "./types/ISelect";
|
|
33
|
+
// import type { IFormWrapper } from "./Elements/Wrappers/FormWrapper";
|
|
34
|
+
// import type { IPageWrapper } from "./Elements/Wrappers/PageWrapper";
|
|
35
|
+
// import {
|
|
36
|
+
// checkIfExpired,
|
|
37
|
+
// dateAddDays,
|
|
38
|
+
// formatDate,
|
|
39
|
+
// formatDateAndTime,
|
|
40
|
+
// formatTime,
|
|
41
|
+
// formatYearMonth,
|
|
42
|
+
// getCurrentDateFormattedYMD,
|
|
43
|
+
// getDaysLeft,
|
|
44
|
+
// } from "./utils/DateUtils";
|
|
45
|
+
// import { formatCurrency, formatCurrencyNoDecimals } from "./utils/NumberUtils";
|
|
46
|
+
// // // import { apiResponseHandler } from "./utils/ApiResponseHandler";
|
|
47
|
+
// // import { toastError, toastSuccess } from "./utils/Toasts";
|
|
48
|
+
// import { maxChar } from "./utils/StringUtils";
|
|
49
|
+
// import {
|
|
50
|
+
// deleteEmptyProps,
|
|
51
|
+
// deleteEmptyPropsIncludingArray,
|
|
52
|
+
// deleteProps,
|
|
53
|
+
// getActiveFilterNumber,
|
|
54
|
+
// getVisibleColumnsIds,
|
|
55
|
+
// } from "./utils/ObjectUtils";
|
|
56
|
+
import { Accordions } from "./Elements/Accordions/Accordions";
|
|
57
|
+
import { Alert } from "./Elements/Alert/Alert";
|
|
58
|
+
// import { NotificationBadge } from "./Elements/Badge/NotificationBadge";
|
|
59
|
+
// import { PillBadge } from "./Elements/Badge/PillBadge";
|
|
60
|
+
import { Button } from "./Elements/Button/Button";
|
|
61
|
+
import { IconButton } from "./Elements/Button/IconButton";
|
|
62
|
+
// import { Card } from "./Elements/Card/Card";
|
|
63
|
+
// import { PreLoginCard } from "./Elements/Card/PreLoginCard";
|
|
64
|
+
// import { Dialog } from "./Elements/Dialog/Dialog";
|
|
65
|
+
import { Collapse } from "./Elements/Helper/Collapse";
|
|
66
|
+
import { NoAccessInfo } from "./Elements/Helper/NoAccessInfo";
|
|
67
|
+
// import { Checkbox } from "./Elements/Inputs/Checkbox";
|
|
68
|
+
// import { DateInput } from "./Elements/Inputs/DateInput/DateInput";
|
|
69
|
+
// import { LargeTextInput } from "./Elements/Inputs/LargeTextInput";
|
|
70
|
+
// import { NumberInput } from "./Elements/Inputs/NumberInput";
|
|
71
|
+
// import { PasswordInput } from "./Elements/Inputs/PasswordInput";
|
|
72
|
+
// import { Radio } from "./Elements/Inputs/Radio";
|
|
73
|
+
// import { TextInput } from "./Elements/Inputs/TextInput";
|
|
74
|
+
// import { Select } from "./Elements/Inputs/Selects/Select";
|
|
75
|
+
// import { SelectAsyncPaginate } from "./Elements/Inputs/Selects/SelectAsyncPaginate";
|
|
76
|
+
// import {
|
|
77
|
+
// FullScreenLoader,
|
|
78
|
+
// LazyLoader,
|
|
79
|
+
// Loader,
|
|
80
|
+
// } from "./Elements/Loader/Loader";
|
|
81
|
+
// import { Menu } from "./Elements/Menu/Menu";
|
|
82
|
+
// import { MenuItem } from "./Elements/Menu/MenuItem";
|
|
83
|
+
// import { Sidebar } from "./Elements/Sidebar/Sidebar";
|
|
84
|
+
// import { SetTableFilter } from "./Elements/Table/Components/SetTableFilter";
|
|
85
|
+
// import { Table } from "./Elements/Table/Table";
|
|
86
|
+
// import { TableFooter } from "./Elements/Table/Components/TableFooter";
|
|
87
|
+
// import { Tabs } from "./Elements/Tabs/Tabs";
|
|
88
|
+
import { Tooltip } from "./Elements/Tooltip/Tooltip";
|
|
89
|
+
// import { ConditionalWrapper } from "./Elements/Wrappers/ConditionalWrapper";
|
|
90
|
+
// import { FullPageWrapper } from "./Elements/Wrappers/FullPageWrapper";
|
|
91
|
+
// import { FormWrapper } from "./Elements/Wrappers/FormWrapper";
|
|
92
|
+
// import { PageWrapper } from "./Elements/Wrappers/PageWrapper";
|
|
93
|
+
// import { ItemActionsMenu } from "./Elements/Table/Components/Edit/ItemActionsMenu";
|
|
94
|
+
// import { ItemEditOptionsButtons } from "./Elements/Table/Components/Edit/ItemEditOptionsButtons";
|
|
95
|
+
// import { TableEditRow } from "./Elements/Table/Components/Edit/TableEditRow";
|
|
96
|
+
|
|
97
|
+
export {
|
|
98
|
+
// ToastContainer,
|
|
99
|
+
Accordions,
|
|
100
|
+
Alert,
|
|
101
|
+
// PillBadge,
|
|
102
|
+
// NotificationBadge,
|
|
103
|
+
Button,
|
|
104
|
+
IconButton,
|
|
105
|
+
// Card,
|
|
106
|
+
// PreLoginCard,
|
|
107
|
+
// Dialog,
|
|
108
|
+
Collapse,
|
|
109
|
+
NoAccessInfo,
|
|
110
|
+
// Checkbox,
|
|
111
|
+
// DateInput,
|
|
112
|
+
// LargeTextInput,
|
|
113
|
+
// NumberInput,
|
|
114
|
+
// PasswordInput,
|
|
115
|
+
// Radio,
|
|
116
|
+
// TextInput,
|
|
117
|
+
// Select,
|
|
118
|
+
// SelectAsyncPaginate,
|
|
119
|
+
// FullScreenLoader,
|
|
120
|
+
// LazyLoader,
|
|
121
|
+
// Loader,
|
|
122
|
+
// Menu,
|
|
123
|
+
// MenuItem,
|
|
124
|
+
// Sidebar,
|
|
125
|
+
// SetTableFilter,
|
|
126
|
+
// ItemActionsMenu,
|
|
127
|
+
// ItemEditOptionsButtons,
|
|
128
|
+
// Table,
|
|
129
|
+
// TableEditRow,
|
|
130
|
+
// TableFooter,
|
|
131
|
+
// Tabs,
|
|
132
|
+
Tooltip,
|
|
133
|
+
// ConditionalWrapper,
|
|
134
|
+
// FullPageWrapper,
|
|
135
|
+
// FormWrapper,
|
|
136
|
+
// PageWrapper,
|
|
137
|
+
};
|
|
138
|
+
export {
|
|
139
|
+
IAnyObject,
|
|
140
|
+
IStringObject,
|
|
141
|
+
IBooleanObject,
|
|
142
|
+
ISimpleObject,
|
|
143
|
+
ISimpleObjectWithCode,
|
|
144
|
+
ISimpleObjectWithCodeNew,
|
|
145
|
+
IValueLabel,
|
|
146
|
+
IError,
|
|
147
|
+
ITab,
|
|
148
|
+
IPagination,
|
|
149
|
+
IServerSidePagination,
|
|
150
|
+
ITable,
|
|
151
|
+
ITableColumn,
|
|
152
|
+
ITableDataItem,
|
|
153
|
+
ITableEditRow,
|
|
154
|
+
ITableFilter,
|
|
155
|
+
ITableFilterData,
|
|
156
|
+
ITableFilterItem,
|
|
157
|
+
ITableSort,
|
|
158
|
+
ISidebarItem,
|
|
159
|
+
ISelectData,
|
|
160
|
+
// IFormWrapper,
|
|
161
|
+
// IPageWrapper,
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
// export {
|
|
165
|
+
// checkIfExpired,
|
|
166
|
+
// dateAddDays,
|
|
167
|
+
// formatDate,
|
|
168
|
+
// formatDateAndTime,
|
|
169
|
+
// formatTime,
|
|
170
|
+
// formatYearMonth,
|
|
171
|
+
// getCurrentDateFormattedYMD,
|
|
172
|
+
// getDaysLeft,
|
|
173
|
+
// formatCurrency,
|
|
174
|
+
// formatCurrencyNoDecimals,
|
|
175
|
+
// deleteEmptyProps,
|
|
176
|
+
// deleteEmptyPropsIncludingArray,
|
|
177
|
+
// deleteProps,
|
|
178
|
+
// getActiveFilterNumber,
|
|
179
|
+
// getVisibleColumnsIds,
|
|
180
|
+
// // apiResponseHandler,
|
|
181
|
+
// // toastError,
|
|
182
|
+
// // toastSuccess,
|
|
183
|
+
// maxChar,
|
|
184
|
+
// };
|
|
185
|
+
|
|
186
|
+
export { clsx, moment, FontAwesomeIcon };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// .App {
|
|
2
|
+
// height: 2000px;
|
|
3
|
+
// width: 2000px;
|
|
4
|
+
// background-color: #e6e7f0;
|
|
5
|
+
// }
|
|
6
|
+
.height-150 {
|
|
7
|
+
height: 150px;
|
|
8
|
+
}
|
|
9
|
+
.overflow-hidden {
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.user-box {
|
|
14
|
+
display: flex;
|
|
15
|
+
padding: 20px 10px 0 16px;
|
|
16
|
+
.user-info {
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
}
|
|
19
|
+
p {
|
|
20
|
+
font-size: 12px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
.user-box-menu {
|
|
24
|
+
min-width: 255px;
|
|
25
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@keyframes fade-in {
|
|
2
|
+
0% {
|
|
3
|
+
opacity: 0;
|
|
4
|
+
}
|
|
5
|
+
100% {
|
|
6
|
+
opacity: 1;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
@keyframes fade-out {
|
|
10
|
+
0% {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
100% {
|
|
14
|
+
opacity: 0;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@keyframes scale-in {
|
|
19
|
+
0% {
|
|
20
|
+
transform: scale(0.5);
|
|
21
|
+
}
|
|
22
|
+
100% {
|
|
23
|
+
transform: scale(1);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@keyframes linear-progress {
|
|
28
|
+
0% {
|
|
29
|
+
background-size: 200% 100%;
|
|
30
|
+
background-position: left -31.25% top 0%;
|
|
31
|
+
}
|
|
32
|
+
50% {
|
|
33
|
+
background-size: 800% 100%;
|
|
34
|
+
background-position: left -49% top 0%;
|
|
35
|
+
}
|
|
36
|
+
100% {
|
|
37
|
+
background-size: 400% 100%;
|
|
38
|
+
background-position: left -102% top 0%;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
@keyframes auto-fill {
|
|
43
|
+
to {
|
|
44
|
+
font-size: 13px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
// @keyframes spin {
|
|
48
|
+
// from {
|
|
49
|
+
// transform: rotate(0deg);
|
|
50
|
+
// }
|
|
51
|
+
// to {
|
|
52
|
+
// transform: rotate(360deg);
|
|
53
|
+
// }
|
|
54
|
+
// }
|
|
55
|
+
|
|
56
|
+
// animation: spin infinite 20s linear;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&display=swap');
|
|
2
|
+
// @import url("https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,400;0,700;0,900;1,400&display=swap");
|
|
3
|
+
|
|
4
|
+
* {
|
|
5
|
+
font-family: 'Roboto', sans-serif;
|
|
6
|
+
}
|
|
7
|
+
// .full-page-container * {
|
|
8
|
+
// font-family: "Source Serif Pro", serif;
|
|
9
|
+
// }
|
|
10
|
+
|
|
11
|
+
p,
|
|
12
|
+
h1,
|
|
13
|
+
h2,
|
|
14
|
+
h3,
|
|
15
|
+
h5 {
|
|
16
|
+
margin: 0;
|
|
17
|
+
}
|
|
18
|
+
p {
|
|
19
|
+
font-size: $fs-m;
|
|
20
|
+
}
|
|
21
|
+
h1 {
|
|
22
|
+
font-size: 20px;
|
|
23
|
+
font-weight: 900;
|
|
24
|
+
}
|
|
25
|
+
h5 {
|
|
26
|
+
font-size: 48px;
|
|
27
|
+
font-weight: 900;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.fs-10 {
|
|
31
|
+
font-size: 10px !important;
|
|
32
|
+
}
|
|
33
|
+
.fs-12 {
|
|
34
|
+
font-size: 12px !important;
|
|
35
|
+
}
|
|
36
|
+
.fs-13 {
|
|
37
|
+
font-size: 13px !important;
|
|
38
|
+
}
|
|
39
|
+
.fs-15 {
|
|
40
|
+
font-size: 15px !important;
|
|
41
|
+
}
|
|
42
|
+
.fs-32 {
|
|
43
|
+
font-size: 32px !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.bold {
|
|
47
|
+
font-weight: bold !important;
|
|
48
|
+
}
|
|
49
|
+
.italic {
|
|
50
|
+
font-style: italic !important;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.new-line {
|
|
54
|
+
white-space: pre-line !important;
|
|
55
|
+
}
|
|
56
|
+
.no-wrap {
|
|
57
|
+
white-space: nowrap !important;
|
|
58
|
+
}
|
|
59
|
+
.word-break {
|
|
60
|
+
word-break: break-word !important;
|
|
61
|
+
}
|
|
62
|
+
.link {
|
|
63
|
+
color: var(--primary-dark) !important;
|
|
64
|
+
text-decoration: underline !important;
|
|
65
|
+
&.inactive {
|
|
66
|
+
opacity: 0.5;
|
|
67
|
+
}
|
|
68
|
+
&:not(:disabled) {
|
|
69
|
+
cursor: pointer;
|
|
70
|
+
}
|
|
71
|
+
&:hover:not(:disabled) {
|
|
72
|
+
color: var(--primary) !important;
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--primary: rgb(var(--primary-rgb));
|
|
3
|
+
--primary-rgb: 18, 108, 136;
|
|
4
|
+
--primary-o10: rgba(var(--primary-rgb), 0.1);
|
|
5
|
+
--primary-o25: rgba(var(--primary-rgb), 0.25);
|
|
6
|
+
--primary-light: #309dbf;
|
|
7
|
+
--primary-dark: #004459;
|
|
8
|
+
// --primary-dark10: #10617a;
|
|
9
|
+
--secondary: #ff9500;
|
|
10
|
+
--secondary-light: #ffaa33;
|
|
11
|
+
--secondary-dark: #ca5502;
|
|
12
|
+
|
|
13
|
+
--background-dark: #f2f3f7;
|
|
14
|
+
|
|
15
|
+
--success: #4caf50;
|
|
16
|
+
--info: #03a9f4;
|
|
17
|
+
--warning: #ff9500;
|
|
18
|
+
--error: #f44336;
|
|
19
|
+
|
|
20
|
+
--success01: #edf7ed;
|
|
21
|
+
--info01: #e5f6fd;
|
|
22
|
+
--warning01: #fff3e4;
|
|
23
|
+
--error01: #ffeae9;
|
|
24
|
+
|
|
25
|
+
--success03: #c9e7ca;
|
|
26
|
+
--info03: #b3e5fc;
|
|
27
|
+
--warning03: #ffe0b2;
|
|
28
|
+
--error03: #fcc6c2;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
$input-radius: 4px;
|
|
32
|
+
$container-radius: 25px;
|
|
33
|
+
$container-radius-bottom: 0 0 25px 25px;
|
|
34
|
+
$container-shadow: 0px 0px 5px rgba(180, 177, 177, 0.5);
|
|
35
|
+
$deep-shadow: 0px 5px 5px -3px rgb(0 0 0 / 20%), 0px 8px 10px 1px rgba(0, 0, 0, 0.14),
|
|
36
|
+
0px 3px 14px 2px rgba(0, 0, 0, 0.12);
|
|
37
|
+
|
|
38
|
+
$table-border: 1px solid rgba(224, 224, 224, 1);
|
|
39
|
+
|
|
40
|
+
/////// SIZES ////////
|
|
41
|
+
$fs-xs: 10px;
|
|
42
|
+
$fs-s: 12px;
|
|
43
|
+
$fs-m: 13px;
|
|
44
|
+
|
|
45
|
+
/////// BREAKPOINTS ////////
|
|
46
|
+
$bp-mobile: 'screen and (max-width: 700px)';
|
|
47
|
+
// $bp-tablet: 'screen and (min-width: 701px) and (max-width: 1023px)';
|
|
48
|
+
$bp-mt: 'screen and (max-width: 1023px)';
|
|
49
|
+
$bp-desktop: 'screen and (min-width: 1024px)';
|
|
50
|
+
$portrait: 'screen and (orientation: portrait)';
|
|
51
|
+
// $landscape: 'screen and (orientation: landscape)';
|
|
52
|
+
|
|
53
|
+
/////// HEADER - SIDEBAR ///////
|
|
54
|
+
|
|
55
|
+
$header-height: 50px;
|
|
56
|
+
$app-transition: cubic-bezier(0.685, 0.0473, 0.346, 1);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
}
|
|
4
|
+
*:focus-visible {
|
|
5
|
+
outline: none !important;
|
|
6
|
+
}
|
|
7
|
+
a {
|
|
8
|
+
text-decoration: none;
|
|
9
|
+
color: unset;
|
|
10
|
+
-webkit-user-drag: none;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.clickable {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
transition: background-color 250ms;
|
|
16
|
+
&:disabled,
|
|
17
|
+
&.disabled {
|
|
18
|
+
opacity: 0.4;
|
|
19
|
+
cursor: default;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.hover-primary:hover {
|
|
24
|
+
background-color: rgba(var(--primary-rgb), 0.1);
|
|
25
|
+
}
|
|
26
|
+
.hover-gray:hover {
|
|
27
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.no-border {
|
|
31
|
+
border: none !important;
|
|
32
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
.hidden {
|
|
2
|
+
display: none !important;
|
|
3
|
+
}
|
|
4
|
+
.block {
|
|
5
|
+
display: block !important;
|
|
6
|
+
}
|
|
7
|
+
.relative {
|
|
8
|
+
position: relative !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.flex {
|
|
12
|
+
display: flex;
|
|
13
|
+
&.column {
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
}
|
|
16
|
+
&.center {
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: center;
|
|
19
|
+
}
|
|
20
|
+
&.wrap {
|
|
21
|
+
flex-wrap: wrap;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.inline-flex {
|
|
25
|
+
display: inline-flex;
|
|
26
|
+
}
|
|
27
|
+
.flex-grow {
|
|
28
|
+
flex-grow: 1 !important;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.gap-1 {
|
|
32
|
+
gap: 0.25rem;
|
|
33
|
+
}
|
|
34
|
+
.gap-2 {
|
|
35
|
+
gap: 0.5rem;
|
|
36
|
+
}
|
|
37
|
+
.gap-3 {
|
|
38
|
+
gap: 1rem;
|
|
39
|
+
}
|
|
40
|
+
.gap-4 {
|
|
41
|
+
gap: 1.5rem;
|
|
42
|
+
}
|
|
43
|
+
.gap-5 {
|
|
44
|
+
gap: 3rem;
|
|
45
|
+
}
|
|
46
|
+
.grid {
|
|
47
|
+
display: grid;
|
|
48
|
+
&.fr-2 {
|
|
49
|
+
grid-template-columns: 1fr 1fr;
|
|
50
|
+
}
|
|
51
|
+
// &.fr-3 {
|
|
52
|
+
// grid-template-columns: 1fr 1fr 1fr;
|
|
53
|
+
// }
|
|
54
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
$aligns: (center, left, right);
|
|
2
|
+
$justifies: (
|
|
3
|
+
center: center,
|
|
4
|
+
left: left,
|
|
5
|
+
right: right,
|
|
6
|
+
around: space-around,
|
|
7
|
+
between: space-between,
|
|
8
|
+
evenly: space-evenly,
|
|
9
|
+
);
|
|
10
|
+
|
|
11
|
+
@each $key in $aligns {
|
|
12
|
+
.text-#{$key} {
|
|
13
|
+
text-align: $key !important;
|
|
14
|
+
}
|
|
15
|
+
.align-#{$key} {
|
|
16
|
+
align-items: $key !important;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
@each $key, $value in $justifies {
|
|
21
|
+
.justify-#{$key} {
|
|
22
|
+
justify-content: $value !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// Margin and Padding
|
|
2
|
+
$spacers: (
|
|
3
|
+
0: 0,
|
|
4
|
+
1: 0.25rem,
|
|
5
|
+
2: 0.5rem,
|
|
6
|
+
3: 1rem,
|
|
7
|
+
4: 1.5rem,
|
|
8
|
+
5: 3rem,
|
|
9
|
+
);
|
|
10
|
+
@each $prop, $abbrev in (margin: m, padding: p) {
|
|
11
|
+
@each $size, $length in $spacers {
|
|
12
|
+
.#{$abbrev}-#{$size} {
|
|
13
|
+
#{$prop}: $length !important;
|
|
14
|
+
}
|
|
15
|
+
.#{$abbrev}t-#{$size},
|
|
16
|
+
.#{$abbrev}y-#{$size} {
|
|
17
|
+
#{$prop}-top: $length !important;
|
|
18
|
+
}
|
|
19
|
+
.#{$abbrev}r-#{$size},
|
|
20
|
+
.#{$abbrev}x-#{$size} {
|
|
21
|
+
#{$prop}-right: $length !important;
|
|
22
|
+
}
|
|
23
|
+
.#{$abbrev}b-#{$size},
|
|
24
|
+
.#{$abbrev}y-#{$size} {
|
|
25
|
+
#{$prop}-bottom: $length !important;
|
|
26
|
+
}
|
|
27
|
+
.#{$abbrev}l-#{$size},
|
|
28
|
+
.#{$abbrev}x-#{$size} {
|
|
29
|
+
#{$prop}-left: $length !important;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// Negative margins (e.g., where `.mb-n1` is negative version of `.mb-1`)
|
|
35
|
+
@each $size, $length in $spacers {
|
|
36
|
+
@if $size != 0 {
|
|
37
|
+
.m-n#{$size} {
|
|
38
|
+
margin: -$length !important;
|
|
39
|
+
}
|
|
40
|
+
.mt-n#{$size},
|
|
41
|
+
.my-n#{$size} {
|
|
42
|
+
margin-top: -$length !important;
|
|
43
|
+
}
|
|
44
|
+
.mr-n#{$size},
|
|
45
|
+
.mx-n#{$size} {
|
|
46
|
+
margin-right: -$length !important;
|
|
47
|
+
}
|
|
48
|
+
.mb-n#{$size},
|
|
49
|
+
.my-n#{$size} {
|
|
50
|
+
margin-bottom: -$length !important;
|
|
51
|
+
}
|
|
52
|
+
.ml-n#{$size},
|
|
53
|
+
.mx-n#{$size} {
|
|
54
|
+
margin-left: -$length !important;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// Some special margin utils
|
|
60
|
+
.m-auto {
|
|
61
|
+
margin: auto !important;
|
|
62
|
+
}
|
|
63
|
+
.mt-auto,
|
|
64
|
+
.my-auto {
|
|
65
|
+
margin-top: auto !important;
|
|
66
|
+
}
|
|
67
|
+
.mr-auto,
|
|
68
|
+
.mx-auto {
|
|
69
|
+
margin-right: auto !important;
|
|
70
|
+
}
|
|
71
|
+
.mb-auto,
|
|
72
|
+
.my-auto {
|
|
73
|
+
margin-bottom: auto !important;
|
|
74
|
+
}
|
|
75
|
+
.ml-auto,
|
|
76
|
+
.mx-auto {
|
|
77
|
+
margin-left: auto !important;
|
|
78
|
+
}
|