Remove animations & fix navbar
This commit is contained in:
10
README.md
10
README.md
@@ -1 +1,9 @@
|
||||
# saburly-website2
|
||||
# Saburly Website
|
||||
|
||||
## TODO:
|
||||
|
||||
Mobile:
|
||||
|
||||
[ ] - Our work slider not working
|
||||
[ ] - More precise menu button
|
||||
[ ] - Remove landing animation on mobile
|
||||
@@ -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;
|
||||
@@ -459,11 +462,11 @@ footer ul li a:hover{
|
||||
|
||||
body.second .navbar
|
||||
{
|
||||
background: #656bfd !important;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 999;
|
||||
transition: all 0.3s ease-in-out;
|
||||
background: #656bfd !important;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
z-index: 999;
|
||||
/*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;
|
||||
}
|
||||
|
||||
@@ -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">
|
||||
|
||||
30
js/custom.js
30
js/custom.js
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user