Update index.html
Browse files- index.html +32 -9
index.html
CHANGED
|
@@ -90,6 +90,29 @@
|
|
| 90 |
color: black;
|
| 91 |
}
|
| 92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
.tag.text { background-color: #9c27b0; color: white; }
|
| 94 |
.tag.audio { background-color: #ff9800; color: white; }
|
| 95 |
.tag.vision { background-color: #03a9f4; color: white; }
|
|
@@ -162,15 +185,7 @@
|
|
| 162 |
color: white;
|
| 163 |
}
|
| 164 |
|
| 165 |
-
|
| 166 |
-
width: 100%;
|
| 167 |
-
display: flex;
|
| 168 |
-
justify-content: center;
|
| 169 |
-
gap: 8px;
|
| 170 |
-
margin-top: 10px;
|
| 171 |
-
flex-wrap: wrap;
|
| 172 |
-
}
|
| 173 |
-
|
| 174 |
.toggle-button[data-filter="best"] { background-color: #FFD700; color: black; }
|
| 175 |
.toggle-button[data-filter="new"] { background-color: #FF4081; color: white; }
|
| 176 |
.toggle-button[data-filter="popular"] { background-color: #ffa500; color: black; }
|
|
@@ -185,6 +200,10 @@
|
|
| 185 |
.toggle-button[data-filter="game"] { background-color: #4CAF50; color: white; }
|
| 186 |
.toggle-button[data-filter="education"] { background-color: #3F51B5; color: white; }
|
| 187 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 188 |
.counter-container {
|
| 189 |
text-align: center;
|
| 190 |
padding: 15px;
|
|
@@ -236,6 +255,9 @@
|
|
| 236 |
<button class="toggle-button" data-filter="predict">Predict</button>
|
| 237 |
<button class="toggle-button" data-filter="game">Game</button>
|
| 238 |
<button class="toggle-button" data-filter="education">Education</button>
|
|
|
|
|
|
|
|
|
|
| 239 |
</div>
|
| 240 |
</div>
|
| 241 |
|
|
@@ -1316,6 +1338,7 @@
|
|
| 1316 |
</div>
|
| 1317 |
|
| 1318 |
|
|
|
|
| 1319 |
<script>
|
| 1320 |
function updateCounts() {
|
| 1321 |
const bestCount = document.querySelectorAll('.tag.best').length;
|
|
|
|
| 90 |
color: black;
|
| 91 |
}
|
| 92 |
|
| 93 |
+
/* Existing tag styles */
|
| 94 |
+
.tag.text { background-color: #9c27b0; color: white; }
|
| 95 |
+
.tag.audio { background-color: #ff9800; color: white; }
|
| 96 |
+
.tag.vision { background-color: #03a9f4; color: white; }
|
| 97 |
+
.tag.multimodal { background-color: #795548; color: white; }
|
| 98 |
+
.tag.video { background-color: #E91E63; color: white; }
|
| 99 |
+
.tag.image { background-color: #00BCD4; color: white; }
|
| 100 |
+
.tag.utility { background-color: #9E9E9E; color: white; }
|
| 101 |
+
.tag.predict { background-color: #673AB7; color: white; }
|
| 102 |
+
.tag.game { background-color: #4CAF50; color: white; }
|
| 103 |
+
.tag.education { background-color: #3F51B5; color: white; }
|
| 104 |
+
.tag.announcement { background-color: #607d8b; color: white; }
|
| 105 |
+
|
| 106 |
+
/* New Productivity Tag Styles */
|
| 107 |
+
.tag.productivity {
|
| 108 |
+
background-color: #009688; /* Teal color */
|
| 109 |
+
color: white;
|
| 110 |
+
}
|
| 111 |
+
.tag.Productivity { /* Ensure case-insensitive matching */
|
| 112 |
+
background-color: #009688; /* Teal color */
|
| 113 |
+
color: white;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
.tag.text { background-color: #9c27b0; color: white; }
|
| 117 |
.tag.audio { background-color: #ff9800; color: white; }
|
| 118 |
.tag.vision { background-color: #03a9f4; color: white; }
|
|
|
|
| 185 |
color: white;
|
| 186 |
}
|
| 187 |
|
| 188 |
+
/* Existing toggle button styles */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 189 |
.toggle-button[data-filter="best"] { background-color: #FFD700; color: black; }
|
| 190 |
.toggle-button[data-filter="new"] { background-color: #FF4081; color: white; }
|
| 191 |
.toggle-button[data-filter="popular"] { background-color: #ffa500; color: black; }
|
|
|
|
| 200 |
.toggle-button[data-filter="game"] { background-color: #4CAF50; color: white; }
|
| 201 |
.toggle-button[data-filter="education"] { background-color: #3F51B5; color: white; }
|
| 202 |
|
| 203 |
+
/* New Productivity Toggle Button Style */
|
| 204 |
+
.toggle-button[data-filter="productivity"] { background-color: #009688; color: white; }
|
| 205 |
+
.toggle-button[data-filter="productivity"].active { background-color: #00796b; border-color: #00796b; }
|
| 206 |
+
|
| 207 |
.counter-container {
|
| 208 |
text-align: center;
|
| 209 |
padding: 15px;
|
|
|
|
| 255 |
<button class="toggle-button" data-filter="predict">Predict</button>
|
| 256 |
<button class="toggle-button" data-filter="game">Game</button>
|
| 257 |
<button class="toggle-button" data-filter="education">Education</button>
|
| 258 |
+
|
| 259 |
+
<!-- New Productivity Toggle Button -->
|
| 260 |
+
<button class="toggle-button" data-filter="productivity">Productivity</button>
|
| 261 |
</div>
|
| 262 |
</div>
|
| 263 |
|
|
|
|
| 1338 |
</div>
|
| 1339 |
|
| 1340 |
|
| 1341 |
+
|
| 1342 |
<script>
|
| 1343 |
function updateCounts() {
|
| 1344 |
const bestCount = document.querySelectorAll('.tag.best').length;
|