design v1
This commit is contained in:
parent
fdc5b48be6
commit
e66f46b117
BIN
assets/pasted-20251217-183332-881a1466.jpg
Normal file
BIN
assets/pasted-20251217-183332-881a1466.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>{% block title %}Knowledge Base{% endblock %}</title>
|
<title>{% block title %}webFirma{% endblock %}</title>
|
||||||
{% if project_description %}
|
{% if project_description %}
|
||||||
<meta name="description" content="{{ project_description }}">
|
<meta name="description" content="{{ project_description }}">
|
||||||
<meta property="og:description" content="{{ project_description }}">
|
<meta property="og:description" content="{{ project_description }}">
|
||||||
@ -15,14 +15,36 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Poppins:wght@600;700&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||||
<link rel="stylesheet" href="{% static 'css/custom.css' %}?v={{ deployment_timestamp }}">
|
<link rel="stylesheet" href="{% static 'css/custom.css' %}?v={{ deployment_timestamp }}">
|
||||||
|
<script src="https://unpkg.com/feather-icons"></script>
|
||||||
{% block head %}{% endblock %}
|
{% block head %}{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
{% block content %}{% endblock %}
|
<div class="app-layout">
|
||||||
|
<div class="sidebar">
|
||||||
|
<div class="sidebar-header">
|
||||||
|
<h2>webFirma</h2>
|
||||||
|
</div>
|
||||||
|
<nav class="sidebar-nav">
|
||||||
|
<ul>
|
||||||
|
<li class="active"><a href="#"><i data-feather="home"></i> Dashboard</a></li>
|
||||||
|
<li><a href="#"><i data-feather="briefcase"></i> Projects</a></li>
|
||||||
|
<li><a href="#"><i data-feather="file-text"></i> Invoices</a></li>
|
||||||
|
<li><a href="#"><i data-feather="users"></i> Clients</a></li>
|
||||||
|
<li><a href="#"><i data-feather="settings"></i> Settings</a></li>
|
||||||
|
</ul>
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
<div class="main-content">
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
feather.replace()
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@ -1,58 +1,55 @@
|
|||||||
{% extends 'base.html' %}
|
{% extends 'base.html' %}
|
||||||
{% load static %}
|
{% load static %}
|
||||||
|
|
||||||
{% block title %}Pulpit - webFirma{% endblock %}
|
{% block title %}Dashboard - webFirma{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<header class="hero-section text-white text-center">
|
<div class="main-header">
|
||||||
<div class="container">
|
<h1>Dashboard</h1>
|
||||||
<h1 class="display-4">Witaj w webFirma</h1>
|
<div class="header-actions">
|
||||||
<p class="lead">Kompleksowe zarządzanie firmą w jednym miejscu.</p>
|
<div class="search-bar">
|
||||||
|
<i data-feather="search"></i>
|
||||||
|
<input type="text" placeholder="Search projects...">
|
||||||
</div>
|
</div>
|
||||||
</header>
|
<a href="{% url 'add_project' %}" class="btn btn-primary"><i data-feather="plus"></i> Dodaj projekt</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="container mt-5">
|
<div class="content-grid">
|
||||||
<section id="projects">
|
{% if projects %}
|
||||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
{% for project in projects %}
|
||||||
<h2 class="section-title">Projekty</h2>
|
<div class="project-card">
|
||||||
<a href="{% url 'add_project' %}" class="btn btn-primary">Dodaj projekt</a>
|
<div class="card-header">
|
||||||
</div>
|
<h3>{{ project.name }}</h3>
|
||||||
|
<span class="badge status-{{ project.status|lower }}">{{ project.get_status_display }}</span>
|
||||||
<div class="card shadow-sm">
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
{% if projects %}
|
<p><strong>Klient:</strong> {{ project.client }}</p>
|
||||||
<div class="table-responsive">
|
<p><strong>Okres:</strong> {{ project.start_date|date:"d M Y" }} - {{ project.end_date|date:"d M Y" }}</p>
|
||||||
<table class="table table-hover align-middle">
|
</div>
|
||||||
<thead class="table-light">
|
<div class="card-footer">
|
||||||
<tr>
|
<div class="participants">
|
||||||
<th scope="col">Nazwa projektu</th>
|
<span>Uczestnicy</span>
|
||||||
<th scope="col">Kontrahent</th>
|
<div class="avatars">
|
||||||
<th scope="col">Data rozpoczęcia</th>
|
<!-- Placeholder avatars -->
|
||||||
<th scope="col">Data zakończenia</th>
|
<img src="https://i.pravatar.cc/32?u=a" alt="Avatar">
|
||||||
<th scope="col">Status</th>
|
<img src="https://i.pravatar.cc/32?u=b" alt="Avatar">
|
||||||
</tr>
|
<img src="https://i.pravatar.cc/32?u=c" alt="Avatar">
|
||||||
</thead>
|
</div>
|
||||||
<tbody>
|
|
||||||
{% for project in projects %}
|
|
||||||
<tr>
|
|
||||||
<td>{{ project.name }}</td>
|
|
||||||
<td>{{ project.client }}</td>
|
|
||||||
<td>{{ project.start_date|date:"Y-m-d" }}</td>
|
|
||||||
<td>{{ project.end_date|date:"Y-m-d" }}</td>
|
|
||||||
<td><span class="badge bg-primary-soft">{{ project.get_status_display }}</span></td>
|
|
||||||
</tr>
|
|
||||||
{% endfor %}
|
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
<a href="#" class="btn-view">Zobacz projekt</a>
|
||||||
<div class="text-center p-4">
|
</div>
|
||||||
<p class="mb-3">Brak projektów do wyświetlenia.</p>
|
|
||||||
<p>Utwórz swój pierwszy projekt, aby zacząć zarządzać pracą.</p>
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
|
<div class="empty-state">
|
||||||
|
<div class="empty-state-icon">
|
||||||
|
<i data-feather="briefcase"></i>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
<h2>Brak projektów</h2>
|
||||||
|
<p>Nie masz jeszcze żadnych projektów. Dodaj swój pierwszy projekt, aby rozpocząć.</p>
|
||||||
|
<a href="{% url 'add_project' %}" class="btn btn-primary">Dodaj projekt</a>
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@ -1,66 +1,254 @@
|
|||||||
:root {
|
:root {
|
||||||
--bs-primary: #1A237E;
|
--primary-color: #2962FF;
|
||||||
--bs-secondary: #6c757d;
|
--primary-dark: #1A237E;
|
||||||
--bs-success: #198754;
|
--light-grey: #F7F8FC;
|
||||||
--bs-info: #0dcaf0;
|
--medium-grey: #E8E9EC;
|
||||||
--bs-warning: #ffc107;
|
--dark-grey: #6C757D;
|
||||||
--bs-danger: #dc3545;
|
--text-color: #212121;
|
||||||
--bs-light: #F5F5F5;
|
--white-color: #FFFFFF;
|
||||||
--bs-dark: #212121;
|
--card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
||||||
--bs-primary-rgb: 26, 35, 126;
|
--border-radius: 8px;
|
||||||
--bs-font-sans-serif: 'Lato', sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
|
||||||
font-family: 'Poppins', sans-serif;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--bs-light);
|
font-family: 'Inter', sans-serif;
|
||||||
color: var(--bs-dark);
|
background-color: var(--light-grey);
|
||||||
|
color: var(--text-color);
|
||||||
|
margin: 0;
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-section {
|
.app-layout {
|
||||||
background: linear-gradient(to right, #1A237E, #2962FF);
|
display: flex;
|
||||||
padding: 4rem 0;
|
|
||||||
margin-bottom: -1px; /* Overlap to avoid gap */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
/* Sidebar */
|
||||||
color: var(--bs-primary);
|
.sidebar {
|
||||||
|
width: 240px;
|
||||||
|
background-color: var(--white-color);
|
||||||
|
height: 100vh;
|
||||||
|
padding: 24px;
|
||||||
|
border-right: 1px solid var(--medium-grey);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-header h2 {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: var(--primary-dark);
|
||||||
|
margin: 0 0 40px 0;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav ul {
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav li a {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 12px 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--dark-grey);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
font-weight: 500;
|
||||||
|
transition: background-color 0.2s ease, color 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav li.active a, .sidebar-nav li a:hover {
|
||||||
|
background-color: var(--primary-color);
|
||||||
|
color: var(--white-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav li a svg {
|
||||||
|
margin-right: 12px;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Main Content */
|
||||||
|
.main-content {
|
||||||
|
flex-grow: 1;
|
||||||
|
padding: 32px 48px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-header h1 {
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--primary-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
background-color: var(--white-color);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
padding: 8px 12px;
|
||||||
|
border: 1px solid var(--medium-grey);
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar svg {
|
||||||
|
color: var(--dark-grey);
|
||||||
|
width: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar input {
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
margin-left: 8px;
|
||||||
|
font-size: 14px;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
background-color: #2962FF;
|
background-color: var(--primary-color);
|
||||||
border-color: #2962FF;
|
color: var(--white-color);
|
||||||
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
padding: 10px 16px;
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 600;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary:hover {
|
.btn-primary:hover {
|
||||||
background-color: #1A237E;
|
background-color: var(--primary-dark);
|
||||||
border-color: #1A237E;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
/* Project Cards */
|
||||||
border: none;
|
.content-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||||
|
gap: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-header.bg-primary {
|
.project-card {
|
||||||
background-color: var(--bs-primary) !important;
|
background-color: var(--white-color);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
box-shadow: var(--card-shadow);
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table {
|
.project-card:hover {
|
||||||
margin-bottom: 0;
|
transform: translateY(-4px);
|
||||||
|
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.table th {
|
.card-header {
|
||||||
|
padding: 16px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
border-bottom: 1px solid var(--medium-grey);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-header h3 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 16px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--bs-dark);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge.bg-primary-soft {
|
.card-body {
|
||||||
color: var(--bs-primary);
|
padding: 16px;
|
||||||
background-color: rgba(var(--bs-primary-rgb), 0.1);
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-body p {
|
||||||
|
margin: 0 0 8px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-footer {
|
||||||
|
padding: 16px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
background-color: var(--light-grey);
|
||||||
|
}
|
||||||
|
|
||||||
|
.participants .avatars {
|
||||||
|
display: flex;
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.participants .avatars img {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 2px solid var(--white-color);
|
||||||
|
margin-left: -8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-view {
|
||||||
|
color: var(--primary-color);
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Badges */
|
||||||
|
.badge {
|
||||||
|
padding: 4px 8px;
|
||||||
|
border-radius: 12px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.badge.status-planowane {
|
||||||
|
background-color: #E3F2FD; color: #1565C0;
|
||||||
|
}
|
||||||
|
.badge.status-w toku {
|
||||||
|
background-color: #FFF3E0; color: #EF6C00;
|
||||||
|
}
|
||||||
|
.badge.status-ukończone {
|
||||||
|
background-color: #E8F5E9; color: #2E7D32;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Empty State */
|
||||||
|
.empty-state {
|
||||||
|
grid-column: 1 / -1;
|
||||||
|
text-align: center;
|
||||||
|
padding: 48px;
|
||||||
|
background-color: var(--white-color);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-state-icon {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
color: var(--primary-color);
|
||||||
|
}
|
||||||
|
.empty-state-icon svg {
|
||||||
|
width: 48px;
|
||||||
|
height: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-state h2 {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-state p {
|
||||||
|
color: var(--dark-grey);
|
||||||
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
@ -1,66 +1,254 @@
|
|||||||
:root {
|
:root {
|
||||||
--bs-primary: #1A237E;
|
--primary-color: #2962FF;
|
||||||
--bs-secondary: #6c757d;
|
--primary-dark: #1A237E;
|
||||||
--bs-success: #198754;
|
--light-grey: #F7F8FC;
|
||||||
--bs-info: #0dcaf0;
|
--medium-grey: #E8E9EC;
|
||||||
--bs-warning: #ffc107;
|
--dark-grey: #6C757D;
|
||||||
--bs-danger: #dc3545;
|
--text-color: #212121;
|
||||||
--bs-light: #F5F5F5;
|
--white-color: #FFFFFF;
|
||||||
--bs-dark: #212121;
|
--card-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
|
||||||
--bs-primary-rgb: 26, 35, 126;
|
--border-radius: 8px;
|
||||||
--bs-font-sans-serif: 'Lato', sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
|
|
||||||
font-family: 'Poppins', sans-serif;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: var(--bs-light);
|
font-family: 'Inter', sans-serif;
|
||||||
color: var(--bs-dark);
|
background-color: var(--light-grey);
|
||||||
|
color: var(--text-color);
|
||||||
|
margin: 0;
|
||||||
|
font-size: 14px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-section {
|
.app-layout {
|
||||||
background: linear-gradient(to right, #1A237E, #2962FF);
|
display: flex;
|
||||||
padding: 4rem 0;
|
|
||||||
margin-bottom: -1px; /* Overlap to avoid gap */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
/* Sidebar */
|
||||||
color: var(--bs-primary);
|
.sidebar {
|
||||||
|
width: 240px;
|
||||||
|
background-color: var(--white-color);
|
||||||
|
height: 100vh;
|
||||||
|
padding: 24px;
|
||||||
|
border-right: 1px solid var(--medium-grey);
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-header h2 {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
color: var(--primary-dark);
|
||||||
|
margin: 0 0 40px 0;
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav ul {
|
||||||
|
list-style: none;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav li a {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
padding: 12px 16px;
|
||||||
|
text-decoration: none;
|
||||||
|
color: var(--dark-grey);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
font-weight: 500;
|
||||||
|
transition: background-color 0.2s ease, color 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav li.active a, .sidebar-nav li a:hover {
|
||||||
|
background-color: var(--primary-color);
|
||||||
|
color: var(--white-color);
|
||||||
|
}
|
||||||
|
|
||||||
|
.sidebar-nav li a svg {
|
||||||
|
margin-right: 12px;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Main Content */
|
||||||
|
.main-content {
|
||||||
|
flex-grow: 1;
|
||||||
|
padding: 32px 48px;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin-bottom: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main-header h1 {
|
||||||
|
font-size: 28px;
|
||||||
|
font-weight: 700;
|
||||||
|
color: var(--primary-dark);
|
||||||
|
}
|
||||||
|
|
||||||
|
.header-actions {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
background-color: var(--white-color);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
padding: 8px 12px;
|
||||||
|
border: 1px solid var(--medium-grey);
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar svg {
|
||||||
|
color: var(--dark-grey);
|
||||||
|
width: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-bar input {
|
||||||
|
border: none;
|
||||||
|
outline: none;
|
||||||
|
margin-left: 8px;
|
||||||
|
font-size: 14px;
|
||||||
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary {
|
.btn-primary {
|
||||||
background-color: #2962FF;
|
background-color: var(--primary-color);
|
||||||
border-color: #2962FF;
|
color: var(--white-color);
|
||||||
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
padding: 10px 16px;
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 600;
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 8px;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: background-color 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary:hover {
|
.btn-primary:hover {
|
||||||
background-color: #1A237E;
|
background-color: var(--primary-dark);
|
||||||
border-color: #1A237E;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
/* Project Cards */
|
||||||
border: none;
|
.content-grid {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
||||||
|
gap: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-header.bg-primary {
|
.project-card {
|
||||||
background-color: var(--bs-primary) !important;
|
background-color: var(--white-color);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
box-shadow: var(--card-shadow);
|
||||||
|
overflow: hidden;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table {
|
.project-card:hover {
|
||||||
margin-bottom: 0;
|
transform: translateY(-4px);
|
||||||
|
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.table th {
|
.card-header {
|
||||||
|
padding: 16px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
border-bottom: 1px solid var(--medium-grey);
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-header h3 {
|
||||||
|
margin: 0;
|
||||||
|
font-size: 16px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: var(--bs-dark);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge.bg-primary-soft {
|
.card-body {
|
||||||
color: var(--bs-primary);
|
padding: 16px;
|
||||||
background-color: rgba(var(--bs-primary-rgb), 0.1);
|
flex-grow: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-body p {
|
||||||
|
margin: 0 0 8px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.card-footer {
|
||||||
|
padding: 16px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
background-color: var(--light-grey);
|
||||||
|
}
|
||||||
|
|
||||||
|
.participants .avatars {
|
||||||
|
display: flex;
|
||||||
|
margin-top: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.participants .avatars img {
|
||||||
|
width: 32px;
|
||||||
|
height: 32px;
|
||||||
|
border-radius: 50%;
|
||||||
|
border: 2px solid var(--white-color);
|
||||||
|
margin-left: -8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-view {
|
||||||
|
color: var(--primary-color);
|
||||||
|
text-decoration: none;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Badges */
|
||||||
|
.badge {
|
||||||
|
padding: 4px 8px;
|
||||||
|
border-radius: 12px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
.badge.status-planowane {
|
||||||
|
background-color: #E3F2FD; color: #1565C0;
|
||||||
|
}
|
||||||
|
.badge.status-w toku {
|
||||||
|
background-color: #FFF3E0; color: #EF6C00;
|
||||||
|
}
|
||||||
|
.badge.status-ukończone {
|
||||||
|
background-color: #E8F5E9; color: #2E7D32;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Empty State */
|
||||||
|
.empty-state {
|
||||||
|
grid-column: 1 / -1;
|
||||||
|
text-align: center;
|
||||||
|
padding: 48px;
|
||||||
|
background-color: var(--white-color);
|
||||||
|
border-radius: var(--border-radius);
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-state-icon {
|
||||||
|
margin-bottom: 16px;
|
||||||
|
color: var(--primary-color);
|
||||||
|
}
|
||||||
|
.empty-state-icon svg {
|
||||||
|
width: 48px;
|
||||||
|
height: 48px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-state h2 {
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-state p {
|
||||||
|
color: var(--dark-grey);
|
||||||
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
BIN
staticfiles/pasted-20251217-183332-881a1466.jpg
Normal file
BIN
staticfiles/pasted-20251217-183332-881a1466.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
staticfiles/vm-shot-2025-12-17T18-33-07-698Z.jpg
Normal file
BIN
staticfiles/vm-shot-2025-12-17T18-33-07-698Z.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
Loading…
x
Reference in New Issue
Block a user