156 lines
2.9 KiB
CSS
156 lines
2.9 KiB
CSS
/* custom.css */
|
|
|
|
:root {
|
|
--primary-color: #1A202C;
|
|
--secondary-color: #F7FAFC;
|
|
--accent-color: #4299E1;
|
|
--font-family-headings: 'Poppins', sans-serif;
|
|
--font-family-body: 'Inter', sans-serif;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family-body);
|
|
background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
|
|
color: #333;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-family-headings);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.hero-section .display-4 {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.hero-section .lead {
|
|
color: #555;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--accent-color);
|
|
border-color: var(--accent-color);
|
|
font-weight: 600;
|
|
padding: 0.75rem 1.5rem;
|
|
transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #3182ce; /* A slightly darker shade of accent */
|
|
border-color: #2c73b9;
|
|
}
|
|
|
|
.card {
|
|
border: none;
|
|
border-radius: 0.75rem;
|
|
}
|
|
|
|
.card-header {
|
|
border-bottom: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.form-control {
|
|
border-radius: 0.5rem;
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: var(--accent-color);
|
|
box-shadow: 0 0 0 0.25rem rgba(66, 153, 225, 0.25);
|
|
}
|
|
|
|
.table {
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.table th {
|
|
font-weight: 600;
|
|
color: #4a5568;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
border-bottom-width: 2px;
|
|
}
|
|
|
|
.badge {
|
|
padding: 0.4em 0.7em;
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.status-todo {
|
|
background-color: #e2e8f0;
|
|
color: #4a5568;
|
|
}
|
|
|
|
.status-inprogress {
|
|
background-color: #bee3f8;
|
|
color: #2c5282;
|
|
}
|
|
|
|
.status-blocked {
|
|
background-color: #fed7d7;
|
|
color: #9b2c2c;
|
|
}
|
|
|
|
.status-done {
|
|
background-color: #c6f6d5;
|
|
color: #2f855a;
|
|
}
|
|
|
|
/* Kanban Board Styles */
|
|
.kanban-board-container {
|
|
overflow-x: auto;
|
|
padding: 1.5rem;
|
|
background-color: #e9ecef; /* Light grey background for the container */
|
|
}
|
|
|
|
.kanban-board {
|
|
display: grid;
|
|
grid-auto-flow: column;
|
|
grid-auto-columns: 280px; /* Fixed width for each column */
|
|
gap: 1.5rem;
|
|
padding-bottom: 1rem; /* For scrollbar spacing */
|
|
}
|
|
|
|
.kanban-column {
|
|
flex: 1;
|
|
min-width: 280px;
|
|
max-width: 300px;
|
|
background-color: #f7fafc;
|
|
border-radius: 0.75rem;
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.kanban-column .h5 {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.kanban-cards {
|
|
flex-grow: 1;
|
|
overflow-y: auto;
|
|
max-height: 60vh; /* Adjust as needed */
|
|
}
|
|
|
|
.kanban-card {
|
|
cursor: grab;
|
|
transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
|
|
}
|
|
|
|
.kanban-card:hover {
|
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.kanban-card .card-title {
|
|
font-weight: 600;
|
|
color: #2d3748;
|
|
}
|
|
|
|
.kanban-card .tags {
|
|
margin-top: 0.5rem;
|
|
}
|