initial import

This commit is contained in:
tlinkner 2018-06-20 21:38:13 -04:00
parent 09ca392d36
commit 6cb3690e37
304 changed files with 36492 additions and 0 deletions
styleguide
index.htmlitem-base-blockquote.htmlitem-base-elements-rule.htmlitem-base-elements-titles.htmlitem-base-elements.htmlitem-base-figure.htmlitem-base-form.htmlitem-base-typography-blockquote.htmlitem-base-typography-definitionlist.htmlitem-base-typography-headings.htmlitem-base-typography-horizontalrule.htmlitem-base-typography-link.htmlitem-base-typography-orderedlist.htmlitem-base-typography-paragraph.htmlitem-base-typography-table.htmlitem-base-typography-title.htmlitem-base-typography-unorderedlist.htmlitem-base-typography.htmlitem-base-variables-animation.htmlitem-base-variables-borders.htmlitem-base-variables-breakpoints.htmlitem-base-variables-colors.htmlitem-base-variables-fonts.htmlitem-base-variables-grid.htmlitem-base-variables-typography.htmlitem-base-variables.htmlitem-base.htmlitem-componenet-hero.htmlitem-componenet.htmlitem-component-agaricons.htmlitem-component-card-allow-linking-the-entire-object.htmlitem-component-carousel.htmlitem-component-footer.htmlitem-component-iconlist.htmlitem-component-media-comment.htmlitem-component-media-list.htmlitem-component-media.htmlitem-component-navbar.htmlitem-component-pagination.htmlitem-component-related.htmlitem-component-tabs.htmlitem-component-teaser.htmlitem-component-tile.htmlitem-component-titlebar.htmlitem-component.htmlitem-layout-columns.htmlitem-layout-flow.htmlitem-layout.html
kss-assets
section-base.htmlsection-componenet.htmlsection-component.htmlsection-layout.html

112
styleguide/index.html Normal file
View file

@ -0,0 +1,112 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Agaric</title>
<meta name="description" content="">
<meta name="generator" content="kss-node">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="./kss-assets/kss.css">
<link rel="stylesheet" href="../assets/css/agaric.css">
</head>
<body id="kss-node" >
<!-- kss-sidebar -->
<div class="kss-sidebar">
<header class="kss-sidebar__header">
<a class="kss-link" href="index.html">
<h1 class="kss-doc-title">Agaric</h1>
</a>
</header>
<nav class="kss-nav">
<ul class="kss-nav__menu">
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-componenet.html">
<!-- <span class="kss-nav__ref">1</span> -->
Componenet</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-base.html">
<!-- <span class="kss-nav__ref">2</span> -->
Base</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-layout.html">
<!-- <span class="kss-nav__ref">3</span> -->
Layout</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html">
<!-- <span class="kss-nav__ref">4</span> -->
Component</a>
<!-- Design links stright to item tempplate -->
</li>
</ul>
</nav>
</div>
<!-- kss-main -->
<div class="kss-main-wrap">
<article role="main" class="kss-main kss-homepage content">
<h1 id="style-guide">Style Guide</h1>
<h2 id="styleguide-contents">Styleguide Contents</h2>
<p>This project contains SASS/CSS and markup samples for the Parient H.M. Brain website. SASS source code is compiled to CSS. Handlebars templates are compiled to HTML markup examples. </p>
<p>The SASS/CSS code is built on the <a href="https://bulma.io">Bulma framework</a>. </p>
<p>The markup examples are comiled by the <a href="http://assemble.io">Assemble static site generator</a>. <em>(It is not necessary to use this in your application.)</em></p>
<p>Here is a description of the directories:</p>
<ul>
<li><strong>assets:</strong> compiled CSS, fonts, and images for production</li>
<li><strong>design-output:</strong> compiled HTML</li>
<li><strong>design-source:</strong> the templates for the markup samples</li>
<li><strong>sass:</strong> the uncompiled SASS files</li>
</ul>
<p>Here are the complete static layouts:</p>
<ul>
<li><a href="../design-output/index.html">Home</a></li>
<li><a href="../design-output/work.html">Work</a></li>
<li><a href="../design-output/case_study.html">Case Study</a></li>
<li><a href="../design-output/initiatives.html">Initiatives</a></li>
<li><a href="../design-output/initiatives_initiative.html">Initiative</a></li>
<li><a href="../design-output/about_team.html">Team</a></li>
<li><a href="../design-output/about_team_member.html">Person</a></li>
<li><a href="../design-output/about_events.html">Events</a></li>
<li><a href="../design-output/about_events_event.html">Event</a></li>
<li><a href="../design-output/insights.html">Insights</a></li>
<li><a href="../design-output/insights_insight.html">Insight</a></li>
<li><a href="../design-output/bulma.html">Bulma Elements</a></li>
</ul>
<h2 id="up-and-running">Up and running</h2>
<ol>
<li>Install Grunt, <code>npm install -g grunt-cli</code>, and <code>npm install -g grunt</code></li>
<li>Go to the project directory: <code>cd [PATH_TO_PROJECT]</code></li>
<li>Install the node modules: <code>npm install</code></li>
<li>Run the command <code>grunt</code>. </li>
</ol>
<h2 id="image-processing">Image Processing</h2>
<p>Creating the duotone images can be accomplished using the <a href="http://www.imagemagick.org">ImageMagick library</a>.</p>
<p>This is a two-step process. The first step is to create a black and white (grayscale) image:</p>
<p><code>convert test.jpg -colorspace Gray test_gray.jpg</code></p>
<p>The second step is to apply a color lookup table:</p>
<p><code>convert test_gray.jpg duo_cinnamon_clut.png -clut test_duo.jpg</code></p>
<p>The following duotone color lookup table .PNG files can be found in <code>\sass\image-processing\</code>:</p>
<ul>
<li><code>duo_berry_clut.png</code></li>
<li><code>duo_blue_clut.png</code></li>
<li><code>duo_briteblue_clut.png</code></li>
<li><code>duo_cinnamon_clut.png</code></li>
<li><code>duo_dandelion_clut.png</code></li>
<li><code>duo_marine_clut.png</code></li>
</ul>
</article>
</div>
<script src="../assets/js/jquery-3.2.1.min.js"></script>
<!-- Automatically built using <a href="https://github.com/kss-node/kss-node">kss-node</a>. -->
</body>
</html>

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1 @@

View file

@ -0,0 +1,2 @@
WARNING: This folder is deleted and re-recreated each time the style guide is
built. Do NOT put your own files in this folder.

View file

@ -0,0 +1,59 @@
(function (window, document) {
'use strict';
// Set the configuration values on object creation.
// - idPrefix: The string that uniquely prefixes the ID of all elements that
// can receive the fullscreen focus.
// - bodyClass: The class that is set on the body element when the fullscreen
// mode is toggled on.
// - elementClass: the class that is set on the element that is receiving the
// fullscreen focus.
var KssFullScreen = function (config) {
this.idPrefix = config.idPrefix || 'kss-fullscreen-';
this.bodyClass = config.bodyClass || 'kss-fullscreen-mode';
this.elementClass = config.elementClass || 'is-fullscreen';
this.init();
};
// Initialize the page to see if the fullscreen mode should be immediately
// turned on.
KssFullScreen.prototype.init = function () {
// Check the location hash to see if it matches the idPrefix.
if (window.location.hash.slice(0, this.idPrefix.length + 1) === '#' + this.idPrefix) {
this.setFocus(window.location.hash.slice(1 + this.idPrefix.length));
}
var self = this;
// Initialize all fullscreen toggle buttons.
document.querySelectorAll('a[data-kss-fullscreen]').forEach(function (button) {
// Get the section reference from the data attribute.
button.onclick = self.setFocus.bind(self, button.dataset.kssFullscreen);
});
};
// Activation function that takes the ID of the element that will receive
// fullscreen focus.
KssFullScreen.prototype.setFocus = function (id) {
var el;
// Find the element with the given ID and start fullscreen mode.
if (el = document.getElementById(id)) {
el.classList.toggle('is-fullscreen');
document.body.classList.toggle('kss-fullscreen-mode');
// When enabling the focus mode, change the location hash.
if (el.classList.contains('is-fullscreen')) {
window.location.hash = '#' + this.idPrefix + id;
// Don't follow the link location.
return false;
}
}
return true;
};
// Export to DOM global space.
window.KssFullScreen = KssFullScreen;
})(window, document);

View file

@ -0,0 +1,26 @@
(function (window, document) {
'use strict';
var KssGuides = function (config) {
this.bodyClass = config.bodyClass || 'kss-guides-mode';
this.init();
};
KssGuides.prototype.init = function () {
var self = this;
// Initialize all guides toggle buttons.
document.querySelectorAll('a[data-kss-guides]').forEach(function (el) {
el.onclick = self.showGuides.bind(self);
});
};
// Toggle the guides mode.
KssGuides.prototype.showGuides = function () {
document.getElementsByTagName('body')[0].classList.toggle(this.bodyClass);
};
// Export to DOM global space.
window.KssGuides = KssGuides;
})(window, document);

View file

@ -0,0 +1,40 @@
(function (window, document) {
'use strict';
var KssMarkup = function (config) {
this.bodyClass = config.bodyClass || 'kss-markup-mode';
this.detailsClass = config.detailsClass || 'kss-markup';
this.init();
};
KssMarkup.prototype.init = function () {
var self = this;
// Initialize all markup toggle buttons.
document.querySelectorAll('a[data-kss-markup]').forEach(function (el) {
el.onclick = self.showGuides.bind(self);
});
};
// Activation function that takes the ID of the element that will receive
// fullscreen focus.
KssMarkup.prototype.showGuides = function () {
var body = document.getElementsByTagName('body')[0],
enabled = body.classList.contains(this.bodyClass);
document.querySelectorAll('.' + this.detailsClass).forEach(function (el) {
if (enabled) {
el.removeAttribute('open');
} else {
el.setAttribute('open', '');
}
});
// Toggle the markup mode.
body.classList.toggle(this.bodyClass);
};
// Export to DOM global space.
window.KssMarkup = KssMarkup;
})(window, document);

View file

@ -0,0 +1,204 @@
@charset "UTF-8";
body {
margin: 0;
font-family: sans-serif; }
.kss-section + .kss-section {
margin-top: 60px; }
.kss-title {
margin: 1rem 0;
line-height: 1em;
color: #ccc; }
h1.kss-title {
font-size: 1em; }
h2.kss-title {
font-size: 1em; }
h3.kss-title {
font-size: 1em; }
h4.kss-title {
font-size: 1em; }
.kss-description {
color: #ccc;
font-size: 0.875em;
line-height: 1.6em; }
.kss-pattern__header {
border-bottom: 1px dotted #ccc;
margin-bottom: 2em; }
.kss-code-toggle {
float: right;
color: #ccc; }
.kss-pattern__header:hover .kss-description,
.kss-pattern__header:hover .kss-title,
.kss-pattern__header:hover .kss-code-toggle {
color: #000; }
.kss-sidebar {
box-sizing: border-box;
padding: 0.875em;
position: fixed;
top: 0;
bottom: 0;
left: 0;
width: 280px;
color: #444;
background: #ccc;
overflow-y: auto; }
.kss-main-wrap {
margin-left: 280px;
box-sizing: border-box; }
.kss-main {
box-sizing: border-box;
padding: 1rem 2em; }
.kss-link,
.kss-nav__menu-link {
text-decoration: none;
color: currentColor; }
.kss-nav__menu-link:hover {
text-decoration: none; }
.kss-nav__menu-link {
font-size: 0.875em; }
.kss-source,
.kss-markup {
margin: 1rem 0; }
.kss-source summary:focus,
.kss-markup summary:focus {
outline: 0;
border: 0; }
.kss-source > summary,
.kss-markup > summary {
margin-bottom: 14px;
font-size: 14px;
color: #999; }
.kss-modifier__heading {
display: block;
font-size: 14px;
color: #999;
margin: 1em 0;
padding: 1em 0; }
.kss-modifier__default-name,
.kss-modifier__name,
.kss-parameters__title {
clear: both;
font-weight: bold;
font-size: 14px;
color: #999;
margin: 1em 0; }
.kss-modifier__description {
color: #999;
font-weight: 400; }
.kss-markup pre {
padding: 1em;
background: #F0F8FF;
overflow-x: auto;
font-size: 14px; }
.kss-modifier__wrapper {
padding-bottom: 2em;
margin-bottom: 2em; }
.kss-nav__menu {
padding: 0;
list-style: none; }
.kss-nav__menu-child {
padding: 0 0 0 1em;
list-style: none; }
.kss-nav__menu-link {
display: block;
padding: 0.5em 0;
border-bottom: 1px dotted #999; }
.kss-nav__menu-link:hover {
background: #ddd; }
.kss-parameters {
padding: 0;
list-style: none; }
.kss-parameters__item + .kss-parameters__item {
margin-top: 1em; }
.kss-parameters__name,
.kss-parameters__description {
display: inline-block; }
.kss-parameters__name > code {
background: #F0F8FF;
margin-right: 1em; }
.kss-nav__ref {
color: #999; }
.kss-section {
overflow: visible; }
.kss-section::after {
display: block;
clear: both;
content: ''; }
.kss-pattern {
box-sizing: border-box; }
.kss-pattern-code {
display: none;
box-sizing: border-box; }
.kss-pattern-code.active {
display: block;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 280px;
box-sizing: border-box;
padding: 4em;
overflow-y: auto;
background: white;
z-index: +99; }
.kss-source,
.kss-markup {
color: #ccc;
font-size: 0.875em; }
.kss-pattern-code:hover .kss-source,
.kss-pattern-code:hover .kss-markup {
color: #000; }
@media (min-width: 1024px) {
.kss-pattern {
padding-right: 1em;
width: 100%;
float: left; } }
.kss-nav__menu-link {
font-weight: normal; }
.kss-nav__menu-link.kss-design__link {
font-weight: bold; }
.kss-nav__menu-link.kss-design__link::before {
content: '→'; }

View file

@ -0,0 +1,53 @@
(function() {
var KssStateGenerator;
KssStateGenerator = (function() {
var pseudo_selectors;
pseudo_selectors = ['hover', 'enabled', 'disabled', 'active', 'visited', 'focus', 'target', 'checked', 'empty', 'first-of-type', 'last-of-type', 'first-child', 'last-child'];
function KssStateGenerator() {
var idx, idxs, pseudos, replaceRule, rule, stylesheet, _i, _len, _len2, _ref, _ref2;
pseudos = new RegExp("(\\:" + (pseudo_selectors.join('|\\:')) + ")", "g");
try {
_ref = document.styleSheets;
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
stylesheet = _ref[_i];
if (stylesheet.href && stylesheet.href.indexOf(document.domain) >= 0) {
idxs = [];
_ref2 = stylesheet.cssRules;
for (idx = 0, _len2 = _ref2.length; idx < _len2; idx++) {
rule = _ref2[idx];
if ((rule.type === CSSRule.STYLE_RULE) && pseudos.test(rule.selectorText)) {
replaceRule = function(matched, stuff) {
return matched.replace(/\:/g, '.pseudo-class-');
};
this.insertRule(rule.cssText.replace(pseudos, replaceRule));
}
pseudos.lastIndex = 0;
}
}
}
} catch (_error) {}
}
KssStateGenerator.prototype.insertRule = function(rule) {
var headEl, styleEl;
headEl = document.getElementsByTagName('head')[0];
styleEl = document.createElement('style');
styleEl.type = 'text/css';
if (styleEl.styleSheet) {
styleEl.styleSheet.cssText = rule;
} else {
styleEl.appendChild(document.createTextNode(rule));
}
return headEl.appendChild(styleEl);
};
return KssStateGenerator;
})();
new KssStateGenerator;
}).call(this);

View file

@ -0,0 +1,991 @@
body {
margin: 0;
font-family: sans-serif;
}
.kss-section {
}
.kss-section + .kss-section {
margin-top: 60px;
}
.kss-title {
margin: 1rem 0;
line-height: 1em;
color: #ccc;
}
h1.kss-title {font-size: 1em;}
h2.kss-title {font-size: 1em;}
h3.kss-title {font-size: 1em;}
h4.kss-title {font-size: 1em;}
.kss-description {
color: #ccc;
font-size: 0.875em;
line-height: 1.6em;
}
.kss-pattern__header {
border-bottom: 1px dotted #ccc;
margin-bottom: 2em;
}
.kss-code-toggle {
float: right;
color: #ccc;
}
.kss-pattern__header:hover .kss-description,
.kss-pattern__header:hover .kss-title,
.kss-pattern__header:hover .kss-code-toggle {
color: #000;
}
.kss-sidebar {
box-sizing: border-box;
padding: 0.875em;
position: fixed;
top: 0;
bottom: 0;
left: 0;
width: 280px;
color: #444;
background: #ccc;
overflow-y: auto;
}
.kss-main-wrap {
margin-left: 280px;
box-sizing: border-box;
}
.kss-main {
box-sizing: border-box;
padding: 1rem 2em;
}
.kss-link,
.kss-nav__menu-link {
text-decoration: none;
color: currentColor;
}
.kss-nav__menu-link:hover {
text-decoration: none;
}
.kss-nav__menu-link {
font-size: 0.875em;
}
.kss-source,
.kss-markup {
margin: 1rem 0;
}
.kss-source summary:focus,
.kss-markup summary:focus {
outline: 0;
border: 0;
}
.kss-source > summary,
.kss-markup > summary {
margin-bottom: 14px;
font-size: 14px;
color: #999;
}
.kss-modifier__heading {
display: block;
font-size: 14px;
color: #999;
margin: 1em 0;
padding: 1em 0;
}
.kss-modifier__default-name,
.kss-modifier__name,
.kss-parameters__title {
clear: both;
font-weight: bold;
font-size: 14px;
color: #999;
margin: 1em 0;
}
.kss-modifier__description {
color: #999;
font-weight: 400;
}
.kss-markup pre {
padding: 1em;
background: #F0F8FF;
overflow-x: auto;
font-size: 14px;
}
.kss-modifier__wrapper {
padding-bottom: 2em;
margin-bottom: 2em;
}
.kss-nav__menu {
padding: 0;
list-style: none;
}
.kss-nav__menu-child {
padding: 0 0 0 1em;
list-style: none;
}
.kss-nav__menu-link {
display: block;
padding: 0.5em 0;
border-bottom: 1px dotted #999;
}
.kss-nav__menu-link:hover {
background: #ddd;
}
.kss-parameters {
padding: 0;
list-style: none;
}
.kss-parameters__item + .kss-parameters__item {
margin-top: 1em;
}
.kss-parameters__name,
.kss-parameters__description {
display: inline-block;
}
.kss-parameters__name > code {
background: #F0F8FF;
margin-right: 1em;
}
.kss-nav__ref {
color: #999;
}
.kss-section {
overflow: visible;
}
.kss-section::after {
display: block;
clear: both;
content: '';
}
.kss-pattern {
box-sizing: border-box;
}
.kss-pattern-code {
display: none;
box-sizing: border-box;
}
.kss-pattern-code.active {
display: block;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 280px;
box-sizing: border-box;
padding: 4em;
overflow-y: auto;
background: white;
z-index: +99;
}
.kss-source,
.kss-markup {
color: #ccc;
font-size: 0.875em;
}
.kss-pattern-code:hover .kss-source,
.kss-pattern-code:hover .kss-markup {
color: #000;
}
@media (min-width: 1024px) {
.kss-pattern {
padding-right: 1em;
width: 100%;
float: left;
}
}
.kss-nav__menu-link {
font-weight: normal;
}
.kss-nav__menu-link.kss-design__link {
font-weight: bold;
}
.kss-nav__menu-link.kss-design__link::before {
content: '';
}
// // ------------------------------------------------------------------------------
// // Variables - Colors, Fonts, etc.
// // ------------------------------------------------------------------------------
// $kss-colors-background : #fff;
//
// $kss-colors-foreground : #444;
// $kss-colors-heading : #111;
// $kss-colors-quotes : #666;
//
// $kss-colors-link : #0645ad;
// $kss-colors-link-visited : #0645ad;
// $kss-colors-link-hover : lighten($kss-colors-link, 20%);
// $kss-colors-link-active : #faa700;
//
// $kss-font-body : Helvetica, 'Helvetica Neue', Arial, sans-serif;
// $kss-font-code : Menlo, 'Ubuntu Mono', 'Lucida Console', 'Courier New', Courier, monospace;
//
// $kss-font-size : 16px;
// $kss-vertical-rhythm : $kss-font-size * 1.5;
//
// // ------------------------------------------------------------------------------
// // Wrap all of this builder's base HTML styling inside a .kss-style selector.
// // ------------------------------------------------------------------------------
//
// .kss-style {
// color: $kss-colors-foreground;
// font-family: $kss-font-body;
// font-size: $kss-font-size;
// line-height: $kss-vertical-rhythm;
//
// a {
// color: $kss-colors-link;
// text-decoration: none;
// transition-property: color;
// transition-duration: 0.5s;
//
// &:visited { color: $kss-colors-link-visited; }
// &:hover,
// &:focus { color: $kss-colors-link-hover; }
// &:active { color: $kss-colors-link-active; }
//
// &:hover,
// &:active {
// outline: 0;
// }
// }
//
// p {
// margin: ($kss-vertical-rhythm/2) 0 $kss-vertical-rhythm 0;
// }
//
// h1, h2, h3, h4, h5, h6 {
// margin: $kss-vertical-rhythm 0 0 0;
// font-family: $kss-font-body;
// color: $kss-colors-heading;
// line-height: 1.15em;
// }
//
// h4, h5, h6 {
// font-weight: bold;
// }
//
// h1 { font-size: $kss-font-size * 2.5; }
// h2 { font-size: $kss-font-size * 2.25; }
// h3 { font-size: $kss-font-size * 2.125; }
// h4 { font-size: $kss-font-size * 2; }
// h5 { font-size: $kss-font-size * 1.875; }
// h6 { font-size: $kss-font-size * 1.75; }
//
// blockquote {
// color: $kss-colors-quotes;
// margin: 0;
// padding-left: $kss-vertical-rhythm;
// border-left: 0.5em mix($kss-colors-quotes, $kss-colors-background, 25%) solid;
// }
//
// hr {
// display: block;
// height: 2px;
// border: 0;
// border-top: 1px solid lighten($kss-colors-foreground, 60%);
// border-bottom: 1px solid darken($kss-colors-background, 10%);
// margin: $kss-vertical-rhythm 0;
// padding: 0;
// }
//
// pre, code, kbd, samp {
// font-family: $kss-font-code;
// color: mix($kss-colors-foreground, $kss-colors-heading, 50%);
// font-size: 1em;
// }
//
// pre {
// white-space: pre;
// overflow: scroll;
// }
//
// ins {
// color: $kss-colors-heading;
// background: #ff9;
// text-decoration: none;
// }
//
// mark {
// color: $kss-colors-heading;
// background: #ff0;
// font-weight: bold;
// }
//
// sub, sup {
// font-size: 75%;
// line-height: 0;
// position: relative;
// vertical-align: baseline;
// }
// sup { top: -0.5em; }
// sub { bottom: -0.25em; }
//
// ul, ol {
// margin: $kss-vertical-rhythm 0;
// padding: 0 0 0 $kss-vertical-rhythm;
// }
// li p:last-child {
// margin: 0;
// }
// dd {
// margin: 0 0 0 $kss-vertical-rhythm;
// }
//
// img {
// max-width:100%;
// border: 0;
// -ms-interpolation-mode: bicubic;
// vertical-align: middle;
// }
//
// table {
// border-collapse: collapse;
// border-spacing: 0;
// }
// td {
// vertical-align: top;
// }
//
// @media print {
// a, a:visited { text-decoration: underline; }
// hr { height: 1px; border:0; border-bottom:1px solid black; }
// a[href]:after { content: " (" attr(href) ")"; }
// a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }
// abbr[title]:after { content: " (" attr(title) ")"; }
// pre, blockquote { border: 1px solid #999; padding-right: 1em; page-break-inside: avoid; }
// tr, img { page-break-inside: avoid; }
// img { max-width: 100% !important; }
// p, h2, h3 { orphans: 3; widows: 3; }
// h2, h3 { page-break-after: avoid; }
// }
// }
//
// // ------------------------------------------------------------------------------
// // Layout and page background
// // ------------------------------------------------------------------------------
//
// #kss-node {
// margin: 0;
// padding: 20px;
// background: #fff;
//
// &.kss-fullscreen-mode {
// .kss-sidebar,
// .kss-section:not(.is-fullscreen),
// .kss-github {
// display: none;
// }
// }
//
// @media screen and (min-width: 769px) {
// padding: 0;
//
// .kss-main,
// .kss-sidebar {
// float: left;
// margin-right: -100%;
// box-sizing: border-box;
// }
// }
//
// .kss-main {
// width: 100%;
// margin: 0 auto;
//
// @media screen and (min-width: 769px) {
// width: 80%;
// margin-left: 20%;
// padding: 0 20px 0 30px;
// }
// }
//
// .kss-sidebar {
// border-bottom:1px solid #ddd;
//
// @media screen and (min-width: 769px) {
// position: fixed;
// width: 20%;
// height: 100%;
// overflow: auto;
// padding: 0 10px 0 20px;
// border-bottom: 0;
// background-image: url(noise-low.png), -ms-radial-gradient(#fff, #eee);
// background-image: url(noise-low.png), -o-radial-gradient(#fff, #eee);
// background-image: url(noise-low.png), -webkit-radial-gradient(#fff, #eee);
// background-image: url(noise-low.png), radial-gradient(#fff, #eee);
// box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.7);
// }
// }
// }
//
// // ------------------------------------------------------------------------------
// // Sidebar-area components
// // ------------------------------------------------------------------------------
//
// #kss-node {
//
// .kss-doc-title {
// margin: 0;
//
// @media screen and (min-width: 769px) {
// font-size: 1.5em;
// }
// }
//
// .kss-header,
// .kss-nav {
// @media screen and (min-width: 769px) {
// margin-top: 2em;
// }
// }
//
// .kss-nav__menu {
// margin-top: ($kss-vertical-rhythm/2);
// margin-bottom: ($kss-vertical-rhythm/2);
// padding: 0;
// list-style-type: none;
// }
//
// .kss-nav__menu-item {
// display: inline-block;
// padding-right: $kss-vertical-rhythm;
//
// @media screen and (min-width: 769px) {
// display: list-item;
// padding-right: 0;
// }
// }
//
// .kss-nav__menu-link {
// position: relative;
// display: inline-block;
//
// &:before {
// @media screen and (min-width: 769px) {
// content: ' ';
// position: absolute;
// left: -20px;
// width: 0;
// height: 100%;
// background-color: rgba(#000, 0);
// }
// }
//
// &.is-in-viewport:before {
// background-color: #000;
// width: 5px;
// transition: background-color .4s, width .6s;
// }
// }
//
// .kss-nav__menu-child {
// display: none;
//
// @media screen and (min-width: 769px) {
// display: block;
// list-style-type: none;
// margin: 0;
// padding: 0;
//
// // @TODO: The ul is output even when there are no children. Fix this, so
// // we can put these :first-child and :last child styles back on the ul.
// li:first-child {
// margin-top: 10px;
// border-top: 1px solid #ccc;
// padding: 10px 0 0;
// }
//
// li:last-child {
// margin-bottom: 10px;
// border-bottom: 1px solid #ccc;
// padding: 0 0 10px;
// }
// }
// }
//
// .kss-nav__ref {
// color: #333;
// font-weight: bold;
//
// &:after {
// content: ' ';
// }
// }
// .kss-nav__ref-child {
// font-weight: normal;
// }
// }
//
// // ------------------------------------------------------------------------------
// // Content-area components
// // ------------------------------------------------------------------------------
//
// #kss-node {
//
// .kss-section {
// margin-bottom: ($kss-vertical-rhythm * 2);
//
// // "fullscreen" styles copied from Mozilla's default stylesheet.
// &.is-fullscreen {
// position: fixed !important;
// top: 0 !important;
// left: 0 !important;
// right: 0 !important;
// bottom: 0 !important;
// width: 100% !important;
// height: 100% !important;
// margin: 0 !important;
// min-width: 0 !important;
// max-width: none !important;
// min-height: 0 !important;
// max-height: none !important;
// box-sizing: border-box !important;
// object-fit: contain !important;
// transform: none !important;
// // Turn on scrolling if needed.
// overflow: auto !important;
// padding: 20px;
// }
// }
//
// .kss-title {
// margin-bottom: 0;
// }
// .is-fullscreen .kss-title {
// margin-top: 0;
// }
// .kss-title__ref {
// display: block;
// font-size: $kss-font-size;
// line-height: $kss-font-size;
// color: #666;
//
// &:before {
// content: 'Section ';
// }
// }
// .kss-title__permalink {
// display: block;
// color: #000;
// text-decoration: none;
//
// &:hover,
// &:focus,
// &:active {
// color: $kss-colors-link;
//
// @media screen and (min-width: 607px) {
// .kss-title__permalink-hash {
// display: inline;
// }
// }
// }
// }
// .kss-title__permalink-hash {
// display: none;
// color: #ccc;
// }
//
// .kss-toolbar {
// margin: 6px 0 24px;
// display: inline-block;
// border: 1px solid #eee;
// background-color: #f9f9f9;
// border-right-color: #e0e0e0;
// border-bottom-color: #e0e0e0;
// line-height: 1;
// padding: 3px;
//
// a {
// box-sizing: content-box;
// display: inline-block;
// width: 16px;
// height: 16px;
// padding: 3px;
// vertical-align: top;
// // Tooltip wrapper styles:
// position: relative;
// overflow: visible;
//
// + a {
// margin-left: 6px;
// }
//
// .kss-toolbar__icon-fill {
// fill: #ccc;
// }
//
// svg.on {
// display: none;
// }
//
// &:focus,
// &:hover {
// border-color: #000;
//
// .kss-toolbar__icon-fill {
// fill: #000;
// }
// }
// }
// }
// .kss-toolbar__tooltip {
// position: absolute;
// z-index: 1;
// display: inline-block;
// bottom: 100%;
// left: -10px;
// margin-bottom: 5px;
// border: solid 1px #666;
// padding: 8px 10px 6px;
// box-shadow: 2px 2px 2px rgba(0, 0, 0, .25);
// white-space: nowrap;
// color: #000;
// background: #fff;
// cursor: help;
// opacity: 0;
// transition: opacity 0.25s;
// // Visually hidden
// height: 1px;
// width: 1px;
// overflow: hidden;
// clip: rect(1px, 1px, 1px, 1px);
// word-wrap: normal;
//
// // Solid grey triangle.
// &:before,
// &:after {
// content: '';
// position: absolute;
// bottom: -8px;
// left: 15px;
// width: 0;
// height: 0;
// border-width: 7px 5px 0;
// border-color: #666 transparent;
// border-style: solid;
// }
//
// // White triangle knock-out.
// &:after {
// bottom: -6px;
// border-top-color: #fff;
// }
// }
// a:focus,
// a:hover {
// > .kss-toolbar__tooltip {
// opacity: 1;
// // Visually hidden off
// clip: auto;
// height: auto;
// width: auto;
// overflow: visible;
// }
// }
// .is-fullscreen .kss-toolbar a[data-kss-fullscreen],
// &.kss-guides-mode .kss-toolbar a[data-kss-guides],
// &.kss-markup-mode .kss-toolbar a[data-kss-markup] {
// border-color: #666;
// background-color: #666;
//
// .kss-toolbar__icon-fill {
// fill: #fff;
// }
//
// svg.on {
// display: block;
// }
//
// svg.off {
// display: none;
// }
// }
//
// .kss-parameters {
// display: table;
// list-style-type: none;
// margin-top: 0;
// margin-left: 0;
// padding-left: 0;
// }
// .kss-parameters__title {
// font-weight: bold;
// }
// .kss-parameters__item {
// display: table-row;
// }
// .kss-parameters__name {
// display: table-cell;
// padding-right: 20px;
// white-space: nowrap;
// }
// .kss-parameters__description {
// display: table-cell;
// }
// .kss-parameters__default-value code {
// white-space: nowrap;
// }
//
// .kss-modifier__wrapper {
// border: 1px solid #ccc;
// padding: 0 10px 10px;
// }
// .is-fullscreen .kss-modifier__wrapper {
// // Un-do padding on .kss-section.
// margin-left: -20px;
// margin-right: -20px;
// // Remove all padding on the wrapper
// padding-left: 0;
// padding-right: 0;
// border: none;
// }
// .kss-modifier__heading {
// margin: 0 -10px 10px -10px;
// padding: 10px;
// border-bottom: 1px solid #ccc;
// background-color: #eee;
// font-weight: bold;
// }
// .is-fullscreen .kss-modifier__heading {
// margin: 0 20px 10px;
// border: 1px solid #ccc;
// }
// .kss-modifier__default-name {
// font-weight: bold;
// margin-bottom: ($kss-vertical-rhythm / 2);
// }
// .is-fullscreen .kss-modifier__default-name {
// margin-left: 20px;
// margin-right: 20px;
// }
// .kss-modifier__name {
// float: left;
// padding-right: 10px;
// font-weight: bold;
// }
// .is-fullscreen .kss-modifier__name {
// margin-left: 20px;
// }
// .kss-modifier__description {
// margin-bottom: ($kss-vertical-rhythm / 2);
// }
// .is-fullscreen .kss-modifier__description {
// margin-right: 20px;
// }
// .kss-modifier__example {
// clear: left;
// border: 2px dashed transparent;
// position: relative; // Contain the example's absolute positioning.
// z-index: 0; // Establishes a local stacking context.
// margin: -2px -2px ($kss-vertical-rhythm - 2px);
//
// &:last-child {
// margin-bottom: 0;
// }
// }
// &.kss-guides-mode .kss-modifier__example,
// &.kss-guides-mode .kss-modifier__example-footer {
// &:before,
// &:after {
// z-index: -1;
// box-sizing: border-box;
// content: '';
// position: absolute;
// width: 5px;
// height: 5px;
// border: 2px solid #000;
// }
// }
// &.kss-guides-mode .kss-modifier__example {
// border-color: #000;
//
// &:before {
// top: -5px;
// left: -5px;
// border-top: 0;
// border-left: 0;
// }
// &:after {
// top: -5px;
// right: -5px;
// border-top: 0;
// border-right: 0;
// }
// }
// &.kss-guides-mode.kss-fullscreen-mode .kss-modifier__example {
// &:before {
// left: auto;
// right: 0;
// }
// &:after {
// right: auto;
// left: 0;
// }
// }
// .kss-modifier__example-footer {
// clear: both;
// }
// &.kss-guides-mode .kss-modifier__example-footer {
// &:before {
// bottom: -5px;
// left: -5px;
// border-bottom: 0;
// border-left: 0;
// }
// &:after {
// bottom: -5px;
// right: -5px;
// border-right: 0;
// border-bottom: 0;
// }
// }
// &.kss-guides-mode.kss-fullscreen-mode .kss-modifier__example-footer {
// &:before {
// left: auto;
// right: 0;
// }
// &:after {
// right: auto;
// left: 0;
// }
// }
//
// .kss-markup {
// margin: $kss-vertical-rhythm 0;
// border: 1px solid #ccc;
//
// &[open] summary {
// border-bottom: 1px solid #ccc;
// margin-bottom: 3px;
// }
//
// summary {
// padding-left: 10px;
// }
//
// pre {
// margin: 0;
// }
// }
//
// .kss-source {
// font-size: 80%;
// }
//
// .kss-github {
// display:none;
//
// @media screen and (min-width: 501px) {
// display: block;
// position: absolute;
// top: 0;
// right: 0;
// }
//
// img {
// border: 0;
// }
// }
//
// // ------------------------------------------------------------------------------
// // prettify.js styles
// // ------------------------------------------------------------------------------
//
// /* SPAN elements with the classes below are added by prettyprint. */
// .pln { color: #000 } /* plain text */
//
// .str { color: #080 } /* string content */
// .kwd { color: #008 } /* a keyword */
// .com { color: #800 } /* a comment */
// .typ { color: #606 } /* a type name */
// .lit { color: #066 } /* a literal value */
// /* punctuation, lisp open bracket, lisp close bracket */
// .pun, .opn, .clo { color: #660 }
// .tag { color: #008 } /* a markup tag name */
// .atn { color: #606 } /* a markup attribute name */
// .atv { color: #080 } /* a markup attribute value */
// .dec, .var { color: #606 } /* a declaration; a variable name */
// .fun { color: red } /* a function name */
//
// /* Use higher contrast and text-weight for printable form. */
// @media print, projection {
// .str { color: #060 }
// .kwd { color: #006; font-weight: bold }
// .com { color: #600; font-style: italic }
// .typ { color: #404; font-weight: bold }
// .lit { color: #044 }
// .pun, .opn, .clo { color: #440 }
// .tag { color: #006; font-weight: bold }
// .atn { color: #404 }
// .atv { color: #060 }
// }
//
// /* Specify class=linenums on a pre to get line numbering */
// ol.linenums {
// margin: 0;
// padding: 0 0 3px 0;
// list-style-type: none;
//
// li {
// min-height: $kss-vertical-rhythm;
// border-bottom: 1px solid #eee;
// padding: 0 10px;
// background: #fff;
//
// &:first-child {
// padding-top: 3px;
// }
// }
// /* Alternate shading for lines */
// li.L0,
// li.L2,
// li.L4,
// li.L6,
// li.L8 {
// background: #fcfcfc;
// }
// }
// }

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,147 @@
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
function ScrollSpy (wrapper, opt) {
this.doc = document;
this.wrapper = (typeof wrapper === 'string') ? this.doc.querySelector(wrapper) : wrapper;
this.nav = this.wrapper.querySelectorAll(opt.nav);
this.contents = [];
this.win = window;
this.winH = this.win.innerHeight;
this.className = opt.className;
this.callback = opt.callback;
this.init();
}
ScrollSpy.prototype.init = function () {
this.contents = this.getContents();
this.attachEvent();
};
ScrollSpy.prototype.getContents = function () {
var targetList = [];
for (var i = 0, max = this.nav.length; i < max; i++) {
var href = this.nav[i].href;
targetList.push(this.doc.getElementById(href.split('#')[1]));
}
return targetList;
};
ScrollSpy.prototype.attachEvent = function () {
this.win.addEventListener('load', (function () {
this.spy(this.callback);
}).bind(this));
var scrollingTimer;
this.win.addEventListener('scroll', (function () {
if (scrollingTimer) {
clearTimeout(scrollingTimer);
}
var _this = this;
scrollingTimer = setTimeout(function () {
_this.spy(_this.callback);
}, 10);
}).bind(this));
var resizingTimer;
this.win.addEventListener('resize', (function () {
if (resizingTimer) {
clearTimeout(resizingTimer);
}
var _this = this;
resizingTimer = setTimeout(function () {
_this.spy(_this.callback);
}, 10);
}).bind(this));
};
ScrollSpy.prototype.spy = function (cb) {
var elems = this.getElemsViewState();
this.markNav(elems);
if (typeof cb === 'function') {
cb(elems);
}
};
ScrollSpy.prototype.getElemsViewState = function () {
var elemsInView = [],
elemsOutView = [],
viewStatusList = [];
for (var i = 0, max = this.contents.length; i < max; i++) {
var currentContent = this.contents[i],
isInView = this.isInView(currentContent);
if (isInView) {
elemsInView.push(currentContent);
} else {
elemsOutView.push(currentContent);
}
viewStatusList.push(isInView);
}
return {
inView: elemsInView,
outView: elemsOutView,
viewStatusList: viewStatusList
};
};
ScrollSpy.prototype.isInView = function (el) {
var winH = this.winH,
scrollTop = this.doc.documentElement.scrollTop || this.doc.body.scrollTop,
scrollBottom = scrollTop + winH,
rect = el.getBoundingClientRect(),
elTop = rect.top + scrollTop,
elBottom = elTop + el.offsetHeight;
return (elTop < scrollBottom) && (elBottom > scrollTop);
};
ScrollSpy.prototype.markNav = function (elems) {
var navItems = this.nav,
isAlreadyMarked = false;
for (var i = 0, max = navItems.length; i < max; i++) {
if (elems.viewStatusList[i] && !isAlreadyMarked) {
isAlreadyMarked = true;
navItems[i].classList.add(this.className);
} else {
navItems[i].classList.remove(this.className);
}
}
};
module.exports = ScrollSpy;
},{}],2:[function(require,module,exports){
(function (global){
/**
* ScrollSpy
*
*/
var ScrollSpy = require('./modules/scrollspy');
global.ScrollSpy = module.exports = ScrollSpy;
}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
},{"./modules/scrollspy":1}]},{},[2]);

1252
styleguide/section-base.html Normal file

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,179 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Agaric</title>
<meta name="description" content="">
<meta name="generator" content="kss-node">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="./kss-assets/kss.css">
<link rel="stylesheet" href="../assets/css/agaric.css">
</head>
<body id="kss-node" >
<!-- kss-sidebar -->
<div class="kss-sidebar">
<header class="kss-sidebar__header">
<a class="kss-link" href="index.html">
<h1 class="kss-doc-title">Agaric</h1>
</a>
</header>
<nav class="kss-nav">
<ul class="kss-nav__menu">
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-componenet.html">
<!-- <span class="kss-nav__ref">1</span> -->
Componenet</a>
<!-- Design links stright to item tempplate -->
<ul class="kss-nav__menu-child">
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-componenet.html#kssref-componenet-hero">
<!-- <span class="kss-nav__ref">1.1</span> -->
Hero
</a>
</li>
</ul>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-base.html">
<!-- <span class="kss-nav__ref">2</span> -->
Base</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-layout.html">
<!-- <span class="kss-nav__ref">3</span> -->
Layout</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html">
<!-- <span class="kss-nav__ref">4</span> -->
Component</a>
<!-- Design links stright to item tempplate -->
</li>
</ul>
</nav>
</div>
<!-- kss-main -->
<div class="kss-main-wrap">
<article role="main" class="kss-main">
<!-- Section -->
<div id="" class="kss-section kss-section--depth-1 ">
<a name="kssref-componenet"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#componenet">Info</a>
<h1 class="kss-title">
<a class="kss-link" href="#kssref-componenet">1
Componenet
</a>
</>
<!-- Description -->
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="componenet" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#componenet">Close</a>
<!-- Source -->
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-componenet-hero"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#componenet-hero">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-componenet-hero">1.1
Hero
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extends Bulma hero.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<div class="kss-parameters__title">Parameters:</div>
<ul class="kss-parameters">
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.hero-main</code>
</div>
<div class="kss-parameters__description">
full image
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.hero-project</code>
</div>
<div class="kss-parameters__description">
large left image
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.hero-initiative</code>
</div>
<div class="kss-parameters__description">
medium left image
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.hero-person</code>
</div>
<div class="kss-parameters__description">
pers image with nav overlay
</div>
</li>
</ul>
<!-- Example -->
<div id="componenet-hero" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#componenet-hero">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.hero.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
</article>
</div>
<script src="../assets/js/jquery-3.2.1.min.js"></script>
<!-- Automatically built using <a href="https://github.com/kss-node/kss-node">kss-node</a>. -->
<script>
$(document).ready(function() {
$(".kss-code-toggle").on("click tap", function(e) {
e.preventDefault();
var url = $(this).attr('href')
var objRef = url.substring(url.indexOf('#') + 1);
$("#" + objRef).toggleClass('active');
});
});
</script>
</body>
</html>

View file

@ -0,0 +1,782 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Agaric</title>
<meta name="description" content="">
<meta name="generator" content="kss-node">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="./kss-assets/kss.css">
<link rel="stylesheet" href="../assets/css/agaric.css">
</head>
<body id="kss-node" >
<!-- kss-sidebar -->
<div class="kss-sidebar">
<header class="kss-sidebar__header">
<a class="kss-link" href="index.html">
<h1 class="kss-doc-title">Agaric</h1>
</a>
</header>
<nav class="kss-nav">
<ul class="kss-nav__menu">
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-componenet.html">
<!-- <span class="kss-nav__ref">1</span> -->
Componenet</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-base.html">
<!-- <span class="kss-nav__ref">2</span> -->
Base</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-layout.html">
<!-- <span class="kss-nav__ref">3</span> -->
Layout</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html">
<!-- <span class="kss-nav__ref">4</span> -->
Component</a>
<!-- Design links stright to item tempplate -->
<ul class="kss-nav__menu-child">
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-agaricons">
<!-- <span class="kss-nav__ref">4.1</span> -->
Agaricons
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-card-allow-linking-the-entire-object">
<!-- <span class="kss-nav__ref">4.2</span> -->
Card
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-carousel">
<!-- <span class="kss-nav__ref">4.3</span> -->
Carousel
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-footer">
<!-- <span class="kss-nav__ref">4.4</span> -->
Footer
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-iconlist">
<!-- <span class="kss-nav__ref">4.5</span> -->
Icon List
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-media">
<!-- <span class="kss-nav__ref">4.6</span> -->
Media
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-media-comment">
<!-- <span class="kss-nav__ref">4.6.1</span> -->
Comments
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-media-list">
<!-- <span class="kss-nav__ref">4.6.2</span> -->
Media List
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-navbar">
<!-- <span class="kss-nav__ref">4.7</span> -->
Navbar
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-pagination">
<!-- <span class="kss-nav__ref">4.8</span> -->
Pagination
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-related">
<!-- <span class="kss-nav__ref">4.9</span> -->
Related
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-tabs">
<!-- <span class="kss-nav__ref">4.10</span> -->
Tabs
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-teaser">
<!-- <span class="kss-nav__ref">4.11</span> -->
Teaser
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-tile">
<!-- <span class="kss-nav__ref">4.12</span> -->
Tile
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html#kssref-component-titlebar">
<!-- <span class="kss-nav__ref">4.13</span> -->
Titlebar
</a>
</li>
</ul>
</li>
</ul>
</nav>
</div>
<!-- kss-main -->
<div class="kss-main-wrap">
<article role="main" class="kss-main">
<!-- Section -->
<div id="" class="kss-section kss-section--depth-1 ">
<a name="kssref-component"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component">Info</a>
<h1 class="kss-title">
<a class="kss-link" href="#kssref-component">4
Component
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Custom structures.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric.scss</code>, line
49
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-agaricons"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-agaricons">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-agaricons">4.1
Agaricons
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extends Bulma icon classes.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-agaricons" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-agaricons">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.agaricons.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-card-allow-linking-the-entire-object"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-card-allow-linking-the-entire-object">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-card-allow-linking-the-entire-object">4.2
Card
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extension of the Bulma card componnet.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<div class="kss-parameters__title">Parameters:</div>
<ul class="kss-parameters">
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.card-project</code>
</div>
<div class="kss-parameters__description">
for projects, 50% image, text on the right
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.card-initiative</code>
</div>
<div class="kss-parameters__description">
for initiaitives, image on top
</div>
</li>
</ul>
<!-- Example -->
<div id="component-card-allow-linking-the-entire-object" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-card-allow-linking-the-entire-object">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.card.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-carousel"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-carousel">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-carousel">4.3
Carousel
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extension of <code>slick-theme.scss</code> from <a href="https://kenwheeler.github.io/slick/">Slick Carousel</a>.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-carousel" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-carousel">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.carousel.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-footer"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-footer">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-footer">4.4
Footer
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extends Bulma footer component.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-footer" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-footer">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.footer.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-iconlist"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-iconlist">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-iconlist">4.5
Icon List
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Lists with icons to the left. Extends the agaricons component.
You can select any icon in <code>_component.agaricons.scss</code></p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-iconlist" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-iconlist">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.iconlist.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-media"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-media">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-media">4.6
Media
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extends Bulma media object.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-media" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-media">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.media.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-3 ">
<a name="kssref-component-media-comment"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-media-comment">Info</a>
<h3 class="kss-title">
<a class="kss-link" href="#kssref-component-media-comment">4.6.1
Comments
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extends Bulma media object for use in blog comments.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-media-comment" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-media-comment">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.media.scss</code>, line
14
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-3 ">
<a name="kssref-component-media-list"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-media-list">Info</a>
<h3 class="kss-title">
<a class="kss-link" href="#kssref-component-media-list">4.6.2
Media List
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extends Bulma media object for use in blog teaser list.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-media-list" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-media-list">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.media.scss</code>, line
50
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-navbar"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-navbar">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-navbar">4.7
Navbar
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Customize Bulma navbar. Uses <a href="http://scrollmagic.io">ScrollMagic</a> to change
background colors for optimal legibility against various backgrounds.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-navbar" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-navbar">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.navbar.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-pagination"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-pagination">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-pagination">4.8
Pagination
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extend Bulma pagination.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-pagination" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-pagination">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.pagination.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-related"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-related">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-related">4.9
Related
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Block of three related items.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-related" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-related">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.related.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-tabs"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-tabs">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-tabs">4.10
Tabs
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extends Bulma Tabs component.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-tabs" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-tabs">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.tabs.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-teaser"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-teaser">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-teaser">4.11
Teaser
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Styles for teasers, typically lists of linked excerpts.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-teaser" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-teaser">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.teaser.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-tile"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-tile">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-tile">4.12
Tile
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extends Bulma Tile component.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="component-tile" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-tile">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.tile.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-component-titlebar"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#component-titlebar">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-component-titlebar">4.13
Titlebar
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Structure to title a section with the title to the left and links
to the right.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<div class="kss-parameters__title">Parameters:</div>
<ul class="kss-parameters">
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.titlebar-bigborder</code>
</div>
<div class="kss-parameters__description">
border at the top
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.titlebar-padded</code>
</div>
<div class="kss-parameters__description">
padding at the bottom
</div>
</li>
</ul>
<!-- Example -->
<div id="component-titlebar" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#component-titlebar">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_component.titlebar.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
</article>
</div>
<script src="../assets/js/jquery-3.2.1.min.js"></script>
<!-- Automatically built using <a href="https://github.com/kss-node/kss-node">kss-node</a>. -->
<script>
$(document).ready(function() {
$(".kss-code-toggle").on("click tap", function(e) {
e.preventDefault();
var url = $(this).attr('href')
var objRef = url.substring(url.indexOf('#') + 1);
$("#" + objRef).toggleClass('active');
});
});
</script>
</body>
</html>

View file

@ -0,0 +1,257 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Agaric</title>
<meta name="description" content="">
<meta name="generator" content="kss-node">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="./kss-assets/kss.css">
<link rel="stylesheet" href="../assets/css/agaric.css">
</head>
<body id="kss-node" >
<!-- kss-sidebar -->
<div class="kss-sidebar">
<header class="kss-sidebar__header">
<a class="kss-link" href="index.html">
<h1 class="kss-doc-title">Agaric</h1>
</a>
</header>
<nav class="kss-nav">
<ul class="kss-nav__menu">
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-componenet.html">
<!-- <span class="kss-nav__ref">1</span> -->
Componenet</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-base.html">
<!-- <span class="kss-nav__ref">2</span> -->
Base</a>
<!-- Design links stright to item tempplate -->
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-layout.html">
<!-- <span class="kss-nav__ref">3</span> -->
Layout</a>
<!-- Design links stright to item tempplate -->
<ul class="kss-nav__menu-child">
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-layout.html#kssref-layout-columns">
<!-- <span class="kss-nav__ref">3.1</span> -->
Columns
</a>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-layout.html#kssref-layout-flow">
<!-- <span class="kss-nav__ref">3.2</span> -->
Flow Layout
</a>
</li>
</ul>
</li>
<li class="kss-nav__menu-item">
<a class="kss-nav__menu-link" href="section-component.html">
<!-- <span class="kss-nav__ref">4</span> -->
Component</a>
<!-- Design links stright to item tempplate -->
</li>
</ul>
</nav>
</div>
<!-- kss-main -->
<div class="kss-main-wrap">
<article role="main" class="kss-main">
<!-- Section -->
<div id="" class="kss-section kss-section--depth-1 ">
<a name="kssref-layout"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#layout">Info</a>
<h1 class="kss-title">
<a class="kss-link" href="#kssref-layout">3
Layout
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Styling that determines the position of content on the page.</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<!-- Example -->
<div id="layout" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#layout">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric.scss</code>, line
37
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-layout-columns"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#layout-columns">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-layout-columns">3.1
Columns
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Extends Bulma Columns</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<div class="kss-parameters__title">Parameters:</div>
<ul class="kss-parameters">
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.is-equal-height</code>
</div>
<div class="kss-parameters__description">
equal height child lements
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.is-centered-vert</code>
</div>
<div class="kss-parameters__description">
vertical center child content
</div>
</li>
</ul>
<!-- Example -->
<div id="layout-columns" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#layout-columns">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_layout.columns.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
<!-- Section -->
<section id="" class="kss-section kss-section--depth-2 ">
<a name="kssref-layout-flow"></a>
<div class="kss-pattern"><!-- kss-pattern -->
<!-- Header -->
<div class="kss-pattern__header"><!-- kss-pattern__header -->
<a class="kss-code-toggle" href="#layout-flow">Info</a>
<h2 class="kss-title">
<a class="kss-link" href="#kssref-layout-flow">3.2
Flow Layout
</a>
</>
<!-- Description -->
<div class="kss-description">
<p>Flow layouts are intended for use with the Drupal Paragraphs module</p>
</div>
</div><!-- kss-pattern__header -->
<!-- Parameters -->
<div class="kss-parameters__title">Parameters:</div>
<ul class="kss-parameters">
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.flow-thirds</code>
</div>
<div class="kss-parameters__description">
add to parent element, use three columns
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.flow_middle</code>
</div>
<div class="kss-parameters__description">
center column (default)
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.flow_left</code>
</div>
<div class="kss-parameters__description">
float to left column
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.flow_right</code>
</div>
<div class="kss-parameters__description">
float to right column
</div>
</li>
<li class="kss-parameters__item">
<div class="kss-parameters__name">
<code>.flow_full</code>
</div>
<div class="kss-parameters__description">
full-width column
</div>
</li>
</ul>
<!-- Example -->
<div id="layout-flow" class="kss-pattern-code"><!-- kss-pattern-code -->
<a class="kss-code-toggle" href="#layout-flow">Close</a>
<!-- Source -->
<div class="kss-source kss-style">
<b>Source</b><br>
<code>agaric/_layout.flow.scss</code>, line
1
</div>
<!-- Markup -->
</div><!-- kss-pattern-code -->
</div><!-- kss-pattern -->
</>
</article>
</div>
<script src="../assets/js/jquery-3.2.1.min.js"></script>
<!-- Automatically built using <a href="https://github.com/kss-node/kss-node">kss-node</a>. -->
<script>
$(document).ready(function() {
$(".kss-code-toggle").on("click tap", function(e) {
e.preventDefault();
var url = $(this).attr('href')
var objRef = url.substring(url.indexOf('#') + 1);
$("#" + objRef).toggleClass('active');
});
});
</script>
</body>
</html>