aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/BellaVistaEnAccion.pm33
-rw-r--r--web/cobrands/bellavistaenaccion/_colours.scss21
-rw-r--r--web/cobrands/bellavistaenaccion/base.scss7
-rw-r--r--web/cobrands/bellavistaenaccion/config.rb25
-rw-r--r--web/cobrands/bellavistaenaccion/layout.scss2
5 files changed, 88 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/BellaVistaEnAccion.pm b/perllib/FixMyStreet/Cobrand/BellaVistaEnAccion.pm
new file mode 100644
index 000000000..ffd39ba84
--- /dev/null
+++ b/perllib/FixMyStreet/Cobrand/BellaVistaEnAccion.pm
@@ -0,0 +1,33 @@
+package FixMyStreet::Cobrand::BellaVistaEnAccion;
+use base 'FixMyStreet::Cobrand::Default';
+
+use strict;
+use warnings;
+
+sub path_to_web_templates {
+ my $self = shift;
+ return [
+ FixMyStreet->path_to( 'templates/web', $self->moniker )->stringify,
+ FixMyStreet->path_to( 'templates/web/fixmystreet' )->stringify
+ ];
+}
+
+sub country {
+ return 'CL';
+}
+
+sub example_places {
+ return ( 'Dominica, Recoleta', 'Pio Nono' );
+}
+
+sub languages { [ 'es-cl,Castellano,es_CL', 'en-gb,English,en_GB' ] }
+
+sub disambiguate_location {
+ return {
+ country => 'cl',
+ bing_country => 'Santiago',
+ };
+}
+
+1;
+
diff --git a/web/cobrands/bellavistaenaccion/_colours.scss b/web/cobrands/bellavistaenaccion/_colours.scss
new file mode 100644
index 000000000..cfe698046
--- /dev/null
+++ b/web/cobrands/bellavistaenaccion/_colours.scss
@@ -0,0 +1,21 @@
+/* COLOURS */
+
+$orange: #ff9900;
+$bluey: #ff8888;
+
+$primary: #ffffee;
+$primary_b: #000000;
+$primary_text: #222222;
+
+$base_bg: $bluey;
+$base_fg: #000;
+
+$map_nav_bg: $bluey;
+$nav_fg: #000;
+$nav_fg_hover: $primary;
+
+$col_click_map: $bluey;
+$col_click_map_dark: darken($bluey, 10%);
+
+$col_fixed_label: #00BD08;
+$col_fixed_label_dark: #4B8304;
diff --git a/web/cobrands/bellavistaenaccion/base.scss b/web/cobrands/bellavistaenaccion/base.scss
new file mode 100644
index 000000000..9fccf92db
--- /dev/null
+++ b/web/cobrands/bellavistaenaccion/base.scss
@@ -0,0 +1,7 @@
+@import "../sass/h5bp";
+@import "./_colours";
+@import "../sass/mixins";
+@import "compass";
+
+@import "../sass/base";
+
diff --git a/web/cobrands/bellavistaenaccion/config.rb b/web/cobrands/bellavistaenaccion/config.rb
new file mode 100644
index 000000000..cab97b18f
--- /dev/null
+++ b/web/cobrands/bellavistaenaccion/config.rb
@@ -0,0 +1,25 @@
+# Require any additional compass plugins here.
+
+# Set this to the root of your project when deployed:
+http_path = "/"
+css_dir = ""
+sass_dir = ""
+images_dir = ""
+javascripts_dir = ""
+
+# You can select your preferred output style here (can be overridden via the command line):
+# output_style = :expanded or :nested or :compact or :compressed
+
+# To enable relative paths to assets via compass helper functions. Uncomment:
+# relative_assets = true
+
+# To disable debugging comments that display the original location of your selectors. Uncomment:
+# line_comments = false
+
+# If you prefer the indented syntax, you might want to regenerate this
+# project again passing --syntax sass, or you can uncomment this:
+# preferred_syntax = :sass
+# and then run:
+# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
+
+line_comments = false # by Compass.app
diff --git a/web/cobrands/bellavistaenaccion/layout.scss b/web/cobrands/bellavistaenaccion/layout.scss
new file mode 100644
index 000000000..69e455aa5
--- /dev/null
+++ b/web/cobrands/bellavistaenaccion/layout.scss
@@ -0,0 +1,2 @@
+@import "_colours";
+@import "../sass/layout";