- Added DynamicField interface to define form field structure. - Created DynamicFormConfig interface for form configuration. - Developed DynamicFormComponent to handle dynamic form rendering and validation. - Implemented DynamicPopupComponent for displaying forms in a modal dialog. - Added HTML and SCSS for dynamic form and popup styling. - Integrated Material Design components for form inputs and buttons. - Implemented form submission logic with API integration. - Added tests for DynamicForm and DynamicPopup components. - Updated global styles for Material components in themed popups. - Included Material Icons in index.html for better UI representation.
42 lines
825 B
SCSS
42 lines
825 B
SCSS
.title-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.edit-btn {
|
|
background: transparent;
|
|
border: none;
|
|
padding: 6px 8px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
color: var(--orange-yellow-crayola);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
align-self: flex-start;
|
|
margin-top: -4px;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.edit-btn:hover {
|
|
background: rgba(227, 179, 65, 0.12);
|
|
}
|
|
|
|
.timeline-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: var(--orange-yellow-crayola);
|
|
font-size: var(--fs-6);
|
|
margin-top: 4px;
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
|
|
&:hover {
|
|
color: var(--vegas-gold);
|
|
text-decoration: underline;
|
|
}
|
|
}
|