Spaces:
Paused
Paused
| .gwp { | |
| display: flex; | |
| justify-content: center; | |
| gap: 8px; | |
| } | |
| .gwp p { | |
| display: flex; | |
| align-items: flex-end; | |
| } | |
| .more-info-btn { | |
| align-self: center; | |
| padding: 6px 12px; | |
| border-radius: 8px; | |
| border: 1px solid #2c3554; | |
| background: #4c70ffbe; | |
| color: #f5f5f5; | |
| font-size: 0.85rem; | |
| cursor: pointer; | |
| } | |
| .emissions-modal { | |
| display: flex; | |
| flex-direction: column; | |
| position: relative; | |
| } | |
| .emissions-table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| } | |
| .emissions-table th { | |
| padding: 0.75rem; | |
| text-align: left; | |
| font-weight: 600; | |
| } | |
| .emissions-table th:nth-child(2), | |
| .emissions-table th:nth-child(3), | |
| .emissions-table th:nth-child(4), | |
| .emissions-table th:nth-child(5) { | |
| text-align: right; | |
| } | |
| .emissions-table tbody tr { | |
| /* border-bottom: 1px solid black; */ | |
| transition: background-color 0.2s; | |
| } | |
| .emissions-table tbody tr:hover { | |
| background-color: var(--bg-hover); | |
| } | |
| .emissions-table td { | |
| padding: 0.75rem; | |
| color: var(--text-secondary); | |
| } | |
| .emissions-table td:first-child { | |
| font-weight: 500; | |
| color: var(--text-primary); | |
| } | |
| .emissions-table td:nth-child(2), | |
| .emissions-table td:nth-child(3), | |
| .emissions-table td:nth-child(4), | |
| .emissions-table td:nth-child(5) { | |
| text-align: right; | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .emissions-table tfoot { | |
| border-top: 2px solid var(--border-color); | |
| font-weight: 600; | |
| } | |
| .emissions-table tfoot td { | |
| padding: 1rem 0.75rem; | |
| color: var(--text-primary); | |
| font-size: 1.05rem; | |
| } | |
| .total-row { | |
| background-color: var(--bg-secondary); | |
| } | |
| /* Emissions equivalent */ | |
| .emissions-equivalents { | |
| background-color: var(--bg-secondary); | |
| border-radius: 8px; | |
| /* padding: 1.5rem; */ | |
| margin: 2.5rem 0 1.5rem 0; | |
| } | |
| .emissions-equivalents h3 { | |
| margin: 0 0 1.25rem 0; | |
| font-size: 1.1rem; | |
| color: var(--text-primary); | |
| } | |
| .equivalent-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| padding: 0.75rem 0; | |
| border-bottom: 1px solid var(--border-color); | |
| } | |
| .equivalent-item:last-child { | |
| border-bottom: none; | |
| } | |
| .equivalent-icon { | |
| font-size: 2rem; | |
| line-height: 1; | |
| flex-shrink: 0; | |
| } | |
| .equivalent-text { | |
| flex: 1; | |
| display: flex; | |
| flex-wrap: wrap; | |
| align-items: baseline; | |
| gap: 0.5rem; | |
| } | |
| .equivalent-text strong { | |
| font-size: 1.25rem; | |
| color: var(--accent-color); | |
| font-variant-numeric: tabular-nums; | |
| } | |
| .equivalent-text span { | |
| color: var(--text-secondary); | |
| } | |
| .equivalent-detail { | |
| color: var(--text-muted); | |
| font-size: 0.9rem; | |
| font-style: italic; | |
| } | |
| @media (max-width: 768px) { | |
| .emissions-modal { | |
| height: 90%; | |
| } | |
| .emissions-table thead { | |
| display: none; /* Hide headers */ | |
| } | |
| .emissions-table, | |
| .emissions-table tbody, | |
| .emissions-table tfoot, | |
| .emissions-table tr, | |
| .emissions-table td { | |
| display: block; | |
| } | |
| .emissions-table tr { | |
| margin-bottom: 1rem; | |
| padding: 1rem; | |
| background: #0d1324; | |
| border: 1px solid #2c3554; | |
| border-radius: 8px; | |
| } | |
| .emissions-table td { | |
| text-align: left ; | |
| padding: 0.5rem 0; | |
| border: none; | |
| } | |
| /* Add labels before each value */ | |
| .emissions-table td:nth-child(1)::before { content: "Model: "; font-weight: bold; } | |
| .emissions-table td:nth-child(2)::before { content: "CO₂: "; font-weight: bold; } | |
| .emissions-table td:nth-child(3)::before { content: "Tokens: "; font-weight: bold; } | |
| .emissions-table td:nth-child(4)::before { content: "Replies: "; font-weight: bold; } | |
| .emissions-table td:nth-child(5)::before { content: "CO₂/Token: "; font-weight: bold; } | |
| } |