')
+ .append(i.clone())
+ .remove()
+ .html()
+ .replace(/type="password"/i, 'type="text"')
+ .replace(/type=password/i, 'type=text')
+ );
+
+ if (i.attr('id') != '')
+ x.attr('id', i.attr('id') + '-polyfill-field');
+
+ if (i.attr('name') != '')
+ x.attr('name', i.attr('name') + '-polyfill-field');
+
+ x.addClass('polyfill-placeholder')
+ .val(x.attr('placeholder')).insertAfter(i);
+
+ if (i.val() == '')
+ i.hide();
+ else
+ x.hide();
+
+ i
+ .on('blur', function(event) {
+
+ event.preventDefault();
+
+ var x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
+
+ if (i.val() == '') {
+
+ i.hide();
+ x.show();
+
+ }
+
+ });
+
+ x
+ .on('focus', function(event) {
+
+ event.preventDefault();
+
+ var i = x.parent().find('input[name=' + x.attr('name').replace('-polyfill-field', '') + ']');
+
+ x.hide();
+
+ i
+ .show()
+ .focus();
+
+ })
+ .on('keypress', function(event) {
+
+ event.preventDefault();
+ x.val('');
+
+ });
+
+ });
+
+ // Events.
+ $this
+ .on('submit', function() {
+
+ $this.find('input[type=text],input[type=password],textarea')
+ .each(function(event) {
+
+ var i = $(this);
+
+ if (i.attr('name').match(/-polyfill-field$/))
+ i.attr('name', '');
+
+ if (i.val() == i.attr('placeholder')) {
+
+ i.removeClass('polyfill-placeholder');
+ i.val('');
+
+ }
+
+ });
+
+ })
+ .on('reset', function(event) {
+
+ event.preventDefault();
+
+ $this.find('select')
+ .val($('option:first').val());
+
+ $this.find('input,textarea')
+ .each(function() {
+
+ var i = $(this),
+ x;
+
+ i.removeClass('polyfill-placeholder');
+
+ switch (this.type) {
+
+ case 'submit':
+ case 'reset':
+ break;
+
+ case 'password':
+ i.val(i.attr('defaultValue'));
+
+ x = i.parent().find('input[name=' + i.attr('name') + '-polyfill-field]');
+
+ if (i.val() == '') {
+ i.hide();
+ x.show();
+ }
+ else {
+ i.show();
+ x.hide();
+ }
+
+ break;
+
+ case 'checkbox':
+ case 'radio':
+ i.attr('checked', i.attr('defaultValue'));
+ break;
+
+ case 'text':
+ case 'textarea':
+ i.val(i.attr('defaultValue'));
+
+ if (i.val() == '') {
+ i.addClass('polyfill-placeholder');
+ i.val(i.attr('placeholder'));
+ }
+
+ break;
+
+ default:
+ i.val(i.attr('defaultValue'));
+ break;
+
+ }
+ });
+
+ });
+
+ return $this;
+
+ };
+
+ /**
+ * Moves elements to/from the first positions of their respective parents.
+ * @param {jQuery} $elements Elements (or selector) to move.
+ * @param {bool} condition If true, moves elements to the top. Otherwise, moves elements back to their original locations.
+ */
+ $.prioritize = function($elements, condition) {
+
+ var key = '__prioritize';
+
+ // Expand $elements if it's not already a jQuery object.
+ if (typeof $elements != 'jQuery')
+ $elements = $($elements);
+
+ // Step through elements.
+ $elements.each(function() {
+
+ var $e = $(this), $p,
+ $parent = $e.parent();
+
+ // No parent? Bail.
+ if ($parent.length == 0)
+ return;
+
+ // Not moved? Move it.
+ if (!$e.data(key)) {
+
+ // Condition is false? Bail.
+ if (!condition)
+ return;
+
+ // Get placeholder (which will serve as our point of reference for when this element needs to move back).
+ $p = $e.prev();
+
+ // Couldn't find anything? Means this element's already at the top, so bail.
+ if ($p.length == 0)
+ return;
+
+ // Move element to top of parent.
+ $e.prependTo($parent);
+
+ // Mark element as moved.
+ $e.data(key, $p);
+
+ }
+
+ // Moved already?
+ else {
+
+ // Condition is true? Bail.
+ if (condition)
+ return;
+
+ $p = $e.data(key);
+
+ // Move element back to its original location (using our placeholder).
+ $e.insertAfter($p);
+
+ // Unmark element as moved.
+ $e.removeData(key);
+
+ }
+
+ });
+
+ };
+
+})(jQuery);
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/base/_page.scss b/bl-themes/massively/assets/sass/base/_page.scss
new file mode 100644
index 00000000..79b212ac
--- /dev/null
+++ b/bl-themes/massively/assets/sass/base/_page.scss
@@ -0,0 +1,39 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Basic */
+
+ // MSIE: Required for IEMobile.
+ @-ms-viewport {
+ width: device-width;
+ }
+
+ // MSIE: Prevents scrollbar from overlapping content.
+ body {
+ -ms-overflow-style: scrollbar;
+ }
+
+ // Ensures page width is always >=320px.
+ @include breakpoint(xsmall) {
+ html, body {
+ min-width: 320px;
+ }
+ }
+
+ body {
+
+ background-color: _palette(invert, bg);
+
+ // Prevents animation/transition "flicker" on page load.
+ // Automatically added/removed by js/main.js.
+ &.is-loading {
+ *, *:before, *:after {
+ @include vendor('animation', 'none !important');
+ @include vendor('transition', 'none !important');
+ }
+ }
+
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/base/_typography.scss b/bl-themes/massively/assets/sass/base/_typography.scss
new file mode 100644
index 00000000..6241fd54
--- /dev/null
+++ b/bl-themes/massively/assets/sass/base/_typography.scss
@@ -0,0 +1,213 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Type */
+
+ html {
+ font-size: 16pt;
+
+ @include breakpoint(xlarge) {
+ font-size: 12pt;
+ }
+
+ @include breakpoint(large) {
+ font-size: 11pt;
+ }
+
+ @include breakpoint(xxsmall) {
+ font-size: 10pt;
+ }
+ }
+
+ body {
+ color: _palette(fg);
+ }
+
+ body, input, select, textarea {
+ font-family: _font(family);
+ font-weight: _font(weight);
+ font-size: 1rem;
+ line-height: 2.375;
+ }
+
+ a {
+ @include vendor('transition', (
+ 'color #{_duration(transition)} ease-in-out',
+ 'background-color #{_duration(transition)} ease-in-out',
+ 'border-color #{_duration(transition)} ease-in-out',
+ 'box-shadow #{_duration(transition)} ease-in-out'
+ ));
+ border-bottom: dotted 1px;
+ text-decoration: none;
+
+ &:hover {
+ border-bottom-color: transparent;
+ }
+ }
+
+ strong, b {
+ font-weight: _font(weight-bold);
+ }
+
+ em, i {
+ font-style: italic;
+ }
+
+ p {
+ text-align: justify;
+ margin: 0 0 _size(element-margin) 0;
+ }
+
+ h1, h2, h3, h4, h5, h6 {
+ font-family: _font(family-heading);
+ font-weight: _font(weight-heading);
+ line-height: 1.5;
+ letter-spacing: 0.075em;
+ text-transform: uppercase;
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+
+ a {
+ border-bottom: 0;
+ color: inherit;
+ text-decoration: none;
+ }
+ }
+
+ h1 {
+ font-size: 4rem;
+ line-height: 1.1;
+ margin: 0 0 _size(element-margin) 0;
+ }
+
+ h2 {
+ font-size: 1.75rem;
+ line-height: 1.3;
+ margin: 0 0 (_size(element-margin) * 0.75) 0;
+ }
+
+ h3 {
+ font-size: 1.25rem;
+ margin: 0 0 (_size(element-margin) * 0.75) 0;
+ }
+
+ h4 {
+ font-size: 1rem;
+ }
+
+ h5 {
+ font-size: 0.9rem;
+ }
+
+ h6 {
+ font-size: 0.8rem;
+ }
+
+ sub {
+ font-size: 0.8rem;
+ position: relative;
+ top: 0.5rem;
+ }
+
+ sup {
+ font-size: 0.8rem;
+ position: relative;
+ top: -0.5rem;
+ }
+
+ blockquote {
+ border-left: solid 4px;
+ font-style: italic;
+ margin: 0 0 _size(element-margin) 0;
+ padding: (_size(element-margin) / 4) 0 (_size(element-margin) / 4) _size(element-margin);
+ }
+
+ code {
+ border-radius: _size(border-radius);
+ border: solid 2px;
+ font-family: _font(family-fixed);
+ font-size: 0.9rem;
+ margin: 0 0.25rem;
+ padding: 0.25rem 0.65rem;
+ }
+
+ pre {
+ -webkit-overflow-scrolling: touch;
+ font-family: _font(family-fixed);
+ font-size: 0.9rem;
+ margin: 0 0 _size(element-margin) 0;
+
+ code {
+ display: block;
+ line-height: 1.75;
+ padding: 1rem 1.5rem;
+ overflow-x: auto;
+ }
+ }
+
+ hr {
+ border: 0;
+ border-bottom: solid 2px;
+ margin: (_size(element-margin) * 1.5) 0;
+
+ &.major {
+ margin: (_size(element-margin) * 2.5) 0;
+ }
+ }
+
+ .align-left {
+ text-align: left;
+ }
+
+ .align-center {
+ text-align: center;
+ }
+
+ .align-right {
+ text-align: right;
+ }
+
+ @mixin color-typography($p: null) {
+ @if $p != null {
+ color: _palette($p, fg);
+ }
+
+ input, select, textarea {
+ color: _palette($p, fg-bold);
+ }
+
+ a {
+ color: _palette($p, fg-bold);
+ border-bottom-color: transparentize(_palette($p, fg), 0.5);
+
+ &:hover {
+ border-bottom-color: transparent;
+ color: _palette($p, accent) !important;
+ }
+ }
+
+ strong, b {
+ color: _palette($p, fg-bold);
+ }
+
+ h1, h2, h3, h4, h5, h6 {
+ color: _palette($p, fg-bold);
+ }
+
+ blockquote {
+ border-left-color: _palette($p, border);
+ }
+
+ code {
+ background: _palette($p, border-bg);
+ border-color: _palette($p, border);
+ }
+
+ hr {
+ border-bottom-color: _palette($p, border);
+ }
+ }
+
+ @include color-typography;
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/components/_box.scss b/bl-themes/massively/assets/sass/components/_box.scss
new file mode 100644
index 00000000..20c57d9f
--- /dev/null
+++ b/bl-themes/massively/assets/sass/components/_box.scss
@@ -0,0 +1,34 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Box */
+
+ .box {
+ border-radius: _size(border-radius);
+ border: solid 2px;
+ margin-bottom: _size(element-margin);
+ padding: 1.5rem;
+
+ > :last-child,
+ > :last-child > :last-child,
+ > :last-child > :last-child > :last-child {
+ margin-bottom: 0;
+ }
+
+ &.alt {
+ border: 0;
+ border-radius: 0;
+ padding: 0;
+ }
+ }
+
+ @mixin color-box($p: null) {
+ .box {
+ border-color: _palette($p, border);
+ }
+ }
+
+ @include color-box;
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/components/_button.scss b/bl-themes/massively/assets/sass/components/_button.scss
new file mode 100644
index 00000000..a47092ea
--- /dev/null
+++ b/bl-themes/massively/assets/sass/components/_button.scss
@@ -0,0 +1,135 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Button */
+
+ input[type="submit"],
+ input[type="reset"],
+ input[type="button"],
+ button,
+ .button {
+ @include vendor('appearance', 'none');
+ @include vendor('transition', (
+ 'background-color #{_duration(transition)} ease-in-out',
+ 'box-shadow #{_duration(transition)} ease-in-out',
+ 'color #{_duration(transition)} ease-in-out'
+ ));
+ border: 0;
+ cursor: pointer;
+ display: inline-block;
+ font-family: _font(family-heading);
+ font-size: 0.8rem;
+ font-weight: _font(weight-heading);
+ letter-spacing: 0.075em;
+ height: 3rem;
+ line-height: 3rem;
+ padding: 0 2rem;
+ text-align: center;
+ text-decoration: none;
+ text-transform: uppercase;
+ white-space: nowrap;
+
+ &.icon {
+ &:before {
+ margin-right: 0.5rem;
+ }
+
+ &.solo {
+ position: relative;
+ width: 4rem;
+ height: 4rem;
+ line-height: 4rem;
+ border-radius: 4rem;
+ text-indent: 4rem;
+ overflow: hidden;
+ padding: 0;
+ white-space: nowrap;
+
+ &:before {
+ position: absolute;
+ display: block;
+ top: 0;
+ left: 0;
+ width: inherit;
+ height: inherit;
+ line-height: inherit;
+ font-size: 1.25rem;
+ margin-right: 0;
+ text-align: center;
+ text-indent: 0;
+ }
+ }
+ }
+
+ &.fit {
+ display: block;
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+ width: 100%;
+ }
+
+ &.small {
+ font-size: 0.7rem;
+ height: 2.5rem;
+ line-height: 2.5rem;
+ padding: 0 1.5rem;
+ }
+
+ &.big {
+ font-size: 0.9rem;
+ height: 3.5rem;
+ line-height: 3.5rem;
+ padding: 0 2.75rem;
+ }
+
+ @include breakpoint(medium) {
+ font-size: 0.9rem;
+ height: 3.25rem;
+ line-height: 3.25rem;
+
+ &.big {
+ font-size: 1rem;
+ height: 3.75rem;
+ line-height: 3.75rem;
+ }
+ }
+
+ &.disabled,
+ &:disabled {
+ @include vendor('pointer-events', 'none');
+ opacity: 0.25;
+ }
+ }
+
+ @mixin color-button($p: null) {
+ $highlight: _palette($p, highlight);
+
+ input[type="submit"],
+ input[type="reset"],
+ input[type="button"],
+ button,
+ .button {
+ background-color: transparent;
+ box-shadow: inset 0 0 0 2px _palette($p, fg-bold);
+ color: _palette($p, fg-bold) !important;
+
+ &:hover {
+ box-shadow: inset 0 0 0 2px _palette($p, accent);
+ color: _palette($p, accent) !important;
+ }
+
+ &.special {
+ background-color: _palette($p, fg-bold);
+ box-shadow: none;
+ color: _palette($p, bg) !important;
+
+ &:hover {
+ background-color: _palette($p, accent);
+ }
+ }
+ }
+ }
+
+ @include color-button;
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/components/_form.scss b/bl-themes/massively/assets/sass/components/_form.scss
new file mode 100644
index 00000000..785401cb
--- /dev/null
+++ b/bl-themes/massively/assets/sass/components/_form.scss
@@ -0,0 +1,311 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Form */
+
+ $gutter: (_size(element-margin) * 0.75);
+
+ form {
+ @include vendor('display', 'flex');
+ @include vendor('flex-wrap', 'wrap');
+ width: calc(100% + #{$gutter * 2});
+ margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
+
+ > .field {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ padding: $gutter 0 0 $gutter;
+ width: calc(100% - #{$gutter * 1});
+
+ &.half {
+ width: calc(50% - #{$gutter * 0.5});
+ }
+
+ &.third {
+ width: calc(#{100% / 3} - #{$gutter * (1 / 3)});
+ }
+
+ &.quarter {
+ width: calc(25% - #{$gutter * 0.25});
+ }
+ }
+
+ > .actions {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '1');
+ margin: ($gutter * 1.25) 0 0 $gutter !important;
+ width: calc(100% - #{$gutter * 2});
+ }
+
+ &.alt {
+ display: block;
+ width: 100%;
+ margin: 0 0 _size(element-margin) 0;
+
+ > .actions {
+ margin: 0 0 _size(element-margin) 0;
+ width: 100%;
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ $gutter: (_size(element-margin) * 0.75);
+
+ width: calc(100% + #{$gutter * 2});
+ margin: ($gutter * -1) 0 _size(element-margin) ($gutter * -1);
+
+ > .field {
+ padding: $gutter 0 0 $gutter;
+ width: calc(100% - #{$gutter * 1});
+
+ &.half {
+ width: calc(100% - #{$gutter * 1});
+ }
+
+ &.third {
+ width: calc(100% - #{$gutter * 1});
+ }
+
+ &.quarter {
+ width: calc(100% - #{$gutter * 1});
+ }
+ }
+
+ > .actions {
+ margin: $gutter 0 0 $gutter;
+ width: calc(100% - #{$gutter * 2});
+ }
+ }
+ }
+
+ label {
+ display: block;
+ font-family: _font(family-heading);
+ font-weight: _font(weight-heading);
+ line-height: 1.5;
+ letter-spacing: 0.075em;
+ font-size: 0.8rem;
+ text-transform: uppercase;
+ margin: 0 0 (_size(element-margin) * 0.375) 0;
+
+ @include breakpoint(medium) {
+ font-size: 0.9rem;
+ }
+ }
+
+ input[type="text"],
+ input[type="password"],
+ input[type="email"],
+ select,
+ textarea {
+ @include vendor('appearance', 'none');
+ background: transparent;
+ border-radius: _size(border-radius);
+ border: solid 2px;
+ color: inherit;
+ display: block;
+ outline: 0;
+ padding: 0 1rem;
+ text-decoration: none;
+ width: 100%;
+
+ &:invalid {
+ box-shadow: none;
+ }
+ }
+
+ .select-wrapper {
+ @include icon;
+ display: block;
+ position: relative;
+
+ &:before {
+ content: '\f078';
+ display: block;
+ height: _size(element-height);
+ line-height: _size(element-height);
+ pointer-events: none;
+ position: absolute;
+ right: 0;
+ text-align: center;
+ top: 0;
+ width: _size(element-height);
+ }
+
+ select::-ms-expand {
+ display: none;
+ }
+ }
+
+ input[type="text"],
+ input[type="password"],
+ input[type="email"],
+ select {
+ height: _size(element-height);
+ }
+
+ textarea {
+ padding: 0.75rem 1rem;
+ }
+
+ input[type="checkbox"],
+ input[type="radio"], {
+ @include vendor('appearance', 'none');
+ display: block;
+ float: left;
+ margin-right: -2rem;
+ opacity: 0;
+ width: 1rem;
+ z-index: -1;
+
+ & + label {
+ @include icon;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1rem;
+ letter-spacing: 0;
+ font-family: _font(family);
+ text-transform: none;
+ font-weight: _font(weight);
+ padding-left: (_size(element-height) * 0.6) + 1rem;
+ padding-right: 1rem;
+ position: relative;
+
+ &:before {
+ border-radius: _size(border-radius);
+ border: solid 2px;
+ content: '';
+ display: inline-block;
+ height: (_size(element-height) * 0.6);
+ left: 0;
+ line-height: (_size(element-height) * 0.575);
+ position: absolute;
+ text-align: center;
+ top: -0.125rem;
+ width: (_size(element-height) * 0.6);
+ }
+ }
+
+ &:checked + label {
+ &:before {
+ content: '\f00c';
+ }
+ }
+ }
+
+ input[type="checkbox"] {
+ & + label {
+ &:before {
+ border-radius: _size(border-radius);
+ }
+ }
+ }
+
+ input[type="radio"] {
+ & + label {
+ &:before {
+ border-radius: 100%;
+ }
+ }
+ }
+
+ ::-webkit-input-placeholder {
+ opacity: 1.0;
+ }
+
+ :-moz-placeholder {
+ opacity: 1.0;
+ }
+
+ ::-moz-placeholder {
+ opacity: 1.0;
+ }
+
+ :-ms-input-placeholder {
+ opacity: 1.0;
+ }
+
+ .formerize-placeholder {
+ opacity: 1.0;
+ }
+
+ @mixin color-form($p: null) {
+ label {
+ color: _palette($p, fg-bold);
+ }
+
+ input[type="text"],
+ input[type="password"],
+ input[type="email"],
+ select,
+ textarea {
+ border-color: _palette($p, border);
+
+ &:focus {
+ border-color: _palette($p, accent);
+ }
+ }
+
+ select {
+ option {
+ background-color: _palette($p, bg);
+ color: _palette($p, fg);
+ }
+ }
+
+ .select-wrapper {
+ &:before {
+ color: _palette($p, border);
+ }
+ }
+
+ input[type="checkbox"],
+ input[type="radio"], {
+ & + label {
+ color: _palette($p, fg);
+
+ &:before {
+ border-color: _palette($p, border);
+ }
+ }
+
+ &:checked + label {
+ &:before {
+ background-color: _palette($p, fg-bold);
+ border-color: _palette($p, fg-bold);
+ color: _palette($p, bg);
+ }
+ }
+
+ &:focus + label {
+ &:before {
+ border-color: _palette($p, accent);
+ }
+ }
+ }
+
+ ::-webkit-input-placeholder {
+ color: _palette($p, fg-light) !important;
+ }
+
+ :-moz-placeholder {
+ color: _palette($p, fg-light) !important;
+ }
+
+ ::-moz-placeholder {
+ color: _palette($p, fg-light) !important;
+ }
+
+ :-ms-input-placeholder {
+ color: _palette($p, fg-light) !important;
+ }
+
+ .formerize-placeholder {
+ color: _palette($p, fg-light) !important;
+ }
+ }
+
+ @include color-form;
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/components/_icon.scss b/bl-themes/massively/assets/sass/components/_icon.scss
new file mode 100644
index 00000000..16a35b12
--- /dev/null
+++ b/bl-themes/massively/assets/sass/components/_icon.scss
@@ -0,0 +1,17 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Icon */
+
+ .icon {
+ @include icon;
+ border-bottom: none;
+ position: relative;
+
+ > .label {
+ display: none;
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/components/_image.scss b/bl-themes/massively/assets/sass/components/_image.scss
new file mode 100644
index 00000000..158b7e91
--- /dev/null
+++ b/bl-themes/massively/assets/sass/components/_image.scss
@@ -0,0 +1,92 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Image */
+
+ .image {
+ border: 0;
+ border-radius: _size(border-radius);
+ display: inline-block;
+ position: relative;
+
+ img {
+ border-radius: _size(border-radius);
+ display: block;
+ }
+
+ &.left,
+ &.right {
+ max-width: 40%;
+
+ img {
+ width: 100%;
+ }
+ }
+
+ &.left {
+ float: left;
+ margin: 0 2rem 2rem 0;
+ top: 0.75rem;
+ }
+
+ &.right {
+ float: right;
+ margin: 0 0 2rem 2rem;
+ top: 0.75rem;
+ }
+
+ &.fit {
+ display: block;
+ margin: (_size(element-margin) * 1.25) 0;
+ width: 100%;
+
+ &:first-child {
+ margin-top: 0;
+ }
+
+ img {
+ width: 100%;
+ }
+ }
+
+ &.main {
+ display: block;
+ margin: (_size(element-margin) * 2) 0;
+ width: 100%;
+
+ &:first-child {
+ margin-top: 0;
+ }
+
+ img {
+ width: 100%;
+ }
+ }
+
+ @include breakpoint(small) {
+ &.fit {
+ margin: _size(element-margin) 0;
+ }
+
+ &.main {
+ margin: _size(element-margin) 0;
+ }
+ }
+ }
+
+ a.image {
+ overflow: hidden;
+
+ img {
+ @include vendor('transition', 'transform #{_duration(transition)} ease-out');
+ }
+
+ &:hover {
+ img {
+ @include vendor('transform', 'scale(1.05)');
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/components/_list.scss b/bl-themes/massively/assets/sass/components/_list.scss
new file mode 100644
index 00000000..42ca7d03
--- /dev/null
+++ b/bl-themes/massively/assets/sass/components/_list.scss
@@ -0,0 +1,252 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* List */
+
+ ol {
+ list-style: decimal;
+ margin: 0 0 _size(element-margin) 0;
+ padding-left: 1.25rem;
+
+ li {
+ padding-left: 0.25rem;
+ }
+ }
+
+ ul {
+ list-style: disc;
+ margin: 0 0 _size(element-margin) 0;
+ padding-left: 1rem;
+
+ li {
+ padding-left: 0.5rem;
+ }
+
+ &.divided {
+ list-style: none;
+ padding-left: 0;
+
+ li {
+ border-top: solid 1px;
+ padding: 0.5rem 0;
+
+ &:first-child {
+ border-top: 0;
+ padding-top: 0;
+ }
+ }
+ }
+
+ &.icons {
+ cursor: default;
+ list-style: none;
+ padding-left: 0;
+
+ li {
+ display: inline-block;
+ padding: 0 0.5rem 0 0;
+ vertical-align: middle;
+
+ &:last-child {
+ padding-right: 0;
+ }
+
+ .icon {
+ &:before {
+ width: 2.25rem;
+ height: 2.25rem;
+ line-height: 2.25rem;
+ display: inline-block;
+ text-align: center;
+ border-radius: 100%;
+ font-size: 1.25rem;
+ }
+ }
+ }
+
+ &.alt {
+ li {
+ .icon {
+ &:before {
+ @include vendor('transition', (
+ 'color #{_duration(transition)} ease-in-out',
+ 'background-color #{_duration(transition)} ease-in-out',
+ 'border-color #{_duration(transition)} ease-in-out',
+ 'box-shadow #{_duration(transition)} ease-in-out'
+ ));
+
+ font-size: 1rem;
+ }
+ }
+ }
+ }
+ }
+
+ &.actions {
+ cursor: default;
+ list-style: none;
+ padding-left: 0;
+
+ li {
+ display: inline-block;
+ padding: 0 (_size(element-margin) * 0.5) 0 0;
+ vertical-align: middle;
+
+ &:last-child {
+ padding-right: 0;
+ }
+ }
+
+ &.small {
+ li {
+ padding: 0 (_size(element-margin) * 0.25) 0 0;
+ }
+ }
+
+ &.vertical {
+ li {
+ display: block;
+ padding: (_size(element-margin) * 0.5) 0 0 0;
+
+ &:first-child {
+ padding-top: 0;
+ }
+
+ > * {
+ margin-bottom: 0;
+ }
+ }
+
+ &.small {
+ li {
+ padding: (_size(element-margin) * 0.25) 0 0 0;
+
+ &:first-child {
+ padding-top: 0;
+ }
+ }
+ }
+ }
+
+ &.fit {
+ display: table;
+ margin-left: (_size(element-margin) * -0.5);
+ padding: 0;
+ table-layout: fixed;
+ width: calc(100% + #{(_size(element-margin) * 0.5)});
+
+ li {
+ display: table-cell;
+ padding: 0 0 0 (_size(element-margin) * 0.5);
+
+ > * {
+ margin-bottom: 0;
+ }
+ }
+
+ &.small {
+ margin-left: (_size(element-margin) * -0.25);
+ width: calc(100% + #{(_size(element-margin) * 0.25)});
+
+ li {
+ padding: 0 0 0 (_size(element-margin) * 0.25);
+ }
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ margin: 0 0 _size(element-margin) 0;
+
+ li {
+ padding: (_size(element-margin) * 0.5) 0 0 0;
+ display: block;
+ text-align: center;
+ width: 100%;
+
+ &:first-child {
+ padding-top: 0;
+ }
+
+ > * {
+ width: 100%;
+ margin: 0 !important;
+
+ &.icon {
+ &:before {
+ margin-left: -2rem;
+ }
+ }
+ }
+ }
+
+ &.small {
+ li {
+ padding: (_size(element-margin) * 0.25) 0 0 0;
+
+ &:first-child {
+ padding-top: 0;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ dl {
+ margin: 0 0 _size(element-margin) 0;
+
+ dt {
+ display: block;
+ font-weight: _font(weight-bold);
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+ }
+
+ dd {
+ margin-left: _size(element-margin);
+ }
+ }
+
+ @mixin color-list($p: null) {
+ ul {
+ &.divided {
+ li {
+ border-top-color: _palette($p, border);
+ }
+ }
+
+ &.icons {
+ li {
+ a.icon {
+ &:hover {
+ &:before {
+ color: _palette($p, accent);
+ }
+ }
+ }
+ }
+
+ &.alt {
+ li {
+ .icon {
+ &:before {
+ box-shadow: inset 0 0 0 2px _palette($p, border);
+ }
+ }
+
+ a.icon {
+ &:hover {
+ &:before {
+ box-shadow: inset 0 0 0 2px _palette($p, accent);
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+
+ @include color-list;
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/components/_pagination.scss b/bl-themes/massively/assets/sass/components/_pagination.scss
new file mode 100644
index 00000000..e377309d
--- /dev/null
+++ b/bl-themes/massively/assets/sass/components/_pagination.scss
@@ -0,0 +1,110 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Pagination */
+
+ .pagination {
+ @include vendor('display', 'inline-flex');
+ @include vendor('user-select', 'none');
+ cursor: default;
+ list-style: none;
+ margin: 0 0 _size(element-margin) 2px;
+ padding: 0;
+
+ a, span {
+ @include vendor('transition', (
+ 'background-color #{_duration(transition)} ease-in-out',
+ 'border-color #{_duration(transition)} ease-in-out',
+ 'box-shadow #{_duration(transition)} ease-in-out',
+ 'color #{_duration(transition)} ease-in-out'
+ ));
+ border: solid 2px;
+ display: inline-block;
+ font-family: _font(family-heading);
+ font-size: 0.8rem;
+ font-weight: _font(weight-heading);
+ height: _size(element-height);
+ letter-spacing: 0.075em;
+ letter-spacing: _font(letter-spacing-heading);
+ line-height: calc(#{_size(element-height)} - 4px);
+ margin-left: -2px;
+ min-width: _size(element-height);
+ position: relative;
+ text-align: center;
+ text-decoration: none;
+ text-transform: uppercase;
+ }
+
+ .next, .previous {
+ @include icon;
+ padding: 0 1.75rem;
+
+ &:before {
+ display: inline-block;
+ color: inherit !important;
+ }
+ }
+
+ .previous {
+ &:before {
+ content: '\f104';
+ margin-right: (0.75em / 0.8);
+ }
+ }
+
+ .next {
+ &:before {
+ content: '\f105';
+ float: right;
+ margin-left: (0.75em / 0.8);
+ }
+ }
+
+ @include breakpoint(medium) {
+ a, span {
+ font-size: 0.9rem;
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ .page, .extra {
+ display: none;
+ }
+ }
+ }
+
+ @mixin color-pagination($p: null) {
+ .pagination {
+ a, span {
+ border-color: _palette($p, border);
+ }
+
+ a {
+ color: _palette($p, fg-bold) !important;
+
+ &:hover {
+ color: _palette($p, accent) !important;
+ border-color: _palette($p, accent);
+ z-index: 1;
+
+ & + a,
+ & + span {
+ border-left-color: _palette($p, accent);
+ }
+ }
+
+ &.active {
+ background-color: _palette($p, border);
+ }
+ }
+
+ span {
+ color: _palette($p, border);
+ }
+ }
+ }
+
+ @include color-pagination;
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/components/_section.scss b/bl-themes/massively/assets/sass/components/_section.scss
new file mode 100644
index 00000000..c99b5a4e
--- /dev/null
+++ b/bl-themes/massively/assets/sass/components/_section.scss
@@ -0,0 +1,112 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Section/Article */
+
+ section, article {
+ &.special {
+ text-align: center;
+ }
+ }
+
+ header {
+ cursor: default;
+
+ > .date {
+ display: block;
+ font-size: 0.8rem;
+ height: 1;
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+ position: relative;
+ }
+
+ > p {
+ font-style: italic;
+ }
+
+ > h1 + p {
+ font-size: 1.1rem;
+ margin-top: -0.5rem;
+ line-height: 2;
+ }
+
+ > h2 + p {
+ font-size: 1rem;
+ margin-top: -0.75rem;
+ }
+
+ > h3 + p {
+ font-size: 0.9rem;
+ margin-top: -0.75rem;
+ }
+
+ > h4 + p {
+ font-size: 0.8rem;
+ margin-top: -0.75rem;
+ }
+
+ &.major {
+ margin: 0 0 (_size(element-margin) * 2) 0;
+ text-align: center;
+
+ > :last-child {
+ margin-bottom: 0;
+ }
+
+ > p {
+ margin-top: 0;
+ text-align: center;
+ }
+
+ > .date {
+ font-size: 1rem;
+ margin: 0 0 (_size(element-margin) * 2) 0;
+
+ &:before, &:after {
+ content: '';
+ display: block;
+ position: absolute;
+ top: 50%;
+ width: calc(50% - 6rem);
+ border-top: solid 2px;
+ }
+
+ &:before {
+ left: 0;
+ }
+
+ &:after {
+ right: 0;
+ }
+ }
+ }
+
+ @include breakpoint(medium) {
+ br {
+ display: none;
+ }
+ }
+
+ @include breakpoint(small) {
+ &.major {
+ margin: 0 0 _size(element-margin) 0;
+ }
+ }
+ }
+
+ @mixin color-section($p: null) {
+ header {
+ &.major {
+ .date {
+ &:before, &:after {
+ border-top-color: _palette($p, border);
+ }
+ }
+ }
+ }
+ }
+
+ @include color-section;
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/components/_table.scss b/bl-themes/massively/assets/sass/components/_table.scss
new file mode 100644
index 00000000..60d24c24
--- /dev/null
+++ b/bl-themes/massively/assets/sass/components/_table.scss
@@ -0,0 +1,122 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Table */
+
+ .table-wrapper {
+ -webkit-overflow-scrolling: touch;
+ overflow-x: auto;
+ }
+
+ table {
+ margin: 0 0 _size(element-margin) 0;
+ width: 100%;
+
+ tbody {
+ tr {
+ border: solid 1px;
+ border-left: 0;
+ border-right: 0;
+ }
+ }
+
+ td {
+ padding: 0.75rem 0.75rem;
+ }
+
+ th {
+ font-family: _font(family-heading);
+ font-size: 0.8rem;
+ font-weight: _font(weight-heading);
+ letter-spacing: 0.075em;
+ line-height: 1.5;
+ padding: 0 0.75rem 0.75rem 0.75rem;
+ text-align: left;
+ text-transform: uppercase;
+
+ @include breakpoint(medium) {
+ font-size: 0.9rem;
+ }
+ }
+
+ thead {
+ border-bottom: solid 2px;
+ }
+
+ tfoot {
+ border-top: solid 2px;
+ }
+
+ &.alt {
+ border-collapse: separate;
+
+ tbody {
+ tr {
+ td {
+ border: solid 1px;
+ border-left-width: 0;
+ border-top-width: 0;
+
+ &:first-child {
+ border-left-width: 1px;
+ }
+ }
+
+ &:first-child {
+ td {
+ border-top-width: 1px;
+ }
+ }
+ }
+ }
+
+ thead {
+ border-bottom: 0;
+ }
+
+ tfoot {
+ border-top: 0;
+ }
+ }
+ }
+
+ @mixin color-table($p: null) {
+ table {
+ tbody {
+ tr {
+ border-color: _palette($p, border);
+
+ &:nth-child(2n + 1) {
+ background-color: _palette($p, border-bg);
+ }
+ }
+ }
+
+ th {
+ color: _palette($p, fg-bold);
+ }
+
+ thead {
+ border-bottom-color: _palette($p, border);
+ }
+
+ tfoot {
+ border-top-color: _palette($p, border);
+ }
+
+ &.alt {
+ tbody {
+ tr {
+ td {
+ border-color: _palette($p, border);
+ }
+ }
+ }
+ }
+ }
+ }
+
+ @include color-table;
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/layout/_footer.scss b/bl-themes/massively/assets/sass/layout/_footer.scss
new file mode 100644
index 00000000..0bd17f09
--- /dev/null
+++ b/bl-themes/massively/assets/sass/layout/_footer.scss
@@ -0,0 +1,243 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Footer */
+
+ #footer {
+ @include color(alt);
+ @include vendor('display', 'flex');
+ background-color: _palette(alt, bg);
+ color: _palette(fg-light);
+ cursor: default;
+ position: relative;
+ margin: 0 auto;
+ width: calc(100% - #{_size(padding) * 2});
+ max-width: _size(wrapper);
+ z-index: 2;
+
+ > section {
+ @include vendor('flex-basis', '50%');
+ @include vendor('flex-grow', '1');
+ @include vendor('flex-shrink', '1');
+ @include padding((_size(padding) * 2), (_size(padding) * 2));
+ border-left: solid 2px _palette(alt, border);
+
+ &:first-child {
+ border-left: 0;
+ }
+
+ &.split {
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'column');
+ padding: 0;
+
+ > section {
+ @include padding((_size(padding) * 2) - 1, (_size(padding) * 2));
+ border-top: solid 2px _palette(alt, border);
+
+ &:first-child {
+ @include padding((_size(padding) * 2) - 1, (_size(padding) * 2), (_size(padding), 0, 0, 0));
+ border-top: 0;
+ }
+
+ &:last-child {
+ @include padding((_size(padding) * 2) - 1, (_size(padding) * 2), (0, 0, _size(padding), 0));
+ }
+ }
+
+ &.contact {
+ > section {
+ @include vendor('display', 'flex');
+ @include vendor('align-items', 'center');
+ padding: (_size(padding) * 1.575) (_size(padding) * 2);
+
+ > * {
+ margin-bottom: 0;
+ }
+
+ > :first-child {
+ @include vendor('flex-shrink', '0');
+ @include vendor('flex-grow', '0');
+ width: 6rem;
+ }
+
+ > :last-child {
+ @include vendor('flex-shrink', '1');
+ @include vendor('flex-grow', '1');
+ }
+
+ &:first-child {
+ padding: (_size(padding) * 2) (_size(padding) * 2) ((_size(padding) * 2) - 1) (_size(padding) * 2);
+ }
+
+ &:last-child {
+ padding: ((_size(padding) * 2) - 1) (_size(padding) * 2) (_size(padding) * 2) (_size(padding) * 2);
+ }
+
+ &.alt {
+ @include vendor('align-items', 'flex-start');
+
+ > :last-child {
+ margin-top: -0.325rem;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ form label,
+ h3,
+ p {
+ font-size: 0.8rem;
+ }
+
+ @include breakpoint(medium) {
+ display: block;
+
+ > section {
+ border-top: solid 2px _palette(alt, border);
+
+ &:first-child {
+ border-top: 0;
+ }
+
+ &.split {
+ > section {
+ @include padding((_size(padding) * 2), (_size(padding) * 2));
+
+ &:first-child {
+ @include padding((_size(padding) * 2), (_size(padding) * 2));
+ }
+
+ &:last-child {
+ @include padding((_size(padding) * 2), (_size(padding) * 2));
+ }
+ }
+
+ &.contact {
+ > section {
+ padding: (_size(padding) * 2);
+
+ &:first-child {
+ padding: (_size(padding) * 2);
+ }
+
+ &:last-child {
+ padding: (_size(padding) * 2);
+ }
+ }
+ }
+ }
+ }
+
+ form label,
+ h3,
+ p {
+ font-size: 0.9rem;
+ }
+ }
+
+ @include breakpoint(small) {
+ > section {
+ @include padding((_size(padding) * 1), (_size(padding) * 1));
+
+ &.split {
+ > section {
+ @include padding((_size(padding) * 1), (_size(padding) * 1));
+
+ &:first-child {
+ @include padding((_size(padding) * 1), (_size(padding) * 1));
+ }
+
+ &:last-child {
+ @include padding((_size(padding) * 1), (_size(padding) * 1));
+ }
+ }
+
+ &.contact {
+ > section {
+ padding: (_size(padding) * 1);
+
+ &:first-child {
+ padding: (_size(padding) * 1);
+ }
+
+ &:last-child {
+ padding: (_size(padding) * 1);
+ }
+ }
+ }
+ }
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ width: 100%;
+ }
+ }
+
+ #copyright {
+ @include color-typography(invert);
+ position: relative;
+ color: transparentize(_palette(invert, fg), 0.75);
+ cursor: default;
+ font-family: _font(family-heading);
+ font-size: 0.8rem;
+ font-weight: _font(weight-heading);
+ letter-spacing: 0.075em;
+ line-height: 1.5;
+ text-align: center;
+ text-transform: uppercase;
+ margin: (_size(padding) * 2) auto (_size(padding) * 4) auto;
+ width: calc(100% - #{_size(padding) * 2});
+ max-width: _size(wrapper);
+ z-index: 2;
+
+ a {
+ color: inherit;
+ border-bottom-color: inherit;
+ }
+
+ ul {
+ list-style: none;
+ margin: 0;
+ padding-left: 0;
+
+ li {
+ border-left: solid 2px;
+ display: inline-block;
+ line-height: 1;
+ margin-left: 1rem;
+ padding-left: 1rem;
+
+ &:first-child {
+ border-left: 0;
+ margin-left: 0;
+ padding-left: 0;
+ }
+ }
+ }
+
+ @include breakpoint(large) {
+ margin: (_size(padding) * 2) auto;
+ }
+
+ @include breakpoint(xsmall) {
+ ul {
+ li {
+ border-left: 0;
+ margin: 1rem 0 0 0;
+ padding-left: 0;
+ display: block;
+
+ &:first-child {
+ margin-top: 0;
+ }
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/layout/_header.scss b/bl-themes/massively/assets/sass/layout/_header.scss
new file mode 100644
index 00000000..c87fbbfb
--- /dev/null
+++ b/bl-themes/massively/assets/sass/layout/_header.scss
@@ -0,0 +1,63 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Header */
+
+ #header {
+ @include color-typography(invert);
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'column');
+ @include vendor('justify-content', 'flex-end');
+ @include vendor('pointer-events', 'none');
+ @include vendor('user-select', 'none');
+ height: 20rem;
+ padding-bottom: (_size(padding) * 4);
+ position: relative;
+ text-align: center;
+ z-index: 2;
+
+ .logo {
+ @include vendor('transition', (
+ 'border-color #{_duration(transition)} ease-in-out',
+ 'color #{_duration(transition)} ease-in-out',
+ 'opacity 0.5s ease',
+ 'transform 0.5s ease',
+ 'visibility 0.5s'
+ ));
+ @include vendor('pointer-events', 'auto');
+ border-style: solid;
+ border-color: _palette(invert, border);
+ border-width: 5px !important;
+ font-family: _font(family-heading);
+ font-size: 2.25rem;
+ font-weight: _font(weight-heading);
+ letter-spacing: 0.075em;
+ line-height: 1;
+ padding: 1rem 1.75rem;
+ text-transform: uppercase;
+ visibility: visible;
+
+ &:hover {
+ border-color: _palette(invert, accent) !important;
+ color: _palette(invert, accent) !important;
+ }
+ }
+
+ @include breakpoint(medium) {
+ height: 14rem;
+ padding-bottom: (_size(padding) * 2);
+ }
+
+ @include breakpoint(small) {
+ padding-bottom: (_size(padding) * 1.5);
+
+ .logo {
+ font-size: 1.75rem;
+ border-width: 3px !important;
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/layout/_intro.scss b/bl-themes/massively/assets/sass/layout/_intro.scss
new file mode 100644
index 00000000..a80350ea
--- /dev/null
+++ b/bl-themes/massively/assets/sass/layout/_intro.scss
@@ -0,0 +1,115 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Intro */
+
+ #intro {
+ @include color-typography(invert);
+ @include color-button(invert);
+ @include padding(_size(padding) * 4, _size(padding) * 2);
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'column');
+ @include vendor('justify-content', 'flex-end');
+ @include vendor('transition', (
+ 'opacity 1s ease',
+ 'transform 1s ease'
+ ));
+ position: relative;
+ cursor: default;
+ text-align: center;
+ z-index: 1;
+ min-height: 100vh;
+
+ h1 {
+ font-size: 5rem;
+ line-height: 1;
+ }
+
+ p {
+ font-size: 1.25rem;
+ font-style: italic;
+ margin-top: -0.25rem;
+ text-align: center;
+ }
+
+ & + #header {
+ margin-top: -20rem;
+
+ .logo {
+ @include vendor('transform', 'translateY(2rem)');
+ opacity: 0;
+ visibility: hidden;
+ }
+ }
+
+ &.hidden {
+ @include vendor('pointer-events', 'none');
+ @include vendor('transform', 'translateY(2rem)');
+ @include vendor('transition', (
+ 'opacity 0.5s ease',
+ 'transform 0.5s ease',
+ 'visibility 0.5s'
+ ));
+ opacity: 0;
+ visibility: hidden;
+
+ & + #header {
+ .logo {
+ @include vendor('transform', 'translateY(0)');
+ opacity: 1;
+ visibility: visible;
+ }
+ }
+ }
+
+ body.is-loading & {
+ @include vendor('transform', 'translateY(2rem)');
+ opacity: 0;
+
+ &:not(.hidden) {
+ & + #header + #nav {
+ @include vendor('transform', 'translateY(4rem)');
+ opacity: 0;
+ }
+ }
+ }
+
+ @include breakpoint(medium) {
+ @include padding(_size(padding) * 2, _size(padding) * 2);
+ min-height: 90vh;
+
+ p {
+ br {
+ display: none;
+ }
+ }
+
+ & + #header {
+ margin-top: -14rem;
+ }
+ }
+
+ @include breakpoint(small) {
+ @include padding(_size(padding) * 1.5, _size(padding) * 1);
+ min-height: 80vh;
+
+ h1 {
+ font-size: 3.25rem;
+ line-height: 1.1;
+ margin-bottom: _size(element-margin) * 0.5;
+ }
+
+ p {
+ font-size: 1rem;
+ margin-top: 0rem;
+ }
+
+ .actions {
+ display: none;
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/layout/_main.scss b/bl-themes/massively/assets/sass/layout/_main.scss
new file mode 100644
index 00000000..34c62a3e
--- /dev/null
+++ b/bl-themes/massively/assets/sass/layout/_main.scss
@@ -0,0 +1,158 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Main */
+
+ #main {
+ background-color: _palette(bg);
+ position: relative;
+ margin: 0 auto;
+ width: calc(100% - #{_size(padding) * 2});
+ max-width: _size(wrapper);
+ z-index: 2;
+
+ > * {
+ @include padding((_size(padding) * 2), (_size(padding) * 2));
+ border-top: solid 2px _palette(border);
+ margin: 0;
+
+ &:first-child {
+ border-top: 0;
+ }
+ }
+
+ > footer {
+ text-align: center;
+ }
+
+ > .post {
+ @include padding((_size(padding) * 4), (_size(padding) * 4));
+
+ header {
+ &.major {
+ > .date {
+ margin-top: -2rem;
+ }
+
+ > h1, h2 {
+ font-size: 4rem;
+ line-height: 1.1;
+ margin: 0 0 _size(element-margin) 0;
+ }
+ }
+ }
+
+ &.featured {
+ text-align: center;
+ }
+
+ @include breakpoint(large) {
+ @include padding((_size(padding) * 3), (_size(padding) * 2));
+ }
+
+ @include breakpoint(small) {
+ @include padding((_size(padding) * 2), (_size(padding) * 1));
+
+ header {
+ &.major {
+ > .date {
+ margin-top: -1rem;
+ margin-bottom: _size(element-margin);
+ }
+
+ > h1, h2 {
+ font-size: 2.5rem;
+ line-height: 1.2;
+ margin: 0 0 (_size(element-margin) * 0.75) 0;
+ }
+ }
+ }
+ }
+ }
+
+ > .posts {
+ @include flexgrid((
+ columns: 2,
+ gutters: (_size(padding) * 4),
+ horizontal-align: center,
+ vertical-align: flex-start,
+ flush: false
+ ));
+ width: 100%;
+ padding: 0;
+
+ > article {
+ border-color: _palette(border);
+ border-left-width: 2px;
+ border-style: solid;
+ border-top-width: 2px;
+ text-align: center;
+
+ > :last-child {
+ margin-bottom: 0;
+ }
+
+ &:nth-child(2n - 1) {
+ border-left-width: 0;
+ }
+
+ &:nth-child(-n + 2) {
+ border-top-width: 0;
+ }
+ }
+
+ @include breakpoint(medium) {
+ @include flexgrid-resize((
+ columns: 2,
+ gutters: (_size(padding) * 2.5),
+ flush: false
+ ));
+ }
+
+ @include breakpoint(small) {
+ @include flexgrid-resize((
+ columns: 1,
+ gutters: (_size(padding) * 2),
+ prev-columns: 2,
+ flush: false
+ ));
+
+ > article {
+ &:nth-child(2n - 1) {
+ border-left-width: 2px;
+ }
+
+ &:nth-child(-n + 2) {
+ border-top-width: 2px;
+ }
+
+ &:nth-child(n) {
+ border-left-width: 0;
+ }
+
+ &:nth-child(-n + 1) {
+ border-top-width: 0;
+ }
+
+ .image {
+ max-width: 25rem;
+ margin-left: auto;
+ margin-right: auto;
+ }
+ }
+ }
+ }
+
+ @include breakpoint(small) {
+ > * {
+ @include padding((_size(padding) * 1), (_size(padding) * 1));
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ width: 100%;
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/layout/_nav.scss b/bl-themes/massively/assets/sass/layout/_nav.scss
new file mode 100644
index 00000000..5685d44f
--- /dev/null
+++ b/bl-themes/massively/assets/sass/layout/_nav.scss
@@ -0,0 +1,85 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Nav */
+
+ #nav {
+ @include color-list(invert);
+ @include color-typography(invert);
+ @include vendor('display', 'flex');
+ @include vendor('transition', (
+ 'transform 1s ease',
+ 'opacity 1s ease'
+ ));
+ background: rgba(255,255,255,0.175);
+ height: 4rem;
+ line-height: 4rem;
+ margin: -4rem auto 0 auto;
+ overflow: hidden;
+ padding: 0 2rem 0 0;
+ position: relative;
+ width: calc(100% - #{_size(padding) * 2});
+ max-width: _size(wrapper);
+ z-index: 2;
+
+ ul {
+ &.links {
+ @include vendor('display', 'flex');
+ @include vendor('flex-grow', '1');
+ @include vendor('flex-shrink', '1');
+ font-family: _font(family-heading);
+ font-weight: _font(weight-heading);
+ letter-spacing: 0.075em;
+ list-style: none;
+ margin-bottom: 0;
+ padding-left: 0;
+ text-transform: uppercase;
+
+ li {
+ display: block;
+ padding-left: 0;
+
+ a {
+ @include vendor('transition', (
+ 'background-color #{_duration(transition)} ease-in-out',
+ 'color #{_duration(transition)} ease-in-out'
+ ));
+ display: block;
+ font-size: 0.8rem;
+ outline: none;
+ padding: 0 2rem;
+
+ &:hover {
+ color: inherit !important;
+ background-color: transparentize(_palette(invert, fg), 0.9);
+ }
+ }
+
+ &.active {
+ background-color: _palette(invert, fg);
+
+ a {
+ color: _palette(invert, bg);
+
+ &:hover {
+ color: _palette(invert, accent) !important;
+ }
+ }
+ }
+ }
+ }
+
+ &.icons {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ margin-bottom: 0;
+ }
+ }
+
+ @include breakpoint(medium) {
+ display: none;
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/layout/_navPanel.scss b/bl-themes/massively/assets/sass/layout/_navPanel.scss
new file mode 100644
index 00000000..044fed2e
--- /dev/null
+++ b/bl-themes/massively/assets/sass/layout/_navPanel.scss
@@ -0,0 +1,153 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Nav Panel */
+
+ #navPanelToggle {
+ @include icon;
+ @include vendor('transition', (
+ 'color #{_duration(transition)} ease-in-out',
+ 'background-color #{_duration(transition)} ease-in-out',
+ 'box-shadow #{_duration(transition)} ease-in-out'
+ ));
+ display: none;
+ position: fixed;
+ top: 0.75rem;
+ right: 0.75rem;
+ border: 0;
+ color: _palette(invert, fg-bold);
+ font-family: _font(family-heading);
+ font-size: 0.9rem;
+ font-weight: _font(weight-heading);
+ letter-spacing: 0.075em;
+ padding: 0.375rem 1.25rem;
+ text-transform: uppercase;
+ z-index: _misc(z-index-base) + 1;
+
+ &:before {
+ content: '\f0c9';
+ margin-right: 0.5rem;
+ }
+
+ &.alt {
+ background-color: transparentize(_palette(bg), 0.125);
+ box-shadow: 0 0.125rem 0.75rem 0 transparentize(_palette(invert, bg), 0.75);
+ color: _palette(fg-bold);
+
+ &:hover {
+ background-color: _palette(bg);
+ }
+ }
+
+ @include breakpoint(medium) {
+ display: block;
+ }
+
+ @include breakpoint(small) {
+ font-size: 0.8rem;
+ padding: 0.25rem 1rem;
+ }
+ }
+
+ #navPanel {
+ @include vendor('transform', 'translateX(20rem)');
+ @include vendor('transition', ('transform #{_duration(menu)} ease', 'box-shadow #{_duration(menu)} ease', 'visibility #{_duration(menu)}'));
+ display: none;
+ -webkit-overflow-scrolling: touch;
+ background: _palette(bg);
+ box-shadow: none;
+ color: _palette(fg-bold);
+ height: 100%;
+ max-width: 80%;
+ overflow-y: auto;
+ padding: 3rem 2rem;
+ position: fixed;
+ right: 0;
+ top: 0;
+ visibility: hidden;
+ width: 20rem;
+ z-index: _misc(z-index-base) + 2;
+
+ .links {
+ list-style: none;
+ padding-left: 0;
+
+ li {
+ border-top: solid 2px _palette(border);
+
+ a {
+ border-bottom: 0;
+ display: block;
+ font-family: _font(family-heading);
+ font-size: 0.9rem;
+ font-size: 0.9rem;
+ font-weight: _font(weight-heading);
+ letter-spacing: 0.075em;
+ padding: 0.75rem 0;
+ text-transform: uppercase;
+ }
+
+ &:first-child {
+ border-top: 0;
+ }
+ }
+ }
+
+ .close {
+ @include icon;
+ @include vendor('transition', 'color #{_duration(transition)} ease-in-out');
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
+ border: 0;
+ color: _palette(fg-light);
+ cursor: pointer;
+ display: block;
+ height: 3.25rem;
+ line-height: 3.25rem;
+ padding-right: 1.25rem;
+ position: absolute;
+ right: 0;
+ text-align: right;
+ top: 0;
+ vertical-align: middle;
+ width: 7rem;
+
+ &:before {
+ content: '\f00d';
+ font-size: 1.25rem;
+ }
+
+ &:hover {
+ color: _palette(fg-bold);
+ }
+
+ @include breakpoint(small) {
+ height: 4rem;
+ line-height: 4rem;
+ }
+ }
+
+ @include breakpoint(medium) {
+ display: block;
+ }
+
+ @include breakpoint(small) {
+ padding: 2.5rem 1.75rem;
+ }
+ }
+
+ @include breakpoint(medium) {
+ body.is-navPanel-visible {
+ #wrapper {
+ opacity: 0.5;
+ }
+
+ #navPanel {
+ @include vendor('transform', 'translateX(0)');
+ box-shadow: 0 0 1.5rem 0 rgba(0,0,0,0.2);
+ visibility: visible;
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/layout/_wrapper.scss b/bl-themes/massively/assets/sass/layout/_wrapper.scss
new file mode 100644
index 00000000..4c34e7d4
--- /dev/null
+++ b/bl-themes/massively/assets/sass/layout/_wrapper.scss
@@ -0,0 +1,64 @@
+///
+/// Massively by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Wrapper */
+
+ #wrapper {
+ @include vendor('transition', 'opacity #{_duration(menu)} ease');
+ position: relative;
+ z-index: 1;
+ overflow: hidden;
+
+ > .bg {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: _palette(wrapper-bg);
+ background-image: url('../../images/overlay.png'), linear-gradient(0deg, rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../../images/bg.jpg');
+ background-size: auto, auto, 100% auto;
+ background-position: center, center, top center;
+ background-repeat: repeat, no-repeat, no-repeat;
+ background-attachment: scroll, scroll, scroll;
+ z-index: -1;
+
+ &.fixed {
+ position: fixed;
+ width: 100vw;
+ height: 100vh;
+ }
+ }
+
+ &.fade-in {
+ &:before {
+ @include vendor('pointer-events', 'none');
+ @include vendor('transition', 'opacity 1s ease-in-out');
+ @include vendor('transition-delay', '0.75s');
+ background: _palette(invert, bg);
+ content: '';
+ display: block;
+ height: 100%;
+ left: 0;
+ opacity: 0;
+ position: fixed;
+ top: 0;
+ width: 100%;
+ }
+
+ body.is-loading & {
+ &:before {
+ opacity: 1;
+ }
+ }
+ }
+
+ @include orientation(portrait) {
+ > .bg {
+ background-size: auto, auto, auto 175%;
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/libs/_functions.scss b/bl-themes/massively/assets/sass/libs/_functions.scss
new file mode 100644
index 00000000..0e08c1a6
--- /dev/null
+++ b/bl-themes/massively/assets/sass/libs/_functions.scss
@@ -0,0 +1,34 @@
+/// Gets a duration value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _duration($keys...) {
+ @return val($duration, $keys...);
+}
+
+/// Gets a font value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _font($keys...) {
+ @return val($font, $keys...);
+}
+
+/// Gets a misc value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _misc($keys...) {
+ @return val($misc, $keys...);
+}
+
+/// Gets a palette value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _palette($keys...) {
+ @return val($palette, $keys...);
+}
+
+/// Gets a size value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _size($keys...) {
+ @return val($size, $keys...);
+}
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/libs/_mixins.scss b/bl-themes/massively/assets/sass/libs/_mixins.scss
new file mode 100644
index 00000000..d4bf3c84
--- /dev/null
+++ b/bl-themes/massively/assets/sass/libs/_mixins.scss
@@ -0,0 +1,398 @@
+/// Makes an element's :before pseudoelement a FontAwesome icon.
+/// @param {string} $content Optional content value to use.
+/// @param {string} $where Optional pseudoelement to target (before or after).
+@mixin icon($content: false, $where: before) {
+
+ text-decoration: none;
+
+ &:#{$where} {
+
+ @if $content {
+ content: $content;
+ }
+
+ -moz-osx-font-smoothing: grayscale;
+ -webkit-font-smoothing: antialiased;
+ font-family: FontAwesome;
+ font-style: normal;
+ font-weight: normal;
+ text-transform: none !important;
+
+ }
+
+}
+
+/// Applies padding to an element, taking the current element-margin value into account.
+/// @param {mixed} $tb Top/bottom padding.
+/// @param {mixed} $lr Left/right padding.
+/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left)
+/// @param {bool} $important If true, adds !important.
+@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) {
+
+ @if $important {
+ $important: '!important';
+ }
+
+ $x: 0.1em;
+
+ @if unit(_size(element-margin)) == 'rem' {
+ $x: 0.1rem;
+ }
+
+ padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
+
+}
+
+/// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp).
+/// @param {string} $svg SVG data URL.
+/// @return {string} Encoded SVG data URL.
+@function svg-url($svg) {
+
+ $svg: str-replace($svg, '"', '\'');
+ $svg: str-replace($svg, '%', '%25');
+ $svg: str-replace($svg, '<', '%3C');
+ $svg: str-replace($svg, '>', '%3E');
+ $svg: str-replace($svg, '&', '%26');
+ $svg: str-replace($svg, '#', '%23');
+ $svg: str-replace($svg, '{', '%7B');
+ $svg: str-replace($svg, '}', '%7D');
+ $svg: str-replace($svg, ';', '%3B');
+
+ @return url("data:image/svg+xml;charset=utf8,#{$svg}");
+
+}
+
+/// Initializes base flexgrid classes.
+/// @param {string} $vertical-align Vertical alignment of cells.
+/// @param {string} $horizontal-align Horizontal alignment of cells.
+@mixin flexgrid-base($vertical-align: null, $horizontal-align: null) {
+
+ // Grid.
+ @include vendor('display', 'flex');
+ @include vendor('flex-wrap', 'wrap');
+
+ // Vertical alignment.
+ @if ($vertical-align == top) {
+ @include vendor('align-items', 'flex-start');
+ }
+ @else if ($vertical-align == bottom) {
+ @include vendor('align-items', 'flex-end');
+ }
+ @else if ($vertical-align == center) {
+ @include vendor('align-items', 'center');
+ }
+ @else {
+ @include vendor('align-items', 'stretch');
+ }
+
+ // Horizontal alignment.
+ @if ($horizontal-align != null) {
+ text-align: $horizontal-align;
+ }
+
+ // Cells.
+ > * {
+ @include vendor('flex-shrink', '1');
+ @include vendor('flex-grow', '0');
+ }
+
+}
+
+/// Sets up flexgrid columns.
+/// @param {integer} $columns Columns.
+@mixin flexgrid-columns($columns) {
+
+ > * {
+ $cell-width: 100% / $columns;
+ width: #{$cell-width};
+ }
+
+}
+
+/// Sets up flexgrid gutters.
+/// @param {integer} $columns Columns.
+/// @param {number} $gutters Gutters.
+@mixin flexgrid-gutters($columns, $gutters) {
+
+ // Apply padding.
+ > * {
+ $cell-width: 100% / $columns;
+
+ padding: ($gutters * 0.5);
+ width: $cell-width;
+ }
+
+}
+
+/// Sets up flexgrid gutters (flush).
+/// @param {integer} $columns Columns.
+/// @param {number} $gutters Gutters.
+@mixin flexgrid-gutters-flush($columns, $gutters) {
+
+ // Apply padding.
+ > * {
+ $cell-width: 100% / $columns;
+ $cell-width-pad: $gutters / $columns;
+
+ padding: ($gutters * 0.5);
+ width: calc(#{$cell-width} + #{$cell-width-pad});
+ }
+
+ // Clear top/bottom gutters.
+ > :nth-child(-n + #{$columns}) {
+ padding-top: 0;
+ }
+
+ > :nth-last-child(-n + #{$columns}) {
+ padding-bottom: 0;
+ }
+
+ // Clear left/right gutters.
+ > :nth-child(#{$columns}n + 1) {
+ padding-left: 0;
+ }
+
+ > :nth-child(#{$columns}n) {
+ padding-right: 0;
+ }
+
+ // Adjust widths of leftmost and rightmost cells.
+ > :nth-child(#{$columns}n + 1),
+ > :nth-child(#{$columns}n) {
+ $cell-width: 100% / $columns;
+ $cell-width-pad: ($gutters / $columns) - ($gutters / 2);
+
+ width: calc(#{$cell-width} + #{$cell-width-pad});
+ }
+
+}
+
+/// Reset flexgrid gutters (flush only).
+/// Used to override a previous set of flexgrid gutter classes.
+/// @param {integer} $columns Columns.
+/// @param {number} $gutters Gutters.
+/// @param {integer} $prev-columns Previous columns.
+@mixin flexgrid-gutters-flush-reset($columns, $gutters, $prev-columns) {
+
+ // Apply padding.
+ > * {
+ $cell-width: 100% / $prev-columns;
+ $cell-width-pad: $gutters / $prev-columns;
+
+ padding: ($gutters * 0.5);
+ width: calc(#{$cell-width} + #{$cell-width-pad});
+ }
+
+ // Clear top/bottom gutters.
+ > :nth-child(-n + #{$prev-columns}) {
+ padding-top: ($gutters * 0.5);
+ }
+
+ > :nth-last-child(-n + #{$prev-columns}) {
+ padding-bottom: ($gutters * 0.5);
+ }
+
+ // Clear left/right gutters.
+ > :nth-child(#{$prev-columns}n + 1) {
+ padding-left: ($gutters * 0.5);
+ }
+
+ > :nth-child(#{$prev-columns}n) {
+ padding-right: ($gutters * 0.5);
+ }
+
+ // Adjust widths of leftmost and rightmost cells.
+ > :nth-child(#{$prev-columns}n + 1),
+ > :nth-child(#{$prev-columns}n) {
+ $cell-width: 100% / $columns;
+ $cell-width-pad: $gutters / $columns;
+
+ padding: ($gutters * 0.5);
+ width: calc(#{$cell-width} + #{$cell-width-pad});
+ }
+
+}
+
+/// Adds debug styles to current flexgrid element.
+@mixin flexgrid-debug() {
+
+ box-shadow: 0 0 0 1px red;
+
+ > * {
+ box-shadow: inset 0 0 0 1px blue;
+ position: relative;
+
+ > * {
+ position: relative;
+ box-shadow: inset 0 0 0 1px green;
+ }
+ }
+
+}
+
+/// Initializes the current element as a flexgrid.
+/// @param {integer} $columns Columns (optional).
+/// @param {number} $gutters Gutters (optional).
+/// @param {bool} $flush If true, clears padding around the very edge of the grid.
+@mixin flexgrid($settings: ()) {
+
+ // Settings.
+
+ // Debug.
+ $debug: false;
+
+ @if (map-has-key($settings, 'debug')) {
+ $debug: map-get($settings, 'debug');
+ }
+
+ // Vertical align.
+ $vertical-align: null;
+
+ @if (map-has-key($settings, 'vertical-align')) {
+ $vertical-align: map-get($settings, 'vertical-align');
+ }
+
+ // Horizontal align.
+ $horizontal-align: null;
+
+ @if (map-has-key($settings, 'horizontal-align')) {
+ $horizontal-align: map-get($settings, 'horizontal-align');
+ }
+
+ // Columns.
+ $columns: null;
+
+ @if (map-has-key($settings, 'columns')) {
+ $columns: map-get($settings, 'columns');
+ }
+
+ // Gutters.
+ $gutters: 0;
+
+ @if (map-has-key($settings, 'gutters')) {
+ $gutters: map-get($settings, 'gutters');
+ }
+
+ // Flush.
+ $flush: true;
+
+ @if (map-has-key($settings, 'flush')) {
+ $flush: map-get($settings, 'flush');
+ }
+
+ // Initialize base grid.
+ @include flexgrid-base($vertical-align, $horizontal-align);
+
+ // Debug?
+ @if ($debug) {
+ @include flexgrid-debug;
+ }
+
+ // Columns specified?
+ @if ($columns != null) {
+
+ // Initialize columns.
+ @include flexgrid-columns($columns);
+
+ // Gutters specified?
+ @if ($gutters > 0) {
+
+ // Flush gutters?
+ @if ($flush) {
+
+ // Initialize gutters (flush).
+ @include flexgrid-gutters-flush($columns, $gutters);
+
+ }
+
+ // Otherwise ...
+ @else {
+
+ // Initialize gutters.
+ @include flexgrid-gutters($columns, $gutters);
+
+ }
+
+ }
+
+ }
+
+}
+
+/// Resizes a previously-initialized grid.
+/// @param {integer} $columns Columns.
+/// @param {number} $gutters Gutters (optional).
+/// @param {list} $reset A list of previously-initialized grid columns (only if $flush is true).
+/// @param {bool} $flush If true, clears padding around the very edge of the grid.
+@mixin flexgrid-resize($settings: ()) {
+
+ // Settings.
+
+ // Columns.
+ $columns: 1;
+
+ @if (map-has-key($settings, 'columns')) {
+ $columns: map-get($settings, 'columns');
+ }
+
+ // Gutters.
+ $gutters: 0;
+
+ @if (map-has-key($settings, 'gutters')) {
+ $gutters: map-get($settings, 'gutters');
+ }
+
+ // Previous columns.
+ $prev-columns: false;
+
+ @if (map-has-key($settings, 'prev-columns')) {
+ $prev-columns: map-get($settings, 'prev-columns');
+ }
+
+ // Flush.
+ $flush: true;
+
+ @if (map-has-key($settings, 'flush')) {
+ $flush: map-get($settings, 'flush');
+ }
+
+ // Resize columns.
+ @include flexgrid-columns($columns);
+
+ // Gutters specified?
+ @if ($gutters > 0) {
+
+ // Flush gutters?
+ @if ($flush) {
+
+ // Previous columns specified?
+ @if ($prev-columns) {
+
+ // Convert to list if it isn't one already.
+ @if (type-of($prev-columns) != list) {
+ $prev-columns: ($prev-columns);
+ }
+
+ // Step through list of previous columns and reset them.
+ @each $x in $prev-columns {
+ @include flexgrid-gutters-flush-reset($columns, $gutters, $x);
+ }
+
+ }
+
+ // Resize gutters (flush).
+ @include flexgrid-gutters-flush($columns, $gutters);
+
+ }
+
+ // Otherwise ...
+ @else {
+
+ // Resize gutters.
+ @include flexgrid-gutters($columns, $gutters);
+
+ }
+
+ }
+
+}
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/libs/_skel.scss b/bl-themes/massively/assets/sass/libs/_skel.scss
new file mode 100644
index 00000000..f5e0dcd1
--- /dev/null
+++ b/bl-themes/massively/assets/sass/libs/_skel.scss
@@ -0,0 +1,587 @@
+// skel.scss v3.0.2-dev | (c) skel.io | MIT licensed */
+
+// Vars.
+
+ /// Breakpoints.
+ /// @var {list}
+ $breakpoints: () !global;
+
+ /// Vendor prefixes.
+ /// @var {list}
+ $vendor-prefixes: (
+ '-moz-',
+ '-webkit-',
+ '-ms-',
+ ''
+ );
+
+ /// Properties that should be vendorized.
+ /// @var {list}
+ $vendor-properties: (
+ 'align-content',
+ 'align-items',
+ 'align-self',
+ 'animation',
+ 'animation-delay',
+ 'animation-direction',
+ 'animation-duration',
+ 'animation-fill-mode',
+ 'animation-iteration-count',
+ 'animation-name',
+ 'animation-play-state',
+ 'animation-timing-function',
+ 'appearance',
+ 'backface-visibility',
+ 'box-sizing',
+ 'filter',
+ 'flex',
+ 'flex-basis',
+ 'flex-direction',
+ 'flex-flow',
+ 'flex-grow',
+ 'flex-shrink',
+ 'flex-wrap',
+ 'justify-content',
+ 'object-fit',
+ 'object-position',
+ 'order',
+ 'perspective',
+ 'pointer-events',
+ 'transform',
+ 'transform-origin',
+ 'transform-style',
+ 'transition',
+ 'transition-delay',
+ 'transition-duration',
+ 'transition-property',
+ 'transition-timing-function',
+ 'user-select'
+ );
+
+ /// Values that should be vendorized.
+ /// @var {list}
+ $vendor-values: (
+ 'filter',
+ 'flex',
+ 'linear-gradient',
+ 'radial-gradient',
+ 'transform'
+ );
+
+// Functions.
+
+ /// Removes a specific item from a list.
+ /// @author Hugo Giraudel
+ /// @param {list} $list List.
+ /// @param {integer} $index Index.
+ /// @return {list} Updated list.
+ @function remove-nth($list, $index) {
+
+ $result: null;
+
+ @if type-of($index) != number {
+ @warn "$index: #{quote($index)} is not a number for `remove-nth`.";
+ }
+ @else if $index == 0 {
+ @warn "List index 0 must be a non-zero integer for `remove-nth`.";
+ }
+ @else if abs($index) > length($list) {
+ @warn "List index is #{$index} but list is only #{length($list)} item long for `remove-nth`.";
+ }
+ @else {
+
+ $result: ();
+ $index: if($index < 0, length($list) + $index + 1, $index);
+
+ @for $i from 1 through length($list) {
+
+ @if $i != $index {
+ $result: append($result, nth($list, $i));
+ }
+
+ }
+
+ }
+
+ @return $result;
+
+ }
+
+ /// Replaces a substring within another string.
+ /// @author Hugo Giraudel
+ /// @param {string} $string String.
+ /// @param {string} $search Substring.
+ /// @param {string} $replace Replacement.
+ /// @return {string} Updated string.
+ @function str-replace($string, $search, $replace: '') {
+
+ $index: str-index($string, $search);
+
+ @if $index {
+ @return str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
+ }
+
+ @return $string;
+
+ }
+
+ /// Replaces a substring within each string in a list.
+ /// @param {list} $strings List of strings.
+ /// @param {string} $search Substring.
+ /// @param {string} $replace Replacement.
+ /// @return {list} Updated list of strings.
+ @function str-replace-all($strings, $search, $replace: '') {
+
+ @each $string in $strings {
+ $strings: set-nth($strings, index($strings, $string), str-replace($string, $search, $replace));
+ }
+
+ @return $strings;
+
+ }
+
+ /// Gets a value from a map.
+ /// @author Hugo Giraudel
+ /// @param {map} $map Map.
+ /// @param {string} $keys Key(s).
+ /// @return {string} Value.
+ @function val($map, $keys...) {
+
+ @if nth($keys, 1) == null {
+ $keys: remove-nth($keys, 1);
+ }
+
+ @each $key in $keys {
+ $map: map-get($map, $key);
+ }
+
+ @return $map;
+
+ }
+
+// Mixins.
+
+ /// Sets the global box model.
+ /// @param {string} $model Model (default is content).
+ @mixin boxModel($model: 'content') {
+
+ $x: $model + '-box';
+
+ *, *:before, *:after {
+ -moz-box-sizing: #{$x};
+ -webkit-box-sizing: #{$x};
+ box-sizing: #{$x};
+ }
+
+ }
+
+ /// Wraps @content in a @media block using a given breakpoint.
+ /// @param {string} $breakpoint Breakpoint.
+ /// @param {map} $queries Additional queries.
+ @mixin breakpoint($breakpoint: null, $queries: null) {
+
+ $query: 'screen';
+
+ // Breakpoint.
+ @if $breakpoint and map-has-key($breakpoints, $breakpoint) {
+ $query: $query + ' and ' + map-get($breakpoints, $breakpoint);
+ }
+
+ // Queries.
+ @if $queries {
+ @each $k, $v in $queries {
+ $query: $query + ' and (' + $k + ':' + $v + ')';
+ }
+ }
+
+ @media #{$query} {
+ @content;
+ }
+
+ }
+
+ /// Wraps @content in a @media block targeting a specific orientation.
+ /// @param {string} $orientation Orientation.
+ @mixin orientation($orientation) {
+ @media screen and (orientation: #{$orientation}) {
+ @content;
+ }
+ }
+
+ /// Utility mixin for containers.
+ /// @param {mixed} $width Width.
+ @mixin containers($width) {
+
+ // Locked?
+ $lock: false;
+
+ @if length($width) == 2 {
+ $width: nth($width, 1);
+ $lock: true;
+ }
+
+ // Modifiers.
+ .container.\31 25\25 { width: 100%; max-width: $width * 1.25; min-width: $width; }
+ .container.\37 5\25 { width: $width * 0.75; }
+ .container.\35 0\25 { width: $width * 0.5; }
+ .container.\32 5\25 { width: $width * 0.25; }
+
+ // Main class.
+ .container {
+ @if $lock {
+ width: $width !important;
+ }
+ @else {
+ width: $width;
+ }
+ }
+
+ }
+
+ /// Utility mixin for grid.
+ /// @param {list} $gutters Column and row gutters (default is 40px).
+ /// @param {string} $breakpointName Optional breakpoint name.
+ @mixin grid($gutters: 40px, $breakpointName: null) {
+
+ // Gutters.
+ @include grid-gutters($gutters);
+ @include grid-gutters($gutters, \32 00\25, 2);
+ @include grid-gutters($gutters, \31 50\25, 1.5);
+ @include grid-gutters($gutters, \35 0\25, 0.5);
+ @include grid-gutters($gutters, \32 5\25, 0.25);
+
+ // Cells.
+ $x: '';
+
+ @if $breakpointName {
+ $x: '\\28' + $breakpointName + '\\29';
+ }
+
+ .\31 2u#{$x}, .\31 2u\24#{$x} { width: 100%; clear: none; margin-left: 0; }
+ .\31 1u#{$x}, .\31 1u\24#{$x} { width: 91.6666666667%; clear: none; margin-left: 0; }
+ .\31 0u#{$x}, .\31 0u\24#{$x} { width: 83.3333333333%; clear: none; margin-left: 0; }
+ .\39 u#{$x}, .\39 u\24#{$x} { width: 75%; clear: none; margin-left: 0; }
+ .\38 u#{$x}, .\38 u\24#{$x} { width: 66.6666666667%; clear: none; margin-left: 0; }
+ .\37 u#{$x}, .\37 u\24#{$x} { width: 58.3333333333%; clear: none; margin-left: 0; }
+ .\36 u#{$x}, .\36 u\24#{$x} { width: 50%; clear: none; margin-left: 0; }
+ .\35 u#{$x}, .\35 u\24#{$x} { width: 41.6666666667%; clear: none; margin-left: 0; }
+ .\34 u#{$x}, .\34 u\24#{$x} { width: 33.3333333333%; clear: none; margin-left: 0; }
+ .\33 u#{$x}, .\33 u\24#{$x} { width: 25%; clear: none; margin-left: 0; }
+ .\32 u#{$x}, .\32 u\24#{$x} { width: 16.6666666667%; clear: none; margin-left: 0; }
+ .\31 u#{$x}, .\31 u\24#{$x} { width: 8.3333333333%; clear: none; margin-left: 0; }
+
+ .\31 2u\24#{$x} + *,
+ .\31 1u\24#{$x} + *,
+ .\31 0u\24#{$x} + *,
+ .\39 u\24#{$x} + *,
+ .\38 u\24#{$x} + *,
+ .\37 u\24#{$x} + *,
+ .\36 u\24#{$x} + *,
+ .\35 u\24#{$x} + *,
+ .\34 u\24#{$x} + *,
+ .\33 u\24#{$x} + *,
+ .\32 u\24#{$x} + *,
+ .\31 u\24#{$x} + * {
+ clear: left;
+ }
+
+ .\-11u#{$x} { margin-left: 91.6666666667% }
+ .\-10u#{$x} { margin-left: 83.3333333333% }
+ .\-9u#{$x} { margin-left: 75% }
+ .\-8u#{$x} { margin-left: 66.6666666667% }
+ .\-7u#{$x} { margin-left: 58.3333333333% }
+ .\-6u#{$x} { margin-left: 50% }
+ .\-5u#{$x} { margin-left: 41.6666666667% }
+ .\-4u#{$x} { margin-left: 33.3333333333% }
+ .\-3u#{$x} { margin-left: 25% }
+ .\-2u#{$x} { margin-left: 16.6666666667% }
+ .\-1u#{$x} { margin-left: 8.3333333333% }
+
+ }
+
+ /// Utility mixin for grid.
+ /// @param {list} $gutters Gutters.
+ /// @param {string} $class Optional class name.
+ /// @param {integer} $multiplier Multiplier (default is 1).
+ @mixin grid-gutters($gutters, $class: null, $multiplier: 1) {
+
+ // Expand gutters if it's not a list.
+ @if length($gutters) == 1 {
+ $gutters: ($gutters, 0);
+ }
+
+ // Get column and row gutter values.
+ $c: nth($gutters, 1);
+ $r: nth($gutters, 2);
+
+ // Get class (if provided).
+ $x: '';
+
+ @if $class {
+ $x: '.' + $class;
+ }
+
+ // Default.
+ .row#{$x} > * { padding: ($r * $multiplier) 0 0 ($c * $multiplier); }
+ .row#{$x} { margin: ($r * $multiplier * -1) 0 -1px ($c * $multiplier * -1); }
+
+ // Uniform.
+ .row.uniform#{$x} > * { padding: ($c * $multiplier) 0 0 ($c * $multiplier); }
+ .row.uniform#{$x} { margin: ($c * $multiplier * -1) 0 -1px ($c * $multiplier * -1); }
+
+ }
+
+ /// Wraps @content in vendorized keyframe blocks.
+ /// @param {string} $name Name.
+ @mixin keyframes($name) {
+
+ @-moz-keyframes #{$name} { @content; }
+ @-webkit-keyframes #{$name} { @content; }
+ @-ms-keyframes #{$name} { @content; }
+ @keyframes #{$name} { @content; }
+
+ }
+
+ ///
+ /// Sets breakpoints.
+ /// @param {map} $x Breakpoints.
+ ///
+ @mixin skel-breakpoints($x: ()) {
+ $breakpoints: $x !global;
+ }
+
+ ///
+ /// Initializes layout module.
+ /// @param {map} config Config.
+ ///
+ @mixin skel-layout($config: ()) {
+
+ // Config.
+ $configPerBreakpoint: ();
+
+ $z: map-get($config, 'breakpoints');
+
+ @if $z {
+ $configPerBreakpoint: $z;
+ }
+
+ // Reset.
+ $x: map-get($config, 'reset');
+
+ @if $x {
+
+ /* Reset */
+
+ @include reset($x);
+
+ }
+
+ // Box model.
+ $x: map-get($config, 'boxModel');
+
+ @if $x {
+
+ /* Box Model */
+
+ @include boxModel($x);
+
+ }
+
+ // Containers.
+ $containers: map-get($config, 'containers');
+
+ @if $containers {
+
+ /* Containers */
+
+ .container {
+ margin-left: auto;
+ margin-right: auto;
+ }
+
+ // Use default is $containers is just "true".
+ @if $containers == true {
+ $containers: 960px;
+ }
+
+ // Apply base.
+ @include containers($containers);
+
+ // Apply per-breakpoint.
+ @each $name in map-keys($breakpoints) {
+
+ // Get/use breakpoint setting if it exists.
+ $x: map-get($configPerBreakpoint, $name);
+
+ // Per-breakpoint config exists?
+ @if $x {
+ $y: map-get($x, 'containers');
+
+ // Setting exists? Use it.
+ @if $y {
+ $containers: $y;
+ }
+
+ }
+
+ // Create @media block.
+ @media screen and #{map-get($breakpoints, $name)} {
+ @include containers($containers);
+ }
+
+ }
+
+ }
+
+ // Grid.
+ $grid: map-get($config, 'grid');
+
+ @if $grid {
+
+ /* Grid */
+
+ // Use defaults if $grid is just "true".
+ @if $grid == true {
+ $grid: ();
+ }
+
+ // Sub-setting: Gutters.
+ $grid-gutters: 40px;
+ $x: map-get($grid, 'gutters');
+
+ @if $x {
+ $grid-gutters: $x;
+ }
+
+ // Rows.
+ .row {
+ border-bottom: solid 1px transparent;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ }
+
+ .row > * {
+ float: left;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ box-sizing: border-box;
+ }
+
+ .row:after, .row:before {
+ content: '';
+ display: block;
+ clear: both;
+ height: 0;
+ }
+
+ .row.uniform > * > :first-child {
+ margin-top: 0;
+ }
+
+ .row.uniform > * > :last-child {
+ margin-bottom: 0;
+ }
+
+ // Gutters (0%).
+ @include grid-gutters($grid-gutters, \30 \25, 0);
+
+ // Apply base.
+ @include grid($grid-gutters);
+
+ // Apply per-breakpoint.
+ @each $name in map-keys($breakpoints) {
+
+ // Get/use breakpoint setting if it exists.
+ $x: map-get($configPerBreakpoint, $name);
+
+ // Per-breakpoint config exists?
+ @if $x {
+ $y: map-get($x, 'grid');
+
+ // Setting exists?
+ @if $y {
+
+ // Sub-setting: Gutters.
+ $x: map-get($y, 'gutters');
+
+ @if $x {
+ $grid-gutters: $x;
+ }
+
+ }
+
+ }
+
+ // Create @media block.
+ @media screen and #{map-get($breakpoints, $name)} {
+ @include grid($grid-gutters, $name);
+ }
+
+ }
+
+ }
+
+ }
+
+ /// Resets browser styles.
+ /// @param {string} $mode Mode (default is 'normalize').
+ @mixin reset($mode: 'normalize') {
+
+ @if $mode == 'normalize' {
+
+ // normalize.css v3.0.2 | MIT License | git.io/normalize
+ html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
+
+ }
+ @else if $mode == 'full' {
+
+ // meyerweb.com/eric/tools/css/reset v2.0 | 20110126 | License: none (public domain)
+ html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}table{border-collapse:collapse;border-spacing:0;}body{-webkit-text-size-adjust:none}
+
+ }
+
+ }
+
+ /// Vendorizes a declaration's property and/or value(s).
+ /// @param {string} $property Property.
+ /// @param {mixed} $value String/list of value(s).
+ @mixin vendor($property, $value) {
+
+ // Determine if property should expand.
+ $expandProperty: index($vendor-properties, $property);
+
+ // Determine if value should expand (and if so, add '-prefix-' placeholder).
+ $expandValue: false;
+
+ @each $x in $value {
+ @each $y in $vendor-values {
+ @if $y == str-slice($x, 1, str-length($y)) {
+
+ $value: set-nth($value, index($value, $x), '-prefix-' + $x);
+ $expandValue: true;
+
+ }
+ }
+ }
+
+ // Expand property?
+ @if $expandProperty {
+ @each $vendor in $vendor-prefixes {
+ #{$vendor}#{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
+ }
+ }
+
+ // Expand just the value?
+ @elseif $expandValue {
+ @each $vendor in $vendor-prefixes {
+ #{$property}: #{str-replace-all($value, '-prefix-', $vendor)};
+ }
+ }
+
+ // Neither? Treat them as a normal declaration.
+ @else {
+ #{$property}: #{$value};
+ }
+
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/libs/_vars.scss b/bl-themes/massively/assets/sass/libs/_vars.scss
new file mode 100644
index 00000000..9347e2c8
--- /dev/null
+++ b/bl-themes/massively/assets/sass/libs/_vars.scss
@@ -0,0 +1,62 @@
+// Misc.
+ $misc: (
+ z-index-base: 10000
+ );
+
+// Duration.
+ $duration: (
+ menu: 0.5s,
+ transition: 0.2s
+ );
+
+// Size.
+ $size: (
+ element-height: 3rem,
+ element-margin: 2rem,
+ padding: 2rem,
+ wrapper: 72rem
+ );
+
+// Font.
+ $font: (
+ family: ('Merriweather', Georgia, serif),
+ family-heading: ('Source Sans Pro', Helvetica, sans-serif),
+ family-fixed: ('Courier New', monospace),
+ weight: 300,
+ weight-bold: 600,
+ weight-heading: 900
+ );
+
+// Palette.
+ $palette: (
+ wrapper-bg: #212931,
+
+ bg: #ffffff,
+ fg: #212931,
+ fg-bold: #212931,
+ fg-light: mix(#212931, #ffffff, 50%),
+ border: mix(#dcdcdc, #ffffff, 50%),
+ border-bg: rgba(#dcdcdc, 0.25),
+ accent: #18bfef,
+
+ alt: (
+ bg: #f5f5f5,
+ fg: #717981,
+ fg-bold: #717981,
+ fg-light: mix(#717981, #f5f5f5, 50%),
+ border: mix(#dcdcdc, #f5f5f5, 75%),
+ border-bg: rgba(#dcdcdc, 0.5),
+ accent: #18bfef,
+ ),
+
+ invert: (
+ bg: #1e252d,
+ bg-alt: #1e252d,
+ fg: #ffffff,
+ fg-bold: #ffffff,
+ fg-light: rgba(#ffffff, 0.5),
+ border: #ffffff,
+ border-bg: rgba(#ffffff,0.075),
+ accent: #18bfef,
+ ),
+ );
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/main.scss b/bl-themes/massively/assets/sass/main.scss
new file mode 100644
index 00000000..28f117de
--- /dev/null
+++ b/bl-themes/massively/assets/sass/main.scss
@@ -0,0 +1,65 @@
+@import 'libs/vars';
+@import 'libs/functions';
+@import 'libs/mixins';
+@import 'libs/skel';
+@import 'font-awesome.min.css';
+@import url('https://fonts.googleapis.com/css?family=Merriweather:300,700,300italic,700italic|Source+Sans+Pro:900');
+
+/*
+ Massively by HTML5 UP
+ html5up.net | @ajlkn
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+*/
+
+ @include skel-breakpoints((
+ xlarge: '(max-width: 1680px)',
+ large: '(max-width: 1280px)',
+ medium: '(max-width: 980px)',
+ small: '(max-width: 736px)',
+ xsmall: '(max-width: 480px)',
+ xxsmall: '(max-width: 360px)'
+ ));
+
+ @include skel-layout((
+ reset: 'full',
+ boxModel: 'border',
+ grid: ( gutters: 1.5rem )
+ ));
+
+ @mixin color($p) {
+ @include color-typography($p);
+ @include color-box($p);
+ @include color-button($p);
+ @include color-form($p);
+ @include color-list($p);
+ @include color-section($p);
+ @include color-table($p);
+ @include color-pagination($p);
+ }
+
+// Base.
+
+ @import 'base/page';
+ @import 'base/typography';
+
+// Component.
+
+ @import 'components/box';
+ @import 'components/button';
+ @import 'components/form';
+ @import 'components/icon';
+ @import 'components/image';
+ @import 'components/list';
+ @import 'components/section';
+ @import 'components/table';
+ @import 'components/pagination';
+
+// Layout.
+
+ @import 'layout/wrapper';
+ @import 'layout/intro';
+ @import 'layout/header';
+ @import 'layout/nav';
+ @import 'layout/main';
+ @import 'layout/footer';
+ @import 'layout/navPanel';
\ No newline at end of file
diff --git a/bl-themes/massively/assets/sass/noscript.scss b/bl-themes/massively/assets/sass/noscript.scss
new file mode 100644
index 00000000..fdd4948c
--- /dev/null
+++ b/bl-themes/massively/assets/sass/noscript.scss
@@ -0,0 +1,43 @@
+@import 'libs/vars';
+@import 'libs/functions';
+@import 'libs/mixins';
+@import 'libs/skel';
+@import 'font-awesome.min.css';
+
+/*
+ Massively by HTML5 UP
+ html5up.net | @ajlkn
+ Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+*/
+
+/* Wrapper */
+
+ #wrapper {
+ background-color: _palette(wrapper-bg);
+ background-image: url('../../images/overlay.png'), linear-gradient(0deg, rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('../../images/bg.jpg');
+ background-size: auto, auto, 100% auto;
+ background-position: center, center, top center;
+ background-repeat: repeat, no-repeat, no-repeat;
+ background-attachment: fixed, fixed, fixed;
+
+ &.fade-in {
+ &:before {
+ display: none;
+ }
+ }
+ }
+
+/* Intro */
+
+ #intro {
+ body.is-loading & {
+ opacity: 1;
+
+ &:not(.hidden) {
+ & + #header + #nav {
+ @include vendor('transform', 'none');
+ opacity: 1;
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/massively/elements.html b/bl-themes/massively/elements.html
new file mode 100644
index 00000000..56b7abf7
--- /dev/null
+++ b/bl-themes/massively/elements.html
@@ -0,0 +1,497 @@
+
+
+
+
+
Elements Reference - Massively by HTML5 UP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Text
+ This is bold and this is strong . This is italic and this is emphasized .
+ This is superscript text and this is subscript text.
+ This is underlined and this is code: for (;;) { ... }
.
+ Finally, this is a link .
+
+ Heading Level 2
+ Heading Level 3
+ Heading Level 4
+ Heading Level 5
+ Heading Level 6
+
+
+ Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.
+
+ Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.
+
+ Nunc lacinia ante nunc ac lobortis. Interdum adipiscing gravida odio porttitor sem non mi integer non faucibus ornare mi ut ante amet placerat aliquet. Volutpat eu sed ante lacinia sapien lorem accumsan varius montes viverra nibh in adipiscing blandit tempus accumsan.
+
+
+
+
+ Lists
+
+
+
+
Unordered
+
+ Dolor pulvinar etiam.
+ Sagittis lorem eleifend.
+ Felis feugiat dolore viverra.
+ Dolor pulvinar etiam.
+
+
+
Alternate
+
+ Dolor pulvinar etiam etiam.
+ Sagittis adipiscing eleifend.
+ Felis enim dolore viverra.
+ Dolor pulvinar etiam etiam.
+
+
+
+
+
+
Ordered
+
+ Dolor pulvinar etiam.
+ Etiam vel felis at viverra.
+ Felis enim feugiat magna.
+ Etiam vel felis nullam.
+ Felis enim et tempus.
+
+
+
Icons
+
+
+
+
+
+ Definition
+
+ Item 1
+
+ Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent.
+
+ Item 2
+
+ Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent.
+
+ Item 3
+
+ Lorem ipsum dolor vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent.
+
+
+
+ Actions
+
+
+
+
+
+
+
+
+ Blockquote
+ Fringilla nisl. Donec accumsan interdum nisi, quis tincidunt felis sagittis eget tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan faucibus. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis.
+
+
+
+
+ Table
+
+ Default
+
+
+
+
+ Name
+ Description
+ Price
+
+
+
+
+ Item 1
+ Ante turpis integer aliquet porttitor.
+ 29.99
+
+
+ Item 2
+ Vis ac commodo adipiscing arcu aliquet.
+ 19.99
+
+
+ Item 3
+ Morbi faucibus arcu accumsan lorem.
+ 29.99
+
+
+ Item 4
+ Vitae integer tempus condimentum.
+ 19.99
+
+
+ Item 5
+ Ante turpis integer aliquet porttitor.
+ 29.99
+
+
+
+
+
+ 100.00
+
+
+
+
+
+ Alternate
+
+
+
+
+ Name
+ Description
+ Price
+
+
+
+
+ Item 1
+ Ante turpis integer aliquet porttitor.
+ 29.99
+
+
+ Item 2
+ Vis ac commodo adipiscing arcu aliquet.
+ 19.99
+
+
+ Item 3
+ Morbi faucibus arcu accumsan lorem.
+ 29.99
+
+
+ Item 4
+ Vitae integer tempus condimentum.
+ 19.99
+
+
+ Item 5
+ Ante turpis integer aliquet porttitor.
+ 29.99
+
+
+
+
+
+ 100.00
+
+
+
+
+
+
+
+
+ Buttons
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+
+
+
+
+ Image
+
+ Fit
+
+
+
+ Left & Right
+ Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Vestibulum ante ipsum primis in faucibus magna blandit adipiscing eu felis iaculis.
+ Lorem ipsum dolor sit accumsan interdum nisi, quis tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Vestibulum ante ipsum primis in faucibus magna blandit adipiscing eu felis iaculis.
+
+
+
+
+ Box
+
+
Felis sagittis eget tempus primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Magna sed etiam ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus lorem ipsum dolor sit amet nullam. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent tincidunt felis sagittis eget. tempus euismod. Vestibulum ante ipsum primis in faucibus vestibulum. Blandit adipiscing eu felis iaculis volutpat ac adipiscing accumsan eu faucibus. Integer ac pellentesque praesent. Vestibulum ante ipsum primis in faucibus magna blandit adipiscing eu felis iaculis volutpat lorem ipsum dolor.
+
+
+
+
+
+ Preformatted
+ i = 0;
+
+while (!deck.isInOrder()) {
+ print 'Iteration ' + i;
+ deck.shuffle();
+ i++;
+}
+
+print 'It took ' + i + ' iterations to sort the deck.';
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/massively/generic.html b/bl-themes/massively/generic.html
new file mode 100644
index 00000000..e0f9ef7a
--- /dev/null
+++ b/bl-themes/massively/generic.html
@@ -0,0 +1,123 @@
+
+
+
+
+
Generic Page - Massively by HTML5 UP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum sit amet, fergiat. Pellentesque in mi eu massa lacinia malesuada et a elit. Donec urna ex, lacinia in purus ac, pretium pulvinar mauris. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur sapien risus, commodo eget turpis at, elementum convallis enim turpis, lorem ipsum dolor sit amet nullam.
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis dapibus rutrum facilisis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Etiam tristique libero eu nibh porttitor fermentum. Nullam venenatis erat id vehicula viverra. Nunc ultrices eros ut ultricies condimentum. Mauris risus lacus, blandit sit amet venenatis non, bibendum vitae dolor. Nunc lorem mauris, fringilla in aliquam at, euismod in lectus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. In non lorem sit amet elit placerat maximus. Pellentesque aliquam maximus risus. Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis. Praesent rutrum sem diam, vitae egestas enim auctor sit amet. Pellentesque leo mauris, consectetur id ipsum.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/massively/images/bg.jpg b/bl-themes/massively/images/bg.jpg
new file mode 100644
index 00000000..1fe15b60
Binary files /dev/null and b/bl-themes/massively/images/bg.jpg differ
diff --git a/bl-themes/massively/images/overlay.png b/bl-themes/massively/images/overlay.png
new file mode 100644
index 00000000..127bb2b9
Binary files /dev/null and b/bl-themes/massively/images/overlay.png differ
diff --git a/bl-themes/massively/images/pic01.jpg b/bl-themes/massively/images/pic01.jpg
new file mode 100644
index 00000000..b8c5e1e5
Binary files /dev/null and b/bl-themes/massively/images/pic01.jpg differ
diff --git a/bl-themes/massively/images/pic02.jpg b/bl-themes/massively/images/pic02.jpg
new file mode 100644
index 00000000..fe3be4f2
Binary files /dev/null and b/bl-themes/massively/images/pic02.jpg differ
diff --git a/bl-themes/massively/images/pic03.jpg b/bl-themes/massively/images/pic03.jpg
new file mode 100644
index 00000000..282e4f58
Binary files /dev/null and b/bl-themes/massively/images/pic03.jpg differ
diff --git a/bl-themes/massively/images/pic04.jpg b/bl-themes/massively/images/pic04.jpg
new file mode 100644
index 00000000..b0206cbb
Binary files /dev/null and b/bl-themes/massively/images/pic04.jpg differ
diff --git a/bl-themes/massively/images/pic05.jpg b/bl-themes/massively/images/pic05.jpg
new file mode 100644
index 00000000..37313168
Binary files /dev/null and b/bl-themes/massively/images/pic05.jpg differ
diff --git a/bl-themes/massively/images/pic06.jpg b/bl-themes/massively/images/pic06.jpg
new file mode 100644
index 00000000..a9762cea
Binary files /dev/null and b/bl-themes/massively/images/pic06.jpg differ
diff --git a/bl-themes/massively/images/pic07.jpg b/bl-themes/massively/images/pic07.jpg
new file mode 100644
index 00000000..57d93041
Binary files /dev/null and b/bl-themes/massively/images/pic07.jpg differ
diff --git a/bl-themes/massively/images/pic08.jpg b/bl-themes/massively/images/pic08.jpg
new file mode 100644
index 00000000..e0f281d8
Binary files /dev/null and b/bl-themes/massively/images/pic08.jpg differ
diff --git a/bl-themes/massively/images/pic09.jpg b/bl-themes/massively/images/pic09.jpg
new file mode 100644
index 00000000..cfdb688d
Binary files /dev/null and b/bl-themes/massively/images/pic09.jpg differ
diff --git a/bl-themes/massively/index.html b/bl-themes/massively/index.html
new file mode 100644
index 00000000..7b5ce60a
--- /dev/null
+++ b/bl-themes/massively/index.html
@@ -0,0 +1,226 @@
+
+
+
+
+
Massively by HTML5 UP
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis magna etiam.
+
+
+
+
+
+ Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis magna etiam.
+
+
+
+
+
+ Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis magna etiam.
+
+
+
+
+
+ Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis magna etiam.
+
+
+
+
+
+ Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis magna etiam.
+
+
+
+
+
+ Donec eget ex magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque venenatis dolor imperdiet dolor mattis sagittis magna etiam.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/massively/index.php b/bl-themes/massively/index.php
new file mode 100644
index 00000000..7f565480
--- /dev/null
+++ b/bl-themes/massively/index.php
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
title() ?>
+
description() ?>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/massively/languages/en_US.json b/bl-themes/massively/languages/en_US.json
new file mode 100644
index 00000000..e3aee125
--- /dev/null
+++ b/bl-themes/massively/languages/en_US.json
@@ -0,0 +1,7 @@
+{
+ "theme-data":
+ {
+ "name": "Massively",
+ "description": ""
+ }
+}
\ No newline at end of file
diff --git a/bl-themes/massively/metadata.json b/bl-themes/massively/metadata.json
new file mode 100644
index 00000000..f4a830b1
--- /dev/null
+++ b/bl-themes/massively/metadata.json
@@ -0,0 +1,10 @@
+{
+ "author": "n33co",
+ "email": "",
+ "website": "http://html5up.net",
+ "version": "1.0",
+ "releaseDate": "2017-05-06",
+ "license": "CCA 3.0",
+ "compatible": "2.0",
+ "notes": ""
+}
diff --git a/bl-themes/massively/php/head.php b/bl-themes/massively/php/head.php
new file mode 100644
index 00000000..7f2f0504
--- /dev/null
+++ b/bl-themes/massively/php/head.php
@@ -0,0 +1,15 @@
+'.Theme::css('assets/css/noscript.css').'';
+
+ // Load plugins with the hook siteHead
+ Theme::plugins('siteHead');
+?>
\ No newline at end of file
diff --git a/bl-themes/massively/php/home.php b/bl-themes/massively/php/home.php
new file mode 100644
index 00000000..df84a53e
--- /dev/null
+++ b/bl-themes/massively/php/home.php
@@ -0,0 +1,48 @@
+
+
+
+
+
+ date() ?>
+
+ description() ?>
+
+
+
+
+
+
+
+
+
+
+
+
+ description() ?>
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/massively/php/page.php b/bl-themes/massively/php/page.php
new file mode 100644
index 00000000..b1da9022
--- /dev/null
+++ b/bl-themes/massively/php/page.php
@@ -0,0 +1,9 @@
+
+
+ date() ?>
+ title() ?>
+ description() ?>
+
+
+ content() ?>
+
diff --git a/install.php b/install.php
index 58c97687..d84939e3 100644
--- a/install.php
+++ b/install.php
@@ -181,12 +181,6 @@ function getLanguageList()
return $tmp;
}
-// Generate a random string
-// Thanks, http://stackoverflow.com/questions/4356289/php-random-string-generator
-function getRandomString($length = 10) {
- return substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, $length);
-}
-
// Check if Bludit is installed
function alreadyInstalled() {
return file_exists(PATH_DATABASES.'site.php');
@@ -378,7 +372,7 @@ function install($adminPassword, $email, $timezone)
file_put_contents(PATH_DATABASES.'site.php', $dataHead.json_encode($data, JSON_PRETTY_PRINT), LOCK_EX);
// File users.php
- $salt = getRandomString();
+ $salt = uniqid();
$passwordHash = sha1($adminPassword.$salt);
$data = array(
@@ -415,8 +409,7 @@ function install($adminPassword, $email, $timezone)
file_put_contents(PATH_DATABASES.'syslog.php', $dataHead.json_encode($data, JSON_PRETTY_PRINT), LOCK_EX);
// File security.php
- $randomKey = getRandomString();
- $randomKey = sha1($randomKey);
+ $randomKey = sha1( uniqid() );
$data = array(
'key1'=>$randomKey,