bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/common/modal/random-user/styles.js

58 lines
1.1 KiB
JavaScript
Raw Normal View History

2021-11-11 03:10:35 +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-11 03:10:35 +08:00
import {
fontSizeXXL,
headingsFontWeight,
} from '/imports/ui/stylesheets/styled-components/typography';
import {
mdPaddingX,
smPaddingX,
} from '/imports/ui/stylesheets/styled-components/general';
const ModalViewContainer = styled.div`
display: flex;
flex-flow: column;
align-items: center;
2022-10-28 01:54:34 +08:00
& > div {
margin-bottom: 1rem;
}
2021-11-11 03:10:35 +08:00
`;
const ModalAvatar = styled.div`
height: 6rem;
width: 6rem;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
color: white;
font-size: ${fontSizeXXL};
font-weight: 400;
margin-bottom: ${smPaddingX};
text-transform: capitalize;
`;
const SelectedUserName = styled.div`
margin-bottom: ${mdPaddingX};
2021-11-11 03:10:35 +08:00
font-weight: ${headingsFontWeight};
font-size: 2rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
position: relative;
width: 100%;
text-align: center;
`;
const SelectButton = styled(Button)`
margin-bottom: ${mdPaddingX};
`;
export default {
ModalViewContainer,
ModalAvatar,
SelectedUserName,
SelectButton,
};