bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/generic-component-content/styles.ts
Guilherme Pereira Leme c6391b3986
feat(plugin): add generic component to extensible areas list and layout.set to uiCommands (#19582)
* [plugin-sdk-generic-component] - generic component extensible area and ui command layout set

* [plugin-generic-component] -  update sdk

* [plugin-generic-component] -  fix lint errors

* [plugin-generic-component] - fix problem warned by CI tests
2024-02-19 07:59:45 -03:00

26 lines
491 B
TypeScript

import styled from 'styled-components';
type ContainerProps = {
isResizing: boolean;
isMinimized: boolean;
};
export const Container = styled.div<ContainerProps>`
position: absolute;
pointer-events: inherit;
background: var(--color-black);
z-index: 5;
display: grid;
grid-template-columns: 1fr 1fr;
${({ isResizing }) => isResizing && `
pointer-events: none;
`}
${({ isMinimized }) => isMinimized && `
display: none;
`}
`;
export default {
Container,
};