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;
|
2023-05-10 01:26:27 +08:00
|
|
|
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;
|
|
|
|
`;
|
|
|
|
|
2022-01-26 00:56:52 +08:00
|
|
|
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;
|
|
|
|
}
|
2023-02-02 00:35:06 +08:00
|
|
|
select {
|
|
|
|
border-top: unset !important;
|
|
|
|
border-right: unset !important;
|
|
|
|
border-left: unset !important;
|
|
|
|
}
|
2023-01-31 23:18:03 +08:00
|
|
|
.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;
|
|
|
|
}
|
2023-01-31 23:18:03 +08:00
|
|
|
[id="TD-StylesMenu"],
|
|
|
|
[id="TD-Styles-Color-Container"],
|
2023-02-07 04:03:30 +08:00
|
|
|
div[data-test="brandingArea"],
|
2022-04-09 03:05:29 +08:00
|
|
|
#connectionBars > div
|
|
|
|
`;
|
|
|
|
|
|
|
|
const DtfCss = `
|
2023-01-31 23:18:03 +08:00
|
|
|
[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,
|
2023-01-31 23:18:03 +08:00
|
|
|
DtfImages,
|
2021-10-28 00:43:51 +08:00
|
|
|
};
|