Commit 3ed2fce2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Style label-branch color

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent dab9835a
/** /**
* MR -> show: Automerge widget * MR -> show: Automerge widget
* *
*/ */
.automerge_widget { .automerge_widget {
...@@ -48,10 +48,10 @@ ...@@ -48,10 +48,10 @@
.label-branch { .label-branch {
@include border-radius(4px); @include border-radius(4px);
padding: 2px 4px; padding: 3px 4px;
border: none; border: none;
background: #555; background: $hover;
color: #fff; color: #333;
font-family: $monospace_font; font-family: $monospace_font;
font-weight: normal; font-weight: normal;
overflow: hidden; overflow: hidden;
......
...@@ -32,7 +32,9 @@ ...@@ -32,7 +32,9 @@
%span From %span From
- if @merge_request.for_fork? - if @merge_request.for_fork?
%strong.label-branch #{@merge_request.source_project_namespace}:#{@merge_request.source_branch} %strong.label-branch #{@merge_request.source_project_namespace}:#{@merge_request.source_branch}
%span into
%strong.label-branch #{@merge_request.target_project_namespace}:#{@merge_request.target_branch}
- else - else
%strong.label-branch #{@merge_request.source_branch} %strong.label-branch #{@merge_request.source_branch}
%span into %span into
%strong.label-branch #{@merge_request.target_branch} %strong.label-branch #{@merge_request.target_branch}
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