Commit 3428a3c9 authored by Clint Mourlevat's avatar Clint Mourlevat

Fixed header responsive

parent a044ac83
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ViewBag.Title = "About Stratis.guru"; ViewBag.Title = "About Stratis.guru";
Layout = "_Layout"; Layout = "_Layout";
} }
<section class="welcome-area" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<div class="header-token"> <div class="header-token">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
ViewBag.Title = "Contact Me"; ViewBag.Title = "Contact Me";
Layout = "_Layout"; Layout = "_Layout";
} }
<section class="welcome-area" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<div class="header-token"> <div class="header-token">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
ViewBag.Title = "Stratis Address Generator"; ViewBag.Title = "Stratis Address Generator";
Layout = "_Layout"; Layout = "_Layout";
} }
<section class="welcome-area" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<div class="header-token pt-5"> <div class="header-token pt-5">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
@{ @{
ViewBag.Title = "Online Stratis ($STRAT) price ticker"; ViewBag.Title = "Online Stratis ($STRAT) price ticker";
} }
<section class="welcome-area" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<div class="header-token"> <div class="header-token">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
ViewBag.Title = "Vanity Address Generator"; ViewBag.Title = "Vanity Address Generator";
Layout = "_Layout"; Layout = "_Layout";
} }
<section class="welcome-area" id="welcome-1"> <section class="welcome-area pb-4" id="welcome-1">
<form class="header-token" method="post" asp-controller="Home" asp-action="Vanity"> <form class="header-token" method="post" asp-controller="Home" asp-action="Vanity">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
......
...@@ -1260,13 +1260,7 @@ header ...@@ -1260,13 +1260,7 @@ header
transition: all 0.3s ease 0s; transition: all 0.3s ease 0s;
} }
.header-area.header-sticky { /*.header-area.header-sticky .logo {
background: #fff;
height: 80px;
box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
}
.header-area.header-sticky .logo {
margin-top: 26px; margin-top: 26px;
} }
...@@ -1306,7 +1300,7 @@ header ...@@ -1306,7 +1300,7 @@ header
.header-area.header-sticky .nav li a.btn-nav-box:hover { .header-area.header-sticky .nav li a.btn-nav-box:hover {
background: none; background: none;
color: #0EB8D9; color: #0EB8D9;
} }*/
.header-area.header-sticky .lang { .header-area.header-sticky .lang {
margin-top: 22px !important; margin-top: 22px !important;
...@@ -1330,15 +1324,20 @@ header ...@@ -1330,15 +1324,20 @@ header
@media (max-width: 991px) { @media (max-width: 991px) {
.welcome-area { .welcome-area {
/*min-height: calc(100vh - 90px) !important;*/
}
.header-area.header-sticky {
background: rgb(33, 37, 41);
height: 80px;
box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.6);
} }
#crafted #crafted
{ {
height: 80px; height: 80px;
position: fixed; position: relative;
background: #1b1d20; background: #1b1d20;
padding: 10px 0 15px; padding: 10px 0 15px;
margin-top: 10px;
} }
.header-area { .header-area {
background: transparent; background: transparent;
......
...@@ -8,16 +8,16 @@ ...@@ -8,16 +8,16 @@
_0x2f2ex1(this)['toggleClass']('active'); _0x2f2ex1(this)['toggleClass']('active');
_0x2f2ex1('.header-area .nav')['slideToggle'](200) _0x2f2ex1('.header-area .nav')['slideToggle'](200)
}) })
}; }
_0x2f2ex1('body')['click'](function(_0x2f2ex4) { _0x2f2ex1('body')['click'](function(_0x2f2ex4) {
var _0x2f2ex5 = _0x2f2ex4['target']; var _0x2f2ex5 = _0x2f2ex4['target'];
if (_0x2f2ex1(_0x2f2ex5)['parents']('.flag-list')['length'] || _0x2f2ex1(_0x2f2ex5)['hasClass']('flag-list')) { if (_0x2f2ex1(_0x2f2ex5)['parents']('.flag-list')['length'] || _0x2f2ex1(_0x2f2ex5)['hasClass']('flag-list')) {
return return
}; }
if (_0x2f2ex1('.flag-list')['css']('display') === 'block') { if (_0x2f2ex1('.flag-list')['css']('display') === 'block') {
_0x2f2ex1('.flag-list')['css']('display', 'none'); _0x2f2ex1('.flag-list')['css']('display', 'none');
return return
}; }
if (_0x2f2ex1(_0x2f2ex5)['hasClass']('selected') || _0x2f2ex1(_0x2f2ex5)['parents']('.selected')['length']) { if (_0x2f2ex1(_0x2f2ex5)['hasClass']('selected') || _0x2f2ex1(_0x2f2ex5)['parents']('.selected')['length']) {
_0x2f2ex1('.flag-list')['css']('display', 'block') _0x2f2ex1('.flag-list')['css']('display', 'block')
} }
...@@ -27,14 +27,14 @@ ...@@ -27,14 +27,14 @@
date: '09/29/2018 12:00:00', date: '09/29/2018 12:00:00',
offset: +10 offset: +10
}) })
}; }
if (_0x2f2ex1('.token .token-input')['length']) { if (_0x2f2ex1('.token .token-input')['length']) {
_0x2f2ex1('.token .token-input .fa-plus')['click'](function() { _0x2f2ex1('.token .token-input .fa-plus')['click'](function() {
var _0x2f2ex6 = _0x2f2ex1(this)['parent']()['find']('input')['val'](); var _0x2f2ex6 = _0x2f2ex1(this)['parent']()['find']('input')['val']();
var _0x2f2ex7 = _0x2f2ex1(this)['parent']()['find']('input')['data']('step'); var _0x2f2ex7 = _0x2f2ex1(this)['parent']()['find']('input')['data']('step');
if (_0x2f2ex6 == '') { if (_0x2f2ex6 == '') {
_0x2f2ex6 = 0 _0x2f2ex6 = 0
}; }
var _0x2f2ex8 = parseInt(_0x2f2ex6, 10) + parseInt(_0x2f2ex7, 10); var _0x2f2ex8 = parseInt(_0x2f2ex6, 10) + parseInt(_0x2f2ex7, 10);
_0x2f2ex1(this)['parent']()['find']('input')['val'](_0x2f2ex8) _0x2f2ex1(this)['parent']()['find']('input')['val'](_0x2f2ex8)
}); });
...@@ -43,14 +43,14 @@ ...@@ -43,14 +43,14 @@
var _0x2f2ex7 = _0x2f2ex1(this)['parent']()['find']('input')['data']('step'); var _0x2f2ex7 = _0x2f2ex1(this)['parent']()['find']('input')['data']('step');
if (_0x2f2ex6 == '') { if (_0x2f2ex6 == '') {
_0x2f2ex6 = 0 _0x2f2ex6 = 0
}; }
var _0x2f2ex8 = parseInt(_0x2f2ex6, 10) - parseInt(_0x2f2ex7, 10); var _0x2f2ex8 = parseInt(_0x2f2ex6, 10) - parseInt(_0x2f2ex7, 10);
if (_0x2f2ex8 <= 0) { if (_0x2f2ex8 <= 0) {
_0x2f2ex8 = _0x2f2ex7 _0x2f2ex8 = _0x2f2ex7
}; }
_0x2f2ex1(this)['parent']()['find']('input')['val'](_0x2f2ex8) _0x2f2ex1(this)['parent']()['find']('input')['val'](_0x2f2ex8)
}) })
}; }
window['sr'] = new scrollReveal(); window['sr'] = new scrollReveal();
_0x2f2ex1('a[href*=\#]:not([href=\#])')['click'](function() { _0x2f2ex1('a[href*=\#]:not([href=\#])')['click'](function() {
if (location['pathname']['replace'](/^\//, '') == this['pathname']['replace'](/^\//, '') && location['hostname'] == this['hostname']) { if (location['pathname']['replace'](/^\//, '') == this['pathname']['replace'](/^\//, '') && location['hostname'] == this['hostname']) {
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
if (_0x2f2exa < 991) { if (_0x2f2exa < 991) {
_0x2f2ex1('.menu-trigger')['removeClass']('active'); _0x2f2ex1('.menu-trigger')['removeClass']('active');
_0x2f2ex1('.header-area .nav')['slideUp'](200) _0x2f2ex1('.header-area .nav')['slideUp'](200)
}; }
_0x2f2ex1('html,body')['animate']({ _0x2f2ex1('html,body')['animate']({
scrollTop: (_0x2f2ex9['offset']()['top']) - 30 scrollTop: (_0x2f2ex9['offset']()['top']) - 30
}, 700); }, 700);
...@@ -75,12 +75,12 @@ ...@@ -75,12 +75,12 @@
}); });
var _0x2f2exc = _0x2f2ex1('.token-progress ul .progress-active')['data']('progress'); var _0x2f2exc = _0x2f2ex1('.token-progress ul .progress-active')['data']('progress');
_0x2f2ex1('.token-progress ul .progress-active')['css']('width', _0x2f2exc) _0x2f2ex1('.token-progress ul .progress-active')['css']('width', _0x2f2exc)
}; }
if (_0x2f2ex1('.table-progress')['length']) { if (_0x2f2ex1('.table-progress')['length']) {
_0x2f2ex1('.table-latests')['find']('.table-progress')['each'](function(_0x2f2exb) { _0x2f2ex1('.table-latests')['find']('.table-progress')['each'](function(_0x2f2exb) {
_0x2f2ex1('.table-progress:eq(' + [_0x2f2exb] + ') .progress-line')['css']('width', parseInt(_0x2f2ex1('.table-progress:eq(' + [_0x2f2exb] + ') .progress-line')['data']('value'), 10) + parseInt(70, 10) + '%') _0x2f2ex1('.table-progress:eq(' + [_0x2f2exb] + ') .progress-line')['css']('width', parseInt(_0x2f2ex1('.table-progress:eq(' + [_0x2f2exb] + ') .progress-line')['data']('value'), 10) + parseInt(70, 10) + '%')
}) })
}; }
if (_0x2f2ex1('.roadmap-modern-wrapper')['length']) { if (_0x2f2ex1('.roadmap-modern-wrapper')['length']) {
_0x2f2ex1('.roadmap-modern-wrapper')['owlCarousel']({ _0x2f2ex1('.roadmap-modern-wrapper')['owlCarousel']({
loop: true, loop: true,
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
} }
} }
}) })
}; }
if (_0x2f2ex1('.roadmap-lux-wrapper')['length']) { if (_0x2f2ex1('.roadmap-lux-wrapper')['length']) {
_0x2f2ex1('.roadmap-lux-wrapper')['owlCarousel']({ _0x2f2ex1('.roadmap-lux-wrapper')['owlCarousel']({
loop: true, loop: true,
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
}); });
_0x2f2ex1(window)['scroll'](function() { _0x2f2ex1(window)['scroll'](function() {
var _0x2f2exa = _0x2f2ex1(window)['width'](); var _0x2f2exa = _0x2f2ex1(window)['width']();
if (_0x2f2exa > 991) { if (_0x2f2exa < 991) {
var _0x2f2exd = _0x2f2ex1(window)['scrollTop'](); var _0x2f2exd = _0x2f2ex1(window)['scrollTop']();
if (_0x2f2exd >= 30) { if (_0x2f2exd >= 30) {
_0x2f2ex1('.header-area')['addClass']('header-sticky'); _0x2f2ex1('.header-area')['addClass']('header-sticky');
...@@ -164,4 +164,4 @@ ...@@ -164,4 +164,4 @@
particlesJS('home', welcome1Settings) particlesJS('home', welcome1Settings)
}*/ }*/
} }
})(jQuery) })(jQuery);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment