UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

70 lines (61 loc) 1.73 kB
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; } var styled = require('styled-components'); var styled__default = _interopDefault(styled); var index$1$1 = require('../../../02-atoms/07-box/index.js'); const SideViewWrapper = styled__default(index$1$1.default) ` ${props => props.theme.mediaQueries.small} { display: flex; height: auto; } padding: 0; margin-top: 0; `; const SideViewSidebar = styled__default.div ` ${props => (props.inDetail ? `display: none;` : ``)}; ${props => props.theme.mediaQueries.small} { display: block; width: ${props => props.theme.jobSearch.splitView.sidebar.width}; border-right: 1px solid #dedede; padding: 0; overflow-y: auto; overflow-x: hidden; } ol { margin: 0; padding: 0; list-style: none; } a { text-decoration: none; } img { max-width: 50px; } `; const SideViewMain = styled__default.div ` flex: 1; overflow-y: auto; ${props => (!props.inDetail ? `display: none;` : ``)}; ${props => props.theme.mediaQueries.small} { display: block; position: sticky; top: 0px; bottom: 0px; z-index: 2; width: 100%; max-width: 1140px; height: 100vh; margin: 0px auto; } `; const SideTitle = styled__default.h1 ` font-weight: 600; font-size: ${props => props.theme.jobSearch.splitView.title.fontSize}; padding: ${props => props.theme.jobSearch.splitView.title.padding}; `; exports.SideTitle = SideTitle; exports.SideViewMain = SideViewMain; exports.SideViewSidebar = SideViewSidebar; exports.SideViewWrapper = SideViewWrapper;