source: sources/client/src/components/Login/styles.js@ 97fbc67

Last change on this file since 97fbc67 was 3a58bd6, checked in by Viktor <39170279+Tasevski2@…>, 3 years ago

Added Frontend

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