From da215f4b7b48de5e87b0c98476ec2c884a07fe59 Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Fri, 6 Sep 2024 10:15:18 -0500 Subject: [PATCH 1/2] CLDR-17803 site: popup menu for subpages --- docs/site/assets/css/page.css | 22 +++++++++++++++++++--- docs/site/assets/js/cldrsite.js | 9 +++++++-- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/docs/site/assets/css/page.css b/docs/site/assets/css/page.css index 5b1117833d5..f664feac2a8 100644 --- a/docs/site/assets/css/page.css +++ b/docs/site/assets/css/page.css @@ -43,20 +43,36 @@ header .nav ul b { color: gray; } +.title ul.subpages { + display: none; +} + +.title:hover ul.subpages { + display: block; +} + header .nav .crumb { color: white; margin: .5em; } header .nav ul { - display: inline-flexbox; - width: 90%; + display: inline; + /* width: 90%; */ + box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); + z-index: 1; + background-color: navy; + /* background-color: white; + position: absolute; */ + padding: 0.53m; } header .nav ul li { - display: inline-flex; + display: block; padding: .5em; + font-size: medium; margin: 0; + /* color: black !important; */ } header .message { diff --git a/docs/site/assets/js/cldrsite.js b/docs/site/assets/js/cldrsite.js index e229fb988b3..390be9ff373 100644 --- a/docs/site/assets/js/cldrsite.js +++ b/docs/site/assets/js/cldrsite.js @@ -204,8 +204,11 @@ const app = Vue.createApp( {{ ancestor.title }} - {{ ourTitle }} -