From: Kai Moritz Date: Sat, 9 Jul 2016 13:14:03 +0000 (+0200) Subject: Durchgängig gleicher Abstand zwischen Pfad-Menü und dem aktiven Menü X-Git-Tag: thymeroot-2.0.0~60 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=cfcbd4a97f01c798a77e130c02c086ced0b7fb15;p=website Durchgängig gleicher Abstand zwischen Pfad-Menü und dem aktiven Menü --- diff --git a/dist/less/screen/menu.less b/dist/less/screen/menu.less index 1dc142e5..d35c541c 100644 --- a/dist/less/screen/menu.less +++ b/dist/less/screen/menu.less @@ -44,10 +44,15 @@ } #submenu ul.s { - margin: 1.5em 0 0 0; /** 24px 0 0 0 */ + margin: 1em 0 0 0; /** 16px 0 0 0 */ padding: 0; list-style-type: none; } +#submenu.selected, +#submenu ul.s.selected +{ + margin-top: 2em; /** 32px */ +} #submenu li.s { margin: 0 0 .5em 0; /** 0 0 10px 0 */ diff --git a/dist/templates/layout.html b/dist/templates/layout.html index c464d697..acb20bcf 100644 --- a/dist/templates/layout.html +++ b/dist/templates/layout.html @@ -130,6 +130,7 @@ pos=1" id="submenu" class="s" + th:class="'s' + (${crumbs.size() == 1 or (crumbs.size() == 2 and page['childs'] == null)} ? ' selected' : '')" >
  • fix-swf