@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.
Files changed (103) hide show
  1. package/package.json +40 -0
  2. package/src/Elements/Accordions/Accordions.tsx +64 -0
  3. package/src/Elements/Alert/Alert.tsx +31 -0
  4. package/src/Elements/Alert/alert.scss +36 -0
  5. package/src/Elements/Button/Button.tsx +55 -0
  6. package/src/Elements/Button/IconButton.tsx +42 -0
  7. package/src/Elements/Button/button.scss +97 -0
  8. package/src/Elements/Dialog/Dialog.tsx +175 -0
  9. package/src/Elements/Helper/Collapse.tsx +39 -0
  10. package/src/Elements/Helper/NoAccessInfo.tsx +195 -0
  11. package/src/Elements/Tooltip/Tooltip.tsx +116 -0
  12. package/src/Elements/Tooltip/tooltip.scss +46 -0
  13. package/src/Elements/Wrappers/ConditionalWrapper.tsx +10 -0
  14. package/src/Elements/Wrappers/FormWrapper.tsx +67 -0
  15. package/src/Elements/Wrappers/FullPageWrapper.tsx +87 -0
  16. package/src/Elements/Wrappers/PageWrapper.tsx +148 -0
  17. package/src/icons/duotone/faArrowLeftFromLine.ts +17 -0
  18. package/src/icons/duotone/faArrowRightToLine.ts +17 -0
  19. package/src/icons/duotone/faBell.ts +17 -0
  20. package/src/icons/duotone/faEye.ts +17 -0
  21. package/src/icons/duotone/faEyeSlash.ts +17 -0
  22. package/src/icons/duotone/faHouseHeart.ts +17 -0
  23. package/src/icons/duotone/faPlusCircle.ts +18 -0
  24. package/src/icons/duotone/faUser.ts +18 -0
  25. package/src/icons/duotone/index.ts +19 -0
  26. package/src/icons/light/faAngleDown.ts +15 -0
  27. package/src/icons/light/faArrowDownShortWide.ts +15 -0
  28. package/src/icons/light/faArrowDownWideShort.ts +15 -0
  29. package/src/icons/light/faArrowsToLine.ts +15 -0
  30. package/src/icons/light/faArrowsUpDown.ts +15 -0
  31. package/src/icons/light/faBell.ts +15 -0
  32. package/src/icons/light/faCheck.ts +15 -0
  33. package/src/icons/light/faClockRotateLeft.ts +15 -0
  34. package/src/icons/light/faEllipsisVertical.ts +15 -0
  35. package/src/icons/light/faXmark.ts +15 -0
  36. package/src/icons/light/index.ts +23 -0
  37. package/src/icons/regular/faArrowRightArrowLeft.ts +15 -0
  38. package/src/icons/regular/faCalendar.ts +15 -0
  39. package/src/icons/regular/faCircleCheck.ts +15 -0
  40. package/src/icons/regular/faCircleExclamation.ts +15 -0
  41. package/src/icons/regular/faCircleInfo.ts +15 -0
  42. package/src/icons/regular/faFileArrowDown.ts +15 -0
  43. package/src/icons/regular/faFilterCircleXmark.ts +15 -0
  44. package/src/icons/regular/faTriangleExclamation.ts +15 -0
  45. package/src/icons/solid/faAngleLeft.ts +15 -0
  46. package/src/icons/solid/faAngleRight.ts +15 -0
  47. package/src/icons/solid/faArrowDownWideShort.ts +15 -0
  48. package/src/icons/solid/faArrowLeft.ts +15 -0
  49. package/src/icons/solid/faEllipsisVertical.ts +15 -0
  50. package/src/icons/solid/faFilter.ts +15 -0
  51. package/src/icons/solid/faGripDotsVertical.ts +15 -0
  52. package/src/icons/solid/faListUl.ts +15 -0
  53. package/src/icons/solid/faMagnifyingGlass.ts +15 -0
  54. package/src/icons/solid/faPrint.ts +15 -0
  55. package/src/icons/solid/faRotateRight.ts +15 -0
  56. package/src/icons/solid/faXmark.ts +15 -0
  57. package/src/index.ts +186 -0
  58. package/src/styles/App.scss +25 -0
  59. package/src/styles/iui/common/_animations.scss +56 -0
  60. package/src/styles/iui/common/_typography.scss +76 -0
  61. package/src/styles/iui/common/_variables.scss +56 -0
  62. package/src/styles/iui/common/helpers/_base.scss +32 -0
  63. package/src/styles/iui/common/helpers/_color.scss +7 -0
  64. package/src/styles/iui/common/helpers/_display.scss +54 -0
  65. package/src/styles/iui/common/helpers/_size.scss +17 -0
  66. package/src/styles/iui/common/maps/_align.scss +24 -0
  67. package/src/styles/iui/common/maps/_spacing.scss +78 -0
  68. package/src/styles/iui/components/_accordions.scss +47 -0
  69. package/src/styles/iui/components/_badge.scss +52 -0
  70. package/src/styles/iui/components/_card.scss +24 -0
  71. package/src/styles/iui/components/_dialog.scss +75 -0
  72. package/src/styles/iui/components/_header.scss +22 -0
  73. package/src/styles/iui/components/_input.scss +225 -0
  74. package/src/styles/iui/components/_loader.scss +93 -0
  75. package/src/styles/iui/components/_menu.scss +44 -0
  76. package/src/styles/iui/components/_notifications.scss +86 -0
  77. package/src/styles/iui/components/_page.scss +50 -0
  78. package/src/styles/iui/components/_pagePrelogin.scss +66 -0
  79. package/src/styles/iui/components/_portal.scss +8 -0
  80. package/src/styles/iui/components/_print.scss +92 -0
  81. package/src/styles/iui/components/_scrollbar.scss +18 -0
  82. package/src/styles/iui/components/_selectInput.scss +15 -0
  83. package/src/styles/iui/components/_sidebar.scss +171 -0
  84. package/src/styles/iui/components/_smallComponents.scss +24 -0
  85. package/src/styles/iui/components/_table.scss +207 -0
  86. package/src/styles/iui/components/_tabs.scss +94 -0
  87. package/src/styles/iui.scss +28 -0
  88. package/src/styles/red-variables.scss +9 -0
  89. package/src/types/IBasic.ts +31 -0
  90. package/src/types/IError.ts +4 -0
  91. package/src/types/IHeaderAction.ts +12 -0
  92. package/src/types/ISelect.ts +6 -0
  93. package/src/types/ISidebar.ts +29 -0
  94. package/src/types/ITab.ts +10 -0
  95. package/src/types/ITable.ts +210 -0
  96. package/src/types/custom.d.ts +9 -0
  97. package/src/utils/DateUtils.ts +30 -0
  98. package/src/utils/NumberUtils.ts +21 -0
  99. package/src/utils/ObjectUtils.ts +49 -0
  100. package/src/utils/StringUtils.ts +2 -0
  101. package/src/utils/Toasts.ts +6 -0
  102. package/src/utils/icons.ts +11 -0
  103. package/src/utils/index.ts +41 -0
@@ -0,0 +1,47 @@
1
+ .iui-accordions {
2
+ display: flex;
3
+ flex-direction: column;
4
+ }
5
+ .iui-accordion {
6
+ background: #fff;
7
+ box-shadow: $container-shadow;
8
+ border-radius: $container-radius;
9
+ margin: 3px 0;
10
+ color: rgba(0, 0, 0, 0.87);
11
+ font-size: 13px;
12
+ .summary {
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: space-between;
16
+ user-select: none;
17
+ font-weight: 500;
18
+ margin-bottom: 1px;
19
+ padding: 0 16px;
20
+ min-height: 48px;
21
+ }
22
+ .iui-icon {
23
+ color: var(--primary-light);
24
+ max-width: 20px;
25
+ margin-right: 16px;
26
+ margin-bottom: 0;
27
+ font-size: 20px;
28
+ }
29
+ .collapse-icon {
30
+ color: #333;
31
+ height: 12px;
32
+ width: 14px;
33
+ }
34
+ }
35
+
36
+ .iui-accordion.compact {
37
+ border-radius: unset;
38
+ margin: unset;
39
+ &:first-child {
40
+ border-top-left-radius: $container-radius;
41
+ border-top-right-radius: $container-radius;
42
+ }
43
+ &:last-child {
44
+ border-bottom-left-radius: $container-radius;
45
+ border-bottom-right-radius: $container-radius;
46
+ }
47
+ }
@@ -0,0 +1,52 @@
1
+ .iui-badge-parent {
2
+ position: relative;
3
+ display: inline-block;
4
+ }
5
+ .iui-badge {
6
+ position: absolute;
7
+ top: 0;
8
+ right: 0;
9
+ display: flex;
10
+ justify-content: center;
11
+ align-items: center;
12
+ transform: scale(1) translate(50%, -50%);
13
+ transform-origin: 100% 0%;
14
+ border-radius: 100%;
15
+ &.primary {
16
+ color: white;
17
+ border: 2px solid white;
18
+ background-color: var(--primary);
19
+ }
20
+ &:not(.small) {
21
+ font-size: 11px;
22
+ height: 21px;
23
+ width: 21px;
24
+ }
25
+ &.small {
26
+ font-size: 10px;
27
+ height: 18px;
28
+ width: 18px;
29
+ }
30
+ }
31
+
32
+ .iui-pill-badge {
33
+ padding: 5px 11px;
34
+ border-radius: 20px;
35
+ width: fit-content;
36
+ font-size: 12px;
37
+ &.success {
38
+ background-color: var(--success03);
39
+ }
40
+ &.info {
41
+ background-color: var(--info03);
42
+ }
43
+ &.warning {
44
+ background-color: var(--warning03);
45
+ }
46
+ &.error {
47
+ background-color: var(--error03);
48
+ }
49
+ &.gray {
50
+ background-color: #e0e0e0;
51
+ }
52
+ }
@@ -0,0 +1,24 @@
1
+ .iui-card {
2
+ box-shadow: $container-shadow;
3
+ border-radius: $container-radius;
4
+ background: white;
5
+ & > .content {
6
+ &.s {
7
+ padding: 10px;
8
+ }
9
+ &.l {
10
+ padding: 40px 30px;
11
+ }
12
+ }
13
+ }
14
+
15
+ .iui-card-header {
16
+ display: flex;
17
+ align-items: center;
18
+ justify-content: space-between;
19
+ font-weight: 700;
20
+ padding-left: 15px;
21
+ margin: 0 10px;
22
+ height: 45px;
23
+ border-bottom: 1px solid rgba(122, 123, 151, 0.3);
24
+ }
@@ -0,0 +1,75 @@
1
+ .iui-dialog {
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ position: fixed;
6
+ z-index: 1000;
7
+ left: 0;
8
+ top: 0;
9
+ width: 100%;
10
+ height: 100%;
11
+ background-color: rgba(0, 0, 0, 0.5);
12
+ animation: fade-in 200ms forwards;
13
+ &.closing {
14
+ animation: fade-out 200ms forwards;
15
+ display: flex;
16
+ }
17
+ }
18
+
19
+ .iui-dialog-container {
20
+ background-color: #fefefe;
21
+ padding: 24px 24px 15px 24px;
22
+ border: 10px solid var(--primary-o25);
23
+ width: fit-content;
24
+ animation: scale-in 200ms forwards;
25
+ h1 {
26
+ margin: 0 16px;
27
+ }
28
+ &.m {
29
+ width: 30%;
30
+ }
31
+ &.l {
32
+ width: 50%;
33
+ }
34
+ &.xl {
35
+ width: 70%;
36
+ }
37
+ &.info,
38
+ &.error {
39
+ .iui-dialog-content {
40
+ display: flex;
41
+ align-items: center;
42
+ svg {
43
+ font-size: 24px;
44
+ margin-right: 16px;
45
+ margin-left: -8px;
46
+ }
47
+ }
48
+ }
49
+ &.info svg {
50
+ color: var(--info);
51
+ }
52
+ &.error {
53
+ border-color: var(--error03);
54
+ svg {
55
+ color: var(--error);
56
+ }
57
+ }
58
+ }
59
+
60
+ .iui-dialog-content {
61
+ max-height: 80vh;
62
+ &.padding {
63
+ padding: 24px;
64
+ }
65
+ &:not(.no-overflow) {
66
+ overflow: auto;
67
+ overscroll-behavior: none;
68
+ }
69
+ }
70
+
71
+ .iui-dialog-actions {
72
+ display: flex;
73
+ justify-content: right;
74
+ padding-top: 10px;
75
+ }
@@ -0,0 +1,22 @@
1
+ .iui-header {
2
+ background-color: var(--primary);
3
+ height: $header-height;
4
+ width: 100%;
5
+ color: white;
6
+ z-index: 100;
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: space-between;
10
+ padding: 0 30px;
11
+ box-sizing: border-box;
12
+ box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
13
+ .header-button {
14
+ height: 24px;
15
+ width: 24px;
16
+ padding: 8px;
17
+ border-radius: 50%;
18
+ &:hover {
19
+ background-color: rgba(0, 0, 0, 0.15);
20
+ }
21
+ }
22
+ }
@@ -0,0 +1,225 @@
1
+ .iui-input-container {
2
+ position: relative;
3
+ display: inline-flex;
4
+ flex-direction: column;
5
+ margin-top: 4px;
6
+ width: 100%;
7
+ border-radius: $input-radius;
8
+ box-sizing: border-box;
9
+ &.error {
10
+ .helper-text {
11
+ color: var(--error);
12
+ }
13
+ fieldset {
14
+ border-color: var(--error) !important;
15
+ &.focus label {
16
+ color: var(--error) !important;
17
+ }
18
+ }
19
+ }
20
+ .helper-text {
21
+ color: rgba(0, 0, 0, 0.5);
22
+ font-size: 12px;
23
+ margin: 4px 14px 0;
24
+ }
25
+ fieldset {
26
+ border: 1px solid var(--primary-o25);
27
+ border-radius: $input-radius;
28
+ margin: 0;
29
+ padding: 0;
30
+ legend {
31
+ margin-left: 7px;
32
+ height: 0px;
33
+ font-size: 10.5px;
34
+ visibility: hidden;
35
+ display: none;
36
+ }
37
+ label {
38
+ position: absolute;
39
+ top: 10px;
40
+ left: 14px;
41
+ transition: 150ms;
42
+ color: rgba(0, 0, 0, 0.5);
43
+ font-size: 13px;
44
+ pointer-events: none;
45
+ max-width: 100%;
46
+ text-overflow: ellipsis;
47
+ overflow: hidden;
48
+ white-space: nowrap;
49
+ z-index: 1;
50
+ }
51
+ &.shrink,
52
+ &.focus {
53
+ label {
54
+ transform: translate(-6px, -17px) scale(0.75);
55
+ transform-origin: top left;
56
+ padding: 0 5px !important;
57
+ }
58
+ legend {
59
+ display: block;
60
+ }
61
+ }
62
+ &.focus {
63
+ border-color: var(--primary);
64
+ label {
65
+ color: var(--primary);
66
+ }
67
+ }
68
+ }
69
+ .with-end-button {
70
+ input {
71
+ padding-right: 38px;
72
+ }
73
+ svg {
74
+ &:not(.disabled) {
75
+ cursor: pointer;
76
+ color: rgba(0, 0, 0, 0.8);
77
+ &:hover {
78
+ color: var(--primary);
79
+ }
80
+ }
81
+ &.disabled {
82
+ opacity: 0.4;
83
+ }
84
+ padding: 9px;
85
+ height: 18px;
86
+ width: 18px;
87
+ margin-left: -37px;
88
+ }
89
+ }
90
+ }
91
+
92
+ input,
93
+ textarea {
94
+ &:-webkit-autofill {
95
+ animation-name: auto-fill;
96
+ animation-duration: 500ms;
97
+ }
98
+ // background-color: transparent;
99
+ background-color: white;
100
+ font-size: 13px;
101
+ padding: 10px 14px;
102
+ border: none;
103
+ border-radius: $input-radius;
104
+ width: 100%;
105
+ height: calc(100% + 2px);
106
+ box-sizing: border-box;
107
+ // &:disabled {
108
+ // background-color: #eee;
109
+ // }
110
+ &::placeholder {
111
+ color: #00000050;
112
+ font-weight: 200 !important;
113
+ }
114
+ }
115
+ textarea {
116
+ resize: none;
117
+ }
118
+
119
+ .iui-checkbox,
120
+ .iui-radio {
121
+ display: inline-flex;
122
+ align-items: center;
123
+ user-select: none;
124
+ padding: 8px;
125
+ font-size: $fs-m;
126
+ width: fit-content;
127
+ gap: 8px;
128
+ // &:hover:not(:disabled):not(.disabled) {
129
+ // color: var(--primary);
130
+ // }
131
+ .icon {
132
+ height: 20px;
133
+ width: 20px;
134
+ min-width: 20px;
135
+ color: rgba(0, 0, 0, 0.54);
136
+ &.selected {
137
+ color: var(--primary);
138
+ }
139
+ path {
140
+ fill: currentColor;
141
+ }
142
+ }
143
+ }
144
+ .iui-checkbox input {
145
+ position: absolute;
146
+ opacity: 0;
147
+ height: 1px;
148
+ width: fit-content;
149
+ }
150
+
151
+ .iui-radio-icon {
152
+ display: flex;
153
+ position: relative;
154
+ svg.secondary {
155
+ left: 0;
156
+ position: absolute;
157
+ transform: scale(0);
158
+ transition: transform 150ms cubic-bezier(0.4, 0, 1, 1) 0ms;
159
+ &.selected {
160
+ transform: scale(1);
161
+ transition: transform 150ms cubic-bezier(0, 0, 0.2, 1) 0ms;
162
+ }
163
+ }
164
+ }
165
+
166
+ .date-input {
167
+ display: flex;
168
+ align-items: center;
169
+ background-color: white;
170
+ border-radius: $input-radius;
171
+ height: 36px;
172
+ font-size: 13px;
173
+ position: relative;
174
+ &.disabled {
175
+ background-color: #eee;
176
+ input {
177
+ color: #999;
178
+ }
179
+ }
180
+ .inputs {
181
+ display: flex;
182
+ align-items: center;
183
+ width: 100%;
184
+ padding: 0 14px;
185
+ input[type='number'] {
186
+ padding: 0;
187
+ height: 36px;
188
+ text-align: right;
189
+ -moz-appearance: textfield;
190
+ &::-webkit-outer-spin-button,
191
+ &::-webkit-inner-spin-button {
192
+ -webkit-appearance: none;
193
+ margin: 0;
194
+ }
195
+ &.error {
196
+ color: var(--error);
197
+ font-weight: bold;
198
+ }
199
+ }
200
+ }
201
+ .button {
202
+ color: #cccccc;
203
+ padding: 0 8px !important;
204
+ margin: 8px 0;
205
+ border-left: 1px solid #ccc;
206
+ &:hover:not(.disabled) {
207
+ color: #999;
208
+ cursor: pointer;
209
+ }
210
+ svg {
211
+ width: 16px;
212
+ height: 16px;
213
+ }
214
+ }
215
+ }
216
+ .react-calendar {
217
+ border: none !important;
218
+ user-select: none;
219
+ }
220
+ .react-calendar__tile--active {
221
+ background: var(--primary) !important;
222
+ &:enabled:hover {
223
+ background: var(--primary-light) !important;
224
+ }
225
+ }
@@ -0,0 +1,93 @@
1
+ .iui-loader-container {
2
+ position: relative;
3
+ }
4
+ .iui-loading-content {
5
+ transition: opacity 150ms;
6
+ &.opacity {
7
+ pointer-events: none;
8
+ opacity: 0.3;
9
+ }
10
+ }
11
+
12
+ .iui-loader {
13
+ width: 200px;
14
+ position: absolute;
15
+ top: calc(50% - 50px);
16
+ left: calc(50% - 100px);
17
+ }
18
+
19
+ .iui-loader-logo {
20
+ position: relative;
21
+ width: 100px;
22
+ left: calc(50% - 50px);
23
+ padding-bottom: 5px;
24
+ }
25
+
26
+ .linear-progress {
27
+ -webkit-appearance: none;
28
+ -moz-appearance: none;
29
+ appearance: none;
30
+ /* border: none; */
31
+ height: 0.25em;
32
+ color: var(--primary);
33
+ background-color: var(--primary-o25);
34
+ font-size: 16px;
35
+ width: 100%;
36
+ &::-webkit-progress-bar {
37
+ background-color: transparent;
38
+ }
39
+ /* Determinate */
40
+ &::-webkit-progress-value {
41
+ background-color: currentColor;
42
+ transition: all 0.2s;
43
+ }
44
+ &::-moz-progress-bar {
45
+ background-color: currentColor;
46
+ transition: all 0.2s;
47
+ }
48
+ &::-ms-fill {
49
+ border: none;
50
+ background-color: currentColor;
51
+ transition: all 0.2s;
52
+ }
53
+ /* Indeterminate */
54
+ &:indeterminate {
55
+ background-size: 200% 100%;
56
+ background-image: linear-gradient(
57
+ to right,
58
+ transparent 50%,
59
+ currentColor 50%,
60
+ currentColor 60%,
61
+ transparent 60%,
62
+ transparent 71.5%,
63
+ currentColor 71.5%,
64
+ currentColor 84%,
65
+ transparent 84%
66
+ );
67
+ animation: linear-progress 2s infinite linear;
68
+ &::-moz-progress-bar {
69
+ background-color: transparent;
70
+ }
71
+ &::-ms-fill {
72
+ animation-name: none;
73
+ }
74
+ }
75
+ }
76
+
77
+ .full-screen-loader {
78
+ position: fixed;
79
+ top: 0;
80
+ bottom: 0;
81
+ left: 0;
82
+ right: 0;
83
+ z-index: 1001;
84
+ background-color: rgba(255, 255, 255, 0.7);
85
+ .iui-loader {
86
+ position: fixed !important;
87
+ }
88
+ }
89
+
90
+ .lazy-loader {
91
+ position: relative;
92
+ height: 100vh;
93
+ }
@@ -0,0 +1,44 @@
1
+ .iui-menu {
2
+ position: absolute;
3
+ padding: 4px 0;
4
+ border-radius: 8px;
5
+ background: white;
6
+ box-shadow: $deep-shadow;
7
+ overflow: auto;
8
+ animation: fade-in 200ms forwards;
9
+ overscroll-behavior: none;
10
+ &::-webkit-scrollbar {
11
+ width: 5px;
12
+ }
13
+ &.s {
14
+ min-width: 150px;
15
+ }
16
+ &.m {
17
+ min-width: 250px;
18
+ }
19
+ &.l {
20
+ min-width: 500px;
21
+ }
22
+ }
23
+
24
+ .iui-menu-item {
25
+ user-select: none;
26
+ padding: 8px 16px;
27
+ &.clickable:hover:not(:disabled):not(.disabled) {
28
+ background-color: #eee;
29
+ // background-color: var(--primary-o10);
30
+ }
31
+ &.with-devider:not(:last-child) {
32
+ border-bottom: 1px solid rgba(0, 0, 0, 0.12);
33
+ }
34
+ svg {
35
+ opacity: 0.6;
36
+ // color: var(--primary);
37
+ }
38
+ }
39
+ .iui-menu-item-devider {
40
+ margin: 0;
41
+ &:last-child {
42
+ display: none;
43
+ }
44
+ }
@@ -0,0 +1,86 @@
1
+ .notification-counter {
2
+ position: relative;
3
+ user-select: none;
4
+ cursor: pointer;
5
+ .bell svg .fa-secondary {
6
+ opacity: 1;
7
+ fill: #ffaa33;
8
+ stroke: #544417;
9
+ stroke-width: 30px;
10
+ stroke-opacity: 0.5;
11
+ }
12
+ .count {
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: center;
16
+ background-color: var(--error);
17
+ border-radius: 50%;
18
+ height: 18px;
19
+ min-width: 18px;
20
+ color: white;
21
+ font-size: 10px;
22
+ position: absolute;
23
+ top: 0;
24
+ right: 0;
25
+ }
26
+ }
27
+
28
+ .notifications-container {
29
+ max-height: calc(100vh - $header-height - 150px);
30
+ overflow: auto;
31
+ display: flex;
32
+ flex-direction: column;
33
+ gap: 8px;
34
+ padding: 8px;
35
+ cursor: pointer;
36
+ }
37
+
38
+ .notification {
39
+ background-color: var(--primary-o10);
40
+ padding: 8px;
41
+ border-radius: 8px;
42
+ .header {
43
+ display: flex;
44
+ justify-content: space-between;
45
+ align-items: flex-start;
46
+ .title {
47
+ color: var(--primary-dark);
48
+ font-size: 14px;
49
+ font-weight: bold;
50
+ }
51
+ .date {
52
+ color: rgba(0, 0, 0, 0.6);
53
+ font-size: 9px;
54
+ margin: 4px 0;
55
+ }
56
+ svg {
57
+ color: var(--primary-o25);
58
+ height: 13px;
59
+ width: 13px;
60
+ padding: 4px;
61
+ }
62
+ }
63
+ .desc {
64
+ color: #000;
65
+ font-size: 12px;
66
+ }
67
+ .unread-icon svg {
68
+ color: #ff9500;
69
+ }
70
+ .disabled {
71
+ opacity: 1;
72
+ }
73
+ }
74
+
75
+ .notification-badge {
76
+ width: 24px;
77
+ height: 24px;
78
+ background-color: var(--secondary);
79
+ border-radius: 50%;
80
+ display: flex;
81
+ align-items: center;
82
+ justify-content: center;
83
+ line-height: 1;
84
+ font-weight: 500;
85
+ font-size: 12px;
86
+ }
@@ -0,0 +1,50 @@
1
+ body {
2
+ position: fixed;
3
+ overflow: hidden;
4
+ width: 100%;
5
+ }
6
+
7
+ .page-container {
8
+ display: flex;
9
+ flex-direction: column;
10
+ min-height: calc(100vh - $header-height);
11
+ max-height: calc(100vh - $header-height);
12
+ }
13
+
14
+ .page-content {
15
+ display: flex;
16
+ flex-direction: column;
17
+ padding: 16px 24px;
18
+ flex: 1;
19
+ overflow-y: auto;
20
+ }
21
+
22
+ .page-header {
23
+ display: flex;
24
+ justify-content: space-between;
25
+ align-items: center;
26
+ padding: 0 24px;
27
+ min-height: 55px;
28
+ max-height: 55px;
29
+ border-bottom: 1px solid var(--primary);
30
+ .breadcrumbs {
31
+ display: flex;
32
+ h1 {
33
+ margin-right: 5px;
34
+ }
35
+ @media #{$bp-mt} {
36
+ margin-left: 18px;
37
+ h1 {
38
+ font-size: 13px;
39
+ }
40
+ }
41
+ }
42
+ }
43
+
44
+ .app-left-line {
45
+ background: var(--secondary);
46
+ width: 5px;
47
+ @media #{$bp-mt} {
48
+ width: 0px;
49
+ }
50
+ }