bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/external-video-player/subtitles/styles.js
gabriellpr 15eb6c9980 applying subtitles option for the viewers
Implementing subtitles button for viewers

fix: activate/deactivate closed captions

changing button layout

changing button layout

Fix a few things
2022-04-29 16:30:12 -03:00

47 lines
753 B
JavaScript

import styled from 'styled-components';
import Button from '/imports/ui/components/common/button/component';
import { colorTransparent } from '/imports/ui/stylesheets/styled-components/palette';
const SubtitlesWrapper = styled.div`
background-color: ${colorTransparent};
cursor: pointer;
border: 0;
z-index: 2;
margin: 2px;
[dir="rtl"] & {
right: 0;
left : auto;
}
`;
const SubtitlesButton = 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 {
SubtitlesWrapper,
SubtitlesButton,
};