bootstrap sample page
This commit is contained in:
parent
feeb56aa45
commit
d6bd27c51a
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
build
|
@ -1,6 +1,6 @@
|
|||||||
+++
|
+++
|
||||||
Layout = "page"
|
Layout = "page"
|
||||||
Title = "Goldsmith Test Page"
|
Title = "Goldsmith Sample"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
## Depositura amari
|
## Depositura amari
|
||||||
|
16
bootstrap/layouts/breadcrumbs.html
Normal file
16
bootstrap/layouts/breadcrumbs.html
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{{define "breadcrumbs"}}
|
||||||
|
{{if and .Meta.CrumbParent .Meta.Crumbs}}
|
||||||
|
<div>
|
||||||
|
<nav class="breadcrumb">
|
||||||
|
{{range .Meta.Crumbs.Ancestors}}
|
||||||
|
<a href="/{{.File.Path}}" class="breadcrumb-item">{{.File.Meta.Title}}</a>
|
||||||
|
{{end}}
|
||||||
|
{{if .Meta.Title}}
|
||||||
|
<span class="breadcrumb-item active">{{.Meta.Title}}</span>
|
||||||
|
{{else if eq .Meta.Layout "tag"}}
|
||||||
|
<span class="breadcrumb-item active">Tagged “{{.Meta.Tags.Index}}”</span>
|
||||||
|
{{end}}
|
||||||
|
</nav>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
{{end}}
|
9
bootstrap/layouts/cloud.html
Normal file
9
bootstrap/layouts/cloud.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{{define "cloud"}}
|
||||||
|
{{if .Meta.TagState.Tags}}
|
||||||
|
<div>
|
||||||
|
{{range .Meta.TagState.Tags}}
|
||||||
|
<a class="badge badge-default" href="/{{(index $.Meta.TagState.Info .).Path}}">{{.}}</a>
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
{{end}}
|
66
bootstrap/layouts/content.html
Normal file
66
bootstrap/layouts/content.html
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
{{define "page"}}
|
||||||
|
{{template "header" .}}
|
||||||
|
{{template "navbar" .}}
|
||||||
|
{{template "github" .}}
|
||||||
|
<div class="container">
|
||||||
|
<h1>
|
||||||
|
{{.Meta.Title}}
|
||||||
|
{{if .Meta.SubTitle}}
|
||||||
|
<small>{{.Meta.SubTitle}}</small>
|
||||||
|
{{end}}
|
||||||
|
</h1>
|
||||||
|
{{template "cloud" .}}
|
||||||
|
<hr>
|
||||||
|
{{.Meta.Content}}
|
||||||
|
{{template "breadcrumbs" .}}
|
||||||
|
</div>
|
||||||
|
{{template "footer" .}}
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{define "tag"}}
|
||||||
|
{{template "header" .}}
|
||||||
|
{{template "navbar" .}}
|
||||||
|
<div class="container">
|
||||||
|
<h1>Tagged “{{.Meta.Tags.Index}}”</h1>
|
||||||
|
<hr>
|
||||||
|
<ul>
|
||||||
|
{{range (index .Meta.Tags.Info .Meta.Tags.Index).Files}}
|
||||||
|
<li><a href="/{{.Path}}">{{.Meta.Title}}</a></li>
|
||||||
|
{{end}}
|
||||||
|
</ul>
|
||||||
|
{{template "breadcrumbs" .}}
|
||||||
|
</div>
|
||||||
|
{{template "footer" .}}
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{define "tags"}}
|
||||||
|
{{template "header" .}}
|
||||||
|
{{template "navbar" .}}
|
||||||
|
<div class="container">
|
||||||
|
<h1>Tags</h1>
|
||||||
|
<hr>
|
||||||
|
<ul>
|
||||||
|
{{range $key, $value := .Meta.TagState.Info}}
|
||||||
|
<li><a href="/{{(index $.Meta.TagState.Info $key).Path}}">{{$key}}</a> ({{len $value.Files}})</li>
|
||||||
|
{{end}}
|
||||||
|
</ul>
|
||||||
|
{{template "breadcrumbs" .}}
|
||||||
|
</div>
|
||||||
|
{{template "footer" .}}
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{define "index"}}
|
||||||
|
{{template "header" .}}
|
||||||
|
{{template "navbar" .}}
|
||||||
|
<div class="container">
|
||||||
|
<h1>Index of /{{.Dir}}</h1>
|
||||||
|
<ul class="list-unstyled">
|
||||||
|
{{range .Meta.Files}}
|
||||||
|
{{if .IsDir}}<strong>{{end}}
|
||||||
|
<li><a href="/{{.Path}}">{{.Name}}</a></li>
|
||||||
|
{{if .IsDir}}</strong>{{end}}
|
||||||
|
{{end}}
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
{{template "footer" .}}
|
||||||
|
{{end}}
|
13
bootstrap/layouts/github.html
Normal file
13
bootstrap/layouts/github.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{{define "github"}}
|
||||||
|
{{if .Meta.GitHub}}
|
||||||
|
<div>
|
||||||
|
<a href="https://github.com/FooSoft/{{.Meta.GitHub}}" class="github-corner">
|
||||||
|
<svg width="80" height="80" viewBox="0 0 250 250">
|
||||||
|
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
|
||||||
|
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
|
||||||
|
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
{{end}}
|
||||||
|
{{end}}
|
50
bootstrap/layouts/outer.html
Normal file
50
bootstrap/layouts/outer.html
Normal file
@ -0,0 +1,50 @@
|
|||||||
|
{{define "header"}}
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" href="/lib/bootstrap/css/bootstrap.min.css">
|
||||||
|
<link rel="stylesheet" href="/lib/tether/css/tether.min.css">
|
||||||
|
<link rel="stylesheet" href="/lib/tether/css/tether-theme-basic.min.css">
|
||||||
|
<link rel="stylesheet" href="/lib/lightbox/ekko-lightbox.min.css">
|
||||||
|
<link rel="stylesheet" href="/main.css">
|
||||||
|
{{if .Meta.Title}}
|
||||||
|
<title>Goldsmith Sample - {{.Meta.Title}}</title>
|
||||||
|
{{else if eq .Meta.Layout "tag"}}
|
||||||
|
<title>Goldsmith Sample - Tagged "{{.Meta.Tags.Index}}"</title>
|
||||||
|
{{else if eq .Meta.Layout "index"}}
|
||||||
|
<title>Goldsmith Sample - Index of /{{.Dir}}</title>
|
||||||
|
{{end}}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{define "navbar"}}
|
||||||
|
<nav class="navbar navbar-toggleable-md navbar-inverse bg-inverse fixed-top">
|
||||||
|
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<a class="navbar-brand" href="/">Goldsmith Sample</a>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
|
||||||
|
<div class="navbar-nav">
|
||||||
|
{{$area := .Meta.Area}}
|
||||||
|
<a class="nav-item nav-link {{if $area}}{{if eq $area "home"}}active{{end}}{{end}}" href="/">Home</a>
|
||||||
|
<a class="nav-item nav-link {{if $area}}{{if eq $area "portfolio"}}active{{end}}{{end}}" href="/portfolio/">Portfolio</a>
|
||||||
|
<a class="nav-item nav-link {{if $area}}{{if eq $area "projects"}}active{{end}}{{end}}" href="/projects/">Projects</a>
|
||||||
|
<a class="nav-item nav-link {{if $area}}{{if eq $area "tags"}}active{{end}}{{end}}" href="/tags/">Tags</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
{{end}}
|
||||||
|
|
||||||
|
{{define "footer"}}
|
||||||
|
<script src="/lib/jquery.min.js"></script>
|
||||||
|
<script src="/lib/tether/js/tether.min.js"></script>
|
||||||
|
<script src="/lib/bootstrap/js/bootstrap.min.js"></script>
|
||||||
|
<script src="/lib/lightbox/ekko-lightbox.min.js"></script>
|
||||||
|
<script src="/main.js"></script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
{{end}}
|
122
bootstrap/main.go
Normal file
122
bootstrap/main.go
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2015 Alex Yatskov <alex@foosoft.net>
|
||||||
|
* Author: Alex Yatskov <alex@foosoft.net>
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
* this software and associated documentation files (the "Software"), to deal in
|
||||||
|
* the Software without restriction, including without limitation the rights to
|
||||||
|
* use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
* the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
* subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
* FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
* COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package main
|
||||||
|
|
||||||
|
import (
|
||||||
|
"log"
|
||||||
|
|
||||||
|
"github.com/FooSoft/goldsmith"
|
||||||
|
"github.com/FooSoft/goldsmith-devserver"
|
||||||
|
"github.com/FooSoft/goldsmith-plugins/breadcrumbs"
|
||||||
|
"github.com/FooSoft/goldsmith-plugins/frontmatter"
|
||||||
|
"github.com/FooSoft/goldsmith-plugins/index"
|
||||||
|
"github.com/FooSoft/goldsmith-plugins/layout"
|
||||||
|
"github.com/FooSoft/goldsmith-plugins/markdown"
|
||||||
|
"github.com/FooSoft/goldsmith-plugins/syntax"
|
||||||
|
"github.com/FooSoft/goldsmith-plugins/tags"
|
||||||
|
"github.com/FooSoft/goldsmith-plugins/thumbnail"
|
||||||
|
"github.com/PuerkitoBio/goquery"
|
||||||
|
"github.com/russross/blackfriday"
|
||||||
|
)
|
||||||
|
|
||||||
|
type fixup struct{}
|
||||||
|
|
||||||
|
func (*fixup) Name() string {
|
||||||
|
return "fixup"
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*fixup) Initialize(ctx goldsmith.Context) ([]string, error) {
|
||||||
|
return []string{"**/*.html", "**/*.htm"}, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*fixup) Process(ctx goldsmith.Context, f goldsmith.File) error {
|
||||||
|
doc, err := goquery.NewDocumentFromReader(f)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
doc.Find("table").AddClass("table")
|
||||||
|
doc.Find("blockquote").AddClass("blockquote")
|
||||||
|
doc.Find("img[src*='thumb']").Each(func(i int, s *goquery.Selection) {
|
||||||
|
thumbLink := s.ParentFiltered("a")
|
||||||
|
thumbLink.AddClass("img-thumbnail", "img-thumbnail-inline")
|
||||||
|
thumbLink.SetAttr("data-title", s.AttrOr("alt", ""))
|
||||||
|
thumbLink.SetAttr("data-toggle", "lightbox")
|
||||||
|
thumbLink.SetAttr("data-gallery", "gallery")
|
||||||
|
})
|
||||||
|
|
||||||
|
html, err := doc.Html()
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
|
nf := goldsmith.NewFileFromData(f.Path(), []byte(html))
|
||||||
|
nf.CopyValues(f)
|
||||||
|
ctx.DispatchFile(nf)
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
|
||||||
|
type builder struct{}
|
||||||
|
|
||||||
|
func (b *builder) Build(srcDir, dstDir string) {
|
||||||
|
tagMeta := map[string]interface{}{
|
||||||
|
"Area": "tags",
|
||||||
|
"CrumbParent": "tags",
|
||||||
|
"Layout": "tag",
|
||||||
|
}
|
||||||
|
|
||||||
|
indexMeta := map[string]interface{}{
|
||||||
|
"Layout": "index",
|
||||||
|
}
|
||||||
|
|
||||||
|
markdownFlags := blackfriday.EXTENSION_TABLES |
|
||||||
|
blackfriday.EXTENSION_FENCED_CODE |
|
||||||
|
blackfriday.EXTENSION_AUTOLINK |
|
||||||
|
blackfriday.EXTENSION_STRIKETHROUGH |
|
||||||
|
blackfriday.EXTENSION_SPACE_HEADERS |
|
||||||
|
blackfriday.EXTENSION_HEADER_IDS |
|
||||||
|
blackfriday.EXTENSION_BACKSLASH_LINE_BREAK |
|
||||||
|
blackfriday.EXTENSION_DEFINITION_LISTS |
|
||||||
|
blackfriday.EXTENSION_NO_EMPTY_LINE_BEFORE_BLOCK |
|
||||||
|
blackfriday.EXTENSION_AUTO_HEADER_IDS
|
||||||
|
|
||||||
|
errs := goldsmith.Begin(srcDir).
|
||||||
|
Chain(frontmatter.New()).
|
||||||
|
Chain(markdown.New().MarkdownFlags(markdownFlags)).
|
||||||
|
Chain(index.New(indexMeta)).
|
||||||
|
Chain(tags.New().IndexMeta(tagMeta)).
|
||||||
|
Chain(breadcrumbs.New()).
|
||||||
|
Chain(layout.New("layouts/*.html")).
|
||||||
|
Chain(syntax.New().Placement(syntax.PlaceInline)).
|
||||||
|
Chain(new(fixup)).
|
||||||
|
Chain(thumbnail.New()).
|
||||||
|
End(dstDir)
|
||||||
|
|
||||||
|
for _, err := range errs {
|
||||||
|
log.Print(err)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
devserver.DevServe(new(builder), 8080, "src", "build", "layouts")
|
||||||
|
}
|
7
bootstrap/src/index.md
Normal file
7
bootstrap/src/index.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
+++
|
||||||
|
Area = "home"
|
||||||
|
CrumbName = "home"
|
||||||
|
Layout = "page"
|
||||||
|
Title = "Home"
|
||||||
|
+++
|
||||||
|
|
1339
bootstrap/src/lib/bootstrap/css/bootstrap-grid.css
vendored
Normal file
1339
bootstrap/src/lib/bootstrap/css/bootstrap-grid.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
bootstrap/src/lib/bootstrap/css/bootstrap-grid.css.map
Normal file
1
bootstrap/src/lib/bootstrap/css/bootstrap-grid.css.map
Normal file
File diff suppressed because one or more lines are too long
1
bootstrap/src/lib/bootstrap/css/bootstrap-grid.min.css
vendored
Normal file
1
bootstrap/src/lib/bootstrap/css/bootstrap-grid.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
459
bootstrap/src/lib/bootstrap/css/bootstrap-reboot.css
vendored
Normal file
459
bootstrap/src/lib/bootstrap/css/bootstrap-reboot.css
vendored
Normal file
@ -0,0 +1,459 @@
|
|||||||
|
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
|
||||||
|
html {
|
||||||
|
font-family: sans-serif;
|
||||||
|
line-height: 1.15;
|
||||||
|
-ms-text-size-adjust: 100%;
|
||||||
|
-webkit-text-size-adjust: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
article,
|
||||||
|
aside,
|
||||||
|
footer,
|
||||||
|
header,
|
||||||
|
nav,
|
||||||
|
section {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 2em;
|
||||||
|
margin: 0.67em 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
figcaption,
|
||||||
|
figure,
|
||||||
|
main {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 1em 40px;
|
||||||
|
}
|
||||||
|
|
||||||
|
hr {
|
||||||
|
-webkit-box-sizing: content-box;
|
||||||
|
box-sizing: content-box;
|
||||||
|
height: 0;
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
font-family: monospace, monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
background-color: transparent;
|
||||||
|
-webkit-text-decoration-skip: objects;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:active,
|
||||||
|
a:hover {
|
||||||
|
outline-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
abbr[title] {
|
||||||
|
border-bottom: none;
|
||||||
|
text-decoration: underline;
|
||||||
|
text-decoration: underline dotted;
|
||||||
|
}
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
b,
|
||||||
|
strong {
|
||||||
|
font-weight: bolder;
|
||||||
|
}
|
||||||
|
|
||||||
|
code,
|
||||||
|
kbd,
|
||||||
|
samp {
|
||||||
|
font-family: monospace, monospace;
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
dfn {
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
mark {
|
||||||
|
background-color: #ff0;
|
||||||
|
color: #000;
|
||||||
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
font-size: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub,
|
||||||
|
sup {
|
||||||
|
font-size: 75%;
|
||||||
|
line-height: 0;
|
||||||
|
position: relative;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub {
|
||||||
|
bottom: -0.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
sup {
|
||||||
|
top: -0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
audio,
|
||||||
|
video {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
audio:not([controls]) {
|
||||||
|
display: none;
|
||||||
|
height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
border-style: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
svg:not(:root) {
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
input,
|
||||||
|
optgroup,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 100%;
|
||||||
|
line-height: 1.15;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
input {
|
||||||
|
overflow: visible;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
select {
|
||||||
|
text-transform: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
button,
|
||||||
|
html [type="button"],
|
||||||
|
[type="reset"],
|
||||||
|
[type="submit"] {
|
||||||
|
-webkit-appearance: button;
|
||||||
|
}
|
||||||
|
|
||||||
|
button::-moz-focus-inner,
|
||||||
|
[type="button"]::-moz-focus-inner,
|
||||||
|
[type="reset"]::-moz-focus-inner,
|
||||||
|
[type="submit"]::-moz-focus-inner {
|
||||||
|
border-style: none;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:-moz-focusring,
|
||||||
|
[type="button"]:-moz-focusring,
|
||||||
|
[type="reset"]:-moz-focusring,
|
||||||
|
[type="submit"]:-moz-focusring {
|
||||||
|
outline: 1px dotted ButtonText;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
border: 1px solid #c0c0c0;
|
||||||
|
margin: 0 2px;
|
||||||
|
padding: 0.35em 0.625em 0.75em;
|
||||||
|
}
|
||||||
|
|
||||||
|
legend {
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
color: inherit;
|
||||||
|
display: table;
|
||||||
|
max-width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
progress {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: baseline;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="checkbox"],
|
||||||
|
[type="radio"] {
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="number"]::-webkit-inner-spin-button,
|
||||||
|
[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="search"] {
|
||||||
|
-webkit-appearance: textfield;
|
||||||
|
outline-offset: -2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
[type="search"]::-webkit-search-cancel-button,
|
||||||
|
[type="search"]::-webkit-search-decoration {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-file-upload-button {
|
||||||
|
-webkit-appearance: button;
|
||||||
|
font: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
details,
|
||||||
|
menu {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
summary {
|
||||||
|
display: list-item;
|
||||||
|
}
|
||||||
|
|
||||||
|
canvas {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
template {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
[hidden] {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
-webkit-box-sizing: border-box;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
|
||||||
|
*,
|
||||||
|
*::before,
|
||||||
|
*::after {
|
||||||
|
-webkit-box-sizing: inherit;
|
||||||
|
box-sizing: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-ms-viewport {
|
||||||
|
width: device-width;
|
||||||
|
}
|
||||||
|
|
||||||
|
html {
|
||||||
|
-ms-overflow-style: scrollbar;
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
||||||
|
font-size: 1rem;
|
||||||
|
font-weight: normal;
|
||||||
|
line-height: 1.5;
|
||||||
|
color: #292b2c;
|
||||||
|
background-color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
[tabindex="-1"]:focus {
|
||||||
|
outline: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1, h2, h3, h4, h5, h6 {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
abbr[title],
|
||||||
|
abbr[data-original-title] {
|
||||||
|
cursor: help;
|
||||||
|
}
|
||||||
|
|
||||||
|
address {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
font-style: normal;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol,
|
||||||
|
ul,
|
||||||
|
dl {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
ol ol,
|
||||||
|
ul ul,
|
||||||
|
ol ul,
|
||||||
|
ul ol {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
dt {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
dd {
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #0275d8;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:focus, a:hover {
|
||||||
|
color: #014c8c;
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):not([tabindex]) {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:not([href]):not([tabindex]):focus {
|
||||||
|
outline: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
figure {
|
||||||
|
margin: 0 0 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
[role="button"] {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
|
a,
|
||||||
|
area,
|
||||||
|
button,
|
||||||
|
[role="button"],
|
||||||
|
input,
|
||||||
|
label,
|
||||||
|
select,
|
||||||
|
summary,
|
||||||
|
textarea {
|
||||||
|
-ms-touch-action: manipulation;
|
||||||
|
touch-action: manipulation;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
caption {
|
||||||
|
padding-top: 0.75rem;
|
||||||
|
padding-bottom: 0.75rem;
|
||||||
|
color: #636c72;
|
||||||
|
text-align: left;
|
||||||
|
caption-side: bottom;
|
||||||
|
}
|
||||||
|
|
||||||
|
th {
|
||||||
|
text-align: left;
|
||||||
|
}
|
||||||
|
|
||||||
|
label {
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
button:focus {
|
||||||
|
outline: 1px dotted;
|
||||||
|
outline: 5px auto -webkit-focus-ring-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
input,
|
||||||
|
button,
|
||||||
|
select,
|
||||||
|
textarea {
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="radio"]:disabled,
|
||||||
|
input[type="checkbox"]:disabled {
|
||||||
|
cursor: not-allowed;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="date"],
|
||||||
|
input[type="time"],
|
||||||
|
input[type="datetime-local"],
|
||||||
|
input[type="month"] {
|
||||||
|
-webkit-appearance: listbox;
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea {
|
||||||
|
resize: vertical;
|
||||||
|
}
|
||||||
|
|
||||||
|
fieldset {
|
||||||
|
min-width: 0;
|
||||||
|
padding: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
legend {
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
padding: 0;
|
||||||
|
margin-bottom: .5rem;
|
||||||
|
font-size: 1.5rem;
|
||||||
|
line-height: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[type="search"] {
|
||||||
|
-webkit-appearance: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
output {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
[hidden] {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
/*# sourceMappingURL=bootstrap-reboot.css.map */
|
1
bootstrap/src/lib/bootstrap/css/bootstrap-reboot.css.map
Normal file
1
bootstrap/src/lib/bootstrap/css/bootstrap-reboot.css.map
Normal file
File diff suppressed because one or more lines are too long
1
bootstrap/src/lib/bootstrap/css/bootstrap-reboot.min.css
vendored
Normal file
1
bootstrap/src/lib/bootstrap/css/bootstrap-reboot.min.css
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:inherit}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}audio,video{display:inline-block}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=reset],[type=submit],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{display:inline-block;vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details,menu{display:block}summary{display:list-item}canvas{display:inline-block}template{display:none}[hidden]{display:none}html{-webkit-box-sizing:border-box;box-sizing:border-box}*,::after,::before{-webkit-box-sizing:inherit;box-sizing:inherit}@-ms-viewport{width:device-width}html{-ms-overflow-style:scrollbar;-webkit-tap-highlight-color:transparent}body{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;font-size:1rem;font-weight:400;line-height:1.5;color:#292b2c;background-color:#fff}[tabindex="-1"]:focus{outline:0!important}h1,h2,h3,h4,h5,h6{margin-top:0;margin-bottom:.5rem}p{margin-top:0;margin-bottom:1rem}abbr[data-original-title],abbr[title]{cursor:help}address{margin-bottom:1rem;font-style:normal;line-height:inherit}dl,ol,ul{margin-top:0;margin-bottom:1rem}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}dt{font-weight:700}dd{margin-bottom:.5rem;margin-left:0}blockquote{margin:0 0 1rem}a{color:#0275d8;text-decoration:none}a:focus,a:hover{color:#014c8c;text-decoration:underline}a:not([href]):not([tabindex]){color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus,a:not([href]):not([tabindex]):hover{color:inherit;text-decoration:none}a:not([href]):not([tabindex]):focus{outline:0}pre{margin-top:0;margin-bottom:1rem;overflow:auto}figure{margin:0 0 1rem}img{vertical-align:middle}[role=button]{cursor:pointer}[role=button],a,area,button,input,label,select,summary,textarea{-ms-touch-action:manipulation;touch-action:manipulation}table{border-collapse:collapse;background-color:transparent}caption{padding-top:.75rem;padding-bottom:.75rem;color:#636c72;text-align:left;caption-side:bottom}th{text-align:left}label{display:inline-block;margin-bottom:.5rem}button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}button,input,select,textarea{line-height:inherit}input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:not-allowed}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:listbox}textarea{resize:vertical}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:.5rem;font-size:1.5rem;line-height:inherit}input[type=search]{-webkit-appearance:none}output{display:inline-block}[hidden]{display:none!important}/*# sourceMappingURL=bootstrap-reboot.min.css.map */
|
@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["../../scss/_normalize.scss","bootstrap-reboot.css","../../scss/_reboot.scss","../../scss/_variables.scss","../../scss/mixins/_hover.scss"],"names":[],"mappings":"4EAYA,KACE,YAAA,WACA,YAAA,KACA,qBAAA,KACA,yBAAA,KAUF,KACE,OAAA,EAOF,QAAA,MAAA,OAAA,OAAA,IAAA,QAME,QAAA,MAQF,GACE,UAAA,IACA,OAAA,MAAA,EAWF,WAAA,OAAA,KAGE,QAAA,MAOF,OACE,OAAA,IAAA,KAQF,GACE,mBAAA,YAAA,WAAA,YACA,OAAA,EACA,SAAA,QAQF,IACE,YAAA,UAAA,UACA,UAAA,IAWF,EACE,iBAAA,YACA,6BAAA,QAQF,SAAA,QAEE,cAAA,EAQF,YACE,cAAA,KACA,gBAAA,UACA,gBAAA,UAAA,OAOF,EAAA,OAEE,YAAA,QAOF,EAAA,OAEE,YAAA,OAQF,KAAA,IAAA,KAGE,YAAA,UAAA,UACA,UAAA,IAOF,IACE,WAAA,OAOF,KACE,iBAAA,KACA,MAAA,KAOF,MACE,UAAA,IAQF,IAAA,IAEE,UAAA,IACA,YAAA,EACA,SAAA,SACA,eAAA,SAGF,IACE,OAAA,OAGF,IACE,IAAA,MAUF,MAAA,MAEE,QAAA,aAOF,sBACE,QAAA,KACA,OAAA,EAOF,IACE,aAAA,KAOF,eACE,SAAA,OAWF,OAAA,MAAA,SAAA,OAAA,SAKE,YAAA,WACA,UAAA,KACA,YAAA,KACA,OAAA,EAQF,OAAA,MAEE,SAAA,QAQF,OAAA,OAEE,eAAA,KASF,aAAA,cAAA,OAAA,mBAIE,mBAAA,OAOF,gCAAA,+BAAA,gCAAA,yBAIE,aAAA,KACA,QAAA,EAOF,6BAAA,4BAAA,6BAAA,sBAIE,QAAA,IAAA,OAAA,WAOF,SACE,OAAA,IAAA,MAAA,OACA,OAAA,EAAA,IACA,QAAA,MAAA,OAAA,MAUF,OACE,mBAAA,WAAA,WAAA,WACA,MAAA,QACA,QAAA,MACA,UAAA,KACA,QAAA,EACA,YAAA,OAQF,SACE,QAAA,aACA,eAAA,SAOF,SACE,SAAA,KCrKF,gBAAA,aD+KE,mBAAA,WAAA,WAAA,WACA,QAAA,EC1KF,yCAAA,yCDmLE,OAAA,KC9KF,cDuLE,mBAAA,UACA,eAAA,KCnLF,4CAAA,yCD4LE,mBAAA,KAQF,6BACE,mBAAA,OACA,KAAA,QAWF,QAAA,KAEE,QAAA,MAOF,QACE,QAAA,UAUF,OACE,QAAA,aAOF,SACE,QAAA,KCnNF,SD8NE,QAAA,KEtbF,KACE,mBAAA,WAAA,WAAA,WAGF,EAAA,QAAA,SAGE,mBAAA,QAAA,WAAA,QAoBA,cAAgB,MAAA,aAQlB,KAYE,mBAAA,UAGA,4BAAA,YAGF,KACE,YAAA,cAAA,UAAA,mBAAA,WAAA,OC2K4H,iBD3K5H,MAAA,WACA,UAAA,KACA,YAAA,IACA,YAAA,IAEA,MAAA,QAEA,iBAAA,KD2LF,sBClLE,QAAA,YAYF,GAAI,GAAI,GAAI,GAAI,GAAI,GAClB,WAAA,EACA,cAAA,MAOF,EACE,WAAA,EACA,cAAA,KAIF,0BAAA,YAGE,OAAA,KAGF,QACE,cAAA,KACA,WAAA,OACA,YAAA,QAGF,GAAA,GAAA,GAGE,WAAA,EACA,cAAA,KAGF,MAAA,MAAA,MAAA,MAIE,cAAA,EAGF,GACE,YAAA,IAGF,GACE,cAAA,MACA,YAAA,EAGF,WACE,OAAA,EAAA,EAAA,KAQF,EACE,MAAA,QACA,gBAAA,KEhJE,QAAA,QFmJA,MAAA,QACA,gBAAA,UAUJ,8BACE,MAAA,QACA,gBAAA,KEhKE,oCAAA,oCFmKA,MAAA,QACA,gBAAA,KANJ,oCAUI,QAAA,EASJ,IAEE,WAAA,EAEA,cAAA,KAEA,SAAA,KAQF,OAGE,OAAA,EAAA,EAAA,KAQF,IAGE,eAAA,ODsIF,cCzHE,OAAA,QAcF,cAAA,EAAA,KAAA,OAAA,MAAA,MAAA,OAAA,QAAA,SASE,iBAAA,aAAA,aAAA,aAQF,MAEE,gBAAA,SAEA,iBAAA,YAGF,QACE,YAAA,OACA,eAAA,OACA,MAAA,QACA,WAAA,KACA,aAAA,OAGF,GAEE,WAAA,KAQF,MAEE,QAAA,aACA,cAAA,MAOF,aACE,QAAA,IAAA,OACA,QAAA,IAAA,KAAA,yBAGF,OAAA,MAAA,OAAA,SAME,YAAA,QAGF,8BAAA,2BAMI,OAAA,YAKJ,iBAAA,iBAAA,2BAAA,kBASE,mBAAA,QAGF,SAEE,OAAA,SAGF,SAME,UAAA,EAEA,QAAA,EACA,OAAA,EACA,OAAA,EAGF,OAEE,QAAA,MACA,MAAA,KACA,QAAA,EACA,cAAA,MACA,UAAA,OACA,YAAA,QAGF,mBAKE,mBAAA,KAIF,OACE,QAAA,aDsEF,SC9DE,QAAA"}
|
9320
bootstrap/src/lib/bootstrap/css/bootstrap.css
vendored
Normal file
9320
bootstrap/src/lib/bootstrap/css/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
bootstrap/src/lib/bootstrap/css/bootstrap.css.map
Normal file
1
bootstrap/src/lib/bootstrap/css/bootstrap.css.map
Normal file
File diff suppressed because one or more lines are too long
6
bootstrap/src/lib/bootstrap/css/bootstrap.min.css
vendored
Normal file
6
bootstrap/src/lib/bootstrap/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
bootstrap/src/lib/bootstrap/css/bootstrap.min.css.map
Normal file
1
bootstrap/src/lib/bootstrap/css/bootstrap.min.css.map
Normal file
File diff suppressed because one or more lines are too long
3535
bootstrap/src/lib/bootstrap/js/bootstrap.js
vendored
Normal file
3535
bootstrap/src/lib/bootstrap/js/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load Diff
7
bootstrap/src/lib/bootstrap/js/bootstrap.min.js
vendored
Normal file
7
bootstrap/src/lib/bootstrap/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
4
bootstrap/src/lib/jquery.min.js
vendored
Normal file
4
bootstrap/src/lib/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
2
bootstrap/src/lib/lightbox/ekko-lightbox.css
Normal file
2
bootstrap/src/lib/lightbox/ekko-lightbox.css
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.ekko-lightbox-container{position:relative}.ekko-lightbox-container>div.ekko-lightbox-item{position:absolute;top:0;left:0;bottom:0;right:0;width:100%}.ekko-lightbox iframe{width:100%;height:100%}.ekko-lightbox-nav-overlay{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex}.ekko-lightbox-nav-overlay a{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;transition:opacity .5s;color:#fff;font-size:30px;z-index:1}.ekko-lightbox-nav-overlay a>*{-ms-flex-positive:1;flex-grow:1}.ekko-lightbox-nav-overlay a>:focus{outline:none}.ekko-lightbox-nav-overlay a span{padding:0 30px}.ekko-lightbox-nav-overlay a:last-child span{text-align:right}.ekko-lightbox-nav-overlay a:hover{text-decoration:none}.ekko-lightbox-nav-overlay a:focus{outline:none}.ekko-lightbox-nav-overlay a.disabled{cursor:default;visibility:hidden}.ekko-lightbox a:hover{opacity:1;text-decoration:none}.ekko-lightbox .modal-dialog{display:none}.ekko-lightbox .modal-footer{text-align:left}.ekko-lightbox-loader{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ekko-lightbox-loader>div{width:40px;height:40px;position:relative;text-align:center}.ekko-lightbox-loader>div>div{width:100%;height:100%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;animation:a 2s infinite ease-in-out}.ekko-lightbox-loader>div>div:last-child{animation-delay:-1s}.modal-dialog .ekko-lightbox-loader>div>div{background-color:#333}@keyframes a{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}
|
||||||
|
/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImVra28tbGlnaHRib3guY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLHlCQUNFLGlCQUFtQixDQUNwQixBQUNELGdEQUNFLGtCQUFtQixBQUNuQixNQUFPLEFBQ1AsT0FBUSxBQUNSLFNBQVUsQUFDVixRQUFTLEFBQ1QsVUFBWSxDQUNiLEFBQ0Qsc0JBQ0UsV0FBWSxBQUNaLFdBQWEsQ0FDZCxBQUNELDJCQUNFLFVBQWEsQUFDYixrQkFBbUIsQUFDbkIsTUFBTyxBQUNQLE9BQVEsQUFDUixXQUFZLEFBQ1osWUFBYSxBQUNiLG9CQUFjLEFBQWQsWUFBYyxDQUNmLEFBQ0QsNkJBQ0UsV0FBUSxBQUFSLE9BQVEsQUFDUixvQkFBYyxBQUFkLGFBQWMsQUFDZCxzQkFBb0IsQUFBcEIsbUJBQW9CLEFBQ3BCLFVBQVcsQUFDWCx1QkFBeUIsQUFDekIsV0FBWSxBQUNaLGVBQWdCLEFBQ2hCLFNBQWEsQ0FDZCxBQUNELCtCQUNFLG9CQUFhLEFBQWIsV0FBYSxDQUNkLEFBQ0Qsb0NBQ0UsWUFBYyxDQUNmLEFBQ0Qsa0NBQ0UsY0FBZ0IsQ0FDakIsQUFDRCw2Q0FDRSxnQkFBa0IsQ0FDbkIsQUFDRCxtQ0FDRSxvQkFBc0IsQ0FDdkIsQUFDRCxtQ0FDRSxZQUFjLENBQ2YsQUFDRCxzQ0FDRSxlQUFnQixBQUNoQixpQkFBbUIsQ0FDcEIsQUFDRCx1QkFDRSxVQUFXLEFBQ1gsb0JBQXNCLENBQ3ZCLEFBQ0QsNkJBQ0UsWUFBYyxDQUNmLEFBQ0QsNkJBQ0UsZUFBaUIsQ0FDbEIsQUFDRCxzQkFDRSxrQkFBbUIsQUFDbkIsTUFBTyxBQUNQLE9BQVEsQUFDUixTQUFVLEFBQ1YsUUFBUyxBQUNULFdBQVksQUFDWixvQkFBYyxBQUFkLGFBQWMsQUFFZCwwQkFBdUIsQUFBdkIsc0JBQXVCLEFBRXZCLHFCQUF3QixBQUF4Qix1QkFBd0IsQUFFeEIsc0JBQW9CLEFBQXBCLGtCQUFvQixDQUNyQixBQUNELDBCQUNFLFdBQVksQUFDWixZQUFhLEFBQ2Isa0JBQW1CLEFBQ25CLGlCQUFtQixDQUNwQixBQUNELDhCQUNFLFdBQVksQUFDWixZQUFhLEFBQ2Isa0JBQW1CLEFBQ25CLHNCQUF1QixBQUN2QixXQUFhLEFBQ2Isa0JBQW1CLEFBQ25CLE1BQU8sQUFDUCxPQUFRLEFBQ1IsbUNBQTZDLENBQzlDLEFBQ0QseUNBQ0UsbUJBQXFCLENBQ3RCLEFBQ0QsNENBQ0UscUJBQXVCLENBQ3hCLEFBVUQsYUFDRSxNQUVFLG1CQUFvQixBQUNwQiwwQkFBNEIsQ0FDN0IsQUFDRCxJQUNFLG1CQUFvQixBQUNwQiwwQkFBNEIsQ0FDN0IsQ0FDRiIsImZpbGUiOiJla2tvLWxpZ2h0Ym94LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5la2tvLWxpZ2h0Ym94LWNvbnRhaW5lciB7XG4gIHBvc2l0aW9uOiByZWxhdGl2ZTtcbn1cbi5la2tvLWxpZ2h0Ym94LWNvbnRhaW5lciA+IGRpdi5la2tvLWxpZ2h0Ym94LWl0ZW0ge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMDtcbiAgbGVmdDogMDtcbiAgYm90dG9tOiAwO1xuICByaWdodDogMDtcbiAgd2lkdGg6IDEwMCU7XG59XG4uZWtrby1saWdodGJveCBpZnJhbWUge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xufVxuLmVra28tbGlnaHRib3gtbmF2LW92ZXJsYXkge1xuICB6LWluZGV4OiAxMDA7XG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgdG9wOiAwO1xuICBsZWZ0OiAwO1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICBkaXNwbGF5OiBmbGV4O1xufVxuLmVra28tbGlnaHRib3gtbmF2LW92ZXJsYXkgYSB7XG4gIGZsZXg6IDE7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIGFsaWduLWl0ZW1zOiBjZW50ZXI7XG4gIG9wYWNpdHk6IDA7XG4gIHRyYW5zaXRpb246IG9wYWNpdHkgMC41cztcbiAgY29sb3I6ICNmZmY7XG4gIGZvbnQtc2l6ZTogMzBweDtcbiAgei1pbmRleDogMTAwO1xufVxuLmVra28tbGlnaHRib3gtbmF2LW92ZXJsYXkgYSA+ICoge1xuICBmbGV4LWdyb3c6IDE7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhID4gKjpmb2N1cyB7XG4gIG91dGxpbmU6IG5vbmU7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhIHNwYW4ge1xuICBwYWRkaW5nOiAwIDMwcHg7XG59XG4uZWtrby1saWdodGJveC1uYXYtb3ZlcmxheSBhOmxhc3QtY2hpbGQgc3BhbiB7XG4gIHRleHQtYWxpZ246IHJpZ2h0O1xufVxuLmVra28tbGlnaHRib3gtbmF2LW92ZXJsYXkgYTpob3ZlciB7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbn1cbi5la2tvLWxpZ2h0Ym94LW5hdi1vdmVybGF5IGE6Zm9jdXMge1xuICBvdXRsaW5lOiBub25lO1xufVxuLmVra28tbGlnaHRib3gtbmF2LW92ZXJsYXkgYS5kaXNhYmxlZCB7XG4gIGN1cnNvcjogZGVmYXVsdDtcbiAgdmlzaWJpbGl0eTogaGlkZGVuO1xufVxuLmVra28tbGlnaHRib3ggYTpob3ZlciB7XG4gIG9wYWNpdHk6IDE7XG4gIHRleHQtZGVjb3JhdGlvbjogbm9uZTtcbn1cbi5la2tvLWxpZ2h0Ym94IC5tb2RhbC1kaWFsb2cge1xuICBkaXNwbGF5OiBub25lO1xufVxuLmVra28tbGlnaHRib3ggLm1vZGFsLWZvb3RlciB7XG4gIHRleHQtYWxpZ246IGxlZnQ7XG59XG4uZWtrby1saWdodGJveC1sb2FkZXIge1xuICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gIHRvcDogMDtcbiAgbGVmdDogMDtcbiAgYm90dG9tOiAwO1xuICByaWdodDogMDtcbiAgd2lkdGg6IDEwMCU7XG4gIGRpc3BsYXk6IGZsZXg7XG4gIC8qIGVzdGFibGlzaCBmbGV4IGNvbnRhaW5lciAqL1xuICBmbGV4LWRpcmVjdGlvbjogY29sdW1uO1xuICAvKiBtYWtlIG1haW4gYXhpcyB2ZXJ0aWNhbCAqL1xuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcbiAgLyogY2VudGVyIGl0ZW1zIHZlcnRpY2FsbHksIGluIHRoaXMgY2FzZSAqL1xuICBhbGlnbi1pdGVtczogY2VudGVyO1xufVxuLmVra28tbGlnaHRib3gtbG9hZGVyID4gZGl2IHtcbiAgd2lkdGg6IDQwcHg7XG4gIGhlaWdodDogNDBweDtcbiAgcG9zaXRpb246IHJlbGF0aXZlO1xuICB0ZXh0LWFsaWduOiBjZW50ZXI7XG59XG4uZWtrby1saWdodGJveC1sb2FkZXIgPiBkaXYgPiBkaXYge1xuICB3aWR0aDogMTAwJTtcbiAgaGVpZ2h0OiAxMDAlO1xuICBib3JkZXItcmFkaXVzOiA1MCU7XG4gIGJhY2tncm91bmQtY29sb3I6ICNmZmY7XG4gIG9wYWNpdHk6IDAuNjtcbiAgcG9zaXRpb246IGFic29sdXRlO1xuICB0b3A6IDA7XG4gIGxlZnQ6IDA7XG4gIGFuaW1hdGlvbjogc2stYm91bmNlIDJzIGluZmluaXRlIGVhc2UtaW4tb3V0O1xufVxuLmVra28tbGlnaHRib3gtbG9hZGVyID4gZGl2ID4gZGl2Omxhc3QtY2hpbGQge1xuICBhbmltYXRpb24tZGVsYXk6IC0xcztcbn1cbi5tb2RhbC1kaWFsb2cgLmVra28tbGlnaHRib3gtbG9hZGVyID4gZGl2ID4gZGl2IHtcbiAgYmFja2dyb3VuZC1jb2xvcjogIzMzMztcbn1cbkAtd2Via2l0LWtleWZyYW1lcyBzay1ib3VuY2Uge1xuICAwJSxcbiAgMTAwJSB7XG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHNjYWxlKDApO1xuICB9XG4gIDUwJSB7XG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHNjYWxlKDEpO1xuICB9XG59XG5Aa2V5ZnJhbWVzIHNrLWJvdW5jZSB7XG4gIDAlLFxuICAxMDAlIHtcbiAgICB0cmFuc2Zvcm06IHNjYWxlKDApO1xuICAgIC13ZWJraXQtdHJhbnNmb3JtOiBzY2FsZSgwKTtcbiAgfVxuICA1MCUge1xuICAgIHRyYW5zZm9ybTogc2NhbGUoMSk7XG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHNjYWxlKDEpO1xuICB9XG59XG4iXX0= */
|
660
bootstrap/src/lib/lightbox/ekko-lightbox.js
Normal file
660
bootstrap/src/lib/lightbox/ekko-lightbox.js
Normal file
@ -0,0 +1,660 @@
|
|||||||
|
/*!
|
||||||
|
* Lightbox for Bootstrap by @ashleydw
|
||||||
|
* https://github.com/ashleydw/lightbox
|
||||||
|
*
|
||||||
|
* License: https://github.com/ashleydw/lightbox/blob/master/LICENSE
|
||||||
|
*/
|
||||||
|
+function ($) {
|
||||||
|
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
var _createClass = (function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ('value' in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; })();
|
||||||
|
|
||||||
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
|
||||||
|
|
||||||
|
var Lightbox = (function ($) {
|
||||||
|
|
||||||
|
var NAME = 'ekkoLightbox';
|
||||||
|
var JQUERY_NO_CONFLICT = $.fn[NAME];
|
||||||
|
|
||||||
|
var Default = {
|
||||||
|
title: '',
|
||||||
|
footer: '',
|
||||||
|
showArrows: true, //display the left / right arrows or not
|
||||||
|
wrapping: true, //if true, gallery loops infinitely
|
||||||
|
type: null, //force the lightbox into image / youtube mode. if null, or not image|youtube|vimeo; detect it
|
||||||
|
alwaysShowClose: false, //always show the close button, even if there is no title
|
||||||
|
loadingMessage: '<div class="ekko-lightbox-loader"><div><div></div><div></div></div></div>', // http://tobiasahlin.com/spinkit/
|
||||||
|
leftArrow: '<span>❮</span>',
|
||||||
|
rightArrow: '<span>❯</span>',
|
||||||
|
strings: {
|
||||||
|
close: 'Close',
|
||||||
|
fail: 'Failed to load image:',
|
||||||
|
type: 'Could not detect remote target type. Force the type using data-type'
|
||||||
|
},
|
||||||
|
doc: document, // if in an iframe can specify top.document
|
||||||
|
onShow: function onShow() {},
|
||||||
|
onShown: function onShown() {},
|
||||||
|
onHide: function onHide() {},
|
||||||
|
onHidden: function onHidden() {},
|
||||||
|
onNavigate: function onNavigate() {},
|
||||||
|
onContentLoaded: function onContentLoaded() {}
|
||||||
|
};
|
||||||
|
|
||||||
|
var Lightbox = (function () {
|
||||||
|
_createClass(Lightbox, null, [{
|
||||||
|
key: 'Default',
|
||||||
|
|
||||||
|
/**
|
||||||
|
|
||||||
|
Class properties:
|
||||||
|
|
||||||
|
_$element: null -> the <a> element currently being displayed
|
||||||
|
_$modal: The bootstrap modal generated
|
||||||
|
_$modalDialog: The .modal-dialog
|
||||||
|
_$modalContent: The .modal-content
|
||||||
|
_$modalBody: The .modal-body
|
||||||
|
_$modalHeader: The .modal-header
|
||||||
|
_$modalFooter: The .modal-footer
|
||||||
|
_$lightboxContainerOne: Container of the first lightbox element
|
||||||
|
_$lightboxContainerTwo: Container of the second lightbox element
|
||||||
|
_$lightboxBody: First element in the container
|
||||||
|
_$modalArrows: The overlayed arrows container
|
||||||
|
_$galleryItems: Other <a>'s available for this gallery
|
||||||
|
_galleryName: Name of the current data('gallery') showing
|
||||||
|
_galleryIndex: The current index of the _$galleryItems being shown
|
||||||
|
_config: {} the options for the modal
|
||||||
|
_modalId: unique id for the current lightbox
|
||||||
|
_padding / _border: CSS properties for the modal container; these are used to calculate the available space for the content
|
||||||
|
*/
|
||||||
|
|
||||||
|
get: function get() {
|
||||||
|
return Default;
|
||||||
|
}
|
||||||
|
}]);
|
||||||
|
|
||||||
|
function Lightbox($element, config) {
|
||||||
|
var _this = this;
|
||||||
|
|
||||||
|
_classCallCheck(this, Lightbox);
|
||||||
|
|
||||||
|
this._config = $.extend({}, Default, config);
|
||||||
|
this._$modalArrows = null;
|
||||||
|
this._galleryIndex = 0;
|
||||||
|
this._galleryName = null;
|
||||||
|
this._padding = null;
|
||||||
|
this._border = null;
|
||||||
|
this._titleIsShown = false;
|
||||||
|
this._footerIsShown = false;
|
||||||
|
this._wantedWidth = 0;
|
||||||
|
this._wantedHeight = 0;
|
||||||
|
this._touchstartX = 0;
|
||||||
|
this._touchendX = 0;
|
||||||
|
|
||||||
|
this._modalId = 'ekkoLightbox-' + Math.floor(Math.random() * 1000 + 1);
|
||||||
|
this._$element = $element instanceof jQuery ? $element : $($element);
|
||||||
|
|
||||||
|
this._isBootstrap3 = $.fn.modal.Constructor.VERSION[0] == 3;
|
||||||
|
|
||||||
|
var h4 = '<h4 class="modal-title">' + (this._config.title || " ") + '</h4>';
|
||||||
|
var btn = '<button type="button" class="close" data-dismiss="modal" aria-label="' + this._config.strings.close + '"><span aria-hidden="true">×</span></button>';
|
||||||
|
|
||||||
|
var header = '<div class="modal-header' + (this._config.title || this._config.alwaysShowClose ? '' : ' hide') + '">' + (this._isBootstrap3 ? btn + h4 : h4 + btn) + '</div>';
|
||||||
|
var footer = '<div class="modal-footer' + (this._config.footer ? '' : ' hide') + '">' + (this._config.footer || " ") + '</div>';
|
||||||
|
var body = '<div class="modal-body"><div class="ekko-lightbox-container"><div class="ekko-lightbox-item fade in show"></div><div class="ekko-lightbox-item fade"></div></div></div>';
|
||||||
|
var dialog = '<div class="modal-dialog" role="document"><div class="modal-content">' + header + body + footer + '</div></div>';
|
||||||
|
$(this._config.doc.body).append('<div id="' + this._modalId + '" class="ekko-lightbox modal fade" tabindex="-1" tabindex="-1" role="dialog" aria-hidden="true">' + dialog + '</div>');
|
||||||
|
|
||||||
|
this._$modal = $('#' + this._modalId, this._config.doc);
|
||||||
|
this._$modalDialog = this._$modal.find('.modal-dialog').first();
|
||||||
|
this._$modalContent = this._$modal.find('.modal-content').first();
|
||||||
|
this._$modalBody = this._$modal.find('.modal-body').first();
|
||||||
|
this._$modalHeader = this._$modal.find('.modal-header').first();
|
||||||
|
this._$modalFooter = this._$modal.find('.modal-footer').first();
|
||||||
|
|
||||||
|
this._$lightboxContainer = this._$modalBody.find('.ekko-lightbox-container').first();
|
||||||
|
this._$lightboxBodyOne = this._$lightboxContainer.find('> div:first-child').first();
|
||||||
|
this._$lightboxBodyTwo = this._$lightboxContainer.find('> div:last-child').first();
|
||||||
|
|
||||||
|
this._border = this._calculateBorders();
|
||||||
|
this._padding = this._calculatePadding();
|
||||||
|
|
||||||
|
this._galleryName = this._$element.data('gallery');
|
||||||
|
if (this._galleryName) {
|
||||||
|
this._$galleryItems = $(document.body).find('*[data-gallery="' + this._galleryName + '"]');
|
||||||
|
this._galleryIndex = this._$galleryItems.index(this._$element);
|
||||||
|
$(document).on('keydown.ekkoLightbox', this._navigationalBinder.bind(this));
|
||||||
|
|
||||||
|
// add the directional arrows to the modal
|
||||||
|
if (this._config.showArrows && this._$galleryItems.length > 1) {
|
||||||
|
this._$lightboxContainer.append('<div class="ekko-lightbox-nav-overlay"><a href="#">' + this._config.leftArrow + '</a><a href="#">' + this._config.rightArrow + '</a></div>');
|
||||||
|
this._$modalArrows = this._$lightboxContainer.find('div.ekko-lightbox-nav-overlay').first();
|
||||||
|
this._$lightboxContainer.on('click', 'a:first-child', function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
return _this.navigateLeft();
|
||||||
|
});
|
||||||
|
this._$lightboxContainer.on('click', 'a:last-child', function (event) {
|
||||||
|
event.preventDefault();
|
||||||
|
return _this.navigateRight();
|
||||||
|
});
|
||||||
|
this.updateNavigation();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this._$modal.on('show.bs.modal', this._config.onShow.bind(this)).on('shown.bs.modal', function () {
|
||||||
|
_this._toggleLoading(true);
|
||||||
|
_this._handle();
|
||||||
|
return _this._config.onShown.call(_this);
|
||||||
|
}).on('hide.bs.modal', this._config.onHide.bind(this)).on('hidden.bs.modal', function () {
|
||||||
|
if (_this._galleryName) {
|
||||||
|
$(document).off('keydown.ekkoLightbox');
|
||||||
|
$(window).off('resize.ekkoLightbox');
|
||||||
|
}
|
||||||
|
_this._$modal.remove();
|
||||||
|
return _this._config.onHidden.call(_this);
|
||||||
|
}).modal(this._config);
|
||||||
|
|
||||||
|
$(window).on('resize.ekkoLightbox', function () {
|
||||||
|
_this._resize(_this._wantedWidth, _this._wantedHeight);
|
||||||
|
});
|
||||||
|
this._$lightboxContainer.on('touchstart', function () {
|
||||||
|
_this._touchstartX = event.changedTouches[0].screenX;
|
||||||
|
}).on('touchend', function () {
|
||||||
|
_this._touchendX = event.changedTouches[0].screenX;
|
||||||
|
_this._swipeGesure();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
_createClass(Lightbox, [{
|
||||||
|
key: 'element',
|
||||||
|
value: function element() {
|
||||||
|
return this._$element;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: 'modal',
|
||||||
|
value: function modal() {
|
||||||
|
return this._$modal;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: 'navigateTo',
|
||||||
|
value: function navigateTo(index) {
|
||||||
|
|
||||||
|
if (index < 0 || index > this._$galleryItems.length - 1) return this;
|
||||||
|
|
||||||
|
this._galleryIndex = index;
|
||||||
|
|
||||||
|
this.updateNavigation();
|
||||||
|
|
||||||
|
this._$element = $(this._$galleryItems.get(this._galleryIndex));
|
||||||
|
this._handle();
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: 'navigateLeft',
|
||||||
|
value: function navigateLeft() {
|
||||||
|
|
||||||
|
if (!this._$galleryItems) return;
|
||||||
|
|
||||||
|
if (this._$galleryItems.length === 1) return;
|
||||||
|
|
||||||
|
if (this._galleryIndex === 0) {
|
||||||
|
if (this._config.wrapping) this._galleryIndex = this._$galleryItems.length - 1;else return;
|
||||||
|
} else //circular
|
||||||
|
this._galleryIndex--;
|
||||||
|
|
||||||
|
this._config.onNavigate.call(this, 'left', this._galleryIndex);
|
||||||
|
return this.navigateTo(this._galleryIndex);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: 'navigateRight',
|
||||||
|
value: function navigateRight() {
|
||||||
|
|
||||||
|
if (!this._$galleryItems) return;
|
||||||
|
|
||||||
|
if (this._$galleryItems.length === 1) return;
|
||||||
|
|
||||||
|
if (this._galleryIndex === this._$galleryItems.length - 1) {
|
||||||
|
if (this._config.wrapping) this._galleryIndex = 0;else return;
|
||||||
|
} else //circular
|
||||||
|
this._galleryIndex++;
|
||||||
|
|
||||||
|
this._config.onNavigate.call(this, 'right', this._galleryIndex);
|
||||||
|
return this.navigateTo(this._galleryIndex);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: 'updateNavigation',
|
||||||
|
value: function updateNavigation() {
|
||||||
|
if (!this._config.wrapping) {
|
||||||
|
var $nav = this._$lightboxContainer.find('div.ekko-lightbox-nav-overlay');
|
||||||
|
if (this._galleryIndex === 0) $nav.find('a:first-child').addClass('disabled');else $nav.find('a:first-child').removeClass('disabled');
|
||||||
|
|
||||||
|
if (this._galleryIndex === this._$galleryItems.length - 1) $nav.find('a:last-child').addClass('disabled');else $nav.find('a:last-child').removeClass('disabled');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: 'close',
|
||||||
|
value: function close() {
|
||||||
|
return this._$modal.modal('hide');
|
||||||
|
}
|
||||||
|
|
||||||
|
// helper private methods
|
||||||
|
}, {
|
||||||
|
key: '_navigationalBinder',
|
||||||
|
value: function _navigationalBinder(event) {
|
||||||
|
event = event || window.event;
|
||||||
|
if (event.keyCode === 39) return this.navigateRight();
|
||||||
|
if (event.keyCode === 37) return this.navigateLeft();
|
||||||
|
}
|
||||||
|
|
||||||
|
// type detection private methods
|
||||||
|
}, {
|
||||||
|
key: '_detectRemoteType',
|
||||||
|
value: function _detectRemoteType(src, type) {
|
||||||
|
|
||||||
|
type = type || false;
|
||||||
|
|
||||||
|
if (!type && this._isImage(src)) type = 'image';
|
||||||
|
if (!type && this._getYoutubeId(src)) type = 'youtube';
|
||||||
|
if (!type && this._getVimeoId(src)) type = 'vimeo';
|
||||||
|
if (!type && this._getInstagramId(src)) type = 'instagram';
|
||||||
|
|
||||||
|
if (!type || ['image', 'youtube', 'vimeo', 'instagram', 'video', 'url'].indexOf(type) < 0) type = 'url';
|
||||||
|
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_isImage',
|
||||||
|
value: function _isImage(string) {
|
||||||
|
return string && string.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_containerToUse',
|
||||||
|
value: function _containerToUse() {
|
||||||
|
var _this2 = this;
|
||||||
|
|
||||||
|
// if currently showing an image, fade it out and remove
|
||||||
|
var $toUse = this._$lightboxBodyTwo;
|
||||||
|
var $current = this._$lightboxBodyOne;
|
||||||
|
|
||||||
|
if (this._$lightboxBodyTwo.hasClass('in')) {
|
||||||
|
$toUse = this._$lightboxBodyOne;
|
||||||
|
$current = this._$lightboxBodyTwo;
|
||||||
|
}
|
||||||
|
|
||||||
|
$current.removeClass('in show');
|
||||||
|
setTimeout(function () {
|
||||||
|
if (!_this2._$lightboxBodyTwo.hasClass('in')) _this2._$lightboxBodyTwo.empty();
|
||||||
|
if (!_this2._$lightboxBodyOne.hasClass('in')) _this2._$lightboxBodyOne.empty();
|
||||||
|
}, 500);
|
||||||
|
|
||||||
|
$toUse.addClass('in show');
|
||||||
|
return $toUse;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_handle',
|
||||||
|
value: function _handle() {
|
||||||
|
|
||||||
|
var $toUse = this._containerToUse();
|
||||||
|
this._updateTitleAndFooter();
|
||||||
|
|
||||||
|
var currentRemote = this._$element.attr('data-remote') || this._$element.attr('href');
|
||||||
|
var currentType = this._detectRemoteType(currentRemote, this._$element.attr('data-type') || false);
|
||||||
|
|
||||||
|
if (['image', 'youtube', 'vimeo', 'instagram', 'video', 'url'].indexOf(currentType) < 0) return this._error(this._config.strings.type);
|
||||||
|
|
||||||
|
switch (currentType) {
|
||||||
|
case 'image':
|
||||||
|
this._preloadImage(currentRemote, $toUse);
|
||||||
|
this._preloadImageByIndex(this._galleryIndex, 3);
|
||||||
|
break;
|
||||||
|
case 'youtube':
|
||||||
|
this._showYoutubeVideo(currentRemote, $toUse);
|
||||||
|
break;
|
||||||
|
case 'vimeo':
|
||||||
|
this._showVimeoVideo(this._getVimeoId(currentRemote), $toUse);
|
||||||
|
break;
|
||||||
|
case 'instagram':
|
||||||
|
this._showInstagramVideo(this._getInstagramId(currentRemote), $toUse);
|
||||||
|
break;
|
||||||
|
case 'video':
|
||||||
|
this._showHtml5Video(currentRemote, $toUse);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
// url
|
||||||
|
this._loadRemoteContent(currentRemote, $toUse);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_getYoutubeId',
|
||||||
|
value: function _getYoutubeId(string) {
|
||||||
|
if (!string) return false;
|
||||||
|
var matches = string.match(/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=)([^#\&\?]*).*/);
|
||||||
|
return matches && matches[2].length === 11 ? matches[2] : false;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_getVimeoId',
|
||||||
|
value: function _getVimeoId(string) {
|
||||||
|
return string && string.indexOf('vimeo') > 0 ? string : false;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_getInstagramId',
|
||||||
|
value: function _getInstagramId(string) {
|
||||||
|
return string && string.indexOf('instagram') > 0 ? string : false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// layout private methods
|
||||||
|
}, {
|
||||||
|
key: '_toggleLoading',
|
||||||
|
value: function _toggleLoading(show) {
|
||||||
|
show = show || false;
|
||||||
|
if (show) {
|
||||||
|
this._$modalDialog.css('display', 'none');
|
||||||
|
this._$modal.removeClass('in show');
|
||||||
|
$('.modal-backdrop').append(this._config.loadingMessage);
|
||||||
|
} else {
|
||||||
|
this._$modalDialog.css('display', 'block');
|
||||||
|
this._$modal.addClass('in show');
|
||||||
|
$('.modal-backdrop').find('.ekko-lightbox-loader').remove();
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_calculateBorders',
|
||||||
|
value: function _calculateBorders() {
|
||||||
|
return {
|
||||||
|
top: this._totalCssByAttribute('border-top-width'),
|
||||||
|
right: this._totalCssByAttribute('border-right-width'),
|
||||||
|
bottom: this._totalCssByAttribute('border-bottom-width'),
|
||||||
|
left: this._totalCssByAttribute('border-left-width')
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_calculatePadding',
|
||||||
|
value: function _calculatePadding() {
|
||||||
|
return {
|
||||||
|
top: this._totalCssByAttribute('padding-top'),
|
||||||
|
right: this._totalCssByAttribute('padding-right'),
|
||||||
|
bottom: this._totalCssByAttribute('padding-bottom'),
|
||||||
|
left: this._totalCssByAttribute('padding-left')
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_totalCssByAttribute',
|
||||||
|
value: function _totalCssByAttribute(attribute) {
|
||||||
|
return parseInt(this._$modalDialog.css(attribute), 10) + parseInt(this._$modalContent.css(attribute), 10) + parseInt(this._$modalBody.css(attribute), 10);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_updateTitleAndFooter',
|
||||||
|
value: function _updateTitleAndFooter() {
|
||||||
|
var title = this._$element.data('title') || "";
|
||||||
|
var caption = this._$element.data('footer') || "";
|
||||||
|
|
||||||
|
this._titleIsShown = false;
|
||||||
|
if (title || this._config.alwaysShowClose) {
|
||||||
|
this._titleIsShown = true;
|
||||||
|
this._$modalHeader.css('display', '').find('.modal-title').html(title || " ");
|
||||||
|
} else this._$modalHeader.css('display', 'none');
|
||||||
|
|
||||||
|
this._footerIsShown = false;
|
||||||
|
if (caption) {
|
||||||
|
this._footerIsShown = true;
|
||||||
|
this._$modalFooter.css('display', '').html(caption);
|
||||||
|
} else this._$modalFooter.css('display', 'none');
|
||||||
|
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_showYoutubeVideo',
|
||||||
|
value: function _showYoutubeVideo(remote, $containerForElement) {
|
||||||
|
var id = this._getYoutubeId(remote);
|
||||||
|
var query = remote.indexOf('&') > 0 ? remote.substr(remote.indexOf('&')) : '';
|
||||||
|
var width = this._$element.data('width') || 560;
|
||||||
|
var height = this._$element.data('height') || width / (560 / 315);
|
||||||
|
return this._showVideoIframe('//www.youtube.com/embed/' + id + '?badge=0&autoplay=1&html5=1' + query, width, height, $containerForElement);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_showVimeoVideo',
|
||||||
|
value: function _showVimeoVideo(id, $containerForElement) {
|
||||||
|
var width = this._$element.data('width') || 500;
|
||||||
|
var height = this._$element.data('height') || width / (560 / 315);
|
||||||
|
return this._showVideoIframe(id + '?autoplay=1', width, height, $containerForElement);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_showInstagramVideo',
|
||||||
|
value: function _showInstagramVideo(id, $containerForElement) {
|
||||||
|
// instagram load their content into iframe's so this can be put straight into the element
|
||||||
|
var width = this._$element.data('width') || 612;
|
||||||
|
var height = width + 80;
|
||||||
|
id = id.substr(-1) !== '/' ? id + '/' : id; // ensure id has trailing slash
|
||||||
|
$containerForElement.html('<iframe width="' + width + '" height="' + height + '" src="' + id + 'embed/" frameborder="0" allowfullscreen></iframe>');
|
||||||
|
this._resize(width, height);
|
||||||
|
this._config.onContentLoaded.call(this);
|
||||||
|
if (this._$modalArrows) //hide the arrows when showing video
|
||||||
|
this._$modalArrows.css('display', 'none');
|
||||||
|
this._toggleLoading(false);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_showVideoIframe',
|
||||||
|
value: function _showVideoIframe(url, width, height, $containerForElement) {
|
||||||
|
// should be used for videos only. for remote content use loadRemoteContent (data-type=url)
|
||||||
|
height = height || width; // default to square
|
||||||
|
$containerForElement.html('<div class="embed-responsive embed-responsive-16by9"><iframe width="' + width + '" height="' + height + '" src="' + url + '" frameborder="0" allowfullscreen class="embed-responsive-item"></iframe></div>');
|
||||||
|
this._resize(width, height);
|
||||||
|
this._config.onContentLoaded.call(this);
|
||||||
|
if (this._$modalArrows) this._$modalArrows.css('display', 'none'); //hide the arrows when showing video
|
||||||
|
this._toggleLoading(false);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_showHtml5Video',
|
||||||
|
value: function _showHtml5Video(url, $containerForElement) {
|
||||||
|
// should be used for videos only. for remote content use loadRemoteContent (data-type=url)
|
||||||
|
var width = this._$element.data('width') || 560;
|
||||||
|
var height = this._$element.data('height') || width / (560 / 315);
|
||||||
|
$containerForElement.html('<div class="embed-responsive embed-responsive-16by9"><video width="' + width + '" height="' + height + '" src="' + url + '" preload="auto" autoplay controls class="embed-responsive-item"></video></div>');
|
||||||
|
this._resize(width, height);
|
||||||
|
this._config.onContentLoaded.call(this);
|
||||||
|
if (this._$modalArrows) this._$modalArrows.css('display', 'none'); //hide the arrows when showing video
|
||||||
|
this._toggleLoading(false);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_loadRemoteContent',
|
||||||
|
value: function _loadRemoteContent(url, $containerForElement) {
|
||||||
|
var _this3 = this;
|
||||||
|
|
||||||
|
var width = this._$element.data('width') || 560;
|
||||||
|
var height = this._$element.data('height') || 560;
|
||||||
|
|
||||||
|
var disableExternalCheck = this._$element.data('disableExternalCheck') || false;
|
||||||
|
this._toggleLoading(false);
|
||||||
|
|
||||||
|
// external urls are loading into an iframe
|
||||||
|
// local ajax can be loaded into the container itself
|
||||||
|
if (!disableExternalCheck && !this._isExternal(url)) {
|
||||||
|
$containerForElement.load(url, $.proxy(function () {
|
||||||
|
return _this3._$element.trigger('loaded.bs.modal');l;
|
||||||
|
}));
|
||||||
|
} else {
|
||||||
|
$containerForElement.html('<iframe src="' + url + '" frameborder="0" allowfullscreen></iframe>');
|
||||||
|
this._config.onContentLoaded.call(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this._$modalArrows) //hide the arrows when remote content
|
||||||
|
this._$modalArrows.css('display', 'none');
|
||||||
|
|
||||||
|
this._resize(width, height);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_isExternal',
|
||||||
|
value: function _isExternal(url) {
|
||||||
|
var match = url.match(/^([^:\/?#]+:)?(?:\/\/([^\/?#]*))?([^?#]+)?(\?[^#]*)?(#.*)?/);
|
||||||
|
if (typeof match[1] === "string" && match[1].length > 0 && match[1].toLowerCase() !== location.protocol) return true;
|
||||||
|
|
||||||
|
if (typeof match[2] === "string" && match[2].length > 0 && match[2].replace(new RegExp(':(' + ({
|
||||||
|
"http:": 80,
|
||||||
|
"https:": 443
|
||||||
|
})[location.protocol] + ')?$'), "") !== location.host) return true;
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_error',
|
||||||
|
value: function _error(message) {
|
||||||
|
console.error(message);
|
||||||
|
this._containerToUse().html(message);
|
||||||
|
this._resize(300, 300);
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_preloadImageByIndex',
|
||||||
|
value: function _preloadImageByIndex(startIndex, numberOfTimes) {
|
||||||
|
|
||||||
|
if (!this._$galleryItems) return;
|
||||||
|
|
||||||
|
var next = $(this._$galleryItems.get(startIndex), false);
|
||||||
|
if (typeof next == 'undefined') return;
|
||||||
|
|
||||||
|
var src = next.attr('data-remote') || next.attr('href');
|
||||||
|
if (next.attr('data-type') === 'image' || this._isImage(src)) this._preloadImage(src, false);
|
||||||
|
|
||||||
|
if (numberOfTimes > 0) return this._preloadImageByIndex(startIndex + 1, numberOfTimes - 1);
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_preloadImage',
|
||||||
|
value: function _preloadImage(src, $containerForImage) {
|
||||||
|
var _this4 = this;
|
||||||
|
|
||||||
|
$containerForImage = $containerForImage || false;
|
||||||
|
|
||||||
|
var img = new Image();
|
||||||
|
if ($containerForImage) {
|
||||||
|
(function () {
|
||||||
|
|
||||||
|
// if loading takes > 200ms show a loader
|
||||||
|
var loadingTimeout = setTimeout(function () {
|
||||||
|
$containerForImage.append(_this4._config.loadingMessage);
|
||||||
|
}, 200);
|
||||||
|
|
||||||
|
img.onload = function () {
|
||||||
|
if (loadingTimeout) clearTimeout(loadingTimeout);
|
||||||
|
loadingTimeout = null;
|
||||||
|
var image = $('<img />');
|
||||||
|
image.attr('src', img.src);
|
||||||
|
image.addClass('img-fluid');
|
||||||
|
|
||||||
|
// backward compatibility for bootstrap v3
|
||||||
|
image.css('width', '100%');
|
||||||
|
|
||||||
|
$containerForImage.html(image);
|
||||||
|
if (_this4._$modalArrows) _this4._$modalArrows.css('display', ''); // remove display to default to css property
|
||||||
|
|
||||||
|
_this4._resize(img.width, img.height);
|
||||||
|
_this4._toggleLoading(false);
|
||||||
|
return _this4._config.onContentLoaded.call(_this4);
|
||||||
|
};
|
||||||
|
img.onerror = function () {
|
||||||
|
_this4._toggleLoading(false);
|
||||||
|
return _this4._error(_this4._config.strings.fail + (' ' + src));
|
||||||
|
};
|
||||||
|
})();
|
||||||
|
}
|
||||||
|
|
||||||
|
img.src = src;
|
||||||
|
return img;
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_swipeGesure',
|
||||||
|
value: function _swipeGesure() {
|
||||||
|
if (this._touchendX < this._touchstartX) {
|
||||||
|
return this.navigateRight();
|
||||||
|
}
|
||||||
|
if (this._touchendX > this._touchstartX) {
|
||||||
|
return this.navigateLeft();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}, {
|
||||||
|
key: '_resize',
|
||||||
|
value: function _resize(width, height) {
|
||||||
|
|
||||||
|
height = height || width;
|
||||||
|
this._wantedWidth = width;
|
||||||
|
this._wantedHeight = height;
|
||||||
|
|
||||||
|
// if width > the available space, scale down the expected width and height
|
||||||
|
var widthBorderAndPadding = this._padding.left + this._padding.right + this._border.left + this._border.right;
|
||||||
|
var maxWidth = Math.min(width + widthBorderAndPadding, this._config.doc.body.clientWidth);
|
||||||
|
if (width + widthBorderAndPadding > maxWidth) {
|
||||||
|
height = (maxWidth - widthBorderAndPadding) / width * height;
|
||||||
|
width = maxWidth;
|
||||||
|
} else width = width + widthBorderAndPadding;
|
||||||
|
|
||||||
|
var headerHeight = 0,
|
||||||
|
footerHeight = 0;
|
||||||
|
|
||||||
|
// as the resize is performed the modal is show, the calculate might fail
|
||||||
|
// if so, default to the default sizes
|
||||||
|
if (this._footerIsShown) footerHeight = this._$modalFooter.outerHeight(true) || 55;
|
||||||
|
|
||||||
|
if (this._titleIsShown) headerHeight = this._$modalHeader.outerHeight(true) || 67;
|
||||||
|
|
||||||
|
var borderPadding = this._padding.top + this._padding.bottom + this._border.bottom + this._border.top;
|
||||||
|
|
||||||
|
//calculated each time as resizing the window can cause them to change due to Bootstraps fluid margins
|
||||||
|
var margins = parseFloat(this._$modalDialog.css('margin-top')) + parseFloat(this._$modalDialog.css('margin-bottom'));
|
||||||
|
|
||||||
|
var maxHeight = Math.min(height, $(window).height() - borderPadding - margins - headerHeight - footerHeight);
|
||||||
|
if (height > maxHeight) {
|
||||||
|
// if height > the available height, scale down the width
|
||||||
|
var factor = Math.min(maxHeight / height, 1);
|
||||||
|
width = Math.ceil(factor * width);
|
||||||
|
}
|
||||||
|
|
||||||
|
this._$lightboxContainer.css('height', maxHeight);
|
||||||
|
this._$modalDialog.css('width', 'auto').css('maxWidth', width);
|
||||||
|
|
||||||
|
var modal = this._$modal.data('bs.modal');
|
||||||
|
if (modal) {
|
||||||
|
// v4 method is mistakenly protected
|
||||||
|
try {
|
||||||
|
modal._handleUpdate();
|
||||||
|
} catch (Exception) {
|
||||||
|
modal.handleUpdate();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
}], [{
|
||||||
|
key: '_jQueryInterface',
|
||||||
|
value: function _jQueryInterface(config) {
|
||||||
|
var _this5 = this;
|
||||||
|
|
||||||
|
config = config || {};
|
||||||
|
return this.each(function () {
|
||||||
|
var $this = $(_this5);
|
||||||
|
var _config = $.extend({}, Lightbox.Default, $this.data(), typeof config === 'object' && config);
|
||||||
|
|
||||||
|
new Lightbox(_this5, _config);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}]);
|
||||||
|
|
||||||
|
return Lightbox;
|
||||||
|
})();
|
||||||
|
|
||||||
|
$.fn[NAME] = Lightbox._jQueryInterface;
|
||||||
|
$.fn[NAME].Constructor = Lightbox;
|
||||||
|
$.fn[NAME].noConflict = function () {
|
||||||
|
$.fn[NAME] = JQUERY_NO_CONFLICT;
|
||||||
|
return Lightbox._jQueryInterface;
|
||||||
|
};
|
||||||
|
|
||||||
|
return Lightbox;
|
||||||
|
})(jQuery);
|
||||||
|
//# sourceMappingURL=ekko-lightbox.js.map
|
||||||
|
|
||||||
|
}(jQuery);
|
1
bootstrap/src/lib/lightbox/ekko-lightbox.js.map
Normal file
1
bootstrap/src/lib/lightbox/ekko-lightbox.js.map
Normal file
File diff suppressed because one or more lines are too long
2
bootstrap/src/lib/lightbox/ekko-lightbox.min.css
vendored
Normal file
2
bootstrap/src/lib/lightbox/ekko-lightbox.min.css
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
.ekko-lightbox-nav-overlay a:focus,.ekko-lightbox-nav-overlay a>:focus{outline:0}.ekko-lightbox-container{position:relative}.ekko-lightbox-container>div.ekko-lightbox-item{position:absolute;top:0;left:0;width:100%;transition:opacity .5s ease-in-out;opacity:1}.ekko-lightbox-nav-overlay{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex}.ekko-lightbox-nav-overlay a{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;opacity:0;transition:opacity .5s;color:#fff;font-size:30px;z-index:1}.ekko-lightbox-nav-overlay a>*{-ms-flex-positive:1;flex-grow:1}.ekko-lightbox-nav-overlay a span{padding:0 30px}.ekko-lightbox-nav-overlay a:last-child span{text-align:right}.ekko-lightbox-nav-overlay a:hover{text-decoration:none}.ekko-lightbox a:hover{opacity:1;text-decoration:none}.ekko-lightbox .modal-footer{text-align:left}.ekko-lightbox-loader{position:absolute;top:0;left:0;bottom:0;right:0;width:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.ekko-lightbox-loader>div{width:40px;height:40px;position:relative;text-align:center}.ekko-lightbox-loader>div>div{width:100%;height:100%;border-radius:50%;background-color:#fff;opacity:.6;position:absolute;top:0;left:0;animation:a 2s infinite ease-in-out}.ekko-lightbox-loader>div>div:last-child{animation-delay:-1s}@keyframes a{0%,to{transform:scale(0);-webkit-transform:scale(0)}50%{transform:scale(1);-webkit-transform:scale(1)}}
|
||||||
|
/*# sourceMappingURL=ekko-lightbox.min.css.map */
|
1
bootstrap/src/lib/lightbox/ekko-lightbox.min.css.map
Normal file
1
bootstrap/src/lib/lightbox/ekko-lightbox.min.css.map
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"version":3,"sources":["dist/ekko-lightbox.css"],"names":[],"mappings":"AAkDA,uEACE,SAAS,CAnDX,yBACE,iBAAU,CAEZ,gDACE,kBACA,MACA,OACA,WACA,mCACA,SAAS,CAEX,2BACE,UACA,kBACA,MACA,OACA,WACA,YACA,oBACA,YAAS,CAEX,6BACE,WACI,OACJ,oBACA,aACA,sBACI,mBACJ,UACA,uBACA,WACA,eACA,SAAS,CAEX,+BACE,oBACI,WAAW,CAKjB,kCACE,cAAW,CAEb,6CACE,gBAAY,CAEd,mCACE,oBAAiB,CAKnB,uBACE,UACA,oBAAiB,CAEnB,6BACE,eAAY,CAEd,sBACE,kBACA,MACA,OACA,SACA,QACA,WACA,oBACA,aAEA,0BACI,sBAEJ,qBACI,uBAEJ,sBACI,kBAAa,CAEnB,0BACE,WACA,YACA,kBACA,iBAAY,CAEd,8BACE,WACA,YACA,kBACA,sBACA,WACA,kBACA,MACA,OACA,mCAAiC,CAEnC,yCACE,mBAAiB,CAEnB,aACE,MAEE,mBACA,0BAAmB,CAErB,IACE,mBACA,0BAAmB,CAAA,CAAA","file":"ekko-lightbox.min.css"}
|
2
bootstrap/src/lib/lightbox/ekko-lightbox.min.js
vendored
Normal file
2
bootstrap/src/lib/lightbox/ekko-lightbox.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
bootstrap/src/lib/lightbox/ekko-lightbox.min.js.map
Normal file
1
bootstrap/src/lib/lightbox/ekko-lightbox.min.js.map
Normal file
File diff suppressed because one or more lines are too long
4
bootstrap/src/lib/tether/.gitignore
vendored
Normal file
4
bootstrap/src/lib/tether/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
.sass-cache
|
||||||
|
node_modules/
|
||||||
|
deps/
|
||||||
|
.DS_Store
|
6
bootstrap/src/lib/tether/.hsdoc
Normal file
6
bootstrap/src/lib/tether/.hsdoc
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
name: "Tether"
|
||||||
|
description: "Marrying DOM elements for life"
|
||||||
|
domain: "tether.io"
|
||||||
|
source: "coffee/*.coffee"
|
||||||
|
examples: "**/*.md"
|
||||||
|
assets: "{dist/js/*.js,dist/css/*.css,docs/css/*.css,docs/js/*,js,docs/welcome/*,examples/*}"
|
134
bootstrap/src/lib/tether/css/tether-theme-arrows-dark.css
Normal file
134
bootstrap/src/lib/tether/css/tether-theme-arrows-dark.css
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
.tether-element, .tether-element:after, .tether-element:before, .tether-element *, .tether-element *:after, .tether-element *:before {
|
||||||
|
box-sizing: border-box; }
|
||||||
|
|
||||||
|
.tether-element {
|
||||||
|
position: absolute;
|
||||||
|
display: none; }
|
||||||
|
.tether-element.tether-open {
|
||||||
|
display: block; }
|
||||||
|
|
||||||
|
.tether-element.tether-theme-arrows-dark {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%; }
|
||||||
|
.tether-element.tether-theme-arrows-dark .tether-content {
|
||||||
|
border-radius: 5px;
|
||||||
|
position: relative;
|
||||||
|
font-family: inherit;
|
||||||
|
background: #000;
|
||||||
|
color: #fff;
|
||||||
|
padding: 1em;
|
||||||
|
font-size: 1.1em;
|
||||||
|
line-height: 1.5em; }
|
||||||
|
.tether-element.tether-theme-arrows-dark .tether-content:before {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-color: transparent;
|
||||||
|
border-width: 16px;
|
||||||
|
border-style: solid; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-center .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-center .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -16px;
|
||||||
|
border-top-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-center .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-center .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -16px;
|
||||||
|
border-bottom-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-right.tether-element-attached-middle .tether-content {
|
||||||
|
margin-right: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-right.tether-element-attached-middle .tether-content:before {
|
||||||
|
left: 100%;
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -16px;
|
||||||
|
border-left-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-left.tether-element-attached-middle .tether-content {
|
||||||
|
margin-left: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-left.tether-element-attached-middle .tether-content:before {
|
||||||
|
right: 100%;
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -16px;
|
||||||
|
border-right-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-left.tether-target-attached-center .tether-content {
|
||||||
|
left: -32px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-right.tether-target-attached-center .tether-content {
|
||||||
|
left: 32px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-middle .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-middle .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
left: 16px;
|
||||||
|
border-bottom-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-middle .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-middle .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
right: 16px;
|
||||||
|
border-bottom-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-middle .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-middle .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
left: 16px;
|
||||||
|
border-top-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-middle .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-middle .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
right: 16px;
|
||||||
|
border-top-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-bottom .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-bottom .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
left: 16px;
|
||||||
|
border-bottom-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-bottom .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-bottom .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
right: 16px;
|
||||||
|
border-bottom-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-top .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-top .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
left: 16px;
|
||||||
|
border-top-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-top .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-top .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
right: 16px;
|
||||||
|
border-top-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-left .tether-content {
|
||||||
|
margin-right: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-right.tether-target-attached-left .tether-content:before {
|
||||||
|
top: 16px;
|
||||||
|
left: 100%;
|
||||||
|
border-left-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content {
|
||||||
|
margin-left: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content:before {
|
||||||
|
top: 16px;
|
||||||
|
right: 100%;
|
||||||
|
border-right-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-left .tether-content {
|
||||||
|
margin-right: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-left .tether-content:before {
|
||||||
|
bottom: 16px;
|
||||||
|
left: 100%;
|
||||||
|
border-left-color: #000; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-right .tether-content {
|
||||||
|
margin-left: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows-dark.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-right .tether-content:before {
|
||||||
|
bottom: 16px;
|
||||||
|
right: 100%;
|
||||||
|
border-right-color: #000; }
|
1
bootstrap/src/lib/tether/css/tether-theme-arrows-dark.min.css
vendored
Normal file
1
bootstrap/src/lib/tether/css/tether-theme-arrows-dark.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
138
bootstrap/src/lib/tether/css/tether-theme-arrows.css
Normal file
138
bootstrap/src/lib/tether/css/tether-theme-arrows.css
Normal file
@ -0,0 +1,138 @@
|
|||||||
|
.tether-element, .tether-element:after, .tether-element:before, .tether-element *, .tether-element *:after, .tether-element *:before {
|
||||||
|
box-sizing: border-box; }
|
||||||
|
|
||||||
|
.tether-element {
|
||||||
|
position: absolute;
|
||||||
|
display: none; }
|
||||||
|
.tether-element.tether-open {
|
||||||
|
display: block; }
|
||||||
|
|
||||||
|
.tether-element.tether-theme-arrows {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%; }
|
||||||
|
.tether-element.tether-theme-arrows .tether-content {
|
||||||
|
border-radius: 5px;
|
||||||
|
position: relative;
|
||||||
|
font-family: inherit;
|
||||||
|
background: #fff;
|
||||||
|
color: inherit;
|
||||||
|
padding: 1em;
|
||||||
|
font-size: 1.1em;
|
||||||
|
line-height: 1.5em;
|
||||||
|
-webkit-transform: translateZ(0);
|
||||||
|
transform: translateZ(0);
|
||||||
|
-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
|
||||||
|
filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2)); }
|
||||||
|
.tether-element.tether-theme-arrows .tether-content:before {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
position: absolute;
|
||||||
|
width: 0;
|
||||||
|
height: 0;
|
||||||
|
border-color: transparent;
|
||||||
|
border-width: 16px;
|
||||||
|
border-style: solid; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-center .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-center .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -16px;
|
||||||
|
border-top-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-center .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-center .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
left: 50%;
|
||||||
|
margin-left: -16px;
|
||||||
|
border-bottom-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-right.tether-element-attached-middle .tether-content {
|
||||||
|
margin-right: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-right.tether-element-attached-middle .tether-content:before {
|
||||||
|
left: 100%;
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -16px;
|
||||||
|
border-left-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-left.tether-element-attached-middle .tether-content {
|
||||||
|
margin-left: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-left.tether-element-attached-middle .tether-content:before {
|
||||||
|
right: 100%;
|
||||||
|
top: 50%;
|
||||||
|
margin-top: -16px;
|
||||||
|
border-right-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-left.tether-target-attached-center .tether-content {
|
||||||
|
left: -32px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-right.tether-target-attached-center .tether-content {
|
||||||
|
left: 32px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-middle .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-middle .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
left: 16px;
|
||||||
|
border-bottom-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-middle .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-middle .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
right: 16px;
|
||||||
|
border-bottom-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-middle .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-middle .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
left: 16px;
|
||||||
|
border-top-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-middle .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-middle .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
right: 16px;
|
||||||
|
border-top-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-bottom .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-bottom .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
left: 16px;
|
||||||
|
border-bottom-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-bottom .tether-content {
|
||||||
|
margin-top: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-bottom .tether-content:before {
|
||||||
|
bottom: 100%;
|
||||||
|
right: 16px;
|
||||||
|
border-bottom-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-top .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-top .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
left: 16px;
|
||||||
|
border-top-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-top .tether-content {
|
||||||
|
margin-bottom: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-top .tether-content:before {
|
||||||
|
top: 100%;
|
||||||
|
right: 16px;
|
||||||
|
border-top-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-left .tether-content {
|
||||||
|
margin-right: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-right.tether-target-attached-left .tether-content:before {
|
||||||
|
top: 16px;
|
||||||
|
left: 100%;
|
||||||
|
border-left-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content {
|
||||||
|
margin-left: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-top.tether-element-attached-left.tether-target-attached-right .tether-content:before {
|
||||||
|
top: 16px;
|
||||||
|
right: 100%;
|
||||||
|
border-right-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-left .tether-content {
|
||||||
|
margin-right: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-right.tether-target-attached-left .tether-content:before {
|
||||||
|
bottom: 16px;
|
||||||
|
left: 100%;
|
||||||
|
border-left-color: #fff; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-right .tether-content {
|
||||||
|
margin-left: 16px; }
|
||||||
|
.tether-element.tether-theme-arrows.tether-element-attached-bottom.tether-element-attached-left.tether-target-attached-right .tether-content:before {
|
||||||
|
bottom: 16px;
|
||||||
|
right: 100%;
|
||||||
|
border-right-color: #fff; }
|
1
bootstrap/src/lib/tether/css/tether-theme-arrows.min.css
vendored
Normal file
1
bootstrap/src/lib/tether/css/tether-theme-arrows.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
21
bootstrap/src/lib/tether/css/tether-theme-basic.css
Normal file
21
bootstrap/src/lib/tether/css/tether-theme-basic.css
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
.tether-element, .tether-element:after, .tether-element:before, .tether-element *, .tether-element *:after, .tether-element *:before {
|
||||||
|
box-sizing: border-box; }
|
||||||
|
|
||||||
|
.tether-element {
|
||||||
|
position: absolute;
|
||||||
|
display: none; }
|
||||||
|
.tether-element.tether-open {
|
||||||
|
display: block; }
|
||||||
|
|
||||||
|
.tether-element.tether-theme-basic {
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%; }
|
||||||
|
.tether-element.tether-theme-basic .tether-content {
|
||||||
|
border-radius: 5px;
|
||||||
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
|
||||||
|
font-family: inherit;
|
||||||
|
background: #fff;
|
||||||
|
color: inherit;
|
||||||
|
padding: 1em;
|
||||||
|
font-size: 1.1em;
|
||||||
|
line-height: 1.5em; }
|
1
bootstrap/src/lib/tether/css/tether-theme-basic.min.css
vendored
Normal file
1
bootstrap/src/lib/tether/css/tether-theme-basic.min.css
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.tether-element,.tether-element *,.tether-element :after,.tether-element :before,.tether-element:after,.tether-element:before{box-sizing:border-box}.tether-element{position:absolute;display:none}.tether-element.tether-open{display:block}.tether-element.tether-theme-basic{max-width:100%;max-height:100%}.tether-element.tether-theme-basic .tether-content{border-radius:5px;box-shadow:0 2px 8px rgba(0,0,0,.2);font-family:inherit;background:#fff;color:inherit;padding:1em;font-size:1.1em;line-height:1.5em}
|
8
bootstrap/src/lib/tether/css/tether.css
Normal file
8
bootstrap/src/lib/tether/css/tether.css
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
.tether-element, .tether-element:after, .tether-element:before, .tether-element *, .tether-element *:after, .tether-element *:before {
|
||||||
|
box-sizing: border-box; }
|
||||||
|
|
||||||
|
.tether-element {
|
||||||
|
position: absolute;
|
||||||
|
display: none; }
|
||||||
|
.tether-element.tether-open {
|
||||||
|
display: block; }
|
1
bootstrap/src/lib/tether/css/tether.min.css
vendored
Normal file
1
bootstrap/src/lib/tether/css/tether.min.css
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.tether-element,.tether-element *,.tether-element :after,.tether-element :before,.tether-element:after,.tether-element:before{box-sizing:border-box}.tether-element{position:absolute;display:none}.tether-element.tether-open{display:block}
|
1792
bootstrap/src/lib/tether/js/tether.js
Normal file
1792
bootstrap/src/lib/tether/js/tether.js
Normal file
File diff suppressed because it is too large
Load Diff
1
bootstrap/src/lib/tether/js/tether.min.js
vendored
Normal file
1
bootstrap/src/lib/tether/js/tether.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
25
bootstrap/src/main.css
Normal file
25
bootstrap/src/main.css
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
body {
|
||||||
|
padding-top: 5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 small, h2 small {
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
.img-thumbnail-inline {
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
|
||||||
|
:target:before {
|
||||||
|
content: "";
|
||||||
|
display: block;
|
||||||
|
height: 5rem;
|
||||||
|
margin: -5rem 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.github-corner svg{fill:#636c72; color:#fff; position: absolute; top: 3.4rem; border: 0; right: 0;}
|
||||||
|
.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}
|
6
bootstrap/src/main.js
Normal file
6
bootstrap/src/main.js
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
(function() {
|
||||||
|
$('img[src*="thumb"]').parent('a').click(function(e) {
|
||||||
|
e.preventDefault();
|
||||||
|
$(this).ekkoLightbox();
|
||||||
|
});
|
||||||
|
})();
|
45
bootstrap/src/portfolio/index.md
Normal file
45
bootstrap/src/portfolio/index.md
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
+++
|
||||||
|
Area = "portfolio"
|
||||||
|
CrumbName = "portfolio"
|
||||||
|
CrumbParent = "home"
|
||||||
|
Layout = "page"
|
||||||
|
Title = "Portfolio"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce libero nisl, aliquet et ante tristique, rhoncus blandit
|
||||||
|
elit. Donec pretium et nunc at congue. Donec sit amet sem in nisl posuere semper. Suspendisse at fringilla nisl. Nullam
|
||||||
|
tincidunt interdum diam, sed tempus eros fermentum sed. Aliquam elementum eros vel tristique scelerisque. Donec congue
|
||||||
|
lectus et lectus tincidunt viverra. Morbi eget lectus aliquam, semper nisi ut, consequat turpis. Etiam rutrum mauris
|
||||||
|
erat, ut vulputate arcu lobortis at. Nulla tellus massa, placerat id viverra nec, vulputate quis est. Sed sed magna
|
||||||
|
tincidunt, laoreet nisl ac, tempor quam. Donec lacinia ex quis leo dignissim, a aliquet enim rutrum.
|
||||||
|
|
||||||
|
Aliquam lobortis ligula nec viverra euismod. Maecenas odio enim, ullamcorper vel blandit ac, tincidunt sed eros. Integer
|
||||||
|
euismod ullamcorper lobortis. Quisque placerat, metus lobortis pulvinar vulputate, urna dolor lacinia velit, eu interdum
|
||||||
|
turpis nibh sed leo. Curabitur posuere volutpat ornare. Cras rutrum sem augue, at mattis nisi placerat vel. Donec mattis
|
||||||
|
luctus metus, in lobortis mauris varius ut. Donec felis leo, eleifend vel sollicitudin in, tempus id felis.
|
||||||
|
|
||||||
|
> Phasellus non nunc lectus. Nulla laoreet rutrum nisl in tincidunt. Lorem ipsum dolor sit amet, consectetur adipiscing
|
||||||
|
elit. Phasellus massa nisi, iaculis pretium rutrum a, gravida sed purus. Cras ultricies scelerisque nisi, non
|
||||||
|
ullamcorper ligula volutpat nec. Fusce ut porta leo, a egestas lorem. Aliquam a ipsum facilisis justo dignissim
|
||||||
|
accumsan. Nullam at rutrum felis.
|
||||||
|
|
||||||
|
Vivamus tincidunt ex sit amet nulla fermentum, sed vehicula neque imperdiet. Vestibulum at vulputate mauris, lacinia
|
||||||
|
fringilla erat. Integer tortor dui, placerat at neque et, fermentum vestibulum ipsum. Quisque sollicitudin urna eget
|
||||||
|
odio fermentum, sed posuere nulla malesuada. Quisque vitae felis ac diam iaculis interdum non ut purus. Maecenas
|
||||||
|
blandit, sapien ut hendrerit fermentum, mi leo cursus metus, non laoreet ipsum libero eu dui. Vivamus turpis nibh,
|
||||||
|
maximus eu interdum at, rutrum in nisl. Donec euismod pulvinar magna porttitor porta. Vivamus feugiat velit tristique
|
||||||
|
risus posuere elementum. Vestibulum viverra erat sit amet condimentum porta. Vestibulum laoreet tincidunt purus, sed
|
||||||
|
varius ipsum vehicula in. Suspendisse pellentesque, arcu vel consectetur euismod, ipsum risus dictum ligula, ac laoreet
|
||||||
|
ante neque in urna. Fusce ac dolor placerat, blandit dolor sed, hendrerit erat.
|
||||||
|
|
||||||
|
1. Suspendisse in sem bibendum urna rutrum ornare.
|
||||||
|
2. Nam at dui non nibh elementum facilisis.
|
||||||
|
3. Vivamus eleifend lacus quis ex sagittis, venenatis interdum mauris cursus.
|
||||||
|
4. Cras imperdiet lorem non libero sollicitudin lacinia.
|
||||||
|
* Etiam luctus sem non ante condimentum, vitae rhoncus risus mattis.
|
||||||
|
* Phasellus fringilla felis vitae accumsan aliquet.
|
||||||
|
|
||||||
|
Praesent fermentum a lacus nec molestie. Cras et pulvinar urna, quis pharetra enim. Vestibulum egestas tellus a libero
|
||||||
|
blandit, at scelerisque quam placerat. Proin iaculis volutpat viverra. Phasellus velit massa, feugiat vel condimentum
|
||||||
|
tempor, fringilla nec orci. Fusce sed rutrum purus, at sodales nulla. Donec ipsum dui, tincidunt et felis a, dignissim
|
||||||
|
ultrices lorem. Maecenas mattis vel metus quis dapibus.
|
BIN
bootstrap/src/projects/bar/img/screenshot1.png
Normal file
BIN
bootstrap/src/projects/bar/img/screenshot1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
bootstrap/src/projects/bar/img/screenshot2.png
Normal file
BIN
bootstrap/src/projects/bar/img/screenshot2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
83
bootstrap/src/projects/bar/index.md
Normal file
83
bootstrap/src/projects/bar/index.md
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
+++
|
||||||
|
Area = "projects"
|
||||||
|
CrumbParent = "projects"
|
||||||
|
GitHub = "bar"
|
||||||
|
Layout = "page"
|
||||||
|
Tags = ["bar", "python", "mit license"]
|
||||||
|
Title = "Bar"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean in facilisis libero. Cras tincidunt augue non commodo
|
||||||
|
dictum. Ut finibus dignissim leo ut fringilla. Maecenas justo urna, vulputate id tellus at, fermentum pellentesque
|
||||||
|
lorem. Nulla a dolor a orci ornare hendrerit. Aliquam eget lorem ullamcorper, laoreet tellus quis, rhoncus leo. In quis
|
||||||
|
dolor varius, pretium lacus at, interdum est. Pellentesque sed metus condimentum felis imperdiet gravida.
|
||||||
|
|
||||||
|
Ut viverra, augue vel ultrices mollis, leo lacus dictum erat, vel lacinia arcu nisi id lorem. Mauris mollis elementum
|
||||||
|
viverra. Fusce convallis velit mollis viverra cursus. Curabitur bibendum magna tortor, mattis pretium quam rutrum eu. Ut
|
||||||
|
volutpat turpis ut metus sagittis lobortis. Praesent et urna sed est blandit posuere non ut enim. Vestibulum venenatis
|
||||||
|
mauris quis aliquet congue. Donec faucibus fermentum tortor non congue.
|
||||||
|
|
||||||
|
```python
|
||||||
|
import itertools
|
||||||
|
|
||||||
|
def iter_primes():
|
||||||
|
# an iterator of all numbers between 2 and +infinity
|
||||||
|
numbers = itertools.count(2)
|
||||||
|
|
||||||
|
# generate primes forever
|
||||||
|
while True:
|
||||||
|
# get the first number from the iterator (always a prime)
|
||||||
|
prime = numbers.next()
|
||||||
|
yield prime
|
||||||
|
|
||||||
|
# this code iteratively builds up a chain of
|
||||||
|
# filters...slightly tricky, but ponder it a bit
|
||||||
|
numbers = itertools.ifilter(prime.__rmod__, numbers)
|
||||||
|
|
||||||
|
for p in iter_primes():
|
||||||
|
if p > 1000:
|
||||||
|
break
|
||||||
|
print p
|
||||||
|
```
|
||||||
|
|
||||||
|
Maecenas mollis urna at velit dapibus rhoncus. Etiam risus mauris, facilisis vitae erat laoreet, ornare sagittis diam.
|
||||||
|
Sed sem tellus, egestas eu eleifend et, suscipit sit amet quam. Maecenas eu massa nec urna aliquam maximus finibus sit
|
||||||
|
amet lectus. Quisque ultricies euismod libero, ac hendrerit enim interdum vitae. Sed quis mauris pharetra, hendrerit
|
||||||
|
nulla posuere, euismod velit. Vivamus urna tortor, congue non mi in, vehicula commodo leo. Duis volutpat fringilla
|
||||||
|
finibus. Duis ullamcorper lectus id turpis porta, vitae suscipit orci dictum.
|
||||||
|
|
||||||
|
Sed rhoncus suscipit blandit. Duis augue nulla, porttitor eu lorem maximus, dictum tempor felis. Nulla gravida cursus
|
||||||
|
arcu. Nullam lobortis lacus sem, non facilisis massa malesuada nec. Nunc efficitur ligula eu pulvinar pulvinar. Aenean
|
||||||
|
massa ligula, mattis et semper id, efficitur vel nisi. Sed pretium, quam at mollis sagittis, lorem mi auctor felis, eget
|
||||||
|
feugiat ipsum nunc a dolor. Proin eu arcu sit amet quam ultrices vehicula. Proin aliquam sem odio.
|
||||||
|
|
||||||
|
[![Screenshot 1](img/screenshot1-thumb.png)](img/screenshot1.png)
|
||||||
|
[![Screenshot 2](img/screenshot2-thumb.png)](img/screenshot2.png)
|
||||||
|
|
||||||
|
## Instructions ##
|
||||||
|
|
||||||
|
1. Suspendisse in sem bibendum urna rutrum ornare.
|
||||||
|
2. Nam at dui non nibh elementum facilisis.
|
||||||
|
3. Vivamus eleifend lacus quis ex sagittis, venenatis interdum mauris cursus.
|
||||||
|
4. Cras imperdiet lorem non libero sollicitudin lacinia.
|
||||||
|
* Etiam luctus sem non ante condimentum, vitae rhoncus risus mattis.
|
||||||
|
* Phasellus fringilla felis vitae accumsan aliquet.
|
||||||
|
|
||||||
|
## License ##
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
BIN
bootstrap/src/projects/foo/img/screenshot1.png
Normal file
BIN
bootstrap/src/projects/foo/img/screenshot1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
BIN
bootstrap/src/projects/foo/img/screenshot2.png
Normal file
BIN
bootstrap/src/projects/foo/img/screenshot2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
88
bootstrap/src/projects/foo/index.md
Normal file
88
bootstrap/src/projects/foo/index.md
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
+++
|
||||||
|
Area = "projects"
|
||||||
|
CrumbParent = "projects"
|
||||||
|
GitHub = "foo"
|
||||||
|
Layout = "page"
|
||||||
|
Tags = ["foo", "cpp", "mit license"]
|
||||||
|
Title = "Foo"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean in facilisis libero. Cras tincidunt augue non commodo
|
||||||
|
dictum. Ut finibus dignissim leo ut fringilla. Maecenas justo urna, vulputate id tellus at, fermentum pellentesque
|
||||||
|
lorem. Nulla a dolor a orci ornare hendrerit. Aliquam eget lorem ullamcorper, laoreet tellus quis, rhoncus leo. In quis
|
||||||
|
dolor varius, pretium lacus at, interdum est. Pellentesque sed metus condimentum felis imperdiet gravida.
|
||||||
|
|
||||||
|
Ut viverra, augue vel ultrices mollis, leo lacus dictum erat, vel lacinia arcu nisi id lorem. Mauris mollis elementum
|
||||||
|
viverra. Fusce convallis velit mollis viverra cursus. Curabitur bibendum magna tortor, mattis pretium quam rutrum eu. Ut
|
||||||
|
volutpat turpis ut metus sagittis lobortis. Praesent et urna sed est blandit posuere non ut enim. Vestibulum venenatis
|
||||||
|
mauris quis aliquet congue. Donec faucibus fermentum tortor non congue.
|
||||||
|
|
||||||
|
```cpp
|
||||||
|
#include <iostream>
|
||||||
|
#include <vector>
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
try {
|
||||||
|
std::vector<int> vec{3,4,3,1};
|
||||||
|
int i{vec.at(4)}; // Throws an exception, std::out_of_range (indexing for vec is from 0-3 not 1-4)
|
||||||
|
}
|
||||||
|
|
||||||
|
// An exception handler, catches std::out_of_range, which is thrown by vec.at(4)
|
||||||
|
catch (std::out_of_range& e) {
|
||||||
|
std::cerr << "Accessing a non-existent element: " << e.what() << '\n';
|
||||||
|
}
|
||||||
|
|
||||||
|
// To catch any other standard library exceptions (they derive from std::exception)
|
||||||
|
catch (std::exception& e) {
|
||||||
|
std::cerr << "Exception thrown: " << e.what() << '\n';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Catch any unrecognised exceptions (i.e. those which don't derive from std::exception)
|
||||||
|
catch (...) {
|
||||||
|
std::cerr << "Some fatal error\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Maecenas mollis urna at velit dapibus rhoncus. Etiam risus mauris, facilisis vitae erat laoreet, ornare sagittis diam.
|
||||||
|
Sed sem tellus, egestas eu eleifend et, suscipit sit amet quam. Maecenas eu massa nec urna aliquam maximus finibus sit
|
||||||
|
amet lectus. Quisque ultricies euismod libero, ac hendrerit enim interdum vitae. Sed quis mauris pharetra, hendrerit
|
||||||
|
nulla posuere, euismod velit. Vivamus urna tortor, congue non mi in, vehicula commodo leo. Duis volutpat fringilla
|
||||||
|
finibus. Duis ullamcorper lectus id turpis porta, vitae suscipit orci dictum.
|
||||||
|
|
||||||
|
Sed rhoncus suscipit blandit. Duis augue nulla, porttitor eu lorem maximus, dictum tempor felis. Nulla gravida cursus
|
||||||
|
arcu. Nullam lobortis lacus sem, non facilisis massa malesuada nec. Nunc efficitur ligula eu pulvinar pulvinar. Aenean
|
||||||
|
massa ligula, mattis et semper id, efficitur vel nisi. Sed pretium, quam at mollis sagittis, lorem mi auctor felis, eget
|
||||||
|
feugiat ipsum nunc a dolor. Proin eu arcu sit amet quam ultrices vehicula. Proin aliquam sem odio.
|
||||||
|
|
||||||
|
[![Screenshot 1](img/screenshot1-thumb.png)](img/screenshot1.png)
|
||||||
|
[![Screenshot 2](img/screenshot2-thumb.png)](img/screenshot2.png)
|
||||||
|
|
||||||
|
## Instructions ##
|
||||||
|
|
||||||
|
1. Suspendisse in sem bibendum urna rutrum ornare.
|
||||||
|
2. Nam at dui non nibh elementum facilisis.
|
||||||
|
3. Vivamus eleifend lacus quis ex sagittis, venenatis interdum mauris cursus.
|
||||||
|
4. Cras imperdiet lorem non libero sollicitudin lacinia.
|
||||||
|
* Etiam luctus sem non ante condimentum, vitae rhoncus risus mattis.
|
||||||
|
* Phasellus fringilla felis vitae accumsan aliquet.
|
||||||
|
|
||||||
|
## License ##
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
31
bootstrap/src/projects/index.md
Normal file
31
bootstrap/src/projects/index.md
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
+++
|
||||||
|
Area = "projects"
|
||||||
|
CrumbName = "projects"
|
||||||
|
CrumbParent = "home"
|
||||||
|
Layout = "page"
|
||||||
|
Title = "Projects"
|
||||||
|
+++
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean in facilisis libero. Cras tincidunt augue non commodo
|
||||||
|
dictum. Ut finibus dignissim leo ut fringilla. Maecenas justo urna, vulputate id tellus at, fermentum pellentesque
|
||||||
|
lorem. Nulla a dolor a orci ornare hendrerit. Aliquam eget lorem ullamcorper, laoreet tellus quis, rhoncus leo. In quis
|
||||||
|
dolor varius, pretium lacus at, interdum est. Pellentesque sed metus condimentum felis imperdiet gravida.
|
||||||
|
|
||||||
|
Ut viverra, augue vel ultrices mollis, leo lacus dictum erat, vel lacinia arcu nisi id lorem. Mauris mollis elementum
|
||||||
|
viverra. Fusce convallis velit mollis viverra cursus. Curabitur bibendum magna tortor, mattis pretium quam rutrum eu. Ut
|
||||||
|
volutpat turpis ut metus sagittis lobortis. Praesent et urna sed est blandit posuere non ut enim. Vestibulum venenatis
|
||||||
|
mauris quis aliquet congue. Donec faucibus fermentum tortor non congue.
|
||||||
|
|
||||||
|
## [Foo](foo/) ##
|
||||||
|
|
||||||
|
Maecenas mollis urna at velit dapibus rhoncus. Etiam risus mauris, facilisis vitae erat laoreet, ornare sagittis
|
||||||
|
diam. Sed sem tellus, egestas eu eleifend et, suscipit sit amet quam. Maecenas eu massa nec urna aliquam maximus
|
||||||
|
finibus sit amet lectus. Quisque ultricies euismod libero, ac hendrerit enim interdum vitae. Sed quis mauris
|
||||||
|
pharetra, hendrerit nulla posuere, euismod velit. Vivamus urna tortor, congue non mi in, vehicula commodo leo. Duis
|
||||||
|
volutpat fringilla finibus. Duis ullamcorper lectus id turpis porta, vitae suscipit orci dictum.
|
||||||
|
|
||||||
|
## [Bar](bar/) ##
|
||||||
|
Sed rhoncus suscipit blandit. Duis augue nulla, porttitor eu lorem maximus, dictum tempor felis. Nulla gravida cursus
|
||||||
|
arcu. Nullam lobortis lacus sem, non facilisis massa malesuada nec. Nunc efficitur ligula eu pulvinar pulvinar. Aenean
|
||||||
|
massa ligula, mattis et semper id, efficitur vel nisi. Sed pretium, quam at mollis sagittis, lorem mi auctor felis, eget
|
||||||
|
feugiat ipsum nunc a dolor. Proin eu arcu sit amet quam ultrices vehicula. Proin aliquam sem odio.
|
26
bootstrap/src/tags/index.md
Normal file
26
bootstrap/src/tags/index.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
+++
|
||||||
|
Area = "tags"
|
||||||
|
CrumbName = "tags"
|
||||||
|
CrumbParent = "home"
|
||||||
|
Layout = "tags"
|
||||||
|
Title = "Tags"
|
||||||
|
+++
|
||||||
|
|
||||||
|
## License ##
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
Loading…
Reference in New Issue
Block a user