Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
diaspora
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gigadoc 2
diaspora
Commits
3210fb38
Commit
3210fb38
authored
Jul 22, 2015
by
Dennis Schubert
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6224 from svbergerem/sticky-footer
Sticky footer
parents
d6587469
37352b1b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
25 deletions
+22
-25
app/assets/images/branding/logos/powered_by_diaspora.png
app/assets/images/branding/logos/powered_by_diaspora.png
+0
-0
app/assets/stylesheets/footer.scss
app/assets/stylesheets/footer.scss
+17
-16
app/assets/stylesheets/mobile/mobile.scss
app/assets/stylesheets/mobile/mobile.scss
+1
-1
app/assets/stylesheets/new_styles/_base.scss
app/assets/stylesheets/new_styles/_base.scss
+0
-6
app/views/layouts/_footer.html.haml
app/views/layouts/_footer.html.haml
+4
-2
No files found.
app/assets/images/branding/logos/powered_by_diaspora.png
deleted
100644 → 0
View file @
d6587469
1.64 KB
app/assets/stylesheets/footer.scss
View file @
3210fb38
html
{
min-height
:
100%
;
position
:
relative
;
}
body
{
margin-bottom
:
150px
;
}
footer
{
footer
{
width
:
100%
;
background-color
:
$background-grey
;
left
:
0
;
border-top
:
1px
solid
$border-grey
;
bottom
:
0
;
bottom
:
0
;
color
:
$text-grey
;
max-height
:
130px
;
padding-top
:
15px
;
.container
{
padding-bottom
:
15px
;
width
:
95%
;
position
:
absolute
;
margin
:
4em
auto
0
auto
;
width
:
100%
;
padding
:
0
.5em
0
1em
0
;
border-top
:
1px
solid
$border-grey
;
}
.logos-powered_by_diaspora
{
.powered-by-diaspora
{
display
:
inline-block
;
color
:
$link-grey
;
margin-top
:
3px
;
font-weight
:
bold
;
height
:
11px
;
width
:
145px
;
}
}
ul
#footer_nav
{
ul
#footer_nav
{
margin
:
0
;
margin
:
0
;
padding
:
0
;
padding
:
0
;
display
:
inline-block
;
display
:
inline-block
;
float
:
right
;
>
li
{
>
li
{
display
:
inline
;
display
:
inline
;
...
...
app/assets/stylesheets/mobile/mobile.scss
View file @
3210fb38
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
@import
'entypo'
;
@import
'entypo'
;
@import
'icons'
;
@import
'icons'
;
@import
"header"
;
@import
"
mobile/
header"
;
@import
"mobile/tags"
;
@import
"mobile/tags"
;
@import
"mobile/conversations"
;
@import
"mobile/conversations"
;
@import
"mobile/settings"
;
@import
"mobile/settings"
;
...
...
app/assets/stylesheets/new_styles/_base.scss
View file @
3210fb38
html
,
body
{
/* hack to ensure fixed elements at height: 100%; are in relation to the window */
max-height
:
100%
;
}
body
{
body
{
margin-top
:
50px
;
margin-top
:
50px
;
padding
:
none
;
padding
:
none
;
...
...
app/views/layouts/_footer.html.haml
View file @
3210fb38
%footer
%footer
.container
.container
.logos-powered_by_diaspora
.pull-left
%ul
#footer_nav
.powered-by-diaspora
powered by diaspora*
%ul
#footer_nav
.pull-right
=
render
:partial
=>
'shared/links'
=
render
:partial
=>
'shared/links'
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