1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 15:20:06 +02:00
copilot/ui/src/components/mini-metric/view.js
2017-01-10 18:06:11 +00:00

28 lines
539 B
JavaScript

const constants = require('../../shared/constants');
const Styled = require('styled-components');
const {
colors
} = constants;
const {
default: styled
} = Styled;
module.exports = styled.div`
height: 127px;
width: 158px;
background-color: ${colors.miniBackground};
border: solid 1px ${colors.borderSecondary};
&::before {
position: absolute;
z-index: 1;
width: 9px;
height: 127px;
content: '';
background-image:
linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(216, 216, 216, 0));
}
`;