@fxlt/common-ui 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BeVietnamPro-Regular.ttf +0 -0
- package/README.md +63 -0
- package/SpaceMono-Regular.ttf +0 -0
- package/animations.css +115 -0
- package/components.css +383 -0
- package/dialogs.css +116 -0
- package/fesm2022/fxlt-common-ui.mjs +2439 -0
- package/fesm2022/fxlt-common-ui.mjs.map +1 -0
- package/fonts.css +13 -0
- package/index.d.ts +739 -0
- package/package.json +53 -0
- package/src/lib/styles/animations.css +115 -0
- package/src/lib/styles/components.css +383 -0
- package/src/lib/styles/dialogs.css +116 -0
- package/src/lib/styles/fonts.css +13 -0
- package/src/lib/styles/tailwind.css +18 -0
- package/src/lib/styles/theme.css +63 -0
- package/src/lib/ui/components/button/button.component.html +223 -0
- package/src/lib/ui/components/chart/chart.component.html +13 -0
- package/src/lib/ui/components/checkbox/checkbox.component.html +43 -0
- package/src/lib/ui/components/datetime-picker/datetime-picker.component.html +25 -0
- package/src/lib/ui/components/dnd-upload/dnd-upload.component.html +34 -0
- package/src/lib/ui/components/hero-icon/hero-icon.component.html +8 -0
- package/src/lib/ui/components/input/input.component.css +0 -0
- package/src/lib/ui/components/input/input.component.html +46 -0
- package/src/lib/ui/components/loading-panel/loading-panel.component.html +51 -0
- package/src/lib/ui/components/radio-button/radio-button.component.css +0 -0
- package/src/lib/ui/components/radio-button/radio-button.component.html +35 -0
- package/src/lib/ui/components/radio-button-toggle/radio-button-toggle.component.html +34 -0
- package/src/lib/ui/components/search-bar/search-bar.component.html +22 -0
- package/src/lib/ui/components/select/select.component.css +80 -0
- package/src/lib/ui/components/select/select.component.html +25 -0
- package/src/lib/ui/components/slider/slider.component.html +54 -0
- package/src/lib/ui/components/switch/switch.component.html +21 -0
- package/src/lib/ui/components/tab-component/tab.component.html +1 -0
- package/src/lib/ui/components/tab-group/tab-group.component.html +75 -0
- package/src/lib/ui/components/tag/tag.component.html +43 -0
- package/src/lib/ui/components/toast/toast.component.html +48 -0
- package/src/lib/ui/components/toast-container/toast-container.component.html +12 -0
- package/src/lib/ui/dialogs/confirmation/confirmation.component.html +10 -0
- package/tailwind-config.d.ts +4 -0
- package/tailwind.config.js +69 -0
- package/tailwind.css +18 -0
- package/theme.css +63 -0
|
Binary file
|
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Ui
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ng generate component component-name
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ng generate --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Building
|
|
20
|
+
|
|
21
|
+
To build the library, run:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ng build ui
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
+
|
|
29
|
+
### Publishing the Library
|
|
30
|
+
|
|
31
|
+
Once the project is built, you can publish your library by following these steps:
|
|
32
|
+
|
|
33
|
+
1. Navigate to the `dist` directory:
|
|
34
|
+
```bash
|
|
35
|
+
cd dist/ui
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
+
```bash
|
|
40
|
+
npm publish
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Running unit tests
|
|
44
|
+
|
|
45
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
ng test
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Running end-to-end tests
|
|
52
|
+
|
|
53
|
+
For end-to-end (e2e) testing, run:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
ng e2e
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
+
|
|
61
|
+
## Additional Resources
|
|
62
|
+
|
|
63
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
Binary file
|
package/animations.css
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
@keyframes horizontal-fade-in {
|
|
2
|
+
from {
|
|
3
|
+
opacity: 0;
|
|
4
|
+
transform: translateX(30px);
|
|
5
|
+
}
|
|
6
|
+
to {
|
|
7
|
+
opacity: 1;
|
|
8
|
+
transform: translateX(0);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.horizontal-fade-in-animation {
|
|
13
|
+
animation: horizontal-fade-in 0.4s ease-out forwards;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@keyframes top-fade-in {
|
|
17
|
+
from {
|
|
18
|
+
opacity: 0;
|
|
19
|
+
transform: translateY(-30px);
|
|
20
|
+
}
|
|
21
|
+
to {
|
|
22
|
+
opacity: 1;
|
|
23
|
+
transform: translateY(0);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.top-fade-in-animation {
|
|
28
|
+
animation: top-fade-in 0.4s ease-out forwards;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@keyframes bottom-fade-in {
|
|
32
|
+
from {
|
|
33
|
+
opacity: 0;
|
|
34
|
+
transform: translateY(30px);
|
|
35
|
+
}
|
|
36
|
+
to {
|
|
37
|
+
opacity: 1;
|
|
38
|
+
transform: translateY(0);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.bottom-fade-in-animation {
|
|
43
|
+
animation: bottom-fade-in 0.4s ease-out forwards;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
@keyframes fade-in {
|
|
47
|
+
from {
|
|
48
|
+
opacity: 0;
|
|
49
|
+
}
|
|
50
|
+
to {
|
|
51
|
+
opacity: 1;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.fade-in-animation {
|
|
56
|
+
animation: fade-in 0.4s ease-out forwards;
|
|
57
|
+
}
|
|
58
|
+
/* out animation */
|
|
59
|
+
@keyframes horizontal-fade-out {
|
|
60
|
+
from {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
transform: translateX(0);
|
|
63
|
+
}
|
|
64
|
+
to {
|
|
65
|
+
opacity: 0;
|
|
66
|
+
transform: translateX(30px);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.horizontal-fade-out-animation {
|
|
71
|
+
animation: horizontal-fade-out 0.4s ease-out forwards;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@keyframes top-fade-out {
|
|
75
|
+
from {
|
|
76
|
+
opacity: 1;
|
|
77
|
+
transform: translateY(0);
|
|
78
|
+
}
|
|
79
|
+
to {
|
|
80
|
+
opacity: 0;
|
|
81
|
+
transform: translateY(-30px);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.top-fade-out-animation {
|
|
86
|
+
animation: top-fade-out 0.4s ease-out forwards;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@keyframes bottom-fade-out {
|
|
90
|
+
from {
|
|
91
|
+
opacity: 1;
|
|
92
|
+
transform: translateY(30px);
|
|
93
|
+
}
|
|
94
|
+
to {
|
|
95
|
+
opacity: 0;
|
|
96
|
+
transform: translateY(0);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.bottom-fade-out-animation {
|
|
101
|
+
animation: bottom-fade-out 0.4s ease-out forwards;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@keyframes fade-out {
|
|
105
|
+
from {
|
|
106
|
+
opacity: 1;
|
|
107
|
+
}
|
|
108
|
+
to {
|
|
109
|
+
opacity: 0;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.fade-out-animation {
|
|
114
|
+
animation: fade-out 0.4s ease-out forwards;
|
|
115
|
+
}
|
package/components.css
ADDED
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
/* Material Override */
|
|
2
|
+
.mdc-line-ripple,
|
|
3
|
+
.mat-mdc-form-field-focus-overlay,
|
|
4
|
+
.mat-mdc-form-field-outline,
|
|
5
|
+
.mat-mdc-form-field-underline,
|
|
6
|
+
.mat-form-field-underline {
|
|
7
|
+
display: none !important;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.cdk-overlay-container {
|
|
11
|
+
z-index: 2000 !important;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.mat-mdc-form-field.mat-mdc-form-field-type-mat-select .mdc-notched-outline__leading,
|
|
15
|
+
.mat-mdc-form-field.mat-mdc-form-field-type-mat-select .mdc-notched-outline__notch,
|
|
16
|
+
.mat-mdc-form-field.mat-mdc-form-field-type-mat-select .mdc-notched-outline__trailing {
|
|
17
|
+
border-color: rgb(var(--border-default)) !important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.mat-mdc-form-field-flex {
|
|
21
|
+
padding-left: 10px;
|
|
22
|
+
padding-right: 10px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.mat-mdc-paginator-range-label,
|
|
26
|
+
.mat-mdc-paginator-page-size-label {
|
|
27
|
+
font-size: 14px;
|
|
28
|
+
color: rgb(var(--text-secondary));
|
|
29
|
+
font-weight: 500;
|
|
30
|
+
}
|
|
31
|
+
.mat-mdc-select-value-text {
|
|
32
|
+
color: rgb(var(--text-primary));
|
|
33
|
+
}
|
|
34
|
+
.mat-mdc-paginator-icon {
|
|
35
|
+
color: rgb(var(--text-primary));
|
|
36
|
+
}
|
|
37
|
+
.mdc-list-item__primary-text {
|
|
38
|
+
color: rgb(var(--text-primary));
|
|
39
|
+
}
|
|
40
|
+
.mat-mdc-option.mdc-list-item.mdc-list-item--selected.mat-mdc-option-active
|
|
41
|
+
.mdc-list-item__primary-text {
|
|
42
|
+
color: rgb(var(--text-primary)) !important;
|
|
43
|
+
font-weight: 700 !important;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.mat-expansion-panel {
|
|
47
|
+
box-shadow: none !important; /* Remove shadow */
|
|
48
|
+
border-radius: 0 !important; /* Remove border radius */
|
|
49
|
+
background-color: transparent !important; /* Make background transparent */
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.mat-expansion-panel-header {
|
|
53
|
+
height: auto !important;
|
|
54
|
+
padding: 0 !important;
|
|
55
|
+
background-color: transparent !important;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.mat-expansion-panel-header .mat-panel-title,
|
|
59
|
+
.mat-expansion-panel-header .mat-panel-description {
|
|
60
|
+
color: unset !important;
|
|
61
|
+
margin: 0 !important;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.mat-expansion-panel-body {
|
|
65
|
+
padding: 0 !important;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.mat-expansion-panel-content {
|
|
69
|
+
background-color: transparent !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.mat-expansion-indicator::after {
|
|
73
|
+
display: none !important;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.mat-content.mat-content-hide-toggle {
|
|
77
|
+
margin-right: 0px !important;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.mat-mdc-table {
|
|
81
|
+
border: 2px solid rgb(var(--border-default)) !important;
|
|
82
|
+
border-radius: 4px !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.mdc-data-table__header-row {
|
|
86
|
+
height: 32px !important;
|
|
87
|
+
min-height: 32px !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.mdc-data-table__header-cell {
|
|
91
|
+
border-left: 1px solid rgb(var(--border-default)) !important;
|
|
92
|
+
background-color: rgb(var(--bg-primary-hover)) !important;
|
|
93
|
+
padding-top: 4px !important;
|
|
94
|
+
padding-bottom: 4px !important;
|
|
95
|
+
line-height: 24px !important;
|
|
96
|
+
font-family: 'BeVietnamProRegular';
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.mdc-data-table__row {
|
|
100
|
+
height: 0 !important;
|
|
101
|
+
min-height: 0 !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.mdc-data-table__cell {
|
|
105
|
+
border-left: 1px solid rgb(var(--border-default)) !important;
|
|
106
|
+
background-color: rgb(var(--bg-primary)) !important;
|
|
107
|
+
/* padding-top: 8px !important;
|
|
108
|
+
padding-bottom: 8px !important;
|
|
109
|
+
padding-left: 16px !important;
|
|
110
|
+
padding-right: 16px !important; */
|
|
111
|
+
font-family: 'BeVietnamProRegular';
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.mat-mdc-cell {
|
|
115
|
+
border-color: rgb(var(--border-default)) !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.mat-mdc-select-panel {
|
|
119
|
+
background-color: rgb(var(--bg-primary)) !important;
|
|
120
|
+
border: 1px solid rgb(var(--border-default)) !important;
|
|
121
|
+
border-radius: 0.5rem !important;
|
|
122
|
+
box-shadow: 0 2px 4px rgb(var(--shadow-color) / 0.1) !important;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.mat-mdc-select-arrow-wrapper .mat-mdc-select-arrow {
|
|
126
|
+
color: rgb(var(--text-primary)) !important;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.mat-mdc-menu-panel {
|
|
130
|
+
border-radius: 6px !important;
|
|
131
|
+
border-color: rgb(var(--border-default)) !important;
|
|
132
|
+
}
|
|
133
|
+
.mat-mdc-menu-panel .mat-mdc-menu-content {
|
|
134
|
+
@apply bg-bg-primary shadow-none border rounded-[6px] border-border-default flex flex-col;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.mat-mdc-option .mat-pseudo-checkbox {
|
|
138
|
+
color: rgb(var(--text-primary));
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.mat-mdc-dialog-surface {
|
|
142
|
+
background-color: rgb(var(--bg-primary)) !important;
|
|
143
|
+
border-radius: 8px !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
input[type='number']::-webkit-outer-spin-button,
|
|
148
|
+
input[type='number']::-webkit-inner-spin-button {
|
|
149
|
+
-webkit-appearance: none;
|
|
150
|
+
margin: 0;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
/* Hide number input arrows in Firefox */
|
|
154
|
+
input[type='number'] {
|
|
155
|
+
-moz-appearance: textfield;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
input[type='password'] {
|
|
159
|
+
background-color: rgb(var(--bg-primary)) !important;
|
|
160
|
+
color: inherit;
|
|
161
|
+
transition: none !important;
|
|
162
|
+
-webkit-text-security: disc;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/* system style */
|
|
166
|
+
.txt-page-title {
|
|
167
|
+
@apply text-3xl text-text-primary font-semibold tracking-normal leading-10;
|
|
168
|
+
}
|
|
169
|
+
.txt-page-subtitle {
|
|
170
|
+
@apply leading-6 text-base text-text-secondary font-normal tracking-normal;
|
|
171
|
+
}
|
|
172
|
+
.txt-default {
|
|
173
|
+
@apply text-sm font-normal text-text-primary tracking-normal;
|
|
174
|
+
}
|
|
175
|
+
.txt-field-label {
|
|
176
|
+
@apply mb-1 text-sm font-semibold text-text-primary tracking-normal;
|
|
177
|
+
}
|
|
178
|
+
.txt-invalid {
|
|
179
|
+
@apply mt-1 text-sm text-text-error text-left;
|
|
180
|
+
}
|
|
181
|
+
.txt-placeholder {
|
|
182
|
+
@apply text-sm font-normal text-text-placeholder tracking-normal;
|
|
183
|
+
}
|
|
184
|
+
.txt-required {
|
|
185
|
+
@apply ml-[1px] text-sm font-semibold text-text-error;
|
|
186
|
+
}
|
|
187
|
+
.txt-section-header {
|
|
188
|
+
@apply mb-1 text-xl text-text-primary font-semibold tracking-normal leading-7;
|
|
189
|
+
}
|
|
190
|
+
.txt-section-subtitle {
|
|
191
|
+
@apply text-sm text-text-secondary font-normal tracking-normal;
|
|
192
|
+
}
|
|
193
|
+
.txt-table-header {
|
|
194
|
+
@apply text-xs text-text-secondary font-semibold tracking-normal;
|
|
195
|
+
}
|
|
196
|
+
.txt-table-content {
|
|
197
|
+
@apply text-sm text-text-primary font-normal tracking-normal;
|
|
198
|
+
}
|
|
199
|
+
.txt-table-description {
|
|
200
|
+
@apply text-xs text-text-placeholder font-normal tracking-normal;
|
|
201
|
+
}
|
|
202
|
+
.txt-card-header {
|
|
203
|
+
@apply mb-1 text-xl text-text-primary font-medium tracking-normal;
|
|
204
|
+
}
|
|
205
|
+
.txt-card-content {
|
|
206
|
+
@apply text-sm font-normal text-text-secondary tracking-normal;
|
|
207
|
+
}
|
|
208
|
+
.txt-card-description {
|
|
209
|
+
@apply text-xs font-light text-text-secondary tracking-normal;
|
|
210
|
+
}
|
|
211
|
+
.txt-card-info-header {
|
|
212
|
+
@apply text-sm font-normal text-text-primary tracking-normal;
|
|
213
|
+
}
|
|
214
|
+
.txt-card-info-content {
|
|
215
|
+
@apply text-2xl font-semibold text-text-primary tracking-normal;
|
|
216
|
+
}
|
|
217
|
+
.txt-card-info-description {
|
|
218
|
+
@apply text-xs font-light text-text-secondary tracking-normal;
|
|
219
|
+
}
|
|
220
|
+
.txt-tag-common {
|
|
221
|
+
@apply font-medium text-xs;
|
|
222
|
+
}
|
|
223
|
+
.txt-tag-default {
|
|
224
|
+
@apply txt-tag-common text-text-secondary;
|
|
225
|
+
}
|
|
226
|
+
.txt-tag-success {
|
|
227
|
+
@apply txt-tag-common text-success;
|
|
228
|
+
}
|
|
229
|
+
.txt-tag-warning {
|
|
230
|
+
@apply txt-tag-common text-warning;
|
|
231
|
+
}
|
|
232
|
+
.txt-tag-critical {
|
|
233
|
+
@apply txt-tag-common text-critical;
|
|
234
|
+
}
|
|
235
|
+
.txt-tag-danger {
|
|
236
|
+
@apply txt-tag-common text-danger;
|
|
237
|
+
}
|
|
238
|
+
.txt-tag-information {
|
|
239
|
+
@apply txt-tag-common text-information;
|
|
240
|
+
}
|
|
241
|
+
.txt-tag-discovery {
|
|
242
|
+
@apply txt-tag-common text-discovery;
|
|
243
|
+
}
|
|
244
|
+
.txt-link {
|
|
245
|
+
@apply font-semibold text-text-link text-sm tracking-normal;
|
|
246
|
+
}
|
|
247
|
+
.txt-otp-input {
|
|
248
|
+
@apply text-center text-xl tracking-widest font-[700] placeholder:font-normal placeholder:text-text-placeholder placeholder:tracking-normal;
|
|
249
|
+
}
|
|
250
|
+
.txt-hash {
|
|
251
|
+
@apply font-mono text-sm text-text-primary tracking-normal;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.btn-common {
|
|
255
|
+
@apply flex text-sm h-10 font-semibold px-xl py-normal items-center justify-center rounded-lg shadow-sm transition-all duration-200 disabled:opacity-50 disabled:pointer-events-none disabled:cursor-not-allowed;
|
|
256
|
+
}
|
|
257
|
+
.btn-default {
|
|
258
|
+
@apply btn-common bg-button-default hover:opacity-75 text-text-inverse;
|
|
259
|
+
}
|
|
260
|
+
.btn-primary {
|
|
261
|
+
@apply btn-common bg-button-primary hover:opacity-75 text-text-focus;
|
|
262
|
+
}
|
|
263
|
+
.btn-alternative {
|
|
264
|
+
@apply btn-common hover:bg-bg-hover text-text-primary border border-border-default;
|
|
265
|
+
}
|
|
266
|
+
.btn-menu-common {
|
|
267
|
+
@apply flex flex-row items-center px-semi;
|
|
268
|
+
}
|
|
269
|
+
.btn-menu-top {
|
|
270
|
+
@apply btn-menu-common border-b border-border-default pt-small pb-semi;
|
|
271
|
+
}
|
|
272
|
+
.btn-menu-middle {
|
|
273
|
+
@apply btn-menu-common border-b border-border-default py-semi;
|
|
274
|
+
}
|
|
275
|
+
.btn-menu-bottom {
|
|
276
|
+
@apply btn-menu-common pt-semi pb-small;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.input-default {
|
|
280
|
+
@apply block h-[36px] text-text-primary placeholder:text-text-placeholder bg-bg-primary w-full rounded-md border px-semi py-normal border-border-default focus:outline-none focus:border-2 focus:border-border-interactive text-sm text-text-primary tracking-normal ring-0 transition-colors duration-500 ease-in-out;
|
|
281
|
+
}
|
|
282
|
+
.input-invalid {
|
|
283
|
+
@apply border-bg-error focus:ring-bg-error focus:border-bg-error;
|
|
284
|
+
}
|
|
285
|
+
.input-focus-secondary {
|
|
286
|
+
@apply focus:border-2 focus:border-border-hover2 focus:bg-bg-hover2;
|
|
287
|
+
}
|
|
288
|
+
.input-otp {
|
|
289
|
+
@apply bg-bg-primary w-full rounded-md border px-semi py-normal border-border-default focus:outline-none focus:border-2 focus:border-border-interactive text-text-primary ring-0 transition-colors duration-500 ease-in-out;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.card-common {
|
|
293
|
+
@apply text-left px-xl py-large border border-border-default rounded-lg shadow-sm transition-colors duration-500 ease-in-out;
|
|
294
|
+
}
|
|
295
|
+
.card-information {
|
|
296
|
+
@apply card-common hover:opacity-70 hover:shadow-md hover:border-border-selected;
|
|
297
|
+
}
|
|
298
|
+
.card-create-container {
|
|
299
|
+
@apply bg-bg-primary pb-normal border-b border-border-default transition-colors duration-500 ease-in-out;
|
|
300
|
+
}
|
|
301
|
+
.card-list-item {
|
|
302
|
+
@apply flex items-center justify-between rounded-md px-semi py-normal bg-bg-primary mb-normal last:mb-0;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.tag-common {
|
|
306
|
+
@apply flex min-w-7 px-normal py-small hover:opacity-70 items-center justify-center;
|
|
307
|
+
}
|
|
308
|
+
.tag-default {
|
|
309
|
+
@apply tag-common bg-bg-hover;
|
|
310
|
+
}
|
|
311
|
+
.tag-success {
|
|
312
|
+
@apply tag-common bg-success/10;
|
|
313
|
+
}
|
|
314
|
+
.tag-warning {
|
|
315
|
+
@apply tag-common bg-warning/10;
|
|
316
|
+
}
|
|
317
|
+
.tag-danger {
|
|
318
|
+
@apply tag-common bg-danger/10;
|
|
319
|
+
}
|
|
320
|
+
.tag-critical {
|
|
321
|
+
@apply tag-common bg-critical/10;
|
|
322
|
+
}
|
|
323
|
+
.tag-discovery {
|
|
324
|
+
@apply tag-common bg-discovery/10;
|
|
325
|
+
}
|
|
326
|
+
.tag-information {
|
|
327
|
+
@apply tag-common bg-information/10;
|
|
328
|
+
}
|
|
329
|
+
.tag-square {
|
|
330
|
+
@apply rounded px-semi py-small;
|
|
331
|
+
}
|
|
332
|
+
.tag-round {
|
|
333
|
+
@apply rounded-2xl
|
|
334
|
+
}
|
|
335
|
+
/* progress bar */
|
|
336
|
+
.progress-bar-container {
|
|
337
|
+
@apply bg-bg-hover mt-semi rounded-full h-1.5 overflow-hidden shadow-inner;
|
|
338
|
+
}
|
|
339
|
+
.progress-bar-buffer {
|
|
340
|
+
@apply h-1.5 bg-primary rounded-full transition-all duration-700 ease-in-out animate-pulse-glow;
|
|
341
|
+
}
|
|
342
|
+
@keyframes pulse-glow {
|
|
343
|
+
0%,
|
|
344
|
+
100% {
|
|
345
|
+
opacity: 1;
|
|
346
|
+
filter: brightness(1);
|
|
347
|
+
}
|
|
348
|
+
50% {
|
|
349
|
+
opacity: 0.7;
|
|
350
|
+
filter: brightness(1.4);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
.animate-pulse-glow {
|
|
354
|
+
animation: pulse-glow 3s ease-in-out infinite;
|
|
355
|
+
}
|
|
356
|
+
/* radio button */
|
|
357
|
+
.radio-container {
|
|
358
|
+
@apply w-large h-large flex items-center justify-center rounded-full border;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.radio-dot {
|
|
362
|
+
@apply w-1.5 h-1.5 bg-bg-primary rounded-full;
|
|
363
|
+
}
|
|
364
|
+
.radio-checked {
|
|
365
|
+
@apply bg-bg-error border-bg-error;
|
|
366
|
+
}
|
|
367
|
+
.radio-uncheck {
|
|
368
|
+
@apply bg-bg-primary border-border-strong;
|
|
369
|
+
}
|
|
370
|
+
.table-page-container {
|
|
371
|
+
max-height: calc(100vh - 315px);
|
|
372
|
+
overflow: auto;
|
|
373
|
+
}
|
|
374
|
+
.table-cell-padding {
|
|
375
|
+
padding-top: 8px !important;
|
|
376
|
+
padding-bottom: 8px !important;
|
|
377
|
+
padding-left: 16px !important;
|
|
378
|
+
padding-right: 16px !important;
|
|
379
|
+
}
|
|
380
|
+
.table-expanded-row {
|
|
381
|
+
padding-top: 16px !important;
|
|
382
|
+
padding-bottom: 16px !important;
|
|
383
|
+
}
|
package/dialogs.css
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
.fx-dialog {
|
|
2
|
+
max-width: unset !important;
|
|
3
|
+
border-radius: 8px !important;
|
|
4
|
+
.mat-dialog-actions {
|
|
5
|
+
border-top: 1px solid rgb(var(--border-default)) !important;
|
|
6
|
+
margin-left: -24px;
|
|
7
|
+
margin-right: -24px;
|
|
8
|
+
padding: 12px 24px 10px 10px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.mat-dialog-title {
|
|
12
|
+
margin-left: -24px;
|
|
13
|
+
margin-right: -24px;
|
|
14
|
+
padding-right: 24px;
|
|
15
|
+
padding-left: 24px;
|
|
16
|
+
border-bottom: 1px solid rgb(var(--border-default));
|
|
17
|
+
padding-bottom: 20px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.mat-dialog-content {
|
|
21
|
+
min-height: 110px;
|
|
22
|
+
letter-spacing: 0 !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.fx-dialog3 {
|
|
27
|
+
.mat-dialog-actions {
|
|
28
|
+
border-top: 1px solid rgb(var(--border-default));
|
|
29
|
+
margin-left: -24px;
|
|
30
|
+
margin-right: -24px;
|
|
31
|
+
padding: 12px 24px 10px 10px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.mat-dialog-title {
|
|
35
|
+
margin-left: -24px;
|
|
36
|
+
margin-right: -24px;
|
|
37
|
+
padding-right: 24px;
|
|
38
|
+
padding-left: 24px;
|
|
39
|
+
border-bottom: 1px solid rgb(var(--border-default));
|
|
40
|
+
padding-bottom: 20px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.mat-dialog-content {
|
|
44
|
+
min-height: 50px;
|
|
45
|
+
overflow: visible;
|
|
46
|
+
letter-spacing: 0 !important;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.fx-dialog4 {
|
|
51
|
+
max-width: unset !important;
|
|
52
|
+
.mat-dialog-actions {
|
|
53
|
+
border-top: 1px solid rgb(var(--border-default));
|
|
54
|
+
margin-left: -24px;
|
|
55
|
+
margin-right: -24px;
|
|
56
|
+
padding: 12px 24px 10px 10px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.mat-dialog-title {
|
|
60
|
+
margin-left: -24px;
|
|
61
|
+
margin-right: -24px;
|
|
62
|
+
padding-right: 24px;
|
|
63
|
+
padding-left: 24px;
|
|
64
|
+
border-bottom: 1px solid rgb(var(--border-default));
|
|
65
|
+
padding-bottom: 20px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.mat-dialog-content {
|
|
69
|
+
min-height: 50px;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.fx-fullsize-dialog {
|
|
74
|
+
max-width: 100vw !important;
|
|
75
|
+
height: 100%;
|
|
76
|
+
|
|
77
|
+
mat-dialog-container {
|
|
78
|
+
padding: 0;
|
|
79
|
+
|
|
80
|
+
form.wrapped-form {
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
height: 100%;
|
|
84
|
+
justify-content: space-between;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.mat-dialog-title {
|
|
88
|
+
background-color: rgb(var(--bg-primary));
|
|
89
|
+
box-shadow: 0px 4px 8px rgba(26, 28, 38, 0.15);
|
|
90
|
+
color: rgb(var(--text-primary));
|
|
91
|
+
padding: 12px 20px;
|
|
92
|
+
min-height: 24px;
|
|
93
|
+
|
|
94
|
+
h2 {
|
|
95
|
+
font-weight: 500;
|
|
96
|
+
font-size: 18px;
|
|
97
|
+
line-height: 24px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.mat-dialog-content {
|
|
102
|
+
background: rgb(var(--bg-primary));
|
|
103
|
+
padding: 16px 20px;
|
|
104
|
+
margin: unset;
|
|
105
|
+
height: 100%;
|
|
106
|
+
max-height: unset;
|
|
107
|
+
letter-spacing: 0 !important;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.mat-dialog-actions {
|
|
111
|
+
background-color: rgb(var(--bg-primary));
|
|
112
|
+
padding: 12px 20px;
|
|
113
|
+
margin-bottom: unset;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|