New design, new structure of web
|
@ -0,0 +1,2 @@
|
|||
_site
|
||||
.sass-cache
|
|
@ -0,0 +1,6 @@
|
|||
# Name of your site (displayed in the header)
|
||||
name: OSM2VectorTiles
|
||||
|
||||
permalink: pretty
|
||||
|
||||
baseurl: "http://klokantech.github.io/osm2vectortiles/"
|
|
@ -1,20 +0,0 @@
|
|||
<div class="action">
|
||||
<a href="/docs/examples.html" class="action__item">
|
||||
<div class="action__logo">
|
||||
<img src="img/map.png" alt="Examples">
|
||||
</div>
|
||||
<h3 class="action__header">Examples</h3>
|
||||
</a>
|
||||
<a href="/data/download.html" class="action__item">
|
||||
<div class="action__logo">
|
||||
<img src="img/download.png" alt="Download MBTiles">
|
||||
</div>
|
||||
<h3 class="action__header">Download</h3>
|
||||
</a>
|
||||
<a href="/docs/deploy.html" class="action__item">
|
||||
<div class="action__logo">
|
||||
<img src="img/docker.png" alt="Deployment with Docker">
|
||||
</div>
|
||||
<h3 class="action__header">Deploy</h3>
|
||||
</a>
|
||||
</div>
|
|
@ -1,18 +0,0 @@
|
|||
<h3>
|
||||
<a id="contributors" class="anchor" href="#contributors" aria-hidden="true"><span class="octicon octicon-link"></span></a>Contributors</h3>
|
||||
|
||||
<ul>
|
||||
<li>Manuel Roth <a href="https://github.com/manuelroth" class="user-mention">@manuelroth</a></li>
|
||||
<li>Lukas Martinelli <a href="https://github.com/lukasmartinelli" class="user-mention">@lukasmartinelli</a></li>
|
||||
<li>Stefan Keller <a href="https://github.com/sfkeller" class="user-mention">@sfkeller</a></li>
|
||||
<li>Petr Pridal <a href="https://github.com/klokan" class="user-mention">@klokan</a></li>
|
||||
</ul>
|
||||
|
||||
<div class="contributor__gallery">
|
||||
<a href="http://www.klokantech.com/">
|
||||
<img class="contributor__image" src="img/klokantech.png" alt="Klokan Technologies"/>
|
||||
</a>
|
||||
<a href="http://www.ifs.hsr.ch/Geometa-Lab.12520.0.html">
|
||||
<img class="contributor__image" src="img/hsr.png" alt="Geometalab HSR"/>
|
||||
</a>
|
||||
</div>
|
|
@ -1,3 +0,0 @@
|
|||
<footer class="site-footer">
|
||||
<span class="site-footer-owner"><a href="https://github.com/geometalab/osm2vectortiles">osm2vectortiles</a> is maintained by <a href="https://github.com/geometalab">geometalab</a>.</span>
|
||||
</footer>
|
|
@ -1,10 +0,0 @@
|
|||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("UA-68032536-1");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}
|
||||
</script>
|
|
@ -1,6 +0,0 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>osm2vectortiles by geometalab</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" type="text/css" href="/css/normalize.css" media="screen">
|
||||
<link rel="stylesheet" type="text/css" href="/css/stylesheet.css" media="screen">
|
||||
<link rel="stylesheet" type="text/css" href="/css/github-light.css" media="screen">
|
|
@ -1,8 +0,0 @@
|
|||
<section class="header">
|
||||
<div class="header__sticky">
|
||||
<div class="header__wrapper">
|
||||
<a href="/"><h1 class="header__brand">OSM Vector Tiles</h1></a>
|
||||
{% include nav.html %}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
|
@ -1,9 +0,0 @@
|
|||
<section class="header">
|
||||
<div class="header__sticky">
|
||||
<div class="header__wrapper">
|
||||
<a href="/"><h1 class="header__brand">OSM Vector Tiles</h1></a>
|
||||
{% include nav.html %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="header__image"></div>
|
||||
</section>
|
|
@ -1,5 +0,0 @@
|
|||
<div class="header__nav">
|
||||
<a class="header__nav-link" href="/docs/overview.html">Docs</a>
|
||||
<a class="header__nav-link" href="/data/download.html">Downloads</a>
|
||||
<a class="header__nav-link" href="/docs/faq.html">FAQ</a>
|
||||
</div>
|
|
@ -1,10 +1,62 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<html>
|
||||
<head>
|
||||
{% include head.html %}
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv='X-UA-Compatible' content='IE=edge' />
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0' />
|
||||
|
||||
<title>{% if page.title %}{{ page.title }} – {% endif %}{{ site.name }}</title>
|
||||
|
||||
<meta name="author" content="{{ site.name }}" />
|
||||
<meta name="description" content="{{ site.description }}" />
|
||||
<meta name="theme-color" content="#115e94">
|
||||
|
||||
<link href="{{ site.baseurl }}base.css" rel="stylesheet" />
|
||||
<!--<script type="text/javascript" src="{{ site.baseurl }}js/index.js"></script>-->
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<body {% if page.id == 'home' %}class="home"{% endif %}>
|
||||
<div id="navbar-top">
|
||||
<div class="container">
|
||||
<a class="title" href="{{ site.baseurl }}">
|
||||
<img src="/img/osm2vectortiles-logo-small-white.png" alt="OSM2VectorTiles logo">
|
||||
OSM2VectorTiles</a>
|
||||
<ul class="nav">
|
||||
<li><a href="{{ site.baseurl }}">MAPS</a></li>
|
||||
<li><a href="{{ site.baseurl }}docs/">DOCS</a></li>
|
||||
<li><a href="{{ site.baseurl }}data/download">DOWNLOADS</a></li>
|
||||
<li><a href="{{ site.baseurl }}faq">FAQ</a></li>
|
||||
<li><a href="https://github.com/osm2vectortiles/osm2vectortiles">
|
||||
<img class="octocat" src="{{ site.baseurl }}img/GitHub-Mark-Light-32px.png" alt="Github">
|
||||
</a></li>
|
||||
</ul>
|
||||
<div class="nav-mobile">
|
||||
<div id="nav-mobile-btn">H</div>
|
||||
<ul id="nav-mobile-nav">
|
||||
<li><a href="{{ site.baseurl }}">Maps</a></li>
|
||||
<li><a href="{{ site.baseurl }}html5">Docs</a></li>
|
||||
<li><a href="{{ site.baseurl }}fonts">Downloads</a></li>
|
||||
<li><a href="{{ site.baseurl }}components">FAQ</a></li>
|
||||
<li><a href="https://github.com/osm2vectortiles/osm2vectortiles">
|
||||
<img class="octocat" src="{{ site.baseurl }}img/GitHub-Mark-32px.png" alt="Github">
|
||||
GitHub
|
||||
</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- content -->
|
||||
{{ content }}
|
||||
{% include google_analytics.html %}
|
||||
<!-- end content -->
|
||||
|
||||
<div class="footer">
|
||||
<div class="container">
|
||||
<a class="icon klokan" href="http://klokantech.com">K</a>
|
||||
<a class="icon" href="https://twitter.com/klokantech">T</a>
|
||||
<a class="icon" href="https://plus.google.com/+Klokantech/">G</a>
|
||||
<a class="icon" href="https://www.facebook.com/klokantech">F</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en-us">
|
||||
<head>
|
||||
{% include head.html %}
|
||||
</head>
|
||||
<body>
|
||||
{{ content }}
|
||||
{% include google_analytics.html %}
|
||||
</body>
|
||||
</html>
|
|
@ -2,10 +2,22 @@
|
|||
layout: default
|
||||
---
|
||||
|
||||
{% include header.html %}
|
||||
<section class="main-content">
|
||||
<div class="docs">
|
||||
{{ content }}
|
||||
<div class="row">
|
||||
<div class="banner col12 center padt-6">
|
||||
<h1 class="white">Free Vector Tiles from OpenStreetMap</h1>
|
||||
</div>
|
||||
{% include footer.html %}
|
||||
</section>
|
||||
</div>
|
||||
<div class="row bg-gray-light">
|
||||
<div class="col12">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col12">
|
||||
<div class="container padb-6">
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,109 @@
|
|||
/* Body */
|
||||
|
||||
html, body {
|
||||
height: 100%;
|
||||
font-family: $font-primary;
|
||||
font-size: $font-size;
|
||||
line-height: $line-height;
|
||||
color: $text-color;
|
||||
background-color: $body-bg;
|
||||
-webkit-font-smoothing:antialiased;
|
||||
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: $container-max;
|
||||
width: $container-width;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
padding: $container-padding-y $container-padding-x;
|
||||
&.main, &.main-small{
|
||||
margin-bottom: -$footer-height;
|
||||
padding-top: $navbar-top-height;
|
||||
min-height: 100%;
|
||||
&:after{
|
||||
content: "";
|
||||
display: block;
|
||||
height: $footer-height;
|
||||
}
|
||||
}
|
||||
&.main-small{
|
||||
padding-top: $navbar-top-small-height;
|
||||
}
|
||||
}
|
||||
|
||||
.footer{
|
||||
color: $footer-color;
|
||||
background-color: $footer-color-bg;
|
||||
font-weight: $footer-fontweight;
|
||||
height: $footer-height + $footer-bordertop-size;
|
||||
position: relative;
|
||||
font-size: $footer-fontsize;
|
||||
line-height: $footer-fontsize;
|
||||
border-top: $footer-bordertop-size solid $footer-border-color;
|
||||
|
||||
a{
|
||||
color: $footer-link-color;
|
||||
font-size: $footer-fontsize;
|
||||
line-height: $footer-fontsize;
|
||||
vertical-align: baseline;
|
||||
&:hover{
|
||||
color: $footer-link-hover-color;
|
||||
text-decoration: $footer-link-hover-decoration;
|
||||
}
|
||||
}
|
||||
|
||||
.container{
|
||||
padding: $footer-padding;
|
||||
}
|
||||
|
||||
.klokan{
|
||||
font-size: 46px;
|
||||
&::after{
|
||||
content: "";
|
||||
display: inline-block;
|
||||
background-color: $footer-color;
|
||||
width: 1px;
|
||||
height: $footer-fontsize;
|
||||
margin: 0 4px 0 14px;
|
||||
}
|
||||
}
|
||||
.social{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@media(max-width: $sc-medium){
|
||||
.footer{
|
||||
a{
|
||||
font-size: $footer-fontsize / 3 * 2;
|
||||
}
|
||||
.klokan{
|
||||
font-size: 32px;
|
||||
&::after{
|
||||
height: $footer-fontsize / 3 * 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
*:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
hr, .hr{
|
||||
margin-top: $line-height-computed;
|
||||
margin-bottom: $line-height-computed;
|
||||
border: 0;
|
||||
border-top: 1px solid $hr-color;
|
||||
}
|
||||
|
||||
/* article */
|
||||
article, .article{
|
||||
& img, & iframe{
|
||||
margin: 20px;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
/* Buttons */
|
||||
|
||||
@each $name, $color, $bg-color, $hover, $bg-hover in ($btns){
|
||||
.btn#{$name}{
|
||||
@include btn();
|
||||
@include btn-color($color, $bg-color, $hover, $bg-hover);
|
||||
@include btn-size($btn-height, $btn-padding, $btn-font-size, 0, $btn-radius, 1);
|
||||
}
|
||||
.btn-small#{$name}{
|
||||
@include btn();
|
||||
@include btn-color($color, $bg-color, $hover, $bg-hover);
|
||||
@include btn-size($btn-height, $btn-padding, $btn-font-size, 0, $btn-radius, $btn-small-scale);
|
||||
}
|
||||
.btn-stroke#{$name} {
|
||||
@include btn();
|
||||
@include btn-color-stroke($bg-color, transparent, $bg-color, lighten($bg-color, 10%), transparent, lighten($bg-color, 10%));
|
||||
@include btn-size($btn-height, $btn-padding - $btn-border, $btn-font-size, $btn-border, $btn-radius, 1);
|
||||
}
|
||||
.btn-large#{$name}{
|
||||
@include btn();
|
||||
font-weight: normal;
|
||||
@include btn-color($color, $bg-color, $color, $bg-hover);
|
||||
@include btn-size(null, $btn-padding * 2, $btn-font-size * 1.4, 0, $btn-radius, 1);
|
||||
}
|
||||
.btn-large-stroke#{$name}{
|
||||
@include btn();
|
||||
font-weight: normal;
|
||||
@include btn-color-stroke($bg-color, transparent, $bg-color, lighten($bg-color, 10%), transparent, lighten($bg-color, 10%));
|
||||
@include btn-size(null, $btn-padding * 2, $btn-font-size * 1.4, $btn-border, $btn-radius, 1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.btns{
|
||||
display: inline-block;
|
||||
|
||||
a, li{
|
||||
$gradient: darken($btns-bg-color, 5%);
|
||||
background: linear-gradient($btns-bg-color, $gradient);
|
||||
padding: $btns-pads;
|
||||
display: table-cell;
|
||||
border-top: $btns-border;
|
||||
border-bottom: $btns-border;
|
||||
border-left: $btns-border;
|
||||
color: $btns-color;
|
||||
|
||||
&:first-child{
|
||||
border-bottom-left-radius: $btns-radius;
|
||||
border-top-left-radius: $btns-radius;
|
||||
|
||||
}
|
||||
&:last-child{
|
||||
border-right: $btns-border;
|
||||
border-top-right-radius: $btns-radius;
|
||||
border-bottom-right-radius: $btns-radius;
|
||||
}
|
||||
|
||||
&:hover, &.open, &:focus, &.active{
|
||||
$hgradient: darken($btns-hover-bg, 5%);
|
||||
background: linear-gradient($btns-hover-bg, $hgradient);
|
||||
color: $btns-hover-color;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,203 @@
|
|||
/* components */
|
||||
|
||||
.tabs{
|
||||
ul{
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
|
||||
li{
|
||||
font-size: $font-size-h5;
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
padding: 10px 20px 6px 20px;
|
||||
margin: 10px 5px 0 5px;
|
||||
font-weight: bold;
|
||||
border-top: 1px solid $color-gray-dark;
|
||||
border-right: 1px solid $color-gray-dark;
|
||||
border-bottom: 1px solid $color-primary;
|
||||
border-left: 1px solid $color-gray-dark;
|
||||
-webkit-border-top-left-radius: $radius-all;
|
||||
-webkit-border-top-right-radius: $radius-all;
|
||||
-moz-border-radius-topleft: $radius-all;
|
||||
-moz-border-radius-topright: $radius-all;
|
||||
border-top-left-radius: $radius-all;
|
||||
border-top-right-radius: $radius-all;
|
||||
&:first-child{
|
||||
margin-left: 0;
|
||||
}
|
||||
&:hover, &.active{
|
||||
color: $color-primary;
|
||||
border-top: 1px solid $color-primary;
|
||||
border-right: 1px solid $color-primary;
|
||||
border-left: 1px solid $color-primary;
|
||||
}
|
||||
&.active{
|
||||
border-bottom: 1px solid #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.tabs-content{
|
||||
padding: $padding-y $padding-x;
|
||||
border: 1px solid $color-primary;
|
||||
margin-top: -1px;
|
||||
-webkit-border-top-right-radius: $radius-all;
|
||||
-moz-border-radius-topright: $radius-all;
|
||||
border-top-right-radius: $radius-all;
|
||||
|
||||
.tabs-tab{
|
||||
display: none;
|
||||
p{
|
||||
margin: 0;
|
||||
}
|
||||
&.active{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* KlokanTech JavaScript components */
|
||||
.popup-bg{
|
||||
position: fixed;
|
||||
top: 0; bottom: 0;
|
||||
left: 0; right: 0;
|
||||
background-color: $popupbg-bg-color;
|
||||
z-index: 101;
|
||||
}
|
||||
|
||||
.popup{
|
||||
z-index: 111;
|
||||
position: absolute;
|
||||
width: $popup-width;
|
||||
min-height: 100px;
|
||||
top: $popup-top;
|
||||
left: 50%;
|
||||
margin-left: ($popup-width / 2) * -1;
|
||||
padding: $popup-padding;
|
||||
background: $popup-bg-color;
|
||||
|
||||
.popup-title{
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
padding: 0 0 10px 0;
|
||||
font-size: 120%;
|
||||
}
|
||||
.popup-close{
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 10px;
|
||||
font-family: 'icons';
|
||||
cursor: pointer;
|
||||
color: $text-color;
|
||||
&:hover{
|
||||
text-decoration: none;
|
||||
color: darken($text-color, 20%);
|
||||
}
|
||||
}
|
||||
.popup-content{
|
||||
display: block;
|
||||
}
|
||||
.popup-actions{
|
||||
display: block;
|
||||
margin-top: 10px;
|
||||
div{
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ac-renderer{
|
||||
position: absolute;
|
||||
border: 1px solid $color-gray;
|
||||
margin-top: -1px;
|
||||
max-width: 400px;
|
||||
}
|
||||
.ac-row {
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
background-color: #fff;
|
||||
overflow: hidden !important;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.ac-highlighted {font-weight: bold;}
|
||||
.ac-active {color: $color-gray-dark; background-color: $color-gray-light;}
|
||||
.ac-type {
|
||||
background-color: #990033;
|
||||
color: #FFFFFF;
|
||||
display: block;
|
||||
margin: 2px;
|
||||
padding: 2px;
|
||||
font-style: italic;
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* MULTICOMPLETE */
|
||||
.multicomplete {
|
||||
background-color:#fff;
|
||||
border: 1px solid $color-gray;
|
||||
cursor:text;
|
||||
display: block;
|
||||
padding: 2px;
|
||||
width: 300px;
|
||||
height: 100px;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
margin-bottom: 0;
|
||||
input {
|
||||
border:0 !important;
|
||||
outline:0 !important;
|
||||
margin:0 !important;
|
||||
padding:0 !important;
|
||||
height:23px;
|
||||
}
|
||||
div {
|
||||
display:inline-block;
|
||||
position:relative;
|
||||
font-size:11px;
|
||||
padding: 3px 18px 3px 5px;
|
||||
margin: 0 4px 2px 0;
|
||||
cursor:default;
|
||||
border-radius: $border-radius / 2;
|
||||
background-color: $multicomplete-tag-bg-color;
|
||||
color: #fff;
|
||||
a {
|
||||
display:block;
|
||||
width:10px;
|
||||
height:10px;
|
||||
position:absolute;
|
||||
top:3px;right:2px;
|
||||
text-decoration:none;
|
||||
color: #fff;
|
||||
font-size:10px;
|
||||
&:hover {
|
||||
color: $color-gray-dark;
|
||||
}
|
||||
}
|
||||
.mc-tag-remove{
|
||||
font-family: 'icons';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.notice{
|
||||
text-align: center;
|
||||
position: fixed;
|
||||
left: 0; right: 0;
|
||||
bottom:0;
|
||||
height: 50px;
|
||||
background-color: $color-gray-light;
|
||||
p{
|
||||
display: inline-block;
|
||||
margin: 15px 30px
|
||||
}
|
||||
button{
|
||||
display: inline-block;
|
||||
height: 30px;
|
||||
padding: 4px 10px;;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,55 @@
|
|||
/* For custom styles in project */
|
||||
|
||||
.octocat{
|
||||
margin-top: -20px;
|
||||
margin-bottom: -10px;
|
||||
}
|
||||
|
||||
#navbar-top{
|
||||
background-color: transparent;
|
||||
position: absolute;
|
||||
|
||||
.title{
|
||||
font-family: 'OpenSans';
|
||||
font-size: 22px;
|
||||
img{
|
||||
vertical-align: bottom;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
body{
|
||||
background: url('/img/page-bg.jpg');
|
||||
background-position: top center;
|
||||
background-repeat: no-repeat;
|
||||
|
||||
&.home{
|
||||
background: url('/img/home-bg.jpg');
|
||||
|
||||
h1, h2, h3, h4, h5, h6{
|
||||
color: #363636;
|
||||
|
||||
span.font-primary{
|
||||
font-family: $font-primary;
|
||||
}
|
||||
&.white{
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
.banner{
|
||||
height: 270px;
|
||||
border-top: 4px solid #2571a2;
|
||||
border-bottom: 1px solid #439595;
|
||||
h1{
|
||||
margin: 100px 0 0 0;
|
||||
font-size: 45px;
|
||||
}
|
||||
|
||||
&.home{
|
||||
height: 486px;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,53 @@
|
|||
/* Fonts */
|
||||
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: 'OpenSans';
|
||||
src: url('fonts/OpenSans-Regular.ttf');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'OpenSans';
|
||||
src: url('fonts/OpenSans-Italic.ttf');
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'OpenSans';
|
||||
src: url('fonts/OpenSans-Bold.ttf');
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'MuseoSans';
|
||||
src: url('fonts/MuseoSans_700Web.eot');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'MuseoSans';
|
||||
src: url('fonts/MuseoSans_700Web.woff') format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'icons';
|
||||
src: url('fonts/icons.eot');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'icons';
|
||||
src: url('fonts/icons.woff') format('woff');
|
||||
}
|
||||
|
||||
.icon, [class^='icon-'], [class*=' icon-']{
|
||||
font-family: 'icons';
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
font-size: 20px;
|
||||
}
|
|
@ -0,0 +1,157 @@
|
|||
/* Forms */
|
||||
|
||||
fieldset {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
legend {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin-bottom: $line-height-computed;
|
||||
font-size: ($font-size * 1.5);
|
||||
line-height: inherit;
|
||||
color: $legend-color;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
margin: 6px 0 4px 1px;
|
||||
font-weight: bold;
|
||||
font-size: $font-size * 0.9;
|
||||
color: $headings-color;
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
&.inline{
|
||||
display: inline-block;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
input, select, button {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
input, textarea{
|
||||
display: block;
|
||||
padding: $input-padding-y $input-padding-x;
|
||||
line-height: $input-line-height;
|
||||
color: $input-color;
|
||||
background-color: $input-bg;
|
||||
background-image: none;
|
||||
border: 1px solid $input-border-color;
|
||||
border-radius: $input-border-radius;
|
||||
font-family: $font-primary;
|
||||
|
||||
&.stretch{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&:active, &:focus{
|
||||
color: darken($input-color, 30%);
|
||||
border-color: darken($input-color, 30%);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
input[type='text'], input[type='password'], input[type='date'],
|
||||
input[type='email'], input[type='button']{
|
||||
height: $input-height;
|
||||
|
||||
&.search{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
}
|
||||
input[type='submit'], input[type='button']{
|
||||
margin-top: 5px;
|
||||
&.search{
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
height: $input-height;
|
||||
margin-top: 0;
|
||||
padding: 0 5px;
|
||||
left: -9px;
|
||||
cursor: pointer;
|
||||
|
||||
&:hover{
|
||||
color: darken($input-color, 30%);
|
||||
border-color: darken($input-color, 30%);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
margin: 9px 0 0 1px;
|
||||
line-height: normal;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
display: block;
|
||||
}
|
||||
|
||||
input[type="range"] {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
select[multiple], select[size] {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
input[type="file"]:focus,
|
||||
input[type="radio"]:focus,
|
||||
input[type="checkbox"]:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
output {
|
||||
display: block;
|
||||
padding-top: ($padding-y + 1);
|
||||
font-size: $font-size;
|
||||
line-height: $line-height;
|
||||
color: $input-color;
|
||||
}
|
||||
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
input[type="date"],
|
||||
input[type="time"],
|
||||
input[type="datetime-local"],
|
||||
input[type="month"] {
|
||||
line-height: $input-height;
|
||||
line-height: $line-height #{\0};
|
||||
|
||||
&.input-sm {
|
||||
line-height: $input-height-small;
|
||||
}
|
||||
}
|
||||
|
||||
form{
|
||||
ul, li{
|
||||
margin: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
ul li label{
|
||||
display: inline-block;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,90 @@
|
|||
/* Grid */
|
||||
|
||||
$grid-screens: (
|
||||
// screen, include offsets (boolean)
|
||||
($sc-small, false),
|
||||
($sc-medium, false),
|
||||
($sc-medium, true)
|
||||
);
|
||||
|
||||
%grid-base {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding: $grid-padding-y $grid-paddnig-x;
|
||||
margin: $grid-margin-y $grid-margin-x;
|
||||
}
|
||||
|
||||
@each $grid, $width in ($grid-sizes) {
|
||||
.#{$grid} {
|
||||
@extend %grid-base;
|
||||
}
|
||||
}
|
||||
|
||||
/* Reverses order of blocks in grid */
|
||||
.flip {float: right;}
|
||||
|
||||
@each $screen, $offset in ($grid-screens){
|
||||
@media (min-width: $screen) {
|
||||
@each $grid, $width in ($grid-sizes) {
|
||||
@if $screen < $sc-medium {
|
||||
.#{$grid} {
|
||||
@if $width >= 50 {
|
||||
width: 100%;
|
||||
} @else {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
} @else {
|
||||
.#{$grid} {width: $width + 0%;}
|
||||
}
|
||||
}
|
||||
@if $offset {
|
||||
@each $grid, $width in ($grid-sizes) {
|
||||
.offset#{str-slice($grid, 4)} {margin-left: $width + 0%;}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Add clearfix */
|
||||
.container, .row, .row1, .row2, .row3, .row4, .row5, .row6 {
|
||||
@extend .clearfix;
|
||||
}
|
||||
|
||||
.row{
|
||||
&active{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
/* Vertical grid */
|
||||
.row1{height: 40px;}
|
||||
.row2{height: 80px;}
|
||||
.row3{height: 120px;}
|
||||
.row4{height: 160px;}
|
||||
.row5{height: 200px;}
|
||||
.row6{height: 240px;}
|
||||
.row7{height: 280px;}
|
||||
.row8{height: 320px;}
|
||||
.row9{height: 360px;}
|
||||
.row10{height: 400px;}
|
||||
.row11{height: 440px;}
|
||||
.row12{height: 480px;}
|
||||
.row13{height: 520px;}
|
||||
.row14{height: 560px;}
|
||||
.row15{height: 600px;}
|
||||
.row16{height: 640px;}
|
||||
|
||||
.no-padding{padding: 0;}
|
||||
.no-margin{margin: 0;}
|
||||
|
||||
/* Image grid */
|
||||
.col-img {
|
||||
border: none;
|
||||
float: left;
|
||||
@media (min-width: $sc-medium) {width: 50%;}
|
||||
@media (min-width: $sc-large) {width: 25%;}
|
||||
}
|
||||
.col-img img{
|
||||
width: 90%;
|
||||
}
|
|
@ -0,0 +1,219 @@
|
|||
/* Helpers */
|
||||
.clearfix:before,
|
||||
.clearfix:after {
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.clearfix:after{clear: both;}
|
||||
.hidden{display: none;}
|
||||
.clip{overflow: hidden;}
|
||||
.noselect {
|
||||
-webkit-touch-callout: none;
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.contain{position: relative;}
|
||||
.absolute{position: absolute;}
|
||||
.circle{border-radius: 50%;}
|
||||
|
||||
.round{
|
||||
border-radius: $radius-all;
|
||||
}
|
||||
|
||||
.round-top-left{
|
||||
border-top-left-radius: $radius-top-left;
|
||||
}
|
||||
|
||||
.round-top-right{
|
||||
border-top-right-radius: $radius-top-right;
|
||||
}
|
||||
|
||||
.round-bottom-right{
|
||||
border-bottom-right-radius: $radius-bottom-right;
|
||||
}
|
||||
|
||||
.round-bottom-left{
|
||||
border-top-bottom-radius: $radius-bottom-left;
|
||||
}
|
||||
|
||||
.float-left{float: left;}
|
||||
.float-right{float: right;}
|
||||
.text-left{text-align: left;}
|
||||
.text-right{text-align: right;}
|
||||
center, .center, .text-center{text-align: center;}
|
||||
|
||||
.inline{
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.width-100{width: 100%;}
|
||||
.width-50{width: 50%;}
|
||||
|
||||
/* Borders */
|
||||
@each $name, $size, $type, $color in ($borders){
|
||||
.border-#{$name} {border: #{$size} #{$type} #{$color};}
|
||||
.bordertop-#{$name} {border-top: #{$size} #{$type} #{$color};}
|
||||
.borderright-#{$name} {border-right: #{$size} #{$type} #{$color};}
|
||||
.borderbottom-#{$name} {border-bottom: #{$size} #{$type} #{$color};}
|
||||
.borderleft-#{$name} {border-left: #{$size} #{$type} #{$color};}
|
||||
}
|
||||
|
||||
/* Margins */
|
||||
.mar-no, .mar-0{margin: 0 !important;}
|
||||
.mary-no, .mary-0{margin-top: 0 !important; margin-bottom: 0 !important;}
|
||||
.marx-no, .marx-0{margin-left: 0 !important; margin-right: 0 !important;}
|
||||
.martop-no, .mart-0{margin-top: 0 !important;}
|
||||
.marright-no, .marr-0{margin-right: 0 !important;}
|
||||
.marbottom-no, .marb-0{margin-bottom: 0 !important;}
|
||||
.marleft-no, .marl-0{margin-left: 0 !important;}
|
||||
|
||||
.pad-no, .pad-0{padding: 0 !important;}
|
||||
.pady-no, .pady-0{padding-top: 0 !important; padding-bottom: 0 !important;}
|
||||
.padx-no, .padx-0{padding-left: 0 !important; padding-right: 0 !important;}
|
||||
.padtop-no, .padt-0{padding-top: 0 !important;}
|
||||
.padright-no, .padr-0{padding-right: 0 !important;}
|
||||
.padbottom-no, .padb-0{padding-bottom: 0 !important;}
|
||||
.padleft-no, .padl-0{padding-left: 0 !important;}
|
||||
|
||||
.pad-1{padding: 10px;}
|
||||
.pad-2{padding: 20px;}
|
||||
.pad-3{padding: 30px;}
|
||||
.pad-4{padding: 40px;}
|
||||
.pad-5{padding: 50px;}
|
||||
.pad-6{padding: 60px;}
|
||||
.pad-7{padding: 70px;}
|
||||
.pad-8{padding: 80px;}
|
||||
.pad-9{padding: 90px;}
|
||||
|
||||
.padx-1{padding-left: 10px; padding-right: 10px;}
|
||||
.padx-2{padding-left: 20px; padding-right: 20px;}
|
||||
.padx-3{padding-left: 30px; padding-right: 30px;}
|
||||
.padx-4{padding-left: 40px; padding-right: 40px;}
|
||||
.padx-5{padding-left: 50px; padding-right: 50px;}
|
||||
.padx-6{padding-left: 60px; padding-right: 60px;}
|
||||
.padx-7{padding-left: 70px; padding-right: 70px;}
|
||||
.padx-8{padding-left: 80px; padding-right: 80px;}
|
||||
.padx-9{padding-left: 90px; padding-right: 90px;}
|
||||
.padx-10{padding-left: 100px; padding-right: 100px;}
|
||||
|
||||
.padt-1, .pady-1{padding-top: 10px;}
|
||||
.padt-2, .pady-2{padding-top: 20px;}
|
||||
.padt-3, .pady-3{padding-top: 30px;}
|
||||
.padt-4, .pady-4{padding-top: 40px;}
|
||||
.padt-5, .pady-5{padding-top: 50px;}
|
||||
.padt-6, .pady-6{padding-top: 60px;}
|
||||
.padt-7, .pady-7{padding-top: 70px;}
|
||||
.padt-8, .pady-8{padding-top: 80px;}
|
||||
.padt-9, .pady-9{padding-top: 90px;}
|
||||
.padt-10, .pady-10{padding-top: 100px;}
|
||||
|
||||
.padb-1, .pady-1{padding-bottom: 10px;}
|
||||
.padb-2, .pady-2{padding-bottom: 20px;}
|
||||
.padb-3, .pady-3{padding-bottom: 30px;}
|
||||
.padb-4, .pady-4{padding-bottom: 40px;}
|
||||
.padb-5, .pady-5{padding-bottom: 50px;}
|
||||
.padb-6, .pady-6{padding-bottom: 60px;}
|
||||
.padb-7, .pady-7{padding-bottom: 70px;}
|
||||
.padb-8, .pady-8{padding-bottom: 80px;}
|
||||
.padb-9, .pady-9{padding-bottom: 90px;}
|
||||
.padb-10, .pady-10{padding-bottom: 100px;}
|
||||
|
||||
.mar-1{margin: 10px;}
|
||||
.mar-2{margin: 20px;}
|
||||
.mar-3{margin: 30px;}
|
||||
.mar-4{margin: 40px;}
|
||||
.mar-5{margin: 50px;}
|
||||
.mar-6{margin: 60px;}
|
||||
.mar-7{margin: 70px;}
|
||||
.mar-8{margin: 80px;}
|
||||
.mar-9{margin: 90px;}
|
||||
.mar-10{margin: 100px;}
|
||||
|
||||
.marx-1{margin-left: 10px; margin-right: 10px;}
|
||||
.marx-2{margin-left: 20px; margin-right: 20px;}
|
||||
.marx-3{margin-left: 30px; margin-right: 30px;}
|
||||
.marx-4{margin-left: 40px; margin-right: 40px;}
|
||||
.marx-5{margin-left: 50px; margin-right: 50px;}
|
||||
.marx-6{margin-left: 60px; margin-right: 60px;}
|
||||
.marx-7{margin-left: 70px; margin-right: 70px;}
|
||||
.marx-8{margin-left: 80px; margin-right: 80px;}
|
||||
.marx-9{margin-left: 90px; margin-right: 90px;}
|
||||
.marx-10{margin-left: 100px; margin-right: 100px;}
|
||||
|
||||
.mary-1{margin-top: 10px; margin-bottom: 10px;}
|
||||
.mary-2{margin-top: 20px; margin-bottom: 20px;}
|
||||
.mary-3{margin-top: 30px; margin-bottom: 30px;}
|
||||
.mary-4{margin-top: 40px; margin-bottom: 40px;}
|
||||
.mary-5{margin-top: 50px; margin-bottom: 50px;}
|
||||
.mary-6{margin-top: 60px; margin-bottom: 60px;}
|
||||
.mary-7{margin-top: 70px; margin-bottom: 70px;}
|
||||
.mary-8{margin-top: 80px; margin-bottom: 80px;}
|
||||
.mary-9{margin-top: 90px; margin-bottom: 90px;}
|
||||
.mary-10{margin-top: 100px; margin-bottom: 100px;}
|
||||
|
||||
/* colors */
|
||||
.primary{color: $color-primary;}
|
||||
.secondary{color: $color-secondary;}
|
||||
.gray-light{color: $color-gray-light;}
|
||||
.gray{color: $color-gray;}
|
||||
.gray-dark{color: $color-gray-dark;}
|
||||
.success{color: $color-success;}
|
||||
.warning{color: $color-warning;}
|
||||
.danger{color: $color-danger;}
|
||||
.white{color: #ffffff;}
|
||||
.black{color: #000000;}
|
||||
|
||||
.bg-primary{background-color: $color-primary;}
|
||||
.bg-secondary{background-color: $color-secondary;}
|
||||
.bg-gray-light{background-color: $color-gray-light;}
|
||||
.bg-gray{background-color: $color-gray;}
|
||||
.bg-gray-dark{background-color: $color-gray-dark;}
|
||||
.bg-success{background-color: $color-success;}
|
||||
.bg-warning{background-color: $color-warning;}
|
||||
.bg-danger{background-color: $color-danger;}
|
||||
.bg-white{background-color: #ffffff;}
|
||||
.bg-black{background-color: #000000;}
|
||||
|
||||
/* Messages */
|
||||
|
||||
.message{
|
||||
color: #ffffff;
|
||||
background-color: $color-primary;
|
||||
padding: $padding-x $padding-y;
|
||||
font-weight: bold;
|
||||
&.success{
|
||||
background-color: $color-success;
|
||||
}
|
||||
&.warning{
|
||||
background-color: $color-warning;
|
||||
}
|
||||
&.error{
|
||||
background-color: $color-danger;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Syntax */
|
||||
.highlight{
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.language-html{
|
||||
.nt{
|
||||
color: $color-warning;
|
||||
}
|
||||
.na{
|
||||
color: $color-success;
|
||||
}
|
||||
.s{
|
||||
color: $color-danger;
|
||||
}
|
||||
.c{
|
||||
color: $color-gray-dark;
|
||||
font-style: italic;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,109 @@
|
|||
/* Map styling */
|
||||
|
||||
.map-fullscreen{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.map-controls {
|
||||
&.horizontal{
|
||||
a{
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
&.top-left{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
&.top-right{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
&.left{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 0;
|
||||
}
|
||||
&.right{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
a{
|
||||
font-family: 'icons';
|
||||
display: block;
|
||||
position:relative;
|
||||
color: $map-control-color;
|
||||
background: $map-control-bg;
|
||||
text-decoration:none;
|
||||
width: $map-control-size;
|
||||
height: $map-control-size;
|
||||
font-size: $map-control-size * 0.6;
|
||||
line-height: $map-control-size;
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
margin: $map-control-margin;
|
||||
z-index:2;
|
||||
font-weight: bold;
|
||||
cursor:pointer;
|
||||
z-index:10;
|
||||
|
||||
.isEnabled{display: none;}
|
||||
.isDisabled{display: none;}
|
||||
|
||||
.disabled, &.disabled{
|
||||
background-color: darken($map-control-bg, 10%);
|
||||
|
||||
.isDisabled{display: block;}
|
||||
}
|
||||
|
||||
.enabled, &.enabled{
|
||||
background-color: lighten($map-control-bg, 10%);
|
||||
|
||||
.isEnabled{display: block;}
|
||||
}
|
||||
}
|
||||
.hidden, &.hidden{
|
||||
display: none;
|
||||
}
|
||||
.visible, &.visible{
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
.tooltip{
|
||||
position: absolute;
|
||||
left: $map-control-size + 1px;
|
||||
margin-top: -($map-control-size + 1px);
|
||||
height: $map-control-size;
|
||||
width: 300px;
|
||||
display: block;
|
||||
vertical-align: middle;
|
||||
line-height: $map-control-size;
|
||||
padding: 0 10px;
|
||||
background-color: rgba(255, 255, 255, 0.6);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Special controls */
|
||||
#geocoderForm{
|
||||
position: absolute;
|
||||
right: $map-control-size;
|
||||
width: 200px;
|
||||
z-index: 50;
|
||||
display: none;
|
||||
|
||||
input{
|
||||
height: $map-control-size;
|
||||
right: 1px;
|
||||
position: absolute;
|
||||
}
|
||||
&.visible {display: block;}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,67 @@
|
|||
/* Mixins */
|
||||
@mixin btn(){
|
||||
display:inline-block;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
@mixin btn-color($color, $background, $hover, $hover-background) {
|
||||
color: $color;
|
||||
$gradient: darken($background, 5%);
|
||||
background: linear-gradient($background, $gradient);
|
||||
border: none;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active{
|
||||
color: $hover;
|
||||
$hover-gradient: darken($hover-background, 5%);
|
||||
background: linear-gradient($hover-background, $hover-gradient);
|
||||
}
|
||||
}
|
||||
|
||||
@mixin btn-color-stroke($color, $background, $border, $hover, $hover-background, $hover-border) {
|
||||
color: $color;
|
||||
background: $background;
|
||||
border: $border;
|
||||
border-color: $border;
|
||||
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active{
|
||||
color: $hover;
|
||||
background-color: transparent;
|
||||
border-color: $hover-border;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin btn-size($height, $padding, $font-size, $border, $radius, $scale) {
|
||||
@if $height != null {
|
||||
height: $height * $scale;
|
||||
}
|
||||
font-size: $font-size * $scale;
|
||||
padding: $padding * $scale $padding * $scale + 6;
|
||||
border-width: $border * $scale;
|
||||
border-style: solid;
|
||||
-webkit-border-radius: $radius;
|
||||
-moz-border-radius: $radius;
|
||||
border-radius: $radius;
|
||||
text-decoration: none;
|
||||
&:hover,
|
||||
&:focus,
|
||||
&:active,
|
||||
&.active{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,247 @@
|
|||
/* Navbar */
|
||||
|
||||
#navbar-top{
|
||||
@extend .clearfix;
|
||||
position: relative;
|
||||
height: $navbar-top-height;
|
||||
margin-bottom: $navbar-top-margin-bottom;
|
||||
position: fixed;
|
||||
right: 0;
|
||||
left: 0;
|
||||
z-index: $navbar-top-zindex;
|
||||
top: 0;
|
||||
border-width: 0 0 1px;
|
||||
background-color: $navbar-top-bgcolor;
|
||||
|
||||
.logo h1, .title{
|
||||
float: left;
|
||||
font-size: $navbar-top-title-size;
|
||||
height: $navbar-top-height;
|
||||
padding-top: $navbar-top-height - $navbar-top-title-size - $navbar-top-title-padding-bottom;
|
||||
padding-right: $padding-x;
|
||||
padding-bottom: $navbar-top-title-padding-bottom;
|
||||
padding-left: $padding-x;
|
||||
margin: 0;
|
||||
white-space: nowrap;
|
||||
color: $navbar-top-title-color;
|
||||
font-family: $font-secondary;
|
||||
line-height: $navbar-top-title-size;
|
||||
&:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
a{
|
||||
color: $navbar-top-title-color;
|
||||
&:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.nav{
|
||||
float: right;
|
||||
padding: 0 $padding-x;
|
||||
li{display: inline-block;}
|
||||
a{
|
||||
color: $navbar-top-link-color;
|
||||
text-decoration: none;
|
||||
font-size: $navbar-top-link-size;
|
||||
height: $navbar-top-height;
|
||||
display: inline-block;
|
||||
padding-top: $navbar-top-height - $navbar-top-link-size - $navbar-top-menu-padding-bottom;
|
||||
padding-right: $padding-x / 2;
|
||||
padding-bottom: $navbar-top-menu-padding-bottom;
|
||||
padding-left: $padding-x / 2;
|
||||
line-height: 1;
|
||||
font-weight: bold;
|
||||
&:hover, &:focus, &.active{
|
||||
color: $navbar-top-link-hover-color;
|
||||
background-color: lighten($navbar-top-bgcolor, 1%);
|
||||
}
|
||||
}
|
||||
@media (max-width: $sc-medium) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.nav-mobile{
|
||||
@media (min-width: $sc-medium) {
|
||||
display: none;
|
||||
}
|
||||
@media (max-width: $sc-medium) {
|
||||
display: block;
|
||||
}
|
||||
margin: 0; padding: 0;
|
||||
font-size: 30px;
|
||||
float: right;
|
||||
#nav-mobile-btn{
|
||||
color: $navbar-top-mobile-btn-color;
|
||||
height: $navbar-top-height;
|
||||
padding: ($navbar-top-height / 2) - 20px;
|
||||
font-family: 'icons';
|
||||
&:hover, &:active{
|
||||
cursor: pointer;
|
||||
}
|
||||
&.active{
|
||||
color: $color-secondary;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
&::selection, &::-moz-selection{
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#nav-mobile-nav{
|
||||
display: none;
|
||||
background-color: #ffffff;
|
||||
position: absolute;
|
||||
top: $navbar-top-height;
|
||||
left: 0;
|
||||
right: 0;
|
||||
list-style-type: none;
|
||||
font-size: $navbar-top-link-size;
|
||||
padding: $padding-x / 2 $padding-x 0 $padding-x 0;
|
||||
border-bottom: 1px solid $color-gray-dark;
|
||||
margin: 0;
|
||||
li a{
|
||||
padding: $padding-x * 0.8;
|
||||
display: block;
|
||||
border-bottom: 1px solid $color-gray-light;
|
||||
&:hover, &:active{
|
||||
list-style-type: none;
|
||||
text-decoration: none;
|
||||
background-color: $color-gray-light;
|
||||
}
|
||||
}
|
||||
&.active{
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$scale: $navbar-top-small-height / $navbar-top-height;
|
||||
#navbar-top-small{
|
||||
@extend #navbar-top;
|
||||
height: $navbar-top-small-height;
|
||||
.logo h1, .title{
|
||||
font-size: $navbar-top-title-size * $scale;
|
||||
height: $navbar-top-small-height;
|
||||
line-height: $navbar-top-small-height;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.nav{
|
||||
a{
|
||||
height: $navbar-top-height * $scale;
|
||||
padding-top: ($navbar-top-height * $scale - $navbar-top-link-size) / 2;
|
||||
padding-bottom: $navbar-top-title-padding-bottom * $scale;
|
||||
}
|
||||
}
|
||||
.nav-mobile{
|
||||
#nav-mobile-nav{
|
||||
top: $navbar-top-small-height;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* simple mobile nav */
|
||||
#nav-mobile-nav{
|
||||
display: none;
|
||||
li a{display: block; width: 100%;}
|
||||
}
|
||||
#nav-mobile-btn{ min-height: 34px; cursor: pointer;}
|
||||
@media (min-width: 768px) {
|
||||
#nav-mobile-btn{display: none;}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
#nav-mobile-nav.active{ display: block; }
|
||||
#navbar-kl .nav, #mt-nav ul{display: none;}
|
||||
}
|
||||
|
||||
/* navigation from side */
|
||||
.navside-bg{
|
||||
display: none;
|
||||
position: fixed;
|
||||
top: 0; bottom: 0;
|
||||
left: 0; right: 0;
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
z-index: 80;
|
||||
|
||||
&.open{display: block;}
|
||||
}
|
||||
.navside-btn{
|
||||
cursor: pointer;
|
||||
width: 50px;
|
||||
padding: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
.navside {
|
||||
position: fixed;
|
||||
left: -$navside-width;
|
||||
width: $navside-width;
|
||||
display: block;
|
||||
background: #fff;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
padding-bottom: 20px;
|
||||
transition: all 300ms;
|
||||
z-index: 100;
|
||||
overflow-y: auto;
|
||||
overflow-x: none;
|
||||
|
||||
a:not([class*=user-]), p:not([class*=user-]) {
|
||||
color: $color-gray-dark;
|
||||
margin: 0;
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
padding: $navside-item-padding;
|
||||
text-decoration: none;
|
||||
|
||||
&.last{
|
||||
border-bottom: 1px solid $color-gray-light;
|
||||
}
|
||||
|
||||
&.open{
|
||||
color: $color-primary;
|
||||
}
|
||||
}
|
||||
|
||||
a:not([class*=user-]):hover {
|
||||
text-decoration: none;
|
||||
background-color: $color-gray-light;
|
||||
}
|
||||
|
||||
.sub a{
|
||||
padding-left: $navside-item-padding * 2;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
&.open {
|
||||
left: 0;
|
||||
box-shadow: 8px 8px 20px 0 rgba(0, 0, 0, 0.2);
|
||||
transition: all 300ms;
|
||||
}
|
||||
|
||||
.user-login{
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: $navbar-top-height;
|
||||
background-color: $color-gray-light;
|
||||
font-family: $font-secondary;
|
||||
padding: 32px 0 10px 20px;
|
||||
font-size: 20px;
|
||||
white-space: nowrap;
|
||||
|
||||
&:hover{
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
.user-action{
|
||||
position: absolute;
|
||||
right: 20px;
|
||||
top: 10px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,92 @@
|
|||
/* Progressbar */
|
||||
|
||||
.progress{
|
||||
width: $progress-width;
|
||||
padding: 20px 0 20px 20px;
|
||||
height: 50px;
|
||||
font-size: 12px;
|
||||
line-height: 12px;
|
||||
margin: 10px 0 20px 0;
|
||||
|
||||
.bar{
|
||||
width: 80%;
|
||||
height: 42px;
|
||||
float: left;
|
||||
|
||||
.segment{
|
||||
float: left;
|
||||
height: 15px;
|
||||
display: block;
|
||||
|
||||
&:first-child{background-color: $progress-segments-colors(0);}
|
||||
@each $color in $progress-segments-colors {
|
||||
$i: index($progress-segments-colors, $color);
|
||||
&:nth-child(#{$i}){
|
||||
background-color: $color;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&:first-child:before, &:nth-child(2):before{
|
||||
position: absolute;
|
||||
margin-top: -15px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
&.reviewed:first-child:before{content: 'Reviewed';}
|
||||
&.edited:nth-child(2):before{content: 'Edited';}
|
||||
|
||||
}
|
||||
.segment-label{
|
||||
position: absolute;
|
||||
font-size: 14px;
|
||||
margin-top: 15px;
|
||||
padding-top: 4px;
|
||||
}
|
||||
|
||||
.maps:after, .sheets:after, .bar:before, .bar-count,
|
||||
.bar-segment:first-child:before, .bar-segment:nth-child(2):before{
|
||||
background-color: $progress-bg;
|
||||
}
|
||||
|
||||
.segment-label:after{
|
||||
position: absolute;
|
||||
margin-top: 12px;
|
||||
font-size: 10px;
|
||||
left: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.sheets:after {
|
||||
content: " sheets";
|
||||
}
|
||||
|
||||
.maps:after {
|
||||
content: " maps";
|
||||
}
|
||||
|
||||
.percent:after {
|
||||
content: " %";
|
||||
}
|
||||
|
||||
.bar-count{
|
||||
position: relative;
|
||||
width: 16%;
|
||||
float: right;
|
||||
font-size: 28px;
|
||||
padding: 15px 2%;
|
||||
margin-top: -15px;
|
||||
z-index: 10;
|
||||
|
||||
|
||||
&:after{
|
||||
padding-left: 10px;
|
||||
padding-bottom: 16px;
|
||||
font-size: 16px;
|
||||
position: absolute;
|
||||
margin-top: 10px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
|
@ -0,0 +1,42 @@
|
|||
/* http://meyerweb.com/eric/tools/css/reset/ */
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin:0;
|
||||
padding:0;
|
||||
border:0;
|
||||
font-size:100%;
|
||||
font:inherit;
|
||||
vertical-align:baseline;
|
||||
}
|
||||
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section{
|
||||
display:block;
|
||||
}
|
||||
body {line-height:1;}
|
||||
ol, ul { list-style:none;}
|
||||
blockquote, q {quotes:none; }
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {content:''; content:none;}
|
||||
|
||||
table {border-collapse: collapse; border-spacing:0;}
|
||||
|
||||
:focus {outline:0;}
|
||||
|
||||
|
||||
*, *:after, *:before {
|
||||
-webkit-box-sizing:border-box;
|
||||
-moz-box-sizing:border-box;
|
||||
box-sizing:border-box;
|
||||
}
|
|
@ -0,0 +1,85 @@
|
|||
/* Table */
|
||||
|
||||
table{
|
||||
width: 100%;
|
||||
border-spacing: inherit;
|
||||
margin: 10px 0;
|
||||
td{
|
||||
text-decoration: none;
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
font-family: inherit;
|
||||
font-size: $table-fontsize;
|
||||
color: $table-color;
|
||||
padding: $table-padding;
|
||||
display: table-cell;
|
||||
border: 1px solid $table-color-border;
|
||||
}
|
||||
tr, th{
|
||||
border-top: 1px solid $table-color-border;
|
||||
|
||||
a{
|
||||
&:hover{
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
color: lighten($color-primary, 10%);
|
||||
}
|
||||
}
|
||||
&.clickable{
|
||||
cursor: pointer;
|
||||
}
|
||||
&.hover:hover{
|
||||
background: $table-hover-color;
|
||||
}
|
||||
}
|
||||
th, thead, tfoot{
|
||||
color: $table-color;
|
||||
font-size: $table-fontsize;
|
||||
font-weight: bold;
|
||||
background: $table-head-bg;
|
||||
cursor: default;
|
||||
}
|
||||
.clear{
|
||||
font-weight: normal;
|
||||
background: transparent;
|
||||
&:hover{
|
||||
background-color: transparent;
|
||||
}
|
||||
tr, th{
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
tfoot{
|
||||
border-bottom: 1px solid $table-color-border;
|
||||
}
|
||||
|
||||
&.striped{
|
||||
td{
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
&.hover{
|
||||
tr, th{
|
||||
&:hover{background: $table-hover-color;}
|
||||
}
|
||||
}
|
||||
|
||||
&.clickable{
|
||||
tr, th{
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.icon{
|
||||
font-size: $table-fontsize;
|
||||
}
|
||||
}
|
||||
|
||||
.even{
|
||||
background-color: $even-bg-color;
|
||||
}
|
||||
.odd{
|
||||
background-color: $odd-bg-color;
|
||||
}
|
|
@ -0,0 +1,96 @@
|
|||
/* Headings */
|
||||
|
||||
h1, h2, h3, h4, h5, h6,
|
||||
.h1, .h2, .h3, .h4, .h5, .h6 {
|
||||
font-family: $headings-font-family;
|
||||
font-weight: $headings-font-weight;
|
||||
line-height: $headings-line-height;
|
||||
color: $headings-color;
|
||||
|
||||
small,
|
||||
.small {
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
&.prim{
|
||||
font-family: $font-primary;
|
||||
}
|
||||
}
|
||||
|
||||
h1, .h1,
|
||||
h2, .h2,
|
||||
h3, .h3 {
|
||||
margin-top: $line-height-computed;
|
||||
margin-bottom: ($line-height-computed / 2);
|
||||
}
|
||||
|
||||
h4, .h4,
|
||||
h5, .h5,
|
||||
h6, .h6 {
|
||||
margin-top: ($line-height-computed / 2);
|
||||
margin-bottom: ($line-height-computed / 2);
|
||||
}
|
||||
|
||||
h1, .h1 { font-size: $font-size-h1; }
|
||||
h2, .h2 { font-size: $font-size-h2; }
|
||||
h3, .h3 { font-size: $font-size-h3; }
|
||||
h4, .h4 { font-size: $font-size-h4; }
|
||||
h5, .h5 { font-size: $font-size-h5; }
|
||||
h6, .h6 { font-size: $font-size-h6; }
|
||||
|
||||
p {
|
||||
margin: 0 0 ($line-height-computed / 2);
|
||||
font-size: $font-size;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $link-color;
|
||||
text-decoration: none;
|
||||
|
||||
&:hover, &:focus {
|
||||
color: $link-hover-color;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
strong, b, .strong, .b{
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
em, i, cite{
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
abbr, dfn{
|
||||
cursor: help;
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
ul{
|
||||
list-style-type: square;
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
ol{
|
||||
list-style-type:lower-latin;
|
||||
margin: 0 20px;
|
||||
}
|
||||
mark{
|
||||
color: $headings-color;
|
||||
background-color: $color-gray-light;
|
||||
}
|
||||
|
||||
code, .code, pre{
|
||||
background-color: $code-color-bg;
|
||||
color: $code-color;
|
||||
padding: $code-padding;
|
||||
font-family: $font-monospace;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
small, .small {font-size: 85%;}
|
||||
.smaller {font-size: 65%;}
|
||||
.normal{font-size: $font-size;}
|
||||
big, .big {font-size: 115%;}
|
||||
.bigger {font-size: 135%;}
|
|
@ -0,0 +1,230 @@
|
|||
/* Colors */
|
||||
$color-primary: #3f9a6c;
|
||||
$color-secondary: #fff;
|
||||
|
||||
$color-gray-dark: #393939;
|
||||
$color-gray: #898989;
|
||||
$color-gray-light: #f3f3f3;
|
||||
|
||||
$color-success: #00AA4A;
|
||||
$color-warning: #EF8A00;
|
||||
$color-danger: #EF3200;
|
||||
$color-code: #dd1144;
|
||||
|
||||
/* Background color */
|
||||
$body-bg: #fff !default;
|
||||
|
||||
/* Global text color */
|
||||
$text-color: #606c71 !default;
|
||||
|
||||
/* Links color */
|
||||
$link-color: #6b78ba;
|
||||
$link-hover-color: lighten(#6b78ba, 8%);
|
||||
|
||||
/* Fonts */
|
||||
$font-primary: 'OpenSans', sans-serif, Arial;
|
||||
$font-secondary: 'MuseoSans', 'OpenSans', sans-serif;
|
||||
$font-monospace: Menlo, Monaco, 'Courier New', monospace;
|
||||
$font-icon: Menlo, Monaco, 'Courier New', monospace;
|
||||
$font-size: 16px !default;
|
||||
|
||||
/* Line height*/
|
||||
$line-height: 1.8 !default; // 20/14
|
||||
/* Computed line-height (`font-size` * `line-height`) */
|
||||
$line-height-computed: floor(($font-size * $line-height)) !default; // ~20px
|
||||
|
||||
|
||||
/* Headings */
|
||||
$headings-font-weight-h1: normal;
|
||||
$headings-font-family: $font-secondary;
|
||||
$headings-font-weight: normal;
|
||||
$headings-line-height: 100%;
|
||||
$headings-color: #3f9a6c;
|
||||
|
||||
$font-size-h1: 40px !default;
|
||||
$font-size-h2: 30px !default;
|
||||
$font-size-h3: 20px !default;
|
||||
$font-size-h4: 16px !default;
|
||||
$font-size-h5: $font-size !default;
|
||||
$font-size-h6: 12px !default;
|
||||
|
||||
$code-color-bg: $color-gray-light;
|
||||
$code-color: $color-gray-dark;
|
||||
$code-padding: 2px 6px;
|
||||
|
||||
/* Padding, margin */
|
||||
$padding-y: 15px;
|
||||
$padding-x: 15px;
|
||||
|
||||
/* Container */
|
||||
$container-max: 960px;
|
||||
$container-width: 95%;
|
||||
$container-padding-x: 0;
|
||||
$container-padding-y: 0;
|
||||
|
||||
/* Grid */
|
||||
//screen sizes
|
||||
$sc-small: 480px;
|
||||
$sc-medium: 768px;
|
||||
$sc-large: 800px;
|
||||
|
||||
$grid-sizes: (
|
||||
// name: width
|
||||
col1: 8.3333,
|
||||
col2: 16.6666,
|
||||
col3: 25.0000,
|
||||
col4: 33.3333,
|
||||
col5: 41.6666,
|
||||
col6: 50.0000,
|
||||
col7: 58.3333,
|
||||
col8: 66.6666,
|
||||
col9: 75.0000,
|
||||
col10: 83.3333,
|
||||
col11: 91.6666,
|
||||
col12: 100,
|
||||
);
|
||||
|
||||
$grid-paddnig-x: $padding-x;
|
||||
$grid-padding-y: $padding-y;
|
||||
$grid-margin-x: 0;
|
||||
$grid-margin-y: 0;
|
||||
|
||||
/* Helpers */
|
||||
/* Corners for rounding */
|
||||
$radius-all: 5px;
|
||||
$radius-top-left: $radius-all;
|
||||
$radius-top-right: $radius-all;
|
||||
$radius-bottom-right: $radius-all;
|
||||
$radius-bottom-left: $radius-all;
|
||||
|
||||
/* Buttons */
|
||||
$btn-color-bg: $color-primary;
|
||||
$btn-color: #fff;
|
||||
$btn-height: 40px;
|
||||
$btn-padding: 10px;
|
||||
$btn-radius: 5px;
|
||||
$btn-font-size: 14px;
|
||||
|
||||
$btn-border: 2px;
|
||||
$btn-small-scale: 0.8;
|
||||
|
||||
/* butons colection */
|
||||
$btns: (
|
||||
//name, color, background-color, hover color, hover background
|
||||
("", #ffffff, $color-primary, #ffffff, darken($color-primary, 5%)),
|
||||
("-dark", #ffffff, darken($color-primary, 10%), #ffffff, $color-primary),
|
||||
("-light", #ffffff, lighten($color-primary, 10%), #ffffff, darken($color-primary, 5%)),
|
||||
("-gray-dark", $color-gray-light, $color-gray-dark, $color-gray-light, darken($color-gray-dark, 5%)),
|
||||
("-gray-light", $color-gray-dark, $color-gray-light, $color-gray-dark, darken($color-gray-light, 5%))
|
||||
);
|
||||
|
||||
$btns-color: #fff;
|
||||
$btns-bg-color: $color-primary;
|
||||
$btns-pads: 3px 20px 5px 20px;
|
||||
$btns-border: none;
|
||||
$btns-radius: 4px;
|
||||
$btns-hover-bg: darken($color-primary, 5%);
|
||||
$btns-hover-color: #fff;
|
||||
|
||||
/* Border */
|
||||
$borders: (
|
||||
//('name', 'size', 'type', 'color')
|
||||
('primary', 1px, solid, $color-primary),
|
||||
('gray-dark', 1px, solid, $color-gray-dark),
|
||||
('gray', 1px, solid, $color-gray),
|
||||
('block', 1px, solid, #d5d5d5),
|
||||
('black', 1px, solid, #ffffff)
|
||||
);
|
||||
|
||||
$border-radius: 5px !default;
|
||||
$border-radius-large: 10px !default;
|
||||
$border-radius-small: 3px !default;
|
||||
|
||||
$hr-color: $text-color;
|
||||
|
||||
/* Table */
|
||||
|
||||
$table-color: #393939;
|
||||
$table-head-bg: $color-gray-light;
|
||||
$table-color-border: mix($color-gray-dark, $color-gray-light);
|
||||
$table-fontsize: $font-size;
|
||||
$table-hover-color: $color-gray-light;
|
||||
$table-padding: 10px;
|
||||
|
||||
$even-bg-color: #eee5de;
|
||||
$odd-bg-color: #f6f2ef;
|
||||
|
||||
/* Forms */
|
||||
$input-color: $text-color;
|
||||
$input-line-height: 20px;
|
||||
$input-font-size: 15px;
|
||||
$input-height: 30px;
|
||||
$input-height-small: 20px;
|
||||
$input-bg: #ffffff;
|
||||
$input-bg-disabled: $color-gray-light;
|
||||
$input-border-color: $input-color;
|
||||
$input-border-radius: 0;
|
||||
$input-padding-y: 10px;
|
||||
$input-padding-x: 10px;
|
||||
|
||||
$legend-color: $color-gray-dark;
|
||||
|
||||
/* Progressbar */
|
||||
$progress-width: 400px;
|
||||
$progress-bg: #fff;
|
||||
/* defines colors of segments from leftside */
|
||||
$progress-segments-colors: #da4d00, #41768a, #d4c5a9;
|
||||
|
||||
/* KlokanTech components */
|
||||
|
||||
$popupbg-bg-color: rgba(55, 55, 55, 0.8);
|
||||
$popup-bg-color: #fff;
|
||||
$popup-top: 30%;
|
||||
$popup-width: 400px;
|
||||
$popup-padding: 25px;
|
||||
|
||||
$multicomplete-tag-bg-color: $color-gray;
|
||||
|
||||
/* Top navbar */
|
||||
$navbar-top-height: 72px;
|
||||
$navbar-top-small-height: 48px;
|
||||
$navbar-top-margin-bottom: 20px;
|
||||
|
||||
$navbar-top-zindex: 90;
|
||||
$navbar-top-bgcolor: transparent;
|
||||
$navbar-top-title-padding-bottom: 16px;
|
||||
$navbar-top-menu-padding-bottom: 28px;
|
||||
|
||||
$navbar-top-title-size: 36px;
|
||||
$navbar-top-title-color: #ffffff;
|
||||
|
||||
$navbar-top-link-color: $color-gray-light;
|
||||
$navbar-top-link-size: 13px;
|
||||
$navbar-top-link-hover-color: #ffffff;
|
||||
|
||||
$navbar-top-link-hover-color: #ffffff;
|
||||
$navbar-top-mobile-btn-color: #ffffff;
|
||||
|
||||
/* Side navbar */
|
||||
$navside-width: 280px;
|
||||
$navside-item-padding: 20px;
|
||||
|
||||
|
||||
/* Sticky footer */
|
||||
$footer-color: #868d97;
|
||||
$footer-color-bg: #374045;
|
||||
$footer-link-color: #868d97;
|
||||
$footer-link-hover-color: darken(#fff, 10%);
|
||||
$footer-link-hover-decoration: none;
|
||||
$footer-height: 80px;
|
||||
$footer-fontsize: 32px;
|
||||
$footer-padding: 24px 20px 16px 20px;
|
||||
$footer-fontweight: bold;
|
||||
$footer-border-color: transparent;
|
||||
$footer-bordertop-size: 0;
|
||||
|
||||
/* mapcontrols */
|
||||
$map-control-size: 36px;
|
||||
$map-control-color: #fff;
|
||||
$map-control-bg: $color-primary;
|
||||
$map-control-margin: 1px 0;
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
---
|
||||
|
||||
@import "_reset";
|
||||
@import "_fonts";
|
||||
@import "_variables";
|
||||
@import "_mixins";
|
||||
@import "_base";
|
||||
@import "_typography";
|
||||
@import "_buttons";
|
||||
@import "_grid";
|
||||
@import "_table";
|
||||
@import "_forms";
|
||||
@import "_progressbar";
|
||||
//components
|
||||
@import "_navbar";
|
||||
@import "_map";
|
||||
@import "_components";
|
||||
|
||||
@import "_helpers";
|
||||
@import "_custom";
|
|
@ -1,116 +0,0 @@
|
|||
/*
|
||||
Copyright 2014 GitHub Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
*/
|
||||
|
||||
.pl-c /* comment */ {
|
||||
color: #969896;
|
||||
}
|
||||
|
||||
.pl-c1 /* constant, markup.raw, meta.diff.header, meta.module-reference, meta.property-name, support, support.constant, support.variable, variable.other.constant */,
|
||||
.pl-s .pl-v /* string variable */ {
|
||||
color: #0086b3;
|
||||
}
|
||||
|
||||
.pl-e /* entity */,
|
||||
.pl-en /* entity.name */ {
|
||||
color: #795da3;
|
||||
}
|
||||
|
||||
.pl-s .pl-s1 /* string source */,
|
||||
.pl-smi /* storage.modifier.import, storage.modifier.package, storage.type.java, variable.other, variable.parameter.function */ {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.pl-ent /* entity.name.tag */ {
|
||||
color: #63a35c;
|
||||
}
|
||||
|
||||
.pl-k /* keyword, storage, storage.type */ {
|
||||
color: #a71d5d;
|
||||
}
|
||||
|
||||
.pl-pds /* punctuation.definition.string, string.regexp.character-class */,
|
||||
.pl-s /* string */,
|
||||
.pl-s .pl-pse .pl-s1 /* string punctuation.section.embedded source */,
|
||||
.pl-sr /* string.regexp */,
|
||||
.pl-sr .pl-cce /* string.regexp constant.character.escape */,
|
||||
.pl-sr .pl-sra /* string.regexp string.regexp.arbitrary-repitition */,
|
||||
.pl-sr .pl-sre /* string.regexp source.ruby.embedded */ {
|
||||
color: #183691;
|
||||
}
|
||||
|
||||
.pl-v /* variable */ {
|
||||
color: #ed6a43;
|
||||
}
|
||||
|
||||
.pl-id /* invalid.deprecated */ {
|
||||
color: #b52a1d;
|
||||
}
|
||||
|
||||
.pl-ii /* invalid.illegal */ {
|
||||
background-color: #b52a1d;
|
||||
color: #f8f8f8;
|
||||
}
|
||||
|
||||
.pl-sr .pl-cce /* string.regexp constant.character.escape */ {
|
||||
color: #63a35c;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.pl-ml /* markup.list */ {
|
||||
color: #693a17;
|
||||
}
|
||||
|
||||
.pl-mh /* markup.heading */,
|
||||
.pl-mh .pl-en /* markup.heading entity.name */,
|
||||
.pl-ms /* meta.separator */ {
|
||||
color: #1d3e81;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.pl-mq /* markup.quote */ {
|
||||
color: #008080;
|
||||
}
|
||||
|
||||
.pl-mi /* markup.italic */ {
|
||||
color: #333;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.pl-mb /* markup.bold */ {
|
||||
color: #333;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.pl-md /* markup.deleted, meta.diff.header.from-file */ {
|
||||
background-color: #ffecec;
|
||||
color: #bd2c00;
|
||||
}
|
||||
|
||||
.pl-mi1 /* markup.inserted, meta.diff.header.to-file */ {
|
||||
background-color: #eaffea;
|
||||
color: #55a532;
|
||||
}
|
||||
|
||||
.pl-mdr /* meta.diff.range */ {
|
||||
color: #795da3;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.pl-mo /* meta.output */ {
|
||||
color: #1d3e81;
|
||||
}
|
||||
|
|
@ -1,424 +0,0 @@
|
|||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
* 2. Prevent iOS text size adjust after orientation change, without disabling
|
||||
* user zoom.
|
||||
*/
|
||||
|
||||
html {
|
||||
font-family: sans-serif; /* 1 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default margin.
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Correct `block` display not defined for any HTML5 element in IE 8/9.
|
||||
* Correct `block` display not defined for `details` or `summary` in IE 10/11
|
||||
* and Firefox.
|
||||
* Correct `block` display not defined for `main` in IE 11.
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
main,
|
||||
menu,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `inline-block` display not defined in IE 8/9.
|
||||
* 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
progress,
|
||||
video {
|
||||
display: inline-block; /* 1 */
|
||||
vertical-align: baseline; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent modern browsers from displaying `audio` without controls.
|
||||
* Remove excess height in iOS 5 devices.
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `[hidden]` styling not present in IE 8/9/10.
|
||||
* Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
|
||||
*/
|
||||
|
||||
[hidden],
|
||||
template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Links
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove the gray background color from active links in IE 10.
|
||||
*/
|
||||
|
||||
a {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/**
|
||||
* Improve readability when focused and also mouse hovered in all browsers.
|
||||
*/
|
||||
|
||||
a:active,
|
||||
a:hover {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
/* Text-level semantics
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9/10/11, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in Safari and Chrome.
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address variable `h1` font-size and margin within `section` and `article`
|
||||
* contexts in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address styling not present in IE 8/9.
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent and variable font size in all browsers.
|
||||
*/
|
||||
|
||||
small {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
/**
|
||||
* Prevent `sub` and `sup` affecting `line-height` in all browsers.
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
/* Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove border when inside `a` element in IE 8/9/10.
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Correct overflow not hidden in IE 9/10/11.
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* Grouping content
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Address margin not present in IE 8/9 and Safari.
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address differences between Firefox and other browsers.
|
||||
*/
|
||||
|
||||
hr {
|
||||
box-sizing: content-box;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Contain overflow in all browsers.
|
||||
*/
|
||||
|
||||
pre {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address odd `em`-unit font size rendering in all browsers.
|
||||
*/
|
||||
|
||||
code,
|
||||
kbd,
|
||||
pre,
|
||||
samp {
|
||||
font-family: monospace, monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/* Forms
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Known limitation: by default, Chrome and Safari on OS X allow very limited
|
||||
* styling of `select`, unless a `border` property is set.
|
||||
*/
|
||||
|
||||
/**
|
||||
* 1. Correct color not being inherited.
|
||||
* Known issue: affects color of disabled elements.
|
||||
* 2. Correct font properties not being inherited.
|
||||
* 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
optgroup,
|
||||
select,
|
||||
textarea {
|
||||
color: inherit; /* 1 */
|
||||
font: inherit; /* 2 */
|
||||
margin: 0; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Address `overflow` set to `hidden` in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
button {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address inconsistent `text-transform` inheritance for `button` and `select`.
|
||||
* All other form control elements do not inherit `text-transform` values.
|
||||
* Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
|
||||
* Correct `select` style inheritance in Firefox.
|
||||
*/
|
||||
|
||||
button,
|
||||
select {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
|
||||
* and `video` controls.
|
||||
* 2. Correct inability to style clickable `input` types in iOS.
|
||||
* 3. Improve usability and consistency of cursor style between image-type
|
||||
* `input` and others.
|
||||
*/
|
||||
|
||||
button,
|
||||
html input[type="button"], /* 1 */
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
-webkit-appearance: button; /* 2 */
|
||||
cursor: pointer; /* 3 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Re-set default cursor for disabled elements.
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
html input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and border in Firefox 4+.
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Address Firefox 4+ setting `line-height` on `input` using `!important` in
|
||||
* the UA stylesheet.
|
||||
*/
|
||||
|
||||
input {
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* It's recommended that you don't attempt to style these elements.
|
||||
* Firefox's implementation doesn't respect box-sizing, padding, or width.
|
||||
*
|
||||
* 1. Address box sizing set to `content-box` in IE 8/9/10.
|
||||
* 2. Remove excess padding in IE 8/9/10.
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||
* `font-size` values of the `input`, it causes the cursor style of the
|
||||
* decrement button to change from `default` to `text`.
|
||||
*/
|
||||
|
||||
input[type="number"]::-webkit-inner-spin-button,
|
||||
input[type="number"]::-webkit-outer-spin-button {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Address `appearance` set to `searchfield` in Safari and Chrome.
|
||||
* 2. Address `box-sizing` set to `border-box` in Safari and Chrome
|
||||
* (include `-moz` to future-proof).
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */ /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove inner padding and search cancel button in Safari and Chrome on OS X.
|
||||
* Safari (but not Chrome) clips the cancel button when the search input has
|
||||
* padding (and `textfield` appearance).
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button,
|
||||
input[type="search"]::-webkit-search-decoration {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/**
|
||||
* Define consistent border, margin, and padding.
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/**
|
||||
* 1. Correct `color` not being inherited in IE 8/9/10/11.
|
||||
* 2. Remove padding so people aren't caught out if they zero out fieldsets.
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
}
|
||||
|
||||
/**
|
||||
* Remove default vertical scrollbar in IE 8/9/10/11.
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/**
|
||||
* Don't inherit the `font-weight` (applied by a rule above).
|
||||
* NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
|
||||
*/
|
||||
|
||||
optgroup {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Tables
|
||||
========================================================================== */
|
||||
|
||||
/**
|
||||
* Remove most spacing between table cells.
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
td,
|
||||
th {
|
||||
padding: 0;
|
||||
}
|
|
@ -1,389 +0,0 @@
|
|||
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600);
|
||||
|
||||
* {
|
||||
box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
line-height: 1.5;
|
||||
color: #606c71; }
|
||||
|
||||
a {
|
||||
color: #1e6bb8;
|
||||
text-decoration: none; }
|
||||
a:hover {
|
||||
text-decoration: underline; }
|
||||
|
||||
.btn {
|
||||
display: inline-block;
|
||||
margin-bottom: 1rem;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1);
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
border-color: rgba(255, 255, 255, 0.2);
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-radius: 0.3rem;
|
||||
transition: color 0.2s, background-color 0.2s, border-color 0.2s;
|
||||
}
|
||||
|
||||
.btn + .btn {
|
||||
margin-left: 1rem;
|
||||
}
|
||||
|
||||
.btn:hover {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
text-decoration: none;
|
||||
background-color: rgba(255, 255, 255, 0.4);
|
||||
border-color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
.header__sticky {
|
||||
width: 100%;
|
||||
border-top: 3px solid #159957;
|
||||
border-bottom: 8px solid rgba(40, 40, 40, 0.1)
|
||||
min-height: 20rem;
|
||||
background: #fff;
|
||||
opacity: 0.9;
|
||||
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
left: 0px;
|
||||
z-index: 50;
|
||||
}
|
||||
|
||||
.header__wrapper {
|
||||
margin: 0 auto;
|
||||
max-width: 64rem;
|
||||
padding: 1rem 6rem;
|
||||
}
|
||||
|
||||
.header__brand {
|
||||
font-family: 'Open Sans';
|
||||
color: #777;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.6em;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.header__brand, .header__nav {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.header__nav {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.header__nav-link {
|
||||
font-size: 1.2rem;
|
||||
line-height: 1.6em;
|
||||
padding: 0rem 0.8rem;
|
||||
color: #159957;
|
||||
}
|
||||
|
||||
.header__nav-link:hover {
|
||||
text-decoration: none;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.action {
|
||||
margin-top: 4rem;
|
||||
}
|
||||
.action__item {
|
||||
display: inline-block;
|
||||
width: 28%;
|
||||
margin-right: 3%;
|
||||
padding: 0.5rem;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.action__logo {
|
||||
width: 100%;
|
||||
height: 128px;
|
||||
}
|
||||
|
||||
|
||||
.action__logo img {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.action__item:hover .action__logo img {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
||||
.action__item:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
.action__item:hover .action__header {
|
||||
color: #222;
|
||||
}
|
||||
|
||||
.header__image {
|
||||
width: 100%;
|
||||
background-color: #57B987;
|
||||
background-image: url('../img/bg.jpg');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
height: 27rem;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 64em) {
|
||||
.btn {
|
||||
padding: 0.75rem 1rem; } }
|
||||
|
||||
@media screen and (min-width: 42em) and (max-width: 64em) {
|
||||
.btn {
|
||||
padding: 0.6rem 0.9rem;
|
||||
font-size: 0.9rem; } }
|
||||
|
||||
@media screen and (max-width: 42em) {
|
||||
.btn {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding: 0.75rem;
|
||||
font-size: 0.9rem; }
|
||||
.btn + .btn {
|
||||
margin-top: 1rem;
|
||||
margin-left: 0; } }
|
||||
|
||||
.page-header {
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
background-color: #57B987;
|
||||
background-image: url('../img/bg.jpg');
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
height: 27rem;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 64em) {
|
||||
.page-header {
|
||||
padding: 5rem 6rem; } }
|
||||
|
||||
@media screen and (min-width: 42em) and (max-width: 64em) {
|
||||
.page-header {
|
||||
padding: 3rem 4rem; } }
|
||||
|
||||
@media screen and (max-width: 42em) {
|
||||
.page-header {
|
||||
padding: 2rem 1rem; } }
|
||||
|
||||
.project-name {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0.1rem;
|
||||
text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 64em) {
|
||||
.project-name {
|
||||
font-size: 5.25rem; }}
|
||||
|
||||
@media screen and (min-width: 42em) and (max-width: 64em) {
|
||||
.project-name {
|
||||
font-size: 4.25rem; } }
|
||||
|
||||
@media screen and (max-width: 42em) {
|
||||
.project-name {
|
||||
font-size: 3.75rem; } }
|
||||
|
||||
.project-tagline {
|
||||
margin-bottom: 2rem;
|
||||
font-weight: normal;
|
||||
text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 64em) {
|
||||
.project-tagline {
|
||||
font-size: 2.25rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 42em) and (max-width: 64em) {
|
||||
.project-tagline {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 42em) {
|
||||
.project-tagline {
|
||||
font-size: 1rem;
|
||||
}
|
||||
}
|
||||
|
||||
.main-content h2 {
|
||||
font-size: 2.4rem;
|
||||
}
|
||||
|
||||
.main-content h2 {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
|
||||
.main-content h3 {
|
||||
font-size: 1.6rem;
|
||||
}
|
||||
|
||||
.main-content p {
|
||||
margin-bottom: 1em;
|
||||
line-height: 1.6em;
|
||||
}
|
||||
|
||||
.main-content img {
|
||||
max-width: 100%; }
|
||||
.main-content h1, .main-content h2, .main-content h3, .main-content h4, .main-content h5, .main-content h6 {
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 1rem;
|
||||
font-weight: normal;
|
||||
color: #159957; }
|
||||
.main-content code {
|
||||
padding: 2px 4px;
|
||||
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
font-size: 0.9rem;
|
||||
color: #383e41;
|
||||
background-color: #f3f6fa;
|
||||
border-radius: 0.3rem; }
|
||||
.main-content pre {
|
||||
padding: 0.8rem;
|
||||
margin-top: 0;
|
||||
margin-bottom: 1rem;
|
||||
font: 1rem Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
||||
color: #567482;
|
||||
word-wrap: normal;
|
||||
background-color: #f3f6fa;
|
||||
border: solid 1px #dce6f0;
|
||||
border-radius: 0.3rem; }
|
||||
.main-content pre > code {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 0.9rem;
|
||||
color: #567482;
|
||||
word-break: normal;
|
||||
white-space: pre;
|
||||
background: transparent;
|
||||
border: 0; }
|
||||
.main-content .highlight {
|
||||
margin-bottom: 1rem; }
|
||||
.main-content .highlight pre {
|
||||
margin-bottom: 0;
|
||||
word-break: normal; }
|
||||
.main-content .highlight pre, .main-content pre {
|
||||
padding: 0.8rem;
|
||||
overflow: auto;
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.45;
|
||||
border-radius: 0.3rem; }
|
||||
.main-content pre code, .main-content pre tt {
|
||||
display: inline;
|
||||
max-width: initial;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
overflow: initial;
|
||||
line-height: inherit;
|
||||
word-wrap: normal;
|
||||
background-color: transparent;
|
||||
border: 0; }
|
||||
.main-content pre code:before, .main-content pre code:after, .main-content pre tt:before, .main-content pre tt:after {
|
||||
content: normal; }
|
||||
.main-content ul, .main-content ol {
|
||||
margin-top: 0; }
|
||||
.main-content blockquote {
|
||||
padding: 0 1rem;
|
||||
margin-left: 0;
|
||||
color: #819198;
|
||||
border-left: 0.3rem solid #dce6f0; }
|
||||
.main-content blockquote > :first-child {
|
||||
margin-top: 0; }
|
||||
.main-content blockquote > :last-child {
|
||||
margin-bottom: 0; }
|
||||
.main-content table {
|
||||
display: block;
|
||||
width: 100%;
|
||||
overflow: auto;
|
||||
word-break: normal;
|
||||
word-break: keep-all; }
|
||||
.main-content table th {
|
||||
font-weight: bold; }
|
||||
.main-content table th, .main-content table td {
|
||||
padding: 0.5rem 1rem;
|
||||
border: 1px solid #e9ebec; }
|
||||
.main-content dl {
|
||||
padding: 0; }
|
||||
.main-content dl dt {
|
||||
padding: 0;
|
||||
margin-top: 1rem;
|
||||
font-size: 1rem;
|
||||
font-weight: bold; }
|
||||
.main-content dl dd {
|
||||
padding: 0;
|
||||
margin-bottom: 1rem; }
|
||||
.main-content hr {
|
||||
height: 2px;
|
||||
padding: 0;
|
||||
margin: 1rem 0;
|
||||
background-color: #eff0f1;
|
||||
border: 0; }
|
||||
|
||||
@media screen and (min-width: 64em) {
|
||||
.main-content {
|
||||
max-width: 64rem;
|
||||
padding: 2rem 6rem;
|
||||
margin: 0 auto;
|
||||
font-size: 1.1rem; } }
|
||||
|
||||
@media screen and (min-width: 42em) and (max-width: 64em) {
|
||||
.main-content {
|
||||
padding: 2rem 4rem;
|
||||
font-size: 1.1rem; } }
|
||||
|
||||
@media screen and (max-width: 42em) {
|
||||
.main-content {
|
||||
padding: 2rem 1rem;
|
||||
font-size: 1rem; } }
|
||||
|
||||
.site-footer {
|
||||
padding-top: 2rem;
|
||||
margin-top: 2rem;
|
||||
border-top: solid 1px #eff0f1; }
|
||||
|
||||
.site-footer-owner {
|
||||
display: block;
|
||||
font-weight: bold; }
|
||||
|
||||
.site-footer-credits {
|
||||
color: #819198; }
|
||||
|
||||
@media screen and (min-width: 64em) {
|
||||
.site-footer {
|
||||
font-size: 1rem; } }
|
||||
|
||||
@media screen and (min-width: 42em) and (max-width: 64em) {
|
||||
.site-footer {
|
||||
font-size: 1rem; } }
|
||||
|
||||
@media screen and (max-width: 42em) {
|
||||
.site-footer {
|
||||
font-size: 0.9rem; } }
|
||||
|
||||
.docs {
|
||||
margin-top: 5rem;
|
||||
}
|
||||
.contributor__gallery {
|
||||
margin-top: 5rem;
|
||||
}
|
||||
|
||||
.contributor__image {
|
||||
width: 40%;
|
||||
margin-right: 7%;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
h3.action__header {
|
||||
margin-top: 1rem;
|
||||
text-align: center;
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
---
|
||||
layout: page
|
||||
title: Layer Reference
|
||||
published: true
|
||||
---
|
||||
|
||||
## User Documentation
|
||||
|
||||
Get started styling and using vector tiles.
|
||||
|
||||
- [Layer Reference](/docs/layer-reference/)
|
||||
- [Serve tiles with Docker](/docs/tileserver-kitematic/)
|
||||
|
||||
## Developer Documentation
|
||||
|
||||
Documentation about the internals of the project targeted at people
|
||||
who want to reuse part of our process or want to contribute.
|
||||
|
||||
- [Import and Export Process](/docs/docker-based-process/)
|
||||
- [Import OSM data into PostGIS](/docs/import/)
|
||||
- [Imposm Mapping Schema](/docs/imposm-schema/)
|
||||
- [Develop with Mapbox Studio in Docker](/docs/mapbox-studio-in-docker/)
|
||||
- [Compare visual with Mapbox Streets](/docs/compare-visual/)
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
layout: page
|
||||
title: Layer Reference
|
||||
published: true
|
||||
---
|
||||
|
||||
## User Documentation
|
||||
|
||||
Get started styling and using vector tiles.
|
||||
|
||||
- [Layer Reference](/docs/layer-reference.html)
|
||||
- [Serve tiles with Docker](/docs/tileserver-kitematic.html)
|
||||
|
||||
## Developer Documentation
|
||||
|
||||
Documentation about the internals of the project targeted at people
|
||||
who want to reuse part of our process or want to contribute.
|
||||
|
||||
- [Import and Export Process](/docs/docker-based-process.html)
|
||||
- [Import OSM data into PostGIS](/docs/import.html)
|
||||
- [Imposm Mapping Schema](/docs/imposm-schema.html)
|
||||
- [Develop with Mapbox Studio in Docker](/docs/mapbox-studio-in-docker.html)
|
||||
- [Compare visual with Mapbox Streets](/docs/compare-visual.html)
|
Po Szerokość: | Wysokość: | Rozmiar: 417 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 1.7 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 1.5 KiB |
BIN
img/bg.jpg
Przed Szerokość: | Wysokość: | Rozmiar: 299 KiB |
BIN
img/bg.png
Przed Szerokość: | Wysokość: | Rozmiar: 1.3 MiB |
Po Szerokość: | Wysokość: | Rozmiar: 259 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 1.7 MiB |
Po Szerokość: | Wysokość: | Rozmiar: 8.0 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 6.7 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 8.4 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 5.2 KiB |
BIN
img/hsr.png
Przed Szerokość: | Wysokość: | Rozmiar: 30 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 6.6 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 11 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 856 B |
Po Szerokość: | Wysokość: | Rozmiar: 40 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 40 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 128 KiB |
|
@ -0,0 +1,78 @@
|
|||
---
|
||||
id: home
|
||||
layout: default
|
||||
title: Free Vector Tiles from OpenStreetMap
|
||||
published: true
|
||||
---
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="banner home col12 center padt-6">
|
||||
<h1 class="white">Free Vector Tiles from OpenStreetMap</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row bg-gray-light">
|
||||
<div class="col12">
|
||||
<div class="container center padt-5 padb-6">
|
||||
<h1><span class="font-primary">OSM2</span>VECTORTILES</h1>
|
||||
<p class="big">Create a custom base map in minutes with our free vector tiles
|
||||
from <a href="http://openstreetmap.org">OpenStreetMap</a> data.
|
||||
Avoid vendor lockin but still use awesome technologies like
|
||||
<a href="https://www.mapbox.com/mapbox-gl-js/">Mapbox GL</a> and
|
||||
<a href="https://www.mapbox.com/mapbox-studio-classic/">Mapbox Studio Classic</a>
|
||||
because our tiles are <a href="https://www.mapbox.com/developers/vector-tiles/mapbox-streets-v5">
|
||||
Mapbox Streets</a> compatible.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row center pady-6">
|
||||
<div class="col4">
|
||||
<a href="{{ site.baseurl }}"><img src="{{ site.baseurl }}img/home-examples-icon.png" alt="btn"></a>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<a href="{{ site.baseurl }}"><img src="{{ site.baseurl }}img/home-download-icon.png" alt="btn"></a>
|
||||
</div>
|
||||
<div class="col4">
|
||||
<a href="{{ site.baseurl }}"><img src="{{ site.baseurl }}img/home-deploy-icon.png" alt="btn"></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row bordertop-block borderbottom-block">
|
||||
<div class="col12 padt-6">
|
||||
<h2 class="center">Contributors</h2>
|
||||
|
||||
<div class="row">
|
||||
<div class="col6 pad-5">
|
||||
<ul class="big">
|
||||
<li>Manuel Roth <a href="https://github.com/manuelroth" class="user-mention">@manuelroth</a></li>
|
||||
<li>Lukas Martinelli <a href="https://github.com/lukasmartinelli" class="user-mention">@lukasmartinelli</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col6 pad-5">
|
||||
<ul class="big">
|
||||
<li>Stefan Keller <a href="https://github.com/sfkeller" class="user-mention">@sfkeller</a></li>
|
||||
<li>Petr Pridal <a href="https://github.com/klokan" class="user-mention">@klokan</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row center pady-4">
|
||||
<div class="col6">
|
||||
<a href="http://www.klokantech.com/">
|
||||
<img src="img/klokantech-logo.png" alt="Klokan Technologies"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="col6">
|
||||
<a href="http://www.ifs.hsr.ch/Geometa-Lab.12520.0.html">
|
||||
<img src="img/hsr-logo.png" alt="Geometalab HSR"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
14
index.md
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
layout: start
|
||||
title: Free Vector Tiles from OpenStreetMap
|
||||
published: true
|
||||
---
|
||||
|
||||
## Free Vector Tiles from OpenStreetMap
|
||||
|
||||
Create a custom base map in minutes with our free vector tiles from [OpenStreetMap](http://openstreetmap.org)
|
||||
data.
|
||||
|
||||
Avoid vendor lockin but still use awesome technologies like [Mapbox GL](https://www.mapbox.com/mapbox-gl-js/) and
|
||||
[Mapbox Studio Classic](https://www.mapbox.com/mapbox-studio-classic/) because our tiles are
|
||||
[Mapbox Streets](https://www.mapbox.com/developers/vector-tiles/mapbox-streets-v5) compatible.
|