aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/css/settings.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-09-12 13:20:02 -0400
committerGitHub <noreply@github.com>2020-09-12 13:20:02 -0400
commitc98aa9ad4751f1c35c164525eaec7e2411b0a5c4 (patch)
treee396459b236966fb7f3e8aa50aec5f42a06c16ec /ext/bg/css/settings.css
parent41db9ec89b8eb76009f0cf8894aa0f6e2cc2f8bd (diff)
More scanning options (#815)
* Reorganize options * Add advanced options * Add a setting transform 'setRelativeAttribute' * Add advanced options to HTML/CSS
Diffstat (limited to 'ext/bg/css/settings.css')
-rw-r--r--ext/bg/css/settings.css39
1 files changed, 27 insertions, 12 deletions
diff --git a/ext/bg/css/settings.css b/ext/bg/css/settings.css
index a66a0455..17bb4ac0 100644
--- a/ext/bg/css/settings.css
+++ b/ext/bg/css/settings.css
@@ -138,9 +138,6 @@ html:root:not([data-options-general-result-output-mode=merge]) #dict-main-group
width: 100%;
margin-bottom: 8px;
}
-.scan-input-index-cell {
- grid-area: 1/1/4/1;
-}
.scan-input-index {
height: 100%;
width: 40px;
@@ -185,6 +182,9 @@ html:root:not([data-options-general-result-output-mode=merge]) #dict-main-group
.scan-input-prefix-cell[data-property=types] {
grid-area: 3/2/3/2;
}
+.scan-input-prefix-cell[data-property=options] {
+ grid-area: 4/2/4/2;
+}
.scan-input-content-cell[data-property=include] {
grid-area: 1/3/1/3;
}
@@ -194,9 +194,15 @@ html:root:not([data-options-general-result-output-mode=merge]) #dict-main-group
.scan-input-content-cell[data-property=types] {
grid-area: 3/3/3/3;
}
+.scan-input-content-cell[data-property=options] {
+ grid-area: 4/3/4/3;
+}
.scan-input-suffix-cell {
grid-area: 1/4/1/4;
}
+.scan-input-index-cell {
+ grid-area: 1/1/5/1;
+}
.scan-input-suffix-cell>button {
height: 100%;
}
@@ -221,24 +227,33 @@ html:root:not([data-options-general-result-output-mode=merge]) #dict-main-group
padding-top: 5px;
padding-bottom: 5px;
}
+.scan-input-toggle {
+ font-weight: normal;
+ margin: 0;
+}
+.scan-input-toggle>input[type=checkbox] {
+ margin: 0 0.375em 0 0;
+ padding: 0;
+ vertical-align: middle;
+}
+.scan-input-toggle>span {
+ vertical-align: middle;
+}
.scan-input-type-list {
display: flex;
flex-flow: row wrap;
margin-left: -1em;
}
.scan-input-type {
- font-weight: normal;
- margin: 0;
- white-space: nowrap;
margin-left: 1em;
+ white-space: nowrap;
}
-.scan-input-type>input[type=checkbox] {
- margin: 0 0.375em 0 0;
- padding: 0;
- vertical-align: middle;
+.scan-input:not([data-show-advanced=true]) .scan-input-prefix-cell[data-property=options],
+.scan-input:not([data-show-advanced=true]) .scan-input-content-cell[data-property=options] {
+ display: none;
}
-.scan-input-type>span {
- vertical-align: middle;
+.scan-input[data-show-advanced=true] .scan-input-content-cell[data-property=types] .scan-input-input-cell-inner>.scan-input-type-list-container {
+ border-bottom-right-radius: 0;
}
.generic-input-list {