Last change
on this file since bc20307 was bc20307, checked in by Tasevski2 <39170279+Tasevski2@…>, 2 years ago |
Push before video
|
-
Property mode
set to
100644
|
File size:
2.1 KB
|
Rev | Line | |
---|
[3a58bd6] | 1 | import { Button } from '@mui/material';
|
---|
| 2 | import Divider from '@mui/material/Divider';
|
---|
| 3 | import TextField from '@mui/material/TextField';
|
---|
| 4 | import PIcon from '@mui/icons-material/Person';
|
---|
| 5 | import LIcon from '@mui/icons-material/Lock';
|
---|
| 6 | import styled from 'styled-components';
|
---|
| 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 | opacity: 0.6;
|
---|
| 31 | }
|
---|
[3a58bd6] | 32 | }
|
---|
| 33 |
|
---|
| 34 | fieldset {
|
---|
| 35 | border: 0;
|
---|
[bc20307] | 36 | border-bottom: 4px solid white;
|
---|
[3a58bd6] | 37 | border-radius: 25px;
|
---|
| 38 | padding: 0 10px;
|
---|
| 39 | }
|
---|
| 40 | `;
|
---|
| 41 |
|
---|
| 42 | export const LockIcon = styled(LIcon).attrs({
|
---|
| 43 | sx: {
|
---|
| 44 | fontSize: '2rem',
|
---|
| 45 | color: 'white',
|
---|
| 46 | },
|
---|
| 47 | })``;
|
---|
| 48 |
|
---|
| 49 | export const PersonIcon = styled(PIcon).attrs({
|
---|
| 50 | sx: {
|
---|
| 51 | fontSize: '2rem',
|
---|
| 52 | color: 'white',
|
---|
| 53 | },
|
---|
| 54 | })``;
|
---|
| 55 |
|
---|
| 56 | export const ButtonsWrapper = styled.div`
|
---|
| 57 | display: flex;
|
---|
| 58 | flex-direction: column;
|
---|
[bc20307] | 59 | margin-top: 10px;
|
---|
| 60 | padding: 30px 0px;
|
---|
[3a58bd6] | 61 | `;
|
---|
| 62 | export const SignInButton = styled(Button).attrs((props) => ({
|
---|
| 63 | variant: 'contained',
|
---|
| 64 | size: 'large',
|
---|
| 65 | width: '50%',
|
---|
| 66 | sx: {
|
---|
| 67 | width: '70%',
|
---|
| 68 | backgroundColor: 'white',
|
---|
| 69 | },
|
---|
| 70 | }))`
|
---|
| 71 | box-shadow: 5px 5px 10px ${(props) => props.theme.palette.background.shadow};
|
---|
| 72 | align-self: center;
|
---|
| 73 | color: ${(props) => props.theme.palette.primary.main};
|
---|
| 74 | border-radius: 15px;
|
---|
| 75 | font-weight: 600;
|
---|
| 76 | :hover {
|
---|
| 77 | background-color: ${(props) => props.theme.palette.background.whiteSmoke};
|
---|
| 78 | }
|
---|
| 79 | `;
|
---|
| 80 |
|
---|
| 81 | export const DividerButtons = styled(Divider).attrs({
|
---|
| 82 | sx: {},
|
---|
| 83 | })`
|
---|
[bc20307] | 84 | align-items: center;
|
---|
| 85 | // margin-bottom: 15px;
|
---|
[3a58bd6] | 86 | ::before,
|
---|
| 87 | ::after {
|
---|
| 88 | border-top: 2px solid white;
|
---|
| 89 | }
|
---|
| 90 | `;
|
---|
| 91 |
|
---|
| 92 | export const DividerText = styled.p`
|
---|
| 93 | color: white;
|
---|
| 94 | `;
|
---|
| 95 |
|
---|
| 96 | export const RegisterText = styled.p`
|
---|
| 97 | position: absolute;
|
---|
| 98 | bottom: 0;
|
---|
| 99 | width: 100%;
|
---|
| 100 | text-align: center;
|
---|
| 101 | color: white;
|
---|
| 102 |
|
---|
| 103 | a {
|
---|
| 104 | margin-left: 10px;
|
---|
| 105 | text-decoration: none;
|
---|
[bc20307] | 106 | color: ${(props) => props.theme.palette.third.main};
|
---|
[3a58bd6] | 107 | font-weight: bold;
|
---|
| 108 | font-size: 1.2rem;
|
---|
| 109 | }
|
---|
| 110 | `;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.