Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
NAP-wordpress
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Marwa Sfari
NAP-wordpress
Commits
9d85f2b0
Commit
9d85f2b0
authored
Aug 22, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix]Redmine - #639 : flash rollover home page
parent
75cf8b94
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
5 deletions
+21
-5
main.css
wp-content/themes/nap/assets/css/main.css
+1
-2
responsive.css
wp-content/themes/nap/assets/css/responsive.css
+14
-1
main.js
wp-content/themes/nap/assets/js/main.js
+6
-2
No files found.
wp-content/themes/nap/assets/css/main.css
View file @
9d85f2b0
...
@@ -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
;
}
}
...
...
wp-content/themes/nap/assets/css/responsive.css
View file @
9d85f2b0
...
@@ -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
;
...
@@ -885,5 +892,11 @@
...
@@ -885,5 +892,11 @@
}
}
.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
wp-content/themes/nap/assets/js/main.js
View file @
9d85f2b0
...
@@ -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
){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment