bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/webcam/styles.js
2021-11-03 11:51:56 +00:00

39 lines
712 B
JavaScript

import styled from 'styled-components';
const Draggable = styled.div`
${({ isDraggable }) => isDraggable && `
& > video {
cursor: grabbing;
}
`}
${({ isDragging }) => isDragging && `
background-color: rgba(200, 200, 200, 0.5);
`}
`;
const ResizableWrapper = styled.div`
${({ horizontal }) => horizontal && `
& > div span div {
&:hover {
background-color: rgba(255, 255, 255, .3);
}
width: 100% !important;
}
`}
${({ vertical }) => vertical && `
& > div span div {
&:hover {
background-color: rgba(255, 255, 255, .3);
}
height: 100% !important;
}
`}
`;
export default {
Draggable,
ResizableWrapper,
};