Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
27ef0de5ae |
Binary file not shown.
@ -152,3 +152,6 @@ STATICFILES_DIRS = [
|
||||
|
||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
||||
X_FRAME_OPTIONS = 'ALLOWALL'
|
||||
|
||||
LOGIN_REDIRECT_URL = '/'
|
||||
LOGOUT_REDIRECT_URL = '/'
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -1,11 +1,57 @@
|
||||
<!DOCTYPE html>
|
||||
{% load static %}
|
||||
<html lang="en">
|
||||
<head>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %}Knowledge Base{% endblock %}</title>
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block content %}{% endblock %}
|
||||
</body>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>{% block title %}GenZ Pharma{% endblock %}</title>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link rel="stylesheet" href="{% static 'css/custom.css' %}">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-expand-lg navbar-light bg-white shadow-sm sticky-top">
|
||||
<div class="container">
|
||||
<a class="navbar-brand fw-bold" href="/">GenZ Pharma</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="collapse navbar-collapse" id="navbarNav">
|
||||
<ul class="navbar-nav ms-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#features">Features</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#about">About</a>
|
||||
</li>
|
||||
{% if user.is_authenticated %}
|
||||
<li class="nav-item ms-lg-3">
|
||||
<a class="btn btn-outline-primary" href="{% url 'logout' %}">Logout</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="nav-item ms-lg-3">
|
||||
<a class="btn btn-outline-primary" href="/login/">Login</a>
|
||||
</li>
|
||||
<li class="nav-item ms-lg-2">
|
||||
<a class="btn btn-accent" href="{% url 'signup' %}">Sign Up</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
{% block content %}
|
||||
{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer class="footer">
|
||||
<div class="container text-center">
|
||||
<p class="mb-0">© 2025 GenZ Pharma. All Rights Reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@ -1,154 +1,66 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends 'base.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %}{{ project_name }}{% endblock %}
|
||||
|
||||
{% block head %}
|
||||
{% if project_description %}
|
||||
<meta name="description" content="{{ project_description }}">
|
||||
<meta property="og:description" content="{{ project_description }}">
|
||||
<meta property="twitter:description" content="{{ project_description }}">
|
||||
{% endif %}
|
||||
{% if project_image_url %}
|
||||
<meta property="og:image" content="{{ project_image_url }}">
|
||||
<meta property="twitter:image" content="{{ project_image_url }}">
|
||||
{% endif %}
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--bg-color-start: #6a11cb;
|
||||
--bg-color-end: #2575fc;
|
||||
--text-color: #ffffff;
|
||||
--card-bg-color: rgba(255, 255, 255, 0.01);
|
||||
--card-border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: 'Inter', sans-serif;
|
||||
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
|
||||
color: var(--text-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
text-align: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><path d='M-10 10L110 10M10 -10L10 110' stroke-width='1' stroke='rgba(255,255,255,0.05)'/></svg>");
|
||||
animation: bg-pan 20s linear infinite;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
@keyframes bg-pan {
|
||||
0% {
|
||||
background-position: 0% 0%;
|
||||
}
|
||||
|
||||
100% {
|
||||
background-position: 100% 100%;
|
||||
}
|
||||
}
|
||||
|
||||
main {
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.card {
|
||||
background: var(--card-bg-color);
|
||||
border: 1px solid var(--card-border-color);
|
||||
border-radius: 16px;
|
||||
padding: 2.5rem 2rem;
|
||||
backdrop-filter: blur(20px);
|
||||
-webkit-backdrop-filter: blur(20px);
|
||||
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: clamp(2.2rem, 3vw + 1.2rem, 3.2rem);
|
||||
font-weight: 700;
|
||||
margin: 0 0 1.2rem;
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
p {
|
||||
margin: 0.5rem 0;
|
||||
font-size: 1.1rem;
|
||||
opacity: 0.92;
|
||||
}
|
||||
|
||||
.loader {
|
||||
margin: 1.5rem auto;
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border: 4px solid rgba(255, 255, 255, 0.25);
|
||||
border-top-color: #fff;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.runtime code {
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
padding: 0.15rem 0.45rem;
|
||||
border-radius: 4px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
}
|
||||
|
||||
.sr-only {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
border: 0;
|
||||
}
|
||||
|
||||
footer {
|
||||
position: absolute;
|
||||
bottom: 1rem;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 0.85rem;
|
||||
opacity: 0.75;
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block title %}GenZ Pharma - Welcome{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<main>
|
||||
<div class="card">
|
||||
<h1>Analyzing your requirements and generating your app…</h1>
|
||||
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
|
||||
<span class="sr-only">Loading…</span>
|
||||
<!-- Hero Section -->
|
||||
<header class="hero text-center text-white">
|
||||
<div class="container">
|
||||
<h1 class="display-4">Innovating for a Healthier Tomorrow</h1>
|
||||
<p class="lead my-4">GenZ Pharma is dedicated to pioneering new solutions in pharmaceuticals, from research to delivery.</p>
|
||||
<a href="#" class="btn btn-accent btn-lg">Get Started</a>
|
||||
<a href="#" class="btn btn-outline-light btn-lg ms-2">Learn More</a>
|
||||
</div>
|
||||
<p class="hint">AppWizzy AI is collecting your requirements and applying the first changes.</p>
|
||||
<p class="hint">This page will refresh automatically as the plan is implemented.</p>
|
||||
<p class="runtime">
|
||||
Runtime: Django <code>{{ django_version }}</code> · Python <code>{{ python_version }}</code>
|
||||
— UTC <code>{{ current_time|date:"Y-m-d H:i:s" }}</code>
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<!-- Features Section -->
|
||||
<section id="features" class="section">
|
||||
<div class="container">
|
||||
<div class="text-center mb-5">
|
||||
<h2 class="fw-bold">Our Platform</h2>
|
||||
<p class="lead text-muted">A unified solution for pharmaceutical management.</p>
|
||||
</div>
|
||||
</main>
|
||||
<footer>
|
||||
Page updated: {{ current_time|date:"Y-m-d H:i:s" }} (UTC)
|
||||
</footer>
|
||||
<div class="row text-center">
|
||||
<div class="col-md-4">
|
||||
<div class="feature-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-bar-chart-line-fill" viewBox="0 0 16 16"><path d="M11 2a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12h.5a.5.5 0 0 1 0 1H.5a.5.5 0 0 1 0-1H1v-3a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3h1V7a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7h1V2z"/></svg>
|
||||
</div>
|
||||
<h3>Real-time Monitoring</h3>
|
||||
<p class="text-muted">Track inventory, shipments, and user activity with live data dashboards.</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="feature-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-file-earmark-medical-fill" viewBox="0 0 16 16"><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zm-3 2.035c.668-1.34 2.516-1.34 3.184 0l.08.16c.17.34.41.641.7.864.29.224.63.397.99.497.36.1.73.153 1.1.153.494 0 .99-.07 1.455-.209.464-.138.904-.34 1.29-.605.386-.264.71-.593.964-.98.254-.386.44-.83.552-1.311h.002c.11-.48.166-1.002.166-1.57C15.5 3.339 14.02 2 12.5 2c-1.05 0-1.96.638-2.356 1.535l-.08.16a.499.499 0 0 1-.894-.447l.08-.16C9.736 1.34 11.068.5 12.5.5c1.966 0 3.5 1.534 3.5 3.5 0 .665-.137 1.28-.383 1.83l-.002.003c-.244.48-.565.903-.94 1.245-.375.342-.82.61-1.305.795-.485.185-1.01.29-1.57.29-.49 0-.96-.09-1.39-.259-.43-.17-.83-.41-1.18-.71-.35-.3-.64-.67-.85-1.1l-.08-.16a.499.499 0 0 1 .447-.894l.08.16c.17.34.41.641.7.864.29.224.63.397.99.497.36.1.73.153 1.1.153.494 0 .99-.07 1.455-.209.464-.138.904-.34 1.29-.605.386-.264.71-.593.964-.98.254-.386.44-.83.552-1.311h.002c.11-.48.166-1.002.166-1.57C15.5 3.339 14.02 2 12.5 2c-1.05 0-1.96.638-2.356 1.535l-.08.16a.499.499 0 0 1-.894-.447l.08-.16c.418-1.34 1.75-2.035 3.184-2.035 1.966 0 3.5 1.534 3.5 3.5 0 .665-.137 1.28-.383 1.83l-.002.003c-.244.48-.565.903-.94 1.245-.375.342-.82.61-1.305.795C11.51 10.815 11.01 11 10.5 11c-.49 0-.96-.09-1.39-.259-.43-.17-.83-.41-1.18-.71-.35-.3-.64-.67-.85-1.1l-.08-.16a.499.499 0 0 1 .447-.894l.08.16c.17.34.41.641.7.864.29.224.63.397.99.497.36.1.73.153 1.1.153.494 0 .99-.07 1.455-.209.464-.138.904-.34 1.29-.605.386-.264.71-.593.964-.98.254-.386.44-.83.552-1.311h.002c.11-.48.166-1.002.I66-1.57C15.5 3.339 14.02 2 12.5 2 11.45 2 10.54 2.638 10.144 3.535l-.08.16a.499.499 0 0 1-.894-.447l.08-.16C9.736 1.34 11.068.5 12.5.5c1.966 0 3.5 1.534 3.5 3.5 0 .665-.137 1.28-.383 1.83l-.002.003c-.244.48-.565.903-.94 1.245-.375.342-.82.61-1.305.795C11.51 10.815 11.01 11 10.5 11c-.49 0-.96-.09-1.39-.259-.43-.17-.83-.41-1.18-.71-.35-.3-.64-.67-.85-1.1l-.08-.16a.499.499 0 0 1 .447-.894l.08.16c.17.34.41.641.7.864.29.224.63.397.99.497.36.1.73.153 1.1.153.494 0 .99-.07 1.455-.209.464-.138.904-.34 1.29-.605.386-.264.71-.593.964-.98.254-.386.44-.83.552-1.311h.002c.11-.48.166-1.002.166-1.57C15.5 3.339 14.02 2 12.5 2c-1.05 0-1.96.638-2.356 1.535l-.08.16a.499.499 0 0 1-.894-.447l.08-.16c.418-1.34 1.75-2.035 3.184-2.035z"/></svg>
|
||||
</div>
|
||||
<h3>Regulatory Compliance</h3>
|
||||
<p class="text-muted">Manage documents, track batch expirations, and report adverse events seamlessly.</p>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="feature-icon">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" fill="currentColor" class="bi bi-people-fill" viewBox="0 0 16 16"><path d="M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z"/><path fill-rule="evenodd" d="M5.216 14A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216zM4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z"/></svg>
|
||||
</div>
|
||||
<h3>User Management</h3>
|
||||
<p class="text-muted">Admins can easily view user profiles, manage access, and monitor activity.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- About Section -->
|
||||
<section id="about" class="section section-bg">
|
||||
<div class="container">
|
||||
<div class="row align-items-center">
|
||||
<div class="col-lg-6">
|
||||
<h2 class="fw-bold">About GenZ Pharma</h2>
|
||||
<p class="text-muted">We are a forward-thinking pharmaceutical company committed to leveraging technology to improve healthcare outcomes. Our mission is to ensure safety, efficiency, and transparency in the entire pharmaceutical lifecycle.</p>
|
||||
<p class="text-muted">From pioneering research and development to ensuring regulatory standards are met, GenZ Pharma is your trusted partner in health.</p>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<img src="https://images.unsplash.com/photo-1576091160550-2173dba999ef?q=80&w=2070&auto=format&fit=crop" class="img-fluid rounded shadow" alt="Doctor using a tablet">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{% endblock %}
|
||||
19
core/templates/registration/login.html
Normal file
19
core/templates/registration/login.html
Normal file
@ -0,0 +1,19 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="auth-container">
|
||||
<div class="auth-card">
|
||||
<h2 class="card-title text-center mb-4">Login</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<div class="d-grid mt-4">
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
</div>
|
||||
<div class="text-center mt-3">
|
||||
<small class="text-muted">Don't have an account? <a href="{% url 'signup' %}">Sign Up</a></small>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
19
core/templates/registration/signup.html
Normal file
19
core/templates/registration/signup.html
Normal file
@ -0,0 +1,19 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="auth-container">
|
||||
<div class="auth-card">
|
||||
<h2 class="card-title text-center mb-4">Create Account</h2>
|
||||
<form method="post">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<div class="d-grid mt-4">
|
||||
<button type="submit" class="btn btn-primary">Sign Up</button>
|
||||
</div>
|
||||
<div class="text-center mt-3">
|
||||
<small class="text-muted">Already have an account? <a href="{% url 'login' %}">Login</a></small>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
@ -1,7 +1,11 @@
|
||||
from django.urls import path
|
||||
from django.urls import path, include
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
from .views import home
|
||||
from .views import home, SignUpView
|
||||
|
||||
urlpatterns = [
|
||||
path("", home, name="home"),
|
||||
path("accounts/", include("django.contrib.auth.urls")),
|
||||
path("signup/", SignUpView.as_view(), name="signup"),
|
||||
path('login/', RedirectView.as_view(url='/accounts/login/'), name='login'),
|
||||
]
|
||||
|
||||
@ -4,6 +4,15 @@ import platform
|
||||
from django import get_version as django_version
|
||||
from django.shortcuts import render
|
||||
from django.utils import timezone
|
||||
from django.contrib.auth.forms import UserCreationForm
|
||||
from django.urls import reverse_lazy
|
||||
from django.views import generic
|
||||
|
||||
|
||||
class SignUpView(generic.CreateView):
|
||||
form_class = UserCreationForm
|
||||
success_url = reverse_lazy("login")
|
||||
template_name = "registration/signup.html"
|
||||
|
||||
|
||||
def home(request):
|
||||
|
||||
160
static/css/custom.css
Normal file
160
static/css/custom.css
Normal file
@ -0,0 +1,160 @@
|
||||
/* GenZ Pharma Custom Styles */
|
||||
|
||||
/* Typography */
|
||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500&display=swap');
|
||||
|
||||
:root {
|
||||
--primary-color: #1D4ED8;
|
||||
--secondary-color: #F3F4F6;
|
||||
--accent-color: #34D399;
|
||||
--text-color: #111827;
|
||||
--bs-body-font-family: 'Inter', sans-serif;
|
||||
--bs-body-color: var(--text-color);
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
.btn-primary {
|
||||
background-color: var(--primary-color);
|
||||
border-color: var(--primary-color);
|
||||
padding: 0.75rem 1.5rem;
|
||||
font-weight: 500;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: #1e40af; /* A slightly darker shade of primary */
|
||||
border-color: #1e40af;
|
||||
}
|
||||
|
||||
.btn-accent {
|
||||
background-color: var(--accent-color);
|
||||
border-color: var(--accent-color);
|
||||
color: white;
|
||||
padding: 0.75rem 1.5rem;
|
||||
font-weight: 500;
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
.btn-accent:hover {
|
||||
background-color: #2aa779; /* A slightly darker shade of accent */
|
||||
border-color: #2aa779;
|
||||
}
|
||||
|
||||
/* Navbar */
|
||||
.navbar {
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
|
||||
/* Hero Section */
|
||||
.hero {
|
||||
background: linear-gradient(135deg, var(--primary-color) 0%, #3b82f6 100%);
|
||||
color: white;
|
||||
padding: 6rem 0;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
/* Section Styling */
|
||||
.section {
|
||||
padding: 4rem 0;
|
||||
}
|
||||
|
||||
.section-bg {
|
||||
background-color: var(--secondary-color);
|
||||
}
|
||||
|
||||
.feature-icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 4rem;
|
||||
height: 4rem;
|
||||
border-radius: 50%;
|
||||
background-color: var(--primary-color);
|
||||
color: white;
|
||||
font-size: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
.footer {
|
||||
background-color: var(--text-color);
|
||||
color: var(--secondary-color);
|
||||
padding: 3rem 0;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: var(--secondary-color);
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.footer a:hover {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
/* Authentication Pages */
|
||||
.auth-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: calc(100vh - 140px); /* Adjust based on header/footer height */
|
||||
background-color: #f9fafb;
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
width: 100%;
|
||||
max-width: 450px;
|
||||
padding: 2.5rem;
|
||||
border: 1px solid #e5e7eb;
|
||||
border-radius: 0.75rem;
|
||||
background-color: #ffffff;
|
||||
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.auth-card .card-title {
|
||||
font-weight: 700;
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
.auth-card form p {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.auth-card form label {
|
||||
display: block;
|
||||
margin-bottom: 0.5rem;
|
||||
font-weight: 500;
|
||||
color: #374151;
|
||||
}
|
||||
|
||||
.auth-card form input[type="text"],
|
||||
.auth-card form input[type="password"],
|
||||
.auth-card form input[type="email"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0.75rem 1rem;
|
||||
border: 1px solid #d1d5db;
|
||||
border-radius: 0.375rem;
|
||||
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
||||
}
|
||||
|
||||
.auth-card form input[type="text"]:focus,
|
||||
.auth-card form input[type="password"]:focus,
|
||||
.auth-card form input[type="email"]:focus {
|
||||
outline: none;
|
||||
border-color: var(--primary-color);
|
||||
box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.3);
|
||||
}
|
||||
|
||||
.auth-card .btn-primary {
|
||||
width: 100%;
|
||||
padding: 0.875rem;
|
||||
font-size: 1rem;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user