Skip to content

Commit

Permalink
Arbeite am 2017-Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
fiedl committed Mar 27, 2017
1 parent e49a4b3 commit e1c9545
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 25 deletions.
35 changes: 10 additions & 25 deletions app/assets/stylesheets/wingolf_2017_layout.css.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ body.wingolf-2017-layout

#resource_nav > ul > li
float: none
> a
background: lightgrey
border-radius: 3px
font-size: 11pt
text-transform: none
letter-spacing: 1px

@media (min-width: 750px)
#resource_nav > ul > li:hover > ul.dropdown-menu
display: block

.horizontal_structure_nav
text-align: center
Expand All @@ -27,28 +37,3 @@ body.group_pages.wingolf-2017-layout
h4
text-align: center

=active-resource-li
background: #e4e1da
a
color: #7e0f0d

body.wingolf-2017-layout #resources_nav
height: 100%
ul
height: 100%
li
height: 100%
a
height: 100%
border-radius: 0px
body.wingolf-2017-layout #resources_nav li a:hover
background: #e4e1da
color: #7e0f0d
body.group_news.wingolf-2017-layout #resources_nav li.news
+active-resource-li
body.group_members.wingolf-2017-layout #resources_nav li.members
+active-resource-li
body.pages.wingolf-2017-layout #resources_nav li.documents
+active-resource-li
body.group_pages.wingolf-2017-layout #resources_nav li.documents
+active-resource-li
4 changes: 4 additions & 0 deletions app/views/layouts/wingolf-2017.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@
%li= link_to t(:settings), user_settings_path(current_user), class: 'user_settings'
%li= button_to t(:sign_out), sign_out_path, method: :delete

- current_user.main_groups.each do |group|
%li.backendBarItem
= link_to group.token, current_tab_path(group)

- # role indicator and preview menu
-#= render partial: 'layouts/role_preview_switcher'

Expand Down

0 comments on commit e1c9545

Please sign in to comment.