From: Kai Moritz Date: Thu, 25 Feb 2021 17:28:52 +0000 (+0100) Subject: WIP:bulma:neu X-Git-Url: https://juplo.de/gitweb/?p=website;a=commitdiff_plain;h=b271a1083470560bc2d18c34fb2819ce45404a26 WIP:bulma:neu --- diff --git a/dist/templates/layout.html b/dist/templates/layout.html index a1227e32..791a43fa 100644 --- a/dist/templates/layout.html +++ b/dist/templates/layout.html @@ -75,44 +75,49 @@ id="navigation" class="s mr-4" th:class="'mr-4 s' + (${len == 1 or (len == 2 and _childs.get(uri) == null)} ? ' selected' : '')"> + +
  • Blog
  • +
  • - fix-swf + th:class="(${selected} ? 's selected' : 's') + ' len_' + ${len} + ' pos_' + ${pos} + (${leaf}?' leaf':'')" + th:text="${_titles.get(entry)}">Projekte
  • -
  • hibernate4-maven-plugin
  • -
  • jquery.openx
  • -
  • HTML-Experimente
  • -
  • accelerator
  • -
  • Typography
  • +
  • About
  • diff --git a/sass/juplo.scss b/sass/juplo.scss index ea833cac..cbd132ec 100644 --- a/sass/juplo.scss +++ b/sass/juplo.scss @@ -50,7 +50,9 @@ $button-hover-border-color: #000 !important; display: none; } #navigation li.s > a.selected, -#navigation li.s > a.leaf +#navigation li.s > a.leaf, +#navigation li.s > strong.selected, +#navigation li.s > strong.leaf { @extend .button; @extend .is-primary; @@ -58,13 +60,16 @@ $button-hover-border-color: #000 !important; @extend .has-text-weight-bold; @extend .mb-3; } -#navigation li.s > a.leaf +#navigation li.s > a.leaf, +#navigation li.s > strong.leaf { color: #ccc; background-color: #fff; } #navigation li.s > a.selected:after, -#navigation li.s > a.leaf:after +#navigation li.s > a.leaf:after, +#navigation li.s > strong.selected:after, +#navigation li.s > strong.leaf:after { content: "\f0a8"; padding-left: .5em; @@ -79,12 +84,15 @@ $button-hover-border-color: #000 !important; text-rendering: auto; line-height: 1; } -#navigation li.s > a.leaf:after +#navigation li.s > a.leaf:after, +#navigation li.s > strong.leaf:after { color: #fff; } #navigation li.s.sub > a.selected:after, -#navigation li.s.sub > a.leaf:after +#navigation li.s.sub > a.selected:after, +#navigation li.s.sub > strong.leaf:after, +#navigation li.s.sub > strong.leaf:after { content: "\f0ab"; }