diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/eastsussex/_colours.scss | 20 | ||||
-rw-r--r-- | web/cobrands/eastsussex/base.scss | 229 | ||||
-rw-r--r-- | web/cobrands/eastsussex/layout.scss | 211 | ||||
-rw-r--r-- | web/cobrands/eastsussex/report-form.js | 22 | ||||
-rw-r--r-- | web/cobrands/fixmystreet.com/images/fms-for-councils/east-sussex-logo.png | bin | 4012 -> 0 bytes |
5 files changed, 0 insertions, 482 deletions
diff --git a/web/cobrands/eastsussex/_colours.scss b/web/cobrands/eastsussex/_colours.scss deleted file mode 100644 index c24c6e688..000000000 --- a/web/cobrands/eastsussex/_colours.scss +++ /dev/null @@ -1,20 +0,0 @@ -/* COLOURS */ - -$eastsussex_dark: #194C7E; -$eastsussex_primary: #155F91; - -$primary: $eastsussex_primary; -$col_click_map: $eastsussex_primary; -$col_fixed_label_dark: $eastsussex_primary; -$col_fixed_label: $eastsussex_primary; - -$primary_b: #000000; -$primary_text: #ffffff; - -$base_bg: #ffffff; -$base_fg: #1a1a1a; - -/* Unused here */ -$map_nav_bg: #222; -$nav_fg: #fff; -$nav_fg_hover: #444; diff --git a/web/cobrands/eastsussex/base.scss b/web/cobrands/eastsussex/base.scss deleted file mode 100644 index d855e67a4..000000000 --- a/web/cobrands/eastsussex/base.scss +++ /dev/null @@ -1,229 +0,0 @@ -@import "../sass/h5bp"; -@import "./_colours"; -@import "../sass/mixins"; - -$heading-font: Arial, "Helvetica Neue", Helvetica, sans-serif !default; - -@import "../sass/base"; - -body { - font-size: 13px; -} - -footer { - background: #00a1de; - display: none; -} - -.content { - padding: 0 1em; -} - -a, a:visited { - color: #369; - &:hover, &:active { - color: #369; - } -} - -.item-list--reports__item { - color: #666; - a { - color: #666; - } -} - -h1.main { - color: $primary; - text-align: center; - margin: 0.5em 0; -} - -#site-header { - position: relative; - background: #fff; - height: auto; - .container { - padding: 0; - } -} -#site-header .eastsussex .header { - margin: 0 0 2px; -} - -// Make the navigation bar thinner on the map page so that it takes up less -// room and doesn't push the map too far down. -.mappage .application-nav { - padding: 4.5px 9px; -} - -// Colour tab to match colour scheme -#nav-link { - width: 50px; - height: 48px; -} - -#report-cta { - top: 24px; // height of header - margin-top: -0.7em; - font-size: 1em; - border-color: mix(#fff, $primary, 20%); - - &:hover, &:focus { - background-color: mix(#fff, $primary, 10%); - } -} - -#breadcrumb_breadcrumbTrail ol li { - list-style: none; -} - -.big-green-banner { - text-transform: none; - z-index: 5000; -} - -.green-btn, input.green-btn, input.green-btn:hover { - background: #44697d; - border: lighten(#44697d, 10%); - font-weight: bold; - font-size: 1.1em; -} - -#form_sign_in { - margin-top: 1em; -} - -#front-main { - #front-main-container { - text-align: center; - } - - #postcodeForm { - padding: 1em; - - label { - text-align: center; - } - - div { - padding-top: 0px; - input#sub { - height: 100%; - } - } - } -} - -.frontpage #mysociety #front-main-container { - h1, h2 { - text-align: center; - } -} - - -body > p { - margin: 0; -} - -.main-menu ul { - padding: 0; - margin: 6px; - text-align: center; - - li { - display: inline-block; - list-style: none; - - a, span { - padding: 2px 6px; - margin: 3px; - border-radius: 3px; - } - - a, a:hover { - background-color: #00a1de; - color: white; - } - - span { - background-color: #00a1de; - color: white; - } - } -} - -.footer .languages ul { - - li { - display: inline-block; - float: none !important; - } -} - -button, input[type=submit], .btn { - text-transform: none; -} - -/* as per email from Matt Tooke, we are using ESCC's .button-nav -styling, but this doesn't dtrt with span, so adding ourselves */ - -.button-nav span, -.main-menu ul.button-nav li span { - float: left; - display: block; - margin: 5px 2px 5px 0; - padding: 4px 10px; - background: #00a1de; - color: #fff; - font-weight: bold; - text-decoration: none; - white-space: nowrap; - border-radius: 3px; - border: 0; -} - -.email { - background-image: none; -} - -::-webkit-input-placeholder { - font-style: normal; -} -:-moz-placeholder { - font-style: normal; -} -:-ms-placeholder { - font-style: normal; -} -.placeholder { - font-style: normal; -} - - -#geolocate_link { - font-size: 1.0em; -} - -.ie7 { - body { - z-index: 1; - } - #site-header { - z-index: 1; - } -} - -.label-warning { - background: lighten(#ff3300, 20%); - color: white; - font-size: 90%; - padding: 2px; - cursor: default; -} - -// Stop the big green banner (it's not even green) at the top of map pages -// overriding the header in the z-index -.big-green-banner { - z-index: auto; -} diff --git a/web/cobrands/eastsussex/layout.scss b/web/cobrands/eastsussex/layout.scss deleted file mode 100644 index cf13bd1d2..000000000 --- a/web/cobrands/eastsussex/layout.scss +++ /dev/null @@ -1,211 +0,0 @@ -$mappage-header-height: 16em; - -@import "_colours"; -@import "../sass/layout"; - -#front-main { - // Undo the top margin added in base.scss - margin-top: 0; - padding: 0 -} - -#front-main-container { - background-color: $eastsussex_primary; - padding: 1em; -} - -.container, .eastsussex-container { - width: 100%; - max-width: 966px; -} - -#menu { - height: 55px; -} - -footer { - position: relative; - z-index: 1000; - margin-top: 0; - background: #aee1f4; - - a { - text-decoration: underline; - } - - h2 { - margin: 0; - } - - form.newsletter.form { - input#newsletter { - display: inline-block; - } - - input[type=submit] { - background: #1e5b83; - text-transform: none; - } - - label { - font-weight: normal; - } - } -} - - -div.form-error, p.form-error { - display: block !important; -} - -body.mappage { - .main-menu-wrapper { - position: fixed - } - - footer { - display: none; - } - - #mysociety { - margin-top: 0; - padding-top: 16em; - padding-bottom: 0; - width: auto; - background: transparent; - float: none; - } - - #wrapper { - display: block; - width: auto; - } - - #site-header { - position: fixed; // Keep the headers fixed at the top on the map page - width: 100%; - z-index: 2; - background: #dae1e5; // the same colour that the .application-nav normally is - } - - .application-nav { - background: transparent; - padding: 0.2em 0 0 0; - } -} - -.general-notes { - font-size: 13px; - line-height: 14px; -} - -body.twothirdswidthpage .content .sticky-sidebar aside { - top: 0; - position: absolute; -} - -body.frontpage { - #site-header { - height: auto; - - .mobile-header-nav { - display: none; - } - } -} - -#site-header { - border-top-width: 0; - margin-top: 0; - background: rgb(3, 160, 227); - - .container { - position: relative; - } - - #nav-container.container { - min-height: 0; - } - - #breadcrumb_breadcrumbTrail { - position: relative; - - a { - color: white; - } - - - .breadcrumb { - margin: 9px 0 6px 0; - - span { - font-weight: bold; - } - - li.level1 a { - color: #194c7e; - } - } - - .sign-in { - position: absolute; - top: 4px; - right: 4px; - } - } - - .header { - a.contact { - text-decoration: underline; - } - - .alphabet h2 { - font-size: 1em; - font-weight: bold; - } - } -} - -#mysociety { - margin-top: 0; - padding-bottom: 24px; - - .container { - padding: 0; - } -} - -.content { - margin-top: 0; - width: auto; -} - -.banner p#fixed { - background-position: -328px -333px; -} - -#skipped-map { - clear: both; - margin-top: 3em; /* required to push "Your Reports" visible on Safari/IE */ -} - -.main-menu-wrapper { - display: none; -} - - - -@media only screen and (max-width: 61em) { - #site-header { - height: auto; - } - - body.twothirdswidthpage .content .sticky-sidebar { - top: 1em; - } -} - -footer { - display: block; -} - diff --git a/web/cobrands/eastsussex/report-form.js b/web/cobrands/eastsussex/report-form.js deleted file mode 100644 index e61d48b9a..000000000 --- a/web/cobrands/eastsussex/report-form.js +++ /dev/null @@ -1,22 +0,0 @@ -function setup_anonymous_checkbox (div) { - var label = div.find( '.name-warning' ); - checkbox = div.find('input[type=checkbox]'); - - checkbox.change( function () { - var v = $(this).attr('checked'); - if (v) { - label.show(); - } - else { - label.hide(); - } - }); -} - -$(function () { - setup_anonymous_checkbox( $('#form_sign_in_no') ); - setup_anonymous_checkbox( $('#form-box--logged-in-name') ); - setup_anonymous_checkbox( $('#update_form') ); - - $('.public-warning').attr({ 'title': 'This information will be be visible to the public on the report' }); -}); diff --git a/web/cobrands/fixmystreet.com/images/fms-for-councils/east-sussex-logo.png b/web/cobrands/fixmystreet.com/images/fms-for-councils/east-sussex-logo.png Binary files differdeleted file mode 100644 index e87c89668..000000000 --- a/web/cobrands/fixmystreet.com/images/fms-for-councils/east-sussex-logo.png +++ /dev/null |