Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label Filter Fix #270

Merged
merged 3 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 38 additions & 2 deletions css/compact-artist.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,38 @@ div[class*="facetsContainer_"] {
}
}

// artist filters
[class*="dropdownsContainer_"] {
[class*="wrapper_"] {
label {
display: none;
}

[role="combobox"] {
height: 38px;
font-size: 14px;

[class*="button_"] {
height: 36px;
}

[class*="input_"] {
padding: .25rem;
}
}

[role="listbox"] {
top: 40px;
}
}
}

[class*="searchBarContainer_"] {
input {
font-size: 14px;
}
}


// Smaller images / padding on release rows
table[class*="releases_"] {
Expand All @@ -61,7 +93,7 @@ table[class*="releases_"] {
img,
div[class*="fallback_"] {
width: 50px !important;
height: 50px !important;
height: auto !important;
}
}
tr[class*="textOnlyRow_"] {
Expand All @@ -86,9 +118,13 @@ table[class*="labelReleasesTable_"] {
img,
div[class*="fallback_"] {
width: 50px !important;
height: 50px !important;
height: auto !important;
}
}
// Additional padding on MR versions when using text only view
tr[class*="versionsTextOnlyRow_"] {
padding-left: 2rem;
}
}

table[class*="releases_"],
Expand Down
63 changes: 55 additions & 8 deletions css/dark-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
--new-submission: #f2b90d;
--order-sidebar-bg: #1f1f1f;
/* Master Release Filter Chip Color */
--filter-chip: #2a4f96;
--filter-chip: #000;
/* Release In Collection / Wantlist Blocks */
--in-collection-bg: #1c3814;
--in-collection-border: #60c43f;
Expand Down Expand Up @@ -184,7 +184,7 @@
--blocked-seller: #cd4946;
--text-muted: #959595;
--link: #87a7d0;
--filter-chip: #2a4f96;
--filter-chip: #000;
--submission-form-error: #321d1f;
--additional-instructions: #360d0d;
--modified-cart-bg: #232428;
Expand Down Expand Up @@ -215,7 +215,7 @@
--in-collection-border: #4e9b35;
--price: #f15959;
--in-wantlist-border: #b1413f;
--filter-chip: #2a4f96;
--filter-chip: #000;
--history-highlight: #3a4260;
--history-hover: #353345;
--submission-form-error: #2e0000;
Expand Down Expand Up @@ -5705,8 +5705,10 @@
background: var(--headers) !important;
}

td[class*="versionsTextWithCoversRow_"] {
&[class*="versionsTextWithCoversRow_"],
&[class*="versionsTextOnlyRow_"] {
border-bottom: 1px solid var(--borders) !important;
background: var(--input-bg) !important;
}

&[class*="versions_"] {
Expand Down Expand Up @@ -5772,18 +5774,22 @@
}
}

div[class*="artistVersionFinder_"] {
div[class*="facetFilter_"] {
background: var(--headers) !important;

div[class*="chips_"] {
button[class*="button_"] {
background: var(--black) !important;
background: var(--filter-chip) !important;
}
button[class*="clearAllButton_"] {
color: var(--link) !important;
}
}

[class*="bar_"] {
background: var(--link) !important;
}

div[class*="dropdownsContainer_"] {

button[class*="button_"]:hover {
Expand Down Expand Up @@ -5837,6 +5843,36 @@
}
}

// progress bar
[class*="wrapper_"] [class*="bar_"] {
background: var(--link) !important;
}

[class*="searchBarContainer_"] {
background: var(--input-bg) !important;
border: 1px solid var(--borders) !important;

form label input[type="text"] {
border: none !important;
}
}

[class*="addLabelReleaseButton_"] {
border: 1px solid var(--borders) !important;
}

[class*="filterButtonContainer_"] {
button {
background: var(--borders) !important;
}
}

[class*="filterButtonContainerWhite_"] {
button[aria-expanded="false"] {
border: 1px solid var(--borders) !important;
}
}

h2[class*="labelReleasesHeader_"] {
background: var(--headers) !important;
}
Expand All @@ -5845,8 +5881,8 @@
border: 2px solid var(--borders) !important;

&[aria-checked="true"] {
background-color: var(--black) !important;
border: 2px solid var(--black) !important;
background-color: var(--borders) !important;
border: 2px solid var(--borders) !important;
}
}

Expand All @@ -5856,6 +5892,17 @@

table[class*="labelReleasesTable_"] tr {
border-top: 1px solid var(--borders) !important;

&[class*="versionsTextWithCoversRow_"],
&[class*="versionsTextOnlyRow_"] {
background: var(--input-bg) !important;
}

td[class*="actionstd_"] {
button ul li:hover {
background: var(--headers) !important;
}
}
}

table tr[class*="sortRow_"]:first-of-type {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Discogs Enhancer",
"short_name": "Discogs Enhancer",
"description": "Adds a dark theme, block sellers, price comparisons, currency converter, configurable quick search, & more to Discogs!",
"version": "3.6.9",
"version": "3.6.10",
"author": "Matthew Salcido",
"homepage_url": "https://www.discogs-enhancer.com",
"action": {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "discogs-enhancer",
"version": "3.6.9",
"version": "3.6.10",
"description": "A Chrome extension that adds useful functionality to Discogs.com! https://www.discogs-enhancer.com",
"main": "index.js",
"scripts": {
Expand Down
Loading