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
06576b62
Commit
06576b62
authored
Aug 09, 2017
by
imac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Responsive]Page stories
parent
dbad73c7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
4 deletions
+49
-4
main.css
wp-content/themes/nap/assets/css/main.css
+8
-2
responsive.css
wp-content/themes/nap/assets/css/responsive.css
+38
-1
main.js
wp-content/themes/nap/assets/js/main.js
+3
-1
No files found.
wp-content/themes/nap/assets/css/main.css
View file @
06576b62
...
@@ -172,6 +172,7 @@ input[type=file] {
...
@@ -172,6 +172,7 @@ input[type=file] {
background
:
transparent
;
background
:
transparent
;
cursor
:
inherit
;
cursor
:
inherit
;
display
:
block
;
display
:
block
;
line-height
:
25px
;
}
}
::-webkit-input-placeholder
{
color
:
#232E7C
! important
;
font-size
:
11px
;
opacity
:
0.5
}
::-webkit-input-placeholder
{
color
:
#232E7C
! important
;
font-size
:
11px
;
opacity
:
0.5
}
::-moz-placeholder
{
color
:
#232E7C
!important
;
font-size
:
11px
;
opacity
:
0.5
}
::-moz-placeholder
{
color
:
#232E7C
!important
;
font-size
:
11px
;
opacity
:
0.5
}
...
@@ -1605,18 +1606,20 @@ label.chevron.bottom::first-letter {
...
@@ -1605,18 +1606,20 @@ label.chevron.bottom::first-letter {
#fullpage
.chevron
{
#fullpage
.chevron
{
position
:
fixed
;
position
:
fixed
;
bottom
:
10%
;
bottom
:
10%
;
left
:
50%
;
/*
left: 50%;
transform: translateX(-50%);
transform: translateX(-50%);
-ms-transform: translateX(-50%);
-ms-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-webkit-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-moz-transform: translateX(-50%);
-o-transform
:
translateX
(
-50%
);
-o-transform: translateX(-50%);
*/
background
:
#FF6A5F
;
background
:
#FF6A5F
;
width
:
57px
;
width
:
57px
;
height
:
57px
;
height
:
57px
;
border-radius
:
50%
;
border-radius
:
50%
;
cursor
:
pointer
;
cursor
:
pointer
;
z-index
:
999
;
z-index
:
999
;
right
:
0px
;
margin
:
0px
auto
;
}
}
#fullpage
.chevron.bottom
::after
{
#fullpage
.chevron.bottom
::after
{
color
:
#fff
;
color
:
#fff
;
...
@@ -2091,6 +2094,9 @@ label.chevron.bottom::first-letter {
...
@@ -2091,6 +2094,9 @@ label.chevron.bottom::first-letter {
.coord
{
.coord
{
margin-bottom
:
26px
;
margin-bottom
:
26px
;
}
}
.Fichier
{
display
:
block
;
}
/* --------------*/
/* ---------->>> Contact <<<-----------*/
/* --------------*/
/* --------------*/
/* ---------->>> Contact <<<-----------*/
/* --------------*/
.contact-wrapper
.left-panel
{
.contact-wrapper
.left-panel
{
width
:
36%
;
width
:
36%
;
...
...
wp-content/themes/nap/assets/css/responsive.css
View file @
06576b62
...
@@ -69,10 +69,13 @@
...
@@ -69,10 +69,13 @@
width
:
65%
;
width
:
65%
;
}
}
/*Uniqpaper*/
/*Uniqpaper*/
.form-wrapper
{
.form-wrapper
{
padding
:
80px
20px
20px
;
padding
:
80px
20px
20px
;
}
}
/* Stories */
.section
.bloc
{
max-width
:
75%
;
}
}
}
/* ------------------------*/
/* ---------->>> 1024 <<<-----------*/
/* ------------------------*/
/* ------------------------*/
/* ---------->>> 1024 <<<-----------*/
/* ------------------------*/
...
@@ -208,6 +211,40 @@
...
@@ -208,6 +211,40 @@
margin-top
:
6px
;
margin-top
:
6px
;
padding
:
20px
16px
;
padding
:
20px
16px
;
}
}
/* Stories */
.section
.bloc
{
max-height
:
65%
;
bottom
:
calc
(
30%
+
30px
);
}
.bloc
.desc-content
{
max-height
:
50vh
;
overflow
:
auto
;
}
.bloc
h2
{
font-size
:
30px
;
line-height
:
36px
;
}
.desc-content
p
,
.desc-content
h3
{
display
:
block
;
width
:
100%
;
}
.desc-content
h3
{
margin-bottom
:
15px
;
}
#fullpage
.chevron
{
left
:
0
!important
;
height
:
25px
;
width
:
25px
;
bottom
:
30px
;
}
.chevron
::after
{
height
:
5px
;
width
:
5px
;
}
#fullpage
.chevron.bottom
::after
{
margin-top
:
6px
;
}
/* form */
/* form */
.form-wrapper
{
.form-wrapper
{
padding
:
23px
20px
20px
;
padding
:
23px
20px
20px
;
...
...
wp-content/themes/nap/assets/js/main.js
View file @
06576b62
...
@@ -267,6 +267,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
...
@@ -267,6 +267,7 @@ $('.footer-home-content').on('click','.home-down:not(.scrolled)',function(e){
controlArrows
:
true
,
controlArrows
:
true
,
fitToSectionDelay
:
800000
,
fitToSectionDelay
:
800000
,
fadingEffect
:
true
,
fadingEffect
:
true
,
normalScrollElements
:
".section .bloc"
,
afterLoad
:
function
(
anchor
,
index
){
afterLoad
:
function
(
anchor
,
index
){
tl1
=
new
TimelineMax
();
tl1
=
new
TimelineMax
();
var
firstSection
=
$
(
"#fullpage .section.first"
);
var
firstSection
=
$
(
"#fullpage .section.first"
);
...
@@ -359,7 +360,8 @@ $.fn.getMenuBg = function(){
...
@@ -359,7 +360,8 @@ $.fn.getMenuBg = function(){
if
(
lastSectionHeight
<
windowHeight
-
footerHeight
)
if
(
lastSectionHeight
<
windowHeight
-
footerHeight
)
$
(
'#catalogue .panel-content section'
).
last
().
height
(
2
*
windowHeight
/
3
-
footerHeight
);
$
(
'#catalogue .panel-content section'
).
last
().
height
(
2
*
windowHeight
/
3
-
footerHeight
);
if
(
windowWidth
>
860
){
if
(
windowWidth
>
860
){
$
(
'.container-bg'
).
css
({
'height'
:
'100%'
});
$
(
'#fullpage .chevron'
).
css
(
'left'
,
navMenuWidth
);
$
(
'.container-bg'
).
css
({
'height'
:
'100%'
,
'width'
:
navMenuWidth
});
$
(
'.main'
).
css
(
'padding-top'
,
0
);
$
(
'.main'
).
css
(
'padding-top'
,
0
);
}
else
{
}
else
{
$
(
'.main'
).
css
(
'padding-top'
,
navHeight
);
$
(
'.main'
).
css
(
'padding-top'
,
navHeight
);
...
...
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