From c70d769fe1a910d87e182d7c152283becb69da15 Mon Sep 17 00:00:00 2001
From: booploops <49113086+booploops@users.noreply.github.com>
Date: Sat, 4 Dec 2021 16:14:55 -0800
Subject: [PATCH] adds notification for updating library
---
resources/cider-ui-tests/index.html | 96 +++++++++++++++++------------
resources/cider-ui-tests/style.css | 18 ++++++
2 files changed, 73 insertions(+), 41 deletions(-)
diff --git a/resources/cider-ui-tests/index.html b/resources/cider-ui-tests/index.html
index 6e8173d6..88c083c4 100644
--- a/resources/cider-ui-tests/index.html
+++ b/resources/cider-ui-tests/index.html
@@ -167,7 +167,8 @@
-
+
Top Result
@@ -394,7 +406,8 @@
-
+
@@ -450,8 +463,8 @@
@@ -461,8 +474,8 @@
@@ -485,7 +498,7 @@
{{ item.attributes.artistName }}
- - {{ item.attributes.albumName }}
+ - {{ item.attributes.albumName }}
@@ -565,8 +578,8 @@
- {{ (item.attributes.editorialNotes != null) ? item.attributes.editorialNotes.short :(item.attributes.artistName ?? '') }}
+ style="padding-left: 4px;padding-right: 4px; display: -webkit-box;-webkit-box-orient: vertical; -webkit-line-clamp: 2;white-space: normal;">
+ {{ (item.attributes.editorialNotes != null) ? item.attributes.editorialNotes.short
+ :(item.attributes.artistName ?? '') }}
diff --git a/resources/cider-ui-tests/style.css b/resources/cider-ui-tests/style.css
index 51fff955..87b184ec 100644
--- a/resources/cider-ui-tests/style.css
+++ b/resources/cider-ui-tests/style.css
@@ -205,6 +205,13 @@ input[type=range].web-slider::-webkit-slider-runnable-track {
width: 100%;
}
+.content-inner.centered {
+ height: 100%;
+ display: flex;
+ flex-flow: column;
+ justify-content: center;
+ align-items: center;
+}
.app-drawer {
width: 300px;
@@ -310,6 +317,17 @@ input[type=range].web-slider::-webkit-slider-runnable-track {
text-align: left;
}
+.app-sidebar-notification {
+ text-align: center;
+ font-size: 12px;
+ min-height: 60px;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ border-top: 1px solid rgb(200 200 200 / 15%);
+ background: rgb(0 0 0 / 15%);
+}
+
.app-sidebar-content {
padding: 8px;
overflow-y: scroll;