Commit e52f0721 authored by Marcel van Remmerden's avatar Marcel van Remmerden

Add badge link and adapt visual style to badges

parent cf5c8e73
...@@ -85,6 +85,21 @@ ...@@ -85,6 +85,21 @@
padding: 2px 8px; padding: 2px 8px;
margin: 5px 2px 5px -8px; margin: 5px 2px 5px -8px;
border-radius: $border-radius-default; border-radius: $border-radius-default;
&.js-canary-badge {
padding: 0;
font-size: 12px;
border-radius: 100px;
margin-top: 6px;
&:hover, &:active, &:focus {
background-color: #1aaa55;
}
span {
line-height: 15px;
&:hover {
text-decoration: none;
}
}
}
} }
.project-item-select { .project-item-select {
......
...@@ -17,8 +17,9 @@ ...@@ -17,8 +17,9 @@
- if logo_text.present? - if logo_text.present?
%span.logo-text.d-none.d-lg-block.prepend-left-8 %span.logo-text.d-none.d-lg-block.prepend-left-8
= logo_text = logo_text
%span.js-canary-badge.badge.badge-pill.green-badge.align-self-center = link_to 'https://next.gitlab.com', class: 'label-link js-canary-badge badge badge-pill green-badge align-self-center', target: :_blank do
= _('Next') %span.badge.color-label.has-tooltip
= _('Next')
- if current_user - if current_user
= render "layouts/nav/dashboard" = render "layouts/nav/dashboard"
......
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