UNPKG

@amsterdam/bmi-component-library

Version:

A React component library based on ASC and Material-UI aimed at repurposing and sharing components across BMI projects

47 lines (43 loc) 1.36 kB
import styled,{css}from"styled-components";import{breakpoint,Button,themeColor,themeSpacing}from"@amsterdam/asc-ui";import{FileListStyle}from"./FileList/FileListStyles";export const FileUploadStyle=styled.div` flex: 1; display: flex; flex-direction: column; min-width: 70px; padding: ${themeSpacing(6)}; border: 1px dashed ${themeColor("tint","level6")}; border-radius: 0; outline: none; `;export const FileUploadPlaceholderWrapper=styled.div` display: flex; gap: ${themeSpacing(2)}; `;export const FileUploadPlaceholderTextCss=css` font-weight: 400; font-size: 18px; line-height: 160%; color: ${themeColor("tint","level7")}; `;export const FileUploadPlaceholderStyle=styled.span` ${FileUploadPlaceholderTextCss} padding-right: ${themeSpacing(1)}; display: none; @media screen and (${breakpoint("min-width","laptop")}) { display: inline; } `;export const FileUploadSelectFilesButtonStyle=styled(Button)` ${FileUploadPlaceholderTextCss} display: inline-block; color: ${themeColor("primary")}; text-decoration: underline; `;export const FileUploadContentStyle=styled.div` display: flex; justify-content: center; align-items: center; flex-direction: column; ${FileListStyle} { display: none; } ${FileListStyle}:not(:empty) { display: block; margin-top: ${themeSpacing(6)}; } `; //# sourceMappingURL=FileUploadStyles.js.map