removes redundant label on index views
This commit is contained in:
@@ -16,14 +16,13 @@
|
||||
@mixin votes {
|
||||
border-top: 1px solid $border;
|
||||
margin-top: $line-height;
|
||||
padding: $line-height 0;
|
||||
padding: $line-height/2 0;
|
||||
position: relative;
|
||||
|
||||
@include breakpoint(medium) {
|
||||
border-left: 1px solid $border;
|
||||
border-top: 0;
|
||||
margin-top: 0;
|
||||
padding-top: $line-height*2;
|
||||
}
|
||||
|
||||
.icon-like, .icon-unlike {
|
||||
@@ -511,38 +510,9 @@
|
||||
padding-bottom: rem-calc(12);
|
||||
}
|
||||
|
||||
.label-debate, .label-proposal, .label-investment-project, .label-budget-investment {
|
||||
background: none;
|
||||
clear: both;
|
||||
display: block;
|
||||
font-size: rem-calc(12);
|
||||
font-weight: bold;
|
||||
line-height: $line-height;
|
||||
padding-bottom: 0;
|
||||
padding-left: 0;
|
||||
padding-top: 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.label-debate {
|
||||
color: $debates;
|
||||
}
|
||||
|
||||
.label-proposal {
|
||||
color: $proposals-dark;
|
||||
}
|
||||
|
||||
.label-investment-project {
|
||||
color: $budget;
|
||||
}
|
||||
|
||||
.label-budget-investment {
|
||||
color: $budget;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: bold;
|
||||
margin: 0;
|
||||
margin-top: $line-height/2;
|
||||
|
||||
a {
|
||||
color: $text;
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
<div class="budget-investment-content">
|
||||
|
||||
<% cache [locale_and_user_status(investment), 'index', investment, investment.author] do %>
|
||||
<span class="label-budget-investment float-left"><%= t("budgets.investments.investment.title") %></span>
|
||||
<span class="icon-budget"></span>
|
||||
<h3><%= link_to investment.title, namespaced_budget_investment_path(investment) %></h3>
|
||||
<p class="investment-project-info">
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
|
||||
<div class="small-12 medium-9 column">
|
||||
<div class="debate-content">
|
||||
<span class="label-debate float-left"><%= t("debates.debate.debate") %></span>
|
||||
<span class="icon-debates"></span>
|
||||
<h3><%= link_to debate.title, debate %></h3>
|
||||
<p class="debate-info">
|
||||
<span class="icon-comments"></span>
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
<div class="small-12 medium-9 column">
|
||||
<div class="proposal-content">
|
||||
<% cache [locale_and_user_status(proposal), 'index', proposal, proposal.author] do %>
|
||||
<span class="label-proposal float-left"><%= t("proposals.proposal.proposal") %></span>
|
||||
<span class="icon-proposals"></span>
|
||||
<h3><%= link_to proposal.title, namespaced_proposal_path(proposal) %></h3>
|
||||
<p class="proposal-info">
|
||||
<span class="icon-comments"></span>
|
||||
|
||||
Reference in New Issue
Block a user