Merge pull request #31 from captainill/master
Subpages and more responsive tweaks
This commit is contained in:
commit
4ed6972862
|
@ -28,7 +28,7 @@ module.exports = function(grunt) {
|
||||||
},
|
},
|
||||||
|
|
||||||
uglify: {
|
uglify: {
|
||||||
app: {
|
app: {
|
||||||
files: {
|
files: {
|
||||||
'javascripts/app/deploy/site.min.js': ['javascripts/app/deploy/site.js']
|
'javascripts/app/deploy/site.min.js': ['javascripts/app/deploy/site.js']
|
||||||
}
|
}
|
||||||
|
@ -58,11 +58,11 @@ module.exports = function(grunt) {
|
||||||
grunt.loadNpmTasks('grunt-contrib-watch');
|
grunt.loadNpmTasks('grunt-contrib-watch');
|
||||||
grunt.loadNpmTasks('grunt-recess');
|
grunt.loadNpmTasks('grunt-recess');
|
||||||
|
|
||||||
// JS distribution task.
|
// JS distribution task.
|
||||||
grunt.registerTask('dist-js', ['concat', 'uglify']);
|
grunt.registerTask('dist-js', ['concat', 'uglify']);
|
||||||
|
|
||||||
// Full distribution task.
|
// Full distribution task.
|
||||||
grunt.registerTask('dist', ['dist-js']);
|
grunt.registerTask('dist', ['dist-js']);
|
||||||
|
|
||||||
grunt.registerTask('default', ['watch']);
|
grunt.registerTask('default', ['watch']);
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ var APP = APP || {};
|
||||||
this.ui = {
|
this.ui = {
|
||||||
$doc: $(window),
|
$doc: $(window),
|
||||||
$hero: $('#jumbotron'),
|
$hero: $('#jumbotron'),
|
||||||
$pagination: null
|
$collapse: $('.navbar-collapse')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.addEventListeners();
|
this.addEventListeners();
|
||||||
|
@ -81,13 +81,17 @@ var APP = APP || {};
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_this.ui.$doc.scroll(function() {
|
_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(),
|
var top = _this.ui.$doc.scrollTop(),
|
||||||
speedAdj = (top*0.8),
|
speedAdj = (top*0.8),
|
||||||
speedAdjOffset = speedAdj - top;
|
speedAdjOffset = speedAdj - top;
|
||||||
|
|
||||||
_this.ui.$hero.css('webkitTransform', 'translate(0, '+ speedAdj +'px)');
|
_this.ui.$hero.css('webkitTransform', 'translate(0, '+ speedAdj +'px)');
|
||||||
_this.ui.$hero.find('.container').css('webkitTransform', 'translate(0, '+ speedAdjOffset +'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 = {
|
this.ui = {
|
||||||
$doc: $(window),
|
$doc: $(window),
|
||||||
$hero: $('#jumbotron'),
|
$hero: $('#jumbotron'),
|
||||||
$pagination: null
|
$collapse: $('.navbar-collapse')
|
||||||
}
|
}
|
||||||
|
|
||||||
this.addEventListeners();
|
this.addEventListeners();
|
||||||
|
@ -29,13 +29,17 @@ var APP = APP || {};
|
||||||
return;
|
return;
|
||||||
|
|
||||||
_this.ui.$doc.scroll(function() {
|
_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(),
|
var top = _this.ui.$doc.scrollTop(),
|
||||||
speedAdj = (top*0.8),
|
speedAdj = (top*0.8),
|
||||||
speedAdjOffset = speedAdj - top;
|
speedAdjOffset = speedAdj - top;
|
||||||
|
|
||||||
_this.ui.$hero.css('webkitTransform', 'translate(0, '+ speedAdj +'px)');
|
_this.ui.$hero.css('webkitTransform', 'translate(0, '+ speedAdj +'px)');
|
||||||
_this.ui.$hero.find('.container').css('webkitTransform', 'translate(0, '+ speedAdjOffset +'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="container">
|
||||||
<div class="footer-links">
|
<div class="footer-links">
|
||||||
<ul class="main-links nav navbar-nav rls-sb">
|
<ul class="main-links nav navbar-nav rls-sb">
|
||||||
<li><a href="/intro/index.html">Intro</a></li>
|
<li class="li-under"><a href="/intro/index.html">Intro</a></li>
|
||||||
<li class="active"><a href="/docs/index.html">Docs</a></li>
|
<li class="active li-under"><a href="/docs/index.html">Docs</a></li>
|
||||||
<li><a href="/community.html">Community</a></li>
|
<li class="li-under"><a href="/community.html">Community</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul class="buttons nav navbar-nav rls-sb">
|
<ul class="buttons nav navbar-nav rls-sb">
|
||||||
|
@ -17,14 +17,14 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="footer-hashi os">
|
<div class="footer-hashi os">
|
||||||
<span>© 2013. A <a href="http://www.hashicorp.com">HashiCorp</a> Project.</span>
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="javascripts/lib/jquery-2.0.3.min.js"></script>
|
<script src="/javascripts/lib/jquery-2.0.3.min.js"></script>
|
||||||
<script src="javascripts/lib/bootstrap.min.js"></script>
|
<script src="/javascripts/lib/bootstrap.min.js"></script>
|
||||||
<script src="javascripts/app/deploy/site.js"></script>
|
<script src="/javascripts/app/deploy/site.js"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
APP.initialize();
|
APP.initialize();
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</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 id="header" class="<%= current_page.data.page_title == "home" ? "" : "navbar-static-top" %>">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="navbar-header">
|
<div class="navbar-header">
|
||||||
|
@ -61,9 +61,9 @@
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul class="main-links nav navbar-nav navbar-right rls-sb">
|
<ul class="main-links nav navbar-nav navbar-right rls-sb">
|
||||||
<li class="first"><a href="/intro/index.html">Intro</a></li>
|
<li class="first li-under"><a href="/intro/index.html">Intro</a></li>
|
||||||
<li><a href="/docs/index.html">Docs</a></li>
|
<li class="li-under"><a href="/docs/index.html">Docs</a></li>
|
||||||
<li><a href="/community.html">Community</a></li>
|
<li class="li-under"><a href="/community.html">Community</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</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
|
// 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{
|
.docs-sidebar{
|
||||||
|
position: relative;
|
||||||
|
z-index: 20;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
margin-right: 4%;
|
margin-right: 4%;
|
||||||
background-color: @tan;
|
background-color: @light-purple;
|
||||||
border-radius: @el-border-radius;
|
border-radius: @el-border-radius;
|
||||||
|
|
||||||
a{
|
a{
|
||||||
color: @black;
|
color: @purple;
|
||||||
}
|
}
|
||||||
|
|
||||||
.docs-sidenav{
|
.docs-sidenav{
|
||||||
|
@ -26,13 +56,14 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
> a{
|
> a{
|
||||||
|
color: @purple;
|
||||||
.transition( color 0.5s ease );
|
.transition( color 0.5s ease );
|
||||||
}
|
}
|
||||||
|
|
||||||
> a:hover,
|
> a:hover,
|
||||||
> a:focus {
|
> a:focus {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
color: @red-dark;
|
color: @black;
|
||||||
.transition( color 0.5s ease );
|
.transition( color 0.5s ease );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -41,7 +72,15 @@
|
||||||
> li {
|
> li {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
margin: 0 30px;
|
margin: 0 30px;
|
||||||
border-bottom: 1px solid #fff;
|
border-bottom: 2px solid #fff;
|
||||||
|
|
||||||
|
>.nav{
|
||||||
|
li{
|
||||||
|
a{
|
||||||
|
color: @black;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
&:before{
|
&:before{
|
||||||
|
@ -49,26 +88,25 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
background-color: @red;
|
background-color: @purple;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
top: 26px;
|
top: 26px;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
}
|
}
|
||||||
> a{
|
> a{
|
||||||
font-weight: @font-weight-museo-xb;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
}
|
}
|
||||||
|
|
||||||
> a:hover,
|
/*> a:hover,
|
||||||
> a:focus {
|
> a:focus {
|
||||||
color: @black;
|
font-weight: @font-weight-museo-xb;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
.nav {
|
.nav {
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
li.active a {
|
li.active a {
|
||||||
color: @red;
|
font-weight: @font-weight-museo-xb;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -126,13 +164,15 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a{
|
a{
|
||||||
color: @red-darker;
|
color: @purple;
|
||||||
&:hover{
|
&:hover{
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
h1{
|
h1{
|
||||||
|
color: @purple;
|
||||||
|
text-transform: uppercase;
|
||||||
padding-bottom: 24px;
|
padding-bottom: 24px;
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
|
@ -147,3 +187,27 @@
|
||||||
margin-top: 30px;
|
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 {
|
body {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
color: @black;
|
||||||
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
|
|
||||||
h1{
|
h1{
|
||||||
|
|
|
@ -2,6 +2,12 @@
|
||||||
// Header
|
// Header
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
|
||||||
|
body.page-sub{
|
||||||
|
#header{
|
||||||
|
.consul-gradient-bg();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#footer,
|
#footer,
|
||||||
#header {
|
#header {
|
||||||
.anti-alias();
|
.anti-alias();
|
||||||
|
@ -24,6 +30,7 @@
|
||||||
|
|
||||||
.navbar-toggle{
|
.navbar-toggle{
|
||||||
margin-top: 14px;
|
margin-top: 14px;
|
||||||
|
margin-bottom: 14px;
|
||||||
border: 2px solid @white;
|
border: 2px solid @white;
|
||||||
.icon-bar{
|
.icon-bar{
|
||||||
border: 1px solid @white;
|
border: 1px solid @white;
|
||||||
|
@ -65,12 +72,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav.li-under a::after {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.nav > li > a:hover, .nav > li > a:focus {
|
.nav > li > a:hover, .nav > li > a:focus {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
/*color: @p;
|
||||||
|
.transition( color 0.3s ease );*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-links.navbar-nav{
|
.main-links.navbar-nav{
|
||||||
li + li a::before {
|
li + li::before {
|
||||||
content: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -82,6 +95,10 @@
|
||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*li + li.li-under a::after{
|
||||||
|
left: 15px;
|
||||||
|
}*/
|
||||||
|
|
||||||
li > a {
|
li > a {
|
||||||
line-height: 62px;
|
line-height: 62px;
|
||||||
}
|
}
|
||||||
|
@ -129,6 +146,10 @@
|
||||||
float: none;
|
float: none;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding-top: 155px;
|
padding-top: 155px;
|
||||||
|
|
||||||
|
.li-under a::after {
|
||||||
|
background-color: @purple;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-hashi{
|
.footer-hashi{
|
||||||
|
@ -169,7 +190,7 @@
|
||||||
padding-top: 6px;
|
padding-top: 6px;
|
||||||
padding-bottom: 6px;
|
padding-bottom: 6px;
|
||||||
padding-left: 40px;
|
padding-left: 40px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -199,36 +220,65 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
|
||||||
|
#footer,
|
||||||
#header{
|
#header{
|
||||||
background: #694a9c; /* Old browsers */
|
.buttons.navbar-nav,
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-links.navbar-nav{
|
.main-links.navbar-nav{
|
||||||
|
display: block;
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
li{
|
li{
|
||||||
|
display: block;
|
||||||
|
float: none;
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
li + li a::before {
|
.li-under a::after,
|
||||||
|
li + li::before {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#header,
|
||||||
|
#footer{
|
||||||
|
.main-links.navbar-nav{
|
||||||
li > a {
|
li > a {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
line-height: 22px;
|
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 {
|
.navbar-brand {
|
||||||
&.logo{
|
&.logo{
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
//
|
//
|
||||||
// Home
|
// Home
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
|
body.page-home{
|
||||||
|
background-color: #f8f8f8;
|
||||||
|
}
|
||||||
|
|
||||||
#features{
|
#features{
|
||||||
.anti-alias();
|
.anti-alias();
|
||||||
|
@ -169,6 +172,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 480px) {
|
||||||
|
#features{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,9 @@
|
||||||
|
|
||||||
#jumbotron-mask{
|
#jumbotron-mask{
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
width: 100%;
|
||||||
height: @jumbotron-total-height;
|
height: @jumbotron-total-height;
|
||||||
margin-top: -92px;
|
margin-top: @negative-hero-margin;
|
||||||
}
|
}
|
||||||
|
|
||||||
#jumbotron {
|
#jumbotron {
|
||||||
|
@ -13,16 +14,9 @@
|
||||||
height: @jumbotron-total-height;
|
height: @jumbotron-total-height;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
margin-top: -92px;
|
margin-top: @negative-hero-margin;
|
||||||
color: @jumbotron-color;
|
color: @jumbotron-color;
|
||||||
background: #694a9c; /* Old browsers */
|
.consul-gradient-bg();
|
||||||
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 */
|
|
||||||
|
|
||||||
&.mobile-hero{
|
&.mobile-hero{
|
||||||
background: transparent url( ../images/node-hero-pattern.jpg ) center center;
|
background: transparent url( ../images/node-hero-pattern.jpg ) center center;
|
||||||
|
@ -37,7 +31,7 @@
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 632px;
|
height: 632px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: -92px;
|
margin-top: @negative-hero-margin;
|
||||||
background: transparent url('../images/hero-dots.png') center @header-height no-repeat;
|
background: transparent url('../images/hero-dots.png') center @header-height no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -69,14 +63,20 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
.jumbotron .container .jumbo-logo{
|
#jumbotron .container {
|
||||||
right: -150px;
|
h2{
|
||||||
|
text-align: center;
|
||||||
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 1200px) {
|
@media (max-width: 480px) {
|
||||||
.jumbotron .container .jumbo-logo{
|
#jumbotron .container {
|
||||||
right: -120px;
|
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;
|
text-rendering: optimizeLegibility;
|
||||||
-webkit-font-smoothing: antialiased;
|
-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;
|
@jumbotron-color: #fff;
|
||||||
@btn-border-radius: 4px;
|
@btn-border-radius: 4px;
|
||||||
@el-border-radius: 6px;
|
@el-border-radius: 6px;
|
||||||
|
@negative-hero-margin: -93px;
|
||||||
// colors
|
// colors
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
|
||||||
|
@ -28,7 +29,7 @@
|
||||||
@consul-gray: #909090;
|
@consul-gray: #909090;
|
||||||
@consul-footer-gray: #d7d4d7;
|
@consul-footer-gray: #d7d4d7;
|
||||||
@purple: #69499a;
|
@purple: #69499a;
|
||||||
|
@light-purple: #f7f3f9;
|
||||||
@btn-color: #4592C5;
|
@btn-color: #4592C5;
|
||||||
|
|
||||||
|
|
||||||
|
@ -47,7 +48,7 @@
|
||||||
@font-family-museo: 'museo-sans', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
@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-family-open-sans: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
@font-weight-museo-xl: 100;
|
@font-weight-museo-xl: 100;
|
||||||
@font-weight-museo-reg: 500;
|
@font-weight-museo-reg: 300;
|
||||||
@font-weight-museo-sb: 500;
|
@font-weight-museo-sb: 500;
|
||||||
@font-weight-museo-xb: 700;
|
@font-weight-museo-xb: 700;
|
||||||
@font-weight-open: @font-weight-museo-reg;
|
@font-weight-open: @font-weight-museo-reg;
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
}
|
}
|
||||||
.os {
|
.os {
|
||||||
font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-weight: 500;
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
/*html{
|
/*html{
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
|
@ -20,6 +20,8 @@
|
||||||
}*/
|
}*/
|
||||||
body {
|
body {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
|
color: #242424;
|
||||||
|
font-weight: 300;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 42px;
|
font-size: 42px;
|
||||||
|
@ -70,6 +72,24 @@ pre {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
padding-bottom: 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,
|
#footer,
|
||||||
#header {
|
#header {
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
@ -93,6 +113,7 @@ pre {
|
||||||
#footer .navbar-toggle,
|
#footer .navbar-toggle,
|
||||||
#header .navbar-toggle {
|
#header .navbar-toggle {
|
||||||
margin-top: 14px;
|
margin-top: 14px;
|
||||||
|
margin-bottom: 14px;
|
||||||
border: 2px solid #ffffff;
|
border: 2px solid #ffffff;
|
||||||
}
|
}
|
||||||
#footer .navbar-toggle .icon-bar,
|
#footer .navbar-toggle .icon-bar,
|
||||||
|
@ -144,9 +165,17 @@ pre {
|
||||||
#footer .nav > li > a:focus,
|
#footer .nav > li > a:focus,
|
||||||
#header .nav > li > a:focus {
|
#header .nav > li > a:focus {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
/*color: @p;
|
||||||
|
.transition( color 0.3s ease );*/
|
||||||
}
|
}
|
||||||
#footer .main-links.navbar-nav li + li a::before,
|
#footer .main-links.navbar-nav,
|
||||||
#header .main-links.navbar-nav li + li a::before {
|
#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: "";
|
content: "";
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
@ -159,8 +188,8 @@ pre {
|
||||||
padding-right: 15px;
|
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) {
|
@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,
|
#footer .main-links.navbar-nav li + li::before,
|
||||||
#header .main-links.navbar-nav li + li a::before {
|
#header .main-links.navbar-nav li + li::before {
|
||||||
background-image: url("../images/nav-dotpipes@2x.png");
|
background-image: url("../images/nav-dotpipes@2x.png");
|
||||||
background-size: 4px 23px;
|
background-size: 4px 23px;
|
||||||
}
|
}
|
||||||
|
@ -220,6 +249,9 @@ pre {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding-top: 155px;
|
padding-top: 155px;
|
||||||
}
|
}
|
||||||
|
#footer .main-links.navbar-nav .li-under a::after {
|
||||||
|
background-color: #69499a;
|
||||||
|
}
|
||||||
#footer .footer-hashi {
|
#footer .footer-hashi {
|
||||||
padding-top: 110px;
|
padding-top: 110px;
|
||||||
}
|
}
|
||||||
|
@ -275,6 +307,51 @@ pre {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: 768px) {
|
@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 {
|
#header {
|
||||||
background: #694a9c;
|
background: #694a9c;
|
||||||
/* Old browsers */
|
/* Old browsers */
|
||||||
|
@ -296,20 +373,6 @@ pre {
|
||||||
#header .navbar-right {
|
#header .navbar-right {
|
||||||
float: none !important;
|
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 {
|
#header .navbar-brand.logo span {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
@ -352,15 +415,16 @@ pre {
|
||||||
}
|
}
|
||||||
#jumbotron-mask {
|
#jumbotron-mask {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
width: 100%;
|
||||||
height: 542px;
|
height: 542px;
|
||||||
margin-top: -92px;
|
margin-top: -93px;
|
||||||
}
|
}
|
||||||
#jumbotron {
|
#jumbotron {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 542px;
|
height: 542px;
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
margin-top: -92px;
|
margin-top: -93px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
background: #694a9c;
|
background: #694a9c;
|
||||||
/* Old browsers */
|
/* Old browsers */
|
||||||
|
@ -390,7 +454,7 @@ pre {
|
||||||
left: 0;
|
left: 0;
|
||||||
height: 632px;
|
height: 632px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: -92px;
|
margin-top: -93px;
|
||||||
background: transparent url('../images/hero-dots.png') center 92px no-repeat;
|
background: transparent url('../images/hero-dots.png') center 92px no-repeat;
|
||||||
}
|
}
|
||||||
#jumbotron .container {
|
#jumbotron .container {
|
||||||
|
@ -415,14 +479,16 @@ pre {
|
||||||
letter-spacing: 1px;
|
letter-spacing: 1px;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
}
|
}
|
||||||
@media (min-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
.jumbotron .container .jumbo-logo {
|
#jumbotron .container h2 {
|
||||||
right: -150px;
|
text-align: center;
|
||||||
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (min-width: 1200px) {
|
@media (max-width: 480px) {
|
||||||
.jumbotron .container .jumbo-logo {
|
#jumbotron .container h2 {
|
||||||
right: -120px;
|
margin-top: 130px;
|
||||||
|
font-size: 32px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.outline-btn {
|
.outline-btn {
|
||||||
|
@ -447,6 +513,35 @@ pre {
|
||||||
.outline-btn:hover.purple {
|
.outline-btn:hover.purple {
|
||||||
background-color: rgba(255, 255, 255, 0.5);
|
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 {
|
#features {
|
||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
@ -600,6 +695,11 @@ pre {
|
||||||
height: 200px;
|
height: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-width: 480px) {
|
||||||
|
#features {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
.people {
|
.people {
|
||||||
margin-top: 30px;
|
margin-top: 30px;
|
||||||
}
|
}
|
||||||
|
@ -612,15 +712,42 @@ pre {
|
||||||
.people .person .bio {
|
.people .person .bio {
|
||||||
padding-left: 150px;
|
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 {
|
.docs-sidebar {
|
||||||
|
position: relative;
|
||||||
|
z-index: 20;
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
margin-right: 4%;
|
margin-right: 4%;
|
||||||
background-color: #f0f0e5;
|
background-color: #f7f3f9;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
.docs-sidebar a {
|
.docs-sidebar a {
|
||||||
color: #242424;
|
color: #69499a;
|
||||||
}
|
}
|
||||||
.docs-sidebar .docs-sidenav {
|
.docs-sidebar .docs-sidenav {
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
|
@ -633,44 +760,49 @@ pre {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.docs-sidebar .docs-sidenav li > a {
|
.docs-sidebar .docs-sidenav li > a {
|
||||||
|
color: #69499a;
|
||||||
-webkit-transition: color 0.5s ease;
|
-webkit-transition: color 0.5s ease;
|
||||||
transition: color 0.5s ease;
|
transition: color 0.5s ease;
|
||||||
}
|
}
|
||||||
.docs-sidebar .docs-sidenav li > a:hover,
|
.docs-sidebar .docs-sidenav li > a:hover,
|
||||||
.docs-sidebar .docs-sidenav li > a:focus {
|
.docs-sidebar .docs-sidenav li > a:focus {
|
||||||
background-color: transparent !important;
|
background-color: transparent !important;
|
||||||
color: #c5454e;
|
color: #242424;
|
||||||
-webkit-transition: color 0.5s ease;
|
-webkit-transition: color 0.5s ease;
|
||||||
transition: color 0.5s ease;
|
transition: color 0.5s ease;
|
||||||
}
|
}
|
||||||
.docs-sidebar .docs-sidenav > li {
|
.docs-sidebar .docs-sidenav > li {
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
margin: 0 30px;
|
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 {
|
.docs-sidebar .docs-sidenav > li.active:before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 8px;
|
width: 8px;
|
||||||
height: 8px;
|
height: 8px;
|
||||||
background-color: #dd4e58;
|
background-color: #69499a;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
top: 26px;
|
top: 26px;
|
||||||
left: -10px;
|
left: -10px;
|
||||||
}
|
}
|
||||||
.docs-sidebar .docs-sidenav > li.active > a {
|
.docs-sidebar .docs-sidenav > li.active > a {
|
||||||
font-weight: 700;
|
|
||||||
-webkit-font-smoothing: antialiased;
|
-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 {
|
.docs-sidebar .docs-sidenav > li.active .nav {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
.docs-sidebar .docs-sidenav > li.active .nav li.active a {
|
.docs-sidebar .docs-sidenav > li.active .nav li.active a {
|
||||||
color: #dd4e58;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
.docs-sidebar .docs-sidenav > li > a {
|
.docs-sidebar .docs-sidenav > li > a {
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
@ -706,7 +838,7 @@ pre {
|
||||||
.bs-docs-section .alert {
|
.bs-docs-section .alert {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
font-family: 'Source Sans Pro', "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
font-weight: 500;
|
font-weight: 300;
|
||||||
line-height: 1.5em;
|
line-height: 1.5em;
|
||||||
margin: 0 0 18px;
|
margin: 0 0 18px;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
|
@ -715,12 +847,14 @@ pre {
|
||||||
margin: 0 0 18px;
|
margin: 0 0 18px;
|
||||||
}
|
}
|
||||||
.bs-docs-section a {
|
.bs-docs-section a {
|
||||||
color: #b03c44;
|
color: #69499a;
|
||||||
}
|
}
|
||||||
.bs-docs-section a:hover {
|
.bs-docs-section a:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
.bs-docs-section h1 {
|
.bs-docs-section h1 {
|
||||||
|
color: #69499a;
|
||||||
|
text-transform: uppercase;
|
||||||
padding-bottom: 24px;
|
padding-bottom: 24px;
|
||||||
margin-top: 40px;
|
margin-top: 40px;
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
|
@ -734,6 +868,21 @@ pre {
|
||||||
.bs-docs-section #graph {
|
.bs-docs-section #graph {
|
||||||
margin-top: 30px;
|
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 {
|
.downloads {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue