aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/spotifyControls/styles.css
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2022-11-07 22:28:29 +0100
committerGitHub <noreply@github.com>2022-11-07 22:28:29 +0100
commit6a8564089bea162d9c4d52925eb1239b6b270fa4 (patch)
treeb411e223ffab2752175e2e883908cd814f73455d /src/plugins/spotifyControls/styles.css
parent7d5ade21fc9b56d21e2eb9e5b0d35502432adaa2 (diff)
downloadVencord-6a8564089bea162d9c4d52925eb1239b6b270fa4.tar.gz
Vencord-6a8564089bea162d9c4d52925eb1239b6b270fa4.tar.bz2
Vencord-6a8564089bea162d9c4d52925eb1239b6b270fa4.zip
SpotifyControls plugin (#190)
Diffstat (limited to 'src/plugins/spotifyControls/styles.css')
-rw-r--r--src/plugins/spotifyControls/styles.css115
1 files changed, 115 insertions, 0 deletions
diff --git a/src/plugins/spotifyControls/styles.css b/src/plugins/spotifyControls/styles.css
new file mode 100644
index 0000000..b6e1aa2
--- /dev/null
+++ b/src/plugins/spotifyControls/styles.css
@@ -0,0 +1,115 @@
+.vc-spotify-button {
+ height: 100%;
+ background: none;
+ color: var(--interactive-normal);
+}
+
+.vc-spotify-button:hover {
+ filter: brightness(1.3);
+}
+
+.vc-spotify-shuffle-on,
+.vc-spotify-repeat-context,
+.vc-spotify-repeat-track {
+ color: #1db954;
+}
+
+/* Hack to stack icon and bullet */
+.vc-spotify-repeat-track {
+ display: grid;
+ justify-content: center;
+ align-items: center;
+}
+.vc-spotify-repeat-track * {
+ grid-column: 1;
+ grid-row: 1;
+}
+
+.vc-spotify-tooltip-text {
+ overflow: hidden;
+ white-space: nowrap;
+ padding-right: 0.2em;
+ max-width: 100%;
+}
+
+.vc-spotify-button-row {
+ justify-content: center;
+}
+
+#vc-spotify-info-wrapper {
+ display: flex;
+ flex-direction: row;
+ height: 3em;
+ flex-direction: row;
+ gap: 0.2em;
+}
+
+#vc-spotify-info-wrapper img {
+ height: 100%;
+ object-fit: contain;
+}
+
+#vc-spotify-album-expanded-wrapper img {
+ width: 100%;
+ object-fit: contain;
+}
+
+#vc-spotify-titles {
+ display: flex;
+ flex-direction: column;
+ padding: 0.2em;
+ justify-content: center;
+ align-items: flex-start;
+ align-content: flex-start;
+ overflow: hidden;
+}
+
+.vc-spotify-tooltip-text {
+ margin: unset;
+}
+
+#vc-spotify-song-title {
+ color: var(--header-primary);
+}
+
+.vc-spotify-artist {
+ text-decoration: none;
+ color: var(--header-secondary);
+}
+
+.vc-spotify-comma {
+ color: var(--header-secondary);
+}
+
+.vc-spotify-artist:hover,
+#vc-spotify-song-title:hover {
+ text-decoration: underline;
+ color: var(--interactive-active);
+ cursor: pointer;
+}
+
+#vc-spotify-album-image:hover {
+ filter: brightness(1.2);
+ cursor: pointer;
+}
+
+#vc-spotify-progress-bar {
+ display: flex;
+ flex-direction: row;
+ color: var(--text-normal);
+
+ width: calc(100% - 1em);
+ margin: 0.5em;
+ margin-bottom: 0;
+}
+
+#vc-spotify-progress-bar > [class^="slider"] {
+ flex-grow: 1;
+}
+
+#vc-spotify-progress-text {
+ margin: 0;
+ font-size: 80%;
+ /* need to fix or it will constantly grow/shrink due to character width differences */
+ width: 20%;
+}