From b3eac1c0a05920ef1f5ed41c28650fa816632a44 Mon Sep 17 00:00:00 2001 From: Steven Day Date: Thu, 31 Mar 2016 12:44:19 +0100 Subject: Update templates to match new ENABLE_ANNOTATIONS setting Alaveteli has added a feature to turn off annotations and some of the views use this to hide certain bits of text, so this makes the theme do the same. --- lib/views/help/officers.html.erb | 9 ++++--- lib/views/help/requesting.html.erb | 49 +++++++++++++++++++++----------------- 2 files changed, 33 insertions(+), 25 deletions(-) diff --git a/lib/views/help/officers.html.erb b/lib/views/help/officers.html.erb index 0a7d208..6f87a47 100644 --- a/lib/views/help/officers.html.erb +++ b/lib/views/help/officers.html.erb @@ -217,9 +217,12 @@ responses to requests. Please contact us if we've missed one. For technical reasons we don't always remove them from attachments, such as certain PDFs.

If you need to know what an address was that we've removed, please get in touch with us. Occasionally, an email address -forms an important part of a response and we will post it up in an obscured -form in an annotation. + href="<%= help_contact_path %>">get in touch with us. + <% if AlaveteliConfiguration::enable_annotations %> + Occasionally, an email address forms an important part of a response + and we will post it up in an obscured form in an annotation. + <% end %> +

diff --git a/lib/views/help/requesting.html.erb b/lib/views/help/requesting.html.erb index 28e55fd..583481b 100644 --- a/lib/views/help/requesting.html.erb +++ b/lib/views/help/requesting.html.erb @@ -48,11 +48,11 @@ organisations:

@@ -91,9 +91,12 @@ Information is a powerful tool. Although you may not use this site to run your campaign, we encourage you to use it to get the information you need. We also encourage to run your campaign elsewhere - one effective and very easy way is to <%= link_to 'start your own blog', -"http://wordpress.com/"%>. You are welcome to link to your campaign -from this site in an annotation to your request (you can make -annotations after submitting the request). +"http://wordpress.com/"%>. +<% if AlaveteliConfiguration::enable_annotations %> + You are welcome to link to your campaign from this site in an + annotation to your request (you can make annotations after submitting + the request). +<% end %>

@@ -151,9 +154,9 @@ are breaking the law.

checking that they received the request. It was sent to them by email.
  • If they have not received it, the problem is most likely due to - "spam filters". Refer the authority to the measures in the answer - 'I can see a request on <%= site_name %>, but we never got it by email!' - in the FOI officers section of this help. + "spam filters". Refer the authority to the measures in the answer + 'I can see a request on <%= site_name %>, but we never got it by email!' + in the FOI officers section of this help.
  • If you're still having no luck, then you can ask for an internal review, and then complain to the Information Commissioner about the authority. @@ -168,7 +171,7 @@ then read our page 'Unhappy about the response you got?<
    It says I can't re-use the information I got!#
    -

    Authorities often add legal boilerplate about the +

    Authorities often add legal boilerplate about the "Re-Use of Public Sector Information Regulations 2005", which at first glance implies you may not be able do anything with the information. @@ -192,7 +195,7 @@ pages on the Information Commissioner's website.

    the process is very similar. There are differences around time limits for compliance. See the Scottish -Information Commissioner's guidance for details.

    +Information Commissioner's guidance for details.

    Can I request information about myself? #
    @@ -230,7 +233,7 @@ you manage FOI requests in secret, then contact us.

    Some public authorities, such as South East Water, don't come under the Freedom of Information Act, but do come under another law called -the Environmental Information Regulations (EIR). +the Environmental Information Regulations (EIR).

    It's a very similar law, so you make a request @@ -243,7 +246,7 @@ means. It is quite broad.

    You can, of course, request environmental information from other authorities. Just make a Freedom of Information (FOI) request as normal. The authority has a duty to work out if the Environmental Information Regulations -(EIR) is the more appropriate legislation to reply under. +(EIR) is the more appropriate legislation to reply under.

    @@ -266,18 +269,20 @@ responses actually came from the authority. If this really matters to you, you can always make the same request again via <%= site_name %>. -
    How do you moderate request annotations? #
    +<% if AlaveteliConfiguration::enable_annotations %> +
    How do you moderate request annotations? #
    -
    -

    Annotations on <%= site_name %> are to help -people get the information they want, or to give them pointers to places they -can go to help them act on it. We reserve the right to remove anything else. -

    -

    Endless, political discussions are not allowed. -Post a link to a suitable forum or campaign site elsewhere.

    -
    +
    +

    Annotations on <%= site_name %> are to help + people get the information they want, or to give them pointers to places they + can go to help them act on it. We reserve the right to remove anything else. +

    +

    Endless, political discussions are not allowed. + Post a link to a suitable forum or campaign site elsewhere.

    +
    - + +<% end %>

    Next, read about your privacy --> -- cgit v1.2.3 From 35f5c9d1a44987ace46963ac50ac81eafac5f963 Mon Sep 17 00:00:00 2001 From: lizconlan Date: Mon, 22 Aug 2016 11:27:07 +0100 Subject: Move scss settings to _settings.scss --- assets/stylesheets/responsive/_settings.scss | 49 ++++++++++++++++++++++++++++ assets/stylesheets/responsive/custom.scss | 38 ++------------------- 2 files changed, 51 insertions(+), 36 deletions(-) create mode 100644 assets/stylesheets/responsive/_settings.scss diff --git a/assets/stylesheets/responsive/_settings.scss b/assets/stylesheets/responsive/_settings.scss new file mode 100644 index 0000000..466c902 --- /dev/null +++ b/assets/stylesheets/responsive/_settings.scss @@ -0,0 +1,49 @@ +$main_menu-mobile_menu_cutoff: 58em; +$row-width: 64em; +$body-font-family: "Helvetica Neue", Arial, Helvetica, Helmet, Freesans, sans-serif; +$base-font-size: 16px; + +// Specify the filename and dimensions of your logo file here +$logo-filename: 'logo.png'; +$logo-highdpi-filename: 'logo@2.png'; //Should be at least 2x the size, in the same proportions +$logo-width: 275px; +$logo-height: 44px; + +$color_sand: #f3f1eb; +$color_black: #333333; +$color_orange: #f4a140; +$color_blue: #4faded; +$color_green: #62b356; +$color_yellow: #ffd836; +$color_red: #e04b4b; +$color_violet: #a94ca6; +$color_purple: #5c377f; +$color_white: #ffffff; + +$color_neutral_light: $color_sand; +$color_neutral_dark: $color_black; +$color_primary: $color_violet; +$color_secondary: $color_orange; + +$body-bg: $color_neutral_light; + +$body-font-color: $color_neutral_dark; +$link-color: darken($color_blue, 20%); +$action-color: $color_green; +$font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; +$form_input-bg: $color_white; +$form-label-font-color: $color_black; + +$button-bg: darken($color_green, 10%); +$button-color: $color_white; + +$status-success: darken($color_green, 18%); +$status-failure: darken($color_red, 10%); +$status-pending: darken($color_orange, 28%); + +$notice-color: $color_green; +$error-color: $color_red; +$action-color: $color_orange; + +$banner_inner_bg: $color_primary; +$topnav_bg: darken($color_primary, 10%); diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index 64948a5..bf6ee9b 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -1,37 +1,3 @@ -$color_sand: #f3f1eb; -$color_black: #333333; -$color_orange: #f4a140; -$color_blue: #4faded; -$color_green: #62b356; -$color_yellow: #ffd836; -$color_red: #e04b4b; -$color_violet: #a94ca6; -$color_purple: #5c377f; -$color_white: #ffffff; - -$color_neutral_light: $color_sand; -$color_neutral_dark: $color_black; -$color_primary: $color_violet; -$color_secondary: $color_orange; - -$body-bg: $color_neutral_light; - -$body-font-color: $color_neutral_dark; -$link-color: darken($color_blue, 20%); -$action-color: $color_green; -$font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; -$form_input-bg: $color_white; - -$button-bg: darken($color_green, 10%); -$button-color: $color_white; - -$status-success: darken($color_green, 18%); -$status-failure: darken($color_red, 10%); -$status-pending: darken($color_orange, 28%); - -$notice-color: $color_green; -$error-color: $color_red; -$action-color: $color_orange; /* Mixin styles */ @@ -218,11 +184,11 @@ a.link_button_green_large { /* Header */ #banner_inner { - background-color: $color_primary; + background-color: $banner_inner_bg; } #topnav { - background-color: darken($color_primary, 10%); + background-color: $topnav_bg; } .site-title__logo { -- cgit v1.2.3 From cff69de96610dd5c525152ae069c8be0daef0d5b Mon Sep 17 00:00:00 2001 From: lizconlan Date: Mon, 22 Aug 2016 18:45:54 +0100 Subject: Remove #logo_wrapper from stylesheet --- assets/stylesheets/responsive/custom.scss | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index bf6ee9b..eb0da5f 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -508,23 +508,6 @@ a.link_button_green_large { right: 4px; } } - - /* Pad evenly top and bottom on smaller devices */ - #logo_wrapper{ - - @include respond-min( $main_menu-mobile_menu_cutoff ){ - @include lte-ie7 { - padding-bottom: 2em; - } - } - @media(max-width: $main_menu-mobile_menu_cutoff ){ - padding: 0.5em 0 0.5em 0.9375em; - img { - height: 30px; - } - } - } - } -- cgit v1.2.3 From cec2832b8c6350fa1afd725ab60ae89b48a40b6d Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 24 Nov 2016 09:52:30 +0000 Subject: Add text on request closure. --- lib/views/help/officers.html.erb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/views/help/officers.html.erb b/lib/views/help/officers.html.erb index 5a0418f..f0ebdb7 100644 --- a/lib/views/help/officers.html.erb +++ b/lib/views/help/officers.html.erb @@ -187,6 +187,15 @@ requests, and for good public relations, we'd advise you not to do that.

    +
    My response to an old request on <%= site_name %> has been bounced!#
    +
    After six months of inactivity, <%= site_name %> limits who can respond to a request to stop + spammers targeting old requests. At that point, the request can only be responded to by someone who's + from the authority. After twelve months, the request is closed to responses from anyone. If you need an + old request to be re-opened so that you can respond to it, please + contact us. +
    + +

    If you haven't already, read the introduction --> -- cgit v1.2.3 From a26a2d5bddb3cba85cbddfc7475e2706f20e34ac Mon Sep 17 00:00:00 2001 From: lizconlan Date: Fri, 2 Dec 2016 17:45:14 +0000 Subject: Update model patch example to include the default_letter param override --- lib/model_patches.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/model_patches.rb b/lib/model_patches.rb index 7f3b4de..b0c906f 100644 --- a/lib/model_patches.rb +++ b/lib/model_patches.rb @@ -10,6 +10,10 @@ Rails.configuration.to_prepare do # OutgoingMessage.class_eval do # # Add intro paragraph to new request template # def default_letter + # # this line allows the default_letter text added by this + # # method to be replaced by the value supplied by the API + # # e.g. http://demo.alaveteli.org/new/tgq?default_letter=this+is+a+test + # return @default_letter if @default_letter # return nil if self.message_type == 'followup' # "If you uncomment this line, this text will appear as default text in every message" # end -- cgit v1.2.3 From b6a384949cc7d8a0a9b56aaf73cb57a4294b60dc Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Tue, 6 Dec 2016 13:26:05 +0000 Subject: Force correspondence date links to always be grey General link colour was overriding this. --- assets/stylesheets/responsive/custom.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index eb0da5f..0fce13b 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -565,6 +565,11 @@ div.correspondence { } } +a.correspondence__header__date, +a.correspondence__header__date:visited { + color: #777; +} + .describe_state_form input[type="radio"] + label { display:inline; } -- cgit v1.2.3 From d5af540ce6b3e87e20fe264588a67f708748516f Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Tue, 6 Dec 2016 13:26:37 +0000 Subject: Tweak scope of incoming correspondence link colour Should only apply to links in the correspondence, not e.g. the "Admin" link. --- assets/stylesheets/responsive/custom.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index 0fce13b..b05e2ce 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -550,7 +550,7 @@ div.correspondence { .incoming.correspondence { border-top: 8px solid $color_secondary; - a { + .correspondence_text a { color: $color_secondary; } a.link_to_this { -- cgit v1.2.3 From 6f466b97c4dfbd5ee5480a2ea0f77a4cc82bb3ef Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Mon, 12 Dec 2016 16:48:25 +0000 Subject: Move hero CTA to homepage-hero scope Shouldn't be setting the sidebar CTA text to white. --- assets/stylesheets/responsive/custom.scss | 46 +++++++++++++++---------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index b05e2ce..dc205f2 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -806,6 +806,29 @@ dt { } } + .intro__title { + color: $color_white; + text-shadow: 0 1px 2px transparentize($color_black, 0.7); + } + + .new-request__content { + background-color: $color_neutral_dark; + border-radius: 5px; + padding: 1.888888889em; + } + + .new-request__title { + color: $color_white; + font-size: 1.4375em; + margin: 0 0 0.5em; + } + + .new-request__description { + color: transparentize($color_white, 0.2); + @include ie8 { + color: $color_white; + } + } .new-request__make-new-requests { @include button-base; background-color: desaturate(darken($color_secondary, 10%), 5%); @@ -818,26 +841,3 @@ dt { } } -.intro__title { - color: $color_white; - text-shadow: 0 1px 2px transparentize($color_black, 0.7); -} - -.new-request__content { - background-color: $color_neutral_dark; - border-radius: 5px; - padding: 1.888888889em; -} - -.new-request__title { - color: $color_white; - font-size: 1.4375em; - margin: 0 0 0.5em; -} - -.new-request__description { - color: transparentize($color_white, 0.2); - @include ie8 { - color: $color_white; - } -} -- cgit v1.2.3 From 631a3f8223fd257375beb8fb5c0fc4042eadf911 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Mon, 12 Dec 2016 17:10:58 +0000 Subject: Style sidebar CTA button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Minimum viable styles – didn't add a background to the element as I think it would conflict with the new status bar. --- assets/stylesheets/responsive/custom.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index dc205f2..07ae01a 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -612,6 +612,14 @@ a.link_to_this { } } +.sidebar { + .new-request-cta { + .new-request__make-new-requests { + @include button-primary(); + } + } +} + .feed_link_sidebar .link_button_green { @include button-primary(); } -- cgit v1.2.3 From b8920199aa25ef883ec4213729486f01539e2823 Mon Sep 17 00:00:00 2001 From: lizconlan Date: Mon, 28 Nov 2016 11:32:08 +0000 Subject: Add request reporting sections to the help/about page --- lib/views/help/about.html.erb | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/lib/views/help/about.html.erb b/lib/views/help/about.html.erb index 36120f1..9f7d7d5 100644 --- a/lib/views/help/about.html.erb +++ b/lib/views/help/about.html.erb @@ -32,6 +32,34 @@ it must be kept confidential. +

    What if I see a request I feel to be inappropriate? #
    +
    +

    + Requests for personal information and vexatious requests are not considered valid for FOI purposes (read more). +

    + +

    + If you believe a request is not suitable, you can report it for attention by the site administrators. +

    +
    + +
    Why won't it let me report some requests? #
    +
    +

    + If a request has already been reported to the site administrators, you + can't report it a second time - this is to prevent the administrators + being notified multiple times about the same issue before they've had + a chance to conduct a review. +

    + +

    + Where a request has been previously reported but an administrator has + chosen not to hide it from public view, you can use the form in the + sidebar of the request page to contact the administrators if you still + think it should be hidden. +

    +
    +
    Who makes <%= site_name %> ? #
    <%= site_name %> runs on Alaveteli, which was created and run by mySociety, and was initially funded by the JRSST Charitable Trust. mySociety is a project of the @@ -49,4 +77,4 @@

    Next, read about making requests -->

    - \ No newline at end of file + -- cgit v1.2.3 From 09bb07cfba6a87b6dc1e97e6abb89398416283cb Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Mon, 12 Dec 2016 16:29:51 +0000 Subject: Make request status text black Otherwise there's not enough contrast between it and the new colour background. Fixes https://github.com/mysociety/alavetelitheme/issues/83. --- assets/stylesheets/responsive/custom.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index b05e2ce..036f758 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -650,6 +650,10 @@ a.link_to_this { color: $status-success; } +.request-status-message { + color: $color_black; +} + /* Attachments*/ .view_html_prefix { -- cgit v1.2.3 From 2cddd013490c9b8f36f9439905195b0909518f98 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 14 Dec 2016 11:29:14 +0000 Subject: Fix unclosed
    tag - Added a closing slash - Fixed indentation --- lib/views/help/requesting.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/views/help/requesting.html.erb b/lib/views/help/requesting.html.erb index b901eb7..1ef5b68 100644 --- a/lib/views/help/requesting.html.erb +++ b/lib/views/help/requesting.html.erb @@ -279,7 +279,7 @@

    Endless, political discussions are not allowed. Post a link to a suitable forum or campaign site elsewhere.

    -
    +
    <% end %> -- cgit v1.2.3 From 8103ae191028283bed39430888775e5059957bf9 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 14 Dec 2016 11:33:18 +0000 Subject: Fix incorrect conflict resolution Missed including the
    in the conditional when resolving a merge conflict. --- lib/views/help/requesting.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/views/help/requesting.html.erb b/lib/views/help/requesting.html.erb index 1ef5b68..f85e817 100644 --- a/lib/views/help/requesting.html.erb +++ b/lib/views/help/requesting.html.erb @@ -269,9 +269,9 @@ you can always make the same request again via <%= site_name %>. -
    How do you moderate request annotations? #
    - <% if AlaveteliConfiguration::enable_annotations %> +
    How do you moderate request annotations? #
    +

    Annotations on <%= site_name %> are to help people get the information they want, or to give them pointers to places they -- cgit v1.2.3 From a9dfb2ea21181266984d01810ac5c458c500e381 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 14 Dec 2016 11:57:33 +0000 Subject: Style request page action bar --- assets/stylesheets/responsive/custom.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index 9161270..aa6fd1e 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -540,6 +540,23 @@ a.link_button_green_large { } /* Request page */ +.request-header__action-bar__actions { + .action-menu__button { + @include button-secondary(); + } + + .action-bar__follow-button { + .track__action { + @include button-primary(); + } + } + + .action-bar__follower-count { + padding: 3px; + font-size: 1.1rem; + } +} + div.correspondence { background-color: $color_white; box-shadow: 0 2px 2px transparentize($color_black, 0.8); -- cgit v1.2.3 From 64f2f360ec9c27aa9c7545d8ab4678c0af3eaa6c Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 19 Jan 2017 11:37:48 +0000 Subject: Add encoding line to Ruby files Fixes https://github.com/mysociety/alavetelitheme/issues/69. --- init.rb | 1 + install.rb | 1 + lib/alavetelitheme.rb | 1 + lib/config/custom-routes.rb | 1 + lib/controller_patches.rb | 1 + lib/customstates.rb | 1 + lib/model_patches.rb | 1 + lib/patch_mailer_paths.rb | 1 + lib/tasks/alavetelitheme_tasks.rake | 1 + post_install.rb | 1 + spec/alavetelitheme_spec.rb | 1 + uninstall.rb | 1 + 12 files changed, 12 insertions(+) diff --git a/init.rb b/init.rb index e69de29..197c7c2 100644 --- a/init.rb +++ b/init.rb @@ -0,0 +1 @@ +# -*- encoding : utf-8 -*- diff --git a/install.rb b/install.rb index f7732d3..c447292 100644 --- a/install.rb +++ b/install.rb @@ -1 +1,2 @@ +# -*- encoding : utf-8 -*- # Install hook code here diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb index c245617..668d92a 100644 --- a/lib/alavetelitheme.rb +++ b/lib/alavetelitheme.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- theme_name = File.split(File.expand_path("../..", __FILE__))[1] theme_name.gsub!('-', '_') THEME_NAME = theme_name diff --git a/lib/config/custom-routes.rb b/lib/config/custom-routes.rb index 6d4cda4..98fccf7 100644 --- a/lib/config/custom-routes.rb +++ b/lib/config/custom-routes.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- # Here you can override or add to the pages in the core website Rails.application.routes.draw do diff --git a/lib/controller_patches.rb b/lib/controller_patches.rb index 5c48e70..6d796b0 100644 --- a/lib/controller_patches.rb +++ b/lib/controller_patches.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- # Add a callback - to be executed before each request in development, # and at startup in production - to patch existing app classes. # Doing so in init/environment.rb wouldn't work in development, since diff --git a/lib/customstates.rb b/lib/customstates.rb index d801c92..323a105 100644 --- a/lib/customstates.rb +++ b/lib/customstates.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- # See `http://alaveteli.org/docs/customising/themes/#customising-the-request-states` # for more explanation of this file diff --git a/lib/model_patches.rb b/lib/model_patches.rb index b0c906f..d223e36 100644 --- a/lib/model_patches.rb +++ b/lib/model_patches.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- # Add a callback - to be executed before each request in development, # and at startup in production - to patch existing app classes. # Doing so in init/environment.rb wouldn't work in development, since diff --git a/lib/patch_mailer_paths.rb b/lib/patch_mailer_paths.rb index 99da10a..4533be0 100644 --- a/lib/patch_mailer_paths.rb +++ b/lib/patch_mailer_paths.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- # Add a callback - to be executed before each request in development, # and at startup in production - to patch existing app classes. # See http://stackoverflow.com/questions/7072758/plugin-not-reloading-in-development-mode diff --git a/lib/tasks/alavetelitheme_tasks.rake b/lib/tasks/alavetelitheme_tasks.rake index 1f1925b..3744d04 100644 --- a/lib/tasks/alavetelitheme_tasks.rake +++ b/lib/tasks/alavetelitheme_tasks.rake @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- # desc "Explaining what the task does" # task :alavetelitheme do # # Task goes here diff --git a/post_install.rb b/post_install.rb index 2dfabfd..5aae9ca 100644 --- a/post_install.rb +++ b/post_install.rb @@ -1 +1,2 @@ +# -*- encoding : utf-8 -*- # This file is executed in the Rails evironment by the `rails-post-install` script diff --git a/spec/alavetelitheme_spec.rb b/spec/alavetelitheme_spec.rb index 0bb0fab..b21c954 100644 --- a/spec/alavetelitheme_spec.rb +++ b/spec/alavetelitheme_spec.rb @@ -1,3 +1,4 @@ +# -*- encoding : utf-8 -*- # If defined, ALAVETELI_TEST_THEME will be loaded in config/initializers/theme_loader ALAVETELI_TEST_THEME = 'alavetelitheme' require File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','..','spec','spec_helper')) diff --git a/uninstall.rb b/uninstall.rb index 9738333..f6e78fd 100644 --- a/uninstall.rb +++ b/uninstall.rb @@ -1 +1,2 @@ +# -*- encoding : utf-8 -*- # Uninstall hook code here -- cgit v1.2.3 From fdce813c50a5788ba85460ed15c30a6e8ba2f366 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 19 Jan 2017 11:40:28 +0000 Subject: 2-space indent --- spec/alavetelitheme_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/alavetelitheme_spec.rb b/spec/alavetelitheme_spec.rb index b21c954..510b301 100644 --- a/spec/alavetelitheme_spec.rb +++ b/spec/alavetelitheme_spec.rb @@ -5,8 +5,8 @@ require File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','..','s describe "testing the truth" do - it 'should be true' do - assert true - end + it 'should be true' do + assert true + end end -- cgit v1.2.3 From f9de65e75642248f267746fedd74a99deaef3c25 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 19 Jan 2017 11:41:09 +0000 Subject: Rspec uses expect, not assert --- spec/alavetelitheme_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/alavetelitheme_spec.rb b/spec/alavetelitheme_spec.rb index 510b301..6d2b366 100644 --- a/spec/alavetelitheme_spec.rb +++ b/spec/alavetelitheme_spec.rb @@ -3,10 +3,10 @@ ALAVETELI_TEST_THEME = 'alavetelitheme' require File.expand_path(File.join(File.dirname(__FILE__),'..','..','..','..','spec','spec_helper')) -describe "testing the truth" do +describe 'testing the truth' do it 'should be true' do - assert true + expect(true).to eq(true) end end -- cgit v1.2.3 From 13e0231ccafa2a5d40283d6afe93af6208aca736 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 19 Jan 2017 11:42:51 +0000 Subject: Remove example override Just provides an example rather than actually overriding. Fixes https://github.com/mysociety/alavetelitheme/issues/30 --- locale-theme/en/app.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/locale-theme/en/app.po b/locale-theme/en/app.po index d2da165..6f58130 100644 --- a/locale-theme/en/app.po +++ b/locale-theme/en/app.po @@ -2,6 +2,6 @@ # is a good place to put both translations specific to your theme, and # "translations" of the core English words (e.g. you might want to # call FOI "RTI" throughougout, like this: - -msgid "Make and browse Freedom of Information (FOI) requests" -msgstr "Make and browse Right to Know (RTI) requests" \ No newline at end of file +# +# msgid "Make and browse Freedom of Information (FOI) requests" +# msgstr "Make and browse Right to Know (RTI) requests" -- cgit v1.2.3 From 366e560f00cb8d024304a39fca0f6e2ce73f3a28 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 19 Jan 2017 12:46:08 +0000 Subject: Add extra default colours --- assets/stylesheets/responsive/_settings.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/stylesheets/responsive/_settings.scss b/assets/stylesheets/responsive/_settings.scss index 466c902..015aece 100644 --- a/assets/stylesheets/responsive/_settings.scss +++ b/assets/stylesheets/responsive/_settings.scss @@ -19,6 +19,10 @@ $color_red: #e04b4b; $color_violet: #a94ca6; $color_purple: #5c377f; $color_white: #ffffff; +$color_off_white: #f3f1eb; +$color_light_grey: #e2dfd9; +$color_mid_grey: #959287; +$color_dark_grey: #6c6b68; $color_neutral_light: $color_sand; $color_neutral_dark: $color_black; -- cgit v1.2.3 From 0c30576d80677d8e31b70710d46e250de860d755 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 19 Jan 2017 12:46:24 +0000 Subject: Style action menu buttons --- assets/stylesheets/responsive/custom.scss | 47 +++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 9 deletions(-) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index aa6fd1e..5ceec88 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -543,17 +543,32 @@ a.link_button_green_large { .request-header__action-bar__actions { .action-menu__button { @include button-secondary(); + &:after { + border-color: #a5a5a5 transparent transparent transparent; + right: 7%; + } } .action-bar__follow-button { .track__action { @include button-primary(); + border-top-right-radius: 0; + border-bottom-right-radius: 0; + margin-bottom: 0; } } .action-bar__follower-count { - padding: 3px; - font-size: 1.1rem; + color: $color_dark_grey; + padding: 0.56em 1.25em; + border: 1px solid $color_light_grey; + position: relative; + left: -3px; + line-height: 1.6em; + border-left: 0; + border-radius: 3px; + border-top-left-radius: 0; + border-bottom-left-radius: 0; } } @@ -797,14 +812,28 @@ dt { } /* Authority page */ -.action-bar__follower-count { - padding: 3px; - font-size: 1.1rem; -} +.authority__header__action-bar { + .action-bar__follow-button { + .track_action, + .link_button_green { + @include button-secondary(); + border-top-right-radius: 0; + border-bottom-right-radius: 0; + margin-bottom: 0; + } + } -.action-bar__follow-button { - .link_button_green { - @include button-secondary(); + .action-bar__follower-count { + color: $color_dark_grey; + padding: 0.56em 1.25em; + border: 1px solid $color_light_grey; + position: relative; + left: -3px; + line-height: 1.6em; + border-left: 0; + border-radius: 3px; + border-top-left-radius: 0; + border-bottom-left-radius: 0; } } -- cgit v1.2.3 From 84ce87cb19b54ca284bb6124b331bc2dbae37993 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Thu, 19 Jan 2017 12:57:38 +0000 Subject: Remove duplication of action bar button styles --- assets/stylesheets/responsive/custom.scss | 52 +++++++++++++++---------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index 5ceec88..39271d1 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -173,6 +173,28 @@ a.link_button_green_large { @include button-primary($size: large); } + +/* Action Bar Mixins */ + +@mixin follow-button { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + margin-bottom: 0; +} + +@mixin follower-count { + color: $color_dark_grey; + padding: 0.56em 1.25em; + border: 1px solid $color_light_grey; + position: relative; + left: -3px; + line-height: 1.6em; + border-left: 0; + border-radius: 3px; + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + /* Popups */ .popup { @@ -552,23 +574,12 @@ a.link_button_green_large { .action-bar__follow-button { .track__action { @include button-primary(); - border-top-right-radius: 0; - border-bottom-right-radius: 0; - margin-bottom: 0; + @include follow-button(); } } .action-bar__follower-count { - color: $color_dark_grey; - padding: 0.56em 1.25em; - border: 1px solid $color_light_grey; - position: relative; - left: -3px; - line-height: 1.6em; - border-left: 0; - border-radius: 3px; - border-top-left-radius: 0; - border-bottom-left-radius: 0; + @include follower-count(); } } @@ -817,23 +828,12 @@ dt { .track_action, .link_button_green { @include button-secondary(); - border-top-right-radius: 0; - border-bottom-right-radius: 0; - margin-bottom: 0; + @include follow-button(); } } .action-bar__follower-count { - color: $color_dark_grey; - padding: 0.56em 1.25em; - border: 1px solid $color_light_grey; - position: relative; - left: -3px; - line-height: 1.6em; - border-left: 0; - border-radius: 3px; - border-top-left-radius: 0; - border-bottom-left-radius: 0; + @include follower-count(); } } -- cgit v1.2.3 From 63ebe7aa9f75d0c40680c834d7ec6e2ace15e641 Mon Sep 17 00:00:00 2001 From: Martin Wright Date: Wed, 8 Feb 2017 15:13:29 +0000 Subject: make user menu links visible --- assets/stylesheets/responsive/custom.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss index aa6fd1e..c93d8a4 100644 --- a/assets/stylesheets/responsive/custom.scss +++ b/assets/stylesheets/responsive/custom.scss @@ -870,3 +870,14 @@ dt { } } +// User menu +.pro-pill { + background-color: desaturate(darken($color_secondary, 10%), 5%); +} + +#logged_in_bar { + .logged-in-menu a, + .logged-in-menu__signout-link a { + color: $link-color; + } +} -- cgit v1.2.3 From ed5bc5dd15ad7722d97b1c3164a670298d2501e0 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 22 Mar 2017 13:32:37 +0000 Subject: Move assets to app/assets Latest version of assets:precompile task requires path to match app/assets: https://github.com/rails/sprockets-rails/blob/v2.3.3/lib/sprockets/railtie.rb#L60-L62 --- app/assets/images/hamburger.png | Bin 0 -> 172 bytes app/assets/images/home-grad.png | Bin 0 -> 306 bytes app/assets/images/homepage-background-small.jpg | Bin 0 -> 24469 bytes app/assets/images/homepage-background.jpg | Bin 0 -> 64195 bytes .../images/icon_application_octet-stream_large.png | Bin 0 -> 795 bytes app/assets/images/icon_application_pdf_large.png | Bin 0 -> 498 bytes app/assets/images/icon_application_rtf_large.png | Bin 0 -> 461 bytes .../images/icon_application_vnd.ms-excel_large.png | Bin 0 -> 485 bytes .../icon_application_vnd.ms-powerpoint_large.png | Bin 0 -> 456 bytes .../images/icon_application_vnd.ms-word_large.png | Bin 0 -> 560 bytes app/assets/images/icon_application_zip_large.png | Bin 0 -> 203 bytes app/assets/images/icon_image_bmp_large.png | 1 + app/assets/images/icon_image_gif_large.png | 1 + app/assets/images/icon_image_img_large.png | Bin 0 -> 479 bytes app/assets/images/icon_image_jpeg_large.png | 1 + app/assets/images/icon_image_png_large.png | 1 + app/assets/images/icon_image_tiff_large.png | Bin 0 -> 613 bytes .../images/icon_message_delivery-status_large.png | Bin 0 -> 551 bytes app/assets/images/icon_text_html_large.png | Bin 0 -> 682 bytes app/assets/images/icon_text_plain_large.png | Bin 0 -> 172 bytes app/assets/images/icon_text_x-vcard_large.png | Bin 0 -> 648 bytes app/assets/images/icon_unknown.png | Bin 0 -> 543 bytes app/assets/images/link-icon.png | Bin 0 -> 252 bytes app/assets/images/link-icon@2.png | Bin 0 -> 407 bytes app/assets/images/locale-switcher.png | Bin 0 -> 1556 bytes app/assets/images/logo-opengraph.png | Bin 0 -> 12998 bytes app/assets/images/logo.png | Bin 0 -> 4850 bytes app/assets/images/logo@2.png | Bin 0 -> 10208 bytes app/assets/images/navimg/logo-trans-small.png | Bin 0 -> 1351 bytes app/assets/images/old-logo.png | Bin 0 -> 1606 bytes app/assets/images/quote-marks.png | Bin 0 -> 649 bytes app/assets/images/search.png | Bin 0 -> 316 bytes app/assets/images/small-green-cross.png | Bin 0 -> 353 bytes app/assets/images/status/classification.png | Bin 0 -> 748 bytes app/assets/images/status/classification@2x.png | Bin 0 -> 760 bytes app/assets/images/status/delayed.png | Bin 0 -> 529 bytes app/assets/images/status/delayed@2x.png | Bin 0 -> 530 bytes app/assets/images/status/delivery_error.png | Bin 0 -> 667 bytes app/assets/images/status/delivery_error@2x.png | Bin 0 -> 634 bytes app/assets/images/status/locked.png | Bin 0 -> 685 bytes app/assets/images/status/locked@2x.png | Bin 0 -> 717 bytes app/assets/images/status/notheld.png | Bin 0 -> 770 bytes app/assets/images/status/notheld@2x.png | Bin 0 -> 727 bytes app/assets/images/status/overdue.png | Bin 0 -> 840 bytes app/assets/images/status/overdue@2x.png | Bin 0 -> 969 bytes app/assets/images/status/partiallysuccessful.png | Bin 0 -> 783 bytes .../images/status/partiallysuccessful@2x.png | Bin 0 -> 940 bytes app/assets/images/status/postal.png | Bin 0 -> 611 bytes app/assets/images/status/postal@2x.png | Bin 0 -> 684 bytes app/assets/images/status/refused.png | Bin 0 -> 664 bytes app/assets/images/status/refused@2x.png | Bin 0 -> 521 bytes app/assets/images/status/reported.png | Bin 0 -> 663 bytes app/assets/images/status/reported@2x.png | Bin 0 -> 787 bytes app/assets/images/status/review.png | Bin 0 -> 891 bytes app/assets/images/status/review@2x.png | Bin 0 -> 899 bytes app/assets/images/status/successful.png | Bin 0 -> 705 bytes app/assets/images/status/successful@2x.png | Bin 0 -> 832 bytes app/assets/images/status/unusual.png | Bin 0 -> 777 bytes app/assets/images/status/unusual@2x.png | Bin 0 -> 964 bytes app/assets/images/status/waiting.png | Bin 0 -> 890 bytes app/assets/images/status/waiting@2x.png | Bin 0 -> 949 bytes app/assets/images/status/withdrawn.png | Bin 0 -> 706 bytes app/assets/images/status/withdrawn@2x.png | Bin 0 -> 773 bytes app/assets/images/widget-base.png | Bin 0 -> 4635 bytes app/assets/images/wordpress.png | Bin 0 -> 678 bytes app/assets/stylesheets/custom.css.scss | 274 +++++++ app/assets/stylesheets/responsive/_settings.scss | 53 ++ app/assets/stylesheets/responsive/custom.scss | 912 +++++++++++++++++++++ app/assets/stylesheets/widget.scss | 212 +++++ assets/images/hamburger.png | Bin 172 -> 0 bytes assets/images/home-grad.png | Bin 306 -> 0 bytes assets/images/homepage-background-small.jpg | Bin 24469 -> 0 bytes assets/images/homepage-background.jpg | Bin 64195 -> 0 bytes .../images/icon_application_octet-stream_large.png | Bin 795 -> 0 bytes assets/images/icon_application_pdf_large.png | Bin 498 -> 0 bytes assets/images/icon_application_rtf_large.png | Bin 461 -> 0 bytes .../images/icon_application_vnd.ms-excel_large.png | Bin 485 -> 0 bytes .../icon_application_vnd.ms-powerpoint_large.png | Bin 456 -> 0 bytes .../images/icon_application_vnd.ms-word_large.png | Bin 560 -> 0 bytes assets/images/icon_application_zip_large.png | Bin 203 -> 0 bytes assets/images/icon_image_bmp_large.png | 1 - assets/images/icon_image_gif_large.png | 1 - assets/images/icon_image_img_large.png | Bin 479 -> 0 bytes assets/images/icon_image_jpeg_large.png | 1 - assets/images/icon_image_png_large.png | 1 - assets/images/icon_image_tiff_large.png | Bin 613 -> 0 bytes .../images/icon_message_delivery-status_large.png | Bin 551 -> 0 bytes assets/images/icon_text_html_large.png | Bin 682 -> 0 bytes assets/images/icon_text_plain_large.png | Bin 172 -> 0 bytes assets/images/icon_text_x-vcard_large.png | Bin 648 -> 0 bytes assets/images/icon_unknown.png | Bin 543 -> 0 bytes assets/images/link-icon.png | Bin 252 -> 0 bytes assets/images/link-icon@2.png | Bin 407 -> 0 bytes assets/images/locale-switcher.png | Bin 1556 -> 0 bytes assets/images/logo-opengraph.png | Bin 12998 -> 0 bytes assets/images/logo.png | Bin 4850 -> 0 bytes assets/images/logo@2.png | Bin 10208 -> 0 bytes assets/images/navimg/logo-trans-small.png | Bin 1351 -> 0 bytes assets/images/old-logo.png | Bin 1606 -> 0 bytes assets/images/quote-marks.png | Bin 649 -> 0 bytes assets/images/search.png | Bin 316 -> 0 bytes assets/images/small-green-cross.png | Bin 353 -> 0 bytes assets/images/status/classification.png | Bin 748 -> 0 bytes assets/images/status/classification@2x.png | Bin 760 -> 0 bytes assets/images/status/delayed.png | Bin 529 -> 0 bytes assets/images/status/delayed@2x.png | Bin 530 -> 0 bytes assets/images/status/delivery_error.png | Bin 667 -> 0 bytes assets/images/status/delivery_error@2x.png | Bin 634 -> 0 bytes assets/images/status/locked.png | Bin 685 -> 0 bytes assets/images/status/locked@2x.png | Bin 717 -> 0 bytes assets/images/status/notheld.png | Bin 770 -> 0 bytes assets/images/status/notheld@2x.png | Bin 727 -> 0 bytes assets/images/status/overdue.png | Bin 840 -> 0 bytes assets/images/status/overdue@2x.png | Bin 969 -> 0 bytes assets/images/status/partiallysuccessful.png | Bin 783 -> 0 bytes assets/images/status/partiallysuccessful@2x.png | Bin 940 -> 0 bytes assets/images/status/postal.png | Bin 611 -> 0 bytes assets/images/status/postal@2x.png | Bin 684 -> 0 bytes assets/images/status/refused.png | Bin 664 -> 0 bytes assets/images/status/refused@2x.png | Bin 521 -> 0 bytes assets/images/status/reported.png | Bin 663 -> 0 bytes assets/images/status/reported@2x.png | Bin 787 -> 0 bytes assets/images/status/review.png | Bin 891 -> 0 bytes assets/images/status/review@2x.png | Bin 899 -> 0 bytes assets/images/status/successful.png | Bin 705 -> 0 bytes assets/images/status/successful@2x.png | Bin 832 -> 0 bytes assets/images/status/unusual.png | Bin 777 -> 0 bytes assets/images/status/unusual@2x.png | Bin 964 -> 0 bytes assets/images/status/waiting.png | Bin 890 -> 0 bytes assets/images/status/waiting@2x.png | Bin 949 -> 0 bytes assets/images/status/withdrawn.png | Bin 706 -> 0 bytes assets/images/status/withdrawn@2x.png | Bin 773 -> 0 bytes assets/images/widget-base.png | Bin 4635 -> 0 bytes assets/images/wordpress.png | Bin 678 -> 0 bytes assets/stylesheets/custom.css.scss | 274 ------- assets/stylesheets/responsive/_settings.scss | 53 -- assets/stylesheets/responsive/custom.scss | 912 --------------------- assets/stylesheets/widget.scss | 212 ----- lib/alavetelitheme.rb | 1 + 139 files changed, 1456 insertions(+), 1455 deletions(-) create mode 100644 app/assets/images/hamburger.png create mode 100644 app/assets/images/home-grad.png create mode 100644 app/assets/images/homepage-background-small.jpg create mode 100644 app/assets/images/homepage-background.jpg create mode 100644 app/assets/images/icon_application_octet-stream_large.png create mode 100644 app/assets/images/icon_application_pdf_large.png create mode 100644 app/assets/images/icon_application_rtf_large.png create mode 100644 app/assets/images/icon_application_vnd.ms-excel_large.png create mode 100644 app/assets/images/icon_application_vnd.ms-powerpoint_large.png create mode 100644 app/assets/images/icon_application_vnd.ms-word_large.png create mode 100644 app/assets/images/icon_application_zip_large.png create mode 120000 app/assets/images/icon_image_bmp_large.png create mode 120000 app/assets/images/icon_image_gif_large.png create mode 100644 app/assets/images/icon_image_img_large.png create mode 120000 app/assets/images/icon_image_jpeg_large.png create mode 120000 app/assets/images/icon_image_png_large.png create mode 100644 app/assets/images/icon_image_tiff_large.png create mode 100644 app/assets/images/icon_message_delivery-status_large.png create mode 100644 app/assets/images/icon_text_html_large.png create mode 100644 app/assets/images/icon_text_plain_large.png create mode 100644 app/assets/images/icon_text_x-vcard_large.png create mode 100644 app/assets/images/icon_unknown.png create mode 100644 app/assets/images/link-icon.png create mode 100644 app/assets/images/link-icon@2.png create mode 100644 app/assets/images/locale-switcher.png create mode 100644 app/assets/images/logo-opengraph.png create mode 100644 app/assets/images/logo.png create mode 100644 app/assets/images/logo@2.png create mode 100644 app/assets/images/navimg/logo-trans-small.png create mode 100644 app/assets/images/old-logo.png create mode 100644 app/assets/images/quote-marks.png create mode 100644 app/assets/images/search.png create mode 100644 app/assets/images/small-green-cross.png create mode 100644 app/assets/images/status/classification.png create mode 100644 app/assets/images/status/classification@2x.png create mode 100644 app/assets/images/status/delayed.png create mode 100644 app/assets/images/status/delayed@2x.png create mode 100644 app/assets/images/status/delivery_error.png create mode 100644 app/assets/images/status/delivery_error@2x.png create mode 100644 app/assets/images/status/locked.png create mode 100644 app/assets/images/status/locked@2x.png create mode 100644 app/assets/images/status/notheld.png create mode 100644 app/assets/images/status/notheld@2x.png create mode 100644 app/assets/images/status/overdue.png create mode 100644 app/assets/images/status/overdue@2x.png create mode 100644 app/assets/images/status/partiallysuccessful.png create mode 100644 app/assets/images/status/partiallysuccessful@2x.png create mode 100644 app/assets/images/status/postal.png create mode 100644 app/assets/images/status/postal@2x.png create mode 100644 app/assets/images/status/refused.png create mode 100644 app/assets/images/status/refused@2x.png create mode 100644 app/assets/images/status/reported.png create mode 100644 app/assets/images/status/reported@2x.png create mode 100644 app/assets/images/status/review.png create mode 100644 app/assets/images/status/review@2x.png create mode 100644 app/assets/images/status/successful.png create mode 100644 app/assets/images/status/successful@2x.png create mode 100644 app/assets/images/status/unusual.png create mode 100644 app/assets/images/status/unusual@2x.png create mode 100644 app/assets/images/status/waiting.png create mode 100644 app/assets/images/status/waiting@2x.png create mode 100644 app/assets/images/status/withdrawn.png create mode 100644 app/assets/images/status/withdrawn@2x.png create mode 100644 app/assets/images/widget-base.png create mode 100644 app/assets/images/wordpress.png create mode 100644 app/assets/stylesheets/custom.css.scss create mode 100644 app/assets/stylesheets/responsive/_settings.scss create mode 100644 app/assets/stylesheets/responsive/custom.scss create mode 100644 app/assets/stylesheets/widget.scss delete mode 100644 assets/images/hamburger.png delete mode 100644 assets/images/home-grad.png delete mode 100644 assets/images/homepage-background-small.jpg delete mode 100644 assets/images/homepage-background.jpg delete mode 100644 assets/images/icon_application_octet-stream_large.png delete mode 100644 assets/images/icon_application_pdf_large.png delete mode 100644 assets/images/icon_application_rtf_large.png delete mode 100644 assets/images/icon_application_vnd.ms-excel_large.png delete mode 100644 assets/images/icon_application_vnd.ms-powerpoint_large.png delete mode 100644 assets/images/icon_application_vnd.ms-word_large.png delete mode 100644 assets/images/icon_application_zip_large.png delete mode 120000 assets/images/icon_image_bmp_large.png delete mode 120000 assets/images/icon_image_gif_large.png delete mode 100644 assets/images/icon_image_img_large.png delete mode 120000 assets/images/icon_image_jpeg_large.png delete mode 120000 assets/images/icon_image_png_large.png delete mode 100644 assets/images/icon_image_tiff_large.png delete mode 100644 assets/images/icon_message_delivery-status_large.png delete mode 100644 assets/images/icon_text_html_large.png delete mode 100644 assets/images/icon_text_plain_large.png delete mode 100644 assets/images/icon_text_x-vcard_large.png delete mode 100644 assets/images/icon_unknown.png delete mode 100644 assets/images/link-icon.png delete mode 100644 assets/images/link-icon@2.png delete mode 100644 assets/images/locale-switcher.png delete mode 100644 assets/images/logo-opengraph.png delete mode 100644 assets/images/logo.png delete mode 100644 assets/images/logo@2.png delete mode 100644 assets/images/navimg/logo-trans-small.png delete mode 100644 assets/images/old-logo.png delete mode 100644 assets/images/quote-marks.png delete mode 100644 assets/images/search.png delete mode 100644 assets/images/small-green-cross.png delete mode 100644 assets/images/status/classification.png delete mode 100644 assets/images/status/classification@2x.png delete mode 100644 assets/images/status/delayed.png delete mode 100644 assets/images/status/delayed@2x.png delete mode 100644 assets/images/status/delivery_error.png delete mode 100644 assets/images/status/delivery_error@2x.png delete mode 100644 assets/images/status/locked.png delete mode 100644 assets/images/status/locked@2x.png delete mode 100644 assets/images/status/notheld.png delete mode 100644 assets/images/status/notheld@2x.png delete mode 100644 assets/images/status/overdue.png delete mode 100644 assets/images/status/overdue@2x.png delete mode 100644 assets/images/status/partiallysuccessful.png delete mode 100644 assets/images/status/partiallysuccessful@2x.png delete mode 100644 assets/images/status/postal.png delete mode 100644 assets/images/status/postal@2x.png delete mode 100644 assets/images/status/refused.png delete mode 100644 assets/images/status/refused@2x.png delete mode 100644 assets/images/status/reported.png delete mode 100644 assets/images/status/reported@2x.png delete mode 100644 assets/images/status/review.png delete mode 100644 assets/images/status/review@2x.png delete mode 100644 assets/images/status/successful.png delete mode 100644 assets/images/status/successful@2x.png delete mode 100644 assets/images/status/unusual.png delete mode 100644 assets/images/status/unusual@2x.png delete mode 100644 assets/images/status/waiting.png delete mode 100644 assets/images/status/waiting@2x.png delete mode 100644 assets/images/status/withdrawn.png delete mode 100644 assets/images/status/withdrawn@2x.png delete mode 100644 assets/images/widget-base.png delete mode 100644 assets/images/wordpress.png delete mode 100644 assets/stylesheets/custom.css.scss delete mode 100644 assets/stylesheets/responsive/_settings.scss delete mode 100644 assets/stylesheets/responsive/custom.scss delete mode 100644 assets/stylesheets/widget.scss diff --git a/app/assets/images/hamburger.png b/app/assets/images/hamburger.png new file mode 100644 index 0000000..0c44f63 Binary files /dev/null and b/app/assets/images/hamburger.png differ diff --git a/app/assets/images/home-grad.png b/app/assets/images/home-grad.png new file mode 100644 index 0000000..ff9887a Binary files /dev/null and b/app/assets/images/home-grad.png differ diff --git a/app/assets/images/homepage-background-small.jpg b/app/assets/images/homepage-background-small.jpg new file mode 100644 index 0000000..c503d25 Binary files /dev/null and b/app/assets/images/homepage-background-small.jpg differ diff --git a/app/assets/images/homepage-background.jpg b/app/assets/images/homepage-background.jpg new file mode 100644 index 0000000..426485d Binary files /dev/null and b/app/assets/images/homepage-background.jpg differ diff --git a/app/assets/images/icon_application_octet-stream_large.png b/app/assets/images/icon_application_octet-stream_large.png new file mode 100644 index 0000000..02347f1 Binary files /dev/null and b/app/assets/images/icon_application_octet-stream_large.png differ diff --git a/app/assets/images/icon_application_pdf_large.png b/app/assets/images/icon_application_pdf_large.png new file mode 100644 index 0000000..1374851 Binary files /dev/null and b/app/assets/images/icon_application_pdf_large.png differ diff --git a/app/assets/images/icon_application_rtf_large.png b/app/assets/images/icon_application_rtf_large.png new file mode 100644 index 0000000..fbed2e9 Binary files /dev/null and b/app/assets/images/icon_application_rtf_large.png differ diff --git a/app/assets/images/icon_application_vnd.ms-excel_large.png b/app/assets/images/icon_application_vnd.ms-excel_large.png new file mode 100644 index 0000000..86e1ee4 Binary files /dev/null and b/app/assets/images/icon_application_vnd.ms-excel_large.png differ diff --git a/app/assets/images/icon_application_vnd.ms-powerpoint_large.png b/app/assets/images/icon_application_vnd.ms-powerpoint_large.png new file mode 100644 index 0000000..6374b3b Binary files /dev/null and b/app/assets/images/icon_application_vnd.ms-powerpoint_large.png differ diff --git a/app/assets/images/icon_application_vnd.ms-word_large.png b/app/assets/images/icon_application_vnd.ms-word_large.png new file mode 100644 index 0000000..5a2916a Binary files /dev/null and b/app/assets/images/icon_application_vnd.ms-word_large.png differ diff --git a/app/assets/images/icon_application_zip_large.png b/app/assets/images/icon_application_zip_large.png new file mode 100644 index 0000000..042d8c7 Binary files /dev/null and b/app/assets/images/icon_application_zip_large.png differ diff --git a/app/assets/images/icon_image_bmp_large.png b/app/assets/images/icon_image_bmp_large.png new file mode 120000 index 0000000..347bdaa --- /dev/null +++ b/app/assets/images/icon_image_bmp_large.png @@ -0,0 +1 @@ +icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/icon_image_gif_large.png b/app/assets/images/icon_image_gif_large.png new file mode 120000 index 0000000..347bdaa --- /dev/null +++ b/app/assets/images/icon_image_gif_large.png @@ -0,0 +1 @@ +icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/icon_image_img_large.png b/app/assets/images/icon_image_img_large.png new file mode 100644 index 0000000..06e263d Binary files /dev/null and b/app/assets/images/icon_image_img_large.png differ diff --git a/app/assets/images/icon_image_jpeg_large.png b/app/assets/images/icon_image_jpeg_large.png new file mode 120000 index 0000000..347bdaa --- /dev/null +++ b/app/assets/images/icon_image_jpeg_large.png @@ -0,0 +1 @@ +icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/icon_image_png_large.png b/app/assets/images/icon_image_png_large.png new file mode 120000 index 0000000..347bdaa --- /dev/null +++ b/app/assets/images/icon_image_png_large.png @@ -0,0 +1 @@ +icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/icon_image_tiff_large.png b/app/assets/images/icon_image_tiff_large.png new file mode 100644 index 0000000..be2029a Binary files /dev/null and b/app/assets/images/icon_image_tiff_large.png differ diff --git a/app/assets/images/icon_message_delivery-status_large.png b/app/assets/images/icon_message_delivery-status_large.png new file mode 100644 index 0000000..8a895bc Binary files /dev/null and b/app/assets/images/icon_message_delivery-status_large.png differ diff --git a/app/assets/images/icon_text_html_large.png b/app/assets/images/icon_text_html_large.png new file mode 100644 index 0000000..f772ea3 Binary files /dev/null and b/app/assets/images/icon_text_html_large.png differ diff --git a/app/assets/images/icon_text_plain_large.png b/app/assets/images/icon_text_plain_large.png new file mode 100644 index 0000000..fe31dc4 Binary files /dev/null and b/app/assets/images/icon_text_plain_large.png differ diff --git a/app/assets/images/icon_text_x-vcard_large.png b/app/assets/images/icon_text_x-vcard_large.png new file mode 100644 index 0000000..112ffb1 Binary files /dev/null and b/app/assets/images/icon_text_x-vcard_large.png differ diff --git a/app/assets/images/icon_unknown.png b/app/assets/images/icon_unknown.png new file mode 100644 index 0000000..a10dd3d Binary files /dev/null and b/app/assets/images/icon_unknown.png differ diff --git a/app/assets/images/link-icon.png b/app/assets/images/link-icon.png new file mode 100644 index 0000000..7a6dd01 Binary files /dev/null and b/app/assets/images/link-icon.png differ diff --git a/app/assets/images/link-icon@2.png b/app/assets/images/link-icon@2.png new file mode 100644 index 0000000..eafb1e2 Binary files /dev/null and b/app/assets/images/link-icon@2.png differ diff --git a/app/assets/images/locale-switcher.png b/app/assets/images/locale-switcher.png new file mode 100644 index 0000000..850cb9a Binary files /dev/null and b/app/assets/images/locale-switcher.png differ diff --git a/app/assets/images/logo-opengraph.png b/app/assets/images/logo-opengraph.png new file mode 100644 index 0000000..4f495a5 Binary files /dev/null and b/app/assets/images/logo-opengraph.png differ diff --git a/app/assets/images/logo.png b/app/assets/images/logo.png new file mode 100644 index 0000000..6f8e723 Binary files /dev/null and b/app/assets/images/logo.png differ diff --git a/app/assets/images/logo@2.png b/app/assets/images/logo@2.png new file mode 100644 index 0000000..ab890df Binary files /dev/null and b/app/assets/images/logo@2.png differ diff --git a/app/assets/images/navimg/logo-trans-small.png b/app/assets/images/navimg/logo-trans-small.png new file mode 100644 index 0000000..e9ad9ea Binary files /dev/null and b/app/assets/images/navimg/logo-trans-small.png differ diff --git a/app/assets/images/old-logo.png b/app/assets/images/old-logo.png new file mode 100644 index 0000000..8b88458 Binary files /dev/null and b/app/assets/images/old-logo.png differ diff --git a/app/assets/images/quote-marks.png b/app/assets/images/quote-marks.png new file mode 100644 index 0000000..e98f35c Binary files /dev/null and b/app/assets/images/quote-marks.png differ diff --git a/app/assets/images/search.png b/app/assets/images/search.png new file mode 100644 index 0000000..ab38621 Binary files /dev/null and b/app/assets/images/search.png differ diff --git a/app/assets/images/small-green-cross.png b/app/assets/images/small-green-cross.png new file mode 100644 index 0000000..96ebac9 Binary files /dev/null and b/app/assets/images/small-green-cross.png differ diff --git a/app/assets/images/status/classification.png b/app/assets/images/status/classification.png new file mode 100644 index 0000000..5ffd8af Binary files /dev/null and b/app/assets/images/status/classification.png differ diff --git a/app/assets/images/status/classification@2x.png b/app/assets/images/status/classification@2x.png new file mode 100644 index 0000000..c5e9ba8 Binary files /dev/null and b/app/assets/images/status/classification@2x.png differ diff --git a/app/assets/images/status/delayed.png b/app/assets/images/status/delayed.png new file mode 100644 index 0000000..e2c3a29 Binary files /dev/null and b/app/assets/images/status/delayed.png differ diff --git a/app/assets/images/status/delayed@2x.png b/app/assets/images/status/delayed@2x.png new file mode 100644 index 0000000..9de5293 Binary files /dev/null and b/app/assets/images/status/delayed@2x.png differ diff --git a/app/assets/images/status/delivery_error.png b/app/assets/images/status/delivery_error.png new file mode 100644 index 0000000..cd93f43 Binary files /dev/null and b/app/assets/images/status/delivery_error.png differ diff --git a/app/assets/images/status/delivery_error@2x.png b/app/assets/images/status/delivery_error@2x.png new file mode 100644 index 0000000..10fcb0e Binary files /dev/null and b/app/assets/images/status/delivery_error@2x.png differ diff --git a/app/assets/images/status/locked.png b/app/assets/images/status/locked.png new file mode 100644 index 0000000..b932609 Binary files /dev/null and b/app/assets/images/status/locked.png differ diff --git a/app/assets/images/status/locked@2x.png b/app/assets/images/status/locked@2x.png new file mode 100644 index 0000000..5f4ac75 Binary files /dev/null and b/app/assets/images/status/locked@2x.png differ diff --git a/app/assets/images/status/notheld.png b/app/assets/images/status/notheld.png new file mode 100644 index 0000000..042ecb3 Binary files /dev/null and b/app/assets/images/status/notheld.png differ diff --git a/app/assets/images/status/notheld@2x.png b/app/assets/images/status/notheld@2x.png new file mode 100644 index 0000000..bf1c1e8 Binary files /dev/null and b/app/assets/images/status/notheld@2x.png differ diff --git a/app/assets/images/status/overdue.png b/app/assets/images/status/overdue.png new file mode 100644 index 0000000..aa1a391 Binary files /dev/null and b/app/assets/images/status/overdue.png differ diff --git a/app/assets/images/status/overdue@2x.png b/app/assets/images/status/overdue@2x.png new file mode 100644 index 0000000..96e3b95 Binary files /dev/null and b/app/assets/images/status/overdue@2x.png differ diff --git a/app/assets/images/status/partiallysuccessful.png b/app/assets/images/status/partiallysuccessful.png new file mode 100644 index 0000000..99cecad Binary files /dev/null and b/app/assets/images/status/partiallysuccessful.png differ diff --git a/app/assets/images/status/partiallysuccessful@2x.png b/app/assets/images/status/partiallysuccessful@2x.png new file mode 100644 index 0000000..f429896 Binary files /dev/null and b/app/assets/images/status/partiallysuccessful@2x.png differ diff --git a/app/assets/images/status/postal.png b/app/assets/images/status/postal.png new file mode 100644 index 0000000..ff53de6 Binary files /dev/null and b/app/assets/images/status/postal.png differ diff --git a/app/assets/images/status/postal@2x.png b/app/assets/images/status/postal@2x.png new file mode 100644 index 0000000..51c4036 Binary files /dev/null and b/app/assets/images/status/postal@2x.png differ diff --git a/app/assets/images/status/refused.png b/app/assets/images/status/refused.png new file mode 100644 index 0000000..b49f73f Binary files /dev/null and b/app/assets/images/status/refused.png differ diff --git a/app/assets/images/status/refused@2x.png b/app/assets/images/status/refused@2x.png new file mode 100644 index 0000000..ea18dff Binary files /dev/null and b/app/assets/images/status/refused@2x.png differ diff --git a/app/assets/images/status/reported.png b/app/assets/images/status/reported.png new file mode 100644 index 0000000..c86c635 Binary files /dev/null and b/app/assets/images/status/reported.png differ diff --git a/app/assets/images/status/reported@2x.png b/app/assets/images/status/reported@2x.png new file mode 100644 index 0000000..5aab446 Binary files /dev/null and b/app/assets/images/status/reported@2x.png differ diff --git a/app/assets/images/status/review.png b/app/assets/images/status/review.png new file mode 100644 index 0000000..95b9c31 Binary files /dev/null and b/app/assets/images/status/review.png differ diff --git a/app/assets/images/status/review@2x.png b/app/assets/images/status/review@2x.png new file mode 100644 index 0000000..0f95e0d Binary files /dev/null and b/app/assets/images/status/review@2x.png differ diff --git a/app/assets/images/status/successful.png b/app/assets/images/status/successful.png new file mode 100644 index 0000000..097035d Binary files /dev/null and b/app/assets/images/status/successful.png differ diff --git a/app/assets/images/status/successful@2x.png b/app/assets/images/status/successful@2x.png new file mode 100644 index 0000000..f863675 Binary files /dev/null and b/app/assets/images/status/successful@2x.png differ diff --git a/app/assets/images/status/unusual.png b/app/assets/images/status/unusual.png new file mode 100644 index 0000000..3a83785 Binary files /dev/null and b/app/assets/images/status/unusual.png differ diff --git a/app/assets/images/status/unusual@2x.png b/app/assets/images/status/unusual@2x.png new file mode 100644 index 0000000..07e0bd9 Binary files /dev/null and b/app/assets/images/status/unusual@2x.png differ diff --git a/app/assets/images/status/waiting.png b/app/assets/images/status/waiting.png new file mode 100644 index 0000000..a668f70 Binary files /dev/null and b/app/assets/images/status/waiting.png differ diff --git a/app/assets/images/status/waiting@2x.png b/app/assets/images/status/waiting@2x.png new file mode 100644 index 0000000..4e84eb9 Binary files /dev/null and b/app/assets/images/status/waiting@2x.png differ diff --git a/app/assets/images/status/withdrawn.png b/app/assets/images/status/withdrawn.png new file mode 100644 index 0000000..1a68146 Binary files /dev/null and b/app/assets/images/status/withdrawn.png differ diff --git a/app/assets/images/status/withdrawn@2x.png b/app/assets/images/status/withdrawn@2x.png new file mode 100644 index 0000000..f023e7a Binary files /dev/null and b/app/assets/images/status/withdrawn@2x.png differ diff --git a/app/assets/images/widget-base.png b/app/assets/images/widget-base.png new file mode 100644 index 0000000..85a0eff Binary files /dev/null and b/app/assets/images/widget-base.png differ diff --git a/app/assets/images/wordpress.png b/app/assets/images/wordpress.png new file mode 100644 index 0000000..31955ac Binary files /dev/null and b/app/assets/images/wordpress.png differ diff --git a/app/assets/stylesheets/custom.css.scss b/app/assets/stylesheets/custom.css.scss new file mode 100644 index 0000000..6ca983e --- /dev/null +++ b/app/assets/stylesheets/custom.css.scss @@ -0,0 +1,274 @@ +body { +color:#444; +font-family:Arial, sans-serif; +} + +#banner { +background-repeat:no-repeat; +background-position:center top; +background-color:#F0F0F0; +background:image-url('stripes.png'); +} + +#topnav { +font-family:'DeliciousRoman', Arial, sans-serif; +} + +#topnav li a,#topnav li a:visited { +color:#ADADAD; +} + +#topnav li a:hover { +color:#fff; +} + +#topnav ul li.selected { + background:#fff; +} + +#topnav ul li a { +color:#6B3C6A !important; +} + +#logged_in_bar { +color:#444; +} + +#logged_in_bar a,#logged_in_bar a:visited { +color:#92B3FF; +} + +h1,h2,h3 { + font-family:Trebuchet, Trebuchet MS, Helvetica, sans-serif; + color:#555; +} + +h1 { +color:#93278F; +font-size:42px; +font-family:'DeliciousBold', Arial, sans-serif; +} + +h2 { +font-size:1.4em; +} + + +h2,dt { +color:#93278F; +font-family:'DeliciousBold', Arial, sans-serif; +font-weight:400; +} + +h3 { +color:#6B3C6A; +font-family:'DeliciousRoman', Arial, sans-serif; +font-weight:400; +} + +a { +color:#93278F; +} + +p.subtitle { +font-family:'DeliciousRoman'; +color:#6B3C7F; +} + +.request_listing span.head a,.user_listing span.head a,.body_listing span.head a { +color:#6B3C6A; +font-family:'DeliciousRoman', Arial, sans-serif; +font-weight:400; +} + +.request_listing span.desc { +background:image-url('quote-marks.png') no-repeat; +color:#444; +} + +.feed_link a,.act_link a,#header_right > a { +color:#6B3C6A; +} + +#request_form label,label.form_label,span#to_public_body { +color:#6B3C6A; +} + +span#to_public_body { +font-family:'DeliciousBold', Arial, sans-serif; +} + +#middle_strip { +color:#93278F; +} + +#stepwise_make_request { +background-color:#d0d0d0; +background:image-url('stripes.png'); +border:1px solid #DEBEDD; +font-family:'DeliciousRoman', Arial, sans-serif; +color:#6B3C6A; +} + +div.comment_in_request { +background:image-url('stripes-70-light2.png'); +border-color:#5F5F5F; +border-style:dotted; +border-width:1px; +} + +#request_form label,label.form_label { +font-family:'DeliciousRoman', Arial, sans-serif; +} + +#navigation_search input[type=text] { + border-color:#BE7DBC; +} + + +form input[type=submit],a.link_button_green,a.link_button_green_large { +font-family:'DeliciousRoman', Arial, sans-serif; +} + +div.frontpage-box { +background:image-url('stripes.png'); +border:1px solid #DEBEDD; +font-family:'DeliciousRoman', Arial, sans-serif; +color:#6B3C6A; +} + + +div.correspondence,div.comment_in_request { +background:image-url('stripes-70.png'); +} + +div.outgoing.correspondence { +background:image-url('stripes-70-light.png'); +} + +#frontpage_splash { +background:image-url('flying-computer.png') no-repeat 175px bottom; +} + +#frontpage_splash h1 { +font-family:'DeliciousRoman', Arial, sans-serif; +font-size:39px; +color:#6B3C6A; +font-weight:400; +margin:0 0 20px; +} + +#frontpage_splash h1 strong { +font-family:'DeliciousHeavyRegular', Arial, sans-serif; +font-size:54px; +color:#93278F; +font-weight:400; +} + +#frontpage_splash h1 span { +font-family:Georgia; +font-style:italic; +font-weight:400; +font-size:25px; +color:#6B3C6A; +} + +#frontpage_splash h2 { +font-size:26px; +font-weight:400; +color:#6B3C6A; +font-family:'DeliciousRoman', Arial, sans-serif; +} + +#frontpage_splash h2 strong { +font-size:31px; +color:#93278F; +font-family:'DeliciousBold', Arial, sans-serif; +} + +#frontpage_splash h2 span { +color:#6B3C6A; +font-style:italic; +font-size:19px; +font-family:Georgia; +} + + +#ui-datepicker-div.ui-widget { +font-family:Arial, sans-serif; +color:#93278F; +} + +#ui-datepicker-div .ui-datepicker-header,#ui-datepicker-div .ui-widget-header { +color:#93278F; +font-family:'DeliciousRoman'; +} + +#ui-datepicker-div .ui-state-default:hover { +background:#DEB4D8; +color:#FFF; +} + +#ui-datepicker-div .ui-state-active { +background:#D093C7; +color:#FFF; +} + +#other-country-notice { +background:#93278F; +color:#FFF; +} + +p.public-body-name-prefix { +color:#DEB4D8; +} + +#other-country-notice a { +color:#FFF; +} + + +#link_box { +position:absolute; +text-align:left; +background-color:#FFF; +z-index:999; +opacity:0.9px; +border-radius:6px; +-moz-border-radius:6px; +border:1px solid #93278F; +display:none; +padding:5px; +} + +#link_box .close-button { +background-color:#93278F; +margin-left:15px; +padding:0; +} + +div.correspondence p.preview_subject { +font-family:'DeliciousRoman'; +color:#6B3C7F; +} + +div.correspondence p.preview_subject strong { +color:#6B3C7F; +} + +div.controller_help h1 a,#logged_in_bar a,#logged_in_bar a:visited,#stepwise_make_request strong { +color:#93278F; +} + + +body.front { +background:image-url('home-grad.png') repeat-x 0 160px; +} + +.request_listing span.desc { +background:image-url('quote-marks.png') no-repeat; +} + +#frontpage_examples .excerpt { +background:image-url('quote-marks.png') no-repeat; +} diff --git a/app/assets/stylesheets/responsive/_settings.scss b/app/assets/stylesheets/responsive/_settings.scss new file mode 100644 index 0000000..015aece --- /dev/null +++ b/app/assets/stylesheets/responsive/_settings.scss @@ -0,0 +1,53 @@ +$main_menu-mobile_menu_cutoff: 58em; +$row-width: 64em; +$body-font-family: "Helvetica Neue", Arial, Helvetica, Helmet, Freesans, sans-serif; +$base-font-size: 16px; + +// Specify the filename and dimensions of your logo file here +$logo-filename: 'logo.png'; +$logo-highdpi-filename: 'logo@2.png'; //Should be at least 2x the size, in the same proportions +$logo-width: 275px; +$logo-height: 44px; + +$color_sand: #f3f1eb; +$color_black: #333333; +$color_orange: #f4a140; +$color_blue: #4faded; +$color_green: #62b356; +$color_yellow: #ffd836; +$color_red: #e04b4b; +$color_violet: #a94ca6; +$color_purple: #5c377f; +$color_white: #ffffff; +$color_off_white: #f3f1eb; +$color_light_grey: #e2dfd9; +$color_mid_grey: #959287; +$color_dark_grey: #6c6b68; + +$color_neutral_light: $color_sand; +$color_neutral_dark: $color_black; +$color_primary: $color_violet; +$color_secondary: $color_orange; + +$body-bg: $color_neutral_light; + +$body-font-color: $color_neutral_dark; +$link-color: darken($color_blue, 20%); +$action-color: $color_green; +$font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; +$form_input-bg: $color_white; +$form-label-font-color: $color_black; + +$button-bg: darken($color_green, 10%); +$button-color: $color_white; + +$status-success: darken($color_green, 18%); +$status-failure: darken($color_red, 10%); +$status-pending: darken($color_orange, 28%); + +$notice-color: $color_green; +$error-color: $color_red; +$action-color: $color_orange; + +$banner_inner_bg: $color_primary; +$topnav_bg: darken($color_primary, 10%); diff --git a/app/assets/stylesheets/responsive/custom.scss b/app/assets/stylesheets/responsive/custom.scss new file mode 100644 index 0000000..d32f609 --- /dev/null +++ b/app/assets/stylesheets/responsive/custom.scss @@ -0,0 +1,912 @@ + +/* Mixin styles */ + +/* Hide text when it's replaced by an image */ +.image-replacement { + overflow: hidden; + text-indent: 150%; + white-space: nowrap; +} + +/* General styling of nav menu items */ +%menu-item { + text-decoration: none; + color: transparentize($color_white, 0.2); + @include ie8 { + color: $color_white; + } + transition: background-color 0.5s ease-out; + &:hover{ + background-color: darken($color_primary, 15%); + color: $color_white; + } + +} + +/* Selected menu item */ +%selected-menu-item { + font-weight: bold; + color: $color_primary; + background-color: $color_neutral_light; + &:hover{ + background-color: $color_neutral_light; + } +} + +/* General styles */ +body{ + background-color: $body-bg; + color: $body-font-color; +} + +.entirebody { + font-family: $font-family; +} + +a { + &:link, + &:visited { + color: $link-color; + } + &:hover, + &:active, + &:focus { + color: darken($link-color, 10%); + } +} + +/* Let h1s be a little smaller on small screens */ +@media( max-width: $main_menu-mobile_menu_cutoff ){ + h1 { + font-size: 2em; + } +} + +/* Square corners for text type inputs */ +form input[type="text"], +form input[type="password"], +form input[type="search"], +form input[type="email"], +form input[type="url"], +form input[type="tel"], +form input[type="number"] { + border-radius: 0; + background-color: $form_input-bg; + /* Set a fixed height for text inputs in older IE 8 */ + @include ie8{ + height: 2.3125em; + } + /* Do the same in px for IE < 7 */ + @include lte-ie7{ + height: 22px; + } +} + +input.use-datepicker[type=text] { + width: 130px; + background:image-url('calendar.png') no-repeat 100px 5px $form_input-bg; +} + +/* Button styles */ + +@mixin button-base($size: normal, $disabled: false) { + padding: 0.5em 1.25em; + border-radius: 3px; + display: inline-block; + font-weight: 600; + text-decoration: none; + transition: background-color 300ms ease-out; + margin-bottom: 0; + font-family: $font-family; + @if $size == large { + font-size: 2.2em; + } + &:hover, + &:active, + &:focus { + text-decoration: none; + transition: background-color 300ms ease-out; + } + @if $disabled { + opacity: 0.333; + transition: none; + &:hover, + &:active, + &:focus { + background-color: inherit; + color: inherit; + cursor: default; + transition: none; + } + } +} + +@mixin button-primary($args...) { + @include button-base($args...); + color: $color_white; + background-color: $button-bg; + border: none; + &:hover, + &:active, + &:focus, + &:visited:hover, + &:visited:active, + &:visited:focus { + background-color: darken($button-bg, 10%); + color: $color_white; + } +} + +@mixin button-secondary($args...) { + @include button-base($args...); + background-color: desaturate(darken($color_sand, 10%), 5%); + color: $color_black; + font-weight: normal; + &:hover, + &:active, + &:focus { + color: $color_black; + background-color: desaturate(darken($color_sand, 20%), 5%); + } +} + +@mixin button-tertiary($args...) { + @include button-base($args...); + background-color: desaturate(darken($color_sand, 5%), 5%);; + color: $color_black; + font-weight: normal; + border: 1px solid desaturate(darken($color_sand, 15%),5%); + &:hover, + &:active, + &:focus { + background-color: darken($color_sand, 7.5%); + border: 1px solid desaturate(darken($color_sand, 25%),5%); + } +} + +form input[type=submit], a.link_button_green, a.link_button_green_large { + @include button-primary; + text-decoration: none; +} + +a.link_button_green_large { + @include button-primary($size: large); +} + + +/* Action Bar Mixins */ + +@mixin follow-button { + border-top-right-radius: 0; + border-bottom-right-radius: 0; + margin-bottom: 0; +} + +@mixin follower-count { + color: $color_dark_grey; + padding: 0.56em 1.25em; + border: 1px solid $color_light_grey; + position: relative; + left: -3px; + line-height: 1.6em; + border-left: 0; + border-radius: 3px; + border-top-left-radius: 0; + border-bottom-left-radius: 0; +} + +/* Popups */ + +.popup { + background-color: desaturate(lighten($notice-color, 30%),10%); + border: 3px solid $notice-color; +} + + +/* Header */ + +#banner_inner { + background-color: $banner_inner_bg; +} + +#topnav { + background-color: $topnav_bg; +} + +.site-title__logo { + // Smaller logo on mobiles + width: ($logo-width / 2); + height: ($logo-height / 2); + background-size: ($logo-width / 2) ($logo-height / 2); + + @include respond-min( $main_menu-mobile_menu_cutoff ){ + width: $logo-width; + height: $logo-height; + background-size: $logo-width $logo-height; + } +} + +#navigation{ + border-bottom: none; + a { + @extend %menu-item; + } + /* Show which section is currently selected */ + li.selected a{ + @extend %selected-menu-item; + } + + /* Vertically align the search box */ + #navigation_search{ + input{ + margin-top:0.313em; + margin-bottom:0.313em; + height: 1.875em; + @include ie8 { + height: 33px; + font-size: 1.1em; + padding: 0; + } + } + } + + /* Vertically align the label image for older IE*/ + @include ie8 { + img { + margin-top: 0.626em; + } + } + + #navigation_search_button{ + background-color: $color_white; + border: none; + transition: all 0.3s ease-out; + color: $color_primary; + border-radius: 0; + font-size: inherit; + } +} + +.greeting { + color: $body-bg; +} +/* Notices, errors */ + +#notice, #error, .errorExplanation, #request_header_text, #hidden_request, .describe_state_form form, .undescribed_requests, .warning { + border-top: 10px solid; + font-size: 1em; + margin:1em 0; + padding: 1.5em; + + p:first-child { + margin-top: 0; + } + + p:last-child { + margin-bottom:0; + } + + ul { + margin: 0; + } +} + +#notice, #request_header_text { + background-color: desaturate(lighten($notice-color, 30%),10%); + border-color: $notice-color; +} + +#error, .errorExplanation, #hidden_request, .warning { + background-color: desaturate(lighten($error-color, 30%),10%); + border-color: $error-color; + +} + +.undescribed_requests { + background-color: desaturate(lighten($action-color, 30%),10%); + border-color: $action-color; +} + +/* Logged and local options act like submenus */ +#logged_in_bar{ + @include respond-min($main_menu-mobile_menu_cutoff) { + top: 0; + } + + a { + @extend %menu-item; + background-color: transparent; + font-weight: normal; + color: $color_white; + &:hover, + &:active, + &:focus { + background-color: transparent; + } + } + #logged_in_links { + a { + font-weight: normal; + } + } +} + +/* LANGUAGE SWITCHER */ +#user_locale_switcher { + background-color: $color_primary; + @include respond-min($main_menu-mobile_menu_cutoff) { + background-color: transparent; + } +} + +/* Dropdown list for switching locale */ +.locale-list { + border-bottom: 0; + @include respond-min($main_menu-mobile_menu_cutoff) { + position: absolute; + left: ($logo-width + 40px); + top: 2.2em; + right: auto; + } + .locale-list-trigger { + margin-bottom: 0; + color: $color_white; + color: transparentize($color_white, 0.8); + @include respond-min($main_menu-mobile_menu_cutoff) { + margin-top: 0; + border: 1px solid desaturate(lighten($color_primary, 5%), 5%); + border-radius: 3px; + color: $link-color; + padding: 0; + } + } +} + +.locale-list-trigger .current-locale { + position: relative; + z-index: 999; + border-radius: 3px; + color: $color_white; + @include respond-min($main_menu-mobile_menu_cutoff) { + padding: 0.66em 2em 0.66em 0.66em; + } +} + +.locale-list-trigger .current-locale:after { + display: block; + position: absolute; + content: ''; + right: 10px; + top: 12px; + width: 0; + height: 0; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + @include ie8 { + border-top: 5px solid $color_white; + } + border-top: 5px solid transparentize($color_white, 0.6); +} + +.locale-list-trigger .current-locale, +.locale-list .available-languages a { + display: block; + cursor: pointer; + font-weight: normal; + @include respond-min($main_menu-mobile_menu_cutoff) { + font-size: 0.8125em; + line-height: 1em; + } +} + +.locale-list .available-languages { + display: none; + padding: 0; + margin-bottom: 0; + margin-top: 0; + font-size: 0.8125em; + @include respond-min($main_menu-mobile_menu_cutoff) { + position: absolute; + top: 2em; + left: 0; + z-index: 1000; + border-radius: 3px; + font-size: 1em; + min-width: 100%; + } + +} + +.locale-list li { + list-style-type: none; + border-bottom: 1px solid desaturate(lighten($color_primary, 3%), 5%); + @include respond-min($main_menu-mobile_menu_cutoff) { + border-bottom-color: $color_neutral_dark; + display: block; + } + &:last-child { + @include respond-min($main_menu-mobile_menu_cutoff) { + border-bottom: 0; + a { + border-bottom-right-radius: 3px; + border-bottom-left-radius: 3px; + } + } + } +} + +.locale-list .available-languages a, +.locale-list .available-languages a:link, +.locale-list .available-languages a:visited { + display: block; + background-color: $color_primary; + padding: 0.66em 1em; + width: 100%; + text-decoration: none; + color: transparentize($color_white, 0.2); + @include ie8 { + color: $color_white; + } + @include respond-min($main_menu-mobile_menu_cutoff) { + background-color: lighten($color_neutral_dark, 6%); + } + transition: background-color 0.5s ease-out; +} + +.locale-list .available-languages a:hover, +.locale-list .available-languages a:focus { + border-bottom: none; + background-color: darken($color_primary, 5%); + @include respond-min($main_menu-mobile_menu_cutoff) { + background-color: $color_neutral_dark + } + color: $color_white; + +} + +/* JS interactivity */ +.no-js .locale-list .available-languages, +.locale-list.active .available-languages { + display: block; +} + +.locale-list.active .current-locale { + background-color: $color_primary; + color: $color_white; + border-color: $color_primary; + @include respond-min($main_menu-mobile_menu_cutoff) { + background-color: lighten($color_neutral_dark, 6%); + border-bottom: 1px solid lighten($color_neutral_dark, 2%); + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } +} + +.locale-list.active .current-locale:after { + @include ie8 { + border-top-color: $color_white; + } + border-top-color: transparentize($color_white, 0.6); +} + + +.locale-list.active .locale-list-trigger { + border-color: transparent; + @include respond-min($main_menu-mobile_menu_cutoff) { + border-color: $color_neutral_dark; + } +} + + +#banner { + + /* Hide the greeting on smaller devices */ + .greeting { + display: none; + } + + .rsp_menu_button{ + position: absolute; + top: 5px; // vertically centre the button in the header + right: 4px; // 15px for margin minus 9 for background offset + @extend .image-replacement; + background-image: image-url('hamburger.png'); + background-repeat: no-repeat; + background-position: center 10px; + background-size: 28px 26px; + width: 44px; + height: 38px; + padding: 0; + /* Make sure clickable area covers image */ + a { + width: 100%; + height: 100%; + } + } + + &:target { + .rsp_menu_button { + top: 5px; + right: 4px; + } + } +} + + +/* Footer */ +#footer { + background-color: $color_neutral_dark; + color: darken($color_neutral_light, 10%); + a { + text-decoration: none; + color: $color_white; + &:hover, + &:active, + &:focus { + color: lighten($color_primary, 10%); + text-decoration: underline; + } + } +} + +.footer__about { + h2 { + color: $color_white; + } +} + +.footer__final { + .row { + border-top: 1px solid lighten($color_neutral_dark, 6%); + } +} + +/* Request page */ +.request-header__action-bar__actions { + .action-menu__button { + @include button-secondary(); + &:after { + border-color: #a5a5a5 transparent transparent transparent; + right: 7%; + } + } + + .action-bar__follow-button { + .track__action { + @include button-primary(); + @include follow-button(); + } + } + + .action-bar__follower-count { + @include follower-count(); + } +} + +div.correspondence { + background-color: $color_white; + box-shadow: 0 2px 2px transparentize($color_black, 0.8); + border: none; + border-radius: 5px; + margin-bottom: 2em; +} + +.incoming.correspondence { + border-top: 8px solid $color_secondary; + .correspondence_text a { + color: $color_secondary; + } + a.link_to_this { + background-color: $color_secondary; + } +} + +.outgoing.correspondence { + border-top: 8px solid $color_primary; + a.link_to_this { + background-color: $color_primary; + } +} + +a.correspondence__header__date, +a.correspondence__header__date:visited { + color: #777; +} + +.describe_state_form input[type="radio"] + label { + display:inline; +} + +a.link_to_this { + background-image: image-url('link-icon.png'); + @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { + background-image:image-url('link-icon@2.png'); + } + background-position: center center; + background-repeat: no-repeat; + background-size: 14px; + border-radius: 50%; + height: 20px; + width: 20px; +} + +#link_box { + font-family: $font-family; + border-radius: 0; + border: 1px solid $color_neutral_dark; + .close-button { + background-color: $color_secondary; + float: right; + } +} + +.describe_state_form { + padding: 0; + + form{ + background-color: desaturate(lighten($action-color, 30%),10%); + border-color: $action-color; + h2 { + margin-top: 0; + } + hr { + border-color: $action-color; + } + } +} + +.sidebar { + .new-request-cta { + .new-request__make-new-requests { + @include button-primary(); + } + } +} + +.feed_link_sidebar .link_button_green { + @include button-primary(); +} + +.report-this-request { + @include button-secondary(); + color: $color_black !important; + /* Using !important here as a temporary fix for a bad declaration (a:link) + in Alaveteli core. When this is fixed it can be removed. + */ +} + +/* Status lines and icons */ +.icon_waiting_classification, +.icon_waiting_response, +.icon_waiting_clarification, +.icon_requires_admin, +.icon_waiting_response_overdue, +.icon_gone_postal, +.icon_error_message, +.icon_internal_review, +.icon_user_withdrawn { + color: $status-pending; +} + +.icon_attention_requested, +.icon_not_held, +.icon_waiting_response_very_overdue, +.icon_failed, +.icon_rejected { + color: $status-failure; +} + +.icon_successful, +.icon_partially_successful { + color: $status-success; +} + +.request-status-message { + color: $color_black; +} + +/* Attachments*/ + +.view_html_prefix { + font-family: $font-family; + background-color: $color_primary; + color: transparentize($color_white, 0.2); + @include ie8 { + color: $color_white; + } + a { + color: $color_white; + } + .view_html_logo, .view_html_description { + padding-top: 1em; + } +} + +#header_right { + .link_button_green { + @include button-secondary; + } +} + +/* User page */ +#user_photo_on_profile { + img, #set_photo { + margin-top:0.5em; + } +} + +/* Help pages */ + +dt { + font-weight: 700; + @include respond-min( $main_menu-mobile_menu_cutoff ){ + font-size: 2em; + line-height: 1.1em; + } +} + +/* Front page */ +/* Drop the extract indentation on small screens */ +#frontpage_examples { + .excerpt { + padding: 0.2em 0 0 0; + @include respond-min( $main_menu-mobile_menu_cutoff ){ + padding: 0 0 0 2em; + } + } + p strong a { + @include button-secondary; + } +} + +/* How it works section */ +.steps__list { + li { + @include respond-min( $main_menu-mobile_menu_cutoff ){ + width: 33.3333%; + margin-left: 0 !important; + } + } +} + +.steps__step-box { + background-color: $color_white; + padding: 2em; + box-shadow: 0 1px 2px transparentize($color_black, 0.75); + @include respond-min( $main_menu-mobile_menu_cutoff ){ + min-height: 11em; + } + p { + line-height: 1.5em; + color: $color_neutral_dark; + } +} + +.steps__step-number { + height: 3.5em; + width: 3.5em; + background-color: $color_primary; + box-shadow: 0 1px 2px transparentize($color_black, 0.75); + padding: 1em; + border-radius: 100%; + color: $color_white; + @include respond-min( $main_menu-mobile_menu_cutoff ){ + left: 50%; + margin-left: -1.75em; + bottom: -1em; + top: auto; + } +} + +.learn-more-foi { + @include respond-min( $main_menu-mobile_menu_cutoff ){ + margin-top: 3em; + } + a { + @include button-secondary; + } +} + +.learn-more-foi { + @include respond-min( $main_menu-mobile_menu_cutoff ){ + margin-top: 3em; + } + a { + @include button-secondary; + } +} + +.latest-requests { + .button-secondary { + @include button-secondary; + } +} + +/* Authority page */ +.authority__header__action-bar { + .action-bar__follow-button { + .track_action, + .link_button_green { + @include button-secondary(); + @include follow-button(); + } + } + + .action-bar__follower-count { + @include follower-count(); + } +} + +.authority__body__sidebar form input[type=submit] { + @include button-secondary(); +} + +.homepage-hero { + background-color: $color_neutral_dark; + background-image: image-url('homepage-background-small.jpg'); + background-repeat: no-repeat; + background-position: center top; + background-size: cover; + color: $color_white; + padding: 2em 0 5em; + position: relative; + @include respond-min($main_menu-mobile_menu_cutoff) { + padding: 5em 0 8em; + background-image: image-url('homepage-background.jpg'); + } + + a { + color: $color_secondary; + &:hover, + &:active, + &:focus { + color: $color_white; + } + } + + .intro__title { + color: $color_white; + text-shadow: 0 1px 2px transparentize($color_black, 0.7); + } + + .new-request__content { + background-color: $color_neutral_dark; + border-radius: 5px; + padding: 1.888888889em; + } + + .new-request__title { + color: $color_white; + font-size: 1.4375em; + margin: 0 0 0.5em; + } + + .new-request__description { + color: transparentize($color_white, 0.2); + @include ie8 { + color: $color_white; + } + } + .new-request__make-new-requests { + @include button-base; + background-color: desaturate(darken($color_secondary, 10%), 5%); + color: $color_white; + &:hover, + &:active, + &:focus { + background-color: darken($color_secondary, 20%); + } + } +} + +// User menu +.pro-pill { + background-color: desaturate(darken($color_secondary, 10%), 5%); +} + +#logged_in_bar { + .logged-in-menu a, + .logged-in-menu__signout-link a { + color: $link-color; + } +} diff --git a/app/assets/stylesheets/widget.scss b/app/assets/stylesheets/widget.scss new file mode 100644 index 0000000..e0fa302 --- /dev/null +++ b/app/assets/stylesheets/widget.scss @@ -0,0 +1,212 @@ +$body-bg: #f7eee1; +$button-bg: #8b9352; +$heading-color: #3d3b38; +$status-success: #aab26e; +$status-failure: #ff7959; +$status-pending: #e69e5d; + +/* CSS Mini Reset */ + +html, body, div, form, fieldset, legend, label +{ + margin: 0; + padding: 0; +} + +table +{ + border-collapse: collapse; + border-spacing: 0; +} + +th, td +{ + text-align: left; + vertical-align: top; +} + +h1, h2, h3, h4, h5, h6, th, td, caption { font-weight:normal; } + +img { border: 0; } + +body { + background-color: #ffffff; + color: #333333; + padding: 0; + margin: 0; + font-family: "Helvetica Neue", Arial, Helvetica, Helmet, Freesans, sans-serif; + font-weight: normal; + font-style: normal; + line-height: 1.5em; + position: relative; + cursor: default; + font-size: 1em; +} + +a{ + color: #336c86; + text-decoration: none; +} + +a:hover, +a:focus, +a:active { + color: #333; +} + +/* Button styles */ +.button-base { + padding: 0.5em 1.25em; + border-radius: 3px; + display: inline-block; + font-weight: 600; + text-decoration: none; + transition: background-color 300ms ease-out; + margin-bottom: 0; + font-size: 0.875em; + text-align: center; + &:hover, + &:active, + &:focus { + text-decoration: none; + transition: background-color 300ms ease-out; + cursor: pointer; + } +} + +.button-disabled { + background-color: #f4f4f4 !important; + border: 1px solid #e9e9e9 !important; + cursor: default !important; + color: #333 !important; + font-weight: normal; + &:hover, + &:active, + &:focus { + background-color: #f4f4f4 !important; + color: #333 !important; + } +} + +.alaveteli-widget { + width: 318px; + height: 213px; + border: 1px solid #e9e9e9; + background: #e9e9e9 url("widget-base.png") top left no-repeat; + position: relative; + background-color: $body-bg; + color: $heading-color; +} + +.alaveteli-widget__title { + position: absolute; + top: 1em; + left: 16px; + width: 160px; + height: 75px; + overflow: hidden; + } + +.alaveteli-widget__status { + position: absolute; + top: 97px; + left: 16px; + font-weight: bold; + text-transform: uppercase; + width: 200px; + text-transform: none; + + &.successful, + &.partially_successful { + color: $status-success; + } + + &.requires_admin, + &.waiting_response_very_overdue, + &.not_held, + &.rejected { + color: $status-failure; + } + + &.waiting_response, + &.waiting_response_overdue, + &.user_withdrawn, + &.waiting_clarification, + &.gone_postal, + &.internal_review, + &.attention_requested { + color: $status-pending; + } +} + +.alaveteli-widget__status__status-label { + margin: 0; + font-weight: normal; + font-size: 0.875em; + line-height: 1.1em; + color: #555; + text-transform: capitalize; +} + +.alaveteli-widget__left { + position: absolute; + width: 145px; +} + +.alaveteli-widget__people-count { + position: absolute; + top: 22px; + left: 197px; + width: 100px; + text-align: center; + line-height: 1.3em; +} + +.alaveteli-widget__count { + font-size: 55px; + line-height: 55px; + text-align: center; + font-weight: bold; + color: $button-bg; +} + +.alaveteli-widget__bottom { + position: absolute; + bottom: 0; + left: 0; + width: 72%; + padding: 1em 0 0.9em 1em; +} + +.alaveteli-widget__bottom a { + text-decoration: none; +} + +.alaveteli-widget__button { + @extend .button-base; + color: #fff; + background-color: $button-bg; + border: none; + position: relative; + top: 0.375em; + &:hover, + &:active, + &:focus, + &:visited:hover, + &:visited:active, + &:visited:focus { + background-color: darken($button-bg, 10%); + color: #fff; + } +} + +.alaveteli-widget__button--sign-in-to-track { + @extend .alaveteli-widget__button; + font-size: 13px; +} + +.alaveteli-widget__button--unsubscribe, +.alaveteli-widget__button--create-track, +.alaveteli-widget__button--create-vote { + @extend .alaveteli-widget__button; +} diff --git a/assets/images/hamburger.png b/assets/images/hamburger.png deleted file mode 100644 index 0c44f63..0000000 Binary files a/assets/images/hamburger.png and /dev/null differ diff --git a/assets/images/home-grad.png b/assets/images/home-grad.png deleted file mode 100644 index ff9887a..0000000 Binary files a/assets/images/home-grad.png and /dev/null differ diff --git a/assets/images/homepage-background-small.jpg b/assets/images/homepage-background-small.jpg deleted file mode 100644 index c503d25..0000000 Binary files a/assets/images/homepage-background-small.jpg and /dev/null differ diff --git a/assets/images/homepage-background.jpg b/assets/images/homepage-background.jpg deleted file mode 100644 index 426485d..0000000 Binary files a/assets/images/homepage-background.jpg and /dev/null differ diff --git a/assets/images/icon_application_octet-stream_large.png b/assets/images/icon_application_octet-stream_large.png deleted file mode 100644 index 02347f1..0000000 Binary files a/assets/images/icon_application_octet-stream_large.png and /dev/null differ diff --git a/assets/images/icon_application_pdf_large.png b/assets/images/icon_application_pdf_large.png deleted file mode 100644 index 1374851..0000000 Binary files a/assets/images/icon_application_pdf_large.png and /dev/null differ diff --git a/assets/images/icon_application_rtf_large.png b/assets/images/icon_application_rtf_large.png deleted file mode 100644 index fbed2e9..0000000 Binary files a/assets/images/icon_application_rtf_large.png and /dev/null differ diff --git a/assets/images/icon_application_vnd.ms-excel_large.png b/assets/images/icon_application_vnd.ms-excel_large.png deleted file mode 100644 index 86e1ee4..0000000 Binary files a/assets/images/icon_application_vnd.ms-excel_large.png and /dev/null differ diff --git a/assets/images/icon_application_vnd.ms-powerpoint_large.png b/assets/images/icon_application_vnd.ms-powerpoint_large.png deleted file mode 100644 index 6374b3b..0000000 Binary files a/assets/images/icon_application_vnd.ms-powerpoint_large.png and /dev/null differ diff --git a/assets/images/icon_application_vnd.ms-word_large.png b/assets/images/icon_application_vnd.ms-word_large.png deleted file mode 100644 index 5a2916a..0000000 Binary files a/assets/images/icon_application_vnd.ms-word_large.png and /dev/null differ diff --git a/assets/images/icon_application_zip_large.png b/assets/images/icon_application_zip_large.png deleted file mode 100644 index 042d8c7..0000000 Binary files a/assets/images/icon_application_zip_large.png and /dev/null differ diff --git a/assets/images/icon_image_bmp_large.png b/assets/images/icon_image_bmp_large.png deleted file mode 120000 index 347bdaa..0000000 --- a/assets/images/icon_image_bmp_large.png +++ /dev/null @@ -1 +0,0 @@ -icon_image_img_large.png \ No newline at end of file diff --git a/assets/images/icon_image_gif_large.png b/assets/images/icon_image_gif_large.png deleted file mode 120000 index 347bdaa..0000000 --- a/assets/images/icon_image_gif_large.png +++ /dev/null @@ -1 +0,0 @@ -icon_image_img_large.png \ No newline at end of file diff --git a/assets/images/icon_image_img_large.png b/assets/images/icon_image_img_large.png deleted file mode 100644 index 06e263d..0000000 Binary files a/assets/images/icon_image_img_large.png and /dev/null differ diff --git a/assets/images/icon_image_jpeg_large.png b/assets/images/icon_image_jpeg_large.png deleted file mode 120000 index 347bdaa..0000000 --- a/assets/images/icon_image_jpeg_large.png +++ /dev/null @@ -1 +0,0 @@ -icon_image_img_large.png \ No newline at end of file diff --git a/assets/images/icon_image_png_large.png b/assets/images/icon_image_png_large.png deleted file mode 120000 index 347bdaa..0000000 --- a/assets/images/icon_image_png_large.png +++ /dev/null @@ -1 +0,0 @@ -icon_image_img_large.png \ No newline at end of file diff --git a/assets/images/icon_image_tiff_large.png b/assets/images/icon_image_tiff_large.png deleted file mode 100644 index be2029a..0000000 Binary files a/assets/images/icon_image_tiff_large.png and /dev/null differ diff --git a/assets/images/icon_message_delivery-status_large.png b/assets/images/icon_message_delivery-status_large.png deleted file mode 100644 index 8a895bc..0000000 Binary files a/assets/images/icon_message_delivery-status_large.png and /dev/null differ diff --git a/assets/images/icon_text_html_large.png b/assets/images/icon_text_html_large.png deleted file mode 100644 index f772ea3..0000000 Binary files a/assets/images/icon_text_html_large.png and /dev/null differ diff --git a/assets/images/icon_text_plain_large.png b/assets/images/icon_text_plain_large.png deleted file mode 100644 index fe31dc4..0000000 Binary files a/assets/images/icon_text_plain_large.png and /dev/null differ diff --git a/assets/images/icon_text_x-vcard_large.png b/assets/images/icon_text_x-vcard_large.png deleted file mode 100644 index 112ffb1..0000000 Binary files a/assets/images/icon_text_x-vcard_large.png and /dev/null differ diff --git a/assets/images/icon_unknown.png b/assets/images/icon_unknown.png deleted file mode 100644 index a10dd3d..0000000 Binary files a/assets/images/icon_unknown.png and /dev/null differ diff --git a/assets/images/link-icon.png b/assets/images/link-icon.png deleted file mode 100644 index 7a6dd01..0000000 Binary files a/assets/images/link-icon.png and /dev/null differ diff --git a/assets/images/link-icon@2.png b/assets/images/link-icon@2.png deleted file mode 100644 index eafb1e2..0000000 Binary files a/assets/images/link-icon@2.png and /dev/null differ diff --git a/assets/images/locale-switcher.png b/assets/images/locale-switcher.png deleted file mode 100644 index 850cb9a..0000000 Binary files a/assets/images/locale-switcher.png and /dev/null differ diff --git a/assets/images/logo-opengraph.png b/assets/images/logo-opengraph.png deleted file mode 100644 index 4f495a5..0000000 Binary files a/assets/images/logo-opengraph.png and /dev/null differ diff --git a/assets/images/logo.png b/assets/images/logo.png deleted file mode 100644 index 6f8e723..0000000 Binary files a/assets/images/logo.png and /dev/null differ diff --git a/assets/images/logo@2.png b/assets/images/logo@2.png deleted file mode 100644 index ab890df..0000000 Binary files a/assets/images/logo@2.png and /dev/null differ diff --git a/assets/images/navimg/logo-trans-small.png b/assets/images/navimg/logo-trans-small.png deleted file mode 100644 index e9ad9ea..0000000 Binary files a/assets/images/navimg/logo-trans-small.png and /dev/null differ diff --git a/assets/images/old-logo.png b/assets/images/old-logo.png deleted file mode 100644 index 8b88458..0000000 Binary files a/assets/images/old-logo.png and /dev/null differ diff --git a/assets/images/quote-marks.png b/assets/images/quote-marks.png deleted file mode 100644 index e98f35c..0000000 Binary files a/assets/images/quote-marks.png and /dev/null differ diff --git a/assets/images/search.png b/assets/images/search.png deleted file mode 100644 index ab38621..0000000 Binary files a/assets/images/search.png and /dev/null differ diff --git a/assets/images/small-green-cross.png b/assets/images/small-green-cross.png deleted file mode 100644 index 96ebac9..0000000 Binary files a/assets/images/small-green-cross.png and /dev/null differ diff --git a/assets/images/status/classification.png b/assets/images/status/classification.png deleted file mode 100644 index 5ffd8af..0000000 Binary files a/assets/images/status/classification.png and /dev/null differ diff --git a/assets/images/status/classification@2x.png b/assets/images/status/classification@2x.png deleted file mode 100644 index c5e9ba8..0000000 Binary files a/assets/images/status/classification@2x.png and /dev/null differ diff --git a/assets/images/status/delayed.png b/assets/images/status/delayed.png deleted file mode 100644 index e2c3a29..0000000 Binary files a/assets/images/status/delayed.png and /dev/null differ diff --git a/assets/images/status/delayed@2x.png b/assets/images/status/delayed@2x.png deleted file mode 100644 index 9de5293..0000000 Binary files a/assets/images/status/delayed@2x.png and /dev/null differ diff --git a/assets/images/status/delivery_error.png b/assets/images/status/delivery_error.png deleted file mode 100644 index cd93f43..0000000 Binary files a/assets/images/status/delivery_error.png and /dev/null differ diff --git a/assets/images/status/delivery_error@2x.png b/assets/images/status/delivery_error@2x.png deleted file mode 100644 index 10fcb0e..0000000 Binary files a/assets/images/status/delivery_error@2x.png and /dev/null differ diff --git a/assets/images/status/locked.png b/assets/images/status/locked.png deleted file mode 100644 index b932609..0000000 Binary files a/assets/images/status/locked.png and /dev/null differ diff --git a/assets/images/status/locked@2x.png b/assets/images/status/locked@2x.png deleted file mode 100644 index 5f4ac75..0000000 Binary files a/assets/images/status/locked@2x.png and /dev/null differ diff --git a/assets/images/status/notheld.png b/assets/images/status/notheld.png deleted file mode 100644 index 042ecb3..0000000 Binary files a/assets/images/status/notheld.png and /dev/null differ diff --git a/assets/images/status/notheld@2x.png b/assets/images/status/notheld@2x.png deleted file mode 100644 index bf1c1e8..0000000 Binary files a/assets/images/status/notheld@2x.png and /dev/null differ diff --git a/assets/images/status/overdue.png b/assets/images/status/overdue.png deleted file mode 100644 index aa1a391..0000000 Binary files a/assets/images/status/overdue.png and /dev/null differ diff --git a/assets/images/status/overdue@2x.png b/assets/images/status/overdue@2x.png deleted file mode 100644 index 96e3b95..0000000 Binary files a/assets/images/status/overdue@2x.png and /dev/null differ diff --git a/assets/images/status/partiallysuccessful.png b/assets/images/status/partiallysuccessful.png deleted file mode 100644 index 99cecad..0000000 Binary files a/assets/images/status/partiallysuccessful.png and /dev/null differ diff --git a/assets/images/status/partiallysuccessful@2x.png b/assets/images/status/partiallysuccessful@2x.png deleted file mode 100644 index f429896..0000000 Binary files a/assets/images/status/partiallysuccessful@2x.png and /dev/null differ diff --git a/assets/images/status/postal.png b/assets/images/status/postal.png deleted file mode 100644 index ff53de6..0000000 Binary files a/assets/images/status/postal.png and /dev/null differ diff --git a/assets/images/status/postal@2x.png b/assets/images/status/postal@2x.png deleted file mode 100644 index 51c4036..0000000 Binary files a/assets/images/status/postal@2x.png and /dev/null differ diff --git a/assets/images/status/refused.png b/assets/images/status/refused.png deleted file mode 100644 index b49f73f..0000000 Binary files a/assets/images/status/refused.png and /dev/null differ diff --git a/assets/images/status/refused@2x.png b/assets/images/status/refused@2x.png deleted file mode 100644 index ea18dff..0000000 Binary files a/assets/images/status/refused@2x.png and /dev/null differ diff --git a/assets/images/status/reported.png b/assets/images/status/reported.png deleted file mode 100644 index c86c635..0000000 Binary files a/assets/images/status/reported.png and /dev/null differ diff --git a/assets/images/status/reported@2x.png b/assets/images/status/reported@2x.png deleted file mode 100644 index 5aab446..0000000 Binary files a/assets/images/status/reported@2x.png and /dev/null differ diff --git a/assets/images/status/review.png b/assets/images/status/review.png deleted file mode 100644 index 95b9c31..0000000 Binary files a/assets/images/status/review.png and /dev/null differ diff --git a/assets/images/status/review@2x.png b/assets/images/status/review@2x.png deleted file mode 100644 index 0f95e0d..0000000 Binary files a/assets/images/status/review@2x.png and /dev/null differ diff --git a/assets/images/status/successful.png b/assets/images/status/successful.png deleted file mode 100644 index 097035d..0000000 Binary files a/assets/images/status/successful.png and /dev/null differ diff --git a/assets/images/status/successful@2x.png b/assets/images/status/successful@2x.png deleted file mode 100644 index f863675..0000000 Binary files a/assets/images/status/successful@2x.png and /dev/null differ diff --git a/assets/images/status/unusual.png b/assets/images/status/unusual.png deleted file mode 100644 index 3a83785..0000000 Binary files a/assets/images/status/unusual.png and /dev/null differ diff --git a/assets/images/status/unusual@2x.png b/assets/images/status/unusual@2x.png deleted file mode 100644 index 07e0bd9..0000000 Binary files a/assets/images/status/unusual@2x.png and /dev/null differ diff --git a/assets/images/status/waiting.png b/assets/images/status/waiting.png deleted file mode 100644 index a668f70..0000000 Binary files a/assets/images/status/waiting.png and /dev/null differ diff --git a/assets/images/status/waiting@2x.png b/assets/images/status/waiting@2x.png deleted file mode 100644 index 4e84eb9..0000000 Binary files a/assets/images/status/waiting@2x.png and /dev/null differ diff --git a/assets/images/status/withdrawn.png b/assets/images/status/withdrawn.png deleted file mode 100644 index 1a68146..0000000 Binary files a/assets/images/status/withdrawn.png and /dev/null differ diff --git a/assets/images/status/withdrawn@2x.png b/assets/images/status/withdrawn@2x.png deleted file mode 100644 index f023e7a..0000000 Binary files a/assets/images/status/withdrawn@2x.png and /dev/null differ diff --git a/assets/images/widget-base.png b/assets/images/widget-base.png deleted file mode 100644 index 85a0eff..0000000 Binary files a/assets/images/widget-base.png and /dev/null differ diff --git a/assets/images/wordpress.png b/assets/images/wordpress.png deleted file mode 100644 index 31955ac..0000000 Binary files a/assets/images/wordpress.png and /dev/null differ diff --git a/assets/stylesheets/custom.css.scss b/assets/stylesheets/custom.css.scss deleted file mode 100644 index 6ca983e..0000000 --- a/assets/stylesheets/custom.css.scss +++ /dev/null @@ -1,274 +0,0 @@ -body { -color:#444; -font-family:Arial, sans-serif; -} - -#banner { -background-repeat:no-repeat; -background-position:center top; -background-color:#F0F0F0; -background:image-url('stripes.png'); -} - -#topnav { -font-family:'DeliciousRoman', Arial, sans-serif; -} - -#topnav li a,#topnav li a:visited { -color:#ADADAD; -} - -#topnav li a:hover { -color:#fff; -} - -#topnav ul li.selected { - background:#fff; -} - -#topnav ul li a { -color:#6B3C6A !important; -} - -#logged_in_bar { -color:#444; -} - -#logged_in_bar a,#logged_in_bar a:visited { -color:#92B3FF; -} - -h1,h2,h3 { - font-family:Trebuchet, Trebuchet MS, Helvetica, sans-serif; - color:#555; -} - -h1 { -color:#93278F; -font-size:42px; -font-family:'DeliciousBold', Arial, sans-serif; -} - -h2 { -font-size:1.4em; -} - - -h2,dt { -color:#93278F; -font-family:'DeliciousBold', Arial, sans-serif; -font-weight:400; -} - -h3 { -color:#6B3C6A; -font-family:'DeliciousRoman', Arial, sans-serif; -font-weight:400; -} - -a { -color:#93278F; -} - -p.subtitle { -font-family:'DeliciousRoman'; -color:#6B3C7F; -} - -.request_listing span.head a,.user_listing span.head a,.body_listing span.head a { -color:#6B3C6A; -font-family:'DeliciousRoman', Arial, sans-serif; -font-weight:400; -} - -.request_listing span.desc { -background:image-url('quote-marks.png') no-repeat; -color:#444; -} - -.feed_link a,.act_link a,#header_right > a { -color:#6B3C6A; -} - -#request_form label,label.form_label,span#to_public_body { -color:#6B3C6A; -} - -span#to_public_body { -font-family:'DeliciousBold', Arial, sans-serif; -} - -#middle_strip { -color:#93278F; -} - -#stepwise_make_request { -background-color:#d0d0d0; -background:image-url('stripes.png'); -border:1px solid #DEBEDD; -font-family:'DeliciousRoman', Arial, sans-serif; -color:#6B3C6A; -} - -div.comment_in_request { -background:image-url('stripes-70-light2.png'); -border-color:#5F5F5F; -border-style:dotted; -border-width:1px; -} - -#request_form label,label.form_label { -font-family:'DeliciousRoman', Arial, sans-serif; -} - -#navigation_search input[type=text] { - border-color:#BE7DBC; -} - - -form input[type=submit],a.link_button_green,a.link_button_green_large { -font-family:'DeliciousRoman', Arial, sans-serif; -} - -div.frontpage-box { -background:image-url('stripes.png'); -border:1px solid #DEBEDD; -font-family:'DeliciousRoman', Arial, sans-serif; -color:#6B3C6A; -} - - -div.correspondence,div.comment_in_request { -background:image-url('stripes-70.png'); -} - -div.outgoing.correspondence { -background:image-url('stripes-70-light.png'); -} - -#frontpage_splash { -background:image-url('flying-computer.png') no-repeat 175px bottom; -} - -#frontpage_splash h1 { -font-family:'DeliciousRoman', Arial, sans-serif; -font-size:39px; -color:#6B3C6A; -font-weight:400; -margin:0 0 20px; -} - -#frontpage_splash h1 strong { -font-family:'DeliciousHeavyRegular', Arial, sans-serif; -font-size:54px; -color:#93278F; -font-weight:400; -} - -#frontpage_splash h1 span { -font-family:Georgia; -font-style:italic; -font-weight:400; -font-size:25px; -color:#6B3C6A; -} - -#frontpage_splash h2 { -font-size:26px; -font-weight:400; -color:#6B3C6A; -font-family:'DeliciousRoman', Arial, sans-serif; -} - -#frontpage_splash h2 strong { -font-size:31px; -color:#93278F; -font-family:'DeliciousBold', Arial, sans-serif; -} - -#frontpage_splash h2 span { -color:#6B3C6A; -font-style:italic; -font-size:19px; -font-family:Georgia; -} - - -#ui-datepicker-div.ui-widget { -font-family:Arial, sans-serif; -color:#93278F; -} - -#ui-datepicker-div .ui-datepicker-header,#ui-datepicker-div .ui-widget-header { -color:#93278F; -font-family:'DeliciousRoman'; -} - -#ui-datepicker-div .ui-state-default:hover { -background:#DEB4D8; -color:#FFF; -} - -#ui-datepicker-div .ui-state-active { -background:#D093C7; -color:#FFF; -} - -#other-country-notice { -background:#93278F; -color:#FFF; -} - -p.public-body-name-prefix { -color:#DEB4D8; -} - -#other-country-notice a { -color:#FFF; -} - - -#link_box { -position:absolute; -text-align:left; -background-color:#FFF; -z-index:999; -opacity:0.9px; -border-radius:6px; --moz-border-radius:6px; -border:1px solid #93278F; -display:none; -padding:5px; -} - -#link_box .close-button { -background-color:#93278F; -margin-left:15px; -padding:0; -} - -div.correspondence p.preview_subject { -font-family:'DeliciousRoman'; -color:#6B3C7F; -} - -div.correspondence p.preview_subject strong { -color:#6B3C7F; -} - -div.controller_help h1 a,#logged_in_bar a,#logged_in_bar a:visited,#stepwise_make_request strong { -color:#93278F; -} - - -body.front { -background:image-url('home-grad.png') repeat-x 0 160px; -} - -.request_listing span.desc { -background:image-url('quote-marks.png') no-repeat; -} - -#frontpage_examples .excerpt { -background:image-url('quote-marks.png') no-repeat; -} diff --git a/assets/stylesheets/responsive/_settings.scss b/assets/stylesheets/responsive/_settings.scss deleted file mode 100644 index 015aece..0000000 --- a/assets/stylesheets/responsive/_settings.scss +++ /dev/null @@ -1,53 +0,0 @@ -$main_menu-mobile_menu_cutoff: 58em; -$row-width: 64em; -$body-font-family: "Helvetica Neue", Arial, Helvetica, Helmet, Freesans, sans-serif; -$base-font-size: 16px; - -// Specify the filename and dimensions of your logo file here -$logo-filename: 'logo.png'; -$logo-highdpi-filename: 'logo@2.png'; //Should be at least 2x the size, in the same proportions -$logo-width: 275px; -$logo-height: 44px; - -$color_sand: #f3f1eb; -$color_black: #333333; -$color_orange: #f4a140; -$color_blue: #4faded; -$color_green: #62b356; -$color_yellow: #ffd836; -$color_red: #e04b4b; -$color_violet: #a94ca6; -$color_purple: #5c377f; -$color_white: #ffffff; -$color_off_white: #f3f1eb; -$color_light_grey: #e2dfd9; -$color_mid_grey: #959287; -$color_dark_grey: #6c6b68; - -$color_neutral_light: $color_sand; -$color_neutral_dark: $color_black; -$color_primary: $color_violet; -$color_secondary: $color_orange; - -$body-bg: $color_neutral_light; - -$body-font-color: $color_neutral_dark; -$link-color: darken($color_blue, 20%); -$action-color: $color_green; -$font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; -$form_input-bg: $color_white; -$form-label-font-color: $color_black; - -$button-bg: darken($color_green, 10%); -$button-color: $color_white; - -$status-success: darken($color_green, 18%); -$status-failure: darken($color_red, 10%); -$status-pending: darken($color_orange, 28%); - -$notice-color: $color_green; -$error-color: $color_red; -$action-color: $color_orange; - -$banner_inner_bg: $color_primary; -$topnav_bg: darken($color_primary, 10%); diff --git a/assets/stylesheets/responsive/custom.scss b/assets/stylesheets/responsive/custom.scss deleted file mode 100644 index d32f609..0000000 --- a/assets/stylesheets/responsive/custom.scss +++ /dev/null @@ -1,912 +0,0 @@ - -/* Mixin styles */ - -/* Hide text when it's replaced by an image */ -.image-replacement { - overflow: hidden; - text-indent: 150%; - white-space: nowrap; -} - -/* General styling of nav menu items */ -%menu-item { - text-decoration: none; - color: transparentize($color_white, 0.2); - @include ie8 { - color: $color_white; - } - transition: background-color 0.5s ease-out; - &:hover{ - background-color: darken($color_primary, 15%); - color: $color_white; - } - -} - -/* Selected menu item */ -%selected-menu-item { - font-weight: bold; - color: $color_primary; - background-color: $color_neutral_light; - &:hover{ - background-color: $color_neutral_light; - } -} - -/* General styles */ -body{ - background-color: $body-bg; - color: $body-font-color; -} - -.entirebody { - font-family: $font-family; -} - -a { - &:link, - &:visited { - color: $link-color; - } - &:hover, - &:active, - &:focus { - color: darken($link-color, 10%); - } -} - -/* Let h1s be a little smaller on small screens */ -@media( max-width: $main_menu-mobile_menu_cutoff ){ - h1 { - font-size: 2em; - } -} - -/* Square corners for text type inputs */ -form input[type="text"], -form input[type="password"], -form input[type="search"], -form input[type="email"], -form input[type="url"], -form input[type="tel"], -form input[type="number"] { - border-radius: 0; - background-color: $form_input-bg; - /* Set a fixed height for text inputs in older IE 8 */ - @include ie8{ - height: 2.3125em; - } - /* Do the same in px for IE < 7 */ - @include lte-ie7{ - height: 22px; - } -} - -input.use-datepicker[type=text] { - width: 130px; - background:image-url('calendar.png') no-repeat 100px 5px $form_input-bg; -} - -/* Button styles */ - -@mixin button-base($size: normal, $disabled: false) { - padding: 0.5em 1.25em; - border-radius: 3px; - display: inline-block; - font-weight: 600; - text-decoration: none; - transition: background-color 300ms ease-out; - margin-bottom: 0; - font-family: $font-family; - @if $size == large { - font-size: 2.2em; - } - &:hover, - &:active, - &:focus { - text-decoration: none; - transition: background-color 300ms ease-out; - } - @if $disabled { - opacity: 0.333; - transition: none; - &:hover, - &:active, - &:focus { - background-color: inherit; - color: inherit; - cursor: default; - transition: none; - } - } -} - -@mixin button-primary($args...) { - @include button-base($args...); - color: $color_white; - background-color: $button-bg; - border: none; - &:hover, - &:active, - &:focus, - &:visited:hover, - &:visited:active, - &:visited:focus { - background-color: darken($button-bg, 10%); - color: $color_white; - } -} - -@mixin button-secondary($args...) { - @include button-base($args...); - background-color: desaturate(darken($color_sand, 10%), 5%); - color: $color_black; - font-weight: normal; - &:hover, - &:active, - &:focus { - color: $color_black; - background-color: desaturate(darken($color_sand, 20%), 5%); - } -} - -@mixin button-tertiary($args...) { - @include button-base($args...); - background-color: desaturate(darken($color_sand, 5%), 5%);; - color: $color_black; - font-weight: normal; - border: 1px solid desaturate(darken($color_sand, 15%),5%); - &:hover, - &:active, - &:focus { - background-color: darken($color_sand, 7.5%); - border: 1px solid desaturate(darken($color_sand, 25%),5%); - } -} - -form input[type=submit], a.link_button_green, a.link_button_green_large { - @include button-primary; - text-decoration: none; -} - -a.link_button_green_large { - @include button-primary($size: large); -} - - -/* Action Bar Mixins */ - -@mixin follow-button { - border-top-right-radius: 0; - border-bottom-right-radius: 0; - margin-bottom: 0; -} - -@mixin follower-count { - color: $color_dark_grey; - padding: 0.56em 1.25em; - border: 1px solid $color_light_grey; - position: relative; - left: -3px; - line-height: 1.6em; - border-left: 0; - border-radius: 3px; - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} - -/* Popups */ - -.popup { - background-color: desaturate(lighten($notice-color, 30%),10%); - border: 3px solid $notice-color; -} - - -/* Header */ - -#banner_inner { - background-color: $banner_inner_bg; -} - -#topnav { - background-color: $topnav_bg; -} - -.site-title__logo { - // Smaller logo on mobiles - width: ($logo-width / 2); - height: ($logo-height / 2); - background-size: ($logo-width / 2) ($logo-height / 2); - - @include respond-min( $main_menu-mobile_menu_cutoff ){ - width: $logo-width; - height: $logo-height; - background-size: $logo-width $logo-height; - } -} - -#navigation{ - border-bottom: none; - a { - @extend %menu-item; - } - /* Show which section is currently selected */ - li.selected a{ - @extend %selected-menu-item; - } - - /* Vertically align the search box */ - #navigation_search{ - input{ - margin-top:0.313em; - margin-bottom:0.313em; - height: 1.875em; - @include ie8 { - height: 33px; - font-size: 1.1em; - padding: 0; - } - } - } - - /* Vertically align the label image for older IE*/ - @include ie8 { - img { - margin-top: 0.626em; - } - } - - #navigation_search_button{ - background-color: $color_white; - border: none; - transition: all 0.3s ease-out; - color: $color_primary; - border-radius: 0; - font-size: inherit; - } -} - -.greeting { - color: $body-bg; -} -/* Notices, errors */ - -#notice, #error, .errorExplanation, #request_header_text, #hidden_request, .describe_state_form form, .undescribed_requests, .warning { - border-top: 10px solid; - font-size: 1em; - margin:1em 0; - padding: 1.5em; - - p:first-child { - margin-top: 0; - } - - p:last-child { - margin-bottom:0; - } - - ul { - margin: 0; - } -} - -#notice, #request_header_text { - background-color: desaturate(lighten($notice-color, 30%),10%); - border-color: $notice-color; -} - -#error, .errorExplanation, #hidden_request, .warning { - background-color: desaturate(lighten($error-color, 30%),10%); - border-color: $error-color; - -} - -.undescribed_requests { - background-color: desaturate(lighten($action-color, 30%),10%); - border-color: $action-color; -} - -/* Logged and local options act like submenus */ -#logged_in_bar{ - @include respond-min($main_menu-mobile_menu_cutoff) { - top: 0; - } - - a { - @extend %menu-item; - background-color: transparent; - font-weight: normal; - color: $color_white; - &:hover, - &:active, - &:focus { - background-color: transparent; - } - } - #logged_in_links { - a { - font-weight: normal; - } - } -} - -/* LANGUAGE SWITCHER */ -#user_locale_switcher { - background-color: $color_primary; - @include respond-min($main_menu-mobile_menu_cutoff) { - background-color: transparent; - } -} - -/* Dropdown list for switching locale */ -.locale-list { - border-bottom: 0; - @include respond-min($main_menu-mobile_menu_cutoff) { - position: absolute; - left: ($logo-width + 40px); - top: 2.2em; - right: auto; - } - .locale-list-trigger { - margin-bottom: 0; - color: $color_white; - color: transparentize($color_white, 0.8); - @include respond-min($main_menu-mobile_menu_cutoff) { - margin-top: 0; - border: 1px solid desaturate(lighten($color_primary, 5%), 5%); - border-radius: 3px; - color: $link-color; - padding: 0; - } - } -} - -.locale-list-trigger .current-locale { - position: relative; - z-index: 999; - border-radius: 3px; - color: $color_white; - @include respond-min($main_menu-mobile_menu_cutoff) { - padding: 0.66em 2em 0.66em 0.66em; - } -} - -.locale-list-trigger .current-locale:after { - display: block; - position: absolute; - content: ''; - right: 10px; - top: 12px; - width: 0; - height: 0; - border-left: 5px solid transparent; - border-right: 5px solid transparent; - @include ie8 { - border-top: 5px solid $color_white; - } - border-top: 5px solid transparentize($color_white, 0.6); -} - -.locale-list-trigger .current-locale, -.locale-list .available-languages a { - display: block; - cursor: pointer; - font-weight: normal; - @include respond-min($main_menu-mobile_menu_cutoff) { - font-size: 0.8125em; - line-height: 1em; - } -} - -.locale-list .available-languages { - display: none; - padding: 0; - margin-bottom: 0; - margin-top: 0; - font-size: 0.8125em; - @include respond-min($main_menu-mobile_menu_cutoff) { - position: absolute; - top: 2em; - left: 0; - z-index: 1000; - border-radius: 3px; - font-size: 1em; - min-width: 100%; - } - -} - -.locale-list li { - list-style-type: none; - border-bottom: 1px solid desaturate(lighten($color_primary, 3%), 5%); - @include respond-min($main_menu-mobile_menu_cutoff) { - border-bottom-color: $color_neutral_dark; - display: block; - } - &:last-child { - @include respond-min($main_menu-mobile_menu_cutoff) { - border-bottom: 0; - a { - border-bottom-right-radius: 3px; - border-bottom-left-radius: 3px; - } - } - } -} - -.locale-list .available-languages a, -.locale-list .available-languages a:link, -.locale-list .available-languages a:visited { - display: block; - background-color: $color_primary; - padding: 0.66em 1em; - width: 100%; - text-decoration: none; - color: transparentize($color_white, 0.2); - @include ie8 { - color: $color_white; - } - @include respond-min($main_menu-mobile_menu_cutoff) { - background-color: lighten($color_neutral_dark, 6%); - } - transition: background-color 0.5s ease-out; -} - -.locale-list .available-languages a:hover, -.locale-list .available-languages a:focus { - border-bottom: none; - background-color: darken($color_primary, 5%); - @include respond-min($main_menu-mobile_menu_cutoff) { - background-color: $color_neutral_dark - } - color: $color_white; - -} - -/* JS interactivity */ -.no-js .locale-list .available-languages, -.locale-list.active .available-languages { - display: block; -} - -.locale-list.active .current-locale { - background-color: $color_primary; - color: $color_white; - border-color: $color_primary; - @include respond-min($main_menu-mobile_menu_cutoff) { - background-color: lighten($color_neutral_dark, 6%); - border-bottom: 1px solid lighten($color_neutral_dark, 2%); - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; - } -} - -.locale-list.active .current-locale:after { - @include ie8 { - border-top-color: $color_white; - } - border-top-color: transparentize($color_white, 0.6); -} - - -.locale-list.active .locale-list-trigger { - border-color: transparent; - @include respond-min($main_menu-mobile_menu_cutoff) { - border-color: $color_neutral_dark; - } -} - - -#banner { - - /* Hide the greeting on smaller devices */ - .greeting { - display: none; - } - - .rsp_menu_button{ - position: absolute; - top: 5px; // vertically centre the button in the header - right: 4px; // 15px for margin minus 9 for background offset - @extend .image-replacement; - background-image: image-url('hamburger.png'); - background-repeat: no-repeat; - background-position: center 10px; - background-size: 28px 26px; - width: 44px; - height: 38px; - padding: 0; - /* Make sure clickable area covers image */ - a { - width: 100%; - height: 100%; - } - } - - &:target { - .rsp_menu_button { - top: 5px; - right: 4px; - } - } -} - - -/* Footer */ -#footer { - background-color: $color_neutral_dark; - color: darken($color_neutral_light, 10%); - a { - text-decoration: none; - color: $color_white; - &:hover, - &:active, - &:focus { - color: lighten($color_primary, 10%); - text-decoration: underline; - } - } -} - -.footer__about { - h2 { - color: $color_white; - } -} - -.footer__final { - .row { - border-top: 1px solid lighten($color_neutral_dark, 6%); - } -} - -/* Request page */ -.request-header__action-bar__actions { - .action-menu__button { - @include button-secondary(); - &:after { - border-color: #a5a5a5 transparent transparent transparent; - right: 7%; - } - } - - .action-bar__follow-button { - .track__action { - @include button-primary(); - @include follow-button(); - } - } - - .action-bar__follower-count { - @include follower-count(); - } -} - -div.correspondence { - background-color: $color_white; - box-shadow: 0 2px 2px transparentize($color_black, 0.8); - border: none; - border-radius: 5px; - margin-bottom: 2em; -} - -.incoming.correspondence { - border-top: 8px solid $color_secondary; - .correspondence_text a { - color: $color_secondary; - } - a.link_to_this { - background-color: $color_secondary; - } -} - -.outgoing.correspondence { - border-top: 8px solid $color_primary; - a.link_to_this { - background-color: $color_primary; - } -} - -a.correspondence__header__date, -a.correspondence__header__date:visited { - color: #777; -} - -.describe_state_form input[type="radio"] + label { - display:inline; -} - -a.link_to_this { - background-image: image-url('link-icon.png'); - @media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) { - background-image:image-url('link-icon@2.png'); - } - background-position: center center; - background-repeat: no-repeat; - background-size: 14px; - border-radius: 50%; - height: 20px; - width: 20px; -} - -#link_box { - font-family: $font-family; - border-radius: 0; - border: 1px solid $color_neutral_dark; - .close-button { - background-color: $color_secondary; - float: right; - } -} - -.describe_state_form { - padding: 0; - - form{ - background-color: desaturate(lighten($action-color, 30%),10%); - border-color: $action-color; - h2 { - margin-top: 0; - } - hr { - border-color: $action-color; - } - } -} - -.sidebar { - .new-request-cta { - .new-request__make-new-requests { - @include button-primary(); - } - } -} - -.feed_link_sidebar .link_button_green { - @include button-primary(); -} - -.report-this-request { - @include button-secondary(); - color: $color_black !important; - /* Using !important here as a temporary fix for a bad declaration (a:link) - in Alaveteli core. When this is fixed it can be removed. - */ -} - -/* Status lines and icons */ -.icon_waiting_classification, -.icon_waiting_response, -.icon_waiting_clarification, -.icon_requires_admin, -.icon_waiting_response_overdue, -.icon_gone_postal, -.icon_error_message, -.icon_internal_review, -.icon_user_withdrawn { - color: $status-pending; -} - -.icon_attention_requested, -.icon_not_held, -.icon_waiting_response_very_overdue, -.icon_failed, -.icon_rejected { - color: $status-failure; -} - -.icon_successful, -.icon_partially_successful { - color: $status-success; -} - -.request-status-message { - color: $color_black; -} - -/* Attachments*/ - -.view_html_prefix { - font-family: $font-family; - background-color: $color_primary; - color: transparentize($color_white, 0.2); - @include ie8 { - color: $color_white; - } - a { - color: $color_white; - } - .view_html_logo, .view_html_description { - padding-top: 1em; - } -} - -#header_right { - .link_button_green { - @include button-secondary; - } -} - -/* User page */ -#user_photo_on_profile { - img, #set_photo { - margin-top:0.5em; - } -} - -/* Help pages */ - -dt { - font-weight: 700; - @include respond-min( $main_menu-mobile_menu_cutoff ){ - font-size: 2em; - line-height: 1.1em; - } -} - -/* Front page */ -/* Drop the extract indentation on small screens */ -#frontpage_examples { - .excerpt { - padding: 0.2em 0 0 0; - @include respond-min( $main_menu-mobile_menu_cutoff ){ - padding: 0 0 0 2em; - } - } - p strong a { - @include button-secondary; - } -} - -/* How it works section */ -.steps__list { - li { - @include respond-min( $main_menu-mobile_menu_cutoff ){ - width: 33.3333%; - margin-left: 0 !important; - } - } -} - -.steps__step-box { - background-color: $color_white; - padding: 2em; - box-shadow: 0 1px 2px transparentize($color_black, 0.75); - @include respond-min( $main_menu-mobile_menu_cutoff ){ - min-height: 11em; - } - p { - line-height: 1.5em; - color: $color_neutral_dark; - } -} - -.steps__step-number { - height: 3.5em; - width: 3.5em; - background-color: $color_primary; - box-shadow: 0 1px 2px transparentize($color_black, 0.75); - padding: 1em; - border-radius: 100%; - color: $color_white; - @include respond-min( $main_menu-mobile_menu_cutoff ){ - left: 50%; - margin-left: -1.75em; - bottom: -1em; - top: auto; - } -} - -.learn-more-foi { - @include respond-min( $main_menu-mobile_menu_cutoff ){ - margin-top: 3em; - } - a { - @include button-secondary; - } -} - -.learn-more-foi { - @include respond-min( $main_menu-mobile_menu_cutoff ){ - margin-top: 3em; - } - a { - @include button-secondary; - } -} - -.latest-requests { - .button-secondary { - @include button-secondary; - } -} - -/* Authority page */ -.authority__header__action-bar { - .action-bar__follow-button { - .track_action, - .link_button_green { - @include button-secondary(); - @include follow-button(); - } - } - - .action-bar__follower-count { - @include follower-count(); - } -} - -.authority__body__sidebar form input[type=submit] { - @include button-secondary(); -} - -.homepage-hero { - background-color: $color_neutral_dark; - background-image: image-url('homepage-background-small.jpg'); - background-repeat: no-repeat; - background-position: center top; - background-size: cover; - color: $color_white; - padding: 2em 0 5em; - position: relative; - @include respond-min($main_menu-mobile_menu_cutoff) { - padding: 5em 0 8em; - background-image: image-url('homepage-background.jpg'); - } - - a { - color: $color_secondary; - &:hover, - &:active, - &:focus { - color: $color_white; - } - } - - .intro__title { - color: $color_white; - text-shadow: 0 1px 2px transparentize($color_black, 0.7); - } - - .new-request__content { - background-color: $color_neutral_dark; - border-radius: 5px; - padding: 1.888888889em; - } - - .new-request__title { - color: $color_white; - font-size: 1.4375em; - margin: 0 0 0.5em; - } - - .new-request__description { - color: transparentize($color_white, 0.2); - @include ie8 { - color: $color_white; - } - } - .new-request__make-new-requests { - @include button-base; - background-color: desaturate(darken($color_secondary, 10%), 5%); - color: $color_white; - &:hover, - &:active, - &:focus { - background-color: darken($color_secondary, 20%); - } - } -} - -// User menu -.pro-pill { - background-color: desaturate(darken($color_secondary, 10%), 5%); -} - -#logged_in_bar { - .logged-in-menu a, - .logged-in-menu__signout-link a { - color: $link-color; - } -} diff --git a/assets/stylesheets/widget.scss b/assets/stylesheets/widget.scss deleted file mode 100644 index e0fa302..0000000 --- a/assets/stylesheets/widget.scss +++ /dev/null @@ -1,212 +0,0 @@ -$body-bg: #f7eee1; -$button-bg: #8b9352; -$heading-color: #3d3b38; -$status-success: #aab26e; -$status-failure: #ff7959; -$status-pending: #e69e5d; - -/* CSS Mini Reset */ - -html, body, div, form, fieldset, legend, label -{ - margin: 0; - padding: 0; -} - -table -{ - border-collapse: collapse; - border-spacing: 0; -} - -th, td -{ - text-align: left; - vertical-align: top; -} - -h1, h2, h3, h4, h5, h6, th, td, caption { font-weight:normal; } - -img { border: 0; } - -body { - background-color: #ffffff; - color: #333333; - padding: 0; - margin: 0; - font-family: "Helvetica Neue", Arial, Helvetica, Helmet, Freesans, sans-serif; - font-weight: normal; - font-style: normal; - line-height: 1.5em; - position: relative; - cursor: default; - font-size: 1em; -} - -a{ - color: #336c86; - text-decoration: none; -} - -a:hover, -a:focus, -a:active { - color: #333; -} - -/* Button styles */ -.button-base { - padding: 0.5em 1.25em; - border-radius: 3px; - display: inline-block; - font-weight: 600; - text-decoration: none; - transition: background-color 300ms ease-out; - margin-bottom: 0; - font-size: 0.875em; - text-align: center; - &:hover, - &:active, - &:focus { - text-decoration: none; - transition: background-color 300ms ease-out; - cursor: pointer; - } -} - -.button-disabled { - background-color: #f4f4f4 !important; - border: 1px solid #e9e9e9 !important; - cursor: default !important; - color: #333 !important; - font-weight: normal; - &:hover, - &:active, - &:focus { - background-color: #f4f4f4 !important; - color: #333 !important; - } -} - -.alaveteli-widget { - width: 318px; - height: 213px; - border: 1px solid #e9e9e9; - background: #e9e9e9 url("widget-base.png") top left no-repeat; - position: relative; - background-color: $body-bg; - color: $heading-color; -} - -.alaveteli-widget__title { - position: absolute; - top: 1em; - left: 16px; - width: 160px; - height: 75px; - overflow: hidden; - } - -.alaveteli-widget__status { - position: absolute; - top: 97px; - left: 16px; - font-weight: bold; - text-transform: uppercase; - width: 200px; - text-transform: none; - - &.successful, - &.partially_successful { - color: $status-success; - } - - &.requires_admin, - &.waiting_response_very_overdue, - &.not_held, - &.rejected { - color: $status-failure; - } - - &.waiting_response, - &.waiting_response_overdue, - &.user_withdrawn, - &.waiting_clarification, - &.gone_postal, - &.internal_review, - &.attention_requested { - color: $status-pending; - } -} - -.alaveteli-widget__status__status-label { - margin: 0; - font-weight: normal; - font-size: 0.875em; - line-height: 1.1em; - color: #555; - text-transform: capitalize; -} - -.alaveteli-widget__left { - position: absolute; - width: 145px; -} - -.alaveteli-widget__people-count { - position: absolute; - top: 22px; - left: 197px; - width: 100px; - text-align: center; - line-height: 1.3em; -} - -.alaveteli-widget__count { - font-size: 55px; - line-height: 55px; - text-align: center; - font-weight: bold; - color: $button-bg; -} - -.alaveteli-widget__bottom { - position: absolute; - bottom: 0; - left: 0; - width: 72%; - padding: 1em 0 0.9em 1em; -} - -.alaveteli-widget__bottom a { - text-decoration: none; -} - -.alaveteli-widget__button { - @extend .button-base; - color: #fff; - background-color: $button-bg; - border: none; - position: relative; - top: 0.375em; - &:hover, - &:active, - &:focus, - &:visited:hover, - &:visited:active, - &:visited:focus { - background-color: darken($button-bg, 10%); - color: #fff; - } -} - -.alaveteli-widget__button--sign-in-to-track { - @extend .alaveteli-widget__button; - font-size: 13px; -} - -.alaveteli-widget__button--unsubscribe, -.alaveteli-widget__button--create-track, -.alaveteli-widget__button--create-vote { - @extend .alaveteli-widget__button; -} diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb index 668d92a..0658142 100644 --- a/lib/alavetelitheme.rb +++ b/lib/alavetelitheme.rb @@ -39,6 +39,7 @@ $alaveteli_route_extensions << 'custom-routes.rb' ['stylesheets', 'images', 'javascripts'].each do |asset_type| theme_asset_path = File.join(File.dirname(__FILE__), '..', + 'app', 'assets', asset_type) Rails.application.config.assets.paths.unshift theme_asset_path -- cgit v1.2.3 From 0dee8c3bd06dd8779500667018185fab6dcee04e Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Wed, 22 Mar 2017 13:33:57 +0000 Subject: Remove deprecated disable_with button option Now a subkey of the :data option --- lib/views/help/contact.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/views/help/contact.html.erb b/lib/views/help/contact.html.erb index 5f467fe..2072d0c 100644 --- a/lib/views/help/contact.html.erb +++ b/lib/views/help/contact.html.erb @@ -93,8 +93,8 @@

    <%= hidden_field_tag(:submitted_contact_form, 1) %> - <%= submit_tag "Send message to the charity", :disable_with => "Sending..." %> + <%= submit_tag "Send message to the charity", :data => { :disable_with => "Sending..." } %> <-- we run this site, not the Government!
    -<% end %> \ No newline at end of file +<% end %> -- cgit v1.2.3 From f025f5c05852c6a847349c47ebbd2f1182181182 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 14 Sep 2017 17:20:30 +0100 Subject: Add extra theme assets to the asset path The new version of Sprockets for Rails 4.2 only adds assets from the base path so we need to add this ourselves. https://github.com/rails/sprockets-rails/blob/v3.2.0/lib/sprockets/railtie.rb#L84-L87 --- lib/alavetelitheme.rb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/lib/alavetelitheme.rb b/lib/alavetelitheme.rb index 0658142..c472d34 100644 --- a/lib/alavetelitheme.rb +++ b/lib/alavetelitheme.rb @@ -45,6 +45,20 @@ $alaveteli_route_extensions << 'custom-routes.rb' Rails.application.config.assets.paths.unshift theme_asset_path end +# Append individual theme assets to the asset path +theme_asset_path = File.join(File.dirname(__FILE__), + '..', + 'app', + 'assets') +theme_asset_path = Pathname.new(theme_asset_path).cleanpath.to_s + +LOOSE_THEME_ASSETS = lambda do |logical_path, filename| + filename.start_with?(theme_asset_path) && + !['.js', '.css', ''].include?(File.extname(logical_path)) +end + +Rails.application.config.assets.precompile.unshift(LOOSE_THEME_ASSETS) + # Tell FastGettext about the theme's translations: look in the theme's # locale-theme directory for a translation in the first place, and if # it isn't found, look in the Alaveteli locale directory next: -- cgit v1.2.3 From b258236ee3f3ebf191a33994235bed8f84a6c291 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Thu, 21 Sep 2017 16:15:27 +0100 Subject: Use HTTP methods for custom routes --- lib/config/custom-routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config/custom-routes.rb b/lib/config/custom-routes.rb index 98fccf7..efbf95e 100644 --- a/lib/config/custom-routes.rb +++ b/lib/config/custom-routes.rb @@ -3,7 +3,7 @@ Rails.application.routes.draw do # brand new controller example - # match '/mycontroller' => 'general#mycontroller' + # get '/mycontroller' => 'general#mycontroller' # Additional help page example - # match '/help/help_out' => 'help#help_out' + # get '/help/help_out' => 'help#help_out' end -- cgit v1.2.3 From ed2a756ed2e98850ef02b1dc6cf1e4e0f5251b49 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Fri, 22 Sep 2017 16:22:08 +0100 Subject: Move file content type icons to subdirectory Corresponds to 54fe619532c6368f301d in core. --- .../content_type/icon_application_octet-stream_large.png | Bin 0 -> 795 bytes .../images/content_type/icon_application_pdf_large.png | Bin 0 -> 498 bytes .../images/content_type/icon_application_rtf_large.png | Bin 0 -> 461 bytes .../content_type/icon_application_vnd.ms-excel_large.png | Bin 0 -> 485 bytes .../icon_application_vnd.ms-powerpoint_large.png | Bin 0 -> 456 bytes .../content_type/icon_application_vnd.ms-word_large.png | Bin 0 -> 560 bytes .../images/content_type/icon_application_zip_large.png | Bin 0 -> 203 bytes app/assets/images/content_type/icon_image_bmp_large.png | 1 + app/assets/images/content_type/icon_image_gif_large.png | 1 + app/assets/images/content_type/icon_image_img_large.png | Bin 0 -> 479 bytes app/assets/images/content_type/icon_image_jpeg_large.png | 1 + app/assets/images/content_type/icon_image_png_large.png | 1 + app/assets/images/content_type/icon_image_tiff_large.png | Bin 0 -> 613 bytes .../content_type/icon_message_delivery-status_large.png | Bin 0 -> 551 bytes app/assets/images/content_type/icon_text_html_large.png | Bin 0 -> 682 bytes app/assets/images/content_type/icon_text_plain_large.png | Bin 0 -> 172 bytes .../images/content_type/icon_text_x-vcard_large.png | Bin 0 -> 648 bytes app/assets/images/content_type/icon_unknown.png | Bin 0 -> 543 bytes app/assets/images/icon_application_octet-stream_large.png | Bin 795 -> 0 bytes app/assets/images/icon_application_pdf_large.png | Bin 498 -> 0 bytes app/assets/images/icon_application_rtf_large.png | Bin 461 -> 0 bytes app/assets/images/icon_application_vnd.ms-excel_large.png | Bin 485 -> 0 bytes .../images/icon_application_vnd.ms-powerpoint_large.png | Bin 456 -> 0 bytes app/assets/images/icon_application_vnd.ms-word_large.png | Bin 560 -> 0 bytes app/assets/images/icon_application_zip_large.png | Bin 203 -> 0 bytes app/assets/images/icon_image_bmp_large.png | 1 - app/assets/images/icon_image_gif_large.png | 1 - app/assets/images/icon_image_img_large.png | Bin 479 -> 0 bytes app/assets/images/icon_image_jpeg_large.png | 1 - app/assets/images/icon_image_png_large.png | 1 - app/assets/images/icon_image_tiff_large.png | Bin 613 -> 0 bytes app/assets/images/icon_message_delivery-status_large.png | Bin 551 -> 0 bytes app/assets/images/icon_text_html_large.png | Bin 682 -> 0 bytes app/assets/images/icon_text_plain_large.png | Bin 172 -> 0 bytes app/assets/images/icon_text_x-vcard_large.png | Bin 648 -> 0 bytes app/assets/images/icon_unknown.png | Bin 543 -> 0 bytes 36 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 app/assets/images/content_type/icon_application_octet-stream_large.png create mode 100644 app/assets/images/content_type/icon_application_pdf_large.png create mode 100644 app/assets/images/content_type/icon_application_rtf_large.png create mode 100644 app/assets/images/content_type/icon_application_vnd.ms-excel_large.png create mode 100644 app/assets/images/content_type/icon_application_vnd.ms-powerpoint_large.png create mode 100644 app/assets/images/content_type/icon_application_vnd.ms-word_large.png create mode 100644 app/assets/images/content_type/icon_application_zip_large.png create mode 120000 app/assets/images/content_type/icon_image_bmp_large.png create mode 120000 app/assets/images/content_type/icon_image_gif_large.png create mode 100644 app/assets/images/content_type/icon_image_img_large.png create mode 120000 app/assets/images/content_type/icon_image_jpeg_large.png create mode 120000 app/assets/images/content_type/icon_image_png_large.png create mode 100644 app/assets/images/content_type/icon_image_tiff_large.png create mode 100644 app/assets/images/content_type/icon_message_delivery-status_large.png create mode 100644 app/assets/images/content_type/icon_text_html_large.png create mode 100644 app/assets/images/content_type/icon_text_plain_large.png create mode 100644 app/assets/images/content_type/icon_text_x-vcard_large.png create mode 100644 app/assets/images/content_type/icon_unknown.png delete mode 100644 app/assets/images/icon_application_octet-stream_large.png delete mode 100644 app/assets/images/icon_application_pdf_large.png delete mode 100644 app/assets/images/icon_application_rtf_large.png delete mode 100644 app/assets/images/icon_application_vnd.ms-excel_large.png delete mode 100644 app/assets/images/icon_application_vnd.ms-powerpoint_large.png delete mode 100644 app/assets/images/icon_application_vnd.ms-word_large.png delete mode 100644 app/assets/images/icon_application_zip_large.png delete mode 120000 app/assets/images/icon_image_bmp_large.png delete mode 120000 app/assets/images/icon_image_gif_large.png delete mode 100644 app/assets/images/icon_image_img_large.png delete mode 120000 app/assets/images/icon_image_jpeg_large.png delete mode 120000 app/assets/images/icon_image_png_large.png delete mode 100644 app/assets/images/icon_image_tiff_large.png delete mode 100644 app/assets/images/icon_message_delivery-status_large.png delete mode 100644 app/assets/images/icon_text_html_large.png delete mode 100644 app/assets/images/icon_text_plain_large.png delete mode 100644 app/assets/images/icon_text_x-vcard_large.png delete mode 100644 app/assets/images/icon_unknown.png diff --git a/app/assets/images/content_type/icon_application_octet-stream_large.png b/app/assets/images/content_type/icon_application_octet-stream_large.png new file mode 100644 index 0000000..02347f1 Binary files /dev/null and b/app/assets/images/content_type/icon_application_octet-stream_large.png differ diff --git a/app/assets/images/content_type/icon_application_pdf_large.png b/app/assets/images/content_type/icon_application_pdf_large.png new file mode 100644 index 0000000..1374851 Binary files /dev/null and b/app/assets/images/content_type/icon_application_pdf_large.png differ diff --git a/app/assets/images/content_type/icon_application_rtf_large.png b/app/assets/images/content_type/icon_application_rtf_large.png new file mode 100644 index 0000000..fbed2e9 Binary files /dev/null and b/app/assets/images/content_type/icon_application_rtf_large.png differ diff --git a/app/assets/images/content_type/icon_application_vnd.ms-excel_large.png b/app/assets/images/content_type/icon_application_vnd.ms-excel_large.png new file mode 100644 index 0000000..86e1ee4 Binary files /dev/null and b/app/assets/images/content_type/icon_application_vnd.ms-excel_large.png differ diff --git a/app/assets/images/content_type/icon_application_vnd.ms-powerpoint_large.png b/app/assets/images/content_type/icon_application_vnd.ms-powerpoint_large.png new file mode 100644 index 0000000..6374b3b Binary files /dev/null and b/app/assets/images/content_type/icon_application_vnd.ms-powerpoint_large.png differ diff --git a/app/assets/images/content_type/icon_application_vnd.ms-word_large.png b/app/assets/images/content_type/icon_application_vnd.ms-word_large.png new file mode 100644 index 0000000..5a2916a Binary files /dev/null and b/app/assets/images/content_type/icon_application_vnd.ms-word_large.png differ diff --git a/app/assets/images/content_type/icon_application_zip_large.png b/app/assets/images/content_type/icon_application_zip_large.png new file mode 100644 index 0000000..042d8c7 Binary files /dev/null and b/app/assets/images/content_type/icon_application_zip_large.png differ diff --git a/app/assets/images/content_type/icon_image_bmp_large.png b/app/assets/images/content_type/icon_image_bmp_large.png new file mode 120000 index 0000000..347bdaa --- /dev/null +++ b/app/assets/images/content_type/icon_image_bmp_large.png @@ -0,0 +1 @@ +icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/content_type/icon_image_gif_large.png b/app/assets/images/content_type/icon_image_gif_large.png new file mode 120000 index 0000000..347bdaa --- /dev/null +++ b/app/assets/images/content_type/icon_image_gif_large.png @@ -0,0 +1 @@ +icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/content_type/icon_image_img_large.png b/app/assets/images/content_type/icon_image_img_large.png new file mode 100644 index 0000000..06e263d Binary files /dev/null and b/app/assets/images/content_type/icon_image_img_large.png differ diff --git a/app/assets/images/content_type/icon_image_jpeg_large.png b/app/assets/images/content_type/icon_image_jpeg_large.png new file mode 120000 index 0000000..347bdaa --- /dev/null +++ b/app/assets/images/content_type/icon_image_jpeg_large.png @@ -0,0 +1 @@ +icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/content_type/icon_image_png_large.png b/app/assets/images/content_type/icon_image_png_large.png new file mode 120000 index 0000000..347bdaa --- /dev/null +++ b/app/assets/images/content_type/icon_image_png_large.png @@ -0,0 +1 @@ +icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/content_type/icon_image_tiff_large.png b/app/assets/images/content_type/icon_image_tiff_large.png new file mode 100644 index 0000000..be2029a Binary files /dev/null and b/app/assets/images/content_type/icon_image_tiff_large.png differ diff --git a/app/assets/images/content_type/icon_message_delivery-status_large.png b/app/assets/images/content_type/icon_message_delivery-status_large.png new file mode 100644 index 0000000..8a895bc Binary files /dev/null and b/app/assets/images/content_type/icon_message_delivery-status_large.png differ diff --git a/app/assets/images/content_type/icon_text_html_large.png b/app/assets/images/content_type/icon_text_html_large.png new file mode 100644 index 0000000..f772ea3 Binary files /dev/null and b/app/assets/images/content_type/icon_text_html_large.png differ diff --git a/app/assets/images/content_type/icon_text_plain_large.png b/app/assets/images/content_type/icon_text_plain_large.png new file mode 100644 index 0000000..fe31dc4 Binary files /dev/null and b/app/assets/images/content_type/icon_text_plain_large.png differ diff --git a/app/assets/images/content_type/icon_text_x-vcard_large.png b/app/assets/images/content_type/icon_text_x-vcard_large.png new file mode 100644 index 0000000..112ffb1 Binary files /dev/null and b/app/assets/images/content_type/icon_text_x-vcard_large.png differ diff --git a/app/assets/images/content_type/icon_unknown.png b/app/assets/images/content_type/icon_unknown.png new file mode 100644 index 0000000..a10dd3d Binary files /dev/null and b/app/assets/images/content_type/icon_unknown.png differ diff --git a/app/assets/images/icon_application_octet-stream_large.png b/app/assets/images/icon_application_octet-stream_large.png deleted file mode 100644 index 02347f1..0000000 Binary files a/app/assets/images/icon_application_octet-stream_large.png and /dev/null differ diff --git a/app/assets/images/icon_application_pdf_large.png b/app/assets/images/icon_application_pdf_large.png deleted file mode 100644 index 1374851..0000000 Binary files a/app/assets/images/icon_application_pdf_large.png and /dev/null differ diff --git a/app/assets/images/icon_application_rtf_large.png b/app/assets/images/icon_application_rtf_large.png deleted file mode 100644 index fbed2e9..0000000 Binary files a/app/assets/images/icon_application_rtf_large.png and /dev/null differ diff --git a/app/assets/images/icon_application_vnd.ms-excel_large.png b/app/assets/images/icon_application_vnd.ms-excel_large.png deleted file mode 100644 index 86e1ee4..0000000 Binary files a/app/assets/images/icon_application_vnd.ms-excel_large.png and /dev/null differ diff --git a/app/assets/images/icon_application_vnd.ms-powerpoint_large.png b/app/assets/images/icon_application_vnd.ms-powerpoint_large.png deleted file mode 100644 index 6374b3b..0000000 Binary files a/app/assets/images/icon_application_vnd.ms-powerpoint_large.png and /dev/null differ diff --git a/app/assets/images/icon_application_vnd.ms-word_large.png b/app/assets/images/icon_application_vnd.ms-word_large.png deleted file mode 100644 index 5a2916a..0000000 Binary files a/app/assets/images/icon_application_vnd.ms-word_large.png and /dev/null differ diff --git a/app/assets/images/icon_application_zip_large.png b/app/assets/images/icon_application_zip_large.png deleted file mode 100644 index 042d8c7..0000000 Binary files a/app/assets/images/icon_application_zip_large.png and /dev/null differ diff --git a/app/assets/images/icon_image_bmp_large.png b/app/assets/images/icon_image_bmp_large.png deleted file mode 120000 index 347bdaa..0000000 --- a/app/assets/images/icon_image_bmp_large.png +++ /dev/null @@ -1 +0,0 @@ -icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/icon_image_gif_large.png b/app/assets/images/icon_image_gif_large.png deleted file mode 120000 index 347bdaa..0000000 --- a/app/assets/images/icon_image_gif_large.png +++ /dev/null @@ -1 +0,0 @@ -icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/icon_image_img_large.png b/app/assets/images/icon_image_img_large.png deleted file mode 100644 index 06e263d..0000000 Binary files a/app/assets/images/icon_image_img_large.png and /dev/null differ diff --git a/app/assets/images/icon_image_jpeg_large.png b/app/assets/images/icon_image_jpeg_large.png deleted file mode 120000 index 347bdaa..0000000 --- a/app/assets/images/icon_image_jpeg_large.png +++ /dev/null @@ -1 +0,0 @@ -icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/icon_image_png_large.png b/app/assets/images/icon_image_png_large.png deleted file mode 120000 index 347bdaa..0000000 --- a/app/assets/images/icon_image_png_large.png +++ /dev/null @@ -1 +0,0 @@ -icon_image_img_large.png \ No newline at end of file diff --git a/app/assets/images/icon_image_tiff_large.png b/app/assets/images/icon_image_tiff_large.png deleted file mode 100644 index be2029a..0000000 Binary files a/app/assets/images/icon_image_tiff_large.png and /dev/null differ diff --git a/app/assets/images/icon_message_delivery-status_large.png b/app/assets/images/icon_message_delivery-status_large.png deleted file mode 100644 index 8a895bc..0000000 Binary files a/app/assets/images/icon_message_delivery-status_large.png and /dev/null differ diff --git a/app/assets/images/icon_text_html_large.png b/app/assets/images/icon_text_html_large.png deleted file mode 100644 index f772ea3..0000000 Binary files a/app/assets/images/icon_text_html_large.png and /dev/null differ diff --git a/app/assets/images/icon_text_plain_large.png b/app/assets/images/icon_text_plain_large.png deleted file mode 100644 index fe31dc4..0000000 Binary files a/app/assets/images/icon_text_plain_large.png and /dev/null differ diff --git a/app/assets/images/icon_text_x-vcard_large.png b/app/assets/images/icon_text_x-vcard_large.png deleted file mode 100644 index 112ffb1..0000000 Binary files a/app/assets/images/icon_text_x-vcard_large.png and /dev/null differ diff --git a/app/assets/images/icon_unknown.png b/app/assets/images/icon_unknown.png deleted file mode 100644 index a10dd3d..0000000 Binary files a/app/assets/images/icon_unknown.png and /dev/null differ -- cgit v1.2.3 From fd9ee90790cfa43063aa25320eddae0c78647bad Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Fri, 22 Sep 2017 16:23:02 +0100 Subject: Add menu styling --- app/assets/stylesheets/responsive/custom.scss | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/app/assets/stylesheets/responsive/custom.scss b/app/assets/stylesheets/responsive/custom.scss index d32f609..d0282c0 100644 --- a/app/assets/stylesheets/responsive/custom.scss +++ b/app/assets/stylesheets/responsive/custom.scss @@ -33,6 +33,52 @@ } } + +#navigation .more-menu { + background-color: #333; +} + +.account-link:after { + position: relative; + top: -0.15em; + margin-left: 1em; + font-size: 0.5em; + content: "▼"; +} + +.logged-in-menu { + color: black; + box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.1); +} + +#navigation .logged-in-menu a, +#navigation .logged-in-menu__signout-link a { + color: #197ace; + text-decoration: none; + transition: none; + &:hover { + color: #197ace; + background-color: transparent; + text-decoration: underline; + } +} + +#navigation .logged-in-menu__signout-link a { + text-transform: uppercase; + font-weight: bold; + font-size: 0.8em; + color: #888; + &:hover { + color: #888; + } +} + +.pro-pill { + color: #567386; + font-weight: 600; + background-color: #FFFF00; +} + /* General styles */ body{ background-color: $body-bg; -- cgit v1.2.3 From 043970acf94b7f1e8cfbde7c2bfd6ebafb8096c0 Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Fri, 22 Sep 2017 16:46:19 +0100 Subject: Remove obsolete partial No longer needed after core commit d80e0ec0bc2bf81a0714cd44750da46faad44c06 --- lib/views/general/_orglink.html.erb | 1 - 1 file changed, 1 deletion(-) delete mode 100644 lib/views/general/_orglink.html.erb diff --git a/lib/views/general/_orglink.html.erb b/lib/views/general/_orglink.html.erb deleted file mode 100644 index b22d123..0000000 --- a/lib/views/general/_orglink.html.erb +++ /dev/null @@ -1 +0,0 @@ -<%= link_to image_tag('old-logo.png', :alt => 'Alaveteli logo'), frontpage_url, :id=>'logo' %> -- cgit v1.2.3 From b927df66e39d66d38586467e3084579f0fbebc9f Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Fri, 22 Sep 2017 16:55:52 +0100 Subject: Remove non-responsive assets As per https://github.com/mysociety/alaveteli/pull/4171 --- app/assets/images/home-grad.png | Bin 306 -> 0 bytes app/assets/images/locale-switcher.png | Bin 1556 -> 0 bytes app/assets/images/old-logo.png | Bin 1606 -> 0 bytes app/assets/images/quote-marks.png | Bin 649 -> 0 bytes app/assets/images/small-green-cross.png | Bin 353 -> 0 bytes app/assets/images/wordpress.png | Bin 678 -> 0 bytes app/assets/stylesheets/custom.css.scss | 274 -------------------------------- 7 files changed, 274 deletions(-) delete mode 100644 app/assets/images/home-grad.png delete mode 100644 app/assets/images/locale-switcher.png delete mode 100644 app/assets/images/old-logo.png delete mode 100644 app/assets/images/quote-marks.png delete mode 100644 app/assets/images/small-green-cross.png delete mode 100644 app/assets/images/wordpress.png delete mode 100644 app/assets/stylesheets/custom.css.scss diff --git a/app/assets/images/home-grad.png b/app/assets/images/home-grad.png deleted file mode 100644 index ff9887a..0000000 Binary files a/app/assets/images/home-grad.png and /dev/null differ diff --git a/app/assets/images/locale-switcher.png b/app/assets/images/locale-switcher.png deleted file mode 100644 index 850cb9a..0000000 Binary files a/app/assets/images/locale-switcher.png and /dev/null differ diff --git a/app/assets/images/old-logo.png b/app/assets/images/old-logo.png deleted file mode 100644 index 8b88458..0000000 Binary files a/app/assets/images/old-logo.png and /dev/null differ diff --git a/app/assets/images/quote-marks.png b/app/assets/images/quote-marks.png deleted file mode 100644 index e98f35c..0000000 Binary files a/app/assets/images/quote-marks.png and /dev/null differ diff --git a/app/assets/images/small-green-cross.png b/app/assets/images/small-green-cross.png deleted file mode 100644 index 96ebac9..0000000 Binary files a/app/assets/images/small-green-cross.png and /dev/null differ diff --git a/app/assets/images/wordpress.png b/app/assets/images/wordpress.png deleted file mode 100644 index 31955ac..0000000 Binary files a/app/assets/images/wordpress.png and /dev/null differ diff --git a/app/assets/stylesheets/custom.css.scss b/app/assets/stylesheets/custom.css.scss deleted file mode 100644 index 6ca983e..0000000 --- a/app/assets/stylesheets/custom.css.scss +++ /dev/null @@ -1,274 +0,0 @@ -body { -color:#444; -font-family:Arial, sans-serif; -} - -#banner { -background-repeat:no-repeat; -background-position:center top; -background-color:#F0F0F0; -background:image-url('stripes.png'); -} - -#topnav { -font-family:'DeliciousRoman', Arial, sans-serif; -} - -#topnav li a,#topnav li a:visited { -color:#ADADAD; -} - -#topnav li a:hover { -color:#fff; -} - -#topnav ul li.selected { - background:#fff; -} - -#topnav ul li a { -color:#6B3C6A !important; -} - -#logged_in_bar { -color:#444; -} - -#logged_in_bar a,#logged_in_bar a:visited { -color:#92B3FF; -} - -h1,h2,h3 { - font-family:Trebuchet, Trebuchet MS, Helvetica, sans-serif; - color:#555; -} - -h1 { -color:#93278F; -font-size:42px; -font-family:'DeliciousBold', Arial, sans-serif; -} - -h2 { -font-size:1.4em; -} - - -h2,dt { -color:#93278F; -font-family:'DeliciousBold', Arial, sans-serif; -font-weight:400; -} - -h3 { -color:#6B3C6A; -font-family:'DeliciousRoman', Arial, sans-serif; -font-weight:400; -} - -a { -color:#93278F; -} - -p.subtitle { -font-family:'DeliciousRoman'; -color:#6B3C7F; -} - -.request_listing span.head a,.user_listing span.head a,.body_listing span.head a { -color:#6B3C6A; -font-family:'DeliciousRoman', Arial, sans-serif; -font-weight:400; -} - -.request_listing span.desc { -background:image-url('quote-marks.png') no-repeat; -color:#444; -} - -.feed_link a,.act_link a,#header_right > a { -color:#6B3C6A; -} - -#request_form label,label.form_label,span#to_public_body { -color:#6B3C6A; -} - -span#to_public_body { -font-family:'DeliciousBold', Arial, sans-serif; -} - -#middle_strip { -color:#93278F; -} - -#stepwise_make_request { -background-color:#d0d0d0; -background:image-url('stripes.png'); -border:1px solid #DEBEDD; -font-family:'DeliciousRoman', Arial, sans-serif; -color:#6B3C6A; -} - -div.comment_in_request { -background:image-url('stripes-70-light2.png'); -border-color:#5F5F5F; -border-style:dotted; -border-width:1px; -} - -#request_form label,label.form_label { -font-family:'DeliciousRoman', Arial, sans-serif; -} - -#navigation_search input[type=text] { - border-color:#BE7DBC; -} - - -form input[type=submit],a.link_button_green,a.link_button_green_large { -font-family:'DeliciousRoman', Arial, sans-serif; -} - -div.frontpage-box { -background:image-url('stripes.png'); -border:1px solid #DEBEDD; -font-family:'DeliciousRoman', Arial, sans-serif; -color:#6B3C6A; -} - - -div.correspondence,div.comment_in_request { -background:image-url('stripes-70.png'); -} - -div.outgoing.correspondence { -background:image-url('stripes-70-light.png'); -} - -#frontpage_splash { -background:image-url('flying-computer.png') no-repeat 175px bottom; -} - -#frontpage_splash h1 { -font-family:'DeliciousRoman', Arial, sans-serif; -font-size:39px; -color:#6B3C6A; -font-weight:400; -margin:0 0 20px; -} - -#frontpage_splash h1 strong { -font-family:'DeliciousHeavyRegular', Arial, sans-serif; -font-size:54px; -color:#93278F; -font-weight:400; -} - -#frontpage_splash h1 span { -font-family:Georgia; -font-style:italic; -font-weight:400; -font-size:25px; -color:#6B3C6A; -} - -#frontpage_splash h2 { -font-size:26px; -font-weight:400; -color:#6B3C6A; -font-family:'DeliciousRoman', Arial, sans-serif; -} - -#frontpage_splash h2 strong { -font-size:31px; -color:#93278F; -font-family:'DeliciousBold', Arial, sans-serif; -} - -#frontpage_splash h2 span { -color:#6B3C6A; -font-style:italic; -font-size:19px; -font-family:Georgia; -} - - -#ui-datepicker-div.ui-widget { -font-family:Arial, sans-serif; -color:#93278F; -} - -#ui-datepicker-div .ui-datepicker-header,#ui-datepicker-div .ui-widget-header { -color:#93278F; -font-family:'DeliciousRoman'; -} - -#ui-datepicker-div .ui-state-default:hover { -background:#DEB4D8; -color:#FFF; -} - -#ui-datepicker-div .ui-state-active { -background:#D093C7; -color:#FFF; -} - -#other-country-notice { -background:#93278F; -color:#FFF; -} - -p.public-body-name-prefix { -color:#DEB4D8; -} - -#other-country-notice a { -color:#FFF; -} - - -#link_box { -position:absolute; -text-align:left; -background-color:#FFF; -z-index:999; -opacity:0.9px; -border-radius:6px; --moz-border-radius:6px; -border:1px solid #93278F; -display:none; -padding:5px; -} - -#link_box .close-button { -background-color:#93278F; -margin-left:15px; -padding:0; -} - -div.correspondence p.preview_subject { -font-family:'DeliciousRoman'; -color:#6B3C7F; -} - -div.correspondence p.preview_subject strong { -color:#6B3C7F; -} - -div.controller_help h1 a,#logged_in_bar a,#logged_in_bar a:visited,#stepwise_make_request strong { -color:#93278F; -} - - -body.front { -background:image-url('home-grad.png') repeat-x 0 160px; -} - -.request_listing span.desc { -background:image-url('quote-marks.png') no-repeat; -} - -#frontpage_examples .excerpt { -background:image-url('quote-marks.png') no-repeat; -} -- cgit v1.2.3