header {
background-color: #33485F;
color: #cccccc;
overflow: hidden;
}
.uppercase {
text-transform: uppercase;
}
.top-line {
overflow: hidden;
padding: 5px 0 20px;
}
.bottom-line {
border-top: 1px solid #ccc;
}
.navbar-default {
background-color: #33485F;
border: none;
}
.navbar-brand {
padding: 0;
}
.top-line span {
font-size: 14px;
padding: 1px 5px;
}
.top-line a span {
color: #cccccc;
}
.fix-br {
border-right: 1px solid #fff;
}
.top-line span i {
margin-right: 5px;
}
.top-line .top-address,
.top-line .account {
text-align: center;
}
.top-line .account span,
.top-line .top-address span {
display: inline-block;
}
.navbar-default .navbar-nav>li>a {
font-size: 16px;
cursor: pointer;
color: #cccccc;
font-family: 'Noto Sans', sans-serif;
}
.navbar-toggle {
padding: 8px 10px;
margin-top: 15px;
}
.navbar-default .navbar-toggle .icon-bar {
background-color: #fff;
}
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover {
color: #fff;
}
.top-address span:first-child i {
font-size: 18px;
}
.navbar {
margin-bottom: 15px;
}
.navbar-default .navbar-nav>li>a {
padding-top: 25px;
padding-bottom: 10px;
}
.navbar-default .navbar-collapse {
border: none;
box-shadow: none;
}
/**
* Created by Tom on 10/24/16.
*/
function showTabList(a){
if ($('#expandMobile').css('display') == 'none') {
$('.right-content').toggleClass('right-full');
if ($(a).children().attr('class') == 'fa fa-chevron-left') {
$(a).children().attr('class', 'fa fa-chevron-right');
} else{
$(a).children().attr('class', 'fa fa-chevron-left');
}
} else{
$('#expandMobile').children('i').attr('class','fa fa-chevron-left');
$('.right-content').css('margin-left','100%');
}
}
function showTabListMobile(b){
$(b).children('i').attr('class','fa fa-chevron-right');
$('.right-content').css('margin-left','0');
$('#controls-laptop').attr('class','fa fa-chevron-right');
}
var fixshowTerminalMobile = 1;
function showTerminalMobile(c) {
if (fixshowTerminalMobile%2 == 1){
$(c).find('i').attr('class', 'fa fa-chevron-left');
$('.folder').css('margin-left', '0');
}else {
$(c).find('i').attr('class', 'fa fa-chevron-right');
$('.folder').css('margin-left', '-50%');
}
fixshowTerminalMobile++;
}
$(document).ready(function() {
$('[data-toggle="tooltip"]').tooltip({
trigger: 'hover'
});
var width = $('.left-content').width();
var height = $('.left-content').height();
$('#myVideo').attr('width', width);
$('#myVideo').attr('height', height);
$(window).resize(function(){
var width = $('.left-content').width();
var height = $('.left-content').height();
$('#myVideo').attr('width', width);
$('#myVideo').attr('height', height);
var heightRightContent = height - $('.nav-tabs').height();
$('.right-content .tab-content').css('height', heightRightContent);
});
var heightCodeNow = $('.code-terminal').height();
$('.folder').css('height', heightCodeNow);
$('.fixHeightFolder').css('height', heightCodeNow);
$(window).resize(function(){
var heightCodeNow = $('.code-terminal').height();
$('.folder').css('height', heightCodeNow);
$('.fixHeightFolder').css('height', heightCodeNow);
});
var heightRightContent = height - $('.nav-tabs').height();
$('.right-content .tab-content').css('height', heightRightContent);
});