mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
[fix] Cleanup header buttons.
This commit is contained in:
parent
0864548c0e
commit
bc00688f3f
3 changed files with 16 additions and 15 deletions
|
@ -16,6 +16,8 @@
|
||||||
@icon-font-path: @font-path;
|
@icon-font-path: @font-path;
|
||||||
|
|
||||||
@border-radius-base: 0;
|
@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(2);
|
||||||
.make-sm-column-offset(8);
|
.make-sm-column-offset(8);
|
||||||
.btn;
|
|
||||||
padding: 17px 0 0;
|
padding: 17px 0 0;
|
||||||
a {
|
a {
|
||||||
|
.btn;
|
||||||
|
.btn-sm;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 3px 0;
|
margin: 3px 0;
|
||||||
border-radius: 0;
|
|
||||||
}
|
}
|
||||||
a.fa-sign-out {
|
.user-interface-btn {
|
||||||
.fa-2x;
|
.btn-primary;
|
||||||
color: @gray-light;
|
}
|
||||||
transition: all 0.1s ease;
|
.logout-btn {
|
||||||
&:hover {
|
.btn-default;
|
||||||
color: @gray;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
4
src/dist/css/style.min.css
vendored
4
src/dist/css/style.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -19,12 +19,12 @@
|
||||||
<a href="#/" class="homelink slide back">
|
<a href="#/" class="homelink slide back">
|
||||||
<img src="dist/img/icon.png" style="width: 70px;">
|
<img src="dist/img/icon.png" style="width: 70px;">
|
||||||
</a>
|
</a>
|
||||||
<span class="logout-button pull-right" role="button">
|
<span class="buttons" role="button">
|
||||||
<a class="btn btn-primary btn-sm" href="/yunohost/sso/" title="Logout" data-y18n-title="user_interface_link">
|
<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>
|
<span data-y18n="user_interface_link">User interface</span>
|
||||||
<i class="fa-user"></i>
|
<i class="fa-user"></i>
|
||||||
</a>
|
</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>
|
<span data-y18n="logout">Logout</span>
|
||||||
<i class="fa-sign-out"></i>
|
<i class="fa-sign-out"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
Loading…
Reference in a new issue