-
Notifications
You must be signed in to change notification settings - Fork 75
/
jquery.highlighttextarea.css
52 lines (51 loc) · 1.02 KB
/
jquery.highlighttextarea.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
49
50
51
52
/*!
* jQuery highlightTextarea
* Copyright 2014-2015 Damien "Mistic" Sorel (http://www.strangeplanet.fr)
* Licensed under MIT (http://opensource.org/licenses/MIT)
*/
.highlightTextarea {
position:relative;
}
.highlightTextarea .highlightTextarea-container {
position:absolute;
margin:0;
overflow:hidden;
}
.highlightTextarea .highlightTextarea-highlighter {
position:relative;
border:none;
padding:0;
margin:0;
color:transparent;
cursor:text;
overflow:hidden;
white-space:pre-wrap;
word-wrap:break-word;
}
.highlightTextarea.debug .highlightTextarea-highlighter {
color:#f00;
border:1px solid #f00;
margin:-1px;
}
.highlightTextarea mark {
line-height:inherit;
color:transparent;
margin:0;
padding:0;
}
.highlightTextarea textarea,
.highlightTextarea input {
position:absolute;
left:0;
top:0;
resize:none;
white-space:pre-wrap;
word-wrap:break-word;
}
.highlightTextarea .ui-wrapper {
margin:0 !important;
}
.highlightTextarea .ui-resizable-se {
bottom:15px;
right:0px;
}