Skip to content

Commit

Permalink
add context menu css to match chiliproject color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
svoboda-jan committed Oct 20, 2015
1 parent c9a71f6 commit 44854b9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions assets/stylesheets/context_menu.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#context-menu li:hover {
border: 1px solid #6a0406 !important;
background-color: #FDEEEE !important;
}
#context-menu a:hover {
color: #6a0406 !important;
}
.context-menu-selection {
background-color: #6a0406 !important;
}
4 changes: 4 additions & 0 deletions lib/chiliproject_look_and_feel_hook_listener.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@ def view_layouts_base_html_head(context = {})
javascript_include_tag('application', media: 'all', plugin: 'chiliproject_look_and_feel')
end

def view_layouts_base_body_bottom(context = {})
stylesheet_link_tag('context_menu', media: 'all', plugin: 'chiliproject_look_and_feel')
end

end

0 comments on commit 44854b9

Please sign in to comment.