Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added cookie notice bar module.

  • Loading branch information...
commit c4cda08846315b0f309ef35e0cc15f9d1c9ed06d 1 parent afe65e1
@ahume ahume authored
View
6 html/module/cookie-noticebar.html
@@ -0,0 +1,6 @@
+<div class="identity-noticebar">
+ <div class="identity-noticebar-content">
+ <p>This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. <a title="Read our privacy policy" href="http://www.guardian.co.uk/info/cookies">Find out more here</a></p>
+ <span class="hide-bar">Hide</span>
+ </div>
+</div>
View
1  less/core.pasteup.less
@@ -16,6 +16,7 @@
// Import module styles
@import "module/topbar.less";
@import "module/section-pulldown.less";
+@import "module/cookie-noticebar.less";
@import "module/site-search.less";
@import "module/nav-sections.less";
@import "module/nav-tags.less";
View
28 less/module/cookie-noticebar.less
@@ -0,0 +1,28 @@
+.identity-noticebar {
+ background: #c6ddf1;
+ border-top: 1px solid #c6c6c6;
+ font-weight: bold;
+ margin-bottom: 10px;
+ position: relative;
+ padding-right: 32px;
+}
+.identity-noticebar-content {
+ border-top: 1px solid #c6ddf1;
+ padding: 5px 10px;
+}
+.identity-noticebar p {
+ margin-bottom: 0;
+}
+.identity-noticebar .hide-bar {
+ background: transparent url("http:\/\/id.guim.co.uk\/static\/126\/cs\/images\/close.png") top left no-repeat;
+ cursor: pointer;
+ display: block;
+ height: 32px;
+ overflow: hidden;
+ position: absolute;
+ top: -3px;
+ right: 0;
+ text-indent: 100%;
+ white-space: nowrap;
+ width: 32px;
+}
Please sign in to comment.
Something went wrong with that request. Please try again.