fixes styles on callout warning

This commit is contained in:
Alberto Garcia Cabeza
2017-01-17 19:09:46 +01:00
parent 86360a8719
commit 72ab4f5923
2 changed files with 17 additions and 7 deletions

View File

@@ -921,6 +921,14 @@
color: white; color: white;
} }
.callout.warning {
font-size: $base-font-size;
a {
color: $color-warning;
}
}
&.welcome { &.welcome {
background: $budget image-url('spending_proposals_bg.jpg'); background: $budget image-url('spending_proposals_bg.jpg');
background-position: 50% 50%; background-position: 50% 50%;

View File

@@ -35,13 +35,15 @@
</div> </div>
<% else %> <% else %>
<h1><%= @heading.name %></h1> <h1><%= @heading.name %></h1>
<p class="callout warning inline-block"> <div class="small-12 medium-9">
<%= t("budgets.investments.header.different_heading_assigned_html", <div class="callout warning">
heading_link: link_to( <%= t("budgets.investments.header.different_heading_assigned_html",
@assigned_heading.name, heading_link: link_to(
budget_investments_path(@budget, heading: @assigned_heading)) @assigned_heading.name,
) %> budget_investments_path(@budget, heading: @assigned_heading))
</p> ) %>
</div>
</div>
<% end %> <% end %>
<% else %> <% else %>
<h1 class="margin-top"><%= @heading.name %></h1> <h1 class="margin-top"><%= @heading.name %></h1>