diff --git a/app/assets/fonts/icons.eot b/app/assets/fonts/icons.eot
index 53439b281..04ec7fc63 100644
Binary files a/app/assets/fonts/icons.eot and b/app/assets/fonts/icons.eot differ
diff --git a/app/assets/fonts/icons.svg b/app/assets/fonts/icons.svg
index a0c854397..8cb96e997 100644
--- a/app/assets/fonts/icons.svg
+++ b/app/assets/fonts/icons.svg
@@ -70,4 +70,5 @@
+
diff --git a/app/assets/fonts/icons.ttf b/app/assets/fonts/icons.ttf
index 3bd8e9dec..928e6cc0b 100644
Binary files a/app/assets/fonts/icons.ttf and b/app/assets/fonts/icons.ttf differ
diff --git a/app/assets/fonts/icons.woff b/app/assets/fonts/icons.woff
index 0ac7f8f19..497d997e2 100644
Binary files a/app/assets/fonts/icons.woff and b/app/assets/fonts/icons.woff differ
diff --git a/app/assets/stylesheets/icons.scss b/app/assets/stylesheets/icons.scss
index b9f2735b4..3d97084f4 100644
--- a/app/assets/stylesheets/icons.scss
+++ b/app/assets/stylesheets/icons.scss
@@ -288,3 +288,7 @@
.icon-file-text::before {
content: '\21';
}
+
+.icon-bars::before {
+ content: '\22';
+}
diff --git a/app/assets/stylesheets/participation.scss b/app/assets/stylesheets/participation.scss
index 8b84339eb..9ecf29802 100644
--- a/app/assets/stylesheets/participation.scss
+++ b/app/assets/stylesheets/participation.scss
@@ -634,6 +634,25 @@
}
}
+.additional-content {
+
+ .tabs {
+ background: none;
+ border: 0;
+ margin-bottom: 0;
+
+ a {
+ background: none;
+ }
+ }
+
+ .filter-subnav {
+ background: $highlight;
+ margin-bottom: $line-height;
+ padding-top: $line-height / 4;
+ }
+}
+
// 04. List participation
// ----------------------
@@ -986,6 +1005,112 @@
}
}
+.view-mode {
+
+ ul {
+ margin-bottom: 0;
+
+ li {
+ padding: $line-height / 4 0;
+ padding-left: $line-height;
+ }
+ }
+
+ .dropdown-pane {
+ width: auto;
+ }
+
+ .button {
+ background: #eee;
+ height: rem-calc(36);
+ margin-bottom: 0;
+ padding: $line-height / 4;
+ width: rem-calc(36);
+
+ &::before {
+ color: $text;
+ font-family: 'icons';
+ }
+ }
+
+ &.default {
+
+ .button {
+
+ &::before {
+ content: '\51';
+ }
+ }
+ }
+
+ &.minimal {
+
+ .button {
+
+ &::before {
+ content: '\22';
+ }
+ }
+ }
+
+ .view-list {
+ position: relative;
+
+ &::before {
+ content: '\22';
+ font-family: 'icons';
+ left: 0;
+ position: absolute;
+ top: 6px;
+ }
+ }
+
+ .view-card {
+ position: relative;
+
+ &::before {
+ content: '\51';
+ font-family: 'icons';
+ left: 0;
+ position: absolute;
+ top: 6px;
+ }
+ }
+
+ .active {
+ color: $brand;
+
+ &::after {
+ content: '\6c';
+ font-family: 'icons';
+ font-size: $tiny-font-size;
+ }
+ }
+}
+
+.debate,
+.proposal,
+.budget-investment {
+
+ &.minimal {
+
+ .panel,
+ .debate-content,
+ .proposal-content,
+ .budget-investment-content {
+ min-height: 0;
+ }
+
+ .panel h3 {
+ margin: 0 0 $line-height / 2;
+
+ @include breakpoint(medium) {
+ margin: 0;
+ }
+ }
+ }
+}
+
// 05. Featured
// ------------
@@ -1122,7 +1247,7 @@
.callout {
- &.primary a {
+ &.primary a {
color: $link;
}
}
diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml
index 1a22db1b1..a5ff9fb20 100644
--- a/config/locales/en/general.yml
+++ b/config/locales/en/general.yml
@@ -631,6 +631,10 @@ en:
next_slide: Next Slide
documentation: Additional documentation
more_info: More information
+ view_mode:
+ title: View mode
+ cards: Cards
+ list: List
social:
blog: "%{org} Blog"
facebook: "%{org} Facebook"
diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml
index 70a18a2ac..b422e305a 100644
--- a/config/locales/es/general.yml
+++ b/config/locales/es/general.yml
@@ -630,6 +630,10 @@ es:
next_slide: Siguiente imagen
documentation: Documentación adicional
more_info: Más información
+ view_mode:
+ title: Modo de vista
+ cards: Tarjetas
+ list: Lista
social:
blog: "Blog de %{org}"
facebook: "Facebook de %{org}"