bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/captions/styles.js

25 lines
635 B
JavaScript
Raw Normal View History

2021-10-30 01:31:08 +08:00
import styled from 'styled-components';
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
2024-02-17 00:32:27 +08:00
import { smPaddingX } from '/imports/ui/stylesheets/styled-components/general';
2021-10-30 01:31:08 +08:00
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
const Captions = styled.div`
2021-10-30 01:31:08 +08:00
background-color: ${colorWhite};
2024-02-17 00:32:27 +08:00
padding: ${smPaddingX};
2021-10-30 01:31:08 +08:00
display: flex;
flex-grow: 1;
flex-direction: column;
overflow: hidden;
height: 100%;
${({ isChrome }) => isChrome && `
transform: translateZ(0);
`}
@media ${smallOnly} {
transform: none !important;
}
`;
export default { Captions };