changeset 2884:1e857f75122a

fix #473 basic page trail end overlaid; eliminate duplicate code; improve CSS for alias names
author RogerHaase <haaserd@gmail.com>
date Sun, 25 Jan 2015 08:38:32 -0700
parents 12722b35e73c
children 3ef8ecf05b51
files MoinMoin/apps/admin/templates/user/index_user.html MoinMoin/templates/layout.html MoinMoin/templates/utils.html MoinMoin/themes/basic/static/css/theme.css MoinMoin/themes/basic/static/custom-less/theme.less MoinMoin/themes/basic/templates/layout.html MoinMoin/themes/modernized/static/css/stylus/theme.styl MoinMoin/themes/modernized/static/css/theme.css
diffstat 8 files changed, 189 insertions(+), 245 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/apps/admin/templates/user/index_user.html	Sun Jan 25 08:19:52 2015 -0700
+++ b/MoinMoin/apps/admin/templates/user/index_user.html	Sun Jan 25 08:38:32 2015 -0700
@@ -15,7 +15,7 @@
         <li><a href="{{ url_for('admin.highlighterhelp') }}">{{ _("Highlighters") }}</a></li>
     </ul>
     <h2>{{ _("Namespaces") }}</h2>
-    <ul class="moin-bcs-subitems">
+    <ul class="moin-namespaces">
         <li><a href="{{ url_for('frontend.global_views') }}">{{ _("all") }}</a></li>
         {% for namespace, root in theme_supp.get_namespaces()|sort -%}
             <li><a href="{{ url_for('frontend.show_item', item_name=root) }}">{{ namespace }}</a></li>
--- a/MoinMoin/templates/layout.html	Sun Jan 25 08:19:52 2015 -0700
+++ b/MoinMoin/templates/layout.html	Sun Jan 25 08:38:32 2015 -0700
@@ -1,6 +1,8 @@
 {% extends "base.html" %}
 
 {% import "snippets.html" as snippets with context %}
+{% import theme("utils.html") as utils %}
+
 {% set logo = snippets.logo() %}
 {% set before_header = snippets.before_header() %}
 {% set after_header = snippets.after_header() %}
@@ -58,73 +60,13 @@
                 {%- endif %}
             </div>
 
+            {% if cfg.sitename %}
+                <a class="moin-sitename" href="{{ url_for('frontend.show_item', item_name=cfg.item_root) }}">
+                    {{ cfg.sitename }}
+                </a>
+            {% endif %}
 
-            <div id="moin-locationline">
-                {% if cfg.show_interwiki -%}
-                    <span id="moin-interwiki">
-                        <a href="{{ url_for('frontend.show_item', item_name=cfg.root_mapping['']) }}" rel="nofollow">
-                            {% if cfg.interwikiname %}{{ cfg.interwikiname }}{% else %}Self{% endif %}
-                        </a>
-                        <span class="sep">: </span>
-                    </span>
-                {%- endif %}
-                <div id="moin-pagelocation">
-                    <div class="moin-pagepath">
-                        {% block pagepath %}
-                            {% for segment_name, segment_path, exists in theme_supp.location_breadcrumbs(fqname) -%}
-                                {% if loop.first %}
-                                    <ul class="moin-bcs-item">
-                                        <li>
-                                            <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>{{ segment_name|shorten_fqname }}</a>
-                                        </li>
-                                    </ul>
-                                    <span class="sep">/</span>
-                                {% elif not loop.last %}
-                                    <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>{{ segment_name|shorten_fqname }}</a>
-                                    <span class="sep">/</span>
-                                {%- endif %}
-                                {% if loop.last %}
-                                    {% if title_name %}
-                                        {{ title_name }}
-                                    {% else %}
-                                        <ul class="moin-bcs-item">
-                                            <li><a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
-                                                {{ segment_name }}</a>
-                                                <ul class="moin-bcs-subitems">
-                                                    {% for fq_name in theme_supp.get_fqnames(segment_name) -%}
-                                                        <li><a href="{{ url_for('frontend.show_item', item_name=fq_name) }}">{{ fq_name|shorten_fqname(length=25) }}</a></li>
-                                                    {%- endfor %}
-                                                </ul>
-                                            </li>
-                                        </ul>
-                                    {%- endif %}
-                                {%- endif %}
-                            {%- endfor %}
-                        {% endblock %}
-                    </div>
-                </div>
-            </div>
-
-            {% set trail_items = theme_supp.path_breadcrumbs() %}
-            {% if trail_items %}
-                <div id="moin-pagetrail">
-                    {% for wiki_name, fqname, item_href, exists, err in trail_items %}
-                        {%- if wiki_name -%}
-                            <a href="{{ item_href }}"{{ " " }}
-                               title="{{ wiki_name }}"
-                               class="{% if err %}moin-badinterwiki{% else %}moin-interwiki{% endif %}">
-                               {{ fqname|shorten_fqname }}
-                            </a>
-                        {%- else -%}
-                            <a href="{{ url_for('frontend.show_item', item_name=fqname) }}"{{ " " }}
-                               {% if not exists -%}class="moin-nonexistent"{%- endif -%}>
-                               {{ fqname|shorten_fqname }}
-                            </a>
-                        {%- endif %}
-                        {% if not loop.last %}<span class="sep"> &raquo; </span>{% endif %}
-                    {% endfor %}
-                </div>
-            {% endif %}
+            {{ utils.breadcrumbs(theme_supp.path_breadcrumbs, title_name) }}
 
             {% set navibar_items = theme_supp.navibar(fqname) %}
             {% if navibar_items %}
--- a/MoinMoin/templates/utils.html	Sun Jan 25 08:19:52 2015 -0700
+++ b/MoinMoin/templates/utils.html	Sun Jan 25 08:38:32 2015 -0700
@@ -188,3 +188,77 @@
         <li class="list-group-item">Wiki Name: {{ meta['wikiname'] }}</li>
     </ul>
 {% endmacro %}
+
+{% macro alias_list(alias) %}
+    {% if alias %}
+        <ul class="moin-alias">
+            {% for fq_name in alias -%}
+                <li>
+                    <a href="{{ url_for('frontend.show_item', item_name=fq_name) }}">
+                        {{ fq_name|shorten_fqname(length=25) }}
+                    </a>
+                </li>
+            {%- endfor %}
+        </ul>
+    {% endif %}
+{% endmacro %}
+
+{% macro page_trail_link(wiki_name, fqname, exists) %}
+    {%- if wiki_name -%}
+        <a href="{{ item_href }}"{{ " " }}
+            title="{{ wiki_name }}"
+            class="{% if err %}moin-badinterwiki{% else %}moin-interwiki{% endif %}">
+            {{ fqname|shorten_fqname }}
+        </a>
+    {%- else -%}
+        <a href="{{ url_for('frontend.show_item', item_name=fqname) }}"{{ " " }}
+            {% if not exists -%}class="moin-nonexistent"{%- endif -%}>
+            {{ fqname|shorten_fqname }}
+        </a>
+    {%- endif %}
+{% endmacro %}
+
+{% macro breadcrumbs(breadcrumbs, title_name) %}
+    <ul class="moin-breadcrumb">
+        {% set trail_items = breadcrumbs() %}
+        {% if trail_items %}
+            {% for wiki_name, fqname, item_href, exists, err in trail_items %}
+                {% if not loop.last or title_name %}
+                    <li>
+                        {{ page_trail_link(wiki_name, fqname, exists) }}
+                        <i class="fa fa-angle-double-right fa-fw"></i>
+                        {{ alias_list(theme_supp.get_fqnames(fqname)) }}
+                    </li>
+                {% endif %}
+                {% if loop.last %}
+                    <li>
+                        <span class="moin-big">
+                            {% for segment_name, segment_path, exists in theme_supp.location_breadcrumbs(fqname) -%}
+                                {% if loop.first %}
+                                    <small>~ /</small>
+                                {% elif not loop.last %}
+                                    <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
+                                        {{ segment_name|shorten_fqname }}
+                                    </a>
+                                    <small>/</small>
+                                {%- endif %}
+                                {% if loop.last %}
+                                    {% if title_name %}
+                                        {{ title_name }}
+                                    {% else %}
+                                        <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
+                                            {{ segment_name }}
+                                        </a>
+                                    {%- endif %}
+                                {%- endif %}
+                            {% endfor %}
+                        </span>
+                        {% if not title_name %}
+                            {{ alias_list(theme_supp.get_fqnames(fqname)) }}
+                        {% endif %}
+                    </li>
+                {% endif %}
+            {% endfor %}
+        {% endif %}
+    </ul>
+{% endmacro %}
--- a/MoinMoin/themes/basic/static/css/theme.css	Sun Jan 25 08:19:52 2015 -0700
+++ b/MoinMoin/themes/basic/static/css/theme.css	Sun Jan 25 08:38:32 2015 -0700
@@ -6362,28 +6362,6 @@
 .moin-list-heading > a {
   color: #c8ddf1;
 }
-.moin-breadcrumb {
-  padding: 8px 15px;
-  margin-bottom: 20px;
-  list-style: none;
-  background-color: #f5f5f5;
-  border-radius: 4px;
-}
-.moin-breadcrumb > li {
-  display: inline-block;
-}
-.moin-breadcrumb > li + li:before {
-  content: "/\00a0";
-  padding: 0 5px;
-  color: #cccccc;
-}
-.moin-breadcrumb > .active {
-  color: #999999;
-}
-.moin-breadcrumb > li + li:before {
-  content: "\0020";
-  padding: 0px;
-}
 .moin-nav {
   margin-bottom: 0;
   padding-left: 0;
@@ -6701,35 +6679,58 @@
 a.wikilink {
   color: #00417f;
 }
-.moin-bcs-subitems {
+.moin-alias {
   z-index: 500;
 }
-ul.moin-breadcrumb ul.moin-bcs-subitems {
+.moin-breadcrumb {
+  padding: 8px 15px;
+  margin-bottom: 20px;
+  list-style: none;
+  background-color: #f5f5f5;
+  border-radius: 4px;
+}
+.moin-breadcrumb > li {
+  display: inline-block;
+}
+.moin-breadcrumb > li + li:before {
+  content: "/\00a0";
+  padding: 0 5px;
+  color: #cccccc;
+}
+.moin-breadcrumb > .active {
+  color: #999999;
+}
+.moin-breadcrumb > li + li:before {
+  content: "\0020";
+  padding: 0px;
+}
+ul.moin-breadcrumb ul.moin-alias {
   background-color: #00417f;
+  border-radius: 6px;
 }
 ul.moin-breadcrumb,
-ul.moin-breadcrumb ul.moin-bcs-subitems {
+ul.moin-breadcrumb ul.moin-alias {
   padding: 0;
   margin: 0;
   display: inline-block;
 }
-ul.moin-breadcrumb li ul.moin-bcs-subitems li {
+ul.moin-breadcrumb li ul.moin-alias li {
   list-style-type: none;
   display: block;
 }
-ul.moin-breadcrumb li ul.moin-bcs-subitems li a {
-  padding: 10px;
+ul.moin-breadcrumb li ul.moin-alias li a {
+  padding: 2px 10px;
   display: inline-block;
   color: #ffffff;
 }
 ul.moin-breadcrumb li {
   position: relative;
 }
-ul.moin-breadcrumb li ul.moin-bcs-subitems {
+ul.moin-breadcrumb li ul.moin-alias {
   display: none;
   position: absolute;
 }
-ul.moin-breadcrumb li:hover ul.moin-bcs-subitems {
+ul.moin-breadcrumb li:hover ul.moin-alias {
   display: block;
 }
 .moin-thead {
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Sun Jan 25 08:19:52 2015 -0700
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Sun Jan 25 08:38:32 2015 -0700
@@ -126,16 +126,6 @@
   }
 }
 
-.moin-breadcrumb {
-  .breadcrumb;
-  > li {
-    &+li:before {
-      content: "\0020"; // Unicode space which is non-collapsing
-      padding: 0px;
-    }
-  }
-}
-
 .moin-nav {
   .nav;
   margin-bottom: 20px;  // override bottom-margin nav-tabs
@@ -285,34 +275,45 @@
 a.wikilink{
   color: @search_option_bar_color;
 }
-.moin-bcs-subitems{
+.moin-alias{
   z-index: 500;
 }
-ul.moin-breadcrumb ul.moin-bcs-subitems{
+
+.moin-breadcrumb {
+  .breadcrumb;
+  > li {
+    &+li:before {
+      content: "\0020"; // Unicode space which is non-collapsing
+      padding: 0px;
+    }
+  }
+}
+ul.moin-breadcrumb ul.moin-alias{
   background-color: @search_option_bar_color;
+  border-radius: 6px;
 }
-ul.moin-breadcrumb,ul.moin-breadcrumb ul.moin-bcs-subitems{
+ul.moin-breadcrumb,ul.moin-breadcrumb ul.moin-alias{
   padding: 0;
   margin: 0;
   display: inline-block;
 }
-ul.moin-breadcrumb li ul.moin-bcs-subitems li{
+ul.moin-breadcrumb li ul.moin-alias li{
   list-style-type: none;
   display: block;
 }
-ul.moin-breadcrumb li ul.moin-bcs-subitems li a{
-  padding: 10px;
+ul.moin-breadcrumb li ul.moin-alias li a{
+  padding: 2px 10px;
   display: inline-block;
   color: @white;
 }
 ul.moin-breadcrumb li {
   position: relative;
 }
-ul.moin-breadcrumb li ul.moin-bcs-subitems{
+ul.moin-breadcrumb li ul.moin-alias{
   display: none;
   position: absolute;
 }
-ul.moin-breadcrumb li:hover ul.moin-bcs-subitems{
+ul.moin-breadcrumb li:hover ul.moin-alias{
   display: block;
 }
 .moin-thead{
--- a/MoinMoin/themes/basic/templates/layout.html	Sun Jan 25 08:19:52 2015 -0700
+++ b/MoinMoin/themes/basic/templates/layout.html	Sun Jan 25 08:38:32 2015 -0700
@@ -1,6 +1,7 @@
 {% extends theme("base.html") %}
 
 {% import theme("snippets.html") as snippets %}
+{% import theme("utils.html") as utils %}
 
 {% set logo = snippets.logo() %}
 {% set before_header = snippets.before_header() %}
@@ -186,74 +187,7 @@
                 </nav> {# navbar moin-navbar-inverse #}
 
                 {{ after_header }}
-
-                <ul class="moin-breadcrumb">
-                    {% set trail_items = theme_supp.path_breadcrumbs() %}
-                    {% if trail_items %}
-                        {% for wiki_name, fqname, item_href, exists, err in trail_items %}
-                            {% if not loop.last or title_name %}
-                                <li>
-                                    {%- if wiki_name -%}
-                                        <a href="{{ item_href }}"{{ " " }}
-                                            title="{{ wiki_name }}"
-                                            class="{% if err %}moin-badinterwiki{% else %}moin-interwiki{% endif %}">
-                                            {{ fqname|shorten_fqname }}
-                                        </a>
-                                    {%- else -%}
-                                        <a href="{{ url_for('frontend.show_item', item_name=fqname) }}"{{ " " }}
-                                            {% if not exists -%}class="moin-nonexistent"{%- endif -%}>
-                                            {{ fqname|shorten_fqname }}
-                                        </a>
-                                    {%- endif %}
-                                    <i class="fa fa-angle-double-right fa-fw"></i>
-                                    <ul class="moin-bcs-subitems">
-                                        {% for fq_name in theme_supp.get_fqnames(fqname) -%}
-                                            <li>
-                                                <a href="{{ url_for('frontend.show_item', item_name=fq_name) }}">
-                                                    {{ fq_name|shorten_fqname(length=25) }}
-                                                </a>
-                                            </li>
-                                        {%- endfor %}
-                                    </ul>
-                                </li>
-                            {% endif %}
-                            {% if loop.last %}
-                                <li>
-                                    <span class="moin-big moin-location-breadcrumb">
-                                        {% for segment_name, segment_path, exists in theme_supp.location_breadcrumbs(fqname) -%}
-                                            {% if loop.first %}
-                                                <small>~ /</small>
-                                            {% elif not loop.last %}
-                                                <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
-                                                    {{ segment_name|shorten_fqname }}
-                                                </a>
-                                                <small>/</small>
-                                            {%- endif %}
-                                            {% if loop.last %}
-                                                {% if title_name %}
-                                                    {{ title_name }}
-                                                {% else %}
-                                                    <a href="{{ url_for('frontend.show_item', item_name=segment_path) }}" {% if not exists %}class="moin-nonexistent"{% endif %}>
-                                                        {{ segment_name }}
-                                                    </a>
-                                                {%- endif %}
-                                            {%- endif %}
-                                        {% endfor %}
-                                    </span>
-                                    <ul class="moin-bcs-subitems">
-                                        {% for fq_name in theme_supp.get_fqnames(fqname) -%}
-                                            <li>
-                                                <a href="{{ url_for('frontend.show_item', item_name=fq_name) }}">
-                                                    {{ fq_name|shorten_fqname(length=25) }}
-                                                </a>
-                                            </li>
-                                        {%- endfor %}
-                                    </ul>
-                                </li>
-                            {% endif %}
-                        {% endfor %}
-                    {% endif %}
-                </ul> {# moin-breadcrumb #}
+                {{ utils.breadcrumbs(theme_supp.path_breadcrumbs, title_name) }}
 
                 <div class="moin-content">
                     {# id -> moin-flash is used to add special alerts for ex. for changes to User Settings via JS, see common.js #}
--- a/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Sun Jan 25 08:19:52 2015 -0700
+++ b/MoinMoin/themes/modernized/static/css/stylus/theme.styl	Sun Jan 25 08:38:32 2015 -0700
@@ -582,6 +582,12 @@
     color heading_color
     text-decoration none
 
+a.moin-sitename
+    font-size 1.5em
+    font-weight bold
+    color white
+    line-height 1.5em
+
 #moin-username
     display block
     margin 0px 12px 4px 12px
@@ -593,31 +599,45 @@
 #moin-username input:hover
     color hover_color
 
-#moin-locationline
-    padding 0
-    font-size 100%
-    font-weight normal
-    margin 0.3em .75em .3em .75em
-
 #moin-interwiki
     a
         color heading_color
 
-#moin-pagelocation
-    font-size 1.5em
-    letter-spacing 0.05em
-    vertical-align middle
+ul.moin-breadcrumb,
+ul.moin-breadcrumb ul.moin-alias
+    padding 0
+    margin 0
+    margin-bottom 4px
 
-#moin-pagetrail
-    margin 0 0.88em 0.25em .75em
-    padding 0
-    font-size 0.88em
-    a
-        color heading_color
+ul.moin-breadcrumb ul.moin-alias
+    background-color body_color
+    border 1px solid panel_color
+    border-radius 6px
 
-.moin-pagepath
-    a
-        color heading_color !important
+ul.moin-breadcrumb li ul.moin-alias li
+    list-style-type none
+    display block
+
+ul.moin-breadcrumb li ul.moin-alias li a
+    padding 2px 10px
+    display inline-block
+    color hover_color
+
+ul.moin-breadcrumb li
+      position relative
+
+.moin-breadcrumb a
+    color heading_color
+
+ul.moin-breadcrumb li ul.moin-alias
+    display none
+    position absolute
+
+ul.moin-breadcrumb li:hover ul.moin-alias
+    display block
+
+.moin-breadcrumb > li
+    display inline-block
 
 #moin-navibar
     clear both
@@ -839,8 +859,7 @@
         box-shadow none
 
     a.moin-permalink, a.moin-showhide,
-    #moin-header, #moin-sidebar, #moin-footer, #moin-timings, #moin-credits, #moin-interwiki,
-    #moin-pagelocation
+    #moin-header, #moin-sidebar, #moin-footer, #moin-timings, #moin-credits, #moin-interwiki
         display none
 
     #moin-pageinfo
@@ -891,31 +910,5 @@
         padding 2px
 
     #moin-header, #moin-sidebar, #moin-footer, #moin-timings, #moin-credits, #moin-interwiki,
-    #moin-pagelocation, #moin-pageinfo
+    #moin-pageinfo
         display none
-
-ul.moin-bcs-item ul.moin-bcs-subitems
-    background-color panel_color
-
-ul.moin-bcs-item, ul.moin-bcs-item ul.moin-bcs-subitems
-    padding 0
-    margin 0
-    display inline-block
-
-ul.moin-bcs-item li, ul.moin-bcs-item ul.moin-bcs-subitems li
-    list-style-type none
-    display block
-
-ul.moin-bcs-item li ul.moin-bcs-subitems li a
-    padding 5px
-    display inline-block
-
-ul.moin-bcs-item li
-    position relative
-
-ul.moin-bcs-item li ul.moin-bcs-subitems
-    display none
-    position absolute
-
-ul.moin-bcs-item li:hover ul.moin-bcs-subitems
-    display block
--- a/MoinMoin/themes/modernized/static/css/theme.css	Sun Jan 25 08:19:52 2015 -0700
+++ b/MoinMoin/themes/modernized/static/css/theme.css	Sun Jan 25 08:38:32 2015 -0700
@@ -410,15 +410,20 @@
 #moin-logo{float:left;margin:2px 10px;padding:0;font-size:1.4em;line-height:1em;font-weight:bold}
 #moin-logo img{vertical-align:middle}
 #moin-logo a{color:#fff;text-decoration:none}
+a.moin-sitename{font-size:1.5em;font-weight:bold;color:#fff;line-height:1.5em}
 #moin-username{display:block;margin:0 12px 4px 12px;padding:0;font-size:.82em;}
 #moin-username a{color:#fff}
 #moin-username input:hover{color:#1f9ae0}
-#moin-locationline{padding:0;font-size:100%;font-weight:normal;margin:.3em .75em .3em .75em}
 #moin-interwiki a{color:#fff}
-#moin-pagelocation{font-size:1.5em;letter-spacing:.05em;vertical-align:middle}
-#moin-pagetrail{margin:0 .88em .25em .75em;padding:0;font-size:.88em;}
-#moin-pagetrail a{color:#fff}
-.moin-pagepath a{color:#fff !important}
+ul.moin-breadcrumb,ul.moin-breadcrumb ul.moin-alias{padding:0;margin:0;margin-bottom:4px}
+ul.moin-breadcrumb ul.moin-alias{background-color:#e6f2fe;border:1px solid #00417f;border-radius:6px}
+ul.moin-breadcrumb li ul.moin-alias li{list-style-type:none;display:block}
+ul.moin-breadcrumb li ul.moin-alias li a{padding:2px 10px;display:inline-block;color:#1f9ae0}
+ul.moin-breadcrumb li{position:relative}
+.moin-breadcrumb a{color:#fff}
+ul.moin-breadcrumb li ul.moin-alias{display:none;position:absolute}
+ul.moin-breadcrumb li:hover ul.moin-alias{display:block}
+.moin-breadcrumb > li{display:inline-block}
 #moin-navibar{clear:both;display:block;margin:0;padding:0 10px;font-size:.82em;color:#008b8b}
 #moin-navibar li{float:left;display:inline;margin:0 2px;padding:2px 5px;border:1px solid #4e7da9;border-bottom:none;white-space:nowrap;font-size:.88em;border-top-left-radius:5px;border-top-right-radius:5px}
 #moin-navibar li.wikilink{background:#eef1f6}
@@ -461,7 +466,7 @@
 a.moin-interwiki img{display:none}
 pre{font-size:10pt}
 div.moin-table-of-contents{box-shadow:none}
-a.moin-permalink,a.moin-showhide,#moin-header,#moin-sidebar,#moin-footer,#moin-timings,#moin-credits,#moin-interwiki,#moin-pagelocation{display:none}
+a.moin-permalink,a.moin-showhide,#moin-header,#moin-sidebar,#moin-footer,#moin-timings,#moin-credits,#moin-interwiki{display:none}
 #moin-pageinfo{color:#737373;font-size:.67em;float:right}
 #moin-pageinfo a{color:#737373}
 .moin-subitem-navigation{display:none}
@@ -476,11 +481,5 @@
 tt,pre{font-size:16pt}
 table.navigation{float:right;margin:2px}
 .navigation td,.navigation a{font-size:10pt;padding:2px}
-#moin-header,#moin-sidebar,#moin-footer,#moin-timings,#moin-credits,#moin-interwiki,#moin-pagelocation,#moin-pageinfo{display:none}
-}ul.moin-bcs-item ul.moin-bcs-subitems{background-color:#00417f}
-ul.moin-bcs-item,ul.moin-bcs-item ul.moin-bcs-subitems{padding:0;margin:0;display:inline-block}
-ul.moin-bcs-item li,ul.moin-bcs-item ul.moin-bcs-subitems li{list-style-type:none;display:block}
-ul.moin-bcs-item li ul.moin-bcs-subitems li a{padding:5px;display:inline-block}
-ul.moin-bcs-item li{position:relative}
-ul.moin-bcs-item li ul.moin-bcs-subitems{display:none;position:absolute}
-ul.moin-bcs-item li:hover ul.moin-bcs-subitems{display:block}
+#moin-header,#moin-sidebar,#moin-footer,#moin-timings,#moin-credits,#moin-interwiki,#moin-pageinfo{display:none}
+}