summaryrefslogtreecommitdiff
path: root/ext/mixed/css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-09 16:02:03 -0500
committerGitHub <noreply@github.com>2021-01-09 16:02:03 -0500
commit5b58a9aeef66194bc51fe25f66aebf95f673089a (patch)
treeadf2381475c6f9ad1b502e49e403a7e361184321 /ext/mixed/css
parent06d23f59d83ef89ebda89db547195ecf2a1c6ebf (diff)
Update term tags display and fix a layout issue (#1208)
* Fix layout issue with term expression display * Update display of term tags * Update tag notification to include disambiguation information
Diffstat (limited to 'ext/mixed/css')
-rw-r--r--ext/mixed/css/display.css33
1 files changed, 31 insertions, 2 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index fd320904..e33ef802 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -699,6 +699,26 @@ button.action-button[data-icon=source-term]::before {
.tag-inner {
display: block;
}
+.tag-details-disambiguation-list::before {
+ content: 'Only: ';
+}
+.tag-details-disambiguation-list ruby>rt {
+ display: inline;
+ font-size: 1em;
+}
+.tag-details-disambiguation-list ruby>rt::before {
+ content: '(';
+}
+.tag-details-disambiguation-list ruby>rt::after {
+ content: ')';
+}
+.tag-details-disambiguation-list[data-unmatched-expression-count='0'],
+.tag-details-disambiguation-list:not([data-unmatched-expression-count]) {
+ display: none;
+}
+.tag-details-disambiguation:not(:last-child)::after {
+ content: ', ';
+}
/* Entries */
@@ -755,13 +775,13 @@ button.action-button[data-icon=source-term]::before {
display: inline;
}
.term-expression {
- display: inline;
+ display: inline-block;
}
.term-expression-details {
display: inline;
}
.term-expression-details>.tags {
- display: inline;
+ display: none;
}
.term-expression-details>.frequencies {
display: none;
@@ -769,6 +789,15 @@ button.action-button[data-icon=source-term]::before {
.term-expression-list>.term-expression:not(:last-of-type)>.term-expression-text-container>.term-expression-text::after {
content: '\3001';
}
+.term-details {
+ display: inline;
+}
+.term-tags {
+ display: inline;
+}
+.entry[data-expression-multi=true] .term-details {
+ display: block;
+}
/* Entry indicator */