Spaces:
Paused
Paused
| .source-popup { | |
| position: absolute; /* Crucial for positioning */ | |
| /* transform is set inline based on calculation */ | |
| transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out; | |
| opacity: 1; /* Start visible, manage via state */ | |
| pointer-events: auto; /* Allow interaction */ | |
| width: 300px; /* Or max-width */ | |
| max-width: 90vw; | |
| } | |
| .source-popup-card { | |
| background-color: #333 ; /* Dark background */ | |
| color: #eee ; /* Light text */ | |
| border: 1px solid #555 ; | |
| border-radius: 8px ; | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) ; | |
| padding: 0.5rem ; /* Reduced padding */ | |
| } | |
| .source-popup-card .MuiCardContent-root { | |
| padding: 8px ; /* Further reduce padding inside content */ | |
| padding-bottom: 8px ; /* Ensure bottom padding is also reduced */ | |
| } | |
| .source-popup-title { | |
| font-size: 0.9rem ; /* Slightly smaller title */ | |
| font-weight: 600 ; | |
| margin-bottom: 0.3rem ; | |
| line-height: 1.3 ; | |
| color: #eee ; /* Ensure title color */ | |
| } | |
| .source-popup-title a { | |
| color: inherit ; /* Inherit color for link */ | |
| text-decoration: none ; | |
| } | |
| .source-popup-title a:hover { | |
| text-decoration: underline ; | |
| } | |
| .source-popup-link-info { | |
| display: flex ; | |
| align-items: center ; | |
| font-size: 0.75rem ; /* Smaller domain text */ | |
| color: #bbb ; | |
| margin-bottom: 0.4rem ; /* Space below link info */ | |
| } | |
| .source-popup-icon { | |
| width: 14px ; /* Smaller icon */ | |
| height: 14px ; | |
| margin-right: 0.3rem ; | |
| vertical-align: middle; /* Align icon better */ | |
| filter: brightness(1.1); /* Slightly brighter icon */ | |
| } | |
| .source-popup-domain { | |
| vertical-align: middle ; | |
| white-space: nowrap; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| } | |
| .source-popup-description { | |
| font-size: 0.8rem ; /* Smaller description text */ | |
| color: #ccc ; | |
| line-height: 1.4 ; | |
| /* Limit the number of lines shown */ | |
| display: -webkit-box; | |
| -webkit-line-clamp: 3; /* Show max 3 lines */ | |
| -webkit-box-orient: vertical; | |
| overflow: hidden; | |
| text-overflow: ellipsis; | |
| margin-top: 0.4rem ; /* Space above description */ | |
| } |