fix route handling

This commit is contained in:
Jeff Caldwell
2025-07-29 12:55:06 -04:00
committed by GitHub
parent 13c70e9a23
commit 5d4133225d
2 changed files with 70 additions and 25 deletions
+63 -24
View File
@@ -7,13 +7,31 @@
<link rel="stylesheet" href="styles.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
<style>
/* Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
color: #333;
line-height: 1.6;
display: flex;
align-items: center;
justify-content: center;
}
.login-container {
max-width: 400px;
margin: 100px auto;
padding: 30px;
background: var(--card-bg);
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
width: 90%;
padding: 40px;
background: white;
border-radius: 15px;
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.login-header {
@@ -22,8 +40,15 @@
}
.login-header h1 {
color: var(--primary-color);
color: #3498db;
margin-bottom: 10px;
font-size: 2rem;
text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.login-header p {
color: #7f8c8d;
font-size: 0.95rem;
}
.login-form .form-group {
@@ -32,60 +57,74 @@
.login-form label {
display: block;
margin-bottom: 5px;
font-weight: 500;
color: var(--text-color);
margin-bottom: 8px;
font-weight: 600;
color: #2c3e50;
font-size: 0.9rem;
}
.login-form input {
width: 100%;
padding: 12px;
border: 1px solid var(--border-color);
border-radius: 5px;
padding: 14px 16px;
border: 2px solid #e1e8ed;
border-radius: 8px;
font-size: 16px;
box-sizing: border-box;
transition: all 0.3s ease;
background: #f8f9fa;
}
.login-form input:focus {
outline: none;
border-color: var(--primary-color);
box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
border-color: #3498db;
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
background: white;
}
.login-btn {
width: 100%;
padding: 12px;
background: var(--primary-color);
padding: 14px;
background: #3498db;
color: white;
border: none;
border-radius: 5px;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.3s;
transition: all 0.3s ease;
margin-top: 10px;
}
.login-btn:hover {
background: var(--primary-hover);
background: #2980b9;
transform: translateY(-1px);
box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}
.login-btn:disabled {
background: #95a5a6;
background: #bdc3c7;
cursor: not-allowed;
transform: none;
box-shadow: none;
}
.error-message {
background: #e74c3c;
color: white;
padding: 10px;
border-radius: 5px;
padding: 12px 16px;
border-radius: 8px;
margin-bottom: 20px;
text-align: center;
display: none;
font-size: 0.9rem;
}
.loading {
text-align: center;
color: var(--secondary-color);
color: #7f8c8d;
}
.fas {
margin-right: 8px;
}
</style>
</head>