incubator-bloodhound-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joachim Dreimann <joachim.dreim...@wandisco.com>
Subject Re: svn commit: r1326647 - in /incubator/bloodhound/trunk/bloodhound_theme/bhtheme: htdocs/bloodhound.css templates/bloodhound_theme.html
Date Mon, 16 Apr 2012 15:30:02 GMT
As I said last week, I wanted to get involved in fixing some smaller
issues with the current template. So don't say I didn't warn you all!
:-)

I've just commited a small update to the metanav and mainnav styling.
I've also fixed the alignment for button groups and checkboxes (Ticket
#34). I've also updated the footer to appear more subtle.

- Joe

On 16 April 2012 16:17,  <jdreimann@apache.org> wrote:
> Author: jdreimann
> Date: Mon Apr 16 15:17:21 2012
> New Revision: 1326647
>
> URL: http://svn.apache.org/viewvc?rev=1326647&view=rev
> Log:
> Updated metanav and mainnav styling, alignment for button groups and checkboxes. Also
updated footer to appear more subtle. Last but not least, anchorlinks now have a grey background
on hover.
>
> Modified:
>    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css
>    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
>
> Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css
> URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css?rev=1326647&r1=1326646&r2=1326647&view=diff
> ==============================================================================
> --- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css (original)
> +++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/htdocs/bloodhound.css Mon Apr
16 15:17:21 2012
> @@ -4,9 +4,11 @@
>
>  #mainnav {
>   margin-bottom: 0px;
> +  border-bottom: 0px solid #333;
>  }
>
> -/* Section folding */
> +/* @group Section folding */
> +
>  .foldable :link, .foldable :visited {
>   background: url(../common/expanded.png) 0 50% no-repeat;
>   border: none;
> @@ -17,7 +19,10 @@
>  }
>  .collapsed > div, .collapsed > table, .collapsed > ul, .collapsed > dl
{ display: none }
>
> -/* Heading anchors */
> +/* @end */
> +
> +/* @group Heading anchors */
> +
>  .anchor:link, .anchor:visited {
>   border: none;
>   color: #d7d7d7;
> @@ -27,6 +32,7 @@
>  * > .anchor:link, * > .anchor:visited {
>   visibility: hidden;
>  }
> +
>  h1:hover .anchor, h2:hover .anchor, h3:hover .anchor,
>  h4:hover .anchor, h5:hover .anchor, h6:hover .anchor,
>  span:hover .anchor {
> @@ -34,7 +40,59 @@ span:hover .anchor {
>   text-decoration: none;
>  }
>
> +h1 .anchor:hover, h2 .anchor:hover, h3 .anchor:hover,
> +h4 .anchor:hover, h5 .anchor:hover, h6 .anchor:hover,
> +span:hover .anchor {
> +  background-color: #f1f1f1;
> +}
> +
> +/* @end */
> +
>  h1:target, h2:target, h3:target, h4:target, h5:target, h6:target,
>  span:target {
>   background: #ffb;
>  }
> +
> +/* @group Ensuring buttons align horizontally */
> +
> +.buttons form,
> +.buttons form div,
> +.filters label {
> +       display: inline;
> +}
> +
> +.filters label {
> +       margin-right: 10px;
> +}
> +
> +/* @end */
> +
> +/* @group Metanav */
> +
> +.metanav {
> +       margin-top: 10px;
> +       margin-right: 20px;
> +}
> +
> +.metanav span {
> +       margin-left: 10px;
> +}
> +
> +/* @end */
> +
> +/* @group Footer */
> +
> +.footer {
> +       margin-top: 20px;
> +       color:grey;
> +}
> +
> +.footer a {
> +       color: #565656;
> +}
> +
> +.footer .pull-right {
> +       text-align:right;
> +}
> +
> +/* @end */
> \ No newline at end of file
>
> Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
> URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html?rev=1326647&r1=1326646&r2=1326647&view=diff
> ==============================================================================
> --- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
(original)
> +++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bloodhound_theme.html
Mon Apr 16 15:17:21 2012
> @@ -52,15 +52,15 @@
>         </div>
>         <py:with vars="meta_items = dict([i.name, i] for i in chrome.nav.metanav)">
>           <div class="span8">
> -               <div class="pull-right" style="margin-top: 5px; margin-right:
20px;">
> +               <div class="metanav pull-right">
>             <span id="nav_login">${meta_items.login.label}</span>
>             <span py:if="'logout' in meta_items" id="nav_logout">
>               ${meta_items.logout.label}
>             </span>
> -            <span py:if="'prefs' in meta_items"><i class="icon-cog"></i>
> +            <span py:if="'prefs' in meta_items">
>               ${meta_items.prefs.label}
>             </span>
> -            <span py:if="'help' in meta_items"><i class="icon-question-sign"></i>
> +            <span py:if="'help' in meta_items">
>               ${meta_items.help.label}
>             </span>
>                  </div>
> @@ -232,14 +232,13 @@
>         </div>
>       </div>
>       ${select('*|text()|comment()')}
> -      <div class="row">
> -        <br/>
> -        <div class="span8" style="color:grey;">
> -          Powered by <a href="http://www.apache.org/">Apache<sup>TM</sup></a>
<a href="${href.about()}"><strong>Bloodhound</strong></a>.
> +      <div class="row footer">
> +        <div class="span8">
> +          Powered by <a href="http://www.apache.org/">Apache<sup>TM</sup></a>
<a href="${href.about()}">Bloodhound</a>.
>           Standing on the shoulders of
> -          <a href="http://trac.edgewall.org/"><strong>Trac ${trac.version}</strong></a>.
> +          <a href="http://trac.edgewall.org/">Trac ${trac.version}</a>.
>         </div>
> -        <div class="span4" style="text-align:right; color:grey;">${chrome.footer}</div>
> +        <div class="span4"><div class="pull-right">${chrome.footer}</div></div>
>       </div>
>     </div>
>     <br/>
>
>

Mime
View raw message