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

44 lines
940 B
JavaScript
Raw Normal View History

2021-10-28 00:21:57 +08:00
import styled from 'styled-components';
import { colorWhite } from '/imports/ui/stylesheets/styled-components/palette';
2024-02-17 00:32:27 +08:00
import { borderSize, navbarHeight, smPaddingX } from '/imports/ui/stylesheets/styled-components/general';
2021-10-28 00:21:57 +08:00
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;
2024-02-17 00:32:27 +08:00
padding: ${smPaddingX};
2021-10-28 00:21:57 +08:00
@media ${smallOnly} {
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 5;
height: auto;
top: ${navbarHeight};
overflow: auto;
2023-06-06 00:42:24 +08:00
&.no-padding {
padding: 0;
}
2021-10-28 00:21:57 +08:00
}
@media ${mediumUp} {
position: relative;
order: 1;
}
`;
export default {
Poll,
};