')
+ .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/story/assets/sass/base/_page.scss b/bl-themes/story/assets/sass/base/_page.scss
new file mode 100644
index 00000000..a5e314e9
--- /dev/null
+++ b/bl-themes/story/assets/sass/base/_page.scss
@@ -0,0 +1,38 @@
+///
+/// Story 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: _palette(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/story/assets/sass/base/_typography.scss b/bl-themes/story/assets/sass/base/_typography.scss
new file mode 100644
index 00000000..c09953c5
--- /dev/null
+++ b/bl-themes/story/assets/sass/base/_typography.scss
@@ -0,0 +1,231 @@
+///
+/// Story 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: 18pt;
+
+ @include breakpoint(xlarge) {
+ font-size: 14pt;
+ }
+
+ @include breakpoint(large) {
+ font-size: 12pt;
+ }
+
+ @include breakpoint(small) {
+ font-size: 11pt;
+ }
+
+ @include breakpoint(xxsmall) {
+ font-size: 10pt;
+ }
+ }
+
+ body {
+ background-color: _palette(bg);
+ color: _palette(fg);
+ }
+
+ body, input, select, textarea {
+ font-family: _font(family);
+ font-size: 1rem;
+ font-weight: _font(weight);
+ line-height: 1.65;
+ }
+
+ a {
+ @include vendor('transition', 'color #{_duration(transition)} ease-in-out');
+ text-decoration: underline;
+
+ &:hover {
+ text-decoration: none;
+ }
+ }
+
+ strong, b {
+ font-weight: _font(weight-bold);
+ }
+
+ em, i {
+ font-style: italic;
+ }
+
+ p {
+ margin: 0 0 _size(element-margin) 0;
+
+ &.major {
+ font-size: 1.25rem;
+ }
+ }
+
+ h1, h2, h3, h4, h5, h6 {
+ font-weight: _font(weight);
+ line-height: 1.375;
+ letter-spacing: _font(kerning);
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+
+ a {
+ color: inherit;
+ text-decoration: none;
+ }
+ }
+
+ h1 {
+ font-size: 3.5rem;
+ line-height: 1.2;
+ }
+
+ h2 {
+ font-size: 2.25rem;
+ }
+
+ h3 {
+ font-size: 1.5rem;
+ }
+
+ h4 {
+ font-size: 1.1rem;
+ }
+
+ h5 {
+ font-size: 0.9rem;
+ }
+
+ h6 {
+ font-size: 0.7rem;
+ }
+
+ sub {
+ font-size: 0.8rem;
+ position: relative;
+ top: 0.5rem;
+ }
+
+ sup {
+ font-size: 0.8rem;
+ position: relative;
+ top: -0.5rem;
+ }
+
+ blockquote {
+ border-left: solid (_size(border-width) * 4);
+ 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);
+ font-family: _font(family-fixed);
+ font-size: 0.9em;
+ margin: 0 0.25rem;
+ padding: 0.25rem 0.325rem;
+ }
+
+ pre {
+ -webkit-overflow-scrolling: touch;
+ font-family: _font(family-fixed);
+ font-size: 0.9em;
+ margin: 0 0 _size(element-margin) 0;
+
+ code {
+ display: block;
+ line-height: 1.5;
+ padding: 0.75rem 1rem;
+ overflow-x: auto;
+ }
+ }
+
+ hr {
+ border: 0;
+ border-bottom: solid _size(border-width);
+ margin: (_size(element-margin) * 1.25) 0;
+
+ &.major {
+ margin: (_size(element-margin) * 1.75) 0;
+ }
+ }
+
+ .align-left {
+ text-align: left;
+ }
+
+ .align-center {
+ text-align: center;
+ }
+
+ .align-right {
+ text-align: right;
+ }
+
+ @include breakpoint(small) {
+ p {
+ &.major {
+ font-size: 1.1rem;
+ }
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ }
+
+ h2 {
+ font-size: 2rem;
+ }
+
+ h3 {
+ font-size: 1.25rem;
+ }
+
+ h4 {
+ font-size: 1rem;
+ }
+ }
+
+ @mixin color-typography($p: null) {
+
+ @if $p != null {
+ background-color: _palette($p, bg);
+ color: _palette($p, fg);
+ }
+
+ input, select, textarea {
+ color: _palette($p, fg-bold);
+ }
+
+ a {
+ color: _palette($p, fg-bold);
+
+ &:hover {
+ color: _palette($p, accent);
+ }
+ }
+
+ 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/story/assets/sass/components/_banner.scss b/bl-themes/story/assets/sass/components/_banner.scss
new file mode 100644
index 00000000..df56a7fe
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_banner.scss
@@ -0,0 +1,990 @@
+///
+/// Story by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Banner (transitions) */
+
+ .banner {
+
+ // Mixin.
+ @mixin transition-banner($event) {
+ $x: null;
+ $y: null;
+
+ @if ($event == 'load') {
+ $x: 'body.is-loading &';
+ $y: _duration(on-load);
+ }
+ @else if ($event == 'scroll') {
+ $x: '&.is-inactive';
+ $y: _duration(on-scroll);
+ }
+
+ // Content.
+ &.on#{$event}-content-fade-up {
+ .content {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+ }
+
+ #{$x} {
+ .content {
+ @include vendor('transform', 'translateY(1rem)');
+ opacity: 0;
+ }
+ }
+ }
+
+ &.on#{$event}-content-fade-down {
+ .content {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+ }
+
+ #{$x} {
+ .content {
+ @include vendor('transform', 'translateY(-1rem)');
+ opacity: 0;
+ }
+ }
+ }
+
+ &.on#{$event}-content-fade-left {
+ .content {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+ }
+
+ #{$x} {
+ .content {
+ @include vendor('transform', 'translateX(1rem)');
+ opacity: 0;
+ }
+ }
+ }
+
+ &.on#{$event}-content-fade-right {
+ .content {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+ }
+
+ #{$x} {
+ .content {
+ @include vendor('transform', 'translateX(-1rem)');
+ opacity: 0;
+ }
+ }
+ }
+
+ &.on#{$event}-content-fade-in {
+ .content {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ }
+
+ #{$x} {
+ .content {
+ opacity: 0;
+ }
+ }
+ }
+
+ // Image.
+ &.on#{$event}-image-fade-up {
+ .image {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{$y * 0.75}');
+ }
+ }
+
+ #{$x} {
+ .image {
+ @include vendor('transform', 'translateY(1rem)');
+ opacity: 0;
+
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ &.on#{$event}-image-fade-down {
+ .image {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{$y * 0.75}');
+ }
+ }
+
+ #{$x} {
+ .image {
+ @include vendor('transform', 'translateY(-1rem)');
+ opacity: 0;
+
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ &.on#{$event}-image-fade-left {
+ .image {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{$y * 0.75}');
+ }
+ }
+
+ #{$x} {
+ .image {
+ @include vendor('transform', 'translateX(1rem)');
+ opacity: 0;
+
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ &.on#{$event}-image-fade-right {
+ .image {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{$y * 0.75}');
+ }
+ }
+
+ #{$x} {
+ .image {
+ @include vendor('transform', 'translateX(-1rem)');
+ opacity: 0;
+
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ &.on#{$event}-image-fade-in {
+ .image {
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ }
+ }
+
+ #{$x} {
+ .image {
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ }
+
+ // On Load.
+ @include transition-banner('load');
+
+ // On Scroll.
+ @include transition-banner('scroll');
+
+ }
+
+/* Banner (style1) */
+
+ .banner.style1 {
+ @include vendor('align-items', 'stretch');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'row');
+ @include vendor('justify-content', 'flex-end');
+ position: relative;
+ text-align: left;
+ overflow-x: hidden;
+
+ .content {
+ @include padding(_size(padding, default), _size(padding, default));
+ @include vendor('align-self', 'center');
+ @include vendor('flex-grow', '1');
+ @include vendor('flex-shrink', '1');
+ width: 50%;
+ max-width: (_size(inner) * 0.75);
+ margin: 0 auto;
+ }
+
+ .image {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ border-radius: 0;
+ width: 50%;
+
+ img {
+ @include vendor('object-fit', 'cover');
+ @include vendor('object-position', 'center');
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ border-radius: 0;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ .content {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge));
+ }
+ }
+
+ @include breakpoint(large) {
+ .content {
+ @include padding(_size(padding, large), _size(padding, large));
+ }
+ }
+
+ @include breakpoint(medium) {
+ .content {
+ @include padding(_size(padding, medium) * 1.25, _size(padding, medium));
+ }
+ }
+
+ @include breakpoint(small) {
+ .content {
+ @include padding(_size(padding, small) * 1.25, _size(padding, small));
+ }
+ }
+
+ @include orientation(portrait) {
+ @include vendor('flex-direction', 'column-reverse');
+ text-align: center;
+
+ .content {
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'column');
+ @include vendor('justify-content', 'center');
+ width: 100%;
+ max-width: 100%;
+ }
+
+ .image {
+ width: 100%;
+ max-width: 100%;
+ height: 45vh;
+ }
+ }
+
+ // Modifiers.
+
+ // Size.
+ &.fullscreen {
+ min-height: 100vh;
+
+ @include orientation(portrait) {
+ .content {
+ min-height: 50vh;
+ }
+
+ .image {
+ height: 50vh;
+ }
+ }
+ }
+
+ // Orientation.
+ &.orient-left {
+ // ...
+ }
+
+ &.orient-right {
+ @include vendor('flex-direction', 'row-reverse');
+
+ @include orientation(portrait) {
+ @include vendor('flex-direction', 'column-reverse');
+ }
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ // ...
+ }
+
+ &.content-align-center {
+ text-align: center;
+ }
+
+ &.content-align-right {
+ text-align: right;
+
+ @include orientation(portrait) {
+ text-align: center;
+ }
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ .image {
+ img {
+ // ...
+ }
+ }
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+/* Banner (style2) */
+
+ .banner.style2 {
+ @include padding(_size(padding, default) * 0.75, _size(padding, default) * 0.75);
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('justify-content', 'center');
+ background-color: inherit;
+ position: relative;
+ text-align: center;
+ overflow-x: hidden;
+
+ .content {
+ @include padding(_size(padding, default) * 0.75, _size(padding, default) * 0.75);
+ position: relative;
+ width: (_size(inner) * 0.625);
+ max-width: 100%;
+ background-color: inherit;
+ border-radius: _size(border-radius-alt);
+ margin-bottom: _size(element-margin);
+ z-index: 1;
+ }
+
+ .image {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ border-radius: 0;
+
+ img {
+ @include vendor('object-fit', 'cover');
+ @include vendor('object-position', 'center');
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ border-radius: 0;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ @include padding(_size(padding, xlarge) * 0.75, _size(padding, xlarge) * 0.75);
+
+ .content {
+ @include padding(_size(padding, xlarge) * 0.75, _size(padding, xlarge) * 0.75);
+ }
+ }
+
+ @include breakpoint(large) {
+ @include padding(_size(padding, large), _size(padding, large) * 0.75);
+
+ .content {
+ @include padding(_size(padding, large), _size(padding, large) * 0.75);
+ }
+ }
+
+ @include breakpoint(medium) {
+ @include padding(_size(padding, medium), _size(padding, medium));
+
+ .content {
+ @include padding(_size(padding, medium) * 1.25, _size(padding, medium) * 0.75);
+ }
+ }
+
+ @include breakpoint(small) {
+ @include padding(_size(padding, small), _size(padding, small));
+
+ .content {
+ @include padding(_size(padding, small) * 1.25, _size(padding, small) * 0.75);
+ }
+ }
+
+ // Modifiers.
+
+ // Size.
+ &.fullscreen {
+ min-height: 100vh;
+ }
+
+ // Orientation.
+ &.orient-left {
+ @include vendor('justify-content', 'flex-start');
+ padding-left: 0;
+
+ .content {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+ }
+ }
+
+ &.orient-center {
+ // ...
+ }
+
+ &.orient-right {
+ @include vendor('justify-content', 'flex-end');
+ padding-right: 0;
+
+ .content {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+ }
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ text-align: left;
+ }
+
+ &.content-align-center {
+ // ...
+ }
+
+ &.content-align-right {
+ text-align: right;
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ .image {
+ img {
+ // ...
+ }
+ }
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+/* Banner (style3) */
+
+ .banner.style3 {
+ $image-size: 21rem;
+ $content-size: (_size(inner) * 0.875) - $image-size - (_size(element-margin) * 1.75);
+
+ @include padding(_size(padding, default), _size(padding, default));
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'row-reverse');
+ @include vendor('justify-content', 'center');
+ position: relative;
+ text-align: left;
+ overflow-x: hidden;
+
+ .content {
+ width: $content-size;
+ max-width: 100%;
+ }
+
+ .image {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ width: $image-size;
+ height: $image-size;
+ border-radius: 100%;
+ margin: 0 (_size(element-margin) * 1.75) _size(element-margin) 0;
+
+ img {
+ @include vendor('object-fit', 'cover');
+ @include vendor('object-position', 'center');
+ display: block;
+ width: 100%;
+ height: 100%;
+ border-radius: 100%;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge));
+ }
+
+ @include breakpoint(large) {
+ @include padding(_size(padding, large), _size(padding, large));
+ }
+
+ @include breakpoint(medium) {
+ @include padding(_size(padding, medium) * 1.25, _size(padding, medium));
+
+ .image {
+ width: ($image-size * 0.875);
+ height: ($image-size * 0.875);
+ }
+ }
+
+ @include breakpoint(small) {
+ @include padding(_size(padding, small) * 1.25, _size(padding, small));
+ @include vendor('align-items', 'flex-start');
+
+ .image {
+ width: ($image-size * 0.75);
+ height: ($image-size * 0.75);
+ margin: 0 (_size(element-margin) * 1) _size(element-margin) 0;
+ }
+ }
+
+ @include orientation(portrait) {
+ @include vendor('align-items', 'center');
+ @include vendor('flex-direction', 'column-reverse');
+ text-align: center;
+
+ .content {
+ width: 34rem;
+ max-width: 100%;
+ }
+
+ .image {
+ margin-right: 0;
+ }
+ }
+
+ // Modifiers.
+
+ // Size.
+ &.fullscreen {
+ min-height: 100vh;
+ }
+
+ // Orientation.
+ &.orient-left {
+ @include vendor('flex-direction', 'row');
+
+ .image {
+ margin: 0 0 _size(element-margin) (_size(element-margin) * 1.75);
+ }
+
+ @include breakpoint(small) {
+ .image {
+ margin: 0 0 _size(element-margin) (_size(element-margin) * 1);
+ }
+ }
+
+ @include orientation(portrait) {
+ @include vendor('flex-direction', 'column-reverse');
+
+ .image {
+ margin-left: 0;
+ }
+ }
+ }
+
+ &.orient-right {
+ // ...
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ // ...
+ }
+
+ &.content-align-center {
+ text-align: center;
+ }
+
+ &.content-align-right {
+ text-align: right;
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ // ...
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+/* Banner (style4) */
+
+ .banner.style4 {
+ $image-width: 13rem;
+ $content-size: (_size(inner) * 0.75) - $image-width - (_size(element-margin) * 1.75);
+
+ @include padding(_size(padding, default), _size(padding, default));
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'row-reverse');
+ @include vendor('justify-content', 'center');
+ position: relative;
+ text-align: left;
+ overflow-x: hidden;
+
+ .content {
+ width: $content-size;
+ max-width: 100%;
+ }
+
+ .image {
+ @include phone($image-width);
+ margin-right: (_size(element-margin) * 1.75);
+ }
+
+ @include breakpoint(xlarge) {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge));
+ }
+
+ @include breakpoint(large) {
+ @include padding(_size(padding, large), _size(padding, large));
+ }
+
+ @include breakpoint(medium) {
+ @include padding(_size(padding, medium) * 1.25, _size(padding, medium));
+
+ .image {
+ @include resize-phone($image-width, 0.875);
+ }
+ }
+
+ @include breakpoint(small) {
+ @include padding(_size(padding, small) * 1.25, _size(padding, small));
+ @include vendor('align-items', 'flex-start');
+
+ .image {
+ @include resize-phone($image-width, 0.625);
+ }
+ }
+
+ @include orientation(portrait) {
+ @include vendor('align-items', 'center');
+ @include vendor('flex-direction', 'column-reverse');
+ text-align: center;
+
+ .content {
+ width: 34rem;
+ max-width: 100%;
+ }
+
+ .image {
+ margin-right: 0;
+ margin-left: 0;
+ }
+ }
+
+ // Modifiers.
+
+ // Size.
+ &.fullscreen {
+ min-height: 100vh;
+ }
+
+ // Variant.
+ &.iphone {
+ // ...
+ }
+
+ &.android {
+ // ...
+ }
+
+ // Orientation.
+ &.orient-left {
+ @include vendor('flex-direction', 'row');
+
+ .image {
+ margin-right: 0;
+ margin-left: (_size(element-margin) * 1.75);
+ }
+
+ @include orientation(portrait) {
+ @include vendor('flex-direction', 'column-reverse');
+
+ .image {
+ margin-right: 0;
+ margin-left: 0;
+ }
+ }
+ }
+
+ &.orient-right {
+ // ...
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ // ...
+ }
+
+ &.content-align-center {
+ text-align: center;
+ }
+
+ &.content-align-right {
+ text-align: right;
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ // ...
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+/* Banner (style5) */
+
+ .banner.style5 {
+ @include padding(_size(padding, default), _size(padding, default));
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('justify-content', 'center');
+ background-color: inherit;
+ position: relative;
+ text-align: center;
+ overflow-x: hidden;
+
+ .content {
+ position: relative;
+ width: (_size(inner) * 0.625);
+ max-width: 100%;
+ margin-bottom: _size(element-margin);
+ z-index: 1;
+ }
+
+ .image {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ border-radius: 0;
+ opacity: _misc(overlay-opacity);
+
+ img {
+ @include vendor('object-fit', 'cover');
+ @include vendor('object-position', 'center');
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ border-radius: 0;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge));
+ }
+
+ @include breakpoint(large) {
+ @include padding(_size(padding, large), _size(padding, large));
+ }
+
+ @include breakpoint(medium) {
+ @include padding(_size(padding, medium) * 1.25, _size(padding, medium));
+ }
+
+ @include breakpoint(small) {
+ @include padding(_size(padding, small) * 1.25, _size(padding, small));
+ }
+
+ // Modifiers.
+
+ // Size.
+ &.fullscreen {
+ min-height: 100vh;
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ text-align: left;
+ }
+
+ &.content-align-center {
+ // ...
+ }
+
+ &.content-align-right {
+ text-align: right;
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ // ...
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+// Mixin
+
+ @mixin color-banner($p: null) {
+ .banner {
+ .image {
+ background-color: transparentize(_palette($p, fg-bold), 0.875);
+ }
+
+ @if ($p != 'invert') {
+ &.invert {
+ .image {
+ background-color: transparentize(_palette(invert, fg-bold), 0.875);
+ }
+ }
+ }
+ }
+
+ .banner.style4 {
+ .image {
+ @include color-phone($p);
+ }
+
+ // Variant.
+ &.iphone {
+ .image {
+ @include color-phone-variant('iphone', $p);
+ }
+ }
+
+ &.android {
+ .image {
+ @include color-phone-variant('android', $p);
+ }
+ }
+
+ @if ($p != 'invert') {
+ &.invert {
+ .image {
+ @include color-phone(invert);
+ }
+
+ // Variant.
+ &.iphone {
+ .image {
+ @include color-phone-variant('iphone', invert);
+ }
+ }
+
+ &.android {
+ .image {
+ @include color-phone-variant('android', invert);
+ }
+ }
+
+ }
+ }
+ }
+ }
+
+ @include color-banner;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_box.scss b/bl-themes/story/assets/sass/components/_box.scss
new file mode 100644
index 00000000..66178cad
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_box.scss
@@ -0,0 +1,34 @@
+///
+/// Story 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 _size(border-width);
+ 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/story/assets/sass/components/_button.scss b/bl-themes/story/assets/sass/components/_button.scss
new file mode 100644
index 00000000..9afca0cb
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_button.scss
@@ -0,0 +1,114 @@
+///
+/// Story 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-weight: _font(weight-bold);
+ letter-spacing: _font(kerning-alt);
+ text-align: center;
+ text-decoration: none;
+ text-transform: uppercase;
+ white-space: nowrap;
+ font-size: 0.75rem;
+ max-width: 20rem;
+ height: 3.75em;
+ line-height: 3.75em;
+ border-radius: 3.75em;
+ padding: 0 2.5em;
+ text-overflow: ellipsis;
+ overflow: hidden;
+
+ &.icon {
+ &:before {
+ margin-right: 0.5rem;
+ }
+ }
+
+ &.fit {
+ display: block;
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+ width: 100%;
+ }
+
+ &.small {
+ font-size: 0.6rem;
+ height: 3.325em;
+ line-height: 3.325em;
+ border-radius: 3.325em;
+ padding: 0 2em;
+ }
+
+ &.big {
+ font-size: 0.8rem;
+ height: 4em;
+ line-height: 4em;
+ border-radius: 4em;
+ padding: 0 3em;
+ }
+
+ &.wide {
+ min-width: 14em;
+ }
+
+ &.disabled,
+ &:disabled {
+ @include vendor('pointer-events', 'none');
+ opacity: 0.25;
+ }
+ }
+
+ @mixin color-button($p: null) {
+ input[type="submit"],
+ input[type="reset"],
+ input[type="button"],
+ button,
+ .button {
+ background-color: transparent;
+ box-shadow: inset 0 0 0 _size(border-width) _palette($p, border);
+ color: _palette($p, fg-bold) !important;
+
+ &:hover {
+ box-shadow: inset 0 0 0 _size(border-width) _palette($p, accent);
+ color: _palette($p, accent) !important;
+ }
+
+ &:active {
+ background-color: transparentize(_palette($p, accent), 0.8);
+ box-shadow: inset 0 0 0 _size(border-width) _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);
+ }
+
+ &:active {
+ background-color: darken(_palette($p, accent), 12);
+ }
+ }
+ }
+ }
+
+ @include color-button;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_form.scss b/bl-themes/story/assets/sass/components/_form.scss
new file mode 100644
index 00000000..1550c62e
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_form.scss
@@ -0,0 +1,312 @@
+///
+/// Story by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Form */
+
+ form {
+ $gutter: _size(element-margin) * 0.75;
+
+ margin: 0 0 _size(element-margin) 0;
+
+ .field {
+ margin: 0 0 ($gutter * 1) 0;
+ clear: both;
+
+ &.half {
+ clear: none;
+ width: 50%;
+ float: left;
+ padding: 0 0 0 ($gutter * 1 * 0.5);
+
+ &.first {
+ padding: 0 ($gutter * 1 * 0.5) 0 0;
+ }
+ }
+
+ &.third {
+ clear: none;
+ width: (100% / 3);
+ float: left;
+ padding: 0 0 0 ($gutter * 1 * 0.5);
+
+ &.first {
+ padding: 0 ($gutter * 1 * 0.5) 0 0;
+ }
+ }
+ }
+
+ > .actions {
+ clear: both;
+ margin: ($gutter * 1.25) 0 0 0 !important;
+ }
+
+ @include breakpoint(small) {
+ .field {
+ margin: 0 0 ($gutter * 0.75) 0;
+
+ &.half {
+ padding: 0 0 0 ($gutter * 0.75 * 0.5);
+
+ &.first {
+ padding: 0 ($gutter * 0.75 * 0.5) 0 0;
+ }
+ }
+ }
+
+ > .actions {
+ margin: ($gutter * 1) 0 0 0 !important;
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ .field {
+ &.half {
+ width: 100%;
+ float: none;
+ padding: 0;
+
+ &.first {
+ padding: 0;
+ }
+ }
+
+ &.third {
+ width: 100%;
+ float: none;
+ padding: 0;
+
+ &.first {
+ padding: 0;
+ }
+ }
+ }
+ }
+ }
+
+ label {
+ display: block;
+ font-size: 0.9rem;
+ font-weight: _font(weight-bold);
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+ }
+
+ input[type="text"],
+ input[type="password"],
+ input[type="email"],
+ input[type="tel"],
+ input[type="search"],
+ input[type="url"],
+ select,
+ textarea {
+ @include vendor('appearance', 'none');
+ background-color: transparent;
+ border-radius: _size(border-radius);
+ border: none;
+ border: solid _size(border-width);
+ color: inherit;
+ display: block;
+ outline: 0;
+ padding: 0 0.825rem;
+ 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"],
+ input[type="tel"],
+ input[type="search"],
+ input[type="url"],
+ 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;
+ @include vendor('user-select', 'none');
+ cursor: pointer;
+ display: inline-block;
+ font-size: 1rem;
+ font-weight: _font(weight);
+ padding-left: (_size(element-height) * 0.6) + 0.75rem;
+ padding-right: 0.75rem;
+ position: relative;
+ margin-bottom: 0;
+
+ &:before {
+ border-radius: _size(border-radius);
+ border: solid _size(border-width);
+ 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;
+ 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"],
+ input[type="tel"],
+ input[type="search"],
+ input[type="url"],
+ select,
+ textarea {
+ border-color: _palette($p, border);
+
+ &:focus {
+ border-color: _palette($p, accent);
+ box-shadow: 0 0 0 _size(border-width) _palette($p, accent);
+ }
+ }
+
+ .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);
+ box-shadow: 0 0 0 _size(border-width) _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/story/assets/sass/components/_gallery.scss b/bl-themes/story/assets/sass/components/_gallery.scss
new file mode 100644
index 00000000..91ef2277
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_gallery.scss
@@ -0,0 +1,616 @@
+///
+/// Story by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Gallery (transitions) */
+
+ .gallery {
+
+ // Mixin.
+ @mixin transition-gallery($event) {
+ $x: null;
+ $y: null;
+
+ @if ($event == 'load') {
+ $x: 'body.is-loading &';
+ $y: _duration(on-load);
+ }
+ @else if ($event == 'scroll') {
+ $x: '&.is-inactive';
+ $y: _duration(on-scroll);
+ }
+
+ &.on#{$event}-fade-in {
+ article {
+ .image {
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{_misc(gallery-limit) * _duration(gallery-delay)}');
+ }
+ }
+
+ @for $i from 0 through _misc(gallery-limit) {
+ &:nth-child(#{$i + 1}) {
+ .image {
+ img {
+ @include vendor('transition-delay', '#{$i * _duration(gallery-delay)}');
+ }
+ }
+ }
+ }
+ }
+
+ #{$x} {
+ article {
+ .image {
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ // On Load.
+ @include transition-gallery('load');
+
+ // On Scroll.
+ @include transition-gallery('scroll');
+
+ }
+
+/* Gallery (style1) */
+
+ .gallery.style1 {
+ @include color-typography(invert);
+ @include color-button(invert);
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('flex-wrap', 'wrap');
+ @include vendor('justify-content', 'center');
+ position: relative;
+ width: 100%;
+ background-color: transparent;
+
+ > .forward, >.backward {
+ display: none;
+ }
+
+ > .inner {
+ @include vendor('align-items', 'inherit');
+ @include vendor('display', 'inherit');
+ @include vendor('flex-wrap', 'inherit');
+ @include vendor('justify-content', 'inherit');
+ }
+
+ article {
+ overflow: hidden;
+ position: relative;
+ width: 25%;
+
+ .image {
+ @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
+ display: block;
+ width: 100%;
+ border-radius: 0;
+
+ img {
+ display: block;
+ width: 100%;
+ border-radius: 0;
+ }
+ }
+
+ .caption {
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'column');
+ @include vendor('justify-content', 'center');
+ @include vendor('pointer-events', 'none');
+ @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: transparentize(_palette(invert, bg), 1 - _misc(overlay-opacity));
+ opacity: 0;
+ padding: 2rem;
+ z-index: 1;
+ font-size: 0.8rem;
+
+ a {
+ @include vendor('pointer-events', 'auto');
+ }
+
+ h2, h3, h4, h5, h6 {
+ font-size: 1.25rem;
+ margin-bottom: 0.25rem;
+ }
+
+ > * {
+ max-width: 100%;
+ margin-bottom: 1rem;
+ }
+
+ > :last-child {
+ margin-bottom: 0;
+ }
+ }
+
+ &:hover {
+ .caption {
+ opacity: 1;
+ }
+ }
+ }
+
+ @include breakpoint(large) {
+ article {
+ width: (100% / 3);
+
+ .caption {
+ padding: 1rem;
+ }
+ }
+ }
+
+ @include breakpoint(medium) {
+ article {
+ width: 50%;
+
+ .caption {
+ padding: 1rem;
+ }
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ article {
+ width: 100%;
+
+ .caption {
+ padding: 1rem;
+ }
+ }
+ }
+
+ // Modifiers.
+
+ // size
+ &.small {
+ article {
+ width: 20%;
+
+ .caption {
+ padding: 1rem;
+ }
+ }
+
+ @include breakpoint(large) {
+ article {
+ width: 25%;
+
+ .caption {
+ padding: 1rem;
+ }
+ }
+ }
+
+ @include breakpoint(medium) {
+ article {
+ width: (100% / 3);
+
+ .caption {
+ padding: 1rem;
+ }
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ article {
+ width: 50%;
+
+ .caption {
+ padding: 1rem;
+ }
+ }
+ }
+ }
+
+ &.medium {
+ // ...
+ }
+
+ &.big {
+ article {
+ width: (100% / 3);
+
+ .caption {
+ padding: 3rem;
+ }
+ }
+
+ @include breakpoint(large) {
+ article {
+ width: 50%;
+
+ .caption {
+ padding: 2rem;
+ }
+ }
+ }
+
+ @include breakpoint(medium) {
+ article {
+ width: 50%;
+
+ .caption {
+ padding: 2rem;
+ }
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ article {
+ width: 100%;
+
+ .caption {
+ padding: 1rem;
+ }
+ }
+ }
+ }
+
+ }
+
+/* Gallery (style2) */
+
+ .gallery.style2 {
+ @include color-typography(invert);
+ @include color-button(invert);
+ @include vendor('display', 'flex');
+ -webkit-overflow-scrolling: touch;
+ position: relative;
+ background-color: transparent;
+
+ > .forward, >.backward {
+ @include icon;
+ @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
+ position: absolute;
+ top: 0;
+ width: 5rem;
+ height: 100%;
+ cursor: pointer;
+ opacity: 0;
+ z-index: 2;
+
+ &:before {
+ display: block;
+ top: calc(50% - 1.5rem);
+ width: 4rem;
+ height: 3rem;
+ line-height: 1em;
+ font-size: 3rem;
+ position: absolute;
+ text-align: center;
+ }
+ }
+
+ &:hover {
+ > .forward, > .backward {
+ opacity: 1;
+ }
+ }
+
+ > .forward {
+ right: 0;
+ background-image: linear-gradient(to left, rgba(0,0,0,0.25) 15%, rgba(0,0,0,0));
+
+ &:before {
+ content: '\f105';
+ right: 0;
+ }
+ }
+
+ > .backward {
+ left: 0;
+ background-image: linear-gradient(to right, rgba(0,0,0,0.25) 15%, rgba(0,0,0,0));
+
+ &:before {
+ content: '\f104';
+ left: 0;
+ }
+ }
+
+ > .inner {
+ @include vendor('display', 'inherit');
+ overflow-x: auto;
+ overflow-y: hidden;
+ position: relative;
+ width: 100%;
+ }
+
+ article {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ display: block;
+ position: relative;
+ overflow: hidden;
+ width: 22.5rem;
+ max-width: 75vw;
+
+ .image {
+ display: block;
+ width: 100%;
+ border-radius: 0;
+
+ img {
+ display: block;
+ width: 100%;
+ border-radius: 0;
+ }
+ }
+
+ .caption {
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'column');
+ @include vendor('justify-content', 'center');
+ @include vendor('pointer-events', 'none');
+ @include vendor('transition', 'opacity #{_duration(transition)} ease-in-out');
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: transparentize(_palette(invert, bg), 1 - _misc(overlay-opacity));
+ opacity: 0;
+ padding: 3rem;
+ z-index: 1;
+ font-size: 0.8rem;
+
+ a {
+ @include vendor('pointer-events', 'auto');
+ }
+
+ h2, h3, h4, h5, h6 {
+ font-size: 1.25rem;
+ margin-bottom: 0.25rem;
+ }
+
+ > * {
+ max-width: 100%;
+ margin-bottom: 1rem;
+ }
+
+ > :last-child {
+ margin-bottom: 0;
+ }
+ }
+
+ &:hover {
+ .caption {
+ opacity: 1;
+ }
+ }
+ }
+
+ @include breakpoint(medium) {
+ article {
+ .caption {
+ padding: 2rem;
+ }
+ }
+ }
+
+ @include breakpoint(small) {
+ article {
+ .caption {
+ padding: 2rem;
+ }
+ }
+ }
+
+ // Modifiers.
+
+ // size
+ &.small {
+ article {
+ width: 17.5rem;
+
+ .caption {
+ padding: 2rem;
+ }
+ }
+
+ @include breakpoint(medium) {
+ article {
+ .caption {
+ padding: 2rem;
+ }
+ }
+ }
+
+ @include breakpoint(small) {
+ article {
+ .caption {
+ padding: 2rem;
+ }
+ }
+ }
+ }
+
+ &.medium {
+ // ...
+ }
+
+ &.big {
+ article {
+ width: 30rem;
+
+ .caption {
+ padding: 4rem;
+ }
+ }
+
+ @include breakpoint(medium) {
+ article {
+ .caption {
+ padding: 3rem;
+ }
+ }
+ }
+
+ @include breakpoint(small) {
+ article {
+ .caption {
+ padding: 2rem;
+ }
+ }
+ }
+ }
+
+ }
+
+/* Gallery (lightbox) */
+
+ @include keyframes('gallery-modal-spinner') {
+ 0% {
+ @include vendor('transform', 'rotate(0deg)');
+ }
+
+ 100% {
+ @include vendor('transform', 'rotate(360deg)');
+ }
+ }
+
+ .gallery.lightbox {
+ .modal {
+ @include vendor('display', 'flex');
+ @include vendor('align-items', 'center');
+ @include vendor('justify-content', 'center');
+ @include vendor('pointer-events', 'none');
+ @include vendor('user-select', 'none');
+ @include vendor('transition', (
+ 'opacity #{_duration(gallery-lightbox)} ease',
+ 'visibility #{_duration(gallery-lightbox)}',
+ 'z-index #{_duration(gallery-lightbox)}'
+ ));
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ outline: 0;
+ background-color: transparentize(_palette(invert, bg), 1 - _misc(lightbox-opacity));
+ visibility: none;
+ opacity: 0;
+ z-index: 0;
+
+ &:before {
+ @include vendor('animation', 'gallery-modal-spinner 1s infinite linear');
+ @include vendor('transition', 'opacity #{_duration(gallery-lightbox) * 0.5} ease');
+ @include vendor('transition-delay', '#{_duration(gallery-lightbox)}');
+ content: '';
+ display: block;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ width: 4rem;
+ height: 4rem;
+ margin: -2rem 0 0 -2rem;
+ background-image: svg-url('
');
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: 4rem;
+ opacity: 0;
+ }
+
+ &:after {
+ content: '';
+ display: block;
+ position: absolute;
+ top: 0.5rem;
+ right: 0.5rem;
+ width: 4rem;
+ height: 4rem;
+ cursor: pointer;
+ background-image: svg-url('
');
+ background-position: center;
+ background-repeat: no-repeat;
+ background-size: 3rem;
+ }
+
+ .inner {
+ @include vendor('transform', 'translateY(0.75rem)');
+ @include vendor('transition', (
+ 'opacity #{_duration(gallery-lightbox) * 0.5} ease',
+ 'transform #{_duration(gallery-lightbox) * 0.5} ease'
+ ));
+ opacity: 0;
+
+ img {
+ display: block;
+ max-width: 90vw;
+ max-height: 85vh;
+ box-shadow: 0 1rem 3rem 0 rgba(0, 0, 0, 0.35);
+ }
+ }
+
+ &.visible {
+ @include vendor('pointer-events', 'auto');
+ visibility: visible;
+ opacity: 1;
+ z-index: _misc(z-index-base) + 1;
+
+ &:before {
+ opacity: 1;
+ }
+ }
+
+ &.loaded {
+ .inner {
+ @include vendor('transform', 'translateY(0)');
+ @include vendor('transition', (
+ 'opacity #{_duration(gallery-lightbox)} ease',
+ 'transform #{_duration(gallery-lightbox)} ease'
+ ));
+ opacity: 1;
+ }
+
+ &:before {
+ @include vendor('transition-delay', '0s');
+ opacity: 0;
+ }
+ }
+ }
+
+ @include breakpoint(medium) {
+ .modal {
+ .inner {
+ img {
+ max-width: 100vw;
+ }
+ }
+ }
+ }
+ }
+
+// Mixin
+
+ @mixin color-gallery($p: null) {
+ .gallery {
+ article {
+ .image {
+ background-color: transparentize(_palette($p, fg-bold), 0.875);
+ }
+ }
+ }
+ }
+
+ @include color-gallery;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_icon.scss b/bl-themes/story/assets/sass/components/_icon.scss
new file mode 100644
index 00000000..5a59b9aa
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_icon.scss
@@ -0,0 +1,80 @@
+///
+/// Story 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;
+ text-align: center;
+
+ > .label {
+ display: none;
+ }
+
+ &.style2 {
+ &:before {
+ border-radius: 2.75em;
+ display: inline-block;
+ height: 2.75em;
+ line-height: 2.75em;
+ width: 2.75em;
+ }
+ }
+
+ &.major {
+ display: block;
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+
+ &:before {
+ font-size: 1.25rem;
+ }
+ }
+ }
+
+ a.icon {
+ &.style2 {
+ &:before {
+ @include vendor('transition', (
+ 'background-color #{_duration(transition)} ease-in-out',
+ 'box-shadow #{_duration(transition)} ease-in-out',
+ 'color #{_duration(transition)} ease-in-out'
+ ));
+ }
+ }
+ }
+
+ @mixin color-icon($p: null) {
+ .icon {
+ &.style2 {
+ &:before {
+ box-shadow: inset 0 0 0 _size(border-width) _palette($p, border);
+ }
+ }
+ }
+
+ a.icon {
+ &.style2 {
+ &:hover {
+ &:before {
+ box-shadow: inset 0 0 0 _size(border-width) _palette($p, accent);
+ color: _palette($p, accent);
+ }
+ }
+
+ &:active {
+ &:before {
+ background-color: transparentize(_palette($p, accent), 0.9);
+ box-shadow: inset 0 0 0 _size(border-width) _palette($p, accent);
+ color: _palette($p, accent);
+ }
+ }
+ }
+ }
+ }
+
+ @include color-icon;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_image.scss b/bl-themes/story/assets/sass/components/_image.scss
new file mode 100644
index 00000000..68284ecd
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_image.scss
@@ -0,0 +1,61 @@
+///
+/// Story 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 {
+ display: block;
+ border-radius: _size(border-radius);
+ }
+
+ &.left,
+ &.right {
+ width: 40%;
+ max-width: 10rem;
+
+ img {
+ width: 100%;
+ }
+ }
+
+ &.left {
+ float: left;
+ margin: 0 1.5rem 1rem 0;
+ top: 0.25rem;
+ }
+
+ &.right {
+ float: right;
+ margin: 0 0 1rem 1.5rem;
+ top: 0.25rem;
+ }
+
+ &.fit {
+ display: block;
+ margin: 0 0 _size(element-margin) 0;
+ width: 100%;
+
+ img {
+ width: 100%;
+ }
+ }
+
+ &.main {
+ display: block;
+ margin: 0 0 (_size(element-margin) * 1.5) 0;
+ width: 100%;
+
+ img {
+ width: 100%;
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_index.scss b/bl-themes/story/assets/sass/components/_index.scss
new file mode 100644
index 00000000..a7485c16
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_index.scss
@@ -0,0 +1,66 @@
+///
+/// Story by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Index */
+
+ .index {
+ > * {
+ @include padding(3rem, 0);
+ @include vendor('display', 'flex');
+ border-top: solid 1px;
+
+ > header {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ width: 15rem;
+ }
+
+ > .content {
+ @include vendor('flex-grow', '1');
+ @include vendor('flex-shrink', '1');
+ }
+ }
+
+ > :first-child {
+ border-top: 0;
+ }
+
+ @include breakpoint(medium) {
+ > * {
+ > header {
+ width: 11rem;
+ }
+ }
+ }
+
+ @include breakpoint(small) {
+ > * {
+ > header {
+ width: 10rem;
+ }
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ > * {
+ @include vendor('flex-direction', 'column');
+
+ > header {
+ width: 100%;
+ }
+ }
+ }
+ }
+
+ @mixin color-index($p: null) {
+ .index {
+ > * {
+ border-top-color: _palette($p, border);
+ }
+ }
+ }
+
+ @include color-index;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_items.scss b/bl-themes/story/assets/sass/components/_items.scss
new file mode 100644
index 00000000..790090ee
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_items.scss
@@ -0,0 +1,338 @@
+///
+/// Story by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Items (transitions) */
+
+ .items {
+
+ // Mixin.
+ @mixin transition-items($event) {
+ $x: null;
+ $y: null;
+
+ @if ($event == 'load') {
+ $x: 'body.is-loading &';
+ $y: _duration(on-load);
+ }
+ @else if ($event == 'scroll') {
+ $x: '&.is-inactive';
+ $y: _duration(on-scroll);
+ }
+
+ &.on#{$event}-fade-in {
+ > * {
+ > .inner {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{_misc(items-limit) * _duration(items-delay)}');
+ }
+
+ @for $i from 0 through _misc(items-limit) {
+ &:nth-child(#{$i + 1}) {
+ > .inner {
+ @include vendor('transition-delay', '#{$i * _duration(items-delay)}');
+ }
+ }
+ }
+ }
+
+ #{$x} {
+ > * {
+ > .inner {
+ opacity: 0;
+ }
+ }
+ }
+ }
+ }
+
+ // On Load.
+ @include transition-items('load');
+
+ // On Scroll.
+ @include transition-items('scroll');
+
+ }
+
+/* Items (style1) */
+
+ @mixin items-style1-size($name, $size, $padding) {
+ &.#{$name} {
+ > * {
+ @include padding($padding, $padding);
+ width: #{100% / $size};
+
+ &:nth-child(-n + #{$size}) {
+ border-top-width: 0;
+ }
+
+ &:nth-child(#{$size}n + 1) {
+ border-left-width: 0;
+ }
+ }
+ }
+ }
+
+ @mixin items-style1-size-reset($name, $size) {
+ &.#{$name} {
+ > * {
+ &:nth-child(-n + #{$size}) {
+ border-top-width: _size(border-width);
+ }
+
+ &:nth-child(#{$size}n + 1) {
+ border-left-width: _size(border-width);
+ }
+ }
+ }
+ }
+
+ .items.style1 {
+ @include vendor('display', 'flex');
+ @include vendor('flex-wrap', 'wrap');
+ @include vendor('justify-content', 'center');
+ margin: (_size(element-margin) * 1.5) 0;
+ position: relative;
+
+ > * {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ border-style: solid;
+ border-left-width: _size(border-width);
+ border-top-width: _size(border-width);
+ }
+
+ // Modifiers.
+
+ // Size.
+ @include items-style1-size(big, 2, _size(gutter));
+ @include items-style1-size(medium, 3, _size(gutter) * 0.625);
+ @include items-style1-size(small, 4, _size(gutter) * 0.375);
+
+ @include breakpoint(large) {
+ @include items-style1-size-reset(small, 4);
+ @include items-style1-size(small, 3, _size(gutter) * 0.625);
+ }
+
+ @include breakpoint(medium) {
+ @include items-style1-size-reset(medium, 3);
+ @include items-style1-size(medium, 2, _size(gutter));
+
+ @include items-style1-size-reset(small, 3);
+ @include items-style1-size(small, 2, _size(gutter));
+ }
+
+ @include breakpoint(xsmall) {
+ @include items-style1-size-reset(big, 2);
+ @include items-style1-size(big, 1, _size(gutter) * 0.75);
+
+ @include items-style1-size-reset(medium, 2);
+ @include items-style1-size(medium, 1, _size(gutter) * 0.75);
+
+ @include items-style1-size-reset(small, 2);
+ @include items-style1-size(small, 1, _size(gutter) * 0.75);
+
+ &.big,
+ &.medium,
+ &.small {
+ > * {
+ padding-left: 0;
+ padding-right: 0;
+ }
+
+ > :first-child {
+ padding-top: 0;
+ }
+
+ > :last-child {
+ padding-bottom: 0;
+
+ > .inner {
+ > :last-child {
+ margin-bottom: 0;
+ }
+ }
+ }
+ }
+ }
+
+ }
+
+/* Items (style2) */
+
+ @mixin items-style2-size($name, $size, $padding) {
+ &.#{$name} {
+ > * {
+ @include padding($padding, $padding);
+ width: #{100% / $size};
+
+ &:nth-child(-n + #{$size}) {
+ border-top-width: 0;
+ }
+
+ &:nth-child(#{$size}n + 1) {
+ border-left-width: 0;
+ }
+ }
+ }
+ }
+
+ @mixin items-style2-size-reset($name, $size) {
+ &.#{$name} {
+ > * {
+ &:nth-child(-n + #{$size}) {
+ border-top-width: _size(border-width);
+ }
+
+ &:nth-child(#{$size}n + 1) {
+ border-left-width: _size(border-width);
+ }
+ }
+ }
+ }
+
+ .items.style2 {
+ @include vendor('display', 'flex');
+ @include vendor('flex-wrap', 'wrap');
+ @include vendor('justify-content', 'center');
+ margin: (_size(element-margin) * 1.5) 0;
+ position: relative;
+ border: solid _size(border-width);
+ border-radius: _size(border-radius);
+
+ > * {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ border-style: solid;
+ border-left-width: _size(border-width);
+ border-top-width: _size(border-width);
+ }
+
+ // Modifiers.
+
+ // Size.
+ @include items-style2-size(big, 2, _size(gutter));
+ @include items-style2-size(medium, 3, _size(gutter) * 0.625);
+ @include items-style2-size(small, 4, _size(gutter) * 0.375);
+
+ @include breakpoint(large) {
+ @include items-style2-size-reset(small, 4);
+ @include items-style2-size(small, 3, _size(gutter) * 0.625);
+ }
+
+ @include breakpoint(medium) {
+ @include items-style2-size-reset(medium, 3);
+ @include items-style2-size(medium, 2, _size(gutter));
+
+ @include items-style2-size-reset(small, 3);
+ @include items-style2-size(small, 2, _size(gutter));
+ }
+
+ @include breakpoint(xsmall) {
+ @include items-style2-size-reset(big, 2);
+ @include items-style2-size(big, 1, _size(gutter) * 0.75);
+
+ @include items-style2-size-reset(medium, 2);
+ @include items-style2-size(medium, 1, _size(gutter) * 0.75);
+
+ @include items-style2-size-reset(small, 2);
+ @include items-style2-size(small, 1, _size(gutter) * 0.75);
+ }
+
+ }
+
+/* Items (style3) */
+
+ @mixin items-style3-size($name, $size, $padding) {
+ &.#{$name} {
+ > * {
+ @include padding($padding, $padding);
+ width: #{100% / $size};
+ }
+ }
+ }
+
+ .items.style3 {
+ @include vendor('display', 'flex');
+ @include vendor('flex-wrap', 'wrap');
+ @include vendor('justify-content', 'center');
+ margin: (_size(element-margin) * 1.5) 0;
+ position: relative;
+
+ > * {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ }
+
+ // Modifiers.
+
+ // Size.
+ @include items-style3-size(big, 2, _size(gutter) * 0.5);
+ @include items-style3-size(medium, 3, _size(gutter) * 0.5 * 0.625);
+ @include items-style3-size(small, 4, _size(gutter) * 0.5 * 0.375);
+
+ @include breakpoint(large) {
+ @include items-style3-size(small, 3, _size(gutter) * 0.5 * 0.625);
+ }
+
+ @include breakpoint(medium) {
+ @include items-style3-size(medium, 2, _size(gutter) * 0.5);
+ @include items-style3-size(small, 2, _size(gutter) * 0.5);
+ }
+
+ @include breakpoint(small) {
+ margin: _size(element-margin) 0;
+ }
+
+ @include breakpoint(xsmall) {
+ @include items-style3-size(big, 1, _size(gutter) * 0.5 * 0.75);
+ @include items-style3-size(medium, 1, _size(gutter) * 0.5 * 0.75);
+ @include items-style3-size(small, 1, _size(gutter) * 0.5 * 0.75);
+
+ &.big,
+ &.medium,
+ &.small {
+ > * {
+ padding-left: 0;
+ padding-right: 0;
+ }
+
+ > :first-child {
+ padding-top: 0;
+ }
+
+ > :last-child {
+ padding-bottom: 0;
+
+ > .inner {
+ > :last-child {
+ margin-bottom: 0;
+ }
+ }
+ }
+ }
+ }
+
+ }
+
+// Mixin
+
+ @mixin color-items($p: null) {
+ .items.style1 {
+ > * {
+ border-color: _palette($p, border);
+ }
+ }
+
+ .items.style2 {
+ border-color: _palette($p, border);
+
+ > * {
+ border-color: _palette($p, border);
+ }
+ }
+ }
+
+ @include color-items;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_list.scss b/bl-themes/story/assets/sass/components/_list.scss
new file mode 100644
index 00000000..a2d5816a
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_list.scss
@@ -0,0 +1,210 @@
+///
+/// Story 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;
+ }
+
+ &.alt {
+ list-style: none;
+ padding-left: 0;
+
+ li {
+ border-top: solid _size(border-width);
+ 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.75rem 0 0;
+
+ &:last-child {
+ padding-right: 0;
+ }
+ }
+ }
+
+ &.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);
+ }
+
+ &.style2 {
+ dt {
+ width: 25%;
+ float: left;
+ }
+
+ dd {
+ width: 70%;
+ float: left;
+ }
+
+ &:after {
+ content: '';
+ display: block;
+ clear: both;
+ }
+ }
+ }
+
+ @mixin color-list($p: null) {
+ ul {
+ &.alt {
+ li {
+ border-top-color: _palette($p, border);
+ }
+ }
+ }
+ }
+
+ @include color-list;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_section.scss b/bl-themes/story/assets/sass/components/_section.scss
new file mode 100644
index 00000000..6467123b
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_section.scss
@@ -0,0 +1,49 @@
+///
+/// Story 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 {
+ p {
+ position: relative;
+ margin: (_size(element-margin) * -0.325) 0 (_size(element-margin) * 0.75) 0;
+ font-style: italic;
+ }
+
+ h1 + p {
+ font-size: 1.375rem;
+ }
+
+ h2 + p {
+ font-size: 1.25rem;
+ }
+
+ h3 + p {
+ font-size: 1.1rem;
+ }
+
+ h4 + p,
+ h5 + p,
+ h6 + p {
+ font-size: 0.9rem;
+ }
+ }
+
+ @mixin color-section($p: null) {
+ header {
+ p {
+ color: _palette($p, fg-light);
+ }
+ }
+ }
+
+ @include color-section;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_spotlight.scss b/bl-themes/story/assets/sass/components/_spotlight.scss
new file mode 100644
index 00000000..1cedf437
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_spotlight.scss
@@ -0,0 +1,1012 @@
+///
+/// Story by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Spotlight (transitions) */
+
+ .spotlight {
+
+ // Mixin.
+ @mixin transition-spotlight($event) {
+ $x: null;
+ $y: null;
+
+ @if ($event == 'load') {
+ $x: 'body.is-loading &';
+ $y: _duration(on-load);
+ }
+ @else if ($event == 'scroll') {
+ $x: '&.is-inactive';
+ $y: _duration(on-scroll);
+ }
+
+ // Content.
+ &.on#{$event}-content-fade-up {
+ .content {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+ }
+
+ #{$x} {
+ .content {
+ @include vendor('transform', 'translateY(1rem)');
+ opacity: 0;
+ }
+ }
+ }
+
+ &.on#{$event}-content-fade-down {
+ .content {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+ }
+
+ #{$x} {
+ .content {
+ @include vendor('transform', 'translateY(-1rem)');
+ opacity: 0;
+ }
+ }
+ }
+
+ &.on#{$event}-content-fade-left {
+ .content {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+ }
+
+ #{$x} {
+ .content {
+ @include vendor('transform', 'translateX(1rem)');
+ opacity: 0;
+ }
+ }
+ }
+
+ &.on#{$event}-content-fade-right {
+ .content {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+ }
+
+ #{$x} {
+ .content {
+ @include vendor('transform', 'translateX(-1rem)');
+ opacity: 0;
+ }
+ }
+ }
+
+ &.on#{$event}-content-fade-in {
+ .content {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ }
+
+ #{$x} {
+ .content {
+ opacity: 0;
+ }
+ }
+ }
+
+ // Image.
+ &.on#{$event}-image-fade-up {
+ .image {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{$y * 0.75}');
+ }
+ }
+
+ #{$x} {
+ .image {
+ @include vendor('transform', 'translateY(1rem)');
+ opacity: 0;
+
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ &.on#{$event}-image-fade-down {
+ .image {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{$y * 0.75}');
+ }
+ }
+
+ #{$x} {
+ .image {
+ @include vendor('transform', 'translateY(-1rem)');
+ opacity: 0;
+
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ &.on#{$event}-image-fade-left {
+ .image {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{$y * 0.75}');
+ }
+ }
+
+ #{$x} {
+ .image {
+ @include vendor('transform', 'translateX(1rem)');
+ opacity: 0;
+
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ &.on#{$event}-image-fade-right {
+ .image {
+ @include vendor('transition', (
+ 'opacity #{$y} ease-in-out',
+ 'transform #{$y} ease-in-out'
+ ));
+
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ @include vendor('transition-delay', '#{$y * 0.75}');
+ }
+ }
+
+ #{$x} {
+ .image {
+ @include vendor('transform', 'translateX(-1rem)');
+ opacity: 0;
+
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ &.on#{$event}-image-fade-in {
+ .image {
+ img {
+ @include vendor('transition', 'opacity #{$y} ease-in-out');
+ }
+ }
+
+ #{$x} {
+ .image {
+ img {
+ opacity: 0;
+ }
+ }
+ }
+ }
+
+ }
+
+ // On Load.
+ @include transition-spotlight('load');
+
+ // On Scroll.
+ @include transition-spotlight('scroll');
+
+ }
+
+/* Spotlight (style1) */
+
+ .spotlight.style1 {
+ @include vendor('align-items', 'stretch');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'row');
+ @include vendor('justify-content', 'flex-end');
+ position: relative;
+ overflow-x: hidden;
+ text-align: left;
+
+ .content {
+ @include padding(_size(padding, default), _size(padding, default));
+ @include vendor('align-self', 'center');
+ @include vendor('flex-grow', '1');
+ @include vendor('flex-shrink', '1');
+ width: 65%;
+ max-width: _size(inner);
+ margin: 0 auto;
+ }
+
+ .image {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ width: 35%;
+ min-width: 25rem;
+ border-radius: 0;
+
+ img {
+ @include vendor('object-fit', 'cover');
+ @include vendor('object-position', 'center');
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ border-radius: 0;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ .content {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge));
+ }
+ }
+
+ @include breakpoint(large) {
+ .content {
+ @include padding(_size(padding, large), _size(padding, large));
+ }
+ }
+
+ @include breakpoint(medium) {
+ .content {
+ @include padding(_size(padding, medium) * 1.25, _size(padding, medium));
+ width: 50%;
+ min-width: 0;
+ }
+
+ .image {
+ width: 50%;
+ min-width: 0;
+ }
+ }
+
+ @include breakpoint(small) {
+ .content {
+ @include padding(_size(padding, small) * 1.25, _size(padding, small));
+ }
+
+ @include orientation(portrait) {
+ @include vendor('flex-direction', 'column-reverse');
+ text-align: center !important;
+
+ .content {
+ width: 100%;
+ }
+
+ .image {
+ width: 100%;
+
+ img {
+ position: relative;
+ }
+ }
+ }
+ }
+
+ // Modifiers.
+
+ // Orientation.
+ &.orient-left {
+ // ...
+ }
+
+ &.orient-right {
+ @include vendor('flex-direction', 'row-reverse');
+
+ @include breakpoint(small) {
+ @include orientation(portrait) {
+ @include vendor('flex-direction', 'column-reverse');
+ }
+ }
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ // ...
+ }
+
+ &.content-align-center {
+ text-align: center;
+ }
+
+ &.content-align-right {
+ text-align: right;
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ // ...
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+/* Spotlight (style2) */
+
+ .spotlight.style2 {
+ $image-size: 21rem;
+ $content-size: (_size(inner) * 0.75) - (_size(element-margin) * 1.75);
+
+ @include padding(_size(padding, default), _size(padding, default));
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'row-reverse');
+ @include vendor('justify-content', 'center');
+ position: relative;
+ overflow-x: hidden;
+ text-align: left;
+
+ .content {
+ width: $content-size;
+ max-width: 100%;
+ }
+
+ .image {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ width: $image-size;
+ height: $image-size;
+ border-radius: 100%;
+ margin: 0 (_size(element-margin) * 1.75) _size(element-margin) 0;
+
+ img {
+ @include vendor('object-fit', 'cover');
+ @include vendor('object-position', 'center');
+ display: block;
+ width: 100%;
+ height: 100%;
+ border-radius: 100%;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge));
+ }
+
+ @include breakpoint(large) {
+ @include padding(_size(padding, large), _size(padding, large));
+ }
+
+ @include breakpoint(medium) {
+ @include padding(_size(padding, medium) * 1.25, _size(padding, medium));
+
+ .image {
+ width: ($image-size * 0.875);
+ height: ($image-size * 0.875);
+ }
+ }
+
+ @include breakpoint(small) {
+ @include padding(_size(padding, small) * 1.25, _size(padding, small));
+ @include vendor('align-items', 'flex-start');
+
+ .image {
+ width: ($image-size * 0.75);
+ height: ($image-size * 0.75);
+ margin: 0 (_size(element-margin) * 1) _size(element-margin) 0;
+ }
+ }
+
+ @include orientation(portrait) {
+ @include vendor('align-items', 'center');
+ @include vendor('flex-direction', 'column-reverse');
+ text-align: center !important;
+
+ .content {
+ width: 34rem;
+ max-width: 100%;
+ }
+
+ .image {
+ margin-right: 0;
+ }
+ }
+
+ // Modifiers.
+
+ // Orientation.
+ &.orient-left {
+ @include vendor('flex-direction', 'row');
+
+ .image {
+ margin: 0 0 _size(element-margin) (_size(element-margin) * 1.75);
+ }
+
+ @include breakpoint(small) {
+ .image {
+ margin: 0 0 _size(element-margin) (_size(element-margin) * 1);
+ }
+ }
+
+ @include orientation(portrait) {
+ @include vendor('flex-direction', 'column-reverse');
+
+ .image {
+ margin-left: 0;
+ }
+ }
+ }
+
+ &.orient-right {
+ // ...
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ // ...
+ }
+
+ &.content-align-center {
+ text-align: center;
+ }
+
+ &.content-align-right {
+ text-align: right;
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ // ...
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+/* Spotlight (style3) */
+
+ .spotlight.style3 {
+ $image-width: 13rem;
+ $content-size: (_size(inner) * 0.75) - (_size(element-margin) * 1.75);
+
+ @include padding(_size(padding, default), _size(padding, default));
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('flex-direction', 'row-reverse');
+ @include vendor('justify-content', 'center');
+ position: relative;
+ overflow-x: hidden;
+ text-align: left;
+
+ .content {
+ width: $content-size;
+ max-width: 100%;
+ }
+
+ .image {
+ @include phone($image-width);
+ margin-right: (_size(element-margin) * 1.75);
+ }
+
+ @include breakpoint(xlarge) {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge));
+ }
+
+ @include breakpoint(large) {
+ @include padding(_size(padding, large), _size(padding, large));
+ }
+
+ @include breakpoint(medium) {
+ @include padding(_size(padding, medium) * 1.25, _size(padding, medium));
+
+ .image {
+ @include resize-phone($image-width, 0.875);
+ }
+ }
+
+ @include breakpoint(small) {
+ @include padding(_size(padding, small) * 1.25, _size(padding, small));
+ @include vendor('align-items', 'flex-start');
+
+ .image {
+ @include resize-phone($image-width, 0.625);
+ }
+ }
+
+ @include orientation(portrait) {
+ @include vendor('align-items', 'center');
+ @include vendor('flex-direction', 'column-reverse');
+ text-align: center !important;
+
+ .content {
+ width: 34rem;
+ max-width: 100%;
+ }
+
+ .image {
+ margin-right: 0;
+ margin-left: 0;
+ }
+ }
+
+ // Modifiers.
+
+ // Variant.
+ &.iphone {
+ // ...
+ }
+
+ &.android {
+ // ...
+ }
+
+ // Orientation.
+ &.orient-left {
+ @include vendor('flex-direction', 'row');
+
+ .image {
+ margin-right: 0;
+ margin-left: (_size(element-margin) * 1.75);
+ }
+
+ @include orientation(portrait) {
+ @include vendor('flex-direction', 'column-reverse');
+
+ .image {
+ margin-right: 0;
+ margin-left: 0;
+ }
+ }
+ }
+
+ &.orient-right {
+ // ...
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ // ...
+ }
+
+ &.content-align-center {
+ text-align: center;
+ }
+
+ &.content-align-right {
+ text-align: right;
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ // ...
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+/* Spotlight (style4) */
+
+ .spotlight.style4 {
+ @include padding(_size(padding, default), _size(padding, default) * 0.75);
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('justify-content', 'center');
+ background-color: inherit;
+ position: relative;
+ overflow-x: hidden;
+ text-align: center;
+
+ .content {
+ @include padding(_size(padding, default) * 0.5, _size(padding, default) * 0.5);
+ position: relative;
+ width: (_size(inner) * 0.625);
+ max-width: 50%;
+ background-color: inherit;
+ border-radius: _size(border-radius-alt);
+ margin-bottom: _size(element-margin);
+ z-index: 1;
+ }
+
+ .image {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ border-radius: 0;
+
+ img {
+ @include vendor('object-fit', 'cover');
+ @include vendor('object-position', 'center');
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ border-radius: 0;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge) * 0.75);
+
+ .content {
+ @include padding(_size(padding, xlarge) * 0.5, _size(padding, xlarge) * 0.5);
+ }
+ }
+
+ @include breakpoint(large) {
+ @include padding(_size(padding, large), _size(padding, large) * 0.75);
+
+ .content {
+ @include padding(_size(padding, large) * 0.75, _size(padding, large) * 0.75);
+ }
+ }
+
+ @include breakpoint(medium) {
+ @include padding(_size(padding, medium), _size(padding, medium) * 0.75);
+
+ .content {
+ @include padding(_size(padding, medium) * 0.75, _size(padding, medium) * 0.75);
+ }
+ }
+
+ @include breakpoint(small) {
+ @include padding(_size(padding, small), _size(padding, small) * 0.75);
+
+ .content {
+ @include padding(_size(padding, small) * 0.75, _size(padding, small) * 0.75);
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ .content {
+ max-width: 80%;
+ }
+ }
+
+ // Modifiers.
+
+ // Size.
+ &.fullscreen {
+ min-height: 100vh;
+ }
+
+ &.halfscreen {
+ min-height: 50vh;
+ }
+
+ // Orientation.
+ &.orient-left {
+ @include vendor('justify-content', 'flex-start');
+ padding-left: 0;
+
+ .content {
+ border-top-left-radius: 0;
+ border-bottom-left-radius: 0;
+ }
+ }
+
+ &.orient-center {
+ // ...
+ }
+
+ &.orient-right {
+ @include vendor('justify-content', 'flex-end');
+ padding-right: 0;
+
+ .content {
+ border-top-right-radius: 0;
+ border-bottom-right-radius: 0;
+ }
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ text-align: left;
+ }
+
+ &.content-align-center {
+ // ...
+ }
+
+ &.content-align-right {
+ text-align: right;
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ // ...
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+/* Spotlight (style5) */
+
+ .spotlight.style5 {
+ @include padding(_size(padding, default), _size(padding, default) * 0.75);
+ @include vendor('align-items', 'center');
+ @include vendor('display', 'flex');
+ @include vendor('justify-content', 'center');
+ background-color: inherit;
+ position: relative;
+ overflow-x: hidden;
+ text-align: center;
+
+ .content {
+ @include padding(_size(padding, default) * 0.5, _size(padding, default) * 0.5);
+ position: relative;
+ width: (_size(inner) * 0.625);
+ max-width: 52.5%;
+ background-color: inherit;
+ border-radius: _size(border-radius-alt);
+ margin-bottom: _size(element-margin);
+ z-index: 1;
+ }
+
+ .image {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ position: absolute;
+ width: 100%;
+ height: 100%;
+ top: 0;
+ left: 0;
+ border-radius: 0;
+
+ img {
+ @include vendor('object-fit', 'cover');
+ @include vendor('object-position', 'center');
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ border-radius: 0;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge) * 0.75);
+
+ .content {
+ @include padding(_size(padding, xlarge) * 0.5, _size(padding, xlarge) * 0.5);
+ }
+ }
+
+ @include breakpoint(large) {
+ @include padding(_size(padding, large), _size(padding, large) * 0.75);
+
+ .content {
+ @include padding(_size(padding, large) * 0.75, _size(padding, large) * 0.75);
+ }
+ }
+
+ @include breakpoint(medium) {
+ @include padding(_size(padding, medium), _size(padding, medium) * 0.75);
+
+ .content {
+ @include padding(_size(padding, medium) * 0.75, _size(padding, medium) * 0.75);
+ }
+ }
+
+ @include breakpoint(small) {
+ @include padding(_size(padding, small), _size(padding, small) * 0.75);
+
+ .content {
+ @include padding(_size(padding, small) * 0.75, _size(padding, small) * 0.75);
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ .content {
+ max-width: 80%;
+ }
+ }
+
+ // Modifiers.
+
+ // Size.
+ &.fullscreen {
+ min-height: 100vh;
+ }
+
+ &.halfscreen {
+ min-height: 50vh;
+ }
+
+ // Orientation.
+ &.orient-left {
+ @include vendor('justify-content', 'flex-start');
+ }
+
+ &.orient-center {
+ // ...
+ }
+
+ &.orient-right {
+ @include vendor('justify-content', 'flex-end');
+ }
+
+ // Content Alignment.
+ &.content-align-left {
+ text-align: left;
+ }
+
+ &.content-align-center {
+ // ...
+ }
+
+ &.content-align-right {
+ text-align: right;
+ }
+
+ // Image Position.
+ &.image-position-left {
+ .image {
+ img {
+ @include vendor('object-position', 'left');
+ }
+ }
+ }
+
+ &.image-position-center {
+ // ...
+ }
+
+ &.image-position-right {
+ .image {
+ img {
+ @include vendor('object-position', 'right');
+ }
+ }
+ }
+
+ }
+
+// Mixin
+
+ @mixin color-spotlight($p: null) {
+ .spotlight {
+ .image {
+ background-color: transparentize(_palette($p, fg-bold), 0.875);
+ }
+
+ @if ($p != 'invert') {
+ &.invert {
+ .image {
+ background-color: transparentize(_palette(invert, fg-bold), 0.875);
+ }
+ }
+ }
+ }
+
+ .spotlight.style3 {
+ .image {
+ @include color-phone($p);
+ }
+
+ // Variant.
+ &.iphone {
+ .image {
+ @include color-phone-variant('iphone', $p);
+ }
+ }
+
+ &.android {
+ .image {
+ @include color-phone-variant('android', $p);
+ }
+ }
+
+ @if ($p != 'invert') {
+ &.invert {
+ .image {
+ @include color-phone(invert);
+ }
+
+ // Variant.
+ &.iphone {
+ .image {
+ @include color-phone-variant('iphone', invert);
+ }
+ }
+
+ &.android {
+ .image {
+ @include color-phone-variant('android', invert);
+ }
+ }
+
+ }
+ }
+ }
+ }
+
+ @include color-spotlight;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_table.scss b/bl-themes/story/assets/sass/components/_table.scss
new file mode 100644
index 00000000..d09c0ce2
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_table.scss
@@ -0,0 +1,137 @@
+///
+/// Story 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;
+ margin: 0 0 _size(element-margin) 0;
+ overflow-x: auto;
+
+ > table {
+ margin-bottom: 0;
+ }
+ }
+
+ table {
+ margin: 0 0 _size(element-margin) 0;
+ width: 100%;
+
+ tbody {
+ tr {
+ border: solid _size(border-width);
+ border-left: 0;
+ border-right: 0;
+ }
+ }
+
+ td {
+ padding: 0.75rem 0.75rem;
+ }
+
+ th {
+ font-size: 0.9rem;
+ font-weight: _font(weight-bold);
+ padding: 0 0.75rem 0.75rem 0.75rem;
+ text-align: left;
+ }
+
+ thead {
+ border-bottom: solid (_size(border-width) * 2);
+ }
+
+ tfoot {
+ border-top: solid (_size(border-width) * 2);
+ }
+
+ &.alt {
+ border-collapse: separate;
+
+ tbody {
+ tr {
+ td {
+ border: solid _size(border-width);
+ border-left-width: 0;
+ border-top-width: 0;
+
+ &:first-child {
+ border-left-width: _size(border-width);
+ }
+ }
+
+ &:first-child {
+ td {
+ border-top-width: _size(border-width);
+ }
+ }
+ }
+ }
+
+ thead {
+ border-bottom: 0;
+ }
+
+ tfoot {
+ border-top: 0;
+ }
+ }
+
+ &.fixed {
+ table-layout: fixed;
+ }
+ }
+
+ @mixin color-table($p: null) {
+ table {
+ tbody {
+ tr {
+ border-color: _palette($p, border);
+
+ &:nth-child(2n + 1) {
+ background-color: _palette($p, border-bg);
+ }
+
+ &.alt {
+ background-color: _palette($p, border-bg) !important;
+ }
+ }
+ }
+
+ 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);
+ }
+ }
+ }
+ }
+
+ &.uniform {
+ tbody {
+ tr {
+ &:nth-child(2n + 1) {
+ background-color: transparent;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ @include color-table;
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/components/_wrapper.scss b/bl-themes/story/assets/sass/components/_wrapper.scss
new file mode 100644
index 00000000..32b3bf5b
--- /dev/null
+++ b/bl-themes/story/assets/sass/components/_wrapper.scss
@@ -0,0 +1,120 @@
+///
+/// Story by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Wrapper (style1) */
+
+ .wrapper.style1 {
+ > .inner {
+ @include padding(_size(padding, default), _size(padding, default) * 0.5);
+ margin: 0 auto;
+ max-width: 100%;
+ width: _size(inner);
+
+ &.medium {
+ width: _size(inner) * 0.75;
+ }
+
+ &.small {
+ width: _size(inner) * 0.5;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ > .inner {
+ @include padding(_size(padding, xlarge), _size(padding, xlarge) * 0.5);
+ }
+ }
+
+ @include breakpoint(large) {
+ > .inner {
+ @include padding(_size(padding, large), _size(padding, large));
+ }
+ }
+
+ @include breakpoint(medium) {
+ > .inner {
+ @include padding(_size(padding, medium) * 1.5, _size(padding, medium));
+ }
+ }
+
+ @include breakpoint(small) {
+ > .inner {
+ @include padding(_size(padding, small) * 1.5, _size(padding, small));
+ }
+ }
+ }
+
+/* Wrapper (style2) */
+
+ .wrapper.style2 {
+ padding: _size(padding, default);
+ background-color: _palette(bg-alt);
+
+ > .inner {
+ @include padding(_size(padding, default) * 0.75, _size(padding, default) * 0.5);
+ background-color: _palette(bg);
+ border-radius: _size(border-radius-alt);
+ margin: 0 auto;
+ max-width: 100%;
+ position: relative;
+ width: _size(inner);
+ z-index: 1;
+
+ &.medium {
+ width: _size(inner) * 0.75;
+ }
+
+ &.small {
+ width: _size(inner) * 0.5;
+ }
+ }
+
+ @include breakpoint(xlarge) {
+ padding: _size(padding, xlarge);
+
+ > .inner {
+ @include padding(_size(padding, xlarge) * 0.75, _size(padding, xlarge) * 0.5);
+ }
+ }
+
+ @include breakpoint(large) {
+ padding: _size(padding, large);
+
+ > .inner {
+ @include padding(_size(padding, large) * 0.75, _size(padding, large) * 0.5);
+ }
+ }
+
+ @include breakpoint(medium) {
+ padding: _size(padding, medium) * 0.75;
+
+ > .inner {
+ @include padding(_size(padding, medium), _size(padding, medium) * 0.75);
+ }
+ }
+
+ @include breakpoint(small) {
+ padding: _size(padding, small) * 0.75;
+
+ > .inner {
+ @include padding(_size(padding, small), _size(padding, small) * 0.75);
+ }
+ }
+ }
+
+ #wrapper {
+ > .wrapper.style2 {
+ &.invert {
+ &:not(.color1):not(.color2):not(.color3):not(.color4):not(.color5):not(.color6):not(.color7) {
+ background-color: _palette(invert, bg-alt);
+ }
+
+ > .inner {
+ background-color: _palette(invert, bg);
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/layout/_wrapper.scss b/bl-themes/story/assets/sass/layout/_wrapper.scss
new file mode 100644
index 00000000..e99fcdb8
--- /dev/null
+++ b/bl-themes/story/assets/sass/layout/_wrapper.scss
@@ -0,0 +1,49 @@
+///
+/// Story by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Wrapper */
+
+ @mixin wrapper-color($n) {
+ > .color#{$n} {
+ background-color: _palette(color#{$n});
+ }
+ }
+
+ #wrapper {
+ background-color: inherit;
+ width: 100%;
+ overflow-x: hidden;
+
+ > .invert {
+ @include color(invert);
+ }
+
+ @include wrapper-color(1);
+ @include wrapper-color(2);
+ @include wrapper-color(3);
+ @include wrapper-color(4);
+ @include wrapper-color(5);
+ @include wrapper-color(6);
+ @include wrapper-color(7);
+
+ &.divided {
+ > * {
+ box-shadow: inset 0 1px 0 0 _palette(border-alt);
+
+ &:first-child {
+ box-shadow: none !important;
+ }
+ }
+
+ > .invert {
+ box-shadow: inset 0 1px 0 0 _palette(invert, border-alt);
+
+ &:first-child {
+ box-shadow: none !important;
+ }
+ }
+ }
+ }
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/libs/_functions.scss b/bl-themes/story/assets/sass/libs/_functions.scss
new file mode 100644
index 00000000..0e08c1a6
--- /dev/null
+++ b/bl-themes/story/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/story/assets/sass/libs/_mixins.scss b/bl-themes/story/assets/sass/libs/_mixins.scss
new file mode 100644
index 00000000..d4bf3c84
--- /dev/null
+++ b/bl-themes/story/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/story/assets/sass/libs/_skel.scss b/bl-themes/story/assets/sass/libs/_skel.scss
new file mode 100644
index 00000000..f5e0dcd1
--- /dev/null
+++ b/bl-themes/story/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/story/assets/sass/libs/_vars.scss b/bl-themes/story/assets/sass/libs/_vars.scss
new file mode 100644
index 00000000..72053632
--- /dev/null
+++ b/bl-themes/story/assets/sass/libs/_vars.scss
@@ -0,0 +1,80 @@
+// Misc.
+ $misc: (
+ z-index-base: 10000,
+ overlay-opacity: 0.5,
+ lightbox-opacity: 0.75,
+ gallery-limit: 32,
+ items-limit: 16
+ );
+
+// Duration.
+ $duration: (
+ menu: 0.5s,
+ transition: 0.2s,
+ gallery-lightbox: 0.5s,
+ gallery-delay: 0.15s,
+ items-delay: 0.15s,
+ on-load: 0.75s,
+ on-scroll: 0.75s
+ );
+
+// Size.
+ $size: (
+ border-radius: 4px,
+ border-radius-alt: 0.5rem,
+ border-width: 1px,
+ element-height: 2.75rem,
+ element-margin: 2rem,
+ gutter: 3.5rem,
+ inner: 64rem,
+ padding: (
+ default: 7rem,
+ xlarge: 5rem,
+ large: 4rem,
+ medium: 3rem,
+ small: 2rem
+ )
+ );
+
+// Font.
+ $font: (
+ family: ('Source Sans Pro', Helvetica, sans-serif),
+ family-fixed: ('Courier New', monospace),
+ weight: 300,
+ weight-bold: 400,
+ kerning: -0.05em,
+ kerning-alt: 0.125em
+ );
+
+// Palette.
+ $palette: (
+ color1: #30363d,
+ color2: #db8992,
+ color3: #ab7aad,
+ color4: #897cad,
+ color5: #7794ce,
+ color6: #64abb4,
+ color7: #6ba78c,
+
+ bg: #ffffff,
+ bg-alt: #eeeeee,
+ fg: #000000,
+ fg-bold: #000000,
+ fg-light: rgba(0,0,0,0.75),
+ border: rgba(0,0,0,0.2),
+ border-alt: rgba(0,0,0,0.075),
+ border-bg: rgba(0,0,0,0.05),
+ accent: #47D3E5,
+
+ invert: (
+ bg: #000000,
+ bg-alt: #222222,
+ fg: #ffffff,
+ fg-bold: #ffffff,
+ fg-light: #ffffff,
+ border: rgba(255,255,255,1.0),
+ border-alt: rgba(255,255,255,0.125),
+ border-bg: rgba(255,255,255,0.125),
+ accent: #47D3E5
+ ),
+ );
\ No newline at end of file
diff --git a/bl-themes/story/assets/sass/main.scss b/bl-themes/story/assets/sass/main.scss
new file mode 100644
index 00000000..96b2df1a
--- /dev/null
+++ b/bl-themes/story/assets/sass/main.scss
@@ -0,0 +1,179 @@
+@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=Source+Sans+Pro:300,300i,400,400i');
+
+/*
+ Story 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: 2rem )
+ ));
+
+ @mixin color($p) {
+ @include color-typography($p);
+ @include color-box($p);
+ @include color-button($p);
+ @include color-form($p);
+ @include color-icon($p);
+ @include color-list($p);
+ @include color-section($p);
+ @include color-table($p);
+ @include color-banner($p);
+ @include color-spotlight($p);
+ @include color-gallery($p);
+ @include color-items($p);
+ @include color-index($p);
+ }
+
+ @mixin phone($image-width) {
+ @include vendor('flex-grow', '0');
+ @include vendor('flex-shrink', '0');
+ border-radius: 0;
+ border: solid _size(border-width);
+
+ img {
+ @include vendor('object-fit', 'cover');
+ @include vendor('object-position', 'center');
+ display: block;
+ width: 100%;
+ height: 100%;
+ border-radius: 0;
+ }
+
+ &:before {
+ content: '';
+ display: block;
+ background-position: center;
+ background-repeat: no-repeat;
+ border: solid _size(border-width);
+ border-bottom: 0;
+ }
+
+ &:after {
+ content: '';
+ display: block;
+ background-position: center;
+ background-repeat: no-repeat;
+ border: solid _size(border-width);
+ border-top: 0;
+ }
+
+ @include resize-phone($image-width, 1);
+ }
+
+ @mixin resize-phone($image-width, $image-factor) {
+ $image-pad-top: 2.5rem;
+ $image-pad-bottom: 3rem;
+ $image-height: ($image-width * (1920 / 1080));
+
+ width: ($image-width * $image-factor);
+ height: (($image-width * $image-factor) * (1920 / 1080));
+ margin-top: ($image-pad-top * $image-factor);
+ margin-bottom: (_size(element-margin) + ($image-pad-bottom * $image-factor));
+
+ &:before {
+ height: ($image-pad-top * $image-factor);
+ background-size: (64px * $image-factor) (32px * $image-factor);
+ margin-top: (($image-pad-top * $image-factor) * -1);
+ border-radius: (1rem * $image-factor) (1rem * $image-factor) 0 0;
+ }
+
+ &:after {
+ height: ($image-pad-bottom * $image-factor);
+ background-size: (64px * $image-factor) (32px * $image-factor);
+ margin-bottom: (($image-pad-bottom * $image-factor) * -1);
+ border-radius: 0 0 (1rem * $image-factor) (1rem * $image-factor);
+ }
+ }
+
+ @mixin color-phone($p) {
+ border-color: _palette($p, border);
+ background-color: _palette($p, border);
+
+ @if ($p != 'invert') {
+ border-width: 0;
+ }
+ @else {
+ border-width: _size(border-width);
+ }
+
+ &:before {
+ background-image: svg-url('
');
+ border-color: _palette($p, border);
+
+ @if ($p == 'invert') {
+ width: calc(100% + #{_size(border-width) * 2});
+ margin-left: (_size(border-width) * -1);
+ }
+ @else {
+ width: 100%;
+ }
+ }
+
+ &:after {
+ background-image: svg-url('
');
+ border-color: _palette($p, border);
+
+ @if ($p == 'invert') {
+ width: calc(100% + #{_size(border-width) * 2});
+ margin-left: (_size(border-width) * -1);
+ }
+ @else {
+ width: 100%;
+ }
+ }
+ }
+
+ @mixin color-phone-variant($v, $p) {
+ @if ($v == 'android') {
+ &:after {
+ background-image: svg-url('
');
+ }
+ }
+ @else if ($p == 'iphone') {
+ // ...
+ }
+ }
+
+// 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/banner';
+ @import 'components/spotlight';
+ @import 'components/gallery';
+ @import 'components/wrapper';
+ @import 'components/items';
+ @import 'components/index';
+
+// Layout.
+
+ @import 'layout/wrapper';
\ No newline at end of file
diff --git a/bl-themes/story/images/banner.jpg b/bl-themes/story/images/banner.jpg
new file mode 100644
index 00000000..064b5cfd
Binary files /dev/null and b/bl-themes/story/images/banner.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/01.jpg b/bl-themes/story/images/gallery/fulls/01.jpg
new file mode 100644
index 00000000..eef785c1
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/01.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/02.jpg b/bl-themes/story/images/gallery/fulls/02.jpg
new file mode 100644
index 00000000..ece17be9
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/02.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/03.jpg b/bl-themes/story/images/gallery/fulls/03.jpg
new file mode 100644
index 00000000..2f87cf24
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/03.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/04.jpg b/bl-themes/story/images/gallery/fulls/04.jpg
new file mode 100644
index 00000000..3265bac3
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/04.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/05.jpg b/bl-themes/story/images/gallery/fulls/05.jpg
new file mode 100644
index 00000000..ba9ff6ef
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/05.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/06.jpg b/bl-themes/story/images/gallery/fulls/06.jpg
new file mode 100644
index 00000000..0a72acd8
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/06.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/07.jpg b/bl-themes/story/images/gallery/fulls/07.jpg
new file mode 100644
index 00000000..39ca1b29
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/07.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/08.jpg b/bl-themes/story/images/gallery/fulls/08.jpg
new file mode 100644
index 00000000..4fd6a161
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/08.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/09.jpg b/bl-themes/story/images/gallery/fulls/09.jpg
new file mode 100644
index 00000000..0ac6c6cb
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/09.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/10.jpg b/bl-themes/story/images/gallery/fulls/10.jpg
new file mode 100644
index 00000000..0c5aef0b
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/10.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/11.jpg b/bl-themes/story/images/gallery/fulls/11.jpg
new file mode 100644
index 00000000..8d4f404c
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/11.jpg differ
diff --git a/bl-themes/story/images/gallery/fulls/12.jpg b/bl-themes/story/images/gallery/fulls/12.jpg
new file mode 100644
index 00000000..6c856ba2
Binary files /dev/null and b/bl-themes/story/images/gallery/fulls/12.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/01.jpg b/bl-themes/story/images/gallery/thumbs/01.jpg
new file mode 100644
index 00000000..9b3c24cb
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/01.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/02.jpg b/bl-themes/story/images/gallery/thumbs/02.jpg
new file mode 100644
index 00000000..4984cbfe
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/02.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/03.jpg b/bl-themes/story/images/gallery/thumbs/03.jpg
new file mode 100644
index 00000000..44c65176
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/03.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/04.jpg b/bl-themes/story/images/gallery/thumbs/04.jpg
new file mode 100644
index 00000000..3233b5d6
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/04.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/05.jpg b/bl-themes/story/images/gallery/thumbs/05.jpg
new file mode 100644
index 00000000..58be398e
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/05.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/06.jpg b/bl-themes/story/images/gallery/thumbs/06.jpg
new file mode 100644
index 00000000..a79d0d09
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/06.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/07.jpg b/bl-themes/story/images/gallery/thumbs/07.jpg
new file mode 100644
index 00000000..9ca921b7
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/07.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/08.jpg b/bl-themes/story/images/gallery/thumbs/08.jpg
new file mode 100644
index 00000000..5328ca5f
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/08.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/09.jpg b/bl-themes/story/images/gallery/thumbs/09.jpg
new file mode 100644
index 00000000..e65647d6
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/09.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/10.jpg b/bl-themes/story/images/gallery/thumbs/10.jpg
new file mode 100644
index 00000000..f0b1abd5
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/10.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/11.jpg b/bl-themes/story/images/gallery/thumbs/11.jpg
new file mode 100644
index 00000000..c67cef9d
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/11.jpg differ
diff --git a/bl-themes/story/images/gallery/thumbs/12.jpg b/bl-themes/story/images/gallery/thumbs/12.jpg
new file mode 100644
index 00000000..a63d9dc7
Binary files /dev/null and b/bl-themes/story/images/gallery/thumbs/12.jpg differ
diff --git a/bl-themes/story/images/pic01.jpg b/bl-themes/story/images/pic01.jpg
new file mode 100644
index 00000000..707f35dd
Binary files /dev/null and b/bl-themes/story/images/pic01.jpg differ
diff --git a/bl-themes/story/images/pic02.jpg b/bl-themes/story/images/pic02.jpg
new file mode 100644
index 00000000..c4bc3137
Binary files /dev/null and b/bl-themes/story/images/pic02.jpg differ
diff --git a/bl-themes/story/images/pic03.jpg b/bl-themes/story/images/pic03.jpg
new file mode 100644
index 00000000..30464bb2
Binary files /dev/null and b/bl-themes/story/images/pic03.jpg differ
diff --git a/bl-themes/story/images/spotlight01.jpg b/bl-themes/story/images/spotlight01.jpg
new file mode 100644
index 00000000..cb80775b
Binary files /dev/null and b/bl-themes/story/images/spotlight01.jpg differ
diff --git a/bl-themes/story/images/spotlight02.jpg b/bl-themes/story/images/spotlight02.jpg
new file mode 100644
index 00000000..d36bdc8e
Binary files /dev/null and b/bl-themes/story/images/spotlight02.jpg differ
diff --git a/bl-themes/story/images/spotlight03.jpg b/bl-themes/story/images/spotlight03.jpg
new file mode 100644
index 00000000..73a5bf51
Binary files /dev/null and b/bl-themes/story/images/spotlight03.jpg differ
diff --git a/bl-themes/story/index.html b/bl-themes/story/index.html
new file mode 100644
index 00000000..ca94cfd8
--- /dev/null
+++ b/bl-themes/story/index.html
@@ -0,0 +1,352 @@
+
+
+
+
+
Story by HTML5 UP
+
+
+
+
+
+
+
+
+
+
+
+
+
Story
+
A (modular, highly tweakable) responsive one-page template designed by HTML5 UP and released for free under the Creative Commons .
+
+
+
+
+
+
+
+
+
+
+
Magna etiam feugiat
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum dolor sit amet.
+
+
+
+
+
+
+
+
+
+
+
Tempus adipiscing
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum dolor sit amet.
+
+
+
+
+
+
+
+
+
+
+
Pharetra etiam nulla
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum dolor sit amet.
+
+
+
+
+
+
+
+
+
+
+
Massa sed condimentum
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum.
+
+
+
+
+
+
+
+
+
+
+
Ipsum sed consequat
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi id ante sed ex pharetra lacinia sit amet vel massa. Donec facilisis laoreet nulla eu bibendum. Donec ut ex risus. Fusce lorem lectus, pharetra pretium massa et, hendrerit vestibulum odio lorem ipsum.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/story/index.php b/bl-themes/story/index.php
new file mode 100644
index 00000000..a6eceb55
--- /dev/null
+++ b/bl-themes/story/index.php
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bl-themes/story/languages/en.json b/bl-themes/story/languages/en.json
new file mode 100644
index 00000000..1405372e
--- /dev/null
+++ b/bl-themes/story/languages/en.json
@@ -0,0 +1,7 @@
+{
+ "theme-data":
+ {
+ "name": "Story",
+ "description": ""
+ }
+}
\ No newline at end of file
diff --git a/bl-themes/story/metadata.json b/bl-themes/story/metadata.json
new file mode 100644
index 00000000..eac1c215
--- /dev/null
+++ b/bl-themes/story/metadata.json
@@ -0,0 +1,10 @@
+{
+ "author": "HTML5Up",
+ "email": "",
+ "website": "https://html5up.net",
+ "version": "1.0",
+ "releaseDate": "2017-05-06",
+ "license": "CCA 3.0",
+ "compatible": "2.0",
+ "notes": ""
+}
\ No newline at end of file
diff --git a/bl-themes/story/php/head.php b/bl-themes/story/php/head.php
new file mode 100644
index 00000000..087ef9d3
--- /dev/null
+++ b/bl-themes/story/php/head.php
@@ -0,0 +1,17 @@
+
\ No newline at end of file
diff --git a/bl-themes/story/php/home.php b/bl-themes/story/php/home.php
new file mode 100644
index 00000000..14c2a288
--- /dev/null
+++ b/bl-themes/story/php/home.php
@@ -0,0 +1,37 @@
+
+
+
+
+
+
title() ?>
+
content() ?>
+
+
+
+
+
+
+
+
+
+
+
title() ?>
+
content() ?>
+
+
+
+
+
+
+
\ No newline at end of file