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

55 lines
913 B
JavaScript
Raw Normal View History

import styled from 'styled-components';
import {
colorGray,
colorGrayLightest
} 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: block;
2022-04-08 02:35:24 +08:00
overflow-x: hidden;
overflow-wrap: break-word;
overflow-y: auto;
padding-top: 1rem;
position: absolute;
right: 0;
left:0;
2022-04-08 02:35:24 +08:00
top: 0;
white-space: normal;
2022-04-08 02:35:24 +08:00
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%;
border-top: 1px solid ${colorGrayLightest};
border-bottom: 1px solid ${colorGrayLightest};
`;
export default {
Wrapper,
2022-04-08 02:35:24 +08:00
Iframe,
contentText,
};