Skip to content

Commit d508484

Browse files
authored
Merge pull request #130 from Coding-Club-IITG/aditya
Login Fixed
2 parents 6b7187b + 39dd1e3 commit d508484

2 files changed

Lines changed: 39 additions & 28 deletions

File tree

client/src/screens/landing/components/microsoftbutton/styles.scss

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656

5757
// Improve touch response
5858
-webkit-tap-highlight-color: transparent;
59-
59+
6060
// Minimum touch target size for accessibility
6161
min-height: 44px;
6262
@media screen and (max-width: 750px) {
@@ -73,41 +73,48 @@
7373
}
7474
@media screen and (max-width: 480px) {
7575
width: 100%;
76-
max-width: 260px;
77-
height: 42px;
78-
padding: 10px 20px;
76+
max-width: 270px;
77+
height: 44px;
78+
padding: 12px 20px;
7979
margin: 0;
80-
border-radius: 8px;
80+
border-radius: 10px;
8181
font-size: 14px;
82-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
82+
background-color: #1a1a1a;
83+
box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
84+
border: 2px solid transparent;
8385
.logo {
8486
width: 20px;
8587
height: 20px;
8688
}
8789
span {
88-
font-size: 0.85rem;
89-
margin-left: 8px;
90+
font-size: 0.9rem;
91+
margin-left: 10px;
9092
font-weight: 600;
9193
}
94+
&:hover {
95+
background-color: #2a2a2a;
96+
transform: translateY(-1px);
97+
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
98+
}
9299
&:active {
93-
transform: scale(0.96);
94-
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
100+
transform: scale(0.97);
101+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
95102
}
96103
}
97104
@media screen and (max-width: 360px) {
98105
width: 100%;
99-
max-width: 240px;
100-
height: 40px;
101-
padding: 8px 16px;
106+
max-width: 250px;
107+
height: 42px;
108+
padding: 10px 18px;
102109
margin: 0;
103-
border-radius: 6px;
110+
border-radius: 8px;
104111
.logo {
105112
width: 18px;
106113
height: 18px;
107114
}
108115
span {
109-
font-size: 0.8rem;
110-
margin-left: 6px;
116+
font-size: 0.85rem;
117+
margin-left: 8px;
111118
font-weight: 600;
112119
}
113120
}

client/src/screens/landing/styles.scss

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,17 @@
122122
}
123123
@media screen and (max-width: 480px) {
124124
.top {
125-
height: 85%;
125+
height: 82%;
126126
}
127127
.bottom {
128-
height: 15%;
129-
min-height: 120px;
128+
height: 18%;
129+
min-height: 140px;
130130
position: fixed;
131131
bottom: 0;
132+
background: linear-gradient(135deg, #fecf6f 0%, #f5c453 100%);
133+
box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
132134
.content {
133-
padding: 1rem 1rem;
135+
padding: 1.2rem 1rem 1rem 1rem;
134136
flex-direction: column;
135137
gap: 1rem;
136138
justify-content: center;
@@ -139,20 +141,22 @@
139141
.text {
140142
flex: none;
141143
text-align: center;
142-
max-width: 90%;
144+
max-width: 95%;
143145
p {
144-
font-size: 0.85rem;
146+
font-size: 0.8rem;
145147
line-height: 1.3;
146148
margin: 0;
147-
font-weight: 500;
148-
color: #333;
149+
font-weight: 600;
150+
color: #2d2d2d;
151+
text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
149152
}
150153
}
151154
.btn-container {
152155
flex: none;
153156
justify-content: center;
154157
width: 100%;
155158
max-width: 280px;
159+
margin-bottom: 8px;
156160
.line {
157161
display: none;
158162
}
@@ -162,14 +166,14 @@
162166
}
163167
@media screen and (max-width: 360px) {
164168
.bottom {
165-
height: 15%;
166-
min-height: 110px;
169+
height: 20%;
170+
min-height: 130px;
167171
.content {
168-
padding: 0.8rem 0.8rem;
172+
padding: 1rem 0.8rem 0.8rem 0.8rem;
169173
gap: 0.8rem;
170174
.text {
171175
p {
172-
font-size: 0.8rem;
176+
font-size: 0.75rem;
173177
line-height: 1.2;
174178
}
175179
}

0 commit comments

Comments
 (0)