bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/pads/content/styles.js

52 lines
818 B
JavaScript
Raw Normal View History

import styled from 'styled-components';
import {
colorGray,
} from '/imports/ui/stylesheets/styled-components/palette';
const Wrapper = styled.div`
display: flex;
height: 100%;
position: relative;
width: 100%;
`;
2022-04-08 02:35:24 +08:00
const contentText = `
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 15px;
color: ${colorGray};
bottom: 0;
box-sizing: border-box;
display: flex;
2022-04-12 04:43:21 +08:00
flex-direction: column;
2022-04-08 02:35:24 +08:00
overflow-x: hidden;
overflow-wrap: break-word;
word-break: break-all;
overflow-y: auto;
padding-top: 1rem;
position: absolute;
width: 100%;
top: 0;
2022-04-08 02:35:24 +08:00
[dir="ltr"] & {
padding-left: 1rem;
padding-right: .5rem;
}
2022-04-08 02:35:24 +08:00
[dir="rtl"] & {
padding-left: .5rem;
padding-right: 1rem;
}
`;
const Iframe = styled.iframe`
border-width: 0;
width: 100%;
`;
export default {
Wrapper,
2022-04-08 02:35:24 +08:00
Iframe,
contentText,
};