From 0fe0f7e15317fd66925195bbb624bbb572d2b8ef Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Wed, 20 Apr 2016 15:40:15 +0100 Subject: Remove some unused cobrands. --- web/cobrands/barnet/_colours.scss | 22 - web/cobrands/barnet/barnet.scss | 115 --- web/cobrands/barnet/base.scss | 37 - web/cobrands/barnet/config.rb | 25 - web/cobrands/barnet/css/layout.css | 143 ---- web/cobrands/barnet/img/barnet-footer-logo.gif | Bin 5262 -> 0 bytes web/cobrands/barnet/img/barnet-logo.gif | Bin 6372 -> 0 bytes web/cobrands/barnet/img/barnet-skipnav.png | Bin 799 -> 0 bytes web/cobrands/barnet/img/bcArrow.gif | Bin 3741 -> 0 bytes web/cobrands/barnet/img/blank.gif | Bin 42 -> 0 bytes web/cobrands/barnet/img/browsealoud.gif | Bin 3109 -> 0 bytes web/cobrands/barnet/img/directgov.gif | Bin 3316 -> 0 bytes web/cobrands/barnet/img/favicon.ico | Bin 645 -> 0 bytes web/cobrands/barnet/img/fms-logo.png | Bin 4740 -> 0 bytes web/cobrands/barnet/img/nav-arrow-active.gif | Bin 3831 -> 0 bytes web/cobrands/barnet/img/nav-bg-active.gif | Bin 153 -> 0 bytes web/cobrands/barnet/img/social1-facebook.gif | Bin 499 -> 0 bytes web/cobrands/barnet/img/social2-twitter.gif | Bin 876 -> 0 bytes web/cobrands/barnet/img/social3-youtube.gif | Bin 1017 -> 0 bytes web/cobrands/barnet/img/social4-flickr.gif | Bin 670 -> 0 bytes web/cobrands/barnet/layout.scss | 247 ------ web/cobrands/barnet/position_map.js | 25 - web/cobrands/bellavistaenaccion/_colours.scss | 21 - web/cobrands/bellavistaenaccion/base.scss | 7 - web/cobrands/bellavistaenaccion/config.rb | 25 - web/cobrands/bellavistaenaccion/layout.scss | 2 - web/cobrands/emptyhomes/SEHPlogo-bwS.png | Bin 17954 -> 0 bytes web/cobrands/emptyhomes/Sheltercymru47.gif | Bin 960 -> 0 bytes web/cobrands/emptyhomes/Sheltercymru47s.png | Bin 9702 -> 0 bytes web/cobrands/emptyhomes/app.png | Bin 32982 -> 0 bytes web/cobrands/emptyhomes/c4logo.png | Bin 770 -> 0 bytes web/cobrands/emptyhomes/css/css.css | 318 -------- web/cobrands/emptyhomes/eha-logo.jpeg | Bin 14680 -> 0 bytes web/cobrands/emptyhomes/eha-logo.png | Bin 12522 -> 0 bytes web/cobrands/emptyhomes/eha.jpg | Bin 15204 -> 0 bytes web/cobrands/emptyhomes/eha.png | Bin 35399 -> 0 bytes web/cobrands/emptyhomes/street-r.jpeg | Bin 109683 -> 0 bytes web/cobrands/emptyhomes/tiger-aspect.png | Bin 4778 -> 0 bytes web/cobrands/fixmybarangay/_colours.scss | 21 - web/cobrands/fixmybarangay/base.scss | 69 -- web/cobrands/fixmybarangay/config.rb | 25 - web/cobrands/fixmybarangay/images/fmb-header.png | Bin 44269 -> 0 bytes .../fixmybarangay/images/fmb-spinner-16x16.gif | Bin 1850 -> 0 bytes .../fixmybarangay/images/ie_front_logo.gif | Bin 3473 -> 0 bytes web/cobrands/fixmybarangay/images/ie_logo.png | Bin 2143 -> 0 bytes web/cobrands/fixmybarangay/images/mobile-22x40.png | Bin 454 -> 0 bytes web/cobrands/fixmybarangay/images/pat3.png | Bin 3028 -> 0 bytes web/cobrands/fixmybarangay/images/sprite.png | Bin 17752 -> 0 bytes web/cobrands/fixmybarangay/layout.scss | 123 --- web/cobrands/fixmybarangay/message_manager.scss | 266 ------- .../fixmybarangay/message_manager_client.js | 850 --------------------- web/cobrands/fixmybarangay/messages.js | 26 - web/cobrands/fixmybarangay/position_map.js | 22 - web/cobrands/fixmybarangay/test-texts.json | 17 - web/cobrands/zerotb/_colours.scss | 24 - web/cobrands/zerotb/base.scss | 120 --- web/cobrands/zerotb/config.rb | 25 - web/cobrands/zerotb/images/pin-clinic-big.png | Bin 725 -> 0 bytes web/cobrands/zerotb/images/pin-clinic.png | Bin 674 -> 0 bytes web/cobrands/zerotb/images/pin-shadow-big.png | Bin 1202 -> 0 bytes web/cobrands/zerotb/images/pin-shadow.png | Bin 720 -> 0 bytes web/cobrands/zerotb/layout.scss | 105 --- web/css/_main-import.scss | 279 ------- web/css/cache-eha2.css | 493 ------------ web/css/core.scss | 751 ------------------ web/css/main.scss | 14 - web/js/fixmystreet-admin.js | 2 +- 67 files changed, 1 insertion(+), 4218 deletions(-) delete mode 100644 web/cobrands/barnet/_colours.scss delete mode 100644 web/cobrands/barnet/barnet.scss delete mode 100644 web/cobrands/barnet/base.scss delete mode 100644 web/cobrands/barnet/config.rb delete mode 100644 web/cobrands/barnet/css/layout.css delete mode 100644 web/cobrands/barnet/img/barnet-footer-logo.gif delete mode 100644 web/cobrands/barnet/img/barnet-logo.gif delete mode 100644 web/cobrands/barnet/img/barnet-skipnav.png delete mode 100644 web/cobrands/barnet/img/bcArrow.gif delete mode 100644 web/cobrands/barnet/img/blank.gif delete mode 100644 web/cobrands/barnet/img/browsealoud.gif delete mode 100644 web/cobrands/barnet/img/directgov.gif delete mode 100644 web/cobrands/barnet/img/favicon.ico delete mode 100644 web/cobrands/barnet/img/fms-logo.png delete mode 100644 web/cobrands/barnet/img/nav-arrow-active.gif delete mode 100644 web/cobrands/barnet/img/nav-bg-active.gif delete mode 100644 web/cobrands/barnet/img/social1-facebook.gif delete mode 100644 web/cobrands/barnet/img/social2-twitter.gif delete mode 100644 web/cobrands/barnet/img/social3-youtube.gif delete mode 100644 web/cobrands/barnet/img/social4-flickr.gif delete mode 100644 web/cobrands/barnet/layout.scss delete mode 100644 web/cobrands/barnet/position_map.js delete mode 100644 web/cobrands/bellavistaenaccion/_colours.scss delete mode 100644 web/cobrands/bellavistaenaccion/base.scss delete mode 100644 web/cobrands/bellavistaenaccion/config.rb delete mode 100644 web/cobrands/bellavistaenaccion/layout.scss delete mode 100644 web/cobrands/emptyhomes/SEHPlogo-bwS.png delete mode 100644 web/cobrands/emptyhomes/Sheltercymru47.gif delete mode 100644 web/cobrands/emptyhomes/Sheltercymru47s.png delete mode 100644 web/cobrands/emptyhomes/app.png delete mode 100644 web/cobrands/emptyhomes/c4logo.png delete mode 100644 web/cobrands/emptyhomes/css/css.css delete mode 100644 web/cobrands/emptyhomes/eha-logo.jpeg delete mode 100644 web/cobrands/emptyhomes/eha-logo.png delete mode 100644 web/cobrands/emptyhomes/eha.jpg delete mode 100644 web/cobrands/emptyhomes/eha.png delete mode 100644 web/cobrands/emptyhomes/street-r.jpeg delete mode 100644 web/cobrands/emptyhomes/tiger-aspect.png delete mode 100644 web/cobrands/fixmybarangay/_colours.scss delete mode 100644 web/cobrands/fixmybarangay/base.scss delete mode 100644 web/cobrands/fixmybarangay/config.rb delete mode 100644 web/cobrands/fixmybarangay/images/fmb-header.png delete mode 100644 web/cobrands/fixmybarangay/images/fmb-spinner-16x16.gif delete mode 100644 web/cobrands/fixmybarangay/images/ie_front_logo.gif delete mode 100644 web/cobrands/fixmybarangay/images/ie_logo.png delete mode 100644 web/cobrands/fixmybarangay/images/mobile-22x40.png delete mode 100644 web/cobrands/fixmybarangay/images/pat3.png delete mode 100644 web/cobrands/fixmybarangay/images/sprite.png delete mode 100644 web/cobrands/fixmybarangay/layout.scss delete mode 100644 web/cobrands/fixmybarangay/message_manager.scss delete mode 100644 web/cobrands/fixmybarangay/message_manager_client.js delete mode 100644 web/cobrands/fixmybarangay/messages.js delete mode 100644 web/cobrands/fixmybarangay/position_map.js delete mode 100644 web/cobrands/fixmybarangay/test-texts.json delete mode 100644 web/cobrands/zerotb/_colours.scss delete mode 100644 web/cobrands/zerotb/base.scss delete mode 100644 web/cobrands/zerotb/config.rb delete mode 100644 web/cobrands/zerotb/images/pin-clinic-big.png delete mode 100644 web/cobrands/zerotb/images/pin-clinic.png delete mode 100644 web/cobrands/zerotb/images/pin-shadow-big.png delete mode 100644 web/cobrands/zerotb/images/pin-shadow.png delete mode 100644 web/cobrands/zerotb/layout.scss delete mode 100644 web/css/_main-import.scss delete mode 100644 web/css/cache-eha2.css delete mode 100644 web/css/core.scss delete mode 100644 web/css/main.scss (limited to 'web') diff --git a/web/cobrands/barnet/_colours.scss b/web/cobrands/barnet/_colours.scss deleted file mode 100644 index d723003b5..000000000 --- a/web/cobrands/barnet/_colours.scss +++ /dev/null @@ -1,22 +0,0 @@ -/* COLOURS */ - -$menu-image: 'menu-black'; - -$primary: #E9E9EA; -$primary_b: #000000; -$primary_text: #3E3D44; - -/* Unused here */ -$base_bg: #fff; -$base_fg: #1a1a1a; -$map_nav_bg: #222; -$nav_fg: #fff; -$nav_fg_hover: #444; - -$col_big_numbers: #C0E8E8; - -$col_click_map: #E1E3E4; -$col_click_map_dark: darken(#E1E3E4, 10%); - -$col_fixed_label: #00BD08; -$col_fixed_label_dark: #4B8304; diff --git a/web/cobrands/barnet/barnet.scss b/web/cobrands/barnet/barnet.scss deleted file mode 100644 index a6feb018f..000000000 --- a/web/cobrands/barnet/barnet.scss +++ /dev/null @@ -1,115 +0,0 @@ -/* Parts of barnet's main CSS needed for its header/footer and adjusted (see - * bottom) to not be affected by main FixMyStreet CSS. Not very sustainable; - * perhaps we should wrap all council CSS within a SCSS #council ID? Hmm. - */ - -@import "compass"; - -#column_nav li { list-style: none ;} - -#content ol.big-numbers li { - padding: 0 0 0 2.5em; -} - -#barnet-wrapper { - width: 100%; - display: table; - caption-side: bottom; -} - -#barnet-powered-by { - clear: both; -} - -body {font-size: 75%; font-family: Arial, Helvetica, sans-serif; color: #3e3d44; padding: 0; margin: 0; line-height: 1.5; background: #e9e9ea;} -body > html {font-size: 12px;} - -#barnet-wrapper {padding: 0; margin: 20px auto; width: 960px; background: #fff;} -#ie_wrapper {display: block; padding: 20px 25px 25px;} -#page {float: left; width: 100%;} - -#mast {clear: both;} - -#mast .pseudoH1 {margin: 0 0 0 -3px; padding: 0; background: url(img/barnet-logo.gif) no-repeat top left; width: 240px; height: 38px; float: left;} -#mast .pseudoH1 a, #mast .pseudoH1 a:link, #mast .pseudoH1 a:visited, #mast .pseudoH1 a:hover, #mast .pseudoH1 a:active {display: block; width: 240px; height: 38px; padding: 0; background: url(img/barnet-logo.gif) no-repeat top left;} -#mast .pseudoH1 span {position: absolute; margin-top: -13000px; top: -13000px;} - -#mast .mast_links {float: right; display: inline; margin: 0; padding: 10px 0 0; list-style: none; overflow: hidden;} - -#mast #search {clear: both; float: right; margin: 8px 0 0; background: #e1e3e4; border-top: 6px solid #bddadc; border-bottom: 2px solid #c8cacb; width: 100%; padding: 3px 0 2px; height: 21px;} - -/* ############################################################## */ - -#content {margin: 0; width: 910px; overflow: hidden; min-height: 350px;} -#content.withWidth {margin: 0 0 0 232px; width: 446px; overflow: hidden; float: left; display: inline;} -#content.fullWidth {width: 678px;} -#content.home {margin-top: 18px;} - -.mappage { - #content.withWidth {margin: 0 0 0 0px; width: auto; overflow: hidden; float: left; display: inline;} - #content.fullWidth {width: 900px;} -} - -/* IE6 ignore the second #foo.bar rule so we have to fudge it another way */ -.ie6 { - .mappage { - #content { - margin: 0 0 0 0px; - overflow: hidden; - float: left; - display: inline; - width: 900px; - } - } -} - -#breadcrumb {font-size: .9em; color: #5c6267; padding: 6px 0; margin: 0 0 0 232px;} -#breadcrumb.full {margin: 0;} -#breadcrumb ul {margin: 0; padding: 0; list-style: none;} -#breadcrumb ul li {margin: 0; padding: 0 4px 0 0; display: inline;} -#breadcrumb ul li a:link, #breadcrumb ul li a:visited, #breadcrumb ul li a:hover, #breadcrumb ul li a:active {color: #5c6267; background: url(img/bcArrow.gif) no-repeat right center; padding: 0 10px 0 0; font-weight: normal;} -#breadcrumb ul li span {font-weight: normal; color: #5c6267;} - -/* ############################################################## */ - -#column_nav {width: 214px; float: left; display: inline; padding: 0; margin: -35px 0 0 -910px; border-right: 3px solid #fff;} - -.ie6 #column_nav { - float: none; - position: absolute; - top: 85px; - margin: 0 0 0 0px; -} - -body.mappage #column_nav { display: none; } - -#content h1 {margin: 0 0 20px; font-size: 1.8em; border-bottom: 6px solid #bed9dd; font-family: Georgia, Times, 'Times New Roman', serif; color: #5d6167;} -#content h1 span {padding: 6px 7px 3px; border: 1px solid #eff1f2; border-bottom: 0 none; display: block;} -#content h1#reports_heading span { display: none; } - -#column_nav .navigation {background: #fff; margin: 0 0 4px;} -#column_nav h2 {font-size: 1.2em; padding: 0; height: 29px; margin: 0; border-radius: 0 0 3px 3px; background: url(img/nav-bg-active.gif) left bottom repeat-x; border-top: 6px solid #bddadc;} -#column_nav #nav1 h2 {border-radius: 0 0 0 3px;} -#column_nav h2 a {color: #fff; padding: 3px 10px 0 26px; display: block; background: url(img/nav-arrow.gif) 8px 7px no-repeat;} -#column_nav .active h2 a {background: url(img/nav-arrow-active.gif) 8px 8px no-repeat;} -#column_nav ul {margin: 0 0 0 4px; padding: 8px 7px 4px; border-width: 0 1px 1px; border-color: #e1e1e1; border-style: solid; border-radius: 3px; list-style: none; background: #fff; background: -moz-linear-gradient(top, #ffffff 0%, #f7f9f8 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#f7f9f8)); background: -webkit-linear-gradient(top, #ffffff 0%,#f7f9f8 100%); background: -o-linear-gradient(top, #ffffff 0%,#f7f9f8 100%); background: -ms-linear-gradient(top, #ffffff 0%,#f7f9f8 100%); background: linear-gradient(top, #ffffff 0%,#f7f9f8 100%); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f7f9f8',GradientType=0);} -#column_nav ul li {margin: 0; padding: 2px 4px; border-bottom: 1px solid #bfc0c1; color: #333; font-size: .9em;} -#column_nav ul li.lastItem {border-bottom: none;} -#column_nav ul li a:link, #column_nav ul li a:visited, #column_nav ul li a:hover, #column_nav ul li a:active {display: block; color: #333; font-weight: normal;} -#column_nav ul li a:hover, #column_nav ul li a:active {text-decoration: none; color: #0090a2;} - -/* ############################################################## */ - -#footer {clear: both; margin: 10px 0 0; padding: 15px 0 0; text-align: left;} -#footer p {border-top: 1px solid #dadadb; border-bottom: 1px solid #dadadb; margin: 0 0 5px; color: #5d6167; float: left; display: inline; height: 24px; padding: 8px 0 2px; width: 551px;} -#footer p a {color: #5d6167; font-weight: normal; padding: 0 2px;} -#footer p.assocLinks {float: right; display: inline; padding: 5px 0; width: 359px;} -#footer p.assocLinks a {float: left; display: inline; margin: 0 0 0 8px; padding: 0; background-position: center top; background-repeat: no-repeat; width: 24px; height: 24px;} -#footer p.assocLinks a:active, #footer p.assocLinks a:hover, #footer p.assocLinks a:focus {background-position: center bottom;} -#footer a#goto_browsealoud {background-image: url(img/browsealoud.gif); width: 95px; height: 25px; margin-top: 1px;} -#footer a#goto_directgov {background-image: url(img/directgov.gif); width: 90px; margin: 0 0 0 22px;} -#footer a#share_facebook {background-image: url(img/social1-facebook.gif); margin: 0 0 0 24px;} -#footer a#share_twitter {background-image: url(img/social2-twitter.gif);} -#footer a#share_youtube {background-image: url(img/social3-youtube.gif);} -#footer a#share_flickr {background-image: url(img/social4-flickr.gif);} -#bottomBar {background: url(img/barnet-footer-logo.gif) 771px 12px no-repeat #21aaaa; display: block; width: 100%; height: 56px; border-top: 6px solid #bddadc;} diff --git a/web/cobrands/barnet/base.scss b/web/cobrands/barnet/base.scss deleted file mode 100644 index 73d5708c7..000000000 --- a/web/cobrands/barnet/base.scss +++ /dev/null @@ -1,37 +0,0 @@ -@import "../sass/h5bp"; -@import "./_colours"; -@import "../sass/mixins"; -@import "compass"; - -@import "../sass/base"; - -#mast, -#breadcrumb, -#page-title, -#column_nav, -#footer, -#bottomBar -{ display: none } - -#site-header{ - @include background(none); - background-color: white; -} -#site-logo { - width: 240px; - background: url('/cobrands/barnet/img/barnet-logo.gif') 0 0 no-repeat; - top: 0.6em; - left: 0.5em; -} - -#front-main #postcodeForm div input#sub, -.green-btn, -button.green-btn, -input.green-btn, -.red-btn, -button.red-btn, -input.red-btn{ - @include button-reset; - background: #5D6167; - color: white; -} diff --git a/web/cobrands/barnet/config.rb b/web/cobrands/barnet/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/barnet/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# 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/barnet/css/layout.css b/web/cobrands/barnet/css/layout.css deleted file mode 100644 index cad46b039..000000000 --- a/web/cobrands/barnet/css/layout.css +++ /dev/null @@ -1,143 +0,0 @@ -/* FixMyStreet additions */ -/* Smaller map */ -#mysociety #map_box { - width: 380px; - margin-bottom: 8px; -} -#mysociety #map, #mysociety #drag { - width: 378px; - height: 378px; -} - -#mysociety p#fixed, #mysociety p#unknown { - margin-right: 400px; - width: auto; -} - -#mysociety textarea { - border: 1px solid #999999; -} - -/* fix (for the reports page) */ -#content #mysociety h1 span { - display: inline; - border: none; - padding: 0; -} - -#mysociety #postcodeForm { - background-color: #E9E9EA; -} -#mysociety #postcodeForm label { - width: 100%; -} -/*=========FROM CUSTOM=========*/ -.cl {clear: both;} - -br.cl, div.cl { - height: 0; - font-size: 0.1px; - line-height: .0; - } - -.rm {position: absolute; left: -999em;} - -a.rm:active, a.rm:focus { - top: 15px; - left: 230px; - outline:none; - padding: 7px 10px; - font-weight:bold; - border: 1px solid #fff; - font-size: 1.2em; - background-color: #fff; - color: #008184; - } - -#iewrap {min-width: 775px; max-width: 1382px;} - -/*=== Content Page Layout ===*/ -#wrap { - float: right; - width: 100%; - margin: 5px 0 0 -270px; - padding: 0; - } - -#content{ - margin: 0 35px 0 275px; - padding: 0 5px 0 5px; - position: relative; - } - -#left-column { - float:left; - width: 270px; - line-height: 1.3em; - margin: 5px 0 0 0; - padding: 0; - } - -/*=== Content Page Elements===*/ - -#iewrap #print-logo {display:none} - -h1 {margin:0} -/* -h3, h4, h5, p, ol, ul, table, dl, address, form {margin-right: 5px; margin-left:5px} -h1, h2 {padding-left: 5px} -*/ - - -/*=== Quotes =====*/ -#content blockquote {margin:10px; min-height: 90px; padding-bottom: 10px} - -/*=== Tables =====*/ - -table.data {width:95%;} -table.data th {text-align:left; font-size:1.24em} -caption {text-align:left; font-weight:bold; font-style:italic} - -table.data td, table.data th {padding:6px 6px 6px 10px} -table.data {border-spacing:1px;} - -/*==== General styles for alignment of elements within the content area ==*/ - -.image-left, img.alignleft {position: relative;float: left;} -.image-inline, img.inline {display:block;} -.image-right, img.alignright {float:right;clear: right;} - -.alignleft {float: left; margin: 5px 10px 10px 0;} -.alignright {float: right; margin: 5px 0 10px 10px;} -.centered {display: block; margin: 10px auto; padding: 10px 0; text-align:center;} - -.two-col1 {float: left; width: 48%;} -.two-col2 {float: right; width: 48%;} - -/*======== form styles ========*/ - -.form-info {font-style: italic; font-weight: bold; padding: 5px 0 0 0} - -form {margin-top:0} - -fieldset { - margin: 0; - padding: 0; - border:none; - } - -legend { - padding: 0; - margin: 0; - font-size:1.308em; - font-weight:bold - } - - - -/*======= wide rows ======= */ -#content textarea {padding: 5px;} - - - - diff --git a/web/cobrands/barnet/img/barnet-footer-logo.gif b/web/cobrands/barnet/img/barnet-footer-logo.gif deleted file mode 100644 index afba1cca2..000000000 Binary files a/web/cobrands/barnet/img/barnet-footer-logo.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/barnet-logo.gif b/web/cobrands/barnet/img/barnet-logo.gif deleted file mode 100644 index 86e0f4ee8..000000000 Binary files a/web/cobrands/barnet/img/barnet-logo.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/barnet-skipnav.png b/web/cobrands/barnet/img/barnet-skipnav.png deleted file mode 100644 index 21efe0f67..000000000 Binary files a/web/cobrands/barnet/img/barnet-skipnav.png and /dev/null differ diff --git a/web/cobrands/barnet/img/bcArrow.gif b/web/cobrands/barnet/img/bcArrow.gif deleted file mode 100644 index 4e7c1848e..000000000 Binary files a/web/cobrands/barnet/img/bcArrow.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/blank.gif b/web/cobrands/barnet/img/blank.gif deleted file mode 100644 index 4bcc753a1..000000000 Binary files a/web/cobrands/barnet/img/blank.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/browsealoud.gif b/web/cobrands/barnet/img/browsealoud.gif deleted file mode 100644 index 4fbb3eded..000000000 Binary files a/web/cobrands/barnet/img/browsealoud.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/directgov.gif b/web/cobrands/barnet/img/directgov.gif deleted file mode 100644 index 1c9dd22e2..000000000 Binary files a/web/cobrands/barnet/img/directgov.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/favicon.ico b/web/cobrands/barnet/img/favicon.ico deleted file mode 100644 index 03553e500..000000000 Binary files a/web/cobrands/barnet/img/favicon.ico and /dev/null differ diff --git a/web/cobrands/barnet/img/fms-logo.png b/web/cobrands/barnet/img/fms-logo.png deleted file mode 100644 index 23bea6b0f..000000000 Binary files a/web/cobrands/barnet/img/fms-logo.png and /dev/null differ diff --git a/web/cobrands/barnet/img/nav-arrow-active.gif b/web/cobrands/barnet/img/nav-arrow-active.gif deleted file mode 100644 index 89ff9d0b3..000000000 Binary files a/web/cobrands/barnet/img/nav-arrow-active.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/nav-bg-active.gif b/web/cobrands/barnet/img/nav-bg-active.gif deleted file mode 100644 index 0d2ec9873..000000000 Binary files a/web/cobrands/barnet/img/nav-bg-active.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/social1-facebook.gif b/web/cobrands/barnet/img/social1-facebook.gif deleted file mode 100644 index 41b404df0..000000000 Binary files a/web/cobrands/barnet/img/social1-facebook.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/social2-twitter.gif b/web/cobrands/barnet/img/social2-twitter.gif deleted file mode 100644 index 17f368536..000000000 Binary files a/web/cobrands/barnet/img/social2-twitter.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/social3-youtube.gif b/web/cobrands/barnet/img/social3-youtube.gif deleted file mode 100644 index eeb6ba356..000000000 Binary files a/web/cobrands/barnet/img/social3-youtube.gif and /dev/null differ diff --git a/web/cobrands/barnet/img/social4-flickr.gif b/web/cobrands/barnet/img/social4-flickr.gif deleted file mode 100644 index 300e75da0..000000000 Binary files a/web/cobrands/barnet/img/social4-flickr.gif and /dev/null differ diff --git a/web/cobrands/barnet/layout.scss b/web/cobrands/barnet/layout.scss deleted file mode 100644 index 0ec085354..000000000 --- a/web/cobrands/barnet/layout.scss +++ /dev/null @@ -1,247 +0,0 @@ -@import "_colours"; -@import "../sass/layout"; - -#mast, -#breadcrumb, -#page-title, -#column_nav, -#footer, -#bottomBar { - display: block; -} - -// So that map appears underneath the header -.wrapper { - position: relative; -} -.ie6, .ie7 { - .wrapper { - padding-top: 1em; - } -} - -#front-main { - @include border-radius(1em 1em 0 0); - margin-bottom: 1em; - padding-top: 0; - width: 678px; - // layout sets this because base has it slightly lighter - #front-main-container { - padding: 1em; - } -} - -#front_intro { - float: left; - margin-right: 3em; -} - -#front_recent { - margin-left: 3em; -} - -body.fullwidthpage { - .content { - width: 52em; - } -} -.ie6 { - body.fullwidthpage { - #front-main { - margin-top: -4em; - } - #front-howto, - #front-recently { - width: 26em; - } - .container { - padding: 0; - } - .content { - margin-left: 0px; - width: 55em; - } - div.img { - margin-top: -3.3em; - } - } -} - -.content { - @include box-shadow(none); -} - -body.twothirdswidthpage { - .content { - width: 640px; - margin-top: 0; - .sticky-sidebar { - display: none; - aside { - top: 25em; - } - } - } -} - -.nav-wrapper { - display: none; -} - -.mappage { - #breadcrumb { - margin-left: 0px; - } -} - -.frontpage .content { - margin: 0; -} -.iel8 { - .frontpage .content { - border: none; - } -} - -#content .container h1 { - border-bottom: none; - font-size: 2em; - margin-bottom: 0.5em; -} - -.shadow-wrap { - position: static; - padding-top: 0; - margin-bottom: 1em; - ul#key-tools { - border-top: none; - border-bottom: 1px solid $primary; - li { - a.chevron { - background-position: right -3230px; - } - a.feed { - background-position: right -3080px; - } - a.abuse { - background-position: right -2940px; - } - } - } - ul#key-tools.singleton { - li a { - padding-right: 4em; - } - } -} - -#content h1.big-green-banner { - font-size: 1.4em; - margin-left: -2em; - background: #e1e3e4 url(/cobrands/fixmystreet/images/sprite.png) right -2192px no-repeat -} - -body.frontpage { - #user-meta { - p { - top: 1em; - color: $primary_text; - a { - background: none; - } - } - } -} -#user-meta { - float: right; - p { - @include box-shadow(none); - color: $primary_text; - position: relative; - background: none; - a { - color: $primary_text; - background: none; - } - a:hover { - background: $primary; - } - } -} -.ie6 { - #user-meta { - float: none; - p { - position: absolute; - margin-top: 35px; - margin-right: 20px; - right: 0px; - left: auto; - } - - } - .mappage { - #user-meta { - p { - margin-right: -100px; - } - } - } -} - -/* barnet styles */ - -.clear { - clear: both; -} - -#site-header, -#site-logo { - display: none !important; -} - - -#report-a-problem-sidebar { - left: 29em; - top: 4em; - width: 17em; - .sidebar-tips, - .sidebar-notes { - font-size: 0.9em; - } -} -.ie6 { - #report-a-problem-sidebar { - margin-top: -4em; - left: 29em; - .sidebar-notes { - padding-bottom: 0.5em; - } - p { - margin-bottom: 0.4em; - } - } -} - - -.general-notes { - font-size: 1em; -} - -#front-howto #front_stats div big { - color: #C0E8E8; -} - -.banner { - p { - top: -2em; - } - p#fixed { - padding-top: 4em; - } -} - - -#map_box { - border: 1px solid #999; -} diff --git a/web/cobrands/barnet/position_map.js b/web/cobrands/barnet/position_map.js deleted file mode 100644 index b2b7bf05a..000000000 --- a/web/cobrands/barnet/position_map.js +++ /dev/null @@ -1,25 +0,0 @@ -function position_map_box() { - var map_pos = 'absolute', map_height = $('.wrapper').height(); - // on the all reports page the height of the wrapper leads to a very - // large map so we set a maximum size - if ( map_height > 600 ) { - map_height = 600; - } - $('#map_box').prependTo('.wrapper').css({ - zIndex: 0, position: map_pos, - top: 1, left: $('.wrapper').left, - right: 0, bottom: $('.wrapper').bottom + 1, - width: '896px', height: map_height, - margin: 0 - }); -} - -function map_fix() { - var height = $('.wrapper').height() - 3; - if ( height > 600 ) { - height = 600; - } - $('#map_box').height(height); -} - -var slide_wards_down = 1; diff --git a/web/cobrands/bellavistaenaccion/_colours.scss b/web/cobrands/bellavistaenaccion/_colours.scss deleted file mode 100644 index cfe698046..000000000 --- a/web/cobrands/bellavistaenaccion/_colours.scss +++ /dev/null @@ -1,21 +0,0 @@ -/* 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 deleted file mode 100644 index 9fccf92db..000000000 --- a/web/cobrands/bellavistaenaccion/base.scss +++ /dev/null @@ -1,7 +0,0 @@ -@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 deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/bellavistaenaccion/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# 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 deleted file mode 100644 index 69e455aa5..000000000 --- a/web/cobrands/bellavistaenaccion/layout.scss +++ /dev/null @@ -1,2 +0,0 @@ -@import "_colours"; -@import "../sass/layout"; diff --git a/web/cobrands/emptyhomes/SEHPlogo-bwS.png b/web/cobrands/emptyhomes/SEHPlogo-bwS.png deleted file mode 100644 index 496d43115..000000000 Binary files a/web/cobrands/emptyhomes/SEHPlogo-bwS.png and /dev/null differ diff --git a/web/cobrands/emptyhomes/Sheltercymru47.gif b/web/cobrands/emptyhomes/Sheltercymru47.gif deleted file mode 100644 index b7eb2c4ff..000000000 Binary files a/web/cobrands/emptyhomes/Sheltercymru47.gif and /dev/null differ diff --git a/web/cobrands/emptyhomes/Sheltercymru47s.png b/web/cobrands/emptyhomes/Sheltercymru47s.png deleted file mode 100644 index 5547be1e0..000000000 Binary files a/web/cobrands/emptyhomes/Sheltercymru47s.png and /dev/null differ diff --git a/web/cobrands/emptyhomes/app.png b/web/cobrands/emptyhomes/app.png deleted file mode 100644 index 8f422b08d..000000000 Binary files a/web/cobrands/emptyhomes/app.png and /dev/null differ diff --git a/web/cobrands/emptyhomes/c4logo.png b/web/cobrands/emptyhomes/c4logo.png deleted file mode 100644 index 783385e30..000000000 Binary files a/web/cobrands/emptyhomes/c4logo.png and /dev/null differ diff --git a/web/cobrands/emptyhomes/css/css.css b/web/cobrands/emptyhomes/css/css.css deleted file mode 100644 index 829986f59..000000000 --- a/web/cobrands/emptyhomes/css/css.css +++ /dev/null @@ -1,318 +0,0 @@ -/* Smaller map */ -/* -#map_box { - width: 380px; -} -#map, #drag { - width: 378px; - height: 378px; -} - -p#fixed, p#unknown { - margin-right: 400px; - width: auto; -} -*/ - -/* Generics */ - -body { - font-family: Geneva, Helvetica, Arial, sans-serif; - margin: 0; - padding: 0; - /* color: #a9aeb0; */ -} - -h1 { - margin: 0; - font-size: 165%; - padding: 3px; - color: #FFFFFF; - background-color: #9999CC; - background-color: #30517A; - -} -h2 { - font-size: 140%; - background-color: #B1BECF; - color: #30517A; - padding: 3px; -} - -h3 { - color: #30517A; -} - -a:link { - color: #30517A; -} -a:visited { - color: #354664; -} -a:hover, a:active { - background-color: #B1BECF; -} - -#mysociety blockquote { - border-left: solid 4px #013B63; -} - -#mysociety .a { - color: #000000; - background-color: #DCDCED; /* #427499; */ - background-color: #B1BECF; -} - -/* Site layout */ - -#header { - margin: 0; - padding: 5px 0; - float: left; -} - -#header img { - margin-left: 0.5em; -} - -#header #eha-logo { - float: left; - margin-right: 1em; -} - -#header div { - float: left; - margin-top: 0.5em; -} - -#mysociety { - width: 100%; /* Must specify a width or IE goes crazy wrong! */ - position: relative; - margin: 0 auto; - max-width: 60em; -} - -/* Can't put the margin in #mysociety because of above IE craziness */ -#wrapper { - clear: both; - margin: 0 2em 2em; - padding-top: 2em; -} - -#navigation { - float: right; - padding: 0; - margin: 0; - list-style-type: none; - font-size: 83%; -} -#navigation ul { - padding: 0; - margin: 0; -} -#navigation li { - display: inline; - padding: 0; - margin: 0; -} - -#navigation a { - display: -moz-inline-box; - display: inline-block; - padding: 0.5em 0.5em; -} -#navigation a:link, #navigation a:visited { - color: #30517A; -} -#navigation a:hover, #navigation a:active { - background-color: #DCDCED; - background-color: #9999CC; - background-color: #B1BECF; - - color: #ffffff; - color: #30517A; -} - -#nav_new a { - background-image: url("/i/new.png"); - background-repeat: no-repeat; - background-position: 100% 0; -} - -#meta { - clear: right; - float: right; - list-style-type: none; - margin: 0.25em 0.5em 0 1em; - padding: 0; - font-size: 83%; -} -#meta li { - display: inline; - margin: 0; - padding: 0 0 0 0.25em; - border-left: solid 1px #B1BECF; -} -#meta li:first-child { - border-left: none; -} - -#logo { - border: none; - position: absolute; - top: 4em; - right: 10px; -} - -#emptyhomes-footer { - clear: both; - font-size: 83%; - border-top: solid 2em #ffffff; - background-color: #B1BECF; - color: #000; - margin: 2em 0 1em 0; - padding: 20px; - overflow: auto; -} - -.ie6 #emptyhomes-footer { - zoom: 1; -} - -#emptyhomes-footer div { - float: left; - margin-right: 2em; -} - -#emptyhomes-footer a { - color: #000; -} - -#mysociety #postcodeForm { - background-color: #fe6500; - color: #000000; - font-size: 130%; -} - -#mysociety #postcodeForm a, #mysociety #postcodeForm a:hover { - color: #000000; - background-color: inherit; -} - -#mysociety #front_stats { - display: block; -} -#mysociety #front_stats div { - vertical-align: middle; - background-color: #fe6500; - color: #000000; - padding: 0.5em; - width: auto; - display: block; - margin-bottom: 0.5em; -} -#mysociety #front_stats div a { - color: #000000; - background-color: inherit; -} -#mysociety #front_stats div big { - display: inline; -} - -#mysociety #front_stats div#eha-app-link { - padding-top: 16px; - padding-left: 120px; - color: #fe6500; - background-color: #fff; - background-image: url("/cobrands/emptyhomes/app.png"); - background-repeat: no-repeat; -} -#mysociety #front_stats div#eha-app-link a { - color: #fe6500; - background-color: #000; -} - -#mysociety #problem_form { - clear: both; -} - -#mysociety #alert_links_area { - margin-top: 1px; -} - -#mysociety #eha_advert { - clear: both; - width: 55%; - margin: 0 auto; - padding: 0.5em; - text-align: center; - background-color: #ffeecc; - border: solid 1px #ff9900; -} - -#mysociety #front_intro { - margin-bottom: 1em; -} - -.video { - float: right; - margin-left: 35px; -} - -.channel4 { - font-size: 125%; -} -.channel4 > li:first-child + li { - margin-bottom: 1em; -} - -/* Front page how to report big */ - -#eha_steps { - background-image: url("/cobrands/emptyhomes/street-r.jpeg"); - background-repeat: no-repeat; - padding: 0.5em 2% 0.5em 8%; -} -#eha_steps h2 { - color: #000; - background-color: #fe6500; - margin-top: 0; - margin-bottom: 0.4em; -} -#eha_steps ol { - list-style-position: inside; - padding: 0 0 0 40%; - margin: 0; -} -#eha_steps li { - color: #fff; - background-color: #000; - padding: 0.25em; - margin-bottom: 0.5em; -} - -.bl { - color: #fff; - background-color: #000; -} - -/* Noddy half grid */ - -.grid-50 { - float: right; - width: 48%; - margin-right: 2%; -} -.grid-50:first-child { - margin-right: 0; -} -.grid-50 > h2:first-child { - margin-top: 0; -} -@media all and (max-width: 50em) { - #mysociety .grid-50 { - float: none; - width: auto; - } -} - diff --git a/web/cobrands/emptyhomes/eha-logo.jpeg b/web/cobrands/emptyhomes/eha-logo.jpeg deleted file mode 100644 index 250be8502..000000000 Binary files a/web/cobrands/emptyhomes/eha-logo.jpeg and /dev/null differ diff --git a/web/cobrands/emptyhomes/eha-logo.png b/web/cobrands/emptyhomes/eha-logo.png deleted file mode 100644 index 5cc912521..000000000 Binary files a/web/cobrands/emptyhomes/eha-logo.png and /dev/null differ diff --git a/web/cobrands/emptyhomes/eha.jpg b/web/cobrands/emptyhomes/eha.jpg deleted file mode 100644 index 56e767b86..000000000 Binary files a/web/cobrands/emptyhomes/eha.jpg and /dev/null differ diff --git a/web/cobrands/emptyhomes/eha.png b/web/cobrands/emptyhomes/eha.png deleted file mode 100644 index 8c17db486..000000000 Binary files a/web/cobrands/emptyhomes/eha.png and /dev/null differ diff --git a/web/cobrands/emptyhomes/street-r.jpeg b/web/cobrands/emptyhomes/street-r.jpeg deleted file mode 100644 index 722738de8..000000000 Binary files a/web/cobrands/emptyhomes/street-r.jpeg and /dev/null differ diff --git a/web/cobrands/emptyhomes/tiger-aspect.png b/web/cobrands/emptyhomes/tiger-aspect.png deleted file mode 100644 index 53e8d5311..000000000 Binary files a/web/cobrands/emptyhomes/tiger-aspect.png and /dev/null differ diff --git a/web/cobrands/fixmybarangay/_colours.scss b/web/cobrands/fixmybarangay/_colours.scss deleted file mode 100644 index d5544ff07..000000000 --- a/web/cobrands/fixmybarangay/_colours.scss +++ /dev/null @@ -1,21 +0,0 @@ -/* COLOURS */ - -$primary: #fff; //E6DBD6 -$primary_b: #000000; -$primary_text: #222222; - -$base_bg: #C7B299 url(images/pat3.png); -$base_fg: $primary_text; - -$map_nav_bg: url('images/fmb-header.png') 30% 0% repeat-x; -$nav_fg: #fff; -$nav_fg_hover: rgba(0,0,0,0.8); - -$col_click_map: #00BD08; -$col_click_map_dark: #4B8304; -$col_fixed_label: #00BD08; -$col_fixed_label_dark: #4B8304; - -$fmb_base_blue: #046AAA; -$fmb_dark_blue: #084E7A; -$fmb_tab_yellow: #FFD000; diff --git a/web/cobrands/fixmybarangay/base.scss b/web/cobrands/fixmybarangay/base.scss deleted file mode 100644 index 2f3fddaf3..000000000 --- a/web/cobrands/fixmybarangay/base.scss +++ /dev/null @@ -1,69 +0,0 @@ -@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; -} - -#barangay_buttons { - padding: 1em; -} - -.yellow-btn, -a.yellow-btn, -button.yellow-btn, -input.yellow-btn{ - @include button-reset(#FFD000, #cc9000, #aa7000, #300, #FFD000, #cc9000, #aa7000, #300); - &:visited, &:hover { - color:#300; - } -} - -.nav-menu--main a.report-a-problem-btn:hover { - background: #fff; -} - -.ie6 #site-logo { - background-image: url('images/ie_logo.png'); -} - -// #site-header creates grey bar in mobile -// .nav-wrapper-2 is used on desktop -#site-header{ - border-top: 0.25em solid $fmb_tab_yellow; - @include background(linear-gradient($fmb_dark_blue, $fmb_base_blue 10%, $fmb_base_blue 90%, $fmb_dark_blue)); -} - -ul#promo-list { - margin: 0.5em; - li { - list-style:none; - } -} -.promo-big, .promo-bigger { - font-size: 130%; - font-weight: bold; - padding: 0 0.2em; -} -.promo-bigger { - font-size: 150%; -} -.promo-example { - font-size: 90%; - font-style: italic; - border: 1px solid #aaa; - background-color:#f0ebe8; // pale tone of background image - padding: 0.666em; - margin: 1em 1em 1em 0; - div { - font-style: normal; - font-family: monospace; - } -} diff --git a/web/cobrands/fixmybarangay/config.rb b/web/cobrands/fixmybarangay/config.rb deleted file mode 100644 index cab97b18f..000000000 --- a/web/cobrands/fixmybarangay/config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# 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/fixmybarangay/images/fmb-header.png b/web/cobrands/fixmybarangay/images/fmb-header.png deleted file mode 100644 index c3c45e009..000000000 Binary files a/web/cobrands/fixmybarangay/images/fmb-header.png and /dev/null differ diff --git a/web/cobrands/fixmybarangay/images/fmb-spinner-16x16.gif b/web/cobrands/fixmybarangay/images/fmb-spinner-16x16.gif deleted file mode 100644 index da5ea679a..000000000 Binary files a/web/cobrands/fixmybarangay/images/fmb-spinner-16x16.gif and /dev/null differ diff --git a/web/cobrands/fixmybarangay/images/ie_front_logo.gif b/web/cobrands/fixmybarangay/images/ie_front_logo.gif deleted file mode 100644 index 2eeda87ef..000000000 Binary files a/web/cobrands/fixmybarangay/images/ie_front_logo.gif and /dev/null differ diff --git a/web/cobrands/fixmybarangay/images/ie_logo.png b/web/cobrands/fixmybarangay/images/ie_logo.png deleted file mode 100644 index 454297104..000000000 Binary files a/web/cobrands/fixmybarangay/images/ie_logo.png and /dev/null differ diff --git a/web/cobrands/fixmybarangay/images/mobile-22x40.png b/web/cobrands/fixmybarangay/images/mobile-22x40.png deleted file mode 100644 index 6a85ab097..000000000 Binary files a/web/cobrands/fixmybarangay/images/mobile-22x40.png and /dev/null differ diff --git a/web/cobrands/fixmybarangay/images/pat3.png b/web/cobrands/fixmybarangay/images/pat3.png deleted file mode 100644 index a0f755de9..000000000 Binary files a/web/cobrands/fixmybarangay/images/pat3.png and /dev/null differ diff --git a/web/cobrands/fixmybarangay/images/sprite.png b/web/cobrands/fixmybarangay/images/sprite.png deleted file mode 100644 index cbde4ac7f..000000000 Binary files a/web/cobrands/fixmybarangay/images/sprite.png and /dev/null differ diff --git a/web/cobrands/fixmybarangay/layout.scss b/web/cobrands/fixmybarangay/layout.scss deleted file mode 100644 index defe1afd0..000000000 --- a/web/cobrands/fixmybarangay/layout.scss +++ /dev/null @@ -1,123 +0,0 @@ -@import "_colours"; - -$image-sprite: 'images/sprite.png'; - -@import "../sass/layout"; - -@mixin box_round($radius) { - -webkit-border-radius: $radius; /* Safari 3-4, iOS 1-3.2, Android ≤1.6 */ - border-radius: $radius; /* Opera 10.5, IE9+, Safari 5, Chrome, Firefox 4+, iOS 4, Android 2.1+ */ - - /* useful if you don't want a bg color from leaking outside the border: */ - -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; -} - -body { - .wrapper{ - background: url('images/fmb-header.png') 30% 0% repeat-x; - } - #site-logo { - left:8px; - } -} - - -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/fmb-header.png') 30% 0% repeat-x; - } -} - -.ie6 body.frontpage #site-logo { - background-image: url(images/ie_front_logo.gif); -} - -body.mappage .nav-wrapper div.nav-wrapper-2 { - border-bottom: 2px solid #333; -} - -#mysoc-logo { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIkAAAAyCAMAAABf9whNAAAA0lBMVEUAAABAQEBAQEBAQEBNTU1NTU1AQEBNTU1AQEBAQEBAQEBAQEBAQEBAQEBAQEBNTU1NTU1AQEBNTU1AQEBNTU1AQEBAQEBNTU2Mxj9NTU33kx5NTU1NTU1NTU3tHCRmLZEpq+JNTU2TJ4/tHCSTJ4/87iEpq+L3kx5NTU387iH87iHtHCSTJ4/3kx51K5CTJ49mLZGMxj/tHCSx0zVmLZH6wSBmLZFmLZFDdb/zYCFbuZGMxj/3kx5AQEBNTU0pq+LtHCSMxj/3kx787iFmLZGTJ49ns3BGAAAAPXRSTlMAQL+AQIAQECBwMGBQj98gn5/Pr+/vzzC/r79wYI9wv69QcK+vcICfv68QQBAwj0AwMBBggIBQr3BwgEBgSmaQCwAAAflJREFUeF7t1Ndy2zAQhtGfAAX2IpFUseSSOLGd3nt27bT3f6UsQHusRFcKmVxkcGa4wvCG34AQ8V/wPM/zPM8zSaOaxGBHtFpF+IfikqwYO0LmELfiHH/XlLokSBrsiurtPdGkMJJFWFWTSQUZC0RhWMFNRQWuvTw9RS/VOolNEBgAudYpkE5pHqRpEACIZQ4x4RkztxMWd6KWa2DDvFDUBeg9urr6cPAZMIqEDogCmDmJKdwtlbjXOCc1sIRnhyxj0vIMNbeQMUNun5DBOTo6/3oASMhUF6krka3IM1lkikqdGaICMVE2sKSNICkR1sxYyMag5TWQd7bFPH4G8eT8zcOUKIGwJUYuSE7hzoldlZAwM7Dkwg4GQjtmXMtvBZHNiZJ7P+5C3P/2oH9SXyKXo1yJq0sbmmLMkg23h7xCryR1W5L8WqKsmz1BSbqjfNSSiMUGMEB/Bp8ePwdeLF/ZAn1TEssFR1MJIZmyGLUENXNrI8pCK6IMx99fn50tvyyBcuvEKuqKXDcuocgAQ/I7conMGgA5BfD23fvLy4/LT0Ba/v4vphRxR9dnlmIMU4ULO0IgsgPr/rya3H7F4JycoCf3sq0vW5ICiLXO3YtsMC4JqbG3uCFKMSb3nYuwNyLKMK6Q6wj7a7oMY4vwJwwG8TzP8zzP834CEcRJKkEhVogAAAAASUVORK5CYII="); -} -#front-main { - background: rgba(255,255,255,0.1); - margin-top: 70px; - - #postcodeForm { - margin-left: 0; - margin-right: 0; - } - - a { - text-decoration:none; - } - - p { - padding-bottom:4px; - } -} - -.nav-menu--mysoc { - padding: 1px 0.5em; -} -.nav-menu--main { - padding: 3px 0; -} - -body.mappage .nav-menu--main a, -body.mappage .nav-menu--main span, -.nav-menu--main a, -.nav-menu--main span -{ - color: #fff; - padding: 0.7em; - background-color: rgba(0,0,0,0); - background-image: none; - @include box_round(0.35em); - margin-left: 3px; - - &.report-a-problem-btn { - color: #fff; - padding: 0.7em; - background-color: rgba(0,0,0,0); - background-image: none; - margin: 0; - } - - &.fmb-bgy-btn { - color: #fcc921; - } - - &:hover { - background-color: rgba(0,0,0,0.75); - background-image: none; - } -} - - -#user-meta { - max-width: 96%; -} - - - -#front-howto { - #front_stats { - border-top: 0.25em solid #000; - div { - big { - color: #000; - } - } - } -} - -@import "message_manager"; diff --git a/web/cobrands/fixmybarangay/message_manager.scss b/web/cobrands/fixmybarangay/message_manager.scss deleted file mode 100644 index 9af6c80ee..000000000 --- a/web/cobrands/fixmybarangay/message_manager.scss +++ /dev/null @@ -1,266 +0,0 @@ -@import "_colours"; - -$mm_status_message_color: #a66; -$mm_border_color: #eee; - -$color_reply_bg: #cccccc; -$color_bg_reply_0: #E8E8E8; -$color_bg_reply_1: #DEDEDE; -$color_bg_reply_2: #D6D6D6; -$color_bg_reply_3: #D1D1D1; -$color_bg_reply_4: #C9C9C9; -$color_bg_reply_5: #BFBFBF; -$color_bg_reply_6: #B8B8B8; -$color_bg_mm_list: #F6F6F6; - -$color_bg_btn_hide: #ff0000; -$color_bg_btn_reply: #008000; -$color_bg_btn_info: #0000ff; -$color_bg_btn_detach: #FFA500; - -$weak_text_color: #666; - -p.mm-submitted-by-sms { - color: $weak_text_color; - font-style: italic; - font-size: 0.8125em; - img { - border: none; - margin-right: 0.5em; - width: 22px; - height: 40px; - vertical-align:middle; - display: inline; - } -} - -#message_manager { - margin-top: 0; - li#mm-admin-buttons { - margin: -0.5em 0 0 0; - text-align: right; - font-size:80%; - padding:4px 0; - a { - padding: 0.25em 0.5em; - border:1px solid $mm_border_color; - margin: 0 0.5em; - display: inline-block; - } - background-color: #fff; - &:hover { - background-color: #fff; - } - #mm-link-to-toggle-archive { - border-color: green; - } - } - #message-control { - background-color: #fff; - &:hover { - background-color: #fff; - } - #mm-username-container { - display: none; // hidden during dev - padding: 8px; - text-align: right; - color: $mm_status_message_color; - font-style: italic; - span { - color: #000; - font-style: normal; - } - } - #mm-status-message-container { - position: relative; - min-height: 1.4em; - margin: 0 0 8px 0.5em; - padding: 8px 4px 8px 24px; - color: $mm_status_message_color; - font-style: italic; - p { - margin:0; - padding:0; - } - #mm-spinner { - position: absolute; - left: 4px; - top: 10px; - display: none; - } - } - #mm-login-container { - display: none; // only shown on/after a 403 - border: 1px solid $mm_border_color; - padding: 0 1em; - margin: 1em; - input { - margin-bottom: 1em; - } - } - } - - #mm-message-list { - ul { - list-style-type: none; - padding: 0; - margin: 0; - li, ul.mm-reply-thread li { - position: relative; - clear: both; - margin: 4px 0 0 0; - padding: 0; - background-color: $color_bg_mm_list; - p { - background-color: inherit; - margin: 0.25em 0 0 0; - padding: 0.5em 1em; - &:hover { background-color: #efe;} - .msg-info-box { - font-style: italic; - font-size: 90%; - color: #666; - border-top: 1px dashed #666; - padding:4px 0 0 0; - margin: 4px 0 0 0; - display: none; - } - } - ul.mm-reply-thread { - li { - margin:0; - } - .mm-reply { - background-color: #ccc; - &:hover {background-color: #eef;} - } - .mm-reply-0 { margin-left: 0em; background-color: $color_bg_reply_0;} - .mm-reply-1 { margin-left: 1em; background-color: $color_bg_reply_1;} - .mm-reply-2 { margin-left: 2em; background-color: $color_bg_reply_2;} - .mm-reply-3 { margin-left: 3em; background-color: $color_bg_reply_3;} - .mm-reply-4 { margin-left: 4em; background-color: $color_bg_reply_4;} - .mm-reply-5 { margin-left: 5em; background-color: $color_bg_reply_5;} - .mm-reply-6 { margin-left: 6em; background-color: $color_bg_reply_6;} - } - &:hover { background-color: #efe;} - &.msg-is-locked { background-color: #fdd;} - &.msg-is-busy { background-color: #ffd;} - &.msg-is-owned { background-color: #dfd;} - &.msg-is-active { - background-color: $col_click_map; color:#fff; - p:hover { background-color: $col_click_map; color:#fff; } // fix for mouseover on p - p.mm-reply:hover {background-color: #eef; color:#000;} // fix for mouseover on p - } - span.msg-tag { - width: 3em; - float:left; - } - .mm-radio-filler, - input[type=radio] { - display: block; - float: left; - } - label, span.msg-text { - display: block; - font-weight: normal; - margin: 0.1em 0 0.1em 4.5em; - } - .mm-radio-filler { - margin:0; - padding:0; - } - .mm-msg-action { - display: none; - padding: 0.2em 0.4em; - color: white; - text-align: center; - position: absolute; - top: 4px; - &:hover { background-color: black;} - } - .mm-hide { - right:0px; - background-color: $color_bg_btn_hide; - cursor: pointer; - } - .mm-info { - right:1.5em; - background-color: $color_bg_btn_info; - cursor: pointer; - } - .mm-rep { - right:2.6em; - background-color: $color_bg_btn_reply; - cursor: pointer; - } - .mm-detach { - right:5.65em; - background-color: $color_bg_btn_detach; - cursor: pointer; - } - } - &.mm-archive { - display: none; // archive only shown on interaction - li label { - cursor: default; - } - } - } - } - p.mm-empty { - margin: 1em; - } -} -#show_messages, #copy_to_update, #reply-submit { - margin: 1em; -} -#copy_to_update { - display: none; // show on demand, not before -} -#show_messages { - width: 11em; // hack to stop adjacent button hopping when button message changes -} - -#detach-form-container, -#reply-form-container, -#hide-form-container { - p { - color: #000; - max-width: 25em; - margin: 1em; - } - #hide-form, - #reply-form{ - margin-top: 2em; - textarea { - min-height: 3em; - margin-bottom: 0.5em; - } - } - #mm-boilerplate-replies-box, #mm-boilerplate-hide-reasons-box { - overflow: hidden; - display: none; - } - select { - width: 100%; - max-width: 25em; - } -} -#mm-help { - .demo_hide_btn, .demo_reply_btn, .demo_info_btn, .demo_detach_btn { - color: #fff; - font-weight: bold; - padding: 0.2em 0.4em; - } - .demo_hide_btn { background-color: $color_bg_btn_hide; } - .demo_reply_btn { background-color: $color_bg_btn_reply; } - .demo_info_btn { background-color: $color_bg_btn_info; } - .demo_detach_btn{ background-color: $color_bg_btn_detach; } - h3 { - border-top: 1px solid $color_reply_bg; - padding-top: 0.8em; - } - p { - margin: 1em; - } -} diff --git a/web/cobrands/fixmybarangay/message_manager_client.js b/web/cobrands/fixmybarangay/message_manager_client.js deleted file mode 100644 index 06ea7a909..000000000 --- a/web/cobrands/fixmybarangay/message_manager_client.js +++ /dev/null @@ -1,850 +0,0 @@ -/* - * creates a message_manage object that uses the Message Manager API: - * include this file, then initialise the object when the page is loaded with - * message_manager.config(settings) - * - * i.e., you *must* do something like: - * - * $(document).ready(function() { - * message_manager.config({url_root:'http://yourdomain.com/messages'}) - * } - * - * You'll need to set the url_root, but you can leave everything else to default - * provided your HTML ids and classes are the same as ours (which they might be: - * see the Message Manager's dummy client (at /client) to see the HTML we use). - * - * The (optional) single parameter for .config() is a hash of name-value pairs: - * - * url_root accepts the root URL to the message manager. - * - * want_unique_locks normally MM clients should relinquish all other locks - * when claiming a new one so want_unique_locks defaults - * to true; but you can set it explicitly here. - * - * mm_name name of Message Manager (used in error messages shown - * to user, e.g., "please log in to Message Manager") - * - * msg_prefix all message
  • items have this as their ID prefix - * - * want_nice_msgs don't use language like "lock granted" - * - * tooltips hash of tooltips: override the items you want, keys are: - * tt_hide, tt_info, tt_reply, tt_radio - * - * want_radio_btns normally MM clients show a radio button, but for archive - * messages this might be unneccessary: default is true, but - * pass in false to suppress this. - * - * *_selector these are the jQuery selects that will be used to find - * the respective elements: - * - * message_list_selector: list of messages - * status_selector: status message display - * login_selector: login form - * - * - * Summary of all methods: - * message_manager.config([options]) - * message_manager.setup_click_listener([options]) - * message_manager.get_available_messages([options]) - * message_manager.request_lock(msg_id, [options]) (default use: client code doesn't need to call this explicitly) - * message_manager.assign_fms_id(msg_id, fms_id, [options]) - * message_manager.hide(msg_id, reason_text, [options]) - * message_manager.reply(msg_id, reply_text, [options]) - * message_manager.show_info(msg_id) - * message_manager.sign_out() - * - * Note: options are {name:value, ...} hashes and often include "callback" which is a function that is executed on success - * but see the docs (request_lock executes callback if the call is successful even if the lock was denied, for example). - * Some methods take 'callback' as the only option, but you still need to pass it as a named option. -*/ - -var message_manager = (function() { - - // default/config values: to be overridden using "config({name:value, ...})" - - var _url_root = 'http://www.example.com/message_manager/'; - var _want_unique_locks = true; - var _msg_prefix = "msg-"; - var _username; - var _mm_name = "Message Manager"; - var _use_fancybox = true; // note: currently *must* have fancybox! - var _want_nice_msgs = false; - var _want_radio_btns = true; - - var _tooltips = { - tt_hide : "Hide message", - tt_info : "Get info", - tt_reply : "Send SMS reply", - tt_radio : "Select message before clicking on map to create report", - tt_detach: "Detach this message because it is not a reply" - }; - - // cached jQuery elements, populated by the (mandatory) call to config() - var $message_list_element; - var $status_element; - var $login_element; - var $htauth_username; - var $htauth_password; - var $hide_reasons; - var $boilerplate_replies; - - var msg_no_config_err = "Config error: no Message Manager URL has been specified"; - - // set _want_nice_msgs to avoid using the term "lock" - var msg_trying_for_lock = ["Trying for lock...", "Checking message..." ]; - var msg_checking_lock = ["Checking lock...", "Checking message..." ]; - var msg_claiming_lock = ["Claiming lock...", "Checking message..." ]; - var msg_lock_granted_ok = ["Lock granted OK", "Checking message... OK"]; - var msg_lock_denied = ["", "Someone is working with that message right now!"]; - - function get_msg(msg) { - return msg[_want_nice_msgs? 1 : 0]; - } - - var config = function(settings) { - var selectors = { - message_list_selector: '#mm-message-list', - status_selector: '#mm-status-message-container', - login_selector: '#mm-login-container', - username_selector: '#mm-received-username', - htauth_username_selector: '#mm-htauth-username', - htauth_password_selector: '#mm-htauth-password', - boilerplate_hide_reasons: '#mm-boilerplate-hide-reasons-box', - boilerplate_replies: '#mm-boilerplate-replies-box' - }; - if (settings) { - if (typeof settings.url_root === 'string') { - _url_root = settings.url_root; - if (_url_root.length > 0 && _url_root.charAt(_url_root.length-1) !== "/") { - _url_root+="/"; - } - } - if (typeof settings.want_unique_locks !== 'undefined') { - _want_unique_locks = settings.want_unique_locks; - } - if (typeof settings.msg_prefix === 'string') { - _msg_prefix = settings.msg_prefix; - } - for (var sel in selectors) { - if (typeof settings[sel] === 'string') { - selectors[sel] = settings[sel]; - } - } - if (typeof settings.mm_name === 'string') { - _mm_name = settings.mm_name; - } - if (typeof settings.want_nice_msgs !== 'undefined') { - _want_nice_msgs = settings.want_nice_msgs; - } - if (typeof settings.want_radio_btns !== 'undefined') { - _want_radio_btns = settings.want_radio_btns; - } - if (settings.tooltips) { - for (var key in settings.tooltips) { - if (settings.tooltips.hasOwnProperty(key)) { - _tooltips[key]=settings.tooltips[key]; - } - } - } - } - $message_list_element = $(selectors.message_list_selector); - $status_element = $(selectors.status_selector); - $login_element = $(selectors.login_selector); - $htauth_username = $(selectors.htauth_username_selector); - $htauth_password = $(selectors.htauth_password_selector); - $hide_reasons = $(selectors.boilerplate_hide_reasons); - $boilerplate_replies = $(selectors.boilerplate_replies); - if (typeof settings.url_root === 'string' && _url_root.length===0) { - say_status(msg_no_config_err); - } - }; - - var make_base_auth = function(user, password) { - var tok = user + ':' + password; - var hash = encodeBase64(tok); // window.btoa(tok) doesn't work on all browers - return "Basic " + hash; - }; - - function encodeBase64(input) { - var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=', - INVALID_CHARACTER_ERR = (function () { - // fabricate a suitable error object - try { - document.createElement('$'); - } catch (error) { - return error; - } - }()), - block, charCode, idx, map, output; - // encoder (with wee change by mhl Mark to satisfy jslint) - // [https://gist.github.com/999166] by [https://github.com/nignag] - for (idx = 0, map = chars, output = ''; - input.charAt(idx | 0) || ((map = '=') && (idx % 1)); - output += map.charAt(63 & block >> 8 - idx % 1 * 8)) { - charCode = input.charCodeAt(idx += 3/4); - if (charCode > 0xFF) { - throw INVALID_CHARACTER_ERR; - } - block = block << 8 | charCode; - } - return output; - } - - var get_current_auth_credentials = function() { - var base_auth = ""; - var htauth_un = ""; - var htauth_pw = ""; - if ($htauth_username.size()) { - htauth_un = $htauth_username.val(); - htauth_pw = $htauth_password.val(); - } - if (htauth_un.length === 0 && Modernizr.sessionstorage && sessionStorage.getItem('mm_auth')) { - base_auth = sessionStorage.getItem('mm_auth'); - } else { - base_auth = make_base_auth(htauth_un, htauth_pw); - if (Modernizr.sessionstorage) { - sessionStorage.mm_auth = base_auth; - } - } - return base_auth; - }; - - var sign_out = function() { // clear_current_auth_credentials - if (Modernizr.sessionstorage) { - sessionStorage.removeItem('mm_auth'); - } - if ($htauth_password) { - $htauth_password.val(''); - } - }; - - var show_login_form = function(suggest_username) { - $('.mm-msg', $message_list_element).remove(); // remove (old) messages - if ($htauth_username.size() && ! $htauth_username.val()) { - $htauth_username.val(suggest_username); - } - $login_element.stop(true,true).slideDown(); - }; - - var say_status = function (msg, show_spinner, allow_html) { - if ($status_element) { - if (show_spinner) { - // slow fade in so that spinner only appears if there's a long delay - $status_element.find('#mm-spinner').stop(true,true).fadeIn(1200); - } else { - $status_element.find('#mm-spinner').stop(true,true).hide(); - } - $status_element.stop(true,true).show(); - if (allow_html) { - $status_element.find('p').html(msg); - } else { - $status_element.find('p').text(msg); - } - } - }; - - var extract_replies = function(replies, depth, is_archive) { - var $ul = ""; - if (replies && replies.length > 0) { - $ul = $('