mirror of
https://github.com/gristlabs/grist-core.git
synced 2024-10-27 20:44:07 +00:00
4621b67c8e
We will create a new enterprise toggle, so we will need to share the same CSS.
46 lines
1013 B
TypeScript
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;
|
|
`);
|