-
Notifications
You must be signed in to change notification settings - Fork 6
/
ttsPanel.css
118 lines (105 loc) · 1.87 KB
/
ttsPanel.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
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
body {
user-select: none;
background: #eee;
width: 100%;
height: 100%;
margin: 0px;
padding: 10px;
overflow: hidden;
}
#textContainer {
width: calc(100% - 360px);
height: calc(100% - 60px);
position: absolute;
top: 14px;
border-width: 1px;
border-color: #000;
border-style: solid;
box-sizing: border-box;
}
textarea {
resize: none;
opacity: 1;
width: 100%;
height: 100%;
position: absolute;
border-width: 0px;
padding: 0px 2px;
margin: 0px;
box-sizing: border-box;
font-family: Helvetica;
font-size: 1em;
line-height: 1.4em;
}
#currentText {
position: absolute;
opacity: 1;
border-width: 0px;
padding: 0px 2px;
margin: 0px;
background-color: #fff;
width: 100%;
height: 100%;
box-sizing: border-box;
font-family: Helvetica;
font-size: 1em;
white-space: pre-wrap;
word-wrap: break-word;
overflow-y: auto;
line-height: 1.4em;
-moz-user-select: none;
}
#textareaCover {
position: absolute;
border-width: 0px;
padding: 0px 2px;
margin: 0px;
opacity: 0;
display: none;
width: 100%;
height: 100%;
box-sizing: border-box;
overflow: hidden;
}
#currentText:not(.pause) span.highlight{
background-color: #b4d5ff;
}
#currentText span.blur{
color: #ddd;
}
#currentText span.sentence:hover,
#currentText span.sentence.underLine{
/* text-decoration: underline red; */
/* border-bottom: 2px solid red; */
background-color: #9e9;
}
#currentText.pause span.cursor::before {
content: ' ';
background-color: blue;
width:2px;
height: 1em;
display: inline-block;
position: absolute;
margin-left: -2px;
margin-top: 2px;
opacity: 0.7;
}
label[disabled=true] {
color: #aaa;
}
.buttonBar {
text-align:right;
position: fixed;
width: 100%;
bottom: 10px;
}
.buttonGroup {
padding-right: 24px;
}
button img {
padding: 4px;
max-height: 10px;
}
button[disabled] img {
opacity: 0.5;
}