/* * SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * SPDX-License-Identifier: Apache-2.0 * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ .wrapper { width: 100%; height: 100%; display: flex; flex-direction: column; } .content { width: 100%; height: 100%; opacity: 0; transform: translateY(20px); animation: fadeInUp 0.5s ease-out forwards; } @keyframes fadeInUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } } .container { width: 100%; max-height: 100%; min-height: 0; /* Allows container to shrink below max-height */ display: flex; flex-direction: column; background-color: rgb(243 244 246); border-radius: 1rem; overflow: hidden; transition: all 0.3s ease-out; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); } .header { height: 3.5rem; border-bottom: 1px solid rgb(229 231 235); background-color: rgb(243 244 246); display: flex; align-items: center; justify-content: space-between; padding: 1rem; } .title { color: rgb(17 24 39); font-size: 1rem; font-weight: 600; } .reportContent { flex: 1; overflow-y: auto; padding: 1rem; scrollbar-width: none; -ms-overflow-style: none; transition: all 0.3s ease-out; } .reportContent::-webkit-scrollbar { display: none; } .reportContent:hover { scrollbar-width: thin; -ms-overflow-style: auto; } .reportContent:hover::-webkit-scrollbar { display: block; width: 8px; } .reportContent:hover::-webkit-scrollbar-track { background: rgb(229 231 235); border-radius: 4px; } .reportContent:hover::-webkit-scrollbar-thumb { background: rgb(156 163 175); border-radius: 4px; } /* Markdown styling */ .reportContent h1 { font-size: 1.5rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 1rem; color: rgb(17 24 39); } .reportContent h2 { font-size: 1.25rem; font-weight: 600; margin-top: 1.25rem; margin-bottom: 0.75rem; color: rgb(17 24 39); } .reportContent h3 { font-size: 1.125rem; font-weight: 600; margin-top: 1rem; margin-bottom: 0.5rem; color: rgb(17 24 39); } .reportContent p { margin-bottom: 1rem; line-height: 1.6; color: rgb(55 65 81); } .reportContent ul, .reportContent ol { margin-bottom: 1rem; padding-left: 1.5rem; color: rgb(55 65 81); } .reportContent li { margin-bottom: 0.5rem; line-height: 1.6; } .reportContent a { color: rgb(79 70 229); text-decoration: none; } .reportContent a:hover { text-decoration: underline; } .reportContent code { background-color: rgb(229 231 235); padding: 0.2rem 0.4rem; border-radius: 0.25rem; font-family: monospace; font-size: 0.875rem; color: rgb(17 24 39); } .reportContent pre { background-color: rgb(17 24 39); padding: 1rem; border-radius: 0.5rem; overflow-x: auto; margin-bottom: 1rem; } .reportContent pre code { background-color: transparent; padding: 0; color: rgb(209 213 219); } .reportContent blockquote { border-left: 4px solid rgb(156 163 175); padding-left: 1rem; color: rgb(107 114 128); margin-bottom: 1rem; } .reportContent hr { border: 0; height: 1px; background-color: rgb(229 231 235); margin: 0.5rem 0; position: relative; } .reportContent hr::before { content: ""; position: absolute; top: -0.125rem; left: 0; right: 0; height: 0.125rem; background: transparent; } .reportContent hr::after { content: ""; position: absolute; bottom: -0.125rem; left: 0; right: 0; height: 0.125rem; background: transparent; } .reportContent table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; } .reportContent th, .reportContent td { border: 1px solid rgb(229 231 235); padding: 0.5rem 0.75rem; text-align: left; } .reportContent th { background-color: rgb(243 244 246); font-weight: 600; } /* Dark mode styles */ @media (prefers-color-scheme: dark) { .container, .header { background-color: rgb(31 41 55); } .header { border-color: rgb(55 65 81); } .title { color: rgb(243 244 246); } .reportContent h1, .reportContent h2, .reportContent h3 { color: rgb(243 244 246); } .reportContent p, .reportContent li { color: rgb(209 213 219); } .reportContent a { color: rgb(129 140 248); } .reportContent code { background-color: rgb(55 65 81); color: rgb(209 213 219); } .reportContent pre { background-color: rgb(17 24 39); } .reportContent pre code { color: rgb(243 244 246); } .reportContent blockquote { border-color: rgb(107 114 128); color: rgb(156 163 175); } .reportContent th, .reportContent td { border-color: rgb(55 65 81); } .reportContent th { background-color: rgb(31 41 55); } .reportContent:hover::-webkit-scrollbar-track { background: rgb(55 65 81); } .reportContent:hover::-webkit-scrollbar-thumb { background: rgb(107 114 128); } .reportContent hr { background-color: rgb(75 85 99); } }