diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-09-07 12:15:53 -0400 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-09-07 12:15:53 -0400 |
| commit | 093c172d16732ba8d01faa313e0af99d26902205 (patch) | |
| tree | 84838c4f6410b43f42b56219190a62e14e072ef3 /stepped-solutions/53/frontend/components/styles | |
| parent | 9876e7dfca6fa2bbf6ac383eeb8e2c82e05c2164 (diff) | |
getting there
Diffstat (limited to 'stepped-solutions/53/frontend/components/styles')
| -rwxr-xr-x | stepped-solutions/53/frontend/components/styles/OrderStyles.js | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/stepped-solutions/53/frontend/components/styles/OrderStyles.js b/stepped-solutions/53/frontend/components/styles/OrderStyles.js new file mode 100755 index 0000000..f461b70 --- /dev/null +++ b/stepped-solutions/53/frontend/components/styles/OrderStyles.js @@ -0,0 +1,37 @@ +import styled from 'styled-components'; + +const OrderStyles = styled.div` + max-width: 1000px; + margin: 0 auto; + border: 1px solid ${props => props.theme.offWhite}; + box-shadow: ${props => props.theme.bs}; + padding: 2rem; + border-top: 10px solid red; + & > p { + display: grid; + grid-template-columns: 1fr 5fr; + margin: 0; + border-bottom: 1px solid ${props => props.theme.offWhite}; + span { + padding: 1rem; + &:first-child { + font-weight: 900; + text-align: right; + } + } + } + .order-item { + border-bottom: 1px solid ${props => props.theme.offWhite}; + display: grid; + grid-template-columns: 300px 1fr; + align-items: center; + grid-gap: 2rem; + margin: 2rem 0; + padding-bottom: 2rem; + img { + width: 100%; + object-fit: cover; + } + } +`; +export default OrderStyles; |
