← back to Linenwallpaper
feat: add pill-style sort control styling to match grid slider
769b483543dd88f3b898d0ac6e18a74d8fd8f099 · 2026-06-22 21:41:41 -0700 · Steve Abrams
Files touched
Diff
commit 769b483543dd88f3b898d0ac6e18a74d8fd8f099
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Mon Jun 22 21:41:41 2026 -0700
feat: add pill-style sort control styling to match grid slider
---
public/index.html | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/public/index.html b/public/index.html
index 6d20f5e..e460e6a 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1248,6 +1248,30 @@ document.addEventListener('DOMContentLoaded', function(){ try { renderRailSectio
}, 500);
})();
+</script>
+
+<!-- SORT CONTROL PILL STYLING — Complements grid density slider -->
+<script>
+(function() {
+ const style = document.createElement('style');
+ style.textContent = `
+ /* Sort control pill styling — matches grid slider button aesthetic */
+ select[data-sort], select[aria-label*="sort" i], .sort-select, .collection-sort-select {
+ display: inline-flex; align-items: center; padding: 10px 16px; border: 1px solid #ddd; border-radius: 20px; background: #fff; color: #333;
+ font-weight: 500; font-size: 13px; cursor: pointer; transition: all 0.15s ease; appearance: none; -webkit-appearance: none;
+ background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
+ background-repeat: no-repeat; background-position: right 8px center; background-size: 18px; padding-right: 32px;
+ }
+ select[data-sort]:hover, select[aria-label*="sort" i]:hover, .sort-select:hover, .collection-sort-select:hover {
+ border-color: #333; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
+ }
+ select[data-sort]:focus, select[aria-label*="sort" i]:focus, .sort-select:focus, .collection-sort-select:focus {
+ outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
+ }
+ .collection-controls { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
+ `;
+ document.head.appendChild(style);
+})();
</script>
</body> in every DW-family sister site.
Self-contained: CSS + 4 modals + JS submission handlers.
← 9e649c5 fix: improve grid density slider CSS to prevent overlap with
·
back to Linenwallpaper
·
fix: prevent sort dropdown cutoff on left edge 2e98843 →