-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
180 lines (156 loc) · 3.18 KB
/
styles.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
/* Common styles for both login and signup pages */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body, html {
height: 100%;
background-color: #e9e9e9;
}
.container {
display: flex;
height: 100vh;
animation: fadeIn 1.5s ease-in-out;
}
/* Keyframes for fade-in animation */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
/* Left Section (Image) */
.left-section {
flex: 1;
background-color: #f0f0f0;
position: relative;
overflow: hidden;
}
.left-section img {
width: 100%;
height: 100%;
object-fit: cover;
transform: scale(1.1);
transition: transform 3s ease-in-out;
}
.left-section img:hover {
transform: scale(1);
}
/* Right Section (Login and Signup Forms) */
.right-section {
flex: 1;
background-color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 20px;
animation: slideInRight 1.5s ease-in-out;
}
/* Keyframes for slide-in animation */
@keyframes slideInRight {
from {
transform: translateX(100%);
}
to {
transform: translateX(0);
}
}
.right-section h1 {
font-size: 2.5em;
color: #333;
animation: fadeInTitle 1.5s ease-in-out;
}
/* Keyframes for title fade-in */
@keyframes fadeInTitle {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.right-section p {
margin: 20px 0;
font-size: 1.2em;
color: #666;
}
/* Input fields styling */
.input-box {
margin: 15px 0;
width: 70%;
}
.input-box label {
display: block;
font-size: 1em;
color: #333;
margin-bottom: 5px;
}
.input-box input {
width: 100%;
padding: 10px;
font-size: 1em;
border: 1px solid #ccc;
border-radius: 5px;
transition: border-color 0.3s ease;
}
.input-box input:focus {
border-color: #4CAF50;
outline: none;
}
/* Submit button */
.role-btn, .submit-btn {
background-color: #4CAF50;
color: white;
padding: 15px 30px;
border: none;
margin: 20px 0;
font-size: 1em;
cursor: pointer;
width: 70%;
transition: background-color 0.3s ease, transform 0.3s ease;
}
.role-btn:hover, .submit-btn:hover {
background-color: #45a049;
transform: scale(1.05);
}
/* New account link for Login */
.new-account, .already-account {
margin-top: 20px;
text-align: center;
opacity: 0;
animation: fadeIn 2s ease-in-out 1.5s forwards;
}
/* Link buttons styling */
.create-account-btn, .login-here-btn {
color: #4CAF50;
text-decoration: none;
font-weight: bold;
transition: color 0.3s ease, transform 0.3s ease;
}
.create-account-btn:hover, .login-here-btn:hover {
text-decoration: underline;
color: #2f8a35;
transform: translateY(-3px);
}
/* Specific Signup form styling */
.signup-form .input-box {
margin: 10px 0;
}
.signup-form .submit-btn {
background-color: #4CAF50;
color: white;
width: 100%;
padding: 15px;
font-size: 1em;
}
.signup-form .submit-btn:hover {
background-color: #45a049;
transform: scale(1.05);
}