bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/nav-bar/settings-dropdown/styles.js
2021-11-05 18:38:01 +00:00

36 lines
684 B
JavaScript

import styled from 'styled-components';
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import Button from '/imports/ui/components/button/component';
const DropdownButton = styled(Button)`
${({ state }) => state === 'open' && `
@media ${smallOnly} {
display: none;
}
`}
${({ state }) => state === 'closed' && `
margin: 0;
& span {
border: none;
box-shadow: none;
}
z-index: 3;
&:hover,
&:focus {
span {
background-color: transparent !important;
color: var(--color-white) !important;
opacity: .75;
}
}
`}
`;
export default {
DropdownButton,
};