-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
128 lines (109 loc) · 2.73 KB
/
Copy pathstyles.css
File metadata and controls
128 lines (109 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
/* Redactosaurus styles for overlays and tooltips */
.redactosaurus-overlay {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
white-space: pre-wrap;
word-wrap: break-word;
overflow: hidden;
z-index: 999999;
/* KEY: don't block typing/clicks except on PII spans */
pointer-events: none;
/* KEY: don't draw duplicate text */
color: transparent;
/* Ensure overlay perfectly aligns with input text - prevent line drift */
margin: 0;
vertical-align: baseline;
text-indent: 0;
/* Force consistent text rendering to prevent line-height accumulation */
font-synthesis: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.redactosaurus-underline {
/* Don't capture mouse events - allow normal text editing */
pointer-events: none;
/* Subtle highlight + light underline */
background-color: rgba(255, 183, 77, 0.14);
text-decoration: underline !important;
text-decoration-color: rgba(255, 183, 77, 0.75) !important;
text-decoration-thickness: 1.5px !important;
text-decoration-skip-ink: auto;
border-radius: 2px;
/* Force baseline alignment and reset any positioning issues */
vertical-align: baseline !important;
display: inline !important;
}
.redactosaurus-tooltip {
position: fixed;
z-index: 2147483647;
background: #111;
color: #fff;
padding: 8px;
border-radius: 10px;
font-size: 12px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
display: none;
min-width: 180px;
}
.redactosaurus-tooltip .title {
font-weight: 700;
margin-bottom: 6px;
opacity: 0.95;
}
.redactosaurus-tooltip .btnrow {
display: flex;
gap: 8px;
}
.redactosaurus-tooltip button {
flex: 1;
border: 0;
border-radius: 8px;
padding: 6px 8px;
font-size: 12px;
cursor: pointer;
}
.redactosaurus-tooltip button.mask {
background: orange;
color: #111;
font-weight: 700;
}
.redactosaurus-tooltip button.ignore {
background: #333;
color: #fff;
}
.redactosaurus-bulk-actions {
position: absolute;
top: auto;
right: auto;
bottom: 8px;
left: 50%;
transform: translateX(-50%);
z-index: 2147483647;
display: none;
gap: 8px;
pointer-events: auto;
}
.redactosaurus-bulk-actions button {
border: 0;
border-radius: 8px;
padding: 8px 10px;
font-size: 12px;
font-weight: 700;
cursor: pointer;
box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}
.redactosaurus-bulk-actions button:disabled {
opacity: 0.6;
cursor: default;
}
.redactosaurus-bulk-actions .mask-all {
background: orange;
color: #111;
}
.redactosaurus-bulk-actions .ignore-all {
background: #111;
color: #fff;
}