From acef04c51be9429245a36d838776ec7f3610323c Mon Sep 17 00:00:00 2001 From: Joshua Orvis Date: Sun, 21 Jan 2024 10:28:56 -0600 Subject: [PATCH] Added beginning of drop-down menus on dataset tiles, plus modifications to gene selector and dataset selector widgets so their dropdown customizations are specific to them --- www/css/common.v2.css | 1 - .../dataset-collection-selector.css | 8 ++--- .../dataset-collection-selector.html | 8 ++--- .../gene-collection-selector.css | 8 ++--- .../gene-collection-selector.html | 11 ++++--- www/include/tile-grid/tile.html | 32 +++++++++++++++++-- www/js/common.v2.js | 10 +++--- 7 files changed, 53 insertions(+), 25 deletions(-) diff --git a/www/css/common.v2.css b/www/css/common.v2.css index ad3e6d36..282f47f0 100644 --- a/www/css/common.v2.css +++ b/www/css/common.v2.css @@ -33,7 +33,6 @@ html, body { /* -= Typography =- */ - /* -------------------- */ /* -= Header section =- */ diff --git a/www/include/dataset-collection-selector/dataset-collection-selector.css b/www/include/dataset-collection-selector/dataset-collection-selector.css index 82fb5bec..453dd414 100644 --- a/www/include/dataset-collection-selector/dataset-collection-selector.css +++ b/www/include/dataset-collection-selector/dataset-collection-selector.css @@ -1,18 +1,18 @@ -div.dropdown-menu { +#dropdown-dc div.dropdown-menu { width: 60vw; } @media (min-width: 1320px) { - div.dropdown-menu { + #dropdown-dc div.dropdown-menu { width: 55vw; } } @media (min-width: 1440px) { - div.dropdown-menu { + #dropdown-dc div.dropdown-menu { width: 50vw; } } @media (min-width: 1580px) { - div.dropdown-menu { + #dropdown-dc div.dropdown-menu { width: 45vw; } } diff --git a/www/include/dataset-collection-selector/dataset-collection-selector.html b/www/include/dataset-collection-selector/dataset-collection-selector.html index 36424525..b6044f8d 100644 --- a/www/include/dataset-collection-selector/dataset-collection-selector.html +++ b/www/include/dataset-collection-selector/dataset-collection-selector.html @@ -26,10 +26,10 @@