bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/app/styles.js
Ramón Souza f74a0657ba
refactor(styles): Update DtfInvert background color (#21277)
Refactor styles to update the background color of connection status bars in dark mode. The #connectionBars > div now has a background color of var(--darkreader-neutral-text)
2024-09-30 09:58:49 -03:00

112 lines
2.6 KiB
JavaScript

import styled from 'styled-components';
import { FlexColumn } from '/imports/ui/stylesheets/styled-components/placeholders';
const CaptionsWrapper = styled.div`
height: auto;
bottom: 100px;
left: 20%;
z-index: 5;
pointer-events: none;
user-select:none;
`;
const Layout = styled(FlexColumn)``;
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;
}
div[id="app"] {
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 {
.tl-image {
background-color: white !important;
}
}
.tlui-slider__thumb {
background-color: var(--darkreader-text--color-text-1) !important;
}
.tlui-button[data-state="hinted"]::after {
background-color: var(--darkreader-selection-background) !important;
}
div.tlui-toolbar__inner > div.tlui-toolbar__tools.fade-in {
background: var(--darkreader-border--color-selected) !important;
}
div[id="cameraDock"] {
background-color: var(--darkreader-neutral-background) !important;
}
.bnjzQC > div span div:hover {
background-color: var(--darkreader-selection-background) !important;
}
.tl-note__scrim,.tl-arrow-label[data-isediting="true"] > .tl-arrow-label__inner {
background-color: unset !important;
}
textarea {
caret-color: black !important;
}
#connectionBars > div {
background-color: var(--darkreader-neutral-text) !important;
}
`;
const DtfBrandingInvert = `
${DtfInvert},
div[data-test="brandingArea"]
`;
const DtfCss = `
[id="colorPicker"],
path,
svg,
g,
line,
textarea,
rect,
circle,
.tlui-buttons__grid > button,
.tlui-popover > button,
.tl-html-container > div.tl-text-shape__wrapper.tl-text-shadow,
.tl-text,
.tl-text-input,
.tl-text-content,
.tl-text-label__inner,
.tl-note__container,
.tl-text.tl-text-content,
.tl-arrow-label,
.tl-arrow-label__inner
`;
const DtfImages = `
svg
`;
export default {
CaptionsWrapper,
Layout,
DtfInvert,
DtfBrandingInvert,
DtfCss,
DtfImages,
};