mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 22:46:13 +00:00
Design of the user menu
This commit is contained in:
parent
fb15bd336c
commit
4fc2d1d0a0
@ -1,9 +1,11 @@
|
|||||||
// For cutomizing the navigation
|
|
||||||
|
|
||||||
.navigation {
|
.navigation {
|
||||||
background-color: $chill-blue;
|
background-color: $chill-blue;
|
||||||
|
|
||||||
li.more.nav-link {
|
li.more.nav-link {
|
||||||
|
a {
|
||||||
|
margin-bottom: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
a:after {
|
a:after {
|
||||||
color: $chill-dark-gray;
|
color: $chill-dark-gray;
|
||||||
}
|
}
|
||||||
|
@ -19,13 +19,17 @@
|
|||||||
<li class="nav-link more"><a href="javascript:void(0)">Sections</a>
|
<li class="nav-link more"><a href="javascript:void(0)">Sections</a>
|
||||||
<ul class="submenu width-15-em">
|
<ul class="submenu width-15-em">
|
||||||
{% for route in routes %}
|
{% for route in routes %}
|
||||||
<li><a href="{{ path(route.key, args ) }}">
|
<li>
|
||||||
{% spaceless %}
|
<a href="{{ path(route.key, args ) }}" style="background-color:transparent;">
|
||||||
{% for icon in route.icons %}
|
<div style="background-color: #333333; width: calc(100% - 3em); float: left; text-align:center;">
|
||||||
<i class="fa fa-{{ icon }}"></i>
|
{{ route.label|trans }}</div>
|
||||||
{% endfor %}
|
<div style="background-color: #333333; width: 3em; color: rgba(255, 255, 255, 0.7); text-align:center;width: 2em; float: left; margin-left:1px;">{% spaceless %}
|
||||||
{% endspaceless %}
|
{% for icon in route.icons %}
|
||||||
{{ route.label|trans }}</a></li>
|
<i class="fa fa-{{ icon }}"></i>
|
||||||
|
{% endfor %}
|
||||||
|
{% endspaceless %}</div>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
@ -16,7 +16,11 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
<li class="nav-link more"><a href="javascript:void(0)">{{ app.user.username }}</a>
|
<li class="nav-link more">
|
||||||
|
<a href="javascript:void(0)">
|
||||||
|
{{ 'Welcome' | trans }}
|
||||||
|
<b>{{ app.user.username }}</b>
|
||||||
|
</a>
|
||||||
<ul class="submenu width-11-em">
|
<ul class="submenu width-11-em">
|
||||||
{% for route in routes %}
|
{% for route in routes %}
|
||||||
<li><a href="{{ path(route.key, args ) }}"><i class="fa fa-{{ route.icon }}"></i> {{ route.label|trans }}</a></li>
|
<li><a href="{{ path(route.key, args ) }}"><i class="fa fa-{{ route.icon }}"></i> {{ route.label|trans }}</a></li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user