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

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

View File

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

View File

@@ -10,7 +10,7 @@
<table>
<% @banners.each do |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.image %>">
<%= link_to banner.target_url do %>
@@ -19,13 +19,13 @@
<% end %>
</div>
</div>
<%= t("admin.banners.banner.post_started_at")%> <strong><%= banner.post_started_at %></strong>
&nbsp;|&nbsp;
<%= t("admin.banners.banner.post_ended_at")%> <strong><%= banner.post_ended_at%></strong>
</td>
<td class="text-center">
<%= link_to edit_admin_banner_path(banner),
<%= link_to edit_admin_banner_path(banner),
class: 'edit-banner button' do %>
<span class="icon-edit"></span>
<%= t("admin.banners.index.edit") %>

View File

@@ -65,13 +65,12 @@ Setting['feature.public_stats'] = true
# Spending proposals feature flags
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-two'] = "Banner con estilo dos"
Setting['banner-style.banner-style-three'] = "Banner con estilo tres"
# Banner images
# Banner images
Setting['banner-img.banner-img-one'] = "Banner con imagen uno"
Setting['banner-img.banner-img-two'] = "Banner con imagen dos"
Setting['banner-img.banner-img-three'] = "Banner con imagen tres"