« get me outta code hell

content, client, css: generateArtistRollingWindowPage - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css/site.css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-03-11 19:34:40 -0300
committer(quasar) nebula <qznebula@protonmail.com>2025-07-11 08:23:19 -0300
commitf8b24147722763117c3bc3a2368c7b4ac2826ea4 (patch)
treea9a2af89b3aa9e46b430f9a860898f0a797c621e /src/static/css/site.css
parentdf8ddccb30f86f1f67f8099ca5368783bea47088 (diff)
content, client, css: generateArtistRollingWindowPage
Diffstat (limited to 'src/static/css/site.css')
-rw-r--r--src/static/css/site.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index bfbe1e56..de089777 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -2416,6 +2416,55 @@ html[data-url-key="localized.albumCommentary"] p.track-info {
   margin-left: 20px;
 }
 
+html[data-url-key="localized.artistRollingWindow"] #content p {
+  text-align: center;
+}
+
+html[data-url-key="localized.artistRollingWindow"] #content input[type=number] {
+  width: 3em;
+  margin: 0 0.25em;
+  background: black;
+  color: white;
+  border: 1px dotted var(--primary-color);
+  padding: 4px;
+  border-radius: 3px;
+}
+
+html[data-url-key="localized.artistRollingWindow"] #timeframe-selection-control a {
+  text-decoration: underline;
+  text-decoration-style: dotted;
+}
+
+html[data-url-key="localized.artistRollingWindow"] #timeframe-selection-control a:not([href]) {
+  text-decoration: none;
+  opacity: 0.7;
+}
+
+html[data-url-key="localized.artistRollingWindow"] #timeframe-source-area {
+  border: 1px dashed #ffffff42;
+  border-top-style: solid;
+  border-bottom-style: solid;
+
+  display: flex;
+  flex-direction: column;
+  justify-content: center;
+  min-height: calc(100vh - 260px);
+}
+
+html[data-url-key="localized.artistRollingWindow"] #timeframe-source-area .grid-listing {
+  width: 100%;
+}
+
+html[data-url-key="localized.artistRollingWindow"] .grid-item.peeking {
+  opacity: 0.8;
+  background: #ffffff24;
+}
+
+/* This is a pretty snazzy selector. */
+html[data-url-key="localized.artistRollingWindow"] .grid-item > span:not(:first-of-type) > *:not([style*="display: none"]) ~ *::before {
+  content: '\0020\00b7\0020';
+}
+
 html[data-url-key="localized.groupInfo"] .by a {
   color: var(--page-primary-color);
 }
@@ -2963,6 +3012,7 @@ video.pixelate, .pixelate video {
   justify-content: center;
   align-items: flex-start;
   padding: 5px 15px;
+  box-sizing: border-box;
 }
 
 .grid-item {