bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/reload-button/styles.js
2021-10-26 14:48:18 +00:00

50 lines
791 B
JavaScript

import styled from 'styled-components';
import { colorTransparent } from '/imports/ui/stylesheets/styled-components/palette';
import Button from '/imports/ui/components/button/component';
const Wrapper = styled.div`
position: absolute;
right: auto;
left: 0;
background-color: ${colorTransparent};
cursor: pointer;
border: 0;
z-index: 2;
margin: 2px;
bottom: 0;
top: 0;
[dir="rtl"] & {
right: 0;
left : auto;
}
`;
const ReloadButton = styled(Button)`
&,
&:active,
&:hover,
&:focus {
border: none !important;
i {
border: none !important;
background-color: ${colorTransparent} !important;
}
}
padding: 5px;
&:hover {
border: 0;
}
i {
font-size: 1rem;
}
`;
export default {
Wrapper,
ReloadButton,
};