aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 21:33:58 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 22:39:26 -0500
commit9abfd7acde5c917f70db9f2d9e04148862102f57 (patch)
tree9a40b73ac1b7585883119a1c14039dfc79aa7f14 /ext/mixed/css
parent6c344b2740ae7ef0bc214d1391c1592d802434ac (diff)
Always show actions when there is only a single term result
Diffstat (limited to 'ext/mixed/css')
-rw-r--r--ext/mixed/css/display.css16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index 325cc8e7..808306ca 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -233,7 +233,7 @@ button.action-button {
border-top-style: solid;
}
-.entry[data-type=term][data-multi-expression=true] .actions>.action-play-audio {
+.entry[data-type=term][data-expression-multi=true]:not([data-expression-count="1"]) .actions>.action-play-audio {
display: none;
}
@@ -280,11 +280,11 @@ button.action-button {
content: "\3001";
}
-.term-expression-list[data-multi=true] .term-expression-details {
+.term-expression-list[data-multi=true]:not([data-count="1"]) .term-expression-details {
visibility: hidden;
}
-.term-expression-list[data-multi=true] .term-expression-details {
+.term-expression-list[data-multi=true]:not([data-count="1"]) .term-expression-details {
display: inline-block;
position: relative;
width: 0;
@@ -292,21 +292,21 @@ button.action-button {
visibility: hidden;
}
-.term-expression-list[data-multi=true] .term-expression:hover .term-expression-details {
+.term-expression-list[data-multi=true]:not([data-count="1"]) .term-expression:hover .term-expression-details {
visibility: visible;
}
-.term-expression-list[data-multi=true] .term-expression-details>.action-play-audio {
+.term-expression-list[data-multi=true]:not([data-count="1"]) .term-expression-details>.action-play-audio {
position: absolute;
left: 0;
bottom: 0.5em;
}
-.term-expression-list[data-multi=true] .term-expression-details>.action-play-audio {
+.term-expression-list[data-multi=true]:not([data-count="1"]) .term-expression-details>.action-play-audio {
display: block;
}
-.term-expression-list[data-multi=true] .term-expression-details>.tags {
+.term-expression-list[data-multi=true]:not([data-count="1"]) .term-expression-details>.tags {
display: block;
position: absolute;
left: 0;
@@ -314,7 +314,7 @@ button.action-button {
white-space: nowrap;
}
-.term-expression-list[data-multi=true] .term-expression-details>.frequencies {
+.term-expression-list[data-multi=true]:not([data-count="1"]) .term-expression-details>.frequencies {
display: block;
position: absolute;
left: 0;