bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/common/modal/base/styles.js

26 lines
697 B
JavaScript
Raw Normal View History

2021-11-11 03:10:35 +08:00
import styled from 'styled-components';
import { ModalScrollboxVertical } from '/imports/ui/stylesheets/styled-components/scrollable';
import { borderRadius } from '/imports/ui/stylesheets/styled-components/general';
import { smallOnly, mediumUp } from '/imports/ui/stylesheets/styled-components/breakpoints';
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
2021-11-11 03:10:35 +08:00
const BaseModal = styled(ModalScrollboxVertical)`
max-width: 60vw;
max-height: 100%;
border-radius: ${borderRadius};
background: ${colorWhite};
2021-11-11 03:10:35 +08:00
overflow: auto;
@media ${smallOnly} {
max-width: 95vw;
}
@media ${mediumUp} {
max-width: 80vw;
}
`;
export default {
BaseModal,
};