JSFiddle - React, Tailwind, and code Playground
by Sergey khorev
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Advanced CRM Dashboard with Kanban</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.kanban-column {
min-height: 70vh;
}
.kanban-item {
transition: all 0.3s ease;
}
.kanban-item:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.dragging {
opacity: 0.5;
background: #f0f0f0;
}
.kanban-dropzone {
min-height: 20px;
transition: background 0.3s;
}
.kanban-dropzone.active {
background: rgba(0, 0, 0, 0.05);
}
.modal {
transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay {
background-color: rgba(0, 0, 0, 0.5);
}
.priority-high {
border-left: 4px solid #ef4444;
}
.priority-medium {
border-left: 4px solid #f59e0b;
}
.priority-low {
border-left: 4px solid #10b981;
}
.sidebar-collapsed {
width: 80px;
}
.sidebar-collapsed .sidebar-text {
display: none;
}
.sidebar-collapsed .logo-text {
display: none;
}
.sidebar-collapsed .user-info {
display: none;
}
.sidebar-collapsed .user-avatar {
margin: 0 auto;
}
.sidebar-expanded {
width: 256px;
}
.sidebar-transition {
transition: width 0.3s ease;
}
</style>
</head>
<body class="bg-gray-100 font-sans">
<!-- Modal Backdrop -->
<div id="modalBackdrop"...