| body { |
| font-family: 'Roboto', sans-serif; |
| margin: 0; |
| padding: 0; |
| display: flex; |
| flex-direction: column; |
| height: 100vh; |
| background-color: #f5f5f5; |
| } |
| |
| header { |
| background-color: #3f51b5; |
| color: white; |
| padding: 0 2rem; |
| box-shadow: 0 2px 4px rgba(0,0,0,0.1); |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| height: 64px; |
| } |
| |
| #tabs { |
| display: flex; |
| height: 100%; |
| } |
| |
| .tab-button { |
| background: none; |
| border: none; |
| color: rgba(255, 255, 255, 0.7); |
| padding: 0 1.5rem; |
| cursor: pointer; |
| font-size: 1rem; |
| font-weight: 500; |
| transition: all 0.2s; |
| height: 100%; |
| border-bottom: 4px solid transparent; |
| } |
| |
| .tab-button:hover { |
| color: white; |
| background-color: rgba(255, 255, 255, 0.1); |
| } |
| |
| .tab-button.active { |
| color: white; |
| border-bottom: 4px solid white; |
| } |
| |
| #container { |
| display: flex; |
| flex: 1; |
| overflow: hidden; |
| } |
| |
| #sidebar { |
| width: 350px; |
| background-color: white; |
| border-right: 1px solid #ddd; |
| display: flex; |
| flex-direction: column; |
| } |
| |
| #main-content { |
| flex: 1; |
| padding: 2rem; |
| overflow-y: auto; |
| } |
| |
| #drop-zone { |
| border: 2px dashed #3f51b5; |
| border-radius: 8px; |
| padding: 2rem; |
| text-align: center; |
| color: #3f51b5; |
| cursor: pointer; |
| margin: 1rem; |
| transition: background-color 0.3s; |
| } |
| |
| #drop-zone.hover { |
| background-color: #e8eaf6; |
| } |
| |
| .search-box { |
| padding: 1rem; |
| border-bottom: 1px solid #eee; |
| } |
| |
| .search-box input { |
| width: 100%; |
| padding: 0.5rem; |
| border: 1px solid #ccc; |
| border-radius: 4px; |
| box-sizing: border-box; |
| } |
| |
| #rule-list { |
| flex: 1; |
| overflow-y: auto; |
| } |
| |
| .rule-item { |
| padding: 1rem; |
| border-bottom: 1px solid #eee; |
| cursor: pointer; |
| transition: background-color 0.2s; |
| } |
| |
| .rule-item:hover { |
| background-color: #f0f0f0; |
| } |
| |
| .rule-item.active { |
| background-color: #e8eaf6; |
| border-left: 4px solid #3f51b5; |
| } |
| |
| .rule-name { |
| font-weight: bold; |
| display: block; |
| margin-bottom: 0.25rem; |
| word-break: break-all; |
| font-family: monospace; |
| } |
| |
| .rule-stats { |
| font-size: 0.8rem; |
| color: #666; |
| } |
| |
| .card { |
| background-color: white; |
| padding: 1.5rem; |
| border-radius: 8px; |
| box-shadow: 0 1px 3px rgba(0,0,0,0.1); |
| margin-bottom: 2rem; |
| } |
| |
| .card h2 { |
| margin-top: 0; |
| color: #333; |
| } |
| |
| .keep-rule-source { |
| background-color: #f8f8f8; |
| padding: 1rem; |
| border-radius: 4px; |
| font-family: monospace; |
| white-space: pre-wrap; |
| border-left: 4px solid #3f51b5; |
| margin-bottom: 1rem; |
| } |
| |
| .section-title { |
| font-size: 1.1rem; |
| font-weight: bold; |
| margin: 1.5rem 0 1rem 0; |
| display: flex; |
| justify-content: space-between; |
| } |
| |
| .item-list { |
| list-style: none; |
| padding: 0; |
| margin: 0; |
| } |
| |
| .item-list li { |
| padding: 0.5rem; |
| border-bottom: 1px solid #eee; |
| font-family: monospace; |
| font-size: 0.9rem; |
| } |
| |
| .item-list li:last-child { |
| border-bottom: none; |
| } |
| |
| .badge { |
| background-color: #eee; |
| padding: 2px 6px; |
| border-radius: 10px; |
| font-size: 0.75rem; |
| margin-left: 5px; |
| } |
| |
| .badge-red { background-color: #ffebee; color: #c62828; } |
| .badge-blue { background-color: #e3f2fd; color: #1565c0; } |
| .badge-green { background-color: #e8f5e9; color: #2e7d32; } |
| |
| .banner { |
| padding: 1rem; |
| border-radius: 4px; |
| margin-bottom: 1.5rem; |
| font-size: 0.9rem; |
| } |
| |
| .banner-warning { |
| background-color: #fff3e0; |
| border-left: 4px solid #ff9800; |
| color: #e65100; |
| } |
| |
| .subsumed-by-item { |
| background-color: rgba(255, 255, 255, 0.5); |
| padding: 0.5rem; |
| margin-top: 0.25rem; |
| border-radius: 2px; |
| font-family: monospace; |
| word-break: break-all; |
| } |
| |
| .show-more-btn { |
| display: block; |
| width: 100%; |
| padding: 0.75rem; |
| margin-top: 1rem; |
| background-color: #f5f5f5; |
| border: 1px solid #ddd; |
| border-radius: 4px; |
| color: #3f51b5; |
| font-weight: 500; |
| cursor: pointer; |
| transition: background-color 0.2s; |
| } |
| |
| .show-more-btn:hover { |
| background-color: #eeeeee; |
| } |
| |
| .tab-button .badge { |
| background-color: rgba(255, 255, 255, 0.2); |
| color: white; |
| margin-left: 8px; |
| vertical-align: middle; |
| } |
| |
| .tab-button.active .badge { |
| background-color: white; |
| color: #3f51b5; |
| } |
| |
| #stats-overview { |
| margin-bottom: 2rem; |
| } |
| |
| .stats-table { |
| width: 100%; |
| border-collapse: collapse; |
| } |
| |
| .stats-table th, .stats-table td { |
| padding: 1.25rem 1.5rem; |
| border-bottom: 1px solid #eee; |
| } |
| |
| .stats-table th { |
| text-align: left; |
| font-size: 0.75rem; |
| font-weight: 500; |
| color: #666; |
| text-transform: uppercase; |
| letter-spacing: 0.05em; |
| background-color: #fafafa; |
| } |
| |
| .stats-table tr:last-child td { |
| border-bottom: none; |
| } |
| |
| .stats-table td { |
| font-size: 1.1rem; |
| color: #3f51b5; |
| font-weight: 500; |
| } |
| |
| .stats-table td:first-child { |
| color: #333; |
| font-weight: 400; |
| } |
| |
| .stat-card { |
| background-color: white; |
| padding: 1rem; |
| border-radius: 8px; |
| box-shadow: 0 1px 3px rgba(0,0,0,0.1); |
| text-align: center; |
| } |
| |
| .stat-value { |
| font-size: 1.5rem; |
| font-weight: bold; |
| color: #3f51b5; |
| } |
| |
| .stat-label { |
| font-size: 0.8rem; |
| color: #666; |
| text-transform: uppercase; |
| } |
| |
| .hidden { |
| display: none !important; |
| } |