Last change
on this file was bc20307, checked in by Tasevski2 <39170279+Tasevski2@…>, 3 years ago |
Push before video
|
-
Property mode
set to
100644
|
File size:
1.9 KB
|
Line | |
---|
1 | import styled from 'styled-components';
|
---|
2 | import { Typography, Divider } from '@mui/material';
|
---|
3 |
|
---|
4 | export const Wrapper = styled.div`
|
---|
5 | width: 100%;
|
---|
6 | height: 380px;
|
---|
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 ParkingSpacesNumberWrapper = styled.div`
|
---|
27 | margin-top: 15px;
|
---|
28 | display: flex;
|
---|
29 | flex-direction: row;
|
---|
30 | width: 100%;
|
---|
31 | justify-content: space-evenly;
|
---|
32 | `;
|
---|
33 |
|
---|
34 | export const NumberLabel = styled.p`
|
---|
35 | font-size: 1.4rem;
|
---|
36 | margin: 0;
|
---|
37 | `;
|
---|
38 |
|
---|
39 | export const NumberValue = styled.p`
|
---|
40 | font-size: 1.6rem;
|
---|
41 | font-weight: 500;
|
---|
42 | margin: 0;
|
---|
43 | `;
|
---|
44 |
|
---|
45 | export const TableWrapper = styled.div`
|
---|
46 | width: 80%;
|
---|
47 | margin: auto;
|
---|
48 | text-align: center;
|
---|
49 | margin-top: 15px;
|
---|
50 | table {
|
---|
51 | border-spacing: 0;
|
---|
52 | border: 1px solid black;
|
---|
53 | border-bottom: 0;
|
---|
54 | word-break: break-all;
|
---|
55 | font-size: 1.2rem;
|
---|
56 | }
|
---|
57 |
|
---|
58 | table tbody {
|
---|
59 | display: block;
|
---|
60 | max-height: 200px;
|
---|
61 | overflow-y: auto;
|
---|
62 | }
|
---|
63 | tbody::-webkit-scrollbar {
|
---|
64 | display: none;
|
---|
65 | }
|
---|
66 | table thead,
|
---|
67 | table tbody tr {
|
---|
68 | display: table;
|
---|
69 | width: 100%;
|
---|
70 | table-layout: fixed;
|
---|
71 | }
|
---|
72 | th:last-of-type {
|
---|
73 | width: 20%;
|
---|
74 | }
|
---|
75 |
|
---|
76 | th,
|
---|
77 | td {
|
---|
78 | padding: 10px 5px;
|
---|
79 | overflow: hidden;
|
---|
80 | }
|
---|
81 | th {
|
---|
82 | border-bottom: 2px solid black;
|
---|
83 | border-left: 2px solid black;
|
---|
84 | :first-of-type {
|
---|
85 | border-left: 0;
|
---|
86 | }
|
---|
87 | }
|
---|
88 | td {
|
---|
89 | border-left: 2px solid black;
|
---|
90 | border-bottom: 1px solid black;
|
---|
91 | text-overflow: ellipsis;
|
---|
92 | }
|
---|
93 | tr td:first-of-type {
|
---|
94 | border-left: 0;
|
---|
95 | }
|
---|
96 | tr td:last-of-type {
|
---|
97 | width: 20%;
|
---|
98 | }
|
---|
99 | tr:last-of-type td {
|
---|
100 | border-bottom: 0;
|
---|
101 | }
|
---|
102 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.