Skip to content
Snippets Groups Projects
Commit b973acb6 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

vagrant test

parent 7f02c5ba
No related branches found
No related tags found
4 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section
/*
* Copyright (c) 2016 Martin Donath <martin.donath@squidfunk.com>
*
* 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 NON-INFRINGEMENT. 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.
*/
/* ----------------------------------------------------------------------------
* Dependencies
* ------------------------------------------------------------------------- */
@import "bourbon";
@import "quantum-colors";
@import "quantum-shadows";
/* ----------------------------------------------------------------------------
* Application
* ------------------------------------------------------------------------- */
@import "palette";
@import "mixins/break";
/* ----------------------------------------------------------------------------
* Palette
* ------------------------------------------------------------------------- */
/*
* Build primary palette
*/
@each $name, $color in (
'red': $red-400,
'pink': $pink-500,
'purple': $purple-400,
'deep-purple': $deep-purple-400,
'indigo': $indigo-500,
'blue': $blue-500,
'light-blue': $light-blue-500,
'cyan': $cyan-500,
'teal': $teal-500,
'green': $green-500,
'light-green': $light-green-600,
'lime': $lime-600,
'yellow': $yellow-800,
'amber': $amber-600,
'orange': $orange-600,
'deep-orange': $deep-orange-400,
'brown': $brown-500,
'grey': $grey-600,
'blue-grey': $blue-grey-600
) {
/*
* Device specific background hacks related to rubberband
*/
.palette-primary-#{$name} {
/* Hack [Chrome, Opera]: Set background color in Chrome and Opera */
@supports (-webkit-appearance: none) {
background: $color;
}
/*
* Application header and footer
*/
.header, .footer {
background: $color;
}
/*
* Drawer container
*/
.drawer {
/*
* Color links
*/
.toc a {
/*
* Current active element
*/
&.current {
color: $color;
}
/*
* Hovered link
*/
&:hover, &:focus {
color: $color;
}
}
/*
* Color anchors menu
*/
.anchor a {
border-left: 2px solid $color;
}
}
/*
* Project information
*/
.project {
/* [tablet landscape-]: Set background color */
@include break-to-device(tablet landscape) {
background: $color;
}
}
/*
* Article
*/
.article {
/*
* Differing top and bottom rubberband backgrounds in iOS web application
*/
.ios.standalone & {
background: linear-gradient(
to bottom, $white 50%, $color 50%);
}
/*
* Headlines, chapters, links and inline code
*/
h1, h2, a, code {
color: $color;
}
/*
* Light permalinks
*/
.headerlink {
color: $black-lighter;
}
/*
* Data table headings
*/
table th {
background: mix($color, $white, 75%);
}
}
/*
* Search meta data
*/
.results .meta {
background: $color;
}
}
}
/*
* Build accent palette
*/
@each $name, $color in (
'red': $red-a400,
'pink': $pink-a400,
'purple': $purple-a200,
'deep-purple': $deep-purple-a200,
'indigo': $indigo-a200,
'blue': $blue-a200,
'light-blue': $light-blue-a700,
'cyan': $cyan-a700,
'teal': $teal-a700,
'green': $green-a700,
'light-green': $light-green-a700,
'lime': $lime-a700,
'yellow': $yellow-a700,
'amber': $amber-a700,
'orange': $orange-a400,
'deep-orange': $deep-orange-a200
) {
/*
* Device specific background hacks related to rubberband
*/
.palette-accent-#{$name} {
/*
* Article
*/
.article {
/*
* Hovered and focused links
*/
a:hover,
a:focus {
color: $color;
}
}
/*
* Repository buttons
*/
.repo a {
background: $color;
}
}
}
\ No newline at end of file
This diff is collapsed.
<!-- Navigation -->
<nav aria-label="Navigation"> <nav aria-label="Navigation">
{% set home = repo_url | default("/", true) %} {% set home = repo_url | default("/", true) %}
<!-- Project information -->
<a href="{{ home }}" class="project"> <a href="{{ home }}" class="project">
<!-- Name and logo -->
<div class="banner"> <div class="banner">
<!-- Version -->
{% if config.extra.logo %} {% if config.extra.logo %}
<div class="logo"> <div class="logo">
<img src="{{ base_url }}/{{ config.extra.logo }}" /> <img src="{{ base_url }}/{{ config.extra.logo }}">
</div> </div>
{% endif %} {% endif %}
<!-- Project name and verison -->
<div class="name"> <div class="name">
<strong> <strong>
{{ site_name }} {{ site_name }}
...@@ -23,72 +14,54 @@ ...@@ -23,72 +14,54 @@
{{ config.extra.version }} {{ config.extra.version }}
</span> </span>
</strong> </strong>
<!-- Project repository name -->
{% if repo_id %} {% if repo_id %}
<br /> <br>
{{ repo_id }} {{ repo_id }}
{% endif %} {% endif %}
</div> </div>
</div> </div>
</a> </a>
<!-- Repository and table of contents -->
<div class="scrollable"> <div class="scrollable">
<div class="wrapper"> <div class="wrapper">
<!-- Repository -->
{% if repo_name == "GitHub" and repo_url %} {% if repo_name == "GitHub" and repo_url %}
<ul class="repo"> <ul class="repo">
<li class="repo-download"> <li class="repo-download">
{% set version = config.extra.version | default("master") %} {% set version = config.extra.version | default("master") %}
<a href="{{ repo_url }}/archive/{{ version }}.zip" target="_blank" <a href="{{ repo_url }}/archive/{{ version }}.zip" target="_blank" title="Download" data-action="download">
title="Download" data-action="download">
<i class="icon icon-download"></i> Download <i class="icon icon-download"></i> Download
</a> </a>
</li> </li>
<li class="repo-stars"> <li class="repo-stars">
<a href="{{ repo_url }}/stargazers" target="_blank" <a href="{{ repo_url }}/stargazers" target="_blank" title="Stargazers" data-action="star">
title="Stargazers" data-action="star">
<i class="icon icon-star"></i> Stars <i class="icon icon-star"></i> Stars
<span class="count">&ndash;</span> <span class="count">&ndash;</span>
</a> </a>
</li> </li>
</ul> </ul>
<hr /> <hr>
{% endif %} {% endif %}
<!-- Table of contents -->
<div class="toc"> <div class="toc">
<ul> <ul>
{% for nav_item in nav %} {% for nav_item in nav %}
{% include "nav.html" %} {% include "nav.html" %}
{% endfor %} {% endfor %}
</ul> </ul>
<!-- Author-related links -->
{% if config.extra.author %} {% if config.extra.author %}
<hr /> <hr>
<span class="section">The author</span> <span class="section">The author</span>
<ul> <ul>
<!-- Twitter -->
{% if config.extra.author.twitter %} {% if config.extra.author.twitter %}
{% set author = config.extra.author.twitter %} {% set author = config.extra.author.twitter %}
<li> <li>
<a href="https://twitter.com/{{ author }}" target="_blank" <a href="https://twitter.com/{{ author }}" target="_blank" title="@{{ author }} on Twitter">
title="@{{ author }} on Twitter">
@{{ author }} on Twitter @{{ author }} on Twitter
</a> </a>
</li> </li>
{% endif %} {% endif %}
<!-- GitHub -->
{% if config.extra.author.github %} {% if config.extra.author.github %}
{% set author = config.extra.author.github %} {% set author = config.extra.author.github %}
<li> <li>
<a href="https://github.com/{{ author }}" target="_blank" <a href="https://github.com/{{ author }}" target="_blank" title="@{{ author }} on GitHub">
title="@{{ author }} on GitHub">
@{{ author }} on GitHub @{{ author }} on GitHub
</a> </a>
</li> </li>
......
<!-- Previous and next page -->
{% if include_next_prev %} {% if include_next_prev %}
<nav class="pagination" aria-label="Footer"> <nav class="pagination" aria-label="Footer">
<!-- Previous page -->
<div class="previous"> <div class="previous">
{% if previous_page %} {% if previous_page %}
<a href="{{ previous_page.url }}" title="{{ previous_page.title }}"> <a href="{{ previous_page.url }}" title="{{ previous_page.title }}">
...@@ -10,8 +7,7 @@ ...@@ -10,8 +7,7 @@
{{ config.extra.get("i18n", {}).prev | default("Previous") }} {{ config.extra.get("i18n", {}).prev | default("Previous") }}
</span> </span>
<div class="page"> <div class="page">
<div class="button button-previous" <div class="button button-previous" role="button" aria-label="Previous">
role="button" aria-label="Previous">
<i class="icon icon-back"></i> <i class="icon icon-back"></i>
</div> </div>
<div class="stretch"> <div class="stretch">
...@@ -23,8 +19,6 @@ ...@@ -23,8 +19,6 @@
</a> </a>
{% endif %} {% endif %}
</div> </div>
<!-- Next page -->
<div class="next"> <div class="next">
{% if next_page %} {% if next_page %}
<a href="{{ next_page.url }}" title="{{ next_page.title }}"> <a href="{{ next_page.url }}" title="{{ next_page.title }}">
......
<!-- Top-level navigation -->
<nav aria-label="Header"> <nav aria-label="Header">
<!-- Default bar -->
<div class="bar default"> <div class="bar default">
<!-- Toggle drawer -->
<div class="button button-menu" role="button" aria-label="Menu"> <div class="button button-menu" role="button" aria-label="Menu">
<label class="toggle-button icon icon-menu" for="toggle-drawer"> <label class="toggle-button icon icon-menu" for="toggle-drawer">
<span></span> <span></span>
</label> </label>
</div> </div>
<!-- Page title -->
<div class="stretch"> <div class="stretch">
<div class="title"> <div class="title">
{% if current_page %} {% if current_page %}
...@@ -29,56 +22,33 @@ ...@@ -29,56 +22,33 @@
{{ page_title | default(site_name, true) }} {{ page_title | default(site_name, true) }}
</div> </div>
</div> </div>
<!-- Twitter -->
{% if config.extra.get("author", {}).twitter %} {% if config.extra.get("author", {}).twitter %}
{% set author = config.extra.author.twitter %} {% set author = config.extra.author.twitter %}
<div class="button button-twitter" role="button" aria-label="Twitter"> <div class="button button-twitter" role="button" aria-label="Twitter">
<a href="https://twitter.com/{{ author }}" <a href="https://twitter.com/{{ author }}" title="@{{ author }} on Twitter" target="_blank" class="toggle-button icon icon-twitter"></a>
title="@{{ author }} on Twitter" target="_blank"
class="toggle-button icon icon-twitter"></a>
</div> </div>
{% endif %} {% endif %}
<!-- GitHub -->
{% if config.extra.get("author", {}).github %} {% if config.extra.get("author", {}).github %}
{% set author = config.extra.author.github %} {% set author = config.extra.author.github %}
<div class="button button-github" role="button" aria-label="GitHub"> <div class="button button-github" role="button" aria-label="GitHub">
<a href="https://github.com/{{ author }}" <a href="https://github.com/{{ author }}" title="@{{ author }} on GitHub" target="_blank" class="toggle-button icon icon-github"></a>
title="@{{ author }} on GitHub" target="_blank"
class="toggle-button icon icon-github"></a>
</div> </div>
{% endif %} {% endif %}
<!-- Open search -->
<div class="button button-search" role="button" aria-label="Search"> <div class="button button-search" role="button" aria-label="Search">
<label class="toggle-button icon icon-search" title="Search" <label class="toggle-button icon icon-search" title="Search" for="toggle-search"></label>
for="toggle-search"></label>
</div> </div>
</div> </div>
<!-- Search bar -->
<div class="bar search"> <div class="bar search">
<!-- Close search -->
<div class="button button-close" role="button" aria-label="Close"> <div class="button button-close" role="button" aria-label="Close">
<label class="toggle-button icon icon-back" <label class="toggle-button icon icon-back" for="toggle-search"></label>
for="toggle-search"></label>
</div> </div>
<!-- Search form -->
<div class="stretch"> <div class="stretch">
<div class="field"> <div class="field">
<input class="query" type="text" placeholder="Search" <input class="query" type="text" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck>
autocapitalize="off" autocorrect="off" autocomplete="off"
spellcheck="false" />
</div> </div>
</div> </div>
<!-- Empty search -->
<div class="button button-reset" role="button" aria-label="Search"> <div class="button button-reset" role="button" aria-label="Search">
<button class="toggle-button icon icon-close" <button class="toggle-button icon icon-close" id="reset-search"></button>
id="reset-search"></button>
</div> </div>
</div> </div>
</nav> </nav>
\ No newline at end of file
{
"assets/images/favicon.ico": "assets/images/favicon-e565ddfa3b.ico",
"assets/javascripts/application.js": "assets/javascripts/application-997097ee0c.js",
"assets/javascripts/modernizr.js": "assets/javascripts/modernizr-4ab42b99fd.js",
"assets/stylesheets/application.css": "assets/stylesheets/application-a422ff04cc.css",
"assets/stylesheets/palettes.css": "assets/stylesheets/palettes-05ab2406df.css"
}
\ No newline at end of file
<!-- Render sections -->
{% if nav_item.children %} {% if nav_item.children %}
<li> <li>
<span class="section">{{ nav_item.title }}</span> <span class="section">{{ nav_item.title }}</span>
<ul> <ul>
<!-- Render pages of section -->
{% for nav_item in nav_item.children %} {% for nav_item in nav_item.children %}
{% include "nav.html" %} {% include "nav.html" %}
{% endfor %} {% endfor %}
</ul> </ul>
</li> </li>
<!-- Render page link -->
{% else %} {% else %}
<li> <li>
<a class="{% if nav_item.active %}current{% endif %}" <a class="{% if nav_item.active %}current{% endif %}" title="{{ nav_item.title }}" href="{{ nav_item.url }}">
title="{{ nav_item.title }}" href="{{ nav_item.url }}" >
{{ nav_item.title }} {{ nav_item.title }}
</a> </a>
<!-- Expand active pages -->
{% if nav_item == current_page %} {% if nav_item == current_page %}
<!--
The top-level anchor must be skipped if the article contains a h1
headline, since it would be redundant to the link to the current page
that is located just above the anchor. Therefore we directly continue
with the children of the anchor.
-->
{% if h1 %} {% if h1 %}
{% set toc = (toc | first).children %} {% set toc = (toc | first).children %}
{% endif %} {% endif %}
<!-- Render anchors of active page -->
{% if toc and (toc | first) %} {% if toc and (toc | first) %}
<ul> <ul>
{% for toc_item in toc %} {% for toc_item in toc %}
<!-- Render anchor -->
<li class="anchor"> <li class="anchor">
<a title="{{ toc_item.title }}" href="{{ toc_item.url }}"> <a title="{{ toc_item.title }}" href="{{ toc_item.url }}">
{{ toc_item.title }} {{ toc_item.title }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment