Improves styles, removes blank spaces and changes banners img

This commit is contained in:
Alberto Garcia Cabeza
2016-05-23 16:49:40 +02:00
parent a9ac0dc7ff
commit 8954ea6cb5
7 changed files with 8 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -146,6 +146,7 @@ body.admin {
li a:not(.button) { li a:not(.button) {
color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.3);
display: block;
line-height: rem-calc(48); line-height: rem-calc(48);
padding-left: rem-calc(12); padding-left: rem-calc(12);
vertical-align: top; vertical-align: top;

View File

@@ -8,6 +8,7 @@
@mixin logo { @mixin logo {
color: white; color: white;
display: inline-block;
font-family: 'Lato' !important; font-family: 'Lato' !important;
font-size: rem-calc(24); font-size: rem-calc(24);
font-weight: lighter; font-weight: lighter;

View File

@@ -10,7 +10,7 @@
<table> <table>
<% @banners.each do |banner| %> <% @banners.each do |banner| %>
<tr id="<%= dom_id(banner) %>"> <tr id="<%= dom_id(banner) %>">
<td class="samll-12 medium-9"> <td class="small-12 medium-9">
<div class="<%= banner.style %>"> <div class="<%= banner.style %>">
<div class="<%= banner.image %>"> <div class="<%= banner.image %>">
<%= link_to banner.target_url do %> <%= link_to banner.target_url do %>

View File

@@ -65,7 +65,6 @@ Setting['feature.public_stats'] = true
# Spending proposals feature flags # Spending proposals feature flags
Setting['feature.spending_proposal_features.voting_allowed'] = true Setting['feature.spending_proposal_features.voting_allowed'] = true
# Banner styles # Banner styles
Setting['banner-style.banner-style-one'] = "Banner con estilo uno" Setting['banner-style.banner-style-one'] = "Banner con estilo uno"
Setting['banner-style.banner-style-two'] = "Banner con estilo dos" Setting['banner-style.banner-style-two'] = "Banner con estilo dos"