/* * 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 * * https://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. */ /* RTX Remix Dialog Styles */ /* Overlay */ .rtx-remix-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--overlay); display: flex; align-items: center; justify-content: center; z-index: var(--rtx-z-dialog-overlay); backdrop-filter: blur(var(--blur-md)); animation: rtx-fadeIn var(--rtx-animation-normal) ease-out; } /* Dialog Container */ .rtx-remix-dialog { background: var(--bg-base); border-radius: var(--radius-xl); padding: 0; min-width: 500px; max-width: 900px; max-height: 95vh; display: flex; flex-direction: column; box-shadow: var(--shadow-xl); color: var(--text-secondary); animation: rtx-slideIn var(--rtx-animation-normal) ease-out; } /* Header */ .rtx-remix-dialog-header { background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-base) 100%); padding: var(--space-5) var(--space-6); border-bottom: var(--border-width-medium) solid var(--remix-color); border-radius: var(--radius-xl) var(--radius-xl) 0 0; display: flex; align-items: center; gap: var(--space-3); } .rtx-remix-dialog-icon { width: var(--icon-lg); height: var(--icon-lg); } .rtx-remix-dialog-title { margin: 0; font-size: var(--font-xl); font-weight: var(--font-semibold); color: var(--text-primary); } /* Dialog header content wrapper for title + subtitle layout */ .rtx-remix-dialog-header-content { display: flex; flex-direction: column; min-width: 0; flex: 1; } .rtx-remix-dialog-header-content .rtx-remix-dialog-title { margin-bottom: var(--space-2); } /* Dialog subtitle */ .rtx-remix-dialog-subtitle { display: flex; align-items: center; gap: var(--space-2); font-size: var(--font-base); font-weight: var(--font-normal); color: var(--text-muted); min-width: 0; } .rtx-remix-dialog-subtitle-node, .rtx-remix-dialog-subtitle-slot { max-width: 50%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rtx-remix-dialog-subtitle-separator { flex-shrink: 0; color: var(--text-subtle); } /* Body */ .rtx-remix-dialog-body { padding: var(--space-6); overflow-y: auto; flex: 1; } .rtx-remix-dialog-body code, .rtx-remix-info-content code { background: var(--bg-darker); color: var(--remix-color); padding: 3px var(--space-2); border-radius: var(--radius-sm); font-family: "Consolas", "Monaco", "Courier New", monospace; font-size: 0.95em; font-weight: var(--font-medium); border: var(--border-width-thin) solid var(--border-base); box-shadow: var(--shadow-sm); } .rtx-remix-dialog-body pre, .rtx-remix-info-content pre { background: var(--bg-darker); color: var(--remix-color); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); font-family: "Consolas", "Monaco", "Courier New", monospace; font-size: 0.95em; font-weight: var(--font-medium); overflow-x: auto; border: var(--border-width-thin) solid var(--border-base); border-left: var(--border-width-thick) solid var(--remix-color); box-shadow: var(--shadow-md); } .rtx-remix-section-title { margin: 0 0 var(--space-3) 0; font-size: var(--font-lg); font-weight: var(--font-semibold); color: var(--text-primary); } .rtx-remix-input-container { position: relative; margin-bottom: var(--space-3); } .rtx-remix-input { width: 100%; padding: var(--space-3) var(--space-4); background: var(--bg-darker); border: var(--border-width-medium) solid var(--border-base); border-radius: var(--radius-md); color: var(--text-primary); font-family: inherit; font-size: var(--font-lg); box-sizing: border-box; outline: none; transition: all var(--rtx-animation-normal) ease; } .rtx-remix-input:focus { border-color: var(--remix-color); box-shadow: var(--shadow-focus-lg); } .rtx-remix-input:disabled { opacity: 0.5; cursor: not-allowed; } .rtx-remix-input.error { border-color: var(--status-error); } /* Dropdown built from a button plus a popover menu, because a native