From 6c1aa574c54b4ffff0c3047fff68ef5a34fd2249 Mon Sep 17 00:00:00 2001 From: Frances Botsford Date: Fri, 9 Dec 2016 16:57:12 -0500 Subject: [PATCH 1/2] add app-level notification banner pattern --- sass/elements/_modules.scss | 26 ++++++++++++++++++++++++++ sass/global/_layouts.scss | 1 + templates/working.html | 7 +++++++ 3 files changed, 34 insertions(+) diff --git a/sass/elements/_modules.scss b/sass/elements/_modules.scss index e63046a..132fc32 100644 --- a/sass/elements/_modules.scss +++ b/sass/elements/_modules.scss @@ -21,6 +21,10 @@ margin-bottom: .2rem; } + &.info { + color: $black; + } + &.success { color: $success; } @@ -32,8 +36,30 @@ &.error { color: $error; } +} + +/* global app style alerts and notices */ + +.wrap-notices { + background-color: $white; + color: $black; + font-size: $fs-xsmall; + + &.info { + border-top: 2px solid $gray-l2; + } + &.success { + border-top: 2px solid $success; + } + &.warning { + border-top: 2px solid $warning; + } + + &.error { + border-top: 2px solid $error; + } } .alert-banner { diff --git a/sass/global/_layouts.scss b/sass/global/_layouts.scss index ca6b208..7063e98 100644 --- a/sass/global/_layouts.scss +++ b/sass/global/_layouts.scss @@ -6,6 +6,7 @@ } .wrap-gridband, +.wrap-notice, .wrap-header, .wrap-header-local, .wrap-breadcrumb, diff --git a/templates/working.html b/templates/working.html index 9e318b5..443d4a3 100644 --- a/templates/working.html +++ b/templates/working.html @@ -20,6 +20,13 @@
+
+
+ +
+
+ +
+
+
+

Get help from a research professional

+

Our librarians are trained to find what you need.

+
+ +
+
+