2017-06-15 10:41:44 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<link rel="canonical" href="{{ .Permalink }}">
|
2017-07-04 12:46:56 +02:00
|
|
|
<link rel="apple-touch-icon" sizes="57x57" href="/images/apple-icon-57x57.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="60x60" href="/images/apple-icon-60x60.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="72x72" href="/images/apple-icon-72x72.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="76x76" href="/images/apple-icon-76x76.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="114x114" href="/images/apple-icon-114x114.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="120x120" href="/images/apple-icon-120x120.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="144x144" href="/images/apple-icon-144x144.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="152x152" href="/images/apple-icon-152x152.png">
|
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-icon-180x180.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="192x192" href="/images/android-icon-192x192.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="96x96" href="/images/favicon-96x96.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
|
|
|
|
<meta name="msapplication-TileColor" content="#ffffff">
|
|
|
|
<meta name="msapplication-TileImage" content="/images/ms-icon-144x144.png">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
2017-08-01 19:18:28 +02:00
|
|
|
<link href="https://fonts.googleapis.com/css?family=PT+Sans:400,400i,700" rel="stylesheet" media="none" onload="this.media='all';">
|
2017-08-01 12:26:36 +02:00
|
|
|
<link rel="stylesheet" href="{{ "css/prism.css" | absURL }}">
|
2017-07-12 16:20:00 +02:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ "css/styles.css" | absURL }}">
|
2017-07-30 17:47:07 +02:00
|
|
|
<script src="{{ "js/webcomponents.js" | absURL }}"></script>
|
2017-06-15 10:41:44 +02:00
|
|
|
<title>
|
|
|
|
{{ block "title" . }}
|
|
|
|
{{ .Title }} | {{ .Site.Title }}
|
|
|
|
{{ end }}
|
|
|
|
</title>
|
2017-08-01 16:08:15 +02:00
|
|
|
{{ if .IsHome }}
|
|
|
|
<link rel="manifest" href="manifest.json">
|
|
|
|
{{ end }}
|
2017-06-15 10:41:44 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2017-07-29 23:16:36 +02:00
|
|
|
{{ if ne .Type "print-version" }}
|
2017-07-29 11:18:45 +02:00
|
|
|
<a href="#main">skip to content</a>
|
|
|
|
{{ end }}
|
2017-06-19 11:40:21 +02:00
|
|
|
{{ partial "svg.html" . }}
|
2017-07-29 23:16:36 +02:00
|
|
|
<div class="wrapper {{ if eq .Type "print-version" }}print-version{{ end }}">
|
2017-07-29 11:18:45 +02:00
|
|
|
<header class="intro-and-nav" role="banner">
|
|
|
|
<div>
|
|
|
|
<div class="intro">
|
|
|
|
<a class="logo" href="/" aria-label="{{ .Site.Title }} pattern library home page">
|
2017-08-02 19:00:38 +02:00
|
|
|
<img src="{{ "images/logo.svg" | absURL }}" alt="">
|
2017-07-29 11:18:45 +02:00
|
|
|
</a>
|
2017-07-30 11:57:22 +02:00
|
|
|
<p class="library-desc">
|
|
|
|
{{ .Site.Params.Description | markdownify }}
|
|
|
|
{{ if ne .Type "print-version" }}
|
|
|
|
<a class="print" href="{{ "print-version" | absURL }}">
|
|
|
|
<svg viewBox="0 0 50 50" aria-hidden="true">
|
|
|
|
<g transform="translate(-25.001 -1002.4)">
|
|
|
|
<path style="fill:#1a1a1a" d="m42.85 1008.1c-1.5847 0-2.8605 1.2758-2.8605 2.8605v7.1513h-8.5815c-1.5847 0-2.8605 1.2758-2.8605 2.8605v15.733c0 1.5847 1.2758 2.8605 2.8605 2.8605h8.9419v4.2908c0 1.5847 1.2758 2.8605 2.8605 2.8605h14.272c1.5847 0 2.8605-1.2758 2.8605-2.8605v-4.2908h8.2519c1.5847 0 2.8605-1.2758 2.8605-2.8605v-15.733c0-1.5847-1.2758-2.8605-2.8605-2.8605h-8.2519v-7.1513c0-1.5847-1.2758-2.8605-2.8605-2.8605h-14.632zm3.1147 3.0645h8.5815c1.5847 0 2.8119 1.2765 2.8605 2.8605l.12849 4.1623-14.303-.1259-.12849-4.0366c0-1.5847 1.2758-2.8605 2.8605-2.8605zm20.772 9.8078a2.0368 2.1326 0 0 1 .54472 .064 2.0368 2.1326 0 0 1 1.4833 2.5839l-.0029.014a2.0368 2.1326 0 0 1 -2.4749 1.542 2.0368 2.1326 0 0 1 -1.4749 -2.5895 2.0368 2.1326 0 0 1 1.9247 -1.6119zm-23.633 14.199h14.303v5.8243c0 1.5847-1.2758 2.8605-2.8605 2.8605h-8.5815c-1.5847 0-2.8605-1.2758-2.8605-2.8605v-5.8243zm3.5756 1.8939c-.39618 0-.71512.319-.71512.7152s.31895.7151.71512.7151h7.1513c.39618 0 .71512-.3189.71512-.7151s-.31895-.7152-.71512-.7152h-7.1513zm0 2.8605c-.39618 0-.71512.319-.71512.7152s.31895.7151.71512.7151h7.1513c.39618 0 .71512-.3189.71512-.7151s-.31895-.7152-.71512-.7152h-7.1513z"/>
|
|
|
|
</g>
|
|
|
|
</svg>Print version
|
|
|
|
{{ end }}
|
|
|
|
</a>
|
|
|
|
</p>
|
2017-07-29 23:16:36 +02:00
|
|
|
{{ if eq .Type "print-version" }}
|
2017-08-02 22:37:50 +02:00
|
|
|
<p class="toc-link"><a href="#toc">Table of contents</a> <span aria-hidden="true">⇩</span></p>
|
2017-07-29 11:18:45 +02:00
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
{{ block "nav" . }}
|
|
|
|
<nav id="patterns-nav" class="patterns" role="navigation">
|
|
|
|
<button id="menu-button" aria-expanded="false">
|
2017-08-03 13:16:24 +02:00
|
|
|
<svg viewBox="0 0 50 50" width="50" height="50" focusable="false">
|
2017-07-29 11:18:45 +02:00
|
|
|
<use xlink:href="#menu"></use>
|
|
|
|
</svg>
|
|
|
|
Menu
|
|
|
|
</button>
|
|
|
|
{{ $current := . }}
|
|
|
|
{{ range $.Site.Home.Sections }}
|
|
|
|
<ul id="patterns-list">
|
|
|
|
{{ range .Pages.ByWeight }}
|
|
|
|
<li class="pattern">
|
|
|
|
<a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
|
2017-08-03 13:16:24 +02:00
|
|
|
<svg class="bookmark-icon" aria-hidden="true" focusable="false" viewBox="0 0 40 50">
|
|
|
|
<use xlink:href="#bookmark"></use>
|
|
|
|
</svg>
|
2017-07-29 11:18:45 +02:00
|
|
|
<span class="text">{{ .Title }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
{{ range .Sections.ByWeight }}
|
|
|
|
<li>
|
|
|
|
<h3>{{ .Title }}</h3>
|
|
|
|
<ul>
|
|
|
|
{{ range .Pages.ByWeight }}
|
|
|
|
<li class="pattern">
|
|
|
|
<a href="{{ .RelPermalink }}" {{ if eq $current.Title .Title }}aria-current="page"{{ end }}>
|
2017-08-03 13:16:24 +02:00
|
|
|
<svg class="bookmark-icon" aria-hidden="true" viewBox="0 0 40 50" focusable="false">
|
|
|
|
<use xlink:href="#bookmark"></use>
|
|
|
|
</svg>
|
2017-07-29 11:18:45 +02:00
|
|
|
<span class="text">{{ .Title }}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
2017-06-15 10:41:44 +02:00
|
|
|
{{ end }}
|
2017-07-29 11:18:45 +02:00
|
|
|
</nav>
|
2017-06-15 10:41:44 +02:00
|
|
|
{{ end }}
|
2017-07-29 11:18:45 +02:00
|
|
|
</div>
|
|
|
|
</header>
|
2017-06-15 10:41:44 +02:00
|
|
|
<div class="main-and-footer">
|
|
|
|
<div>
|
|
|
|
{{ block "main" . }}
|
|
|
|
{{ end }}
|
|
|
|
<footer role="contentinfo">
|
2017-07-13 20:05:53 +02:00
|
|
|
Powered by <strong>Infusion</strong>, a <strong>The Paciello Group</strong> project.<br>
|
2017-07-11 17:24:52 +02:00
|
|
|
For general enquiries, contact us on info@paciellogroup.com.
|
2017-06-15 10:41:44 +02:00
|
|
|
</footer>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-07-30 17:47:07 +02:00
|
|
|
<script src="{{ "js/prism.js" | absURL }}"></script>
|
|
|
|
<script src="{{ "js/dom-scripts.js" | absURL }}"></script>
|
2017-07-11 17:24:52 +02:00
|
|
|
{{ if .Page.IsHome }}
|
2017-07-12 16:20:00 +02:00
|
|
|
<script src="{{ "js/service-worker-registration.js" | absURL }}"></script>
|
2017-07-11 17:24:52 +02:00
|
|
|
{{ end }}
|
2017-06-15 10:41:44 +02:00
|
|
|
</body>
|
|
|
|
</html>
|