From 2d0fbe113b3722049e5ed57f1d112628d0c4b626 Mon Sep 17 00:00:00 2001
From: Alberto Garcia Cabeza
Date: Thu, 22 Oct 2015 13:27:33 +0200
Subject: [PATCH] Improves featured proposals styles
---
app/assets/stylesheets/layout.scss | 4 ++++
app/assets/stylesheets/participation.scss | 25 +++++++++++++++++++++--
app/views/welcome/welcome.html.erb | 3 +--
3 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss
index 54fe425c3..086dc92d7 100644
--- a/app/assets/stylesheets/layout.scss
+++ b/app/assets/stylesheets/layout.scss
@@ -1676,6 +1676,10 @@ table {
@media (min-width: $small-breakpoint) {
height: rem-calc(48);
}
+
+ &.success .meter {
+ float: none;
+ }
}
.verification-step {
diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss
index 7b225b2ff..583b614b3 100644
--- a/app/assets/stylesheets/participation.scss
+++ b/app/assets/stylesheets/participation.scss
@@ -437,7 +437,6 @@
padding-top: 0;
font-size: rem-calc(15);
line-height: rem-calc(30);
- overflow: hidden;
}
.document-link, .video-link {
@@ -910,6 +909,10 @@
}
}
+ .progress {
+ display: none !important;
+ }
+
.content {
height: rem-calc(60);
overflow: hidden;
@@ -937,8 +940,26 @@
.not-logged, .organizations-votes {
background: #FED900;
+ color: $warning-color;
line-height: rem-calc(24);
padding-top: rem-calc(6);
+
+ a {
+ color: $warning-color;
+ font-weight: bold;
+ }
+ }
+
+ .anonymous-votes {
+ background: #FED900;
+ padding: 0;
+ padding-top: rem-calc(6);
+
+ p {
+ font-size: rem-calc(12);
+ line-height: rem-calc(20);
+ margin: 0;
+ }
}
.organizations-votes p {
@@ -972,4 +993,4 @@
}
}
}
-}
+}
\ No newline at end of file
diff --git a/app/views/welcome/welcome.html.erb b/app/views/welcome/welcome.html.erb
index 34cc2b875..b20c8d7c6 100644
--- a/app/views/welcome/welcome.html.erb
+++ b/app/views/welcome/welcome.html.erb
@@ -21,7 +21,6 @@
- <%= link_to t("welcome.welcome.go_to_index"),
- verification_path, class: "button success radius" %>
+ <%= link_to t("welcome.welcome.go_to_index"), highlights_path, class: "button success radius" %>