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;
}
.callout.warning {
font-size: $base-font-size;
a {
color: $color-warning;
}
}
&.welcome {
background: $budget image-url('spending_proposals_bg.jpg');
background-position: 50% 50%;

View File

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