bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/app/styles.js

56 lines
1.3 KiB
JavaScript
Raw Normal View History

2021-10-28 00:43:51 +08:00
import styled from 'styled-components';
import { barsPadding } from '/imports/ui/stylesheets/styled-components/general';
import { FlexColumn } from '/imports/ui/stylesheets/styled-components/placeholders';
2022-04-09 03:05:29 +08:00
import { colorBackground } from '/imports/ui/stylesheets/styled-components/palette';
2021-10-28 00:43:51 +08:00
const CaptionsWrapper = styled.div`
height: auto;
bottom: 100px;
left: 20%;
z-index: 5;
`;
const ActionsBar = styled.section`
flex: 1;
padding: ${barsPadding};
2022-04-09 03:05:29 +08:00
background-color: ${colorBackground};
2021-10-28 00:43:51 +08:00
position: relative;
order: 3;
`;
const Layout = styled(FlexColumn)``;
2021-10-28 00:43:51 +08:00
2022-04-09 03:05:29 +08:00
const DtfInvert = `
body {
background-color: var(--darkreader-neutral-background) !important;
}
header[id="Navbar"] {
background-color: var(--darkreader-neutral-background) !important;
}
section[id="ActionsBar"] {
background-color: var(--darkreader-neutral-background) !important;
}
select {
border: 0.1rem solid #FFFFFF !important;
}
select[data-test="skipSlide"] {
border: unset !important;
}
div[data-test="presentationContainer"] {
background-color: var(--darkreader-neutral-background) !important;
}
#connectionBars > div
`;
const DtfCss = `
[id="colorPicker"]
`;
2021-10-28 00:43:51 +08:00
export default {
CaptionsWrapper,
ActionsBar,
Layout,
2022-04-09 03:05:29 +08:00
DtfInvert,
DtfCss,
2021-10-28 00:43:51 +08:00
};