bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/local-echo/styles.js
prlanzarin 120bef5cc1 refactor(audio): improve audio settings' UI
We are missing a way to select transcription languages in some
scenarios, e.g.: listenOnlyMode=false. The audio settings UI is also not
handling item disposition very well on smaller devices.

This commit does the following to improve those blind spots:
  - Add the transcription language selector to it whenever applicable
  - Add proper styling to the transcription selector
  - Handle small screens by changing the disposition of elements to
    portrait mode
  - Improve how elements are disposed to a more familiar view: Mic ->
    Activity Indicator; Speaker -> Speaker test. This is more in line
    with how other platforms do audio configuration/pre flight screens.
2024-08-15 00:43:37 +00:00

36 lines
728 B
JavaScript

import styled from 'styled-components';
import Button from '/imports/ui/components/common/button/component';
import {
colorPrimary,
colorWhite,
} from '/imports/ui/stylesheets/styled-components/palette';
const LocalEchoTestButton = styled(Button)`
font-weight: normal;
border: none !important;
height: 2rem;
width: 100%;
&:hover {
color: #0c5cb2;
}
i {
${({ animations }) => animations && `
transition: all .2s ease-in-out;
`}
}
background-color: transparent !important;
color: ${colorPrimary} !important;
${({ $hearing }) => $hearing && `
background-color: ${colorPrimary} !important;
color: ${colorWhite} !important;
`}
`;
export default {
LocalEchoTestButton,
};