diff --git a/web/index.html b/web/index.html index 6119d5d..c9f7da0 100644 --- a/web/index.html +++ b/web/index.html @@ -405,50 +405,50 @@ font-size: 20px; } - .group-header { + .category-tabs { + display: flex; + flex-wrap: wrap; + gap: 10px; + margin-bottom: 20px; + padding-bottom: 15px; + border-bottom: 2px solid #e0e0e0; + } + + .category-tab { + padding: 10px 20px; background: #f8f9fa; - padding: 15px 20px; - margin: 15px 0 10px 0; + border: 2px solid transparent; border-radius: 8px; cursor: pointer; - display: flex; - justify-content: space-between; - align-items: center; - transition: background 0.3s; + font-size: 15px; + font-weight: 500; + color: #666; + transition: all 0.3s; + white-space: nowrap; } - .group-header:hover { + .category-tab:hover { background: #e9ecef; - } - - .group-title { - font-size: 18px; - font-weight: bold; color: #333; } - .group-count { - color: #999; - font-size: 14px; - margin-left: 10px; + .category-tab.active { + background: #667eea; + color: white; + border-color: #667eea; } - .group-toggle { - font-size: 20px; - color: #667eea; - transition: transform 0.3s; + .category-count { + display: inline-block; + margin-left: 8px; + padding: 2px 8px; + background: rgba(255, 255, 255, 0.3); + border-radius: 12px; + font-size: 13px; } - .group-toggle.collapsed { - transform: rotate(-90deg); - } - - .group-content { - display: block; - } - - .group-content.collapsed { - display: none; + .category-tab.active .category-count { + background: rgba(255, 255, 255, 0.25); } .api-docs { @@ -524,6 +524,8 @@ + +