forked from PriyaGhosal/BuddyTrail
-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.css
159 lines (138 loc) · 3.46 KB
/
login.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
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5; /* Light background for contrast */
color: #333; /* Dark text for readability */
}
/* Header Styles */
.main-head {
background: #131c27; /* Dark background for the header */
color: white;
position: sticky;
top: 0;
z-index: 5;
}
/* Container for centering the form */
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
/* Login box styling */
.login-box {
position: fixed;
top: 24%;
background: #fff; /* Clean white background for contrast */
border-radius: 12px; /* More rounded corners for a modern feel */
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15); /* Stronger shadow for depth */
padding: 2.5rem; /* Increased padding for better spacing */
width: 100%;
max-width: 450px; /* Slightly larger width */
transition: transform 0.3s ease-in-out; /* Smooth transition for hover effects */
}
.login-box h2 {
margin-bottom: 1.5rem; /* Increased space below the heading */
font-size: 1.8rem; /* Larger font size for emphasis */
color: #131c27; /* Consistent with header color */
text-align: center;
}
/* Google Login Button */
.google-login {
margin-bottom: 1rem;
}
.google-btn {
display: flex;
justify-content: space-around;
align-items: center;
background-color: white;
color: rgb(23, 23, 23);
border-radius: 20px;
padding: 5px 5px;
text-decoration: none;
font-weight: 600;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease;
max-width: 250px;
font-size: 15px;
margin: 0 auto;
margin-bottom: 15px;
border: none;
outline: none;
}
.google-btn img {
width: 30px;
height: 30px;
margin-right: 0px;
background-color: white;
}
.google-btn:hover {
transform: scale(1.05);
}
/* Input field styling */
.input-field {
margin-bottom: 1.2rem;
}
.input-field label {
display: block;
margin-bottom: 0.5rem;
font-weight: 600;
}
.input-field input {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 1rem;
}
/* Submit button styling */
.input-field button {
width: 100%;
margin-top: 5px;
padding: 15px; /* Increased padding for a larger button */
border: none;
border-radius: 8px; /* More rounded button */
background-color: #4a8ae4; /* Bright teal background */
color: white;
font-size: 1.7rem; /* Larger font size */
cursor: pointer;
transition: background-color 0.3s, transform 0.3s; /* Added smooth transitions */
}
.input-field button:hover {
background-color: #012e49;
}
/* Styling for the sign-in link below the submit button */
.signUp-link {
text-align: center; /* Center the link */
margin-top: 1rem; /* Add some space above the link */
font-size: 5px;
}
.signUp-link a {
color: #3066dc; /* Match the link color with the theme */
text-decoration: none; /* Remove underline from the link */
font-weight: 300; /* Make the link text bold */
}
.signUp-link a:hover {
text-decoration: underline; /* Add underline on hover for better UX */
}
.req{
color: red;
}
.toggle-password {
cursor: pointer;
position: absolute;
right: 10px;
top: 55%;
}
.input-field {
position: relative;
}
.toggle-password svg {
width: 20px;
height: 20px;
}