2021-11-03 19:51:56 +08:00
|
|
|
import styled from 'styled-components';
|
2022-11-08 03:21:12 +08:00
|
|
|
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
|
2021-07-13 03:47:06 +08:00
|
|
|
|
2021-11-03 19:51:56 +08:00
|
|
|
const DropZoneArea = styled.div`
|
2021-07-13 03:47:06 +08:00
|
|
|
position: absolute;
|
|
|
|
background: transparent;
|
|
|
|
-webkit-box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, .2);
|
|
|
|
-moz-box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, .2);
|
|
|
|
box-shadow: inset 0px 0px 0px 1px rgba(0, 0, 0, .2);
|
|
|
|
font-weight: bold;
|
|
|
|
font-family: sans-serif;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
cursor: grabbing;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(0, 0, 0, .1);
|
|
|
|
}
|
2021-11-03 19:51:56 +08:00
|
|
|
`;
|
|
|
|
|
|
|
|
const DropZoneBg = styled.div`
|
|
|
|
position: absolute;
|
2022-11-08 03:21:12 +08:00
|
|
|
background-color: rgba(0, 0, 0, .5);
|
2021-11-03 19:51:56 +08:00
|
|
|
-webkit-box-shadow: inset 0px 0px 0px 1px #666;
|
|
|
|
-moz-box-shadow: inset 0px 0px 0px 1px #666;
|
|
|
|
box-shadow: inset 0px 0px 0px 1px #666;
|
2022-11-08 03:21:12 +08:00
|
|
|
color: ${colorWhite};
|
2021-11-03 19:51:56 +08:00
|
|
|
font-weight: bold;
|
|
|
|
font-family: sans-serif;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2022-11-17 20:44:04 +08:00
|
|
|
overflow: hidden;
|
2021-11-03 19:51:56 +08:00
|
|
|
`;
|
|
|
|
|
|
|
|
export default {
|
|
|
|
DropZoneArea,
|
|
|
|
DropZoneBg,
|
|
|
|
};
|