File size: 1,289 Bytes
f5071ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
import MaterialButton from '@material-ui/core/Button';
import MaterialTextField from '@material-ui/core/TextField';
import styled from 'styled-components';

export const SignForm = styled.div`
  height: calc(100% - 265px);
`;

export const ActualForm = styled.form`
  padding: 20px;
`;

export const Section = styled.div`
  padding-bottom: 35px;
`;

export const Legend = styled.legend`
  font-weight: bold;
  color: white;
`;

export const Label = styled.label`
  color: white !important;
`;

export const Input = styled.input`
  color: white;

  &::placeholder {
    color: var(--primary-bg);
  }
`;

export const TextField = styled(MaterialTextField)`
  width: 100%;
  position: relative;

  > div::before {
    border-color: white !important;
  }

  input {
    color: white !important;

    &::placeholder {
      color: var(--primary-bg) !important;
    }
  }

  label {
    color: white !important;
  }
`;

export const Button = styled(MaterialButton)`
  width: 100px;
  display: block !important;
  margin: auto !important;
  background-color: var(--secondary-bg) !important;

  &[disabled] {
    color: #38a81c;
  }

  &:not([disabled]) {
    color: white;
  }
`;

export const ErrorMessage = styled.div`
  position: fixed;
  color: red;
  font-size: 15px;
  margin-top: 20px;
`;