Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
some-ori
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
John
some-ori
Commits
4fbb9b24
Commit
4fbb9b24
authored
Feb 07, 2017
by
John Punzalan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add FR
parent
7649bdbe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
7 deletions
+37
-7
someori.css
wp-content/themes/someori/library/css/someori.css
+14
-0
app.js
wp-content/themes/someori/library/js/app.js
+5
-0
someori.less
wp-content/themes/someori/library/less/someori.less
+17
-0
template-concept.php
wp-content/themes/someori/template-concept.php
+1
-7
No files found.
wp-content/themes/someori/library/css/someori.css
View file @
4fbb9b24
...
...
@@ -359,3 +359,17 @@ footer {
.info-block
a
:hover
{
color
:
#949494
!important
;
}
.concept-title
{
display
:
inline-block
;
padding-bottom
:
35px
;
}
.lang-sel
{
padding-left
:
10px
;
font-size
:
15px
;
}
.lang-sel
span
{
cursor
:
pointer
;
}
.lang-sel
.active
{
text-decoration
:
underline
;
}
wp-content/themes/someori/library/js/app.js
View file @
4fbb9b24
...
...
@@ -27,6 +27,11 @@
cssEase
:
'linear'
});
$
(
'.nav-lang'
).
click
(
function
(
e
)
{
$
(
'.nav-lang'
).
removeClass
(
'active'
);
$
(
this
).
addClass
(
'active'
);
});
$
(
'.nav-french'
).
click
(
function
()
{
$
(
'.js-slide'
).
slick
(
'slickGoTo'
,
0
);
});
...
...
wp-content/themes/someori/library/less/someori.less
View file @
4fbb9b24
...
...
@@ -168,4 +168,21 @@ footer {
color: #949494 !important;
}
}
}
.concept-title {
display: inline-block;
padding-bottom: 35px;
}
.lang-sel {
padding-left: 10px;
font-size: 15px;
span {
cursor: pointer;
}
.active {
text-decoration: underline;
}
}
\ No newline at end of file
wp-content/themes/someori/template-concept.php
View file @
4fbb9b24
...
...
@@ -17,24 +17,18 @@
<div
class=
"row-fluid right-block-text concept-rel"
style=
"height: calc(100vh - 109px);"
>
<div
class=
"row-fluid"
>
<h2
class=
"
some-page-title"
>
<?=
the_title
()
?>
</h2
>
<h2
class=
"
concept-title"
>
<?=
the_title
()
?>
</h2><span
class=
"lang-sel"
><span
class=
"nav-lang nav-french active"
>
FR
</span>
|
<span
class=
"nav-lang nav-english nav-active"
>
EN
</span></span
>
</div>
<div
class=
"js-slide"
>
<div>
<div
class=
"row-fluid"
>
<div
class=
"text-justify"
>
<?=
get_field
(
'left_column_text'
);
?>
</div>
</div>
<div
class=
"row-fluid nav-concept text-center"
>
<span
class=
"nav-lang nav-french nav-active"
>
Français
</span>
|
<span
class=
"nav-lang nav-english"
>
English
</span>
</div>
</div>
<div>
<div
class=
"row-fluid"
>
<div
class=
"text-justify translate-text"
>
<?=
get_field
(
'right_column_text'
);
?>
</div>
</div>
<div
class=
"row-fluid nav-concept text-center"
>
<span
class=
"nav-lang nav-french"
>
Français
</span>
|
<span
class=
"nav-lang nav-english nav-active"
>
English
</span>
</div>
</div>
</div>
</div>
...
...
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