From ec49231eb8ea0bb64788b07cdb600c59762e4422 Mon Sep 17 00:00:00 2001 From: Jayaram Pai Date: Sat, 15 Mar 2014 12:07:33 +0530 Subject: added cfd workshop notification --- static/website/css/nice-bar.css | 40 +++++++++++++++++++++++++++++++++++++ static/website/js/nice-bar.js | 6 ++++++ static/website/templates/base.html | 9 +++++++++ static/website/templates/index.html | 2 ++ 4 files changed, 57 insertions(+) create mode 100644 static/website/css/nice-bar.css create mode 100644 static/website/js/nice-bar.js (limited to 'static') diff --git a/static/website/css/nice-bar.css b/static/website/css/nice-bar.css new file mode 100644 index 0000000..6159b09 --- /dev/null +++ b/static/website/css/nice-bar.css @@ -0,0 +1,40 @@ +.nice-bar { + display: none; + width: 100%; + background: #70a865; + border-bottom: 3px solid #27ae60; + font-size: 0.85em; +} +.nice-bar .nice-text { + width: 960px; + margin: 0 auto; + padding: 12px 0; + color: #ffffff; + font-weight: bold; +} +.nice-bar .nice-button { + padding: 2px 5px; + background: #111111; + color: #ffffff; + margin: 0 0 0 10px; + + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -o-border-radius: 3px; + border-radius: 3px; +} +.nice-bar .nice-close { + float: right; + padding: 1px 7px 2px 7px; + background: #111111; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + -o-border-radius: 3px; + border-radius: 3px; +} +.nice-bar .nice-close:hover { + cursor: pointer; +} +.nice-bar span.ext{ + display: none; +} diff --git a/static/website/js/nice-bar.js b/static/website/js/nice-bar.js new file mode 100644 index 0000000..b27ba2b --- /dev/null +++ b/static/website/js/nice-bar.js @@ -0,0 +1,6 @@ +$(document).ready(function() { + $(".nice-bar").slideDown(); + $(".nice-close").click(function() { + $(".nice-bar").slideUp(); + }); +}); diff --git a/static/website/templates/base.html b/static/website/templates/base.html index 49c5f18..26e24c4 100644 --- a/static/website/templates/base.html +++ b/static/website/templates/base.html @@ -4,8 +4,17 @@