-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathform.css
More file actions
122 lines (106 loc) · 2 KB
/
Copy pathform.css
File metadata and controls
122 lines (106 loc) · 2 KB
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
118
119
120
121
122
.container {
position: absolute;
width: 100%;
height: 100%;
background-color: blueviolet;
box-shadow: 0 0 1em #e5e5e5;
font-family: sans-serif;
}
main {
position: absolute;
top: 0;
left: 0;
width: 60%;
height: 100%;
transform: translateX(0);
transition: all 1s ease-in-out;
}
aside {
position: absolute;
top: 0;
right: 0;
width: 40%;
height: 100%;
background-color: #097969;
transform: translateX(0);
transition: all 1s ease-in-out;
}
.form {
position: absolute;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.form h2 {
font-size: 2.5rem;
margin-bottom: 1em;
color: #097969;
}
form {
width: 75%;
display: flex;
flex-direction: column;
}
label {
margin-bottom: 0.5em;
font-size: 1.05em;
}
input {
width: 100%;
height: 3em;
margin-bottom: 1em;
border-radius: 5px;
border: 1px solid #e5e5e5;
background-color: #e6e6e6;
}
button.sub {
text-transform: uppercase;
align-self: center;
font-size: 1.05rem;
padding: 1em 3.5em;
border-radius: 2em;
background-color: #097969;
color: #fff;
cursor: pointer;
}
main button {
border: none;
margin: 1.5em 0;
}
aside div {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
}
aside h2 {
font-size: 1.75rem;
color: #fff;
}
aside button {
border: 2px solid #fff;
}
main .signin-form,
aside .sign-up-block {
display: none;
}
main.slideRight {
left: 100%;
transform: translateX(-100%);
}
aside.slideLeft {
right: 100%;
transform: translateX(100%);
}
main.slideRight .signin-form,
aside.slideLeft .sign-up-block {
display: flex;
}
main.slideRight .signup-form,
aside.slideLeft .sign-in-block {
display: none;
}