Repository URL to install this package:
|
Version:
3.12.20 ▾
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
import { PC } from '@filerobot/common';
import styled, { css } from 'styled-components';
var BrowserBody = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n flex: 1;\n z-index: 1000;\n position: relative;\n display: flex;\n overflow: hidden;\n\n ", "\n"])), function (_ref) {
var isListLayout = _ref.isListLayout;
return isListLayout && css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 100%;\n "])));
});
var ViewBody = styled.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n overflow-y: auto;\n"])));
var MainContent = styled.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n position: relative;\n display: block;\n width: 100%;\n background-color: ", ";\n border-spacing: 0;\n overflow-y: auto;\n list-style: none;\n padding: 0;\n -webkit-overflow-scrolling: touch;\n"])), function (_ref2) {
var theme = _ref2.theme;
return theme.palette[PC.BackgroundPrimaryStateless];
});
var Styled = {
BrowserBody: BrowserBody,
ViewBody: ViewBody,
MainContent: MainContent
};
export default Styled;