diff options
author | Gareth Rees <gareth@mysociety.org> | 2015-01-09 12:41:43 +0000 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2015-01-09 12:42:22 +0000 |
commit | 5fb5ec9b8d303d1f5766ecdbbd01e1093ba744dd (patch) | |
tree | d82b44ac663a4f25e9ff368ae02e53986f24602a | |
parent | ed63163d39c7e77130032555fdb834c5550474a8 (diff) |
Add basic styles for “Back to search results” link
To be used after making a search for a public body on /select_authority
-rw-r--r-- | app/assets/stylesheets/responsive/_public_body_layout.scss | 5 | ||||
-rw-r--r-- | app/assets/stylesheets/responsive/_public_body_style.scss | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/stylesheets/responsive/_public_body_layout.scss b/app/assets/stylesheets/responsive/_public_body_layout.scss index ac02b1c10..39d42e213 100644 --- a/app/assets/stylesheets/responsive/_public_body_layout.scss +++ b/app/assets/stylesheets/responsive/_public_body_layout.scss @@ -3,3 +3,8 @@ #foi_results_section { @include grid-column(12); } + +.back-to-results { + @include grid-column(12); + margin-top: 0.5em; +} diff --git a/app/assets/stylesheets/responsive/_public_body_style.scss b/app/assets/stylesheets/responsive/_public_body_style.scss index 240d92618..4040198b3 100644 --- a/app/assets/stylesheets/responsive/_public_body_style.scss +++ b/app/assets/stylesheets/responsive/_public_body_style.scss @@ -1,4 +1,14 @@ /* Style for public body pages */ + +.back-to-results { + .message { + margin-top: 0.5em; + padding: 0.5em 0.8em; + background-color: #fff; + background-color: rgba(0,0,0,0.1); + } +} + .public-body-name-prefix { color:#888; font-size: 1.3em; |