Add collection actions

This commit is contained in:
Tom Moor
2017-11-19 23:39:56 -08:00
parent 113974ee19
commit a8b6b51aa6
4 changed files with 103 additions and 71 deletions

View File

@ -0,0 +1,34 @@
// @flow
import styled from 'styled-components';
import Flex from 'shared/components/Flex';
import { layout, color } from 'shared/styles/constants';
export const Action = styled(Flex)`
justify-content: center;
align-items: center;
padding: 0 0 0 10px;
a {
color: ${color.text};
height: 24px;
}
`;
export const Separator = styled.div`
margin-left: 12px;
width: 1px;
height: 20px;
background: ${color.slateLight};
`;
const Actions = styled(Flex)`
position: fixed;
top: 0;
right: 0;
padding: ${layout.vpadding} ${layout.hpadding} 8px 8px;
border-radius: 3px;
background: rgba(255, 255, 255, 0.9);
-webkit-backdrop-filter: blur(20px);
`;
export default Actions;

View File

@ -0,0 +1,4 @@
// @flow
import Actions from './Actions';
export { Action, Separator } from './Actions';
export default Actions;