Remove animations & fix navbar

This commit is contained in:
Edin Dazdarevic
2017-10-04 22:11:54 +02:00
parent e354412768
commit b84bae2ba3
4 changed files with 41 additions and 25 deletions

View File

@@ -1 +1,9 @@
# saburly-website2
# Saburly Website
## TODO:
Mobile:
[ ] - Our work slider not working
[ ] - More precise menu button
[ ] - Remove landing animation on mobile

View File

@@ -206,8 +206,11 @@ ul,p{
}
/*-----------------------------What we do-----------------------*/
.what-we-do{
padding: 150px 0;
padding: 230px 0;
position: relative;
top: -80px;
}
.med-title{
margin: 0;
color: #26245F;
@@ -463,7 +466,7 @@ background: #656bfd !important;
position: fixed;
width: 100%;
z-index: 999;
transition: all 0.3s ease-in-out;
/*transition: all 0.3s ease-in-out;*/
}
.owl-page.active{
height: 8px !important;
@@ -804,6 +807,13 @@ footer .back-to-top{
.what-we-do,.how-we-work {
padding: 50px 0;
}
.what-we-do {
padding: 100px 0;
position: relative;
top: -60px;
}
.navbar-default {
padding: 5px 0;
}

View File

@@ -29,7 +29,7 @@
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top" data-spy="affix" data-offset-top="900">
<nav class="navbar navbar-default navbar-fixed-top" data-spy="affix">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">

View File

@@ -79,22 +79,22 @@ $('a.back-to-top').click(function() {
//appear animedted...............
$('.animated').appear(function() {
var elem = $(this);
var animation = elem.data('animation');
if (!elem.hasClass('visible')) {
var animationDelay = elem.data('animation-delay');
if (animationDelay) {
// $('.animated').appear(function() {
// var elem = $(this);
// var animation = elem.data('animation');
// if (!elem.hasClass('visible')) {
// var animationDelay = elem.data('animation-delay');
// if (animationDelay) {
setTimeout(function() {
elem.addClass(animation + " visible");
}, animationDelay);
// setTimeout(function() {
// elem.addClass(animation + " visible");
// }, animationDelay);
} else {
elem.addClass(animation + " visible");
}
}
});
// } else {
// elem.addClass(animation + " visible");
// }
// }
// });
//end appear animedted...............
$(document).ready(function() {
@@ -168,8 +168,6 @@ $(document).ready(function() {
var fadeStart = 900;
var fadeUntil = 1300;
$(window).scroll(function() {
var offset = $(document).scrollTop();