mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-22 13:21:09 +08:00
69 lines
1.3 KiB
TypeScript
69 lines
1.3 KiB
TypeScript
import { Switch, Typography } from 'antd';
|
|
import styled from 'styled-components';
|
|
|
|
export const Container = styled.div`
|
|
display: flex;
|
|
justify-content: space-between;
|
|
height: 100%;
|
|
`;
|
|
|
|
export const AvatarContainer = styled.div`
|
|
display: flex;
|
|
gap: 1rem;
|
|
`;
|
|
|
|
export const Wrapper = styled.div`
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin-top: 1rem;
|
|
`;
|
|
|
|
export const ManageAccountLink = styled(Typography.Link)`
|
|
width: 6rem;
|
|
text-align: end;
|
|
`;
|
|
|
|
export const OrganizationWrapper = styled.div`
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
margin-top: 1rem;
|
|
`;
|
|
|
|
export const OrganizationContainer = styled.div`
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
`;
|
|
|
|
export const InviteMembersContainer = styled.div`
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
margin-top: 1.25rem;
|
|
`;
|
|
|
|
export const LogoutContainer = styled.div`
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
`;
|
|
|
|
export interface DarkModeProps {
|
|
checked?: boolean;
|
|
defaultChecked?: boolean;
|
|
}
|
|
|
|
export const ToggleButton = styled(Switch)<DarkModeProps>`
|
|
&&& {
|
|
background: ${({ checked }): string => (checked === false ? 'grey' : '')};
|
|
}
|
|
.ant-switch-inner {
|
|
font-size: 1rem !important;
|
|
}
|
|
`;
|
|
|
|
export const IconContainer = styled.div`
|
|
color: white;
|
|
`;
|