From efe4dc4120241f44231503b147489100e4fe6993 Mon Sep 17 00:00:00 2001 From: Matthew Salcido Date: Mon, 12 Feb 2024 14:57:13 -0800 Subject: [PATCH 1/3] Update dark-theme.scss --- css/dark-theme.scss | 63 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 55 insertions(+), 8 deletions(-) diff --git a/css/dark-theme.scss b/css/dark-theme.scss index 76d51eb1..b4eb40b7 100644 --- a/css/dark-theme.scss +++ b/css/dark-theme.scss @@ -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; @@ -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; @@ -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; @@ -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_"] { @@ -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 { @@ -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; } @@ -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; } } @@ -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 { From 246b318e07103479e02c6cc3e2e7feace6196f92 Mon Sep 17 00:00:00 2001 From: Matthew Salcido Date: Mon, 12 Feb 2024 14:57:21 -0800 Subject: [PATCH 2/3] Update compact-artist.scss --- css/compact-artist.scss | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/css/compact-artist.scss b/css/compact-artist.scss index 083f40bc..a28e5b84 100644 --- a/css/compact-artist.scss +++ b/css/compact-artist.scss @@ -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_"] { @@ -61,7 +93,7 @@ table[class*="releases_"] { img, div[class*="fallback_"] { width: 50px !important; - height: 50px !important; + height: auto !important; } } tr[class*="textOnlyRow_"] { @@ -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_"], From 9722880826afec0d9ab802c2474d0399a17eace6 Mon Sep 17 00:00:00 2001 From: Matthew Salcido Date: Mon, 12 Feb 2024 15:42:23 -0800 Subject: [PATCH 3/3] Version bump to 3.6.10 --- manifest.json | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index a98d82fa..31f147d3 100644 --- a/manifest.json +++ b/manifest.json @@ -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": { diff --git a/package-lock.json b/package-lock.json index ba3e5082..c3270659 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "discogs-enhancer", - "version": "3.6.9", + "version": "3.6.10", "lockfileVersion": 2, "requires": true, "packages": { diff --git a/package.json b/package.json index 97ba5297..ca60a3e5 100644 --- a/package.json +++ b/package.json @@ -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": {