Last change
on this file since 2b65789 was 3a58bd6, checked in by Viktor <39170279+Tasevski2@…>, 3 years ago |
Added Frontend
|
-
Property mode
set to
100644
|
File size:
1.7 KB
|
Line | |
---|
1 | import styled from 'styled-components';
|
---|
2 | import CheckCircleOutlineIcon from '@mui/icons-material/CheckCircleOutline';
|
---|
3 | import Button from '@mui/material/Button';
|
---|
4 |
|
---|
5 | export const Wrapper = styled.div`
|
---|
6 | display: flex;
|
---|
7 | flex-direction: row;
|
---|
8 | justify-content: space-between;
|
---|
9 | align-items: center;
|
---|
10 | width: 100%;
|
---|
11 | height: 110px;
|
---|
12 | padding: 10px 30px;
|
---|
13 | border-radius: 50px;
|
---|
14 | color: white;
|
---|
15 | font-size: 1rem;
|
---|
16 | box-shadow: 0 10px 5px -2px ${(props) => props.theme.palette.background.shadow};
|
---|
17 | `;
|
---|
18 |
|
---|
19 | export const SessionChildWrapper = styled.div`
|
---|
20 | display: flex;
|
---|
21 | flex-direction: column;
|
---|
22 | `;
|
---|
23 |
|
---|
24 | export const SessionChildTitle = styled.p`
|
---|
25 | text-align: center;
|
---|
26 | margin: 0;
|
---|
27 | margin-bottom: 5px;
|
---|
28 | `;
|
---|
29 |
|
---|
30 | export const SeessionChildData = styled.p`
|
---|
31 | text-align: center;
|
---|
32 | margin: 0;
|
---|
33 | font-weight: 600;
|
---|
34 | font-size: 1.1rem;
|
---|
35 | `;
|
---|
36 |
|
---|
37 | export const InputAndCheckIconWrapper = styled.div`
|
---|
38 | position: relative;
|
---|
39 |
|
---|
40 | button {
|
---|
41 | padding: 0;
|
---|
42 | position: absolute;
|
---|
43 | right: -40px;
|
---|
44 | }
|
---|
45 | `;
|
---|
46 |
|
---|
47 | export const ParkingSpaceNumberInput = styled.input`
|
---|
48 | width: 100px;
|
---|
49 | height: 30px;
|
---|
50 | text-align: center;
|
---|
51 | `;
|
---|
52 |
|
---|
53 | export const CheckIcon = styled(CheckCircleOutlineIcon).attrs({
|
---|
54 | sx: {
|
---|
55 | color: '#2e7d32',
|
---|
56 | fontSize: '2rem',
|
---|
57 | },
|
---|
58 | })``;
|
---|
59 |
|
---|
60 | export const DeleteButton = styled(Button).attrs((props) => ({
|
---|
61 | variant: 'contained',
|
---|
62 | size: 'medium',
|
---|
63 | sx: {
|
---|
64 | backgroundColor: `#ff1919`,
|
---|
65 | },
|
---|
66 | }))`
|
---|
67 | :hover {
|
---|
68 | background-color: #e51616;
|
---|
69 | }
|
---|
70 | `;
|
---|
71 |
|
---|
72 | export const ContinueButton = styled(Button).attrs((props) => ({
|
---|
73 | variant: 'contained',
|
---|
74 | size: 'small',
|
---|
75 | sx: {
|
---|
76 | backgroundColor: `${props.theme.palette.primary.main}`,
|
---|
77 | },
|
---|
78 | }))`
|
---|
79 | margin-top: 20px;
|
---|
80 |
|
---|
81 | :hover {
|
---|
82 | background-color: ${(props) => props.theme.palette.primary.dark};
|
---|
83 | }
|
---|
84 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.