source: sources/client/src/components/Auth/Register/styles.js@ bc20307

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