Files
hr-portal/designs/01-login.html
T
2026-05-04 15:56:20 +00:00

209 lines
5.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HR Portal — Sign In</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Inter', sans-serif;
background: #0F172A;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
overflow: hidden;
}
body::before {
content: '';
position: absolute;
top: -200px; left: -200px;
width: 600px; height: 600px;
background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, transparent 70%);
pointer-events: none;
}
body::after {
content: '';
position: absolute;
bottom: -200px; right: -200px;
width: 600px; height: 600px;
background: radial-gradient(circle, rgba(79,70,229,0.10) 0%, transparent 70%);
pointer-events: none;
}
.login-card {
background: #FFFFFF;
border-radius: 16px;
padding: 48px 40px;
width: 440px;
box-shadow: 0 25px 60px rgba(0,0,0,0.4);
position: relative;
z-index: 1;
}
.logo-wrapper {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 32px;
}
.logo-icon {
width: 56px; height: 56px;
background: #4F46E5;
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 12px;
}
.logo-icon svg { color: #fff; }
.logo-name {
font-size: 20px;
font-weight: 700;
color: #0F172A;
letter-spacing: -0.3px;
}
.logo-sub {
font-size: 12px;
color: #64748B;
margin-top: 2px;
}
.divider {
border: none;
border-top: 1px solid #E2E8F0;
margin-bottom: 28px;
}
h2 {
font-size: 22px;
font-weight: 700;
color: #0F172A;
margin-bottom: 6px;
}
.subtitle {
font-size: 14px;
color: #64748B;
margin-bottom: 28px;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
font-size: 13px;
font-weight: 600;
color: #374151;
margin-bottom: 6px;
}
input {
width: 100%;
padding: 11px 14px;
border: 1.5px solid #E2E8F0;
border-radius: 8px;
font-size: 14px;
font-family: 'Inter', sans-serif;
color: #0F172A;
background: #F8FAFC;
outline: none;
transition: border-color 0.2s;
}
input:focus {
border-color: #4F46E5;
background: #fff;
box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
input::placeholder { color: #94A3B8; }
.forgot-row {
display: flex;
justify-content: flex-end;
margin-top: -12px;
margin-bottom: 20px;
}
.forgot-link {
font-size: 13px;
color: #4F46E5;
text-decoration: none;
font-weight: 500;
}
.forgot-link:hover { text-decoration: underline; }
.btn-signin {
width: 100%;
padding: 13px;
background: #4F46E5;
color: #fff;
border: none;
border-radius: 8px;
font-size: 15px;
font-weight: 600;
font-family: 'Inter', sans-serif;
cursor: pointer;
transition: background 0.2s;
letter-spacing: 0.2px;
}
.btn-signin:hover { background: #4338CA; }
.help-text {
text-align: center;
font-size: 12px;
color: #94A3B8;
margin-top: 24px;
}
.help-text a { color: #4F46E5; text-decoration: none; }
.badge-bottom {
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
margin-top: 20px;
}
.badge-bottom span {
font-size: 11px;
color: #94A3B8;
}
.lock-icon {
width: 12px; height: 12px;
fill: #94A3B8;
}
</style>
</head>
<body>
<div class="login-card">
<div class="logo-wrapper">
<div class="logo-icon">
<svg width="28" height="28" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"/>
<circle cx="9" cy="7" r="4"/>
<path d="M23 21v-2a4 4 0 0 0-3-3.87"/>
<path d="M16 3.13a4 4 0 0 1 0 7.75"/>
</svg>
</div>
<div class="logo-name">TechCorp HR Portal</div>
<div class="logo-sub">Human Resource Management System</div>
</div>
<hr class="divider" />
<h2>Welcome back</h2>
<p class="subtitle">Sign in to access your HR portal</p>
<div class="form-group">
<label for="empid">Employee ID</label>
<input type="text" id="empid" placeholder="e.g. EMP-00247" />
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" id="password" placeholder="Enter your password" />
</div>
<div class="forgot-row">
<a href="#" class="forgot-link">Forgot password?</a>
</div>
<button class="btn-signin">Sign In</button>
<div class="badge-bottom">
<svg class="lock-icon" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M12 1C8.676 1 6 3.676 6 7v1H4a1 1 0 00-1 1v13a1 1 0 001 1h16a1 1 0 001-1V9a1 1 0 00-1-1h-2V7c0-3.324-2.676-6-6-6zm0 2c2.276 0 4 1.724 4 4v1H8V7c0-2.276 1.724-4 4-4zm0 9a2 2 0 110 4 2 2 0 010-4z"/>
</svg>
<span>Secured with 256-bit SSL encryption</span>
</div>
<p class="help-text">Need help? <a href="#">Contact IT Support</a></p>
</div>
</body>
</html>