theWitcher commited on
Commit
56bbb70
·
1 Parent(s): 91a1ccb

update filter buttons

Browse files
Files changed (2) hide show
  1. index.html +19 -6
  2. style.css +7 -0
index.html CHANGED
@@ -290,14 +290,27 @@ https://chatgpt.com/c/67efa5ae-ab80-8005-a7d4-de3ced6ccec4
290
  <div class="flex items-center space-x-2 space-x-reverse">
291
  <span class="text-gray-600 hidden md:block">סנן לפי:</span>
292
  <div class="category-filter flex flex-wrap gap-2">
293
- <button class="filter-btn px-3 py-1 rounded-full border border-gray-300 text-sm hover:bg-gray-100 transition" data-category="all">הכל</button>
294
- <button class="filter-btn px-3 py-1 rounded-full border border-gray-300 text-sm hover:bg-gray-100 transition" data-category="productivity">פרודוקטיביות</button>
295
- <button class="filter-btn px-3 py-1 rounded-full border border-gray-300 text-sm hover:bg-gray-100 transition" data-category="writing">כתיבה</button>
296
- <button class="filter-btn px-3 py-1 rounded-full border border-gray-300 text-sm hover:bg-gray-100 transition" data-category="design">עיצוב</button>
297
- <button class="filter-btn px-3 py-1 rounded-full border border-gray-300 text-sm hover:bg-gray-100 transition" data-category="coding">תכנות</button>
298
- <button class="filter-btn px-3 py-1 rounded-full border border-gray-300 text-sm hover:bg-gray-100 transition" data-category="video">וידאו</button>
 
 
 
 
 
 
 
 
 
 
 
 
299
  </div>
300
  </div>
 
301
  </div>
302
  </div>
303
 
 
290
  <div class="flex items-center space-x-2 space-x-reverse">
291
  <span class="text-gray-600 hidden md:block">סנן לפי:</span>
292
  <div class="category-filter flex flex-wrap gap-2">
293
+ <button class="filter-btn px-3 py-1 rounded-full border text-sm transition
294
+ border-gray-300 text-gray-700 bg-white hover:bg-blue-50"
295
+ data-category="all">הכל</button>
296
+ <button class="filter-btn px-3 py-1 rounded-full border text-sm transition
297
+ border-gray-300 text-gray-700 bg-white hover:bg-blue-50"
298
+ data-category="productivity">פרודוקטיביות</button>
299
+ <button class="filter-btn px-3 py-1 rounded-full border text-sm transition
300
+ border-gray-300 text-gray-700 bg-white hover:bg-blue-50"
301
+ data-category="writing">כתיבה</button>
302
+ <button class="filter-btn px-3 py-1 rounded-full border text-sm transition
303
+ border-gray-300 text-gray-700 bg-white hover:bg-blue-50"
304
+ data-category="design">עיצוב</button>
305
+ <button class="filter-btn px-3 py-1 rounded-full border text-sm transition
306
+ border-gray-300 text-gray-700 bg-white hover:bg-blue-50"
307
+ data-category="coding">תכנות</button>
308
+ <button class="filter-btn px-3 py-1 rounded-full border text-sm transition
309
+ border-gray-300 text-gray-700 bg-white hover:bg-blue-50"
310
+ data-category="video">וידאו</button>
311
  </div>
312
  </div>
313
+
314
  </div>
315
  </div>
316
 
style.css CHANGED
@@ -67,6 +67,13 @@ p {
67
  color: #fff !important;
68
  background-color: #333 !important;
69
  }
 
 
 
 
 
 
 
70
 
71
  .accessibility-mode input,
72
  .accessibility-mode textarea {
 
67
  color: #fff !important;
68
  background-color: #333 !important;
69
  }
70
+ .category-filter .active {
71
+ background-color: #e0f2fe; /* תכלת עדין */
72
+ color: #1e3a8a; /* כחול כהה */
73
+ border-color: #1e3a8a;
74
+ font-weight: 600;
75
+ }
76
+
77
 
78
  .accessibility-mode input,
79
  .accessibility-mode textarea {