NUDR / frontend /src /components /ResearchProgressItem.module.css
magicboris's picture
Upload 83 files
3647b02 verified
raw
history blame
1.63 kB
/*
* 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.
*/
.item {
display: flex;
padding: 1rem;
gap: 1rem;
border-bottom: 1px solid rgb(229 231 235);
transition: background-color 0.2s ease-in-out;
}
.item:hover {
background-color: rgb(229 231 235);
}
.iconContainer {
display: flex;
align-items: flex-start;
padding-top: 0.25rem;
}
.icon {
height: 1.25rem;
width: 1.25rem;
color: rgb(107 114 128);
}
.content {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.description {
color: rgb(17 24 39);
font-size: 0.875rem;
line-height: 1.25rem;
}
.timestamp {
color: rgb(107 114 128);
font-size: 0.75rem;
}
/* Dark mode styles */
@media (prefers-color-scheme: dark) {
.item {
border-bottom-color: rgb(55 65 81);
}
.item:hover {
background-color: rgb(55 65 81);
}
.icon {
color: rgb(156 163 175);
}
.description {
color: rgb(243 244 246);
}
.timestamp {
color: rgb(156 163 175);
}
}