Change retry button color
This commit is contained in:
parent
7c977e10d2
commit
19b3686242
|
@ -57,10 +57,14 @@
|
|||
min-height: 58px;
|
||||
align-items: center;
|
||||
|
||||
.btn-inverted {
|
||||
@include btn-outline($white-light, $blue-normal, $blue-normal, $blue-light, $white-light, $blue-light);
|
||||
}
|
||||
|
||||
@media (max-width: $screen-sm-max) {
|
||||
padding-right: 40px;
|
||||
|
||||
.btn-primary {
|
||||
.btn-inverted {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
= render "user"
|
||||
= time_ago_with_tooltip(@build.created_at)
|
||||
- if can?(current_user, :update_build, @build) && @build.retryable?
|
||||
= link_to "Retry build", retry_namespace_project_build_path(@project.namespace, @project, @build), class: 'btn btn-primary pull-right', method: :post
|
||||
= link_to "Retry build", retry_namespace_project_build_path(@project.namespace, @project, @build), class: 'btn btn-inverted pull-right', method: :post
|
||||
%button.btn.btn-default.pull-right.visible-xs-block.visible-sm-block.build-gutter-toggle.js-sidebar-build-toggle{ role: "button", type: "button" }
|
||||
= icon('angle-double-left')
|
||||
|
|
Loading…
Reference in New Issue