-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
117 lines (100 loc) · 1.73 KB
/
index.css
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
* {
box-sizing: border-box;
margin: 0;
font-size: 18px;
font-family: 'ArialMT';
}
/* Row and columns */
.row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
width: 100%;
justify-content: space-between;
padding: 32px 8px;
}
.column {
display: flex;
flex-direction: column;
flex-basis: 100%;
margin: 0 8px;
}
/* Input field */
input {
height: 50px;
width: 100%;
border: 2px solid #000000;
margin: 16px 0;
padding: 16px;
}
input[type=text] {
margin-right: 5px;
}
input[type=submit] {
background-color: #000000;
box-shadow: none;
color: #ffffff;
cursor: pointer;
margin: 0;
}
input[disabled="true"] {
cursor: auto;
opacity: 0.75;
}
/* Registration page specific */
.registration {
height: 100vh;
}
.registration-title {
background-color: #000000;
padding: 16px;
text-align: center;
color: #ffffff;
width: 100%;
height: 60px;
font-size: 24px;
}
.registration-form {
width: 100%;
display: flex;
justify-content: center;
height: calc(100% - 50px);
}
.registration-form form {
border: 2px solid #000000;
align-self: center;
width: 75%;
min-width: 290px;
position: relative;
}
.registration-form__submit {
padding: 0 16px 32px 8px;
}
.registration-form__password .valid:before {
content: "\2714";
color: #009E2D;
}
.registration-form__password .invalid:before {
content: "\2718";
color: #9E0000;
}
/* Media queries for tablet and desktop with mobile first approach */
@media only screen and (min-width : 768px) and (max-width: 991px) {
.registration-form__email {
order: 2;
}
.registration-form__submit {
position: absolute;
right: 0;
bottom: 0;
}
}
@media only screen and (min-width : 768px) {
.column {
flex: 1;
}
.registration-form__submit {
width: 50%;
float: right;
}
}