Skip to content

Commit 1969362

Browse files
committed
UP
1 parent 8f1add4 commit 1969362

File tree

20 files changed

+7562
-124
lines changed

20 files changed

+7562
-124
lines changed

resources/css/flowforge.css

Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
4+
5+
.flowforge-kanban-board {
6+
@apply flex flex-row h-full w-full overflow-x-auto overflow-y-hidden py-4 px-2 gap-4;
7+
}
8+
9+
.flowforge-kanban-column {
10+
@apply flex flex-col h-full min-w-64 w-64 bg-gray-100 dark:bg-gray-800 rounded-xl shadow-sm p-2;
11+
}
12+
13+
.flowforge-kanban-column-header {
14+
@apply flex items-center justify-between p-2 mb-2 font-medium;
15+
}
16+
17+
.flowforge-kanban-column-count {
18+
@apply flex items-center justify-center h-6 min-w-6 px-1.5 bg-gray-200 dark:bg-gray-700 text-gray-700 dark:text-gray-300 text-xs font-medium rounded-full;
19+
}
20+
21+
.flowforge-kanban-column-content {
22+
@apply flex-1 overflow-y-auto overflow-x-hidden p-1;
23+
scrollbar-width: thin;
24+
}
25+
26+
.flowforge-kanban-column-content::-webkit-scrollbar {
27+
@apply w-1.5;
28+
}
29+
30+
.flowforge-kanban-column-content::-webkit-scrollbar-track {
31+
@apply bg-transparent rounded-full;
32+
}
33+
34+
.flowforge-kanban-column-content::-webkit-scrollbar-thumb {
35+
@apply bg-gray-300 dark:bg-gray-600 rounded-full;
36+
}
37+
38+
.flowforge-kanban-card {
39+
@apply bg-white dark:bg-gray-700 rounded-md shadow-sm mb-2 p-3 cursor-grab select-none transition-all duration-200;
40+
@apply hover:shadow-md hover:translate-y-[-2px];
41+
}
42+
43+
.flowforge-kanban-card-title {
44+
@apply text-sm font-medium text-gray-900 dark:text-white mb-1;
45+
}
46+
47+
.flowforge-kanban-card-description {
48+
@apply text-xs text-gray-500 dark:text-gray-400 line-clamp-2;
49+
}
50+
51+
.flowforge-kanban-card-attributes {
52+
@apply flex flex-wrap gap-2 mt-2;
53+
}
54+
55+
.flowforge-kanban-card-attribute {
56+
@apply inline-flex items-center text-xs px-2 py-0.5 rounded-full;
57+
}
58+
59+
.flowforge-kanban-empty-column {
60+
@apply flex flex-col items-center justify-center text-center p-4 text-sm text-gray-400 dark:text-gray-500;
61+
}
62+
63+
.flowforge-kanban-drop-placeholder {
64+
@apply border-2 border-dashed border-primary-500 rounded-md h-16 mb-2 bg-primary-50 dark:bg-primary-950/30;
65+
}
66+
67+
.flowforge-kanban-header {
68+
@apply flex items-center justify-between p-2 mb-4;
69+
}
70+
71+
.flowforge-kanban-search {
72+
@apply relative;
73+
}
74+
75+
.flowforge-kanban-search-icon {
76+
@apply absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 dark:text-gray-500;
77+
}
78+
79+
.flowforge-kanban-search-input {
80+
@apply pl-8 pr-4 py-1.5 rounded-md border border-gray-300 dark:border-gray-700 bg-white dark:bg-gray-800 text-sm;
81+
@apply focus:outline-none focus:ring-2 focus:ring-primary-500 focus:border-primary-500;
82+
}
83+
84+
85+
/* Animations */
86+
.animate-success {
87+
animation: successPulse 1s ease-in-out;
88+
}
89+
90+
.animate-error {
91+
animation: errorShake 0.6s ease-in-out;
92+
}
93+
94+
@keyframes successPulse {
95+
0% {
96+
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
97+
}
98+
50% {
99+
box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
100+
}
101+
100% {
102+
box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
103+
}
104+
}
105+
106+
@keyframes errorShake {
107+
0% {
108+
transform: translateX(0);
109+
}
110+
25% {
111+
transform: translateX(-5px);
112+
}
113+
50% {
114+
transform: translateX(5px);
115+
}
116+
75% {
117+
transform: translateX(-5px);
118+
}
119+
100% {
120+
transform: translateX(0);
121+
}
122+
}

resources/css/index.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
11
@import '../../vendor/filament/filament/resources/css/theme.css';
2+
3+
@import 'flowforge.css';

0 commit comments

Comments
 (0)