Skip to content

Commit

Permalink
lib - migrate contentButton styles & reduce height
Browse files Browse the repository at this point in the history
  • Loading branch information
Inrixia committed Jun 26, 2024
1 parent 7318948 commit b5d03d1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
7 changes: 4 additions & 3 deletions plugins/_lib/ContextMenu.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { actions, intercept } from "@neptune";
import { ItemId, MediaItem, TrackItem } from "neptune-types/tidal";
import { intercept } from "@neptune";
import { ItemId, TrackItem } from "neptune-types/tidal";
import { TrackItemCache } from "./Caches/TrackItemCache";
import { interceptPromise } from "./intercept/interceptPromise";

import "./contentButton.styles";

import { libTrace } from "./trace";
import { AlbumCache } from "./Caches/AlbumCache";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { setStyle } from "@inrixia/lib/css/setStyle";
import { setStyle } from "./css/setStyle";

const styles = `
.context-button {
Expand All @@ -7,6 +7,7 @@ const styles = `
font-weight: 500;
padding: 20px 16px;
width: 100%;
height: 45px;
flex-grow: 1;
color: #b878ff;
position: relative;
Expand Down Expand Up @@ -34,25 +35,6 @@ const styles = `
z-index: 2;
position: relative;
}
#qualityDropdown {
padding: 10px;
width: 200px;
border: none;
border-radius: 4px;
font-size: 16px;
appearance: none;
background-color: #2f2f2f;
color: #ffffff;
cursor: pointer;
}
#qualityDropdown:hover {
border-color: #b0b0b0;
}
#qualityDropdown:focus {
outline: none;
border-color: #4f4f4f;
}
`;

setStyle(styles, "neptune-downloader");
setStyle(styles, "content-button");

0 comments on commit b5d03d1

Please sign in to comment.