Commit 63b2e6c4 authored by Martin Wortschack's avatar Martin Wortschack

Merge branch '225924-fa-pause-replacement' into 'master'

Replace fa-pause with pause svg

Closes #225924

See merge request gitlab-org/gitlab!37149
parents 4410fc47 8bd5fd16
...@@ -44,10 +44,6 @@ ...@@ -44,10 +44,6 @@
.btn-default { .btn-default {
color: $gl-text-color-secondary; color: $gl-text-color-secondary;
} }
.fa-pause {
font-size: 11px;
}
} }
@include media-breakpoint-down(md) { @include media-breakpoint-down(md) {
......
...@@ -69,10 +69,10 @@ ...@@ -69,10 +69,10 @@
= sprite_icon('pencil', size: 16) = sprite_icon('pencil', size: 16)
.btn-group .btn-group
- if runner.active? - if runner.active?
= link_to [:pause, :admin, runner], method: :get, class: 'btn btn-default has-tooltip', title: _('Pause'), ref: 'tooltip', aria: { label: _('Pause') }, data: { placement: 'top', container: 'body', confirm: _('Are you sure?') } do = link_to [:pause, :admin, runner], method: :get, class: 'btn btn-default btn-svg has-tooltip', title: _('Pause'), ref: 'tooltip', aria: { label: _('Pause') }, data: { placement: 'top', container: 'body', confirm: _('Are you sure?') } do
= icon('pause') = sprite_icon('pause')
- else - else
= link_to [:resume, :admin, runner], method: :get, class: 'btn btn-default has-tooltip gl-px-3', title: _('Resume'), ref: 'tooltip', aria: { label: _('Resume') }, data: { placement: 'top', container: 'body'} do = link_to [:resume, :admin, runner], method: :get, class: 'btn btn-default btn-svg has-tooltip gl-px-3', title: _('Resume'), ref: 'tooltip', aria: { label: _('Resume') }, data: { placement: 'top', container: 'body'} do
= sprite_icon('play') = sprite_icon('play')
.btn-group .btn-group
= link_to [:admin, runner], method: :delete, class: 'btn btn-danger has-tooltip', title: _('Remove'), ref: 'tooltip', aria: { label: _('Remove') }, data: { placement: 'top', container: 'body', confirm: _('Are you sure?') } do = link_to [:admin, runner], method: :delete, class: 'btn btn-danger has-tooltip', title: _('Remove'), ref: 'tooltip', aria: { label: _('Remove') }, data: { placement: 'top', container: 'body', confirm: _('Are you sure?') } do
......
---
title: Replace fa-pause with pause svg
merge_request: 37149
author:
type: other
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