GitHub - attastudy7-sudo/SESA-V2-R: Mental assessment web app · GitHub
Skip to content
attastudy7-sudoPublic

About

Mental assessment web app

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

SESA Authentication Pages - Frontend Overhaul

Overview

This is a complete frontend redesign of the SESA (Social Emotional Students Audit) authentication system with a modern, cohesive design that maintains your green and yellow color scheme.

What's Changed

🎨 Design Improvements

  • Modern, Clean Interface: Elegant card-based design with subtle animations
  • Consistent Styling: All authentication pages share the same visual language
  • Enhanced UX: Better form feedback, smooth transitions, and improved accessibility
  • Responsive Design: Fully optimized for mobile, tablet, and desktop
  • Animated Backgrounds: Floating gradient circles for visual interest
  • Professional Typography: Better hierarchy and readability

📁 Files Included

  1. style.css - Master stylesheet with all authentication styles
  2. login.html - Student login page
  3. school_login.html - School administrator login page
  4. school_signup.html - School registration page
  5. signup.html - Student registration page

Installation Instructions

Step 1: Backup Current Files

# Backup your current files
cp static/css/style.css static/css/style.css.backup
cp templates/login.html templates/login.html.backup
cp templates/school_login.html templates/school_login.html.backup
cp templates/school_signup.html templates/school_signup.html.backup
cp templates/signup.html templates/signup.html.backup

Step 2: Replace Files

  1. Replace your current static/css/style.css with the new style.css
  2. Replace all HTML templates in your templates/ directory:
    • login.html
    • school_login.html
    • school_signup.html
    • signup.html

Step 3: Verify Dependencies

Make sure your base.html includes Font Awesome for icons:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">

Key Features

🎯 Unified Design System

All pages now use consistent:

  • .auth-wrapper - Main container with gradient background
  • .auth-card - Content card with shadow and border
  • .auth-header - Logo and title section
  • .auth-form - Form container with consistent spacing
  • .auth-flash-messages - Beautiful flash message styling

🌈 Color Scheme Maintained

  • Primary Green: #2e8b57
  • Secondary Green: #3cb371
  • Accent Yellow: #ffd700
  • Light Yellow: #fffacd
  • Warm Yellow: #ffec8b

✨ Animations & Interactions

  • Floating backgrounds: Subtle animated gradient circles
  • Fade-in effects: Cards and flashes appear smoothly
  • Focus states: Enhanced input highlighting
  • Hover effects: Button shine animation
  • Auto-dismiss: Flash messages fade after 3 seconds

📱 Responsive Breakpoints

  • Desktop: Full features with large cards
  • Tablet (≤600px): Optimized spacing
  • Mobile (≤400px): Compact design with reduced decorations

CSS Structure

New Authentication Section

All authentication styles are in a dedicated section:

/* ================================
   AUTHENTICATION PAGES STYLES
   ================================ */

This includes:

  • .auth-wrapper - Page container
  • .auth-card - Content card
  • .auth-header - Header section
  • .auth-form - Form elements
  • .auth-flash-messages - Flash messages
  • .auth-link - Sign up/login links
  • Responsive media queries

What Was Removed

All inline <style> tags from HTML files have been removed and consolidated into the main CSS file for better:

  • Maintainability
  • Performance (browser caching)
  • Consistency
  • Debugging

Browser Support

  • ✅ Chrome/Edge (latest)
  • ✅ Firefox (latest)
  • ✅ Safari (latest)
  • ✅ Mobile browsers (iOS Safari, Chrome Mobile)

Testing Checklist

  • All forms submit correctly
  • Flash messages appear and auto-dismiss
  • Icons display properly (Font Awesome loaded)
  • Pages are responsive on mobile
  • Focus states work on inputs
  • Buttons have hover effects
  • Background animations play smoothly

Customization

Adjusting Colors

Edit CSS variables in :root:

:root {
    --primary-green: #2e8b57;
    --secondary-green: #3cb371;
    --accent-yellow: #ffd700;
    /* etc. */
}

Modifying Animations

Animation durations can be adjusted:

@keyframes float {
    /* Change 20s to your preference */
}

Card Size

Adjust max-width in .auth-card:

.auth-card {
    max-width: 480px; /* Change this value */
}

Troubleshooting

Icons not showing?

Ensure Font Awesome is loaded in your base.html

Styles not applying?

  1. Clear browser cache
  2. Check that CSS file path is correct
  3. Verify no conflicting styles in base.html

Flash messages not disappearing?

Check that JavaScript is enabled and the script in each template is present

Background not showing?

Check that .auth-wrapper is the outermost element in the body block

Notes

  • Fixed typo: "DILLIGENT" → "DILIGENT" in school pages
  • Removed unnecessary ID attributes (#box1)
  • Standardized all button types to <button> instead of <input type="submit">
  • Improved semantic HTML structure
  • Added proper ARIA attributes for accessibility

Support

For issues or questions about implementation, review the inline CSS comments or consult the Flask/Jinja2 documentation.


Version: 2.0
Last Updated: February 2026
Compatibility: Flask + Jinja2

About

Mental assessment web app

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages