Skip to content
Snippets Groups Projects
Commit 13c62cdb authored by Annabel Dunstone's avatar Annabel Dunstone
Browse files

Add svg icon color to btn-color mixin

parent 5aea280f
Branches
Tags
1 merge request!5276New fork icon!
Pipeline #
Loading
Loading
@@ -51,16 +51,13 @@
}
 
svg {
vertical-align: top;
position: relative;
top: 2px;
 
path {
fill: $white-light;
fill: $color;
}
 
use {
stroke: $white-light;
stroke: $color;
}
}
}
Loading
Loading
@@ -189,9 +186,10 @@
}
 
svg {
width: 16px;
height: auto;
vertical-align: middle;
height: 15px;
width: auto;
position: relative;
top: 2px;
}
}
 
Loading
Loading
Loading
Loading
@@ -129,6 +129,17 @@
color: $layout-link-gray;
}
 
svg {
path {
fill: $layout-link-gray;
}
use {
stroke: $layout-link-gray;
}
}
.fa-caret-down {
margin-left: 3px;
}
Loading
Loading
Loading
Loading
@@ -2,7 +2,7 @@
- if current_user && can?(current_user, :fork_project, @project)
- if current_user.already_forked?(@project) && current_user.manageable_namespaces.size < 2
= link_to namespace_project_path(current_user, current_user.fork_of(@project)), title: 'Go to your fork', class: 'btn has-tooltip' do
= icon('code-fork fw')
= custom_icon('icon_fork')
Fork
%div.count-with-arrow
%span.arrow
Loading
Loading
@@ -10,7 +10,7 @@
= @project.forks_count
- else
= link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork project", class: 'btn has-tooltip' do
= icon('code-fork fw')
= custom_icon('icon_fork')
Fork
%div.count-with-arrow
%span.arrow
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment