Adds styles for geozone on proposal show

This commit is contained in:
Alberto Garcia Cabeza
2016-01-26 18:42:28 +01:00
parent 4e7e0e3a7a
commit fc857ea603
3 changed files with 17 additions and 24 deletions

View File

@@ -605,34 +605,28 @@ footer {
// 04. Tags
// - - - - - - - - - - - - - - - - - - - - - - - - -
.tags, .tag-cloud {
.tags a , .tag-cloud a, .categories a, .geozone a {
background: #ececec;
border-radius: rem-calc(6);
color: $text;
display: inline-block;
font-size: $small-font-size;
margin-bottom: $line-height/3;
padding: $line-height/4 $line-height/3;
text-decoration: none;
a {
background: #ececec;
border-radius: rem-calc(6);
color: $text;
display: inline-block;
font-size: $small-font-size;
margin-bottom: $line-height/3;
padding: $line-height/4 $line-height/3;
text-decoration: none;
&:hover {
background: #e0e0e0;
}
&:hover {
background: #e0e0e0;
}
}
.categories {
.categories a, .geozone a {
background: $highlight;
color: $link;
a {
&:hover {
background: $highlight;
border-radius: rem-calc(6);
display: inline-block;
font-size: $small-font-size;
margin-bottom: $line-height/3;
padding: $line-height/4 $line-height/3;
text-decoration: none;
color: $link-hover;
}
}

View File

@@ -521,7 +521,6 @@
.tags {
display: block;
margin: rem-calc(24) 0;
a {
margin-right: rem-calc(6);

View File

@@ -1,3 +1,3 @@
<span id="geozone">
<span id="geozone" class="geozone">
<%= link_to geozone_name(geozonable), proposals_path(search: geozone_name(geozonable)) %>
</span>