bigbluebutton-Github/bigbluebutton-html5/imports/ui/stylesheets/styled-components/placeholders.js

62 lines
1.1 KiB
JavaScript
Raw Normal View History

2021-10-26 03:21:27 +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-10-26 03:21:27 +08:00
const FlexColumn = styled.div`
display: flex;
flex-flow: column;
`;
const FlexRow = styled.div`
display: flex;
flex-flow: row;
`;
2021-10-28 01:48:15 +08:00
const DivElipsis = styled.div`
min-width: 0;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`;
2021-10-26 03:21:27 +08:00
const TextElipsis = styled.span`
min-width: 0;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`;
const TitleElipsis = styled.h2`
min-width: 0;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`;
2021-10-30 01:10:20 +08:00
const HeaderElipsis = styled.h3`
min-width: 0;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`;
const ButtonElipsis = styled(Button)`
min-width: 0;
display: inline-block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
`;
2021-10-26 03:21:27 +08:00
export {
FlexColumn,
FlexRow,
2021-10-28 01:48:15 +08:00
DivElipsis,
2021-10-26 03:21:27 +08:00
TextElipsis,
TitleElipsis,
2021-10-30 01:10:20 +08:00
HeaderElipsis,
ButtonElipsis,
2021-10-26 03:21:27 +08:00
};