bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/help/styles.js

80 lines
1.6 KiB
JavaScript
Raw Normal View History

2021-11-10 00:20:34 +08:00
import styled from 'styled-components';
2022-02-15 04:20:50 +08:00
import Button from '/imports/ui/components/common/button/component';
2021-11-10 00:20:34 +08:00
import { smallOnly } from '/imports/ui/stylesheets/styled-components/breakpoints';
import { jumboPaddingY, smPaddingY } from '/imports/ui/stylesheets/styled-components/general';
import {
fontSizeSmaller,
} from '/imports/ui/stylesheets/styled-components/typography';
import {
colorLink,
} from '/imports/ui/stylesheets/styled-components/palette';
2017-11-17 19:52:48 +08:00
2021-11-10 00:20:34 +08:00
const Help = styled.span`
2017-11-17 19:52:48 +08:00
display: flex;
flex-flow: column;
min-height: 10rem;
2021-11-10 00:20:34 +08:00
`;
2017-11-17 19:52:48 +08:00
2021-11-10 00:20:34 +08:00
const Text = styled.div`
2017-11-17 19:52:48 +08:00
text-align: center;
justify-content: center;
2017-11-17 19:52:48 +08:00
margin-top: auto;
margin-bottom: auto;
2021-11-10 00:20:34 +08:00
`;
const EnterAudio = styled.div`
display: flex;
justify-content: flex-end;
margin-top: ${jumboPaddingY};
2021-11-10 00:20:34 +08:00
`;
2017-11-17 19:52:48 +08:00
const RetryButton = styled(Button)`
2017-11-17 19:52:48 +08:00
margin-right: 0.5rem;
margin-left: inherit;
2017-11-17 19:52:48 +08:00
[dir="rtl"] & {
margin-right: inherit;
margin-left: 0.5rem;
}
2021-11-10 00:20:34 +08:00
@media ${smallOnly} {
margin-right: none;
margin-left: inherit;
[dir="rtl"] & {
margin-right: inherit;
margin-left: auto;
}
2017-11-17 19:52:48 +08:00
}
2021-11-10 00:20:34 +08:00
`;
const TroubleshootLink = styled.a`
color: ${colorLink};
`;
const UnknownError = styled.label`
font-size: ${fontSizeSmaller};
justify-content: center;
text-align: center;
margin-top: ${smPaddingY};
margin-bottom: ${smPaddingY};
`;
const PermissionHelpSteps = styled.ul`
text-align: left;
justify-content: center;
li {
margin-bottom: ${smPaddingY};
}
`;
2021-11-10 00:20:34 +08:00
export default {
Help,
Text,
EnterAudio,
RetryButton,
TroubleshootLink,
UnknownError,
PermissionHelpSteps,
2021-11-10 00:20:34 +08:00
};