gristlabs_grist-core/app/client/ui/AdminTogglesCss.ts
Jordi Gutiérrez Hermoso 4621b67c8e AdminToggleCss: factor out CSS from SupportGristPage
We will create a new enterprise toggle, so we will need to share the same CSS.
2024-07-30 13:41:47 -04:00

46 lines
1013 B
TypeScript

import {bigBasicButton, bigBasicButtonLink, bigPrimaryButton} from 'app/client/ui2018/buttons';
import {theme} from 'app/client/ui2018/cssVars';
import {styled} from 'grainjs';
export const cssSection = styled('div', ``);
export const cssParagraph = styled('div', `
color: ${theme.text};
font-size: 14px;
line-height: 20px;
margin-bottom: 12px;
`);
export const cssOptInOutMessage = styled(cssParagraph, `
line-height: 40px;
font-weight: 600;
margin-top: 24px;
margin-bottom: 0px;
`);
export const cssOptInButton = styled(bigPrimaryButton, `
margin-top: 24px;
`);
export const cssOptOutButton = styled(bigBasicButton, `
margin-top: 24px;
`);
export const cssSponsorButton = styled(bigBasicButtonLink, `
margin-top: 24px;
`);
export const cssButtonIconAndText = styled('div', `
display: flex;
align-items: center;
`);
export const cssButtonText = styled('span', `
margin-left: 8px;
`);
export const cssSpinnerBox = styled('div', `
margin-top: 24px;
text-align: center;
`);