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

79 lines
1.8 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;
pointer-events: none;
user-select:none;
2021-10-28 00:43:51 +08:00
`;
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;
}
select {
border-top: unset !important;
border-right: unset !important;
border-left: unset !important;
}
.tl-container {
background-color: var(--tl-background) !important;
}
2023-02-10 21:37:29 +08:00
#TD-Tools button, #TD-TopPanel-Undo, #TD-TopPanel-Redo, #TD-Styles {
border-color: transparent !important;
}
[id="TD-StylesMenu"],
[id="TD-Styles-Color-Container"],
div[data-test="brandingArea"],
2022-04-09 03:05:29 +08:00
#connectionBars > div
`;
const DtfCss = `
[id="colorPicker"],
path,
svg
`;
const DtfImages = `
svg
2022-04-09 03:05:29 +08:00
`;
2021-10-28 00:43:51 +08:00
export default {
CaptionsWrapper,
ActionsBar,
Layout,
2022-04-09 03:05:29 +08:00
DtfInvert,
DtfCss,
DtfImages,
2021-10-28 00:43:51 +08:00
};