aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perllib/FixMyStreet/Cobrand/FixMindelo.pm25
-rw-r--r--web/cobrands/fixmindelo/_colours.scss17
-rw-r--r--web/cobrands/fixmindelo/base.scss14
-rw-r--r--web/cobrands/fixmindelo/config.rb25
-rw-r--r--web/cobrands/fixmindelo/images/fixmindelo-header.pngbin0 -> 154 bytes
-rw-r--r--web/cobrands/fixmindelo/images/sprite.pngbin0 -> 20507 bytes
-rw-r--r--web/cobrands/fixmindelo/images/tropical-sea-pattern.jpgbin0 -> 2966 bytes
-rw-r--r--web/cobrands/fixmindelo/layout.scss69
8 files changed, 150 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixMindelo.pm b/perllib/FixMyStreet/Cobrand/FixMindelo.pm
new file mode 100644
index 000000000..6f81bad84
--- /dev/null
+++ b/perllib/FixMyStreet/Cobrand/FixMindelo.pm
@@ -0,0 +1,25 @@
+package FixMyStreet::Cobrand::FixMindelo;
+use base 'FixMyStreet::Cobrand::Default';
+
+use strict;
+use warnings;
+
+
+sub country {
+ return 'CV';
+}
+
+sub language_domain { 'FixMindelo' }
+
+sub disambiguate_location {
+ return {
+ country => 'cv',
+ bing_country => 'Cape Verde',
+ };
+}
+
+# let staff hide reports
+sub users_can_hide { 1 }
+
+1;
+
diff --git a/web/cobrands/fixmindelo/_colours.scss b/web/cobrands/fixmindelo/_colours.scss
new file mode 100644
index 000000000..cb261cff3
--- /dev/null
+++ b/web/cobrands/fixmindelo/_colours.scss
@@ -0,0 +1,17 @@
+/* COLOURS */
+
+$orange: #ff9900;
+$bluey: #6688ff;
+
+$mindelo_blue: #0855a3;
+$mindelo_green: #76c044;
+
+$primary: $mindelo_blue;
+$primary_b: #000000;
+$primary_text: #222222;
+
+$col_click_map: $mindelo_green;
+$col_click_map_dark: darken($mindelo_green, 10%);
+
+$col_fixed_label: #00BD08;
+$col_fixed_label_dark: #4B8304;
diff --git a/web/cobrands/fixmindelo/base.scss b/web/cobrands/fixmindelo/base.scss
new file mode 100644
index 000000000..9b333af60
--- /dev/null
+++ b/web/cobrands/fixmindelo/base.scss
@@ -0,0 +1,14 @@
+@import "../sass/h5bp";
+@import "./_colours";
+@import "../sass/mixins";
+@import "compass";
+
+$image-sprite: 'images/sprite.png';
+
+@import "../sass/base";
+
+#site-logo{
+ width: 225px !important;
+ background: url($image-sprite) -3px -3px no-repeat;
+}
+
diff --git a/web/cobrands/fixmindelo/config.rb b/web/cobrands/fixmindelo/config.rb
new file mode 100644
index 000000000..471b4b008
--- /dev/null
+++ b/web/cobrands/fixmindelo/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 \ No newline at end of file
diff --git a/web/cobrands/fixmindelo/images/fixmindelo-header.png b/web/cobrands/fixmindelo/images/fixmindelo-header.png
new file mode 100644
index 000000000..5fc855154
--- /dev/null
+++ b/web/cobrands/fixmindelo/images/fixmindelo-header.png
Binary files differ
diff --git a/web/cobrands/fixmindelo/images/sprite.png b/web/cobrands/fixmindelo/images/sprite.png
new file mode 100644
index 000000000..61df57289
--- /dev/null
+++ b/web/cobrands/fixmindelo/images/sprite.png
Binary files differ
diff --git a/web/cobrands/fixmindelo/images/tropical-sea-pattern.jpg b/web/cobrands/fixmindelo/images/tropical-sea-pattern.jpg
new file mode 100644
index 000000000..56c869c99
--- /dev/null
+++ b/web/cobrands/fixmindelo/images/tropical-sea-pattern.jpg
Binary files differ
diff --git a/web/cobrands/fixmindelo/layout.scss b/web/cobrands/fixmindelo/layout.scss
new file mode 100644
index 000000000..b9d84ff98
--- /dev/null
+++ b/web/cobrands/fixmindelo/layout.scss
@@ -0,0 +1,69 @@
+@import "_colours";
+
+$image-sprite: 'images/sprite.png';
+
+@import "../sass/layout";
+
+
+body {
+ background-color: #fff;
+ background-image: url(images/tropical-sea-pattern.jpg);
+ color: $primary_text;
+
+ .wrapper{
+ background-color: #fff;
+ background: url('images/fixmindelo-header.png') 30% 0% repeat-x;
+ }
+ #site-logo {
+ left:8px;
+ }
+}
+
+
+body.mappage {
+ .nav-wrapper {
+ .nav-wrapper-2 {
+ background: #fff;
+ }
+ }
+}
+
+#main-nav {
+ ul {
+ li {
+ a, span {
+ color: #000;
+ }
+ }
+ &#main-menu {
+ li {
+ a:hover {
+ background: $primary;
+ }
+ }
+ }
+ }
+}
+
+body.frontpage {
+ #site-logo {
+ width: 370px !important;
+ height: 70px;
+ background: url('images/sprite.png') -3px -106px no-repeat;
+ top: 2em;
+ left: 1em;
+ }
+
+ .wrapper {
+ background: url('images/fixmindelo-header.png') 30% 0% repeat-x;
+ }
+
+ #front-main-container {
+ color: #fff;
+ }
+
+ #front-main {
+ border-top: 3px solid $mindelo_green;
+ border-bottom: 3px solid $mindelo_green;
+ }
+}