From 82e03978b89938219958032efb1448cc76baa181 Mon Sep 17 00:00:00 2001 From: Saumit Date: Sat, 27 Sep 2025 02:14:26 +0530 Subject: Initial snapshot - OpenTelemetry demo 2.1.3 -f --- src/frontend/styles/Checkout.styled.ts | 79 ++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 src/frontend/styles/Checkout.styled.ts (limited to 'src/frontend/styles/Checkout.styled.ts') 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; +`; -- cgit v1.2.3