mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-14 13:01:30 +08:00
54 lines
965 B
TypeScript
54 lines
965 B
TypeScript
import { Card, Space } from 'antd';
|
|
import React from 'react';
|
|
import styled from 'styled-components';
|
|
|
|
export const Container = styled.div`
|
|
&&& {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
|
|
max-width: 1024px;
|
|
margin: 0 auto;
|
|
}
|
|
`;
|
|
|
|
export const FormWrapper = styled(Card)`
|
|
display: flex;
|
|
justify-content: center;
|
|
max-width: 432px;
|
|
flex: 1;
|
|
`;
|
|
|
|
export const Label = styled.label`
|
|
margin-bottom: 11px;
|
|
margin-top: 19px;
|
|
display: inline-block;
|
|
font-size: 1rem;
|
|
line-height: 24px;
|
|
`;
|
|
|
|
export const LeftContainer = styled(Space)`
|
|
flex: 1;
|
|
`;
|
|
|
|
export const ButtonContainer = styled.div`
|
|
margin-top: 1.8125rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
`;
|
|
|
|
interface Props {
|
|
marginTop: React.CSSProperties['marginTop'];
|
|
}
|
|
|
|
export const MarginTop = styled.div<Props>`
|
|
margin-top: ${({ marginTop = 0 }): number | string => marginTop};
|
|
`;
|
|
|
|
export const Logo = styled.img`
|
|
width: 60px;
|
|
`;
|