Commit cb63d340 authored by Kirill Smelkov's avatar Kirill Smelkov Committed by iv

NXD Show "about" footer on every page

We show in small font size the same info that is shown on sign_in page:

    "GitLab Nexedi Edition", "About GitLab" and "About Nexedi"

This is good to have and hereby-introduced about-footer area will be
also used in the next patch for ICP too.

XXX placement of .about-footer to be near bottom is done not very
correctly.
parent 50f263bc
...@@ -101,6 +101,7 @@ ...@@ -101,6 +101,7 @@
} }
} }
// TODO adjust .page-with-sidebar .about-footer
@media (max-width: $screen-sm-max) { @media (max-width: $screen-sm-max) {
.issues-filters { .issues-filters {
.milestone-filter, .labels-filter { .milestone-filter, .labels-filter {
......
...@@ -25,7 +25,8 @@ ...@@ -25,7 +25,8 @@
.content-wrapper { .content-wrapper {
width: 100%; width: 100%;
transition: padding $sidebar-transition-duration; // XXX hack for .about-footer to be near bottom, if not enough content in .container-fluid
min-height: 85vh;
.container-fluid { .container-fluid {
background: #fff; background: #fff;
...@@ -39,16 +40,73 @@ ...@@ -39,16 +40,73 @@
} }
} }
.sidebar-user { .about-footer {
padding: 15px; text-align: center;
position: absolute; padding: 10px;
left: 0; padding-top: 14px; // increased: e.g. new_note form can overlap with only 10px top padding
bottom: 0; a {
width: $sidebar_width; margin-left: 3px;
overflow: hidden; margin-right: 3px;
font-size: 16px; }
line-height: 36px; font-size: small
transition: width $sidebar-transition-duration, padding $sidebar-transition-duration; }
.sidebar-wrapper {
.header-logo {
border-bottom: 1px solid transparent;
float: left;
height: $header-height;
width: $sidebar_width;
position: fixed;
z-index: 999;
overflow: hidden;
transition-duration: .3s;
a {
float: left;
height: $header-height;
width: 100%;
padding-left: 22px;
overflow: hidden;
outline: none;
transition-duration: .3s;
img {
width: 36px;
height: 36px;
}
#tanuki-logo, img {
float: left;
}
.gitlab-text-container {
width: 230px;
h3 {
width: 158px;
float: left;
margin: 0;
margin-left: 50px;
font-size: 19px;
line-height: 50px;
font-weight: normal;
}
}
}
&:hover {
background-color: #eee;
}
}
.sidebar-user {
padding: 7px 22px;
position: fixed;
bottom: 40px;
width: $sidebar_width;
overflow: hidden;
transition-duration: .3s;
@media (min-width: $sidebar-breakpoint) { @media (min-width: $sidebar-breakpoint) {
bottom: 50px; bottom: 50px;
......
...@@ -28,3 +28,9 @@ ...@@ -28,3 +28,9 @@
.content .content
.clearfix .clearfix
= yield = yield
.about-footer
= link_to "GitLab Nexedi Edition", "https://lab.nexedi.com/nexedi/slapos/blob/master/software/gitlab/software.cfg"
|
= link_to "About GitLab", "https://about.gitlab.com/"
|
= link_to "About Nexedi", "http://www.nexedi.com/"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment