Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e8ed7fe4
Commit
e8ed7fe4
authored
May 15, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
5f7bfeb0
6bf5af2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
2 deletions
+19
-2
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+16
-0
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+3
-2
No files found.
app/assets/stylesheets/framework/header.scss
View file @
e8ed7fe4
...
...
@@ -472,6 +472,22 @@
background-color
:
$blue-500
;
}
}
.canary-badge
{
.badge
{
font-size
:
$gl-font-size-small
;
line-height
:
$gl-line-height
;
padding
:
0
$grid-size
;
}
&
:hover
{
text-decoration
:
none
;
.badge
{
text-decoration
:
none
;
}
}
}
}
@include
media-breakpoint-down
(
xs
)
{
...
...
app/views/layouts/header/_default.html.haml
View file @
e8ed7fe4
...
...
@@ -18,8 +18,9 @@
%span
.logo-text.d-none.d-lg-block.prepend-left-8
=
logo_text
-
if
Gitlab
.
com?
%span
.js-canary-badge.badge.badge-pill.green-badge.align-self-center
=
_
(
'Next'
)
=
link_to
'https://next.gitlab.com'
,
class:
'label-link js-canary-badge canary-badge bg-transparent'
,
target: :_blank
do
%span
.color-label.has-tooltip.badge.badge-pill.green-badge
=
_
(
'Next'
)
-
if
current_user
=
render
"layouts/nav/dashboard"
...
...
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