Last change
on this file since 747e0ab 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 { Button } from '@mui/material';
|
---|
3 | import PhIcon from '@mui/icons-material/Phone';
|
---|
4 | import TextField from '@mui/material/TextField';
|
---|
5 | import PIcon from '@mui/icons-material/Person';
|
---|
6 | import DirectionsCarIcon from '@mui/icons-material/DirectionsCar';
|
---|
7 |
|
---|
8 | export const CredentialsWrapper = styled.div`
|
---|
9 | display: flex;
|
---|
10 | flex-direction: column;
|
---|
11 | align-items: center;
|
---|
12 | padding: 0 25px 15px 25px;
|
---|
13 | `;
|
---|
14 |
|
---|
15 | export const Input = styled(TextField).attrs({
|
---|
16 | fullWidth: true,
|
---|
17 | sx: {
|
---|
18 | marginTop: '25px',
|
---|
19 | },
|
---|
20 | })`
|
---|
21 | > div {
|
---|
22 | padding-left: 10px;
|
---|
23 | }
|
---|
24 | input {
|
---|
25 | color: white;
|
---|
26 | font-size: 1.2rem;
|
---|
27 | padding-left: 10px;
|
---|
28 |
|
---|
29 | ::placeholder {
|
---|
30 | color: white;
|
---|
31 | opacity: 0.6;
|
---|
32 | }
|
---|
33 | }
|
---|
34 |
|
---|
35 | fieldset {
|
---|
36 | border: 0;
|
---|
37 | border-bottom: 4px solid white;
|
---|
38 | border-radius: 25px;
|
---|
39 | padding: 0 10px;
|
---|
40 | }
|
---|
41 | `;
|
---|
42 |
|
---|
43 | export const PersonIcon = styled(PIcon).attrs({
|
---|
44 | sx: {
|
---|
45 | fontSize: '2rem',
|
---|
46 | color: 'white',
|
---|
47 | },
|
---|
48 | })``;
|
---|
49 |
|
---|
50 | export const PhoneIcon = styled(PhIcon).attrs({
|
---|
51 | sx: {
|
---|
52 | fontSize: '2rem',
|
---|
53 | color: 'white',
|
---|
54 | },
|
---|
55 | })``;
|
---|
56 |
|
---|
57 | export const CarIcon = styled(DirectionsCarIcon).attrs({
|
---|
58 | sx: {
|
---|
59 | fontSize: '2rem',
|
---|
60 | color: 'white',
|
---|
61 | },
|
---|
62 | })``;
|
---|
63 |
|
---|
64 | export const SignInButton = styled(Button).attrs((props) => ({
|
---|
65 | variant: 'contained',
|
---|
66 | size: 'large',
|
---|
67 | width: '50%',
|
---|
68 | sx: {
|
---|
69 | width: '70%',
|
---|
70 | backgroundColor: 'white',
|
---|
71 | },
|
---|
72 | }))`
|
---|
73 | margin-top: 50px;
|
---|
74 | box-shadow: 5px 5px 10px ${(props) => props.theme.palette.background.shadow};
|
---|
75 | align-self: center;
|
---|
76 | color: ${(props) => props.theme.palette.primary.main};
|
---|
77 | border-radius: 15px;
|
---|
78 | font-weight: 600;
|
---|
79 | :hover {
|
---|
80 | background-color: ${(props) => props.theme.palette.background.whiteSmoke};
|
---|
81 | }
|
---|
82 | `;
|
---|
83 |
|
---|
84 | export const LoginText = styled.p`
|
---|
85 | position: absolute;
|
---|
86 | bottom: 0;
|
---|
87 | width: 100%;
|
---|
88 | text-align: center;
|
---|
89 | color: white;
|
---|
90 |
|
---|
91 | a {
|
---|
92 | margin-left: 10px;
|
---|
93 | text-decoration: none;
|
---|
94 | color: ${(props) => props.theme.palette.third.main};
|
---|
95 | font-weight: bold;
|
---|
96 | font-size: 1.2rem;
|
---|
97 | }
|
---|
98 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.