Spaces:
Sleeping
Sleeping
| /* ClauseGuard — Content Script Styles (injected into web pages) */ | |
| /* Highlight severity levels */ | |
| .clauseguard-highlight { | |
| cursor: pointer; | |
| border-radius: 2px; | |
| padding: 1px 0; | |
| transition: background-color 0.2s ease; | |
| position: relative; | |
| } | |
| .clauseguard-high { | |
| background: rgba(239, 68, 68, 0.22); | |
| border-bottom: 2.5px solid #ef4444; | |
| } | |
| .clauseguard-high:hover { | |
| background: rgba(239, 68, 68, 0.35); | |
| } | |
| .clauseguard-medium { | |
| background: rgba(245, 158, 11, 0.18); | |
| border-bottom: 2.5px solid #f59e0b; | |
| } | |
| .clauseguard-medium:hover { | |
| background: rgba(245, 158, 11, 0.32); | |
| } | |
| .clauseguard-low { | |
| background: rgba(59, 130, 246, 0.14); | |
| border-bottom: 2.5px solid #3b82f6; | |
| } | |
| .clauseguard-low:hover { | |
| background: rgba(59, 130, 246, 0.28); | |
| } | |
| /* Tooltip */ | |
| .clauseguard-tooltip { | |
| position: absolute; | |
| z-index: 2147483647; | |
| background: #1f2937; | |
| color: #f9fafb; | |
| padding: 12px 16px; | |
| border-radius: 10px; | |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; | |
| font-size: 13px; | |
| line-height: 1.5; | |
| max-width: 340px; | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); | |
| pointer-events: none; | |
| animation: clauseguard-fadeIn 0.15s ease; | |
| } | |
| .clauseguard-tooltip-header { | |
| font-weight: 700; | |
| font-size: 14px; | |
| margin-bottom: 8px; | |
| padding-bottom: 6px; | |
| border-bottom: 1px solid #374151; | |
| } | |
| .clauseguard-tooltip-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 8px; | |
| margin: 4px 0; | |
| } | |
| .clauseguard-tooltip-badge { | |
| font-size: 10px; | |
| font-weight: 700; | |
| padding: 1px 6px; | |
| border-radius: 4px; | |
| text-transform: uppercase; | |
| letter-spacing: 0.5px; | |
| } | |
| .clauseguard-badge-high { | |
| background: #fecaca; | |
| color: #991b1b; | |
| } | |
| .clauseguard-badge-medium { | |
| background: #fed7aa; | |
| color: #9a3412; | |
| } | |
| .clauseguard-badge-low { | |
| background: #dbeafe; | |
| color: #1e40af; | |
| } | |
| .clauseguard-tooltip-footer { | |
| margin-top: 8px; | |
| font-size: 11px; | |
| opacity: 0.6; | |
| } | |
| @keyframes clauseguard-fadeIn { | |
| from { opacity: 0; transform: translateY(-4px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |