bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/audio/device-selector/styles.js
prlanzarin cdbbb49d64 refactor(audio): style adjustments to AudioSettings device selectors
Similar to what video-preview does: dropdown icon indicator, focus/hover handling, ...
2022-05-03 16:25:02 +00:00

38 lines
782 B
JavaScript

import styled from 'styled-components';
import {
borderSize,
} from '/imports/ui/stylesheets/styled-components/general';
import {
colorGrayLabel,
colorWhite,
colorGrayLighter,
colorPrimary,
} from '/imports/ui/stylesheets/styled-components/palette';
const Select = styled.select`
background-color: ${colorWhite};
border: 0.1rem solid ${colorGrayLighter};
border-radius: ${borderSize};
color: ${colorGrayLabel};
width: 100%;
height: 2rem;
padding: 1px;
&:focus {
outline: none;
border-radius: ${borderSize};
box-shadow: 0 0 0 ${borderSize} ${colorPrimary}, inset 0 0 0 1px ${colorPrimary};
}
&:hover,
&:focus {
outline: transparent;
outline-style: dotted;
outline-width: ${borderSize};
}
`;
export default {
Select,
};