[bc20307] | 1 | import styled from 'styled-components';
|
---|
| 2 | import { Typography, Divider } from '@mui/material';
|
---|
| 3 |
|
---|
| 4 | export const Wrapper = styled.div`
|
---|
| 5 | width: 500px;
|
---|
| 6 | height: 100%;
|
---|
| 7 | padding: 10px 20px;
|
---|
| 8 | border: 1px solid ${(props) => props.theme.palette.background.shadow};
|
---|
| 9 | box-shadow: 15px 15px 10px ${(props) => props.theme.palette.background.shadow};
|
---|
| 10 | `;
|
---|
| 11 |
|
---|
| 12 | export const Title = styled(Typography).attrs({
|
---|
| 13 | variant: 'h4',
|
---|
| 14 | textAlign: 'center',
|
---|
| 15 | marginBottom: '10px',
|
---|
| 16 | fontSize: '1.7rem',
|
---|
| 17 | fontWeight: 500,
|
---|
| 18 | })``;
|
---|
| 19 |
|
---|
| 20 | export const DividerUnderTitle = styled(Divider).attrs({
|
---|
| 21 | sx: {
|
---|
| 22 | borderBottomWidth: '2px',
|
---|
| 23 | },
|
---|
| 24 | })``;
|
---|
| 25 |
|
---|
| 26 | export const Characteristics = styled.div`
|
---|
| 27 | width: 100%;
|
---|
| 28 | display: flex;
|
---|
| 29 | flex-direction: column;
|
---|
| 30 | padding: 10px 0;
|
---|
| 31 | `;
|
---|
| 32 |
|
---|
| 33 | export const KeyValueWrapper = styled.div`
|
---|
| 34 | width: 100%;
|
---|
| 35 | display: flex;
|
---|
| 36 | flex-direction: row;
|
---|
| 37 | justify-content: space-between;
|
---|
| 38 | margin-top: 10px;
|
---|
| 39 | `;
|
---|
| 40 |
|
---|
| 41 | export const Key = styled.p`
|
---|
| 42 | font-size: 1.4rem;
|
---|
| 43 | margin: 0;
|
---|
| 44 | `;
|
---|
| 45 |
|
---|
| 46 | export const Value = styled.p`
|
---|
| 47 | font-size: 1.5rem;
|
---|
| 48 | font-weight: 500;
|
---|
| 49 | margin: 0;
|
---|
| 50 | width: 50%;
|
---|
| 51 | `;
|
---|
| 52 |
|
---|
| 53 | export const ColorCircleWrapper = styled.div`
|
---|
| 54 | width: 50%;
|
---|
| 55 | `;
|
---|
| 56 | export const ColorCircle = styled.div`
|
---|
| 57 | width: 2rem;
|
---|
| 58 | height: 2rem;
|
---|
| 59 | background-color: ${(props) => props.$color};
|
---|
| 60 | border-radius: 50%;
|
---|
| 61 | `;
|
---|
| 62 |
|
---|
| 63 | export const ZoneCenterLocation = styled.div`
|
---|
| 64 | display: flex;
|
---|
| 65 | flex-direction: column;
|
---|
| 66 | margin-top: 15px;
|
---|
| 67 | `;
|
---|
| 68 |
|
---|
| 69 | export const SmallTitle = styled(Typography).attrs({
|
---|
| 70 | variant: 'h6',
|
---|
| 71 | textAlign: 'center',
|
---|
| 72 | marginBottom: '5px',
|
---|
| 73 | fontWeight: 500,
|
---|
| 74 | fontSize: '1.4rem',
|
---|
| 75 | })``;
|
---|
| 76 |
|
---|
| 77 | export const LatLngCenter = styled.div`
|
---|
| 78 | display: flex;
|
---|
| 79 | flex-direction: row;
|
---|
| 80 | justify-content: space-between;
|
---|
| 81 | padding: 0 40px;
|
---|
| 82 | `;
|
---|
| 83 |
|
---|
| 84 | export const LabelAndLatLngWrapper = styled.div`
|
---|
| 85 | display: flex;
|
---|
| 86 | flex-direction: column;
|
---|
| 87 | align-items: center;
|
---|
| 88 | `;
|
---|
| 89 |
|
---|
| 90 | export const LatLngLabel = styled.label`
|
---|
| 91 | font-size: 1.1rem;
|
---|
| 92 | `;
|
---|
| 93 |
|
---|
| 94 | export const LatLngValue = styled.p`
|
---|
| 95 | margin: 0;
|
---|
| 96 | margin-top: 5px;
|
---|
| 97 | font-size: 1.5rem;
|
---|
| 98 | font-weight: 500;
|
---|
| 99 | overflow: hidden;
|
---|
| 100 | text-overflow: ellipsis;
|
---|
| 101 | width: 150px;
|
---|
| 102 | border: 1px solid black;
|
---|
| 103 | padding: 10px 5px;
|
---|
| 104 | `;
|
---|
| 105 |
|
---|
| 106 | export const ZoneCornersLocation = styled.div`
|
---|
| 107 | width: 100%;
|
---|
| 108 | margin-top: 25px;
|
---|
| 109 | `;
|
---|
| 110 |
|
---|
| 111 | export const TableWrapper = styled.div`
|
---|
| 112 | width: 50%;
|
---|
| 113 | margin: auto;
|
---|
| 114 | text-align: center;
|
---|
| 115 |
|
---|
| 116 | table {
|
---|
| 117 | border-spacing: 0;
|
---|
| 118 | border: 1px solid black;
|
---|
| 119 | border-bottom: 0;
|
---|
| 120 | }
|
---|
| 121 |
|
---|
| 122 | table tbody {
|
---|
| 123 | display: block;
|
---|
| 124 | max-height: 200px;
|
---|
| 125 | overflow-y: auto;
|
---|
| 126 | }
|
---|
| 127 | tbody::-webkit-scrollbar {
|
---|
| 128 | display: none;
|
---|
| 129 | }
|
---|
| 130 | table thead,
|
---|
| 131 | table tbody tr {
|
---|
| 132 | display: table;
|
---|
| 133 | width: 100%;
|
---|
| 134 | table-layout: fixed;
|
---|
| 135 | }
|
---|
| 136 | th,
|
---|
| 137 | td {
|
---|
| 138 | padding: 10px 5px;
|
---|
| 139 | font-size: 1.2rem;
|
---|
| 140 | text-overflow: ellipsis;
|
---|
| 141 | }
|
---|
| 142 | thead th:first-of-type {
|
---|
| 143 | border-right: 2px solid black;
|
---|
| 144 | border-bottom: 2px solid black;
|
---|
| 145 | }
|
---|
| 146 | thead th:last-of-type {
|
---|
| 147 | border-bottom: 2px solid black;
|
---|
| 148 | }
|
---|
| 149 | tbody tr td:first-of-type {
|
---|
| 150 | border-right: 2px solid black;
|
---|
| 151 | }
|
---|
| 152 | tbody tr td {
|
---|
| 153 | border-bottom: 1px solid black;
|
---|
| 154 | }
|
---|
| 155 |
|
---|
| 156 | tbody tr:last-of-type td {
|
---|
| 157 | border-bottom: 0;
|
---|
| 158 | }
|
---|
| 159 | `;
|
---|