gaurv007 commited on
Commit
dafbffe
·
verified ·
1 Parent(s): aabf581

fix(content.css): add CRITICAL severity highlight and tooltip badge styles

Browse files
Files changed (1) hide show
  1. extension/styles/content.css +17 -0
extension/styles/content.css CHANGED
@@ -1,4 +1,5 @@
1
  /* ClauseGuard — Content Script Styles (injected into web pages) */
 
2
 
3
  /* Highlight severity levels */
4
  .clauseguard-highlight {
@@ -9,6 +10,16 @@
9
  position: relative;
10
  }
11
 
 
 
 
 
 
 
 
 
 
 
12
  .clauseguard-high {
13
  background: rgba(239, 68, 68, 0.22);
14
  border-bottom: 2.5px solid #ef4444;
@@ -17,6 +28,7 @@
17
  background: rgba(239, 68, 68, 0.35);
18
  }
19
 
 
20
  .clauseguard-medium {
21
  background: rgba(245, 158, 11, 0.18);
22
  border-bottom: 2.5px solid #f59e0b;
@@ -25,6 +37,7 @@
25
  background: rgba(245, 158, 11, 0.32);
26
  }
27
 
 
28
  .clauseguard-low {
29
  background: rgba(59, 130, 246, 0.14);
30
  border-bottom: 2.5px solid #3b82f6;
@@ -74,6 +87,10 @@
74
  letter-spacing: 0.5px;
75
  }
76
 
 
 
 
 
77
  .clauseguard-badge-high {
78
  background: #fecaca;
79
  color: #991b1b;
 
1
  /* ClauseGuard — Content Script Styles (injected into web pages) */
2
+ /* v4.3: Added CRITICAL severity styles */
3
 
4
  /* Highlight severity levels */
5
  .clauseguard-highlight {
 
10
  position: relative;
11
  }
12
 
13
+ /* CRITICAL — purple (most severe) */
14
+ .clauseguard-critical {
15
+ background: rgba(168, 85, 247, 0.22);
16
+ border-bottom: 2.5px solid #a855f7;
17
+ }
18
+ .clauseguard-critical:hover {
19
+ background: rgba(168, 85, 247, 0.38);
20
+ }
21
+
22
+ /* HIGH — red */
23
  .clauseguard-high {
24
  background: rgba(239, 68, 68, 0.22);
25
  border-bottom: 2.5px solid #ef4444;
 
28
  background: rgba(239, 68, 68, 0.35);
29
  }
30
 
31
+ /* MEDIUM — amber */
32
  .clauseguard-medium {
33
  background: rgba(245, 158, 11, 0.18);
34
  border-bottom: 2.5px solid #f59e0b;
 
37
  background: rgba(245, 158, 11, 0.32);
38
  }
39
 
40
+ /* LOW — blue */
41
  .clauseguard-low {
42
  background: rgba(59, 130, 246, 0.14);
43
  border-bottom: 2.5px solid #3b82f6;
 
87
  letter-spacing: 0.5px;
88
  }
89
 
90
+ .clauseguard-badge-critical {
91
+ background: #e9d5ff;
92
+ color: #6b21a8;
93
+ }
94
  .clauseguard-badge-high {
95
  background: #fecaca;
96
  color: #991b1b;