[fix] Cleanup header buttons.

This commit is contained in:
opi 2015-11-15 12:31:14 +01:00
parent 0864548c0e
commit bc00688f3f
3 changed files with 16 additions and 15 deletions

View file

@ -16,6 +16,8 @@
@icon-font-path: @font-path;
@border-radius-base: 0;
@border-radius-small: @border-radius-base;
@border-radius-large: @border-radius-base;
/*
@ -151,23 +153,22 @@ button {
}
.logout-button {
.buttons {
.pull-right;
.make-sm-column(2);
.make-sm-column-offset(8);
.btn;
padding: 17px 0 0;
a {
.btn;
.btn-sm;
display: block;
margin: 3px 0;
border-radius: 0;
}
a.fa-sign-out {
.fa-2x;
color: @gray-light;
transition: all 0.1s ease;
&:hover {
color: @gray;
}
.user-interface-btn {
.btn-primary;
}
.logout-btn {
.btn-default;
}
}
}

File diff suppressed because one or more lines are too long

View file

@ -19,12 +19,12 @@
<a href="#/" class="homelink slide back">
<img src="dist/img/icon.png" style="width: 70px;">
</a>
<span class="logout-button pull-right" role="button">
<a class="btn btn-primary btn-sm" href="/yunohost/sso/" title="Logout" data-y18n-title="user_interface_link">
<span class="buttons" role="button">
<a class="user-interface-btn" href="/yunohost/sso/" title="Logout" data-y18n-title="user_interface_link">
<span data-y18n="user_interface_link">User interface</span>&nbsp;
<i class="fa-user"></i>
</a>
<a class="btn btn-default btn-sm" href="#/logout" title="Logout" data-y18n-title="logout">
<a class="logout-btn" href="#/logout" title="Logout" data-y18n-title="logout">
<span data-y18n="logout">Logout</span>&nbsp;
<i class="fa-sign-out"></i>
</a>