Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | 125x 125x 125x 125x 125x 125x 125x 125x 125x | import { cssClass } from '../styled';
import { altitude, palette, space, theme, fontSize, fontWeight } from '../utils';
export const FieldWrapper = styleProps => cssClass`
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const Label = styleProps => cssClass`
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const DescriptionText = styleProps => cssClass`
display: block;
font-size: ${fontSize('150')(styleProps)}rem;
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const HintText = styleProps => cssClass`
display: block;
font-size: ${fontSize('150')(styleProps)}rem;
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const OptionalText = styleProps => cssClass`
font-size: ${fontSize('150')(styleProps)}rem;
color: ${palette('text100')(styleProps)};
margin-left: ${space(2)(styleProps)}rem;
line-height: 1;
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const RequiredText = styleProps => cssClass`
color: ${palette('danger')(styleProps)};
margin-left: ${space(1)(styleProps)}rem;
font-weight: ${fontWeight('semibold')(styleProps)};
font-size: ${fontSize('150')(styleProps)}rem;
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const ValidationText = styleProps => cssClass`
position: absolute;
display: block;
font-size: ${fontSize('150')(styleProps)}rem;
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const TooltipTrigger = styleProps => cssClass`
&& {
font-size: ${fontSize('100')(styleProps)}rem;
padding: ${space(1)(styleProps)}rem;
min-height: unset;
}
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
export const TooltipPopover = styleProps => cssClass`
&& {
position: absolute;
padding: ${space(1, 'major')(styleProps)}rem;
margin-top: ${space(1, 'major')(styleProps)}rem;
width: max-content;
max-width: 400px;
z-index: 999999;
${altitude('300')(styleProps)};
}
& {
${theme(styleProps.themeKey, `css.root`)(styleProps)};
}
`;
|