Last change
on this file since 747e0ab was bc20307, checked in by Tasevski2 <39170279+Tasevski2@…>, 2 years ago |
Push before video
|
-
Property mode
set to
100644
|
File size:
1.9 KB
|
Rev | Line | |
---|
[bc20307] | 1 | import styled from 'styled-components';
|
---|
[3a58bd6] | 2 | import { Button } from '@mui/material';
|
---|
[bc20307] | 3 | import PhIcon from '@mui/icons-material/Phone';
|
---|
[3a58bd6] | 4 | import TextField from '@mui/material/TextField';
|
---|
| 5 | import PIcon from '@mui/icons-material/Person';
|
---|
[bc20307] | 6 | import DirectionsCarIcon from '@mui/icons-material/DirectionsCar';
|
---|
[3a58bd6] | 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: {
|
---|
[bc20307] | 18 | marginTop: '25px',
|
---|
[3a58bd6] | 19 | },
|
---|
| 20 | })`
|
---|
| 21 | > div {
|
---|
| 22 | padding-left: 10px;
|
---|
| 23 | }
|
---|
| 24 | input {
|
---|
| 25 | color: white;
|
---|
| 26 | font-size: 1.2rem;
|
---|
| 27 | padding-left: 10px;
|
---|
[bc20307] | 28 |
|
---|
| 29 | ::placeholder {
|
---|
| 30 | color: white;
|
---|
| 31 | opacity: 0.6;
|
---|
| 32 | }
|
---|
[3a58bd6] | 33 | }
|
---|
| 34 |
|
---|
| 35 | fieldset {
|
---|
| 36 | border: 0;
|
---|
[bc20307] | 37 | border-bottom: 4px solid white;
|
---|
[3a58bd6] | 38 | border-radius: 25px;
|
---|
| 39 | padding: 0 10px;
|
---|
| 40 | }
|
---|
| 41 | `;
|
---|
| 42 |
|
---|
[bc20307] | 43 | export const PersonIcon = styled(PIcon).attrs({
|
---|
[3a58bd6] | 44 | sx: {
|
---|
| 45 | fontSize: '2rem',
|
---|
| 46 | color: 'white',
|
---|
| 47 | },
|
---|
| 48 | })``;
|
---|
| 49 |
|
---|
[bc20307] | 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({
|
---|
[3a58bd6] | 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 | }))`
|
---|
[bc20307] | 73 | margin-top: 50px;
|
---|
[3a58bd6] | 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 |
|
---|
[bc20307] | 84 | export const LoginText = styled.p`
|
---|
[3a58bd6] | 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;
|
---|
[bc20307] | 94 | color: ${(props) => props.theme.palette.third.main};
|
---|
[3a58bd6] | 95 | font-weight: bold;
|
---|
| 96 | font-size: 1.2rem;
|
---|
| 97 | }
|
---|
| 98 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.