Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
cards
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Sergej Lopatin
cards
Commits
b35a0dfb
Commit
b35a0dfb
authored
Dec 12, 2018
by
Curtis Adam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make the info button bar sticky
parent
15458f12
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
12 deletions
+8
-12
impressum.html
imports/ui/impressum/impressum.html
+1
-1
impressum.js
imports/ui/impressum/impressum.js
+1
-1
impressum.scss
imports/ui/impressum/impressum.scss
+6
-10
No files found.
imports/ui/impressum/impressum.html
View file @
b35a0dfb
...
...
@@ -65,7 +65,7 @@
<template
name=
"contactNavigation"
>
<nav
id=
"
{{#if displayAsFooter}}contact-nav-footer{{else}}contact-nav{{/if}}"
class=
"nav nav-justified
"
>
<nav
id=
"
contact-nav"
class=
"nav nav-justified {{#if displayAsFooter}}position-sticky-bottom{{else}}position-sticky-top{{/if}}
"
>
{{#unless currentUser}}
{{#unless isActiveRoute 'home'}}
<li
class=
"sm-12 md-2 inactive {{#if displayAsFooter}}footer-info-navigation{{/if}}"
><a
...
...
imports/ui/impressum/impressum.js
View file @
b35a0dfb
...
...
@@ -35,7 +35,7 @@ Template.contact.onCreated(function () {
Template
.
contactNavigation
.
helpers
({
displayAsFooter
:
function
()
{
return
(
Route
.
isHome
()
||
Route
.
isFirstTimeVisit
(
)
||
Route
.
isMakingOf
());
return
(
Route
.
isHome
()
||
(
Route
.
isFirstTimeVisit
()
&&
Route
.
isDemo
()
)
||
Route
.
isMakingOf
());
}
});
...
...
imports/ui/impressum/impressum.scss
View file @
b35a0dfb
...
...
@@ -5,22 +5,18 @@
}
@media
(
min-width
:
768px
)
{
#contact-nav
,
#contact-nav-footer
{
#contact-nav
{
position
:
sticky
;
position
:
-
webkit-sticky
;
z-index
:
1000
;
}
#theme-wrapper
#contact-nav
{
top
:
40px
;
}
#theme-wrapper-no-nav-welcome
#contact-nav
{
top
:
15px
;
#contact-nav
{
top
:
0
;
}
#theme-wrapper
-no-nav
#contact-nav
,
#contact-nav-footer
{
top
:
0
;
#theme-wrapper
#contact-nav
{
top
:
40px
;
}
}
...
...
@@ -36,7 +32,7 @@
}
}
#contact-nav
a
,
#contact-nav-footer
a
{
#contact-nav
a
{
border-radius
:
0
;
margin-bottom
:
0
;
outline
:
none
;
...
...
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