Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Bug 1111003 - persona button and really specific css
Browse files Browse the repository at this point in the history
  • Loading branch information
anurag90x authored and peterbe committed Dec 19, 2014
1 parent 66fc6ca commit 0b63fea
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
7 changes: 7 additions & 0 deletions airmozilla/main/static/main/css/main.css
Expand Up @@ -79,6 +79,13 @@ body #page { background-color: #20272a; background-image: url("/static/main/img/
font-weight: normal;
}

#masthead nav ul li a.browserid-login.persona-button.dark {
padding: 0px;
top: 5px;
text-transform: none;
font-weight: bold;
}

#masthead nav ul li b, #masthead nav ul li .current {
background-position: 50% 0;
background-repeat: no-repeat;
Expand Down
12 changes: 7 additions & 5 deletions airmozilla/main/templates/main/main_base.html
Expand Up @@ -51,7 +51,13 @@
</a>
</li>
{% endif %}
{% endfor %}
{% endfor %}
{% if not request.user.is_active %}
<li>
{# the redirect_next function comes from the browserid context processor #}
{{ browserid_login(text='Sign in', color='dark', next=redirect_next()) }}
</li>
{% endif %}
</ul>
</nav>
{% block banner %}
Expand Down Expand Up @@ -83,10 +89,6 @@ <h3 class="widget-title">{{ _('Your Local Time') }}</h3>
autoupdate=True) }}
</p>
</aside>
{% if not request.user.is_active %}
{# the redirect_next function comes from the browserid context processor #}
{{ browserid_login(text='Sign in', color='dark', next=redirect_next()) }}
{% endif %}

{% if sidebar_top %}
<div class="sidebar-top">
Expand Down

0 comments on commit 0b63fea

Please sign in to comment.