mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-11 10:20:30 +00:00
28 lines
514 B
JavaScript
28 lines
514 B
JavaScript
import React from 'react';
|
|
import styled from 'styled-components';
|
|
|
|
export function Card({ className, children }) {
|
|
return <CardRoot className={className}>{children}</CardRoot>;
|
|
}
|
|
|
|
const CardRoot = styled.div`
|
|
padding: 15px;
|
|
margin: 15px;
|
|
background: #fff;
|
|
border: 1px solid #d2dce2;
|
|
`;
|
|
|
|
export const CardFooterActions = styled.div`
|
|
padding-top: 16px;
|
|
border-top: 1px solid #e0e7ea;
|
|
margin-top: 30px;
|
|
|
|
.bp3-button {
|
|
min-width: 70px;
|
|
|
|
+ .bp3-button {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
`;
|