bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/sidebar-content/styles.js
2024-02-16 13:32:27 -03:00

44 lines
940 B
JavaScript

import styled from 'styled-components';
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
import { borderSize, navbarHeight, smPaddingX } from '/imports/ui/stylesheets/styled-components/general';
import { smallOnly, mediumUp } from '/imports/ui/stylesheets/styled-components/breakpoints';
const Poll = styled.div`
position: absolute;
display: flex;
flex-flow: column;
overflow-y: auto;
overflow-x: hidden;
outline: transparent;
outline-width: ${borderSize};
outline-style: solid;
order: 2;
height: 100%;
background-color: ${colorWhite};
min-width: 20em;
padding: ${smPaddingX};
@media ${smallOnly} {
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 5;
height: auto;
top: ${navbarHeight};
overflow: auto;
&.no-padding {
padding: 0;
}
}
@media ${mediumUp} {
position: relative;
order: 1;
}
`;
export default {
Poll,
};