Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
generator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
ok1kvk.cz
generator
Commits
230d31b8
There was a problem fetching the pipeline summary.
Verified
Commit
230d31b8
authored
8 years ago
by
Isabella Skořepová
Browse files
Options
Downloads
Patches
Plain Diff
Fix submenus not showing
parent
5d04608f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
theme/sass/style.scss
+1
-1
1 addition, 1 deletion
theme/sass/style.scss
theme/templates/partials/base.html.nunj
+17
-6
17 additions, 6 deletions
theme/templates/partials/base.html.nunj
with
18 additions
and
7 deletions
theme/sass/style.scss
+
1
−
1
View file @
230d31b8
...
...
@@ -144,7 +144,7 @@ nav.subnav {
height
:
40px
;
position
:
absolute
;
}
.show-subnav1
nav
.subnav1
,
.show-subnav2
nav
.subnav2
{
.show-subnav1
nav
.subnav1
,
.show-subnav2
nav
.subnav2
,
.show-subnav3
nav
.subnav3
{
transition
:
0
.3s
;
margin-top
:
64px
;
z-index
:
4
;
...
...
This diff is collapsed.
Click to expand it.
theme/templates/partials/base.html.nunj
+
17
−
6
View file @
230d31b8
...
...
@@ -58,7 +58,7 @@
<a
class=
"hide-on-small-only left"
id=
"o-nas"
>
O nás
</a>
<a
class=
"hide-on-small-only left"
id=
"
o-nas
"
>
<a
class=
"hide-on-small-only left"
id=
"
aktuality
"
>
Aktuality
</a>
<a
class=
"hide-on-small-only left"
id=
"clanky"
>
...
...
@@ -76,19 +76,30 @@
$
(
"
#o-nas
"
).
click
(
function
()
{
var
body
=
$
(
"
body
"
);
body
.
removeClass
(
"
show-subnav2
"
);
body
.
removeClass
(
"
show-subnav3
"
);
if
(
body
.
hasClass
(
"
show-subnav1
"
))
body
.
removeClass
(
"
show-subnav1
"
);
else
body
.
addClass
(
"
show-subnav1
"
)
body
.
addClass
(
"
show-subnav1
"
)
;
});
$
(
"
#
clank
y
"
).
click
(
function
()
{
$
(
"
#
aktualit
y
"
).
click
(
function
()
{
var
body
=
$
(
"
body
"
);
body
.
removeClass
(
"
show-subnav1
"
);
body
.
removeClass
(
"
show-subnav3
"
);
if
(
body
.
hasClass
(
"
show-subnav2
"
))
body
.
removeClass
(
"
show-subnav2
"
);
else
body
.
addClass
(
"
show-subnav2
"
)
body
.
addClass
(
"
show-subnav2
"
)
;
});
$
(
"
#clanky
"
).
click
(
function
()
{
var
body
=
$
(
"
body
"
);
body
.
removeClass
(
"
show-subnav1
"
);
body
.
removeClass
(
"
show-subnav2
"
);
if
(
body
.
hasClass
(
"
show-subnav3
"
))
body
.
removeClass
(
"
show-subnav3
"
);
else
body
.
addClass
(
"
show-subnav3
"
);
})
$
(
"
body
"
).
click
(
function
(
e
)
{
if
(
!
(
$
(
e
.
target
).
parents
(
"
a
"
).
length
||
$
(
e
.
target
).
is
(
"
a
"
)))
{
$
(
"
body
"
).
removeClass
(
"
show-subnav2
"
).
removeClass
(
"
show-subnav1
"
);
...
...
@@ -141,7 +152,7 @@
</div>
</nav>
<!-- Lower nav 2 - Aktuality -->
<nav
class=
"subnav subnav
1
hide-on-small-and-down"
role=
"navigation"
>
<nav
class=
"subnav subnav
2
hide-on-small-and-down"
role=
"navigation"
>
<div
class=
"nav-wrapper container"
>
<ul
class=
"right"
>
<li><a
href=
"{{ config.baseurl }}/tag/aktuality"
>
Všechny aktuality
</a></li>
...
...
@@ -152,7 +163,7 @@
</div>
</nav>
<!-- Lower nav 3 - Články -->
<nav
class=
"subnav subnav
2
hide-on-small-and-down"
role=
"navigation"
>
<nav
class=
"subnav subnav
3
hide-on-small-and-down"
role=
"navigation"
>
<div
class=
"nav-wrapper container"
>
<ul
class=
"right"
>
<li><a
href=
"{{ config.baseurl }}/tag/clanky"
>
Všechny články
</a></li>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment