summaryrefslogtreecommitdiff
path: root/src/frontend/styles/Checkout.styled.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/styles/Checkout.styled.ts')
-rw-r--r--src/frontend/styles/Checkout.styled.ts79
1 files changed, 79 insertions, 0 deletions
diff --git a/src/frontend/styles/Checkout.styled.ts b/src/frontend/styles/Checkout.styled.ts
new file mode 100644
index 0000000..69e340f
--- /dev/null
+++ b/src/frontend/styles/Checkout.styled.ts
@@ -0,0 +1,79 @@
+// Copyright The OpenTelemetry Authors
+// SPDX-License-Identifier: Apache-2.0
+
+import styled from 'styled-components';
+
+export const Checkout = styled.div`
+ margin: 20px;
+
+ ${({ theme }) => theme.breakpoints.desktop} {
+ margin: 100px;
+ }
+`;
+
+export const Container = styled.div`
+ display: flex;
+ flex-direction: column;
+ gap: 28px;
+ align-items: center;
+ justify-content: center;
+ margin-bottom: 120px;
+
+ ${({ theme }) => theme.breakpoints.desktop} {
+ display: grid;
+ grid-template-columns: auto;
+ }
+`;
+
+export const DataRow = styled.div`
+ display: grid;
+ width: 100%;
+ justify-content: space-between;
+ grid-template-columns: 1fr 1fr;
+ padding: 24px 0;
+ border-top: solid 1px rgba(154, 160, 166, 0.5);
+
+ span:last-of-type {
+ text-align: right;
+ }
+`;
+
+export const ItemList = styled.div`
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ gap: 24px;
+
+ ${({ theme }) => theme.breakpoints.desktop} {
+ margin: 72px 0;
+ }
+`;
+
+export const Title = styled.h1`
+ text-align: center;
+ margin: 0;
+
+ font-size: ${({ theme }) => theme.sizes.mLarge};
+
+ ${({ theme }) => theme.breakpoints.desktop} {
+ font-size: ${({ theme }) => theme.sizes.dLarge};
+ }
+`;
+
+export const Subtitle = styled.h3`
+ text-align: center;
+ margin: 0;
+
+ font-size: ${({ theme }) => theme.sizes.mMedium};
+ color: ${({ theme }) => theme.colors.textLightGray};
+
+ ${({ theme }) => theme.breakpoints.desktop} {
+ font-size: ${({ theme }) => theme.sizes.dMedium};
+ }
+`;
+
+export const ButtonContainer = styled.div`
+ display: flex;
+ justify-content: center;
+ align-items: center;
+`;