forked from lonekorean/highlight-within-textarea
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathhighlight-within-textarea.css
48 lines (43 loc) · 959 Bytes
/
highlight-within-textarea.css
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
.hwt-container {
display: inline-block;
position: relative;
overflow: hidden !important;
-webkit-text-size-adjust: none !important;
}
.hwt-backdrop {
position: absolute !important;
top: 0 !important;
right: -99px !important;
bottom: 0 !important;
left: 0 !important;
padding-right: 99px !important;
overflow-x: hidden !important;
overflow-y: auto !important;
}
.hwt-highlights {
width: auto !important;
height: auto !important;
border-color: transparent !important;
white-space: pre-wrap !important;
word-wrap: break-word !important;
color: transparent !important;
overflow: hidden !important;
}
.hwt-input {
display: block !important;
position: relative !important;
margin: 0;
padding: 0;
border-radius: 0;
font: inherit;
overflow-x: hidden !important;
overflow-y: auto !important;
}
.hwt-content {
border: 1px solid;
background: none transparent !important;
}
.hwt-content mark {
padding: 0 !important;
color: inherit;
}