Match timeframe link style with tag colors (#2757) [ci skip]
This commit is contained in:
parent
bb75ee3fc6
commit
8ebfb74796
1 changed files with 2 additions and 2 deletions
|
|
@ -35,7 +35,7 @@
|
|||
<div class="articles-list" id="articles-list">
|
||||
<% if @tag_model && @tag_model.supported %>
|
||||
<style>
|
||||
.nav-chronofiter-link.selected {
|
||||
.nav-chronofiter-link.selected, .nav-chronofiter-link:hover {
|
||||
background: <%= @tag_model.bg_color_hex %> !important;
|
||||
color: <%= @tag_model.text_color_hex %> !important;
|
||||
box-shadow: 3px 4px 0px <%= HexComparer.new([@tag_model.bg_color_hex || "#ffffff"], 4).accent %> !important;
|
||||
|
|
@ -114,4 +114,4 @@
|
|||
|
||||
<%= render "stories/narrow_nav_menu" %>
|
||||
<%= render "stories/stories_list_script" %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue