Skip to content

Commit

Permalink
CLDR-18006 site: updates to top bar (#4124)
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 authored Oct 10, 2024
1 parent 3e3e5ad commit fa0caa7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 31 deletions.
5 changes: 0 additions & 5 deletions docs/site/_layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
<!-- Vue mount here -->
</div>
</div>
<div class="message">
<i
>This navigation UI is temporary, just to give access to the pages.</i
>
</div>
</header>

<section class="body">
Expand Down
6 changes: 0 additions & 6 deletions docs/site/_layouts/sitemap.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,6 @@
<!-- Vue mount here for normal navigation -->
</div>
</div>
<div class="message">
<i
>This navigation UI is temporary, just to give access to the pages.</i
>
</div>
<!-- <div class="bar"><a href="/sitemap" class="bar">Site Map</a></div> -->
</header>

<section class="body">{{ content }}</section>
Expand Down
23 changes: 11 additions & 12 deletions docs/site/assets/css/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -772,6 +772,14 @@ body.page header .subpages a:hover {
text-decoration: underline;
}

.pageheader a.uplink {
text-decoration: none;
}

.pageheader a.uplink:hover {
text-decoration: underline;
}

body.page .subpages a.hasChildren:after {
content: " »";
}
Expand Down Expand Up @@ -834,25 +842,16 @@ header {
padding: 0.5em;
}

header div.navparent {
header div.navparent .nav > div {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}

header .navparent a.icon {
display: table-cell;
margin-top: 40;
}

header .navparent > div {
display: table-cell;
align-items: center;
}

header .title {
display: table-cell;
display: inline;
color: white;
font-size: 1.5em;
}

header .nav,
Expand Down
16 changes: 8 additions & 8 deletions docs/site/assets/js/cldrsite.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,21 +324,21 @@ const app = Vue.createApp(
<div>
<div class='status' v-if="status">{{ status }}</div>
<div class='status' v-if="!tree">Loading…</div>
<a class="icon" href="http://www.unicode.org/"> <img border="0"
<a class="icon" href="https://www.unicode.org/"> <img border="0"
src="/assets/img/logo60s2.gif" alt="[Unicode]" width="34"
height="33"></a>&nbsp;&nbsp;
<AncestorPages :ancestorPages="ancestorPages"/>
<div class="breadcrumb">
<AncestorPages :ancestorPages="ancestorPages"/>
<div v-if="!children || !children.length" class="title"> {{ ourTitle }} </div>
<div v-if="!children || !children.length" class="title"> {{ ourTitle }} </div>
<div v-else class="title" >
<div v-else class="title" >
{{ ourTitle }}
</div>
<a class="showmap" href="/sitemap">Site Map</a>
{{ ourTitle }}
</div>
</div>
</div>`,
},
{
Expand Down

0 comments on commit fa0caa7

Please sign in to comment.