diff --git a/CHANGELOG.md b/CHANGELOG.md
index b8d9ee49..5c1a3ffd 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
# Changelog
+## 2.0.1
+
+* Adds support for BU Hub Indicator within Course Feeds.
+
## 2.0.0
* Support for typography mixins
diff --git a/css-dev/burf-base/_config.scss b/css-dev/burf-base/_config.scss
index 76f02ed5..f0b7a06d 100644
--- a/css-dev/burf-base/_config.scss
+++ b/css-dev/burf-base/_config.scss
@@ -588,6 +588,14 @@ $color-grayscale-f5: tint-gray( #f5f5f5 );
$color-grayscale-f: tint-gray( #fff );
+/// A grayscale variable for hover state of the BU Hub webfont. Not intended for editing.
+/// @group 01-config
+/// @type color
+/// @access public
+/// @since 2.0.0
+
+$color-hub: #767676;
+
// -----------------------------------------------------------------
// -----------------------------------------------------------------
// -----------------------------------------------------------------
diff --git a/css-dev/burf-base/_fonts.scss b/css-dev/burf-base/_fonts.scss
index f571f7f6..f2d109c2 100644
--- a/css-dev/burf-base/_fonts.scss
+++ b/css-dev/burf-base/_fonts.scss
@@ -83,3 +83,18 @@
font-style: italic;
font-weight: 700;
}
+
+// BU Default Icons
+// -----------------------------------------------------------------
+
+@font-face {
+ font-family: 'BU-Default-Icons';
+ src: url( '//www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.eot' );
+ src: url( '//www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.eot?#iefix' ) format( 'embedded-opentype' ),
+ url( '//www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.woff' ) format( 'woff' ),
+ url( '//www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.ttf' ) format( 'truetype' ),
+ url( '//www.bu.edu/cdn/fonts/icons/bu-default-icons/bu-default-icons.svg#bu-default-icons' ) format( 'svg' );
+ font-style: normal;
+ font-weight: 400;
+ // unicode-range:U+??????; /* Include all Unicode possiblities */
+}
diff --git a/css-dev/burf-base/icons/_supported.scss b/css-dev/burf-base/icons/_supported.scss
index f031fd68..049d05fc 100644
--- a/css-dev/burf-base/icons/_supported.scss
+++ b/css-dev/burf-base/icons/_supported.scss
@@ -261,6 +261,11 @@ $icons-responsive: (
checkbox-filled: "\ED53",
radio-empty: "\ED54",
radio-filled: "\ED55",
+
+ // BU Hub Indicator
+
+ buhub: '\F700',
+ questionmark: '\2753',
);
// Merges custom icons and overrides with the default supported icons map.
diff --git a/css-dev/burf-base/icons/_ui.scss b/css-dev/burf-base/icons/_ui.scss
index 5422d041..7ad1e490 100644
--- a/css-dev/burf-base/icons/_ui.scss
+++ b/css-dev/burf-base/icons/_ui.scss
@@ -49,7 +49,7 @@
/// The radio - empty icon.
/// @example scss - Add the radio - empty icon to a menu item
/// .menu-item {
-/// @extend %icon-radio-empty;
+/// @extend %icon-checkbox-filled;
/// }
/// @group icons
/// @access public
@@ -62,7 +62,7 @@
/// The radio - filled icon.
/// @example scss - Add the radio - filled icon to a menu item
/// .menu-item {
-/// @extend %icon-radio-filled;
+/// @extend %icon-radio-empty;
/// }
/// @group icons
/// @access public
@@ -71,3 +71,29 @@
%icon-radio-filled {
@include icon( "radio-filled" );
}
+
+/// BU Hub Wordmark Logo
+/// @example scss - Add the radio - filled icon to a menu item
+/// .menu-item {
+/// @extend %icon-buhub;
+/// }
+/// @group icons
+/// @access public
+/// @since 2.0.0
+
+%icon-buhub {
+ @include icon( 'buhub' );
+}
+
+/// BU Hub Question Mark Icon
+/// @example scss - Add the radio - filled icon to a menu item
+/// .menu-item {
+/// @extend %icon-questionmark;
+/// }
+/// @group icons
+/// @access public
+/// @since 2.0.0
+
+%icon-questionmark {
+ @include icon( 'questionmark' );
+}
diff --git a/css-dev/burf-theme/content/_courses.scss b/css-dev/burf-theme/content/_courses.scss
index 70d3522a..dcd53196 100644
--- a/css-dev/burf-theme/content/_courses.scss
+++ b/css-dev/burf-theme/content/_courses.scss
@@ -7,7 +7,7 @@
/// @access public
/// @since 2.0.0
-$border-coursefeed: $border !default;
+$border-coursefeed: $border !default;
// =================================================================
// Course Feed Styles
@@ -20,6 +20,7 @@ $border-coursefeed: $border !default;
.cf-course {
border-top: $border-coursefeed;
+ clear: right;
margin-top: $margin;
padding-top: $padding;
@@ -116,3 +117,93 @@ $border-coursefeed: $border !default;
content: "Prerequisites: ";
}
}
+
+// =================================================================
+// BU Hub Indicator Styles
+// =================================================================
+
+
+/// BU Hub Indicator Wrapper
+/// @group 09-content
+/// @access public
+/// @since 2.0.1
+
+.cf-hub-ind {
+ display: block;
+ float: unset;
+ margin: 0 0 20px 20px;
+ max-width: 305px;
+ width: 100%;
+
+ .cf-course-card & {
+ // This breakpoint is explicit and shouldn’t be altered.
+ @include breakpoint( 525px ) {
+ float: right;
+ }
+ }
+}
+
+/// BU Hub Indicator Title
+/// @group 09-content
+/// @access public
+/// @since 2.0.1
+
+.cf-hub-head {
+ text-decoration: none;
+}
+
+/// BU Hub Indicator Title Iconstyles
+/// @group 09-content
+/// @access public
+/// @since 2.0.1
+
+.bu-hub-iconstyles {
+ display: inline-block;
+ height: 25px;
+ margin: 5px 0;
+ overflow: hidden;
+
+ &::before {
+ color: $color-grayscale-5;
+ display: block;
+ font-size: 65px;
+ height: 25px;
+ line-height: 16px;
+ overflow: hidden;
+ width: 90px;
+
+ a:hover & {
+ color: $color-hub;
+ }
+ }
+
+ &.icon-buhub::before {
+ margin-right: 0;
+ width: 70px;
+ }
+
+ &.icon-questionmark::before {
+ font-size: 16px;
+ line-height: 17px;
+ }
+}
+
+/// BU Hub Indicator Area
List
+/// @group 09-content
+/// @access public
+/// @since 2.0.1
+
+.cf-hub-offerings {
+ color: $color-hub;
+ // ! Regardless where this lives, always maintain consistent use of Benton.
+ font-family: "Benton-Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
+ font-size: 12px;
+ font-weight: 300;
+ list-style-type: none;
+ margin: -5px 0 10px;
+ padding: 0;
+
+ li {
+ margin-bottom: 7px;
+ }
+}
diff --git a/css-dev/burf-theme/layout/_branding.scss b/css-dev/burf-theme/layout/_branding.scss
index 7ea03c5b..d3ec3f8e 100644
--- a/css-dev/burf-theme/layout/_branding.scss
+++ b/css-dev/burf-theme/layout/_branding.scss
@@ -8,7 +8,7 @@
/// @access public
/// @since 1.0.0
-$font-family-brand: "Whitney SSm A", "Whitney SSm B", $font-family-sans-serif !default;
+$font-family-brand: "Whitney SSm A", "Whitney SSm B", "Helvetica", "Arial", sans-serif !default;
/// The font family to use for the sponsored branding type.
/// @group 07-branding
diff --git a/package-lock.json b/package-lock.json
index c569accc..3af9e402 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "responsive-foundation",
- "version": "2.0.0-dev",
+ "version": "2.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -897,9 +897,9 @@
"dev": true
},
"chroma-js": {
- "version": "1.3.6",
- "resolved": "https://registry.npmjs.org/chroma-js/-/chroma-js-1.3.6.tgz",
- "integrity": "sha512-UGTgpHKEvDspZHVLEaYr6DXa3/eA+9u2FYL69OO62WSuIeKj+6z3bwN0Uyfn2YflSD+7Z3SJOehNbrNCFkGGnQ==",
+ "version": "1.3.7",
+ "resolved": "https://registry.npmjs.org/chroma-js/-/chroma-js-1.3.7.tgz",
+ "integrity": "sha512-ARq0P94NObL8hdQbgc+E33X9OHiNzdHO7epe3nC/KgxNRxkQcFpzNqnGeFjvOY2GxfVhbia686NXD2jByb1o0g==",
"dev": true
},
"ci-info": {
@@ -1495,9 +1495,9 @@
"dev": true
},
"duplexify": {
- "version": "3.5.4",
- "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.5.4.tgz",
- "integrity": "sha512-JzYSLYMhoVVBe8+mbHQ4KgpvHpm0DZpJuL8PY93Vyv1fW7jYJ90LoXa1di/CVbJM+TgMs91rbDapE/RNIfnJsA==",
+ "version": "3.6.0",
+ "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.6.0.tgz",
+ "integrity": "sha512-fO3Di4tBKJpYTFHAxTU00BcfWMY9w24r/x21a6rZRbsD/ToUgGxsMbiGRmB7uVAXeGKXD9MwiLZa5E97EVgIRQ==",
"dev": true,
"requires": {
"end-of-stream": "1.0.0",
@@ -3048,7 +3048,7 @@
"he": "1.1.1",
"param-case": "2.1.1",
"relateurl": "0.2.7",
- "uglify-js": "3.3.22"
+ "uglify-js": "3.3.23"
},
"dependencies": {
"source-map": {
@@ -3058,9 +3058,9 @@
"dev": true
},
"uglify-js": {
- "version": "3.3.22",
- "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.3.22.tgz",
- "integrity": "sha512-tqw96rL6/BG+7LM5VItdhDjTQmL5zG/I0b2RqWytlgeHe2eydZHuBHdA9vuGpCDhH/ZskNGcqDhivoR2xt8RIw==",
+ "version": "3.3.23",
+ "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.3.23.tgz",
+ "integrity": "sha512-Ks+KqLGDsYn4z+pU7JsKCzC0T3mPYl+rU+VcPZiQOazjE4Uqi4UCRY3qPMDbJi7ze37n1lDXj3biz1ik93vqvw==",
"dev": true,
"requires": {
"commander": "2.15.1",
@@ -5019,21 +5019,21 @@
"dev": true
},
"rc": {
- "version": "1.2.6",
- "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.6.tgz",
- "integrity": "sha1-6xiYnG1PTxYsOZ953dKfODVWgJI=",
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.7.tgz",
+ "integrity": "sha512-LdLD8xD4zzLsAT5xyushXDNscEjB7+2ulnl8+r1pnESlYtlJtVSoCMBGr30eDRJ3+2Gq89jK9P9e4tCEH1+ywA==",
"dev": true,
"requires": {
- "deep-extend": "0.4.2",
+ "deep-extend": "0.5.1",
"ini": "1.3.5",
"minimist": "1.2.0",
"strip-json-comments": "2.0.1"
},
"dependencies": {
"deep-extend": {
- "version": "0.4.2",
- "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.4.2.tgz",
- "integrity": "sha1-SLaZwn4zS/ifEIkr5DL25MfTSn8=",
+ "version": "0.5.1",
+ "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.5.1.tgz",
+ "integrity": "sha512-N8vBdOa+DF7zkRrDCsaOXoCs/E2fJfx9B9MrKnnSiHNh4ws7eSys6YQE4KvT1cecKmOASYQBhbKjeuDD9lT81w==",
"dev": true
}
}
@@ -5137,7 +5137,7 @@
"integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==",
"dev": true,
"requires": {
- "rc": "1.2.6",
+ "rc": "1.2.7",
"safe-buffer": "5.1.2"
}
},
@@ -5586,7 +5586,7 @@
"integrity": "sha1-PU74cPc93h138M+aOBQyRE4XSUI=",
"dev": true,
"requires": {
- "rc": "1.2.6"
+ "rc": "1.2.7"
}
},
"rimraf": {
@@ -5832,7 +5832,7 @@
"dev": true,
"requires": {
"babel-runtime": "6.26.0",
- "chroma-js": "1.3.6",
+ "chroma-js": "1.3.7",
"es6-denodeify": "0.1.5",
"es6-promise": "4.2.4",
"extend": "3.0.1",
@@ -6224,12 +6224,6 @@
"integrity": "sha1-1cdSgl5TZ+eG944Y5EXqIjoVWVI=",
"dev": true
},
- "string_decoder": {
- "version": "0.10.31",
- "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
- "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
- "dev": true
- },
"string-length": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/string-length/-/string-length-0.1.2.tgz",
@@ -6267,6 +6261,12 @@
"strip-ansi": "3.0.1"
}
},
+ "string_decoder": {
+ "version": "0.10.31",
+ "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
+ "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=",
+ "dev": true
+ },
"stringify-object": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-1.0.1.tgz",
@@ -6907,7 +6907,7 @@
"integrity": "sha1-vm/zJwy1Xf19MGNkDegfJddTIjk=",
"dev": true,
"requires": {
- "duplexify": "3.5.4",
+ "duplexify": "3.6.0",
"glob-stream": "5.3.5",
"graceful-fs": "4.1.11",
"gulp-sourcemaps": "1.6.0",
diff --git a/package.json b/package.json
index 6ae70783..ac03738f 100644
--- a/package.json
+++ b/package.json
@@ -1,17 +1,17 @@
{
"name": "responsive-foundation",
- "version": "2.0.0",
+ "version": "2.0.1",
"devDependencies": {
"grunt": "~0.4.5",
- "grunt-browser-sync": "^1.5.3",
"grunt-bower-task": "^0.4.0",
+ "grunt-browser-sync": "^1.5.3",
"grunt-contrib-concat": "^0.5.0",
"grunt-contrib-copy": "^0.7.0",
"grunt-contrib-sass": "^0.8.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-gh-pages": "^0.9.1",
- "grunt-sassdoc": "^2.0.2",
+ "grunt-sassdoc": "^2.0.3",
"grunt-version": "^0.3.0",
- "sassdoc-theme-budocs": "git@github.com:ashleykolodziej/sassdoc-theme-budocs.git#master"
+ "sassdoc-theme-budocs": "git+ssh://git@github.com/ashleykolodziej/sassdoc-theme-budocs.git#master"
}
}