Match timeframe link style with tag colors (#2757) [ci skip]

This commit is contained in:
Kobe Raypole 2019-05-07 22:10:42 -04:00 committed by Mac Siri
parent bb75ee3fc6
commit 8ebfb74796

View file

@ -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 %>