bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/nav-bar/leave-meeting-button/styles.js

25 lines
547 B
JavaScript

import styled from 'styled-components';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import Button from '/imports/ui/components/common/button/component';
const LeaveButton = styled(Button)`
${({ state }) => state === 'open' && `
@media ${smallOnly} {
display: none;
}
`}
${({ state }) => state === 'closed' && `
border-radius: 1.1rem;
margin: 0.5rem;
font-size: 1rem;
line-height: 1.1rem;
font-weight: 400;
z-index: 3;
`}
`;
export default {
LeaveButton,
};