Commit 9d85f2b0 authored by imac's avatar imac

[Bugfix]Redmine - #639 : flash rollover home page

parent 75cf8b94
...@@ -920,7 +920,6 @@ VII/ Pages...............ALL pages ...@@ -920,7 +920,6 @@ VII/ Pages...............ALL pages
/* --------------*/ /* ---------->>> HOME <<<-----------*/ /* --------------*/ /* --------------*/ /* ---------->>> HOME <<<-----------*/ /* --------------*/
#home { #home {
background: rgba(7,17,48,0.5);
position: relative; position: relative;
height: 100%; height: 100%;
} }
...@@ -1342,7 +1341,6 @@ label.chevron.bottom::first-letter { ...@@ -1342,7 +1341,6 @@ label.chevron.bottom::first-letter {
} }
.pa_format ul li img { .pa_format ul li img {
vertical-align: top; vertical-align: top;
margin-top: -50px;
} }
.pa_format ul li:last-of-type{ .pa_format ul li:last-of-type{
...@@ -2302,6 +2300,7 @@ div.wpcf7-mail-sent-ok{ ...@@ -2302,6 +2300,7 @@ div.wpcf7-mail-sent-ok{
text-align: center; text-align: center;
} }
/* --------------*/ /* ---------->>> Woocommerce <<<-----------*/ /* --------------*/ /* --------------*/ /* ---------->>> Woocommerce <<<-----------*/ /* --------------*/
.woocommerce-info,
.woocommerce-product-gallery{ .woocommerce-product-gallery{
display: none !important; display: none !important;
} }
......
...@@ -189,6 +189,9 @@ ...@@ -189,6 +189,9 @@
.filter-btn .btn-container{ .filter-btn .btn-container{
width: 30px !important; width: 30px !important;
} }
#slides{
height: auto !important;
}
} }
@media screen and (max-width: 860px) { @media screen and (max-width: 860px) {
/* general */ /* general */
...@@ -732,6 +735,10 @@ ...@@ -732,6 +735,10 @@
.pa_format ul li img{ .pa_format ul li img{
margin-top: 0px; margin-top: 0px;
} }
.pa_format ul li {
max-width: 60px;
margin: 0 10px;
}
/* form */ /* form */
.form-wrapper{ .form-wrapper{
padding: 23px 20px 20px; padding: 23px 20px 20px;
...@@ -884,6 +891,12 @@ ...@@ -884,6 +891,12 @@
margin-bottom: 10px; margin-bottom: 10px;
} }
.slides-wrapper .gallery-content { .slides-wrapper .gallery-content {
max-width: 90%; max-width: 90%;
}
} }
/* (landscape) ----------- */
@media screen and (max-height : 500px) {
.news-btn {
top: 20px;
}
} }
\ No newline at end of file
...@@ -83,6 +83,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){ ...@@ -83,6 +83,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
$('.main').outerHeight(mainHeight + $('.footer-home-content').outerHeight()); $('.main').outerHeight(mainHeight + $('.footer-home-content').outerHeight());
$('.home-down-wrapper').css('top', - ($('.home-down-wrapper').outerHeight())); $('.home-down-wrapper').css('top', - ($('.home-down-wrapper').outerHeight()));
$('.home-down').css('top', -($('.home-down').outerHeight())); $('.home-down').css('top', -($('.home-down').outerHeight()));
//$('.home-down-wrapper').css('top','121px');
} }
//scroll to bottom //scroll to bottom
$('body').animate({ $('body').animate({
...@@ -90,10 +91,13 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){ ...@@ -90,10 +91,13 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
}, 1000,'swing'); }, 1000,'swing');
}).on('click','.scrolled',function(){ }).on('click','.scrolled',function(){
$(this).removeClass('scrolled'); $(this).removeClass('scrolled');
//$('.footer-home-content .nav-content').remove();
$("html, body").animate({ scrollTop: 0 }, "slow"); $("html, body").animate({ scrollTop: 0 }, "slow");
$('.footer-home-content').find('.nav-content').remove();
//$('.home-footer-nav .nav-wrapper').css('top','initial');
$('.home-down-wrapper').css('top','initial');
$('.main').height($(window).height() - $('.nav-header').outerHeight());
return false; return false;
}); });
//Get file name of uploaded file //Get file name of uploaded file
$('#file-p').on('change',function(e){ $('#file-p').on('change',function(e){
......
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