Commit 1c015eda authored by Tim Zallmann's avatar Tim Zallmann

Fixed different sizes

parent 5c8a614c
...@@ -122,6 +122,10 @@ export default { ...@@ -122,6 +122,10 @@ export default {
triggerButtonClass() { triggerButtonClass() {
return `ci-status-icon-${this.stage.status.group}`; return `ci-status-icon-${this.stage.status.group}`;
}, },
borderlessIcon() {
return `${this.stage.status.icon}_borderless`;
}
}, },
}; };
</script> </script>
...@@ -145,7 +149,7 @@ export default { ...@@ -145,7 +149,7 @@ export default {
aria-hidden="true" aria-hidden="true"
:aria-label="stage.title"> :aria-label="stage.title">
<icon <icon
:name="stage.status.icon"/> :name="borderlessIcon"/>
</span> </span>
<i <i
......
...@@ -474,6 +474,14 @@ ...@@ -474,6 +474,14 @@
height: 18px; height: 18px;
} }
&.play {
svg {
width: #{$ci-action-icon-size - 8};
height: #{$ci-action-icon-size - 8};
left: 8px;
}
}
&:hover svg { &:hover svg {
fill: $gl-text-color; fill: $gl-text-color;
} }
...@@ -738,19 +746,34 @@ button.mini-pipeline-graph-dropdown-toggle { ...@@ -738,19 +746,34 @@ button.mini-pipeline-graph-dropdown-toggle {
&.icon-action-retry, &.icon-action-retry,
&.icon-action-play { &.icon-action-play {
svg { svg {
width: calc($ci-action-icon-size-6); width: #{$ci-action-icon-size - 6};
height: calc($ci-action-icon-size-6); height: #{$ci-action-icon-size - 6};
left: 8px; left: 8px;
} }
} }
svg.icon-action-play, svg.icon-action-stop,
svg.icon-action-stop { svg.icon-action-cancel {
width: 12px; width: 12px;
height: 12px; height: 12px;
top: 1px; top: 1px;
left: 0; left: -1px;
} }
svg.icon-action-play {
width: 11px;
height: 11px;
top: 1px;
left: 1px;
}
svg.icon-action-retry {
width: 16px;
height: 16px;
top: 0px;
left: -3px;
}
} }
// link to the build // link to the build
......
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