summaryrefslogtreecommitdiff
path: root/ext/bg/css/settings2.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-10 14:43:06 -0500
committerGitHub <noreply@github.com>2021-01-10 14:43:06 -0500
commitf6a38f40dc52c4517e41ddb381278ecf5efba056 (patch)
tree0b56e9224ee25c0b6cc2c18cf8ae8ab891427569 /ext/bg/css/settings2.css
parent083da93142ec6302021ee1c29428121b54fc9e68 (diff)
Customizable sentence parsing (#1217)
* Add new sentenceParsing options * Update TextScanner.setOptions * Assign terminator/quote maps * Pass sentence parsing info to extractSentence * Simplify setting * Add setting for enableTerminationCharacters * Create new settings for sentence termination characters
Diffstat (limited to 'ext/bg/css/settings2.css')
-rw-r--r--ext/bg/css/settings2.css75
1 files changed, 75 insertions, 0 deletions
diff --git a/ext/bg/css/settings2.css b/ext/bg/css/settings2.css
index a74d0942..6ae9e335 100644
--- a/ext/bg/css/settings2.css
+++ b/ext/bg/css/settings2.css
@@ -1856,6 +1856,81 @@ input.translation-text-replacement-test-output {
display: none;
}
+.sentence-termination-character-list-table {
+ width: 100%;
+ table-layout: fixed;
+ border-spacing: 0.25em;
+ margin-top: 0.5em;
+ min-width: 400px;
+}
+.sentence-termination-character-list-table thead td {
+ white-space: nowrap;
+ font-size: var(--font-size-small);
+ line-height: 1;
+ text-align: left;
+ vertical-align: bottom;
+ font-weight: normal;
+}
+.sentence-termination-character-list-table td {
+ vertical-align: middle;
+ padding: 0;
+}
+.sentence-termination-character-list-table td:nth-child(1) {
+ width: 2em;
+}
+.sentence-termination-character-list-table td:nth-child(2) {
+ width: 4em;
+}
+.sentence-termination-character-list-table td:nth-child(3) {
+ width: 25%;
+}
+.sentence-termination-character-list-table td:nth-child(4) {
+ width: 18.5%;
+}
+.sentence-termination-character-list-table td:nth-child(5) {
+ width: 18.5%;
+}
+.sentence-termination-character-list-table td:nth-child(6) {
+ width: 40%;
+}
+.sentence-termination-character-list-table td:nth-child(7) {
+ width: 3em;
+}
+select.sentence-termination-character-type,
+input.sentence-termination-character-input1,
+input.sentence-termination-character-input2 {
+ width: 100%;
+}
+.sentence-termination-character-input2-alt {
+ text-align: center;
+}
+.sentence-termination-character-entry:not([data-type=quote]) .sentence-termination-character-input2 {
+ display: none;
+}
+.sentence-termination-character-entry[data-type=quote] .sentence-termination-character-input2-alt {
+ display: none;
+}
+.sentence-termination-character-include-list {
+ display: flex;
+ flex-flow: row nowrap;
+}
+.sentence-termination-character-include {
+ display: flex;
+ flex-flow: row nowrap;
+ white-space: nowrap;
+ align-items: center;
+}
+.sentence-termination-character-include>:first-child {
+ margin-right: 0.375em;
+}
+.sentence-termination-character-include+.sentence-termination-character-include {
+ margin-left: 1em;
+}
+#sentence-termination-character-list-empty {
+ flex: 0 1 auto;
+ margin-top: 0.5em;
+}
+
/* Generic layouts */
.margin-above {