mirror of https://github.com/hashicorp/consul
commit
f48a233f02
|
@ -67,7 +67,7 @@ var APP = APP || {};
|
|||
this.ui = {
|
||||
$doc: $(window),
|
||||
$hero: $('#jumbotron'),
|
||||
$pagination: null
|
||||
$collapse: $('.navbar-collapse')
|
||||
}
|
||||
|
||||
this.addEventListeners();
|
||||
|
@ -81,13 +81,17 @@ var APP = APP || {};
|
|||
return;
|
||||
|
||||
_this.ui.$doc.scroll(function() {
|
||||
|
||||
//if collapseable menu is open dont do parrallax. It looks wonky. Bootstrap conflict
|
||||
if( _this.ui.$collapse.hasClass('in'))
|
||||
return;
|
||||
|
||||
var top = _this.ui.$doc.scrollTop(),
|
||||
speedAdj = (top*0.8),
|
||||
speedAdjOffset = speedAdj - top;
|
||||
|
||||
_this.ui.$hero.css('webkitTransform', 'translate(0, '+ speedAdj +'px)');
|
||||
_this.ui.$hero.find('.container').css('webkitTransform', 'translate(0, '+ speedAdjOffset +'px)');
|
||||
//_this.ui.$pagination.css('webkitTransform', 'translate(0, '+ speedAdjOffset +'px)');
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
var APP=function(){function a(){APP.Utils.runIfClassNamePresent("page-home",b)}function b(){APP.Homepage.init()}return{initialize:a}}(),APP=APP||{};APP.Utils=function(){return{isMobile:function(){return navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)?!0:!1}(),runIfClassNamePresent:function(a,b){var c=document.getElementsByClassName(a);c.length>0&&b()}}}();var APP=APP||{};!function(){APP.Homepage=function(){return{ui:null,init:function(){this.ui={$doc:$(window),$hero:$("#jumbotron"),$pagination:null},this.addEventListeners()},addEventListeners:function(){var a=this;APP.Utils.isMobile||a.ui.$doc.scroll(function(){var b=a.ui.$doc.scrollTop(),c=.8*b,d=c-b;a.ui.$hero.css("webkitTransform","translate(0, "+c+"px)"),a.ui.$hero.find(".container").css("webkitTransform","translate(0, "+d+"px)")})}}}()}(jQuery,this);
|
||||
var APP=function(){function a(){APP.Utils.runIfClassNamePresent("page-home",b)}function b(){APP.Homepage.init()}return{initialize:a}}(),APP=APP||{};APP.Utils=function(){return{isMobile:function(){return navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i)?!0:!1}(),runIfClassNamePresent:function(a,b){var c=document.getElementsByClassName(a);c.length>0&&b()}}}();var APP=APP||{};!function(){APP.Homepage=function(){return{ui:null,init:function(){this.ui={$doc:$(window),$hero:$("#jumbotron"),$collapse:$(".navbar-collapse")},this.addEventListeners()},addEventListeners:function(){var a=this;APP.Utils.isMobile||a.ui.$doc.scroll(function(){if(!a.ui.$collapse.hasClass("in")){var b=a.ui.$doc.scrollTop(),c=.8*b,d=c-b;a.ui.$hero.css("webkitTransform","translate(0, "+c+"px)"),a.ui.$hero.find(".container").css("webkitTransform","translate(0, "+d+"px)")}})}}}()}(jQuery,this);
|
|
@ -15,7 +15,7 @@ var APP = APP || {};
|
|||
this.ui = {
|
||||
$doc: $(window),
|
||||
$hero: $('#jumbotron'),
|
||||
$pagination: null
|
||||
$collapse: $('.navbar-collapse')
|
||||
}
|
||||
|
||||
this.addEventListeners();
|
||||
|
@ -29,13 +29,17 @@ var APP = APP || {};
|
|||
return;
|
||||
|
||||
_this.ui.$doc.scroll(function() {
|
||||
|
||||
//if collapseable menu is open dont do parrallax. It looks wonky. Bootstrap conflict
|
||||
if( _this.ui.$collapse.hasClass('in'))
|
||||
return;
|
||||
|
||||
var top = _this.ui.$doc.scrollTop(),
|
||||
speedAdj = (top*0.8),
|
||||
speedAdjOffset = speedAdj - top;
|
||||
|
||||
_this.ui.$hero.css('webkitTransform', 'translate(0, '+ speedAdj +'px)');
|
||||
_this.ui.$hero.find('.container').css('webkitTransform', 'translate(0, '+ speedAdjOffset +'px)');
|
||||
//_this.ui.$pagination.css('webkitTransform', 'translate(0, '+ speedAdjOffset +'px)');
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
<div class="container">
|
||||
<div class="footer-links">
|
||||
<ul class="main-links nav navbar-nav rls-sb">
|
||||
<li><a href="/intro/index.html">Intro</a></li>
|
||||
<li class="active"><a href="/docs/index.html">Docs</a></li>
|
||||
<li><a href="/community.html">Community</a></li>
|
||||
<li class="li-under"><a href="/intro/index.html">Intro</a></li>
|
||||
<li class="active li-under"><a href="/docs/index.html">Docs</a></li>
|
||||
<li class="li-under"><a href="/community.html">Community</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class="buttons nav navbar-nav rls-sb">
|
||||
|
@ -17,14 +17,14 @@
|
|||
</div>
|
||||
<div class="footer-hashi os">
|
||||
<span>© 2013. A <a href="http://www.hashicorp.com">HashiCorp</a> Project.</span>
|
||||
<a href="http://www.hashicorp.com"><img src="/images/footer-hashicorp-logo.png"></a>
|
||||
<a class="hashi-logo" href="http://www.hashicorp.com"><img src="/images/footer-hashicorp-logo.png"></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="javascripts/lib/jquery-2.0.3.min.js"></script>
|
||||
<script src="javascripts/lib/bootstrap.min.js"></script>
|
||||
<script src="javascripts/app/deploy/site.js"></script>
|
||||
<script src="/javascripts/lib/jquery-2.0.3.min.js"></script>
|
||||
<script src="/javascripts/lib/bootstrap.min.js"></script>
|
||||
<script src="/javascripts/app/deploy/site.js"></script>
|
||||
|
||||
<script>
|
||||
APP.initialize();
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
</script>
|
||||
</head>
|
||||
<body class="page-<%= current_page.data.page_title ? "#{current_page.data.page_title}" : "home" %>">
|
||||
<body class="page-<%= current_page.data.page_title ? "#{current_page.data.page_title} layout-#{current_page.data.layout} page-sub" : "home layout-#{current_page.data.layout}" %>">
|
||||
<div id="header" class="<%= current_page.data.page_title == "home" ? "" : "navbar-static-top" %>">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
|
@ -61,9 +61,9 @@
|
|||
</ul>
|
||||
|
||||
<ul class="main-links nav navbar-nav navbar-right rls-sb">
|
||||
<li class="first"><a href="/intro/index.html">Intro</a></li>
|
||||
<li><a href="/docs/index.html">Docs</a></li>
|
||||
<li><a href="/community.html">Community</a></li>
|
||||
<li class="first li-under"><a href="/intro/index.html">Intro</a></li>
|
||||
<li class="li-under"><a href="/docs/index.html">Docs</a></li>
|
||||
<li class="li-under"><a href="/community.html">Community</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
|
|
@ -25,3 +25,32 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
//dot animation on header main nav link hover
|
||||
.li-under a::after {
|
||||
position: absolute;
|
||||
top: 68%;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: @white;
|
||||
border-radius: 4px;
|
||||
content: '';
|
||||
opacity: 0;
|
||||
text-decoration: none;
|
||||
-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
|
||||
-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
|
||||
transition: height 0.3s, opacity 0.3s, transform 0.3s;
|
||||
-webkit-transform: translateY(-10px);
|
||||
-moz-transform: translateY(-10px);
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
|
||||
.li-under a:hover::after,
|
||||
.li-under a:focus::after {
|
||||
opacity: .5;
|
||||
-webkit-transform: translateY(0px);
|
||||
-moz-transform: translateY(0px);
|
||||
transform: translateY(0px);
|
||||
}
|
||||
|
|
|
@ -2,15 +2,45 @@
|
|||
// Docs
|
||||
// --------------------------------------------------
|
||||
|
||||
body.layout-docs,
|
||||
body.layout-intro{
|
||||
background: @light-purple url('../images/sidebar-dots.jpg') left 62px no-repeat;
|
||||
|
||||
>.container{
|
||||
.col-md-8[role=main]{
|
||||
min-height: 800px;
|
||||
background-color: white;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: -9999px;
|
||||
right: 0;
|
||||
border-left: none;
|
||||
box-shadow: 9999px 0 0 white;
|
||||
}
|
||||
|
||||
>div{
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.docs-sidebar{
|
||||
position: relative;
|
||||
z-index: 20;
|
||||
margin-bottom: 30px;
|
||||
margin-top: 50px;
|
||||
margin-right: 4%;
|
||||
background-color: @tan;
|
||||
background-color: @light-purple;
|
||||
border-radius: @el-border-radius;
|
||||
|
||||
a{
|
||||
color: @black;
|
||||
color: @purple;
|
||||
}
|
||||
|
||||
.docs-sidenav{
|
||||
|
@ -26,13 +56,14 @@
|
|||
position: relative;
|
||||
|
||||
> a{
|
||||
color: @purple;
|
||||
.transition( color 0.5s ease );
|
||||
}
|
||||
|
||||
> a:hover,
|
||||
> a:focus {
|
||||
background-color: transparent !important;
|
||||
color: @red-dark;
|
||||
color: @black;
|
||||
.transition( color 0.5s ease );
|
||||
}
|
||||
}
|
||||
|
@ -41,7 +72,15 @@
|
|||
> li {
|
||||
padding: 10px 0;
|
||||
margin: 0 30px;
|
||||
border-bottom: 1px solid #fff;
|
||||
border-bottom: 2px solid #fff;
|
||||
|
||||
>.nav{
|
||||
li{
|
||||
a{
|
||||
color: @black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.active {
|
||||
&:before{
|
||||
|
@ -49,26 +88,25 @@
|
|||
position: absolute;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: @red;
|
||||
background-color: @purple;
|
||||
border-radius: 4px;
|
||||
top: 26px;
|
||||
left: -10px;
|
||||
}
|
||||
> a{
|
||||
font-weight: @font-weight-museo-xb;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
> a:hover,
|
||||
/*> a:hover,
|
||||
> a:focus {
|
||||
color: @black;
|
||||
}
|
||||
font-weight: @font-weight-museo-xb;
|
||||
}*/
|
||||
|
||||
.nav {
|
||||
display: block;
|
||||
|
||||
li.active a {
|
||||
color: @red;
|
||||
font-weight: @font-weight-museo-xb;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -126,13 +164,15 @@
|
|||
}
|
||||
|
||||
a{
|
||||
color: @red-darker;
|
||||
color: @purple;
|
||||
&:hover{
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
h1{
|
||||
color: @purple;
|
||||
text-transform: uppercase;
|
||||
padding-bottom: 24px;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 24px;
|
||||
|
@ -147,3 +187,27 @@
|
|||
margin-top: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media (max-width: 992px) {
|
||||
body.layout-docs,
|
||||
body.layout-intro{
|
||||
>.container{
|
||||
.col-md-8[role=main]{
|
||||
min-height: 0;
|
||||
&::before {
|
||||
border-left: 9999px solid white;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.bs-docs-section{
|
||||
h1{
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,6 +9,8 @@
|
|||
|
||||
body {
|
||||
font-size: 15px;
|
||||
color: @black;
|
||||
font-weight: 300;
|
||||
}
|
||||
|
||||
h1{
|
||||
|
|
|
@ -2,6 +2,12 @@
|
|||
// Header
|
||||
// --------------------------------------------------
|
||||
|
||||
body.page-sub{
|
||||
#header{
|
||||
.consul-gradient-bg();
|
||||
}
|
||||
}
|
||||
|
||||
#footer,
|
||||
#header {
|
||||
.anti-alias();
|
||||
|
@ -24,6 +30,7 @@
|
|||
|
||||
.navbar-toggle{
|
||||
margin-top: 14px;
|
||||
margin-bottom: 14px;
|
||||
border: 2px solid @white;
|
||||
.icon-bar{
|
||||
border: 1px solid @white;
|
||||
|
@ -65,12 +72,18 @@
|
|||
}
|
||||
}
|
||||
|
||||
.nav.li-under a::after {
|
||||
|
||||
}
|
||||
|
||||
.nav > li > a:hover, .nav > li > a:focus {
|
||||
background-color: transparent;
|
||||
/*color: @p;
|
||||
.transition( color 0.3s ease );*/
|
||||
}
|
||||
|
||||
.main-links.navbar-nav{
|
||||
li + li a::before {
|
||||
li + li::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
|
@ -82,6 +95,10 @@
|
|||
padding-right: 15px;
|
||||
}
|
||||
|
||||
/*li + li.li-under a::after{
|
||||
left: 15px;
|
||||
}*/
|
||||
|
||||
li > a {
|
||||
line-height: 62px;
|
||||
}
|
||||
|
@ -129,6 +146,10 @@
|
|||
float: none;
|
||||
display: inline-block;
|
||||
padding-top: 155px;
|
||||
|
||||
.li-under a::after {
|
||||
background-color: @purple;
|
||||
}
|
||||
}
|
||||
|
||||
.footer-hashi{
|
||||
|
@ -199,36 +220,65 @@
|
|||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
#footer,
|
||||
#header{
|
||||
background: #694a9c; /* Old browsers */
|
||||
background: -moz-linear-gradient(left, #694a9c 0%, #cd2028 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#694a9c), color-stop(100%,#cd2028)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* IE10+ */
|
||||
background: linear-gradient(to right, #694a9c 0%,#cd2028 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#694a9c', endColorstr='#cd2028',GradientType=1 ); /* IE6-9 */
|
||||
|
||||
.navbar-right{
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
.buttons.navbar-nav,
|
||||
.main-links.navbar-nav{
|
||||
display: block;
|
||||
padding-bottom: 15px;
|
||||
li{
|
||||
display: block;
|
||||
float: none;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
li + li a::before {
|
||||
.li-under a::after,
|
||||
li + li::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#header,
|
||||
#footer{
|
||||
.main-links.navbar-nav{
|
||||
li > a {
|
||||
padding: 0;
|
||||
padding-left: 0;
|
||||
line-height: 22px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#footer{
|
||||
.footer-hashi {
|
||||
span{
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.hashi-logo{
|
||||
display: block;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.buttons.navbar-nav{
|
||||
margin-left: 0;
|
||||
|
||||
li.first {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#header{
|
||||
.consul-gradient-bg();
|
||||
|
||||
.navbar-right{
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
.navbar-brand {
|
||||
&.logo{
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
//
|
||||
// Home
|
||||
// --------------------------------------------------
|
||||
body.page-home{
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
|
||||
#features{
|
||||
.anti-alias();
|
||||
|
@ -169,6 +172,8 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
|
||||
@media (max-width: 480px) {
|
||||
#features{
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,8 +4,9 @@
|
|||
|
||||
#jumbotron-mask{
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: @jumbotron-total-height;
|
||||
margin-top: -92px;
|
||||
margin-top: @negative-hero-margin;
|
||||
}
|
||||
|
||||
#jumbotron {
|
||||
|
@ -13,16 +14,9 @@
|
|||
height: @jumbotron-total-height;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-top: -92px;
|
||||
margin-top: @negative-hero-margin;
|
||||
color: @jumbotron-color;
|
||||
background: #694a9c; /* Old browsers */
|
||||
background: -moz-linear-gradient(left, #694a9c 0%, #cd2028 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#694a9c), color-stop(100%,#cd2028)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* IE10+ */
|
||||
background: linear-gradient(to right, #694a9c 0%,#cd2028 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#694a9c', endColorstr='#cd2028',GradientType=1 ); /* IE6-9 */
|
||||
.consul-gradient-bg();
|
||||
|
||||
&.mobile-hero{
|
||||
background: transparent url( ../images/node-hero-pattern.jpg ) center center;
|
||||
|
@ -37,7 +31,7 @@
|
|||
left: 0;
|
||||
height: 632px;
|
||||
width: 100%;
|
||||
margin-top: -92px;
|
||||
margin-top: @negative-hero-margin;
|
||||
background: transparent url('../images/hero-dots.png') center @header-height no-repeat;
|
||||
}
|
||||
|
||||
|
@ -69,14 +63,20 @@
|
|||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.jumbotron .container .jumbo-logo{
|
||||
right: -150px;
|
||||
@media (max-width: 992px) {
|
||||
#jumbotron .container {
|
||||
h2{
|
||||
text-align: center;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.jumbotron .container .jumbo-logo{
|
||||
right: -120px;
|
||||
@media (max-width: 480px) {
|
||||
#jumbotron .container {
|
||||
h2{
|
||||
margin-top: 130px;
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -10,3 +10,15 @@
|
|||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
.consul-gradient-bg(){
|
||||
background: #694a9c; /* Old browsers */
|
||||
background: -moz-linear-gradient(left, #694a9c 0%, #cd2028 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#694a9c), color-stop(100%,#cd2028)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(left, #694a9c 0%,#cd2028 100%); /* IE10+ */
|
||||
background: linear-gradient(to right, #694a9c 0%,#cd2028 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#694a9c', endColorstr='#cd2028',GradientType=1 ); /* IE6-9 */
|
||||
|
||||
}
|
|
@ -12,6 +12,7 @@
|
|||
@jumbotron-color: #fff;
|
||||
@btn-border-radius: 4px;
|
||||
@el-border-radius: 6px;
|
||||
@negative-hero-margin: -93px;
|
||||
// colors
|
||||
// -------------------------
|
||||
|
||||
|
@ -28,7 +29,7 @@
|
|||
@consul-gray: #909090;
|
||||
@consul-footer-gray: #d7d4d7;
|
||||
@purple: #69499a;
|
||||
|
||||
@light-purple: #f7f3f9;
|
||||
@btn-color: #4592C5;
|
||||
|
||||
|
||||
|
@ -47,7 +48,7 @@
|
|||
@font-family-museo: 'museo-sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
@font-family-open-sans: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
@font-weight-museo-xl: 100;
|
||||
@font-weight-museo-reg: 500;
|
||||
@font-weight-museo-reg: 300;
|
||||
@font-weight-museo-sb: 500;
|
||||
@font-weight-museo-xb: 700;
|
||||
@font-weight-open: @font-weight-museo-reg;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
}
|
||||
.os {
|
||||
font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 500;
|
||||
font-weight: 300;
|
||||
}
|
||||
/*html{
|
||||
text-rendering: optimizeLegibility;
|
||||
|
@ -20,6 +20,8 @@
|
|||
}*/
|
||||
body {
|
||||
font-size: 15px;
|
||||
color: #242424;
|
||||
font-weight: 300;
|
||||
}
|
||||
h1 {
|
||||
font-size: 42px;
|
||||
|
@ -70,6 +72,24 @@ pre {
|
|||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
body.page-sub #header {
|
||||
background: #694a9c;
|
||||
/* Old browsers */
|
||||
background: -moz-linear-gradient(left, #694a9c 0%, #cd2028 100%);
|
||||
/* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, right top, color-stop(0%, #694a9c), color-stop(100%, #cd2028));
|
||||
/* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(left, #694a9c 0%, #cd2028 100%);
|
||||
/* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(left, #694a9c 0%, #cd2028 100%);
|
||||
/* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(left, #694a9c 0%, #cd2028 100%);
|
||||
/* IE10+ */
|
||||
background: linear-gradient(to right, #694a9c 0%, #cd2028 100%);
|
||||
/* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#694a9c', endColorstr='#cd2028', GradientType=1);
|
||||
/* IE6-9 */
|
||||
}
|
||||
#footer,
|
||||
#header {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
@ -93,6 +113,7 @@ pre {
|
|||
#footer .navbar-toggle,
|
||||
#header .navbar-toggle {
|
||||
margin-top: 14px;
|
||||
margin-bottom: 14px;
|
||||
border: 2px solid #ffffff;
|
||||
}
|
||||
#footer .navbar-toggle .icon-bar,
|
||||
|
@ -144,9 +165,17 @@ pre {
|
|||
#footer .nav > li > a:focus,
|
||||
#header .nav > li > a:focus {
|
||||
background-color: transparent;
|
||||
/*color: @p;
|
||||
.transition( color 0.3s ease );*/
|
||||
}
|
||||
#footer .main-links.navbar-nav li + li a::before,
|
||||
#header .main-links.navbar-nav li + li a::before {
|
||||
#footer .main-links.navbar-nav,
|
||||
#header .main-links.navbar-nav {
|
||||
/*li + li.li-under a::after{
|
||||
left: 15px;
|
||||
}*/
|
||||
}
|
||||
#footer .main-links.navbar-nav li + li::before,
|
||||
#header .main-links.navbar-nav li + li::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0;
|
||||
|
@ -159,8 +188,8 @@ pre {
|
|||
padding-right: 15px;
|
||||
}
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
|
||||
#footer .main-links.navbar-nav li + li a::before,
|
||||
#header .main-links.navbar-nav li + li a::before {
|
||||
#footer .main-links.navbar-nav li + li::before,
|
||||
#header .main-links.navbar-nav li + li::before {
|
||||
background-image: url("../images/nav-dotpipes@2x.png");
|
||||
background-size: 4px 23px;
|
||||
}
|
||||
|
@ -220,6 +249,9 @@ pre {
|
|||
display: inline-block;
|
||||
padding-top: 155px;
|
||||
}
|
||||
#footer .main-links.navbar-nav .li-under a::after {
|
||||
background-color: #69499a;
|
||||
}
|
||||
#footer .footer-hashi {
|
||||
padding-top: 110px;
|
||||
}
|
||||
|
@ -275,6 +307,51 @@ pre {
|
|||
}
|
||||
}
|
||||
@media (max-width: 768px) {
|
||||
#footer .buttons.navbar-nav,
|
||||
#header .buttons.navbar-nav,
|
||||
#footer .main-links.navbar-nav,
|
||||
#header .main-links.navbar-nav {
|
||||
display: block;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
#footer .buttons.navbar-nav li,
|
||||
#header .buttons.navbar-nav li,
|
||||
#footer .main-links.navbar-nav li,
|
||||
#header .main-links.navbar-nav li {
|
||||
display: block;
|
||||
float: none;
|
||||
margin-top: 15px;
|
||||
}
|
||||
#footer .buttons.navbar-nav .li-under a::after,
|
||||
#header .buttons.navbar-nav .li-under a::after,
|
||||
#footer .main-links.navbar-nav .li-under a::after,
|
||||
#header .main-links.navbar-nav .li-under a::after,
|
||||
#footer .buttons.navbar-nav li + li::before,
|
||||
#header .buttons.navbar-nav li + li::before,
|
||||
#footer .main-links.navbar-nav li + li::before,
|
||||
#header .main-links.navbar-nav li + li::before {
|
||||
display: none;
|
||||
}
|
||||
#header .main-links.navbar-nav li > a,
|
||||
#footer .main-links.navbar-nav li > a {
|
||||
padding: 0;
|
||||
padding-left: 0;
|
||||
line-height: 22px;
|
||||
}
|
||||
#footer .footer-hashi span {
|
||||
margin-right: 0;
|
||||
}
|
||||
#footer .footer-hashi .hashi-logo {
|
||||
display: block;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
#footer .buttons.navbar-nav {
|
||||
margin-left: 0;
|
||||
}
|
||||
#footer .buttons.navbar-nav li.first {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
#header {
|
||||
background: #694a9c;
|
||||
/* Old browsers */
|
||||
|
@ -296,20 +373,6 @@ pre {
|
|||
#header .navbar-right {
|
||||
float: none !important;
|
||||
}
|
||||
#header .main-links.navbar-nav {
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
#header .main-links.navbar-nav li {
|
||||
margin-top: 15px;
|
||||
}
|
||||
#header .main-links.navbar-nav li + li a::before {
|
||||
display: none;
|
||||
}
|
||||
#header .main-links.navbar-nav li > a {
|
||||
padding: 0;
|
||||
padding-left: 0;
|
||||
line-height: 22px;
|
||||
}
|
||||
#header .navbar-brand.logo span {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
@ -352,15 +415,16 @@ pre {
|
|||
}
|
||||
#jumbotron-mask {
|
||||
overflow: hidden;
|
||||
width: 100%;
|
||||
height: 542px;
|
||||
margin-top: -92px;
|
||||
margin-top: -93px;
|
||||
}
|
||||
#jumbotron {
|
||||
position: relative;
|
||||
height: 542px;
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
margin-top: -92px;
|
||||
margin-top: -93px;
|
||||
color: #ffffff;
|
||||
background: #694a9c;
|
||||
/* Old browsers */
|
||||
|
@ -390,7 +454,7 @@ pre {
|
|||
left: 0;
|
||||
height: 632px;
|
||||
width: 100%;
|
||||
margin-top: -92px;
|
||||
margin-top: -93px;
|
||||
background: transparent url('../images/hero-dots.png') center 92px no-repeat;
|
||||
}
|
||||
#jumbotron .container {
|
||||
|
@ -415,14 +479,16 @@ pre {
|
|||
letter-spacing: 1px;
|
||||
margin-left: 40px;
|
||||
}
|
||||
@media (min-width: 992px) {
|
||||
.jumbotron .container .jumbo-logo {
|
||||
right: -150px;
|
||||
@media (max-width: 992px) {
|
||||
#jumbotron .container h2 {
|
||||
text-align: center;
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.jumbotron .container .jumbo-logo {
|
||||
right: -120px;
|
||||
@media (max-width: 480px) {
|
||||
#jumbotron .container h2 {
|
||||
margin-top: 130px;
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
.outline-btn {
|
||||
|
@ -447,6 +513,35 @@ pre {
|
|||
.outline-btn:hover.purple {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.li-under a::after {
|
||||
position: absolute;
|
||||
top: 68%;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: #ffffff;
|
||||
border-radius: 4px;
|
||||
content: '';
|
||||
opacity: 0;
|
||||
text-decoration: none;
|
||||
-webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s;
|
||||
-moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s;
|
||||
transition: height 0.3s, opacity 0.3s, transform 0.3s;
|
||||
-webkit-transform: translateY(-10px);
|
||||
-moz-transform: translateY(-10px);
|
||||
transform: translateY(-10px);
|
||||
}
|
||||
.li-under a:hover::after,
|
||||
.li-under a:focus::after {
|
||||
opacity: .5;
|
||||
-webkit-transform: translateY(0px);
|
||||
-moz-transform: translateY(0px);
|
||||
transform: translateY(0px);
|
||||
}
|
||||
body.page-home {
|
||||
background-color: #f8f8f8;
|
||||
}
|
||||
#features {
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
@ -600,6 +695,11 @@ pre {
|
|||
height: 200px;
|
||||
}
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
#features {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
.people {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
@ -612,15 +712,42 @@ pre {
|
|||
.people .person .bio {
|
||||
padding-left: 150px;
|
||||
}
|
||||
body.layout-docs,
|
||||
body.layout-intro {
|
||||
background: #f7f3f9 url('../images/sidebar-dots.jpg') left 62px no-repeat;
|
||||
}
|
||||
body.layout-docs > .container .col-md-8[role=main],
|
||||
body.layout-intro > .container .col-md-8[role=main] {
|
||||
min-height: 800px;
|
||||
background-color: white;
|
||||
}
|
||||
body.layout-docs > .container .col-md-8[role=main]::before,
|
||||
body.layout-intro > .container .col-md-8[role=main]::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: -9999px;
|
||||
right: 0;
|
||||
border-left: none;
|
||||
box-shadow: 9999px 0 0 white;
|
||||
}
|
||||
body.layout-docs > .container .col-md-8[role=main] > div,
|
||||
body.layout-intro > .container .col-md-8[role=main] > div {
|
||||
position: relative;
|
||||
z-index: 10;
|
||||
}
|
||||
.docs-sidebar {
|
||||
position: relative;
|
||||
z-index: 20;
|
||||
margin-bottom: 30px;
|
||||
margin-top: 50px;
|
||||
margin-right: 4%;
|
||||
background-color: #f0f0e5;
|
||||
background-color: #f7f3f9;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.docs-sidebar a {
|
||||
color: #242424;
|
||||
color: #69499a;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav {
|
||||
padding-top: 15px;
|
||||
|
@ -633,44 +760,49 @@ pre {
|
|||
position: relative;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav li > a {
|
||||
color: #69499a;
|
||||
-webkit-transition: color 0.5s ease;
|
||||
transition: color 0.5s ease;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav li > a:hover,
|
||||
.docs-sidebar .docs-sidenav li > a:focus {
|
||||
background-color: transparent !important;
|
||||
color: #c5454e;
|
||||
color: #242424;
|
||||
-webkit-transition: color 0.5s ease;
|
||||
transition: color 0.5s ease;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav > li {
|
||||
padding: 10px 0;
|
||||
margin: 0 30px;
|
||||
border-bottom: 1px solid #fff;
|
||||
border-bottom: 2px solid #fff;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav > li > .nav li a {
|
||||
color: #242424;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav > li.active {
|
||||
/*> a:hover,
|
||||
> a:focus {
|
||||
font-weight: @font-weight-museo-xb;
|
||||
}*/
|
||||
}
|
||||
.docs-sidebar .docs-sidenav > li.active:before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background-color: #dd4e58;
|
||||
background-color: #69499a;
|
||||
border-radius: 4px;
|
||||
top: 26px;
|
||||
left: -10px;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav > li.active > a {
|
||||
font-weight: 700;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav > li.active > a:hover,
|
||||
.docs-sidebar .docs-sidenav > li.active > a:focus {
|
||||
color: #242424;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav > li.active .nav {
|
||||
display: block;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav > li.active .nav li.active a {
|
||||
color: #dd4e58;
|
||||
font-weight: 700;
|
||||
}
|
||||
.docs-sidebar .docs-sidenav > li > a {
|
||||
text-transform: uppercase;
|
||||
|
@ -706,7 +838,7 @@ pre {
|
|||
.bs-docs-section .alert {
|
||||
font-size: 20px;
|
||||
font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
font-weight: 500;
|
||||
font-weight: 300;
|
||||
line-height: 1.5em;
|
||||
margin: 0 0 18px;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
|
@ -715,12 +847,14 @@ pre {
|
|||
margin: 0 0 18px;
|
||||
}
|
||||
.bs-docs-section a {
|
||||
color: #b03c44;
|
||||
color: #69499a;
|
||||
}
|
||||
.bs-docs-section a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
.bs-docs-section h1 {
|
||||
color: #69499a;
|
||||
text-transform: uppercase;
|
||||
padding-bottom: 24px;
|
||||
margin-top: 40px;
|
||||
margin-bottom: 24px;
|
||||
|
@ -734,6 +868,21 @@ pre {
|
|||
.bs-docs-section #graph {
|
||||
margin-top: 30px;
|
||||
}
|
||||
@media (max-width: 992px) {
|
||||
body.layout-docs > .container .col-md-8[role=main],
|
||||
body.layout-intro > .container .col-md-8[role=main] {
|
||||
min-height: 0;
|
||||
}
|
||||
body.layout-docs > .container .col-md-8[role=main]::before,
|
||||
body.layout-intro > .container .col-md-8[role=main]::before {
|
||||
border-left: 9999px solid white;
|
||||
}
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
.bs-docs-section h1 {
|
||||
font-size: 32px;
|
||||
}
|
||||
}
|
||||
.downloads {
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue