PromucFlow_constructor/app/client/src/globalStyles/portals.ts
2021-06-17 00:06:34 +05:30

26 lines
510 B
TypeScript

import { createGlobalStyle } from "styled-components";
import { Layers } from "constants/Layers";
import { Classes } from "@blueprintjs/core";
export const PortalStyles = createGlobalStyle`
#header-root {
position: relative;
z-index: ${Layers.header};
}
#tooltip-root {
position: absolute;
top: 0;
width: 100vw;
z-index: ${Layers.max};
}
.bp3-portal {
z-index: ${Layers.portals};
}
.file-picker-dialog.bp3-dialog .${Classes.DIALOG_BODY} {
padding: 0;
}
`;