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
0ffb4cbd
Commit
0ffb4cbd
authored
Aug 23, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Bugfix]FF : fadein image home
parent
6c46b2a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
4 deletions
+29
-4
main.css
wp-content/themes/nap/assets/css/main.css
+20
-0
main.js
wp-content/themes/nap/assets/js/main.js
+9
-4
No files found.
wp-content/themes/nap/assets/css/main.css
View file @
0ffb4cbd
...
@@ -217,6 +217,12 @@ select,option{
...
@@ -217,6 +217,12 @@ select,option{
background-size
:
11px
;
background-size
:
11px
;
padding-left
:
25px
;
padding-left
:
25px
;
}
}
.search_result
{
position
:
relative
;
display
:
block
;
top
:
80px
;
font-size
:
11px
;
}
/*==========================================================================
/*==========================================================================
II/ Helper..............Helper classes
II/ Helper..............Helper classes
========================================================================== */
========================================================================== */
...
@@ -282,6 +288,8 @@ II/ Helper..............Helper classes
...
@@ -282,6 +288,8 @@ II/ Helper..............Helper classes
-o-transition
:
all
.6s
ease-in-out
;
-o-transition
:
all
.6s
ease-in-out
;
-ms-transition
:
all
.6s
ease-in-out
;
-ms-transition
:
all
.6s
ease-in-out
;
transition
:
all
.6s
ease-in-out
;
transition
:
all
.6s
ease-in-out
;
}
}
.right-panel-wrapper.transition
{
.right-panel-wrapper.transition
{
-webkit-transition
:
all
1s
ease-in-out
;
-webkit-transition
:
all
1s
ease-in-out
;
...
@@ -290,6 +298,18 @@ II/ Helper..............Helper classes
...
@@ -290,6 +298,18 @@ II/ Helper..............Helper classes
-ms-transition
:
all
1s
ease-in-out
;
-ms-transition
:
all
1s
ease-in-out
;
transition
:
all
1s
ease-in-out
;
transition
:
all
1s
ease-in-out
;
}
}
.animate
{
-moz-animation
:
fadeIn
.6s
ease-in
;
-moz-animation-fill-mode
:
backwards
;
}
@-moz-keyframes
fadeIn
{
from
{
opacity
:
0.5
;}
to
{
opacity
:
1
;}
}
.btn
{
.btn
{
cursor
:
pointer
;
cursor
:
pointer
;
margin-bottom
:
5px
;
margin-bottom
:
5px
;
...
...
wp-content/themes/nap/assets/js/main.js
View file @
0ffb4cbd
...
@@ -167,12 +167,17 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
...
@@ -167,12 +167,17 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
{
{
srcImage
=
$
(
'#home .img-wrapper'
).
data
(
'defaultimg'
);
srcImage
=
$
(
'#home .img-wrapper'
).
data
(
'defaultimg'
);
}
}
$
(
'.img-wrapper'
).
removeClass
(
'animate'
);
$
(
'.img-wrapper'
).
stop
().
animate
({
$
(
'.img-wrapper'
).
stop
().
animate
({
opacity
:
1
,
opacity
:
0
,
},
500
,
function
()
{
},
500
,
function
()
{});
$
(
'.img-wrapper'
).
stop
().
animate
({
opacity
:
1
,
},
500
,
function
()
{
$
(
'.img-wrapper'
).
addClass
(
'animate'
);
$
(
'.img-wrapper'
).
css
({
$
(
'.img-wrapper'
).
css
({
'background-image'
:
"url("
+
srcImage
+
")"
'background-image'
:
"url("
+
srcImage
+
")"
,
})
})
;
});
});
}
}
$
.
fn
.
showSubmenu
=
function
(){
$
.
fn
.
showSubmenu
=
function
(){
...
...
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