Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Воронков Валерий
/
krystalvpn
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 19ea9703
authored
2023-04-24 19:46:56 +0300
by
xcoder
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Another small fix for translate Part2
1 parent
15d1fc91
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletions
index.js
lang.js
style.css
index.js
View file @
19ea970
...
@@ -263,6 +263,7 @@ function setOriented(position) {
...
@@ -263,6 +263,7 @@ function setOriented(position) {
const
main
=
document
.
querySelector
(
".main"
);
const
main
=
document
.
querySelector
(
".main"
);
const
header
=
document
.
querySelector
(
"header"
);
const
header
=
document
.
querySelector
(
"header"
);
const
mobile
С
rossWrapper
=
document
.
querySelector
(
".mobile-cross-wrapper"
);
const
mobile
С
rossWrapper
=
document
.
querySelector
(
".mobile-cross-wrapper"
);
const
cardBcgOne
=
document
.
querySelector
(
".card.bcg-one"
);
if
(
main
!=
null
)
{
if
(
main
!=
null
)
{
main
.
classList
.
add
(
"oriented"
);
main
.
classList
.
add
(
"oriented"
);
...
@@ -275,11 +276,16 @@ function setOriented(position) {
...
@@ -275,11 +276,16 @@ function setOriented(position) {
if
(
mobile
С
rossWrapper
!=
null
)
{
if
(
mobile
С
rossWrapper
!=
null
)
{
mobile
С
rossWrapper
.
classList
.
add
(
"oriented"
);
mobile
С
rossWrapper
.
classList
.
add
(
"oriented"
);
}
}
if
(
cardBcgOne
!=
null
)
{
cardBcgOne
.
classList
.
add
(
"oriented"
);
}
}
}
else
{
else
{
const
main
=
document
.
querySelector
(
".main"
);
const
main
=
document
.
querySelector
(
".main"
);
const
header
=
document
.
querySelector
(
"header"
);
const
header
=
document
.
querySelector
(
"header"
);
const
mobile
С
rossWrapper
=
document
.
querySelector
(
".mobile-cross-wrapper"
);
const
mobile
С
rossWrapper
=
document
.
querySelector
(
".mobile-cross-wrapper"
);
const
cardBcgOne
=
document
.
querySelector
(
".card.bcg-one"
);
if
(
main
!=
null
)
{
if
(
main
!=
null
)
{
main
.
classList
.
remove
(
"oriented"
);
main
.
classList
.
remove
(
"oriented"
);
...
@@ -292,6 +298,10 @@ function setOriented(position) {
...
@@ -292,6 +298,10 @@ function setOriented(position) {
if
(
mobile
С
rossWrapper
!=
null
)
{
if
(
mobile
С
rossWrapper
!=
null
)
{
mobile
С
rossWrapper
.
classList
.
remove
(
"oriented"
);
mobile
С
rossWrapper
.
classList
.
remove
(
"oriented"
);
}
}
if
(
cardBcgOne
!=
null
)
{
cardBcgOne
.
classList
.
remove
(
"oriented"
);
}
}
}
}
}
...
...
lang.js
View file @
19ea970
...
@@ -67,7 +67,7 @@ const langDict = {
...
@@ -67,7 +67,7 @@ const langDict = {
},
},
"vpn-service"
:
{
"vpn-service"
:
{
"ru"
:
"VPN-сервис"
,
"ru"
:
"VPN-сервис"
,
"en"
:
"VP-service"
,
"en"
:
"VP
N
-service"
,
},
},
"fast"
:
{
"fast"
:
{
"ru"
:
"быстрый и безопасный"
,
"ru"
:
"быстрый и безопасный"
,
...
...
style.css
View file @
19ea970
...
@@ -1069,6 +1069,10 @@ article.notation-one {
...
@@ -1069,6 +1069,10 @@ article.notation-one {
padding
:
14px
0
0
14px
;
padding
:
14px
0
0
14px
;
}
}
.main.oriented
>
.main-first
>
.card.bcg-one.oriented
{
display
:
none
;
}
.main.oriented
>
.main-first
>
.card.bcg-one
>
.card.descr
>
.descr-top
{
.main.oriented
>
.main-first
>
.card.bcg-one
>
.card.descr
>
.descr-top
{
padding
:
0px
0
8px
0
;
padding
:
0px
0
8px
0
;
}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment