one-click-accessibility/modules/scanner/assets/js/styles/app.styles.js
VasylD fa2fd11e29
[APP-934] add submit logic (#259)
* [APP-934] add submit logic

* [APP-934] add submit logic

* [APP-934] add submit logic

* [APP-934] add submit logic

* Added replace remediation action

* Add submit logic

* Add submit alt text logic, generate AI alt text

* Add AI generate request, add convert from SVG to png base64, added manual fix block

* Add AI generate request, add convert from SVG to png base64, added manual fix block

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

* Add texts, add remediation submit, fix logic to store remediation

---------

Co-authored-by: Raz Ohad <admin@bainternet.info>
2025-05-06 00:00:46 +03:00

49 lines
1.2 KiB
JavaScript

import Alert from '@elementor/ui/Alert';
import Box from '@elementor/ui/Box';
import Button from '@elementor/ui/Button';
import CardContent from '@elementor/ui/CardContent';
import Paper from '@elementor/ui/Paper';
import Skeleton from '@elementor/ui/Skeleton';
import { styled } from '@elementor/ui/styles';
export const StyledContent = styled(CardContent)`
padding: 0 ${({ theme }) => theme.spacing(1.5)};
`;
export const StyledSkeleton = styled(Skeleton)`
transform: scale(1);
`;
export const StyledAlert = styled(Alert)`
align-items: center;
padding-right: ${({ theme }) => theme.spacing(0.5)};
& .MuiAlert-icon,
& .MuiAlert-content {
padding-top: 0;
display: flex;
}
`;
export const StateContainer = styled(Box)`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: ${({ theme }) => theme.spacing(2)};
padding-top: ${({ theme }) => theme.spacing(12)};
padding-bottom: ${({ theme }) => theme.spacing(6)};
`;
export const StyledButtonContainer = styled(Paper)`
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: ${({ theme }) => theme.spacing(1.5)};
`;
export const StyledButton = styled(Button)`
font-weight: 400;
justify-content: start;
padding: 0;
`;