@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,66 @@
|
|
|
1
|
+
.full-page-container {
|
|
2
|
+
background-color: #f5f5f5;
|
|
3
|
+
padding: 50px 150px;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
min-height: 100vh;
|
|
6
|
+
h1 {
|
|
7
|
+
font-size: 40px;
|
|
8
|
+
font-weight: 900;
|
|
9
|
+
margin-bottom: 12px;
|
|
10
|
+
}
|
|
11
|
+
h2 {
|
|
12
|
+
color: #a3a3a3;
|
|
13
|
+
font-size: 16px;
|
|
14
|
+
line-height: 1.6;
|
|
15
|
+
white-space: pre-line;
|
|
16
|
+
span {
|
|
17
|
+
color: #000;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
h3 {
|
|
21
|
+
font-size: 20px;
|
|
22
|
+
margin-bottom: 24px;
|
|
23
|
+
}
|
|
24
|
+
.desc-link {
|
|
25
|
+
color: var(--primary);
|
|
26
|
+
font-weight: 900;
|
|
27
|
+
&:hover {
|
|
28
|
+
text-decoration: underline;
|
|
29
|
+
color: var(--primary-light);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.content {
|
|
33
|
+
display: grid;
|
|
34
|
+
grid-template-columns: 1fr 1fr;
|
|
35
|
+
.children {
|
|
36
|
+
margin: 48px 0;
|
|
37
|
+
}
|
|
38
|
+
.full-page-image {
|
|
39
|
+
display: flex;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
padding: 50px;
|
|
42
|
+
img {
|
|
43
|
+
max-width: 20vw;
|
|
44
|
+
max-height: 40vh;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
.iui-prelogin-card {
|
|
50
|
+
background-color: white;
|
|
51
|
+
border-radius: 25px;
|
|
52
|
+
padding: 24px;
|
|
53
|
+
width: fit-content;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
@media (max-width: 700px) {
|
|
57
|
+
.full-page-container {
|
|
58
|
+
padding: 20px 30px;
|
|
59
|
+
.content {
|
|
60
|
+
display: block;
|
|
61
|
+
}
|
|
62
|
+
.full-page-image {
|
|
63
|
+
display: none !important;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.iui-print-dialog {
|
|
2
|
+
position: absolute;
|
|
3
|
+
z-index: 2000;
|
|
4
|
+
left: 0;
|
|
5
|
+
top: 0;
|
|
6
|
+
bottom: 0;
|
|
7
|
+
left: 0;
|
|
8
|
+
min-height: 100vh;
|
|
9
|
+
width: 100%;
|
|
10
|
+
animation: fade-in 200ms forwards;
|
|
11
|
+
& > .content {
|
|
12
|
+
background: #fefefe;
|
|
13
|
+
padding: 10px 50px 60px 50px;
|
|
14
|
+
p,
|
|
15
|
+
td {
|
|
16
|
+
font-size: 10pt;
|
|
17
|
+
}
|
|
18
|
+
h4 {
|
|
19
|
+
font-size: 12pt;
|
|
20
|
+
}
|
|
21
|
+
.name {
|
|
22
|
+
font-size: 11pt;
|
|
23
|
+
font-weight: bold;
|
|
24
|
+
margin-bottom: 5px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
@media print {
|
|
28
|
+
.content {
|
|
29
|
+
padding: 0;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.iui-print-actions {
|
|
34
|
+
position: fixed;
|
|
35
|
+
left: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
bottom: 0;
|
|
38
|
+
height: 50px;
|
|
39
|
+
background-color: #fefefe;
|
|
40
|
+
box-shadow: $container-shadow;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: center;
|
|
43
|
+
justify-content: center;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.print-table {
|
|
47
|
+
@media print and (orientation: landscape) {
|
|
48
|
+
width: 842pt;
|
|
49
|
+
}
|
|
50
|
+
@media print and (orientation: portrait) {
|
|
51
|
+
width: 595pt;
|
|
52
|
+
}
|
|
53
|
+
// font-size: 10pt;
|
|
54
|
+
thead tr {
|
|
55
|
+
background: #f1f1f1;
|
|
56
|
+
}
|
|
57
|
+
th {
|
|
58
|
+
padding: 5px;
|
|
59
|
+
border: 1px solid silver;
|
|
60
|
+
p {
|
|
61
|
+
// font-size: 10pt;
|
|
62
|
+
padding: 4px 8px !important;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
td {
|
|
66
|
+
padding: 3px;
|
|
67
|
+
border: 1px solid silver;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
@media print {
|
|
72
|
+
#root,
|
|
73
|
+
.no-print {
|
|
74
|
+
display: none;
|
|
75
|
+
}
|
|
76
|
+
@page {
|
|
77
|
+
margin: 6.5mm;
|
|
78
|
+
}
|
|
79
|
+
body {
|
|
80
|
+
overflow: visible !important;
|
|
81
|
+
}
|
|
82
|
+
tbody td {
|
|
83
|
+
white-space: nowrap;
|
|
84
|
+
}
|
|
85
|
+
// table {
|
|
86
|
+
// page-break-inside: auto;
|
|
87
|
+
// }
|
|
88
|
+
// tr {
|
|
89
|
+
// page-break-inside: avoid;
|
|
90
|
+
// page-break-after: auto;
|
|
91
|
+
// }
|
|
92
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
div {
|
|
2
|
+
&::-webkit-scrollbar {
|
|
3
|
+
width: 15px;
|
|
4
|
+
height: 15px;
|
|
5
|
+
}
|
|
6
|
+
&::-webkit-scrollbar-track {
|
|
7
|
+
background-color: var(--primary-o25);
|
|
8
|
+
border-radius: 100px;
|
|
9
|
+
}
|
|
10
|
+
&::-webkit-scrollbar-thumb {
|
|
11
|
+
background-color: var(--primary);
|
|
12
|
+
border-radius: 100px;
|
|
13
|
+
box-shadow: inset 2px 2px 5px 0 rgba(#fff, 0.5);
|
|
14
|
+
&:hover {
|
|
15
|
+
background-color: var(--primary-dark);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
$sidebar-width: 260px;
|
|
2
|
+
|
|
3
|
+
.iui-sidebar {
|
|
4
|
+
background: var(--primary);
|
|
5
|
+
color: white;
|
|
6
|
+
border-top: 2px solid white;
|
|
7
|
+
position: relative;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
justify-content: space-between;
|
|
11
|
+
height: calc(100vh - $header-height);
|
|
12
|
+
box-shadow: 2px 0px 5px rgba(180, 177, 177, 0.5);
|
|
13
|
+
width: $sidebar-width;
|
|
14
|
+
z-index: 100;
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
transition: width 0.3s $app-transition;
|
|
17
|
+
&.collapsed {
|
|
18
|
+
&:hover {
|
|
19
|
+
.active-menu {
|
|
20
|
+
background-color: unset;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
&:not(:hover) {
|
|
24
|
+
.content-hidden {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
.sidebar-logo {
|
|
28
|
+
transform: scale(0.5);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
svg {
|
|
33
|
+
color: white;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media #{$bp-desktop} {
|
|
37
|
+
&.collapsed {
|
|
38
|
+
width: 55px;
|
|
39
|
+
}
|
|
40
|
+
&.sidebar-hover:hover {
|
|
41
|
+
width: $sidebar-width;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
@media #{$bp-mt} {
|
|
45
|
+
&.collapsed {
|
|
46
|
+
width: 0px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.iui-sidebar-content {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
padding-top: 12px;
|
|
55
|
+
flex: 1;
|
|
56
|
+
overflow-y: auto;
|
|
57
|
+
overflow-x: hidden;
|
|
58
|
+
overscroll-behavior: none;
|
|
59
|
+
&::-webkit-scrollbar {
|
|
60
|
+
width: 5px;
|
|
61
|
+
}
|
|
62
|
+
hr {
|
|
63
|
+
border-color: white;
|
|
64
|
+
opacity: 0.4;
|
|
65
|
+
}
|
|
66
|
+
.iui-sidebar-items {
|
|
67
|
+
flex: 1;
|
|
68
|
+
width: $sidebar-width;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.iui-sidebar-item,
|
|
73
|
+
.iui-sidebar-sub-item {
|
|
74
|
+
display: flex;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: space-between;
|
|
77
|
+
font-size: 13px;
|
|
78
|
+
box-sizing: border-box;
|
|
79
|
+
white-space: nowrap;
|
|
80
|
+
user-select: none;
|
|
81
|
+
&.clickable:hover:not(:disabled):not(.disabled),
|
|
82
|
+
&.active {
|
|
83
|
+
background-color: var(--primary-dark);
|
|
84
|
+
// background-color: var(--primary-light);
|
|
85
|
+
}
|
|
86
|
+
&:hover .add-button {
|
|
87
|
+
display: unset;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
.iui-sidebar-item {
|
|
91
|
+
font-weight: bold;
|
|
92
|
+
height: 45px;
|
|
93
|
+
padding: 8px 16px;
|
|
94
|
+
}
|
|
95
|
+
.iui-sidebar-sub-item {
|
|
96
|
+
padding: 0px 20px 0px 56px;
|
|
97
|
+
height: 32px;
|
|
98
|
+
&.primary {
|
|
99
|
+
font-weight: bold;
|
|
100
|
+
}
|
|
101
|
+
.add-button {
|
|
102
|
+
padding: 0;
|
|
103
|
+
display: none;
|
|
104
|
+
svg {
|
|
105
|
+
padding: 0 !important;
|
|
106
|
+
height: 24px;
|
|
107
|
+
width: 24px;
|
|
108
|
+
}
|
|
109
|
+
&:hover {
|
|
110
|
+
.fa-secondary {
|
|
111
|
+
opacity: 0.8;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
.fa-secondary {
|
|
115
|
+
fill: var(--secondary-light);
|
|
116
|
+
opacity: 0.4;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.sidebar-icon {
|
|
122
|
+
margin-right: 15px;
|
|
123
|
+
height: 24px;
|
|
124
|
+
width: 24px;
|
|
125
|
+
color: var(--primary);
|
|
126
|
+
}
|
|
127
|
+
.sidebar-expand-icon {
|
|
128
|
+
height: 16px;
|
|
129
|
+
width: 16px;
|
|
130
|
+
opacity: 0.6;
|
|
131
|
+
transition: transform 0.2s;
|
|
132
|
+
&.rotate {
|
|
133
|
+
opacity: 0.9;
|
|
134
|
+
transform: rotate(180deg);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.sidebar-logo {
|
|
139
|
+
margin: 20px 0;
|
|
140
|
+
width: 70px;
|
|
141
|
+
transition: transform 0.3s ease-in-out;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.sidebar-colapse {
|
|
145
|
+
opacity: 0;
|
|
146
|
+
position: absolute;
|
|
147
|
+
box-sizing: border-box;
|
|
148
|
+
top: 40px;
|
|
149
|
+
right: -16px;
|
|
150
|
+
border-radius: 50%;
|
|
151
|
+
background-color: white;
|
|
152
|
+
height: 32px;
|
|
153
|
+
width: 32px;
|
|
154
|
+
display: flex;
|
|
155
|
+
align-items: center;
|
|
156
|
+
justify-content: center;
|
|
157
|
+
transition: opacity 0.15s ease-in-out;
|
|
158
|
+
border: 1px solid var(--primary);
|
|
159
|
+
&:active {
|
|
160
|
+
transform: translateY(2px);
|
|
161
|
+
}
|
|
162
|
+
svg {
|
|
163
|
+
color: var(--primary);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.iui-sidebar:hover {
|
|
168
|
+
.sidebar-colapse {
|
|
169
|
+
opacity: 1;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
hr {
|
|
2
|
+
margin: 8px 0;
|
|
3
|
+
border-width: 0px 0px thin;
|
|
4
|
+
border-style: solid;
|
|
5
|
+
border-color: rgba(0, 0, 0, 0.12);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.iui-colapse {
|
|
9
|
+
transition: max-height 200ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.form-disabled {
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
opacity: 0.6;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.Toastify__toast {
|
|
19
|
+
border-radius: 15px !important;
|
|
20
|
+
opacity: 0.95;
|
|
21
|
+
hr {
|
|
22
|
+
border-color: white;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
table {
|
|
2
|
+
border-spacing: 0px;
|
|
3
|
+
border-collapse: collapse;
|
|
4
|
+
}
|
|
5
|
+
.iui-table {
|
|
6
|
+
overflow-x: auto;
|
|
7
|
+
padding-top: 10px;
|
|
8
|
+
|
|
9
|
+
//// Header ////
|
|
10
|
+
|
|
11
|
+
th {
|
|
12
|
+
border-bottom: $table-border;
|
|
13
|
+
font-size: $fs-m;
|
|
14
|
+
&:last-child {
|
|
15
|
+
.vertical-separator {
|
|
16
|
+
display: none;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.vertical-separator {
|
|
21
|
+
height: 14px;
|
|
22
|
+
width: 2px;
|
|
23
|
+
background-color: #00000030;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
//// Body ////
|
|
27
|
+
|
|
28
|
+
tbody.no-last-border tr:last-child td {
|
|
29
|
+
border: none;
|
|
30
|
+
}
|
|
31
|
+
// Row
|
|
32
|
+
tr {
|
|
33
|
+
margin-bottom: 2px;
|
|
34
|
+
&.clickable:hover,
|
|
35
|
+
&.selected {
|
|
36
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
37
|
+
}
|
|
38
|
+
&.loading {
|
|
39
|
+
opacity: 0.5;
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
// Cell
|
|
44
|
+
td {
|
|
45
|
+
height: 52px;
|
|
46
|
+
padding: 7px 16px;
|
|
47
|
+
font-size: $fs-m;
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
border-bottom: $table-border;
|
|
50
|
+
}
|
|
51
|
+
.clickable-column:hover {
|
|
52
|
+
background-color: var(--primary-o10) !important;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
//// Footer ////
|
|
56
|
+
|
|
57
|
+
.table-footer {
|
|
58
|
+
display: flex;
|
|
59
|
+
align-items: center;
|
|
60
|
+
width: 100%;
|
|
61
|
+
}
|
|
62
|
+
.pagination {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
color: rgba(0, 0, 0, 0.8);
|
|
66
|
+
@media screen and (max-width: 850px) {
|
|
67
|
+
flex-direction: column;
|
|
68
|
+
align-items: end;
|
|
69
|
+
}
|
|
70
|
+
select {
|
|
71
|
+
color: rgba(0, 0, 0, 0.8);
|
|
72
|
+
background: none;
|
|
73
|
+
border: none;
|
|
74
|
+
text-align: right;
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
padding: 0 8px;
|
|
77
|
+
user-select: none;
|
|
78
|
+
margin-left: 8px;
|
|
79
|
+
margin-right: 16px;
|
|
80
|
+
}
|
|
81
|
+
.offset-button {
|
|
82
|
+
margin: 0 4px;
|
|
83
|
+
padding: 10px;
|
|
84
|
+
svg {
|
|
85
|
+
height: 15px;
|
|
86
|
+
width: 15px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
.offset-input {
|
|
90
|
+
width: 30px;
|
|
91
|
+
border: none;
|
|
92
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.3);
|
|
93
|
+
background: none;
|
|
94
|
+
text-align: center;
|
|
95
|
+
padding: 5px 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
@media #{$portrait} {
|
|
100
|
+
tbody,
|
|
101
|
+
tr {
|
|
102
|
+
display: block;
|
|
103
|
+
}
|
|
104
|
+
tr {
|
|
105
|
+
padding: 20px 0;
|
|
106
|
+
}
|
|
107
|
+
td {
|
|
108
|
+
display: flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
height: unset !important;
|
|
111
|
+
text-align: left;
|
|
112
|
+
}
|
|
113
|
+
thead {
|
|
114
|
+
display: none;
|
|
115
|
+
}
|
|
116
|
+
tbody tr td {
|
|
117
|
+
&:before {
|
|
118
|
+
content: attr(data-th);
|
|
119
|
+
font-weight: bold;
|
|
120
|
+
text-align: left;
|
|
121
|
+
padding-right: 10px;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.iui-table-filter {
|
|
128
|
+
.iui-dialog-content {
|
|
129
|
+
padding: 0;
|
|
130
|
+
margin: 8px 0;
|
|
131
|
+
}
|
|
132
|
+
.table-filter-item {
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
justify-content: space-between;
|
|
136
|
+
padding: 8px 16px;
|
|
137
|
+
.label {
|
|
138
|
+
width: 150px;
|
|
139
|
+
}
|
|
140
|
+
.field {
|
|
141
|
+
display: inline-flex;
|
|
142
|
+
margin: 0 8px;
|
|
143
|
+
width: 100%;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.dual-list-container {
|
|
149
|
+
.dual-list-content {
|
|
150
|
+
display: grid;
|
|
151
|
+
grid-template-columns: 1fr auto 1fr;
|
|
152
|
+
}
|
|
153
|
+
.list-box {
|
|
154
|
+
border: $table-border;
|
|
155
|
+
border-radius: 16px;
|
|
156
|
+
padding: 10px;
|
|
157
|
+
user-select: none;
|
|
158
|
+
& > .item {
|
|
159
|
+
display: flex;
|
|
160
|
+
justify-content: space-between;
|
|
161
|
+
align-items: center;
|
|
162
|
+
padding: 8px;
|
|
163
|
+
svg {
|
|
164
|
+
color: rgba(0, 0, 0, 0.6);
|
|
165
|
+
margin-left: 1rem;
|
|
166
|
+
}
|
|
167
|
+
&:hover {
|
|
168
|
+
background-color: var(--primary-o10);
|
|
169
|
+
}
|
|
170
|
+
&:active {
|
|
171
|
+
background-color: var(--primary-o25);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
.exchange-icon {
|
|
176
|
+
display: flex;
|
|
177
|
+
align-items: center;
|
|
178
|
+
margin: 0 10px;
|
|
179
|
+
svg {
|
|
180
|
+
height: 20px;
|
|
181
|
+
width: 20px;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.edit-row {
|
|
187
|
+
background: #3d497714;
|
|
188
|
+
td {
|
|
189
|
+
padding: 0 3px !important;
|
|
190
|
+
}
|
|
191
|
+
input {
|
|
192
|
+
background: white;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.table-options-btn {
|
|
197
|
+
background: var(--background-dark);
|
|
198
|
+
border-radius: 4px;
|
|
199
|
+
font-weight: 700;
|
|
200
|
+
&:hover {
|
|
201
|
+
background-color: #dfe1eb !important;
|
|
202
|
+
}
|
|
203
|
+
svg {
|
|
204
|
+
height: 12px;
|
|
205
|
+
width: 12px;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
.iui-tabs {
|
|
2
|
+
display: flex;
|
|
3
|
+
overflow: auto;
|
|
4
|
+
&::-webkit-scrollbar {
|
|
5
|
+
height: 5px;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
.iui-tab {
|
|
9
|
+
display: flex;
|
|
10
|
+
align-items: center;
|
|
11
|
+
user-select: none;
|
|
12
|
+
color: rgba(0, 0, 0, 0.87);
|
|
13
|
+
font-size: 13px;
|
|
14
|
+
font-weight: 500;
|
|
15
|
+
padding: 15px 12px;
|
|
16
|
+
margin-bottom: 2px;
|
|
17
|
+
&.selected,
|
|
18
|
+
&:hover:not(.disabled) {
|
|
19
|
+
border-bottom: 7px solid var(--primary);
|
|
20
|
+
padding-bottom: 8px;
|
|
21
|
+
svg {
|
|
22
|
+
color: var(--primary);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
svg {
|
|
26
|
+
margin-right: 6px;
|
|
27
|
+
font-size: 15px;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.iui-tab-content {
|
|
31
|
+
background: #fff;
|
|
32
|
+
box-shadow: $container-shadow;
|
|
33
|
+
border-radius: $container-radius-bottom;
|
|
34
|
+
padding: 8px;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
// .iui-tabs {
|
|
38
|
+
// display: flex;
|
|
39
|
+
// overflow: auto;
|
|
40
|
+
// padding: 0 5px;
|
|
41
|
+
// // transform: rotateX(180deg);
|
|
42
|
+
// &::-webkit-scrollbar {
|
|
43
|
+
// height: 5px;
|
|
44
|
+
// }
|
|
45
|
+
// }
|
|
46
|
+
// .iui-tab-content {
|
|
47
|
+
// background-color: rgb(255, 255, 255);
|
|
48
|
+
// box-shadow: $container-shadow;
|
|
49
|
+
// border-radius: $container-radius-bottom;
|
|
50
|
+
// padding: 24px;
|
|
51
|
+
// margin: -1px 5px 0 5px;
|
|
52
|
+
// }
|
|
53
|
+
// .iui-tab {
|
|
54
|
+
// // transform: rotateX(180deg);
|
|
55
|
+
// display: flex;
|
|
56
|
+
// align-items: center;
|
|
57
|
+
// user-select: none;
|
|
58
|
+
// color: rgba(0, 0, 0, 0.87);
|
|
59
|
+
// font-size: 13px;
|
|
60
|
+
// font-weight: 500;
|
|
61
|
+
// padding: 15px 12px;
|
|
62
|
+
// opacity: 0.6;
|
|
63
|
+
// box-sizing: border-box;
|
|
64
|
+
// // background-color: #fff;
|
|
65
|
+
// &.selected {
|
|
66
|
+
// opacity: 1;
|
|
67
|
+
// background-color: #fff;
|
|
68
|
+
// box-shadow: 0px 0px 5px rgba(180, 177, 177, 0.5);
|
|
69
|
+
// // border-left: 1px solid #ddd;
|
|
70
|
+
// // border-right: 1px solid #ddd;
|
|
71
|
+
// border-top: 4px solid var(--primary);
|
|
72
|
+
// border-bottom: none;
|
|
73
|
+
// // border-top-left-radius: 10px;
|
|
74
|
+
// // border-top-right-radius: 10px;
|
|
75
|
+
// }
|
|
76
|
+
// &:hover:not(.disabled):not(.selected) {
|
|
77
|
+
// opacity: 1;
|
|
78
|
+
// border-top: 4px solid var(--primary);
|
|
79
|
+
// padding: 11px 12px 15px;
|
|
80
|
+
// // border-bottom: 7px solid var(--primary);
|
|
81
|
+
// // padding-bottom: 8px;
|
|
82
|
+
// svg {
|
|
83
|
+
// color: var(--primary);
|
|
84
|
+
// }
|
|
85
|
+
// }
|
|
86
|
+
// &.disabled {
|
|
87
|
+
// background-color: #ddd;
|
|
88
|
+
// }
|
|
89
|
+
// svg {
|
|
90
|
+
// color: var(--primary);
|
|
91
|
+
// margin-right: 6px;
|
|
92
|
+
// font-size: 15px;
|
|
93
|
+
// }
|
|
94
|
+
// }
|